guile-devel
[Top][All Lists]
Advanced

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

Re: More on module API


From: Marius Vollmer
Subject: Re: More on module API
Date: 31 Aug 2002 15:49:40 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

address@hidden 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




reply via email to

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