guile-devel
[Top][All Lists]
Advanced

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

Re: More on module API


From: Dale P. Smith
Subject: Re: More on module API
Date: Sat, 31 Aug 2002 14:32:34 -0400

On 31 Aug 2002 15:49:40 +0200
Marius Vollmer <address@hidden> wrote:

> 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?


Sounds good to me!

-Dale

-- 
Dale P. Smith
Senior Systems Consultant,      | Treasurer,
Altus Technologies Corporation  | Cleveland Linux Users Group
address@hidden            | http://cleveland.lug.net
440-746-9000 x339               |




reply via email to

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