Function: semantic-format-tag-name-c-mode

semantic-format-tag-name-c-mode is a byte-compiled function defined in c.el.gz.

Signature

(semantic-format-tag-name-c-mode TAG &optional PARENT COLOR)

Documentation

Convert TAG to a string that is the print name for TAG.

Optional PARENT and COLOR are ignored. Override semantic-format-tag-name in c-mode buffers.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/bovine/c.el.gz
;;; Override methods & Variables
;;
(define-mode-local-override semantic-format-tag-name
  c-mode (tag &optional parent color)
  "Convert TAG to a string that is the print name for TAG.
Optional PARENT and COLOR are ignored."
  (let ((name (semantic-format-tag-name-default tag parent color))
	(fnptr (semantic-tag-get-attribute tag :function-pointer))
	)
    (if (not fnptr)
	name
      (concat "(*" name ")"))
    ))