guile-user
[Top][All Lists]
Advanced

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

snarf .h files


From: Mike Gran
Subject: snarf .h files
Date: Wed, 23 Nov 2011 09:56:49 -0800 (PST)

Hi-
 
Is there a script that will scrape SCM_DEFINEs from c files
to make header declarations to put in .h files?
 
Basically to search for c file definitions like this...
 
SCM_DEFINE (cfunc, "gfunc", 1, 0, 0, (SCM arg), "a function");
 
and return header declarations like this
 
SCM cfunc (SCM arg);
 
(It is an easy problem, but, I figured I'd be lazy and
ask.)
 
Thanks,
 
Mike Gran



reply via email to

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