unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Mike Gran <spk121@yahoo.com>
To: Guile User <guile-user@gnu.org>
Subject: snarf .h files
Date: Wed, 23 Nov 2011 09:56:49 -0800 (PST)	[thread overview]
Message-ID: <1322071009.46980.YahooMailNeo@web37907.mail.mud.yahoo.com> (raw)

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	other threads:[~2011-11-23 17:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-23 17:56 Mike Gran [this message]
2011-11-23 18:12 ` snarf .h files Ludovic Courtès
2011-11-24  4:23   ` Mike Gran
2011-11-24 23:29     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1322071009.46980.YahooMailNeo@web37907.mail.mud.yahoo.com \
    --to=spk121@yahoo.com \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).