Function: c-get-offset
c-get-offset is a byte-compiled function defined in cc-engine.el.gz.
Signature
(c-get-offset LANGELEM)
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-engine.el.gz
(defun c-get-offset (langelem)
;; This is a compatibility wrapper for `c-calc-offset' in case
;; someone is calling it directly. It takes an old style syntactic
;; element on the form (SYMBOL . ANCHOR-POS) and converts it to the
;; new list form.
;;
;; This function might do hidden buffer changes.
(if (c-langelem-pos langelem)
(c-calc-offset (list (c-langelem-sym langelem)
(c-langelem-pos langelem)))
(c-calc-offset langelem)))