Function: srecode-insert-prototype-expansion
srecode-insert-prototype-expansion is an autoloaded, interactive and
byte-compiled function defined in expandproto.el.gz.
Signature
(srecode-insert-prototype-expansion)
Documentation
Insert get/set methods for the current class.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/srecode/expandproto.el.gz
;;;###autoload
(defun srecode-insert-prototype-expansion ()
"Insert get/set methods for the current class."
(interactive)
(srecode-load-tables-for-mode major-mode)
(srecode-load-tables-for-mode major-mode
srecode-expandproto-template-file-alist)
(if (not (srecode-table))
(error "No template table found for mode %s" major-mode))
(let ((proto
;; Step 1: Find the prototype, or prototype list to expand.
(srecode-find-prototype-for-expansion)))
(if (not proto)
(error "Could not find prototype to expand"))
;; Step 2: Insert implementations of the prototypes.
))