unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Marius Vollmer <mvo@zagadka.ping.de>
Subject: Re: More on module API
Date: 31 Aug 2002 15:49:40 +0200	[thread overview]
Message-ID: <8765xrm93f.fsf@zagadka.ping.de> (raw)
In-Reply-To: <20020812192938.GA2749@www>

rm@fabula.de writes:

>   /* FIXME: The following is _allmost_ literal from libguile/snarf.h:
>    * This should be provided by guile itself.
>    */
>   #define SCM_DEFINE_PUBLIC(FNAME, PRIMNAME, REQ, OPT, VAR, ARGLIST, DOCSTRING) \
>   SCM_SNARF_HERE(\
>   static const char s_ ## FNAME [] = PRIMNAME; \
>   static SCM FNAME ARGLIST\
>   )\
>   SCM_SNARF_INIT(\
>   scm_c_define_gsubr (s_ ## FNAME, REQ, OPT, VAR, \
>                       (SCM_FUNC_CAST_ARBITRARY_ARGS) FNAME); \
>     scm_c_export(s_ ## FNAME , NULL); \
>   )\
>   SCM_SNARF_DOCS(primitive, FNAME, PRIMNAME, ARGLIST, REQ, OPT, VAR, DOCSTRING)

I think we add provide this, without "static".  Objections?

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


  parent reply	other threads:[~2002-08-31 13:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-12 19:29 More on module API rm
2002-08-16 20:56 ` Dale P. Smith
2002-08-31 13:49 ` Marius Vollmer [this message]
2002-08-31 18:32   ` Dale P. Smith

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=8765xrm93f.fsf@zagadka.ping.de \
    --to=mvo@zagadka.ping.de \
    /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).