Function: semantic-c-reconstitute-function-arglist
semantic-c-reconstitute-function-arglist is a byte-compiled function
defined in c.el.gz.
Signature
(semantic-c-reconstitute-function-arglist ARGLIST)
Documentation
Reconstitute the argument list of a function.
This currently only checks if the function expects a function pointer as argument.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/bovine/c.el.gz
(defun semantic-c-reconstitute-function-arglist (arglist)
"Reconstitute the argument list of a function.
This currently only checks if the function expects a function
pointer as argument."
(let (result)
(dolist (arg arglist)
;; Names starting with a '*' denote a function pointer
(if (and (> (length (semantic-tag-name arg)) 0)
(= (aref (semantic-tag-name arg) 0) ?*))
(setq result
(append result
(list
(semantic-tag-new-function
(substring (semantic-tag-name arg) 1)
(semantic-tag-type arg)
(cadr (semantic-tag-attributes arg))
:function-pointer t))))
(setq result (append result (list arg)))))
result))