help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Guile's SCM_DEFINE and Semantic mode


From: Bruno Félix Rezende Ribeiro
Subject: Guile's SCM_DEFINE and Semantic mode
Date: Sat, 01 Nov 2014 13:13:25 -0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:33.0) Gecko/20100101 Firefox/33.0 SeaMonkey/2.30

Hello users of the greatest editor of all times!

I'm working on a libguile-based project.  All function definitions that
are exported from C code to the Guile interpreter are define like this:
(meta-variables between '<' and '>')

SCM_DEFINE (<c-name>, <scheme-name>,
            <mandatory-args-count>, <optional-args-count>, <rest-bool>,
            <argument-list>,
            <documentation-string>)
{
 <function-body>
}

At C preprocessing time the 'SCM_DEFINE (...)' function header gets
expanded to:

SCM
<c-name> <c-argument-list>

Unfortunately Semantic doesn't recognize it as a function definition.
How can I make Semantic recognize it as such?

-- 
 ,= ,-_-. =.  Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF]
((_/)o o(\_)) There is no system but GNU;
 `-'(. .)`-'  GNU Linux-Libre is one of its official kernels;
     \_/      All software must be free as in freedom;

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]