[Top][All Lists]

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

Re: Argh! Module system frustration.

From: Han-Wen Nienhuys
Subject: Re: Argh! Module system frustration.
Date: Tue, 13 Nov 2001 15:53:47 +0100

address@hidden writes:
> > I suggest that this be documented more prominently, I spent more than
> > 1.5 hours figuring out why the attached program didn't work.
> ( The solution is to export foobar in order to make it visible to the
>   outside.  You can do that with scm_c_export ("foobar", NULL). )

I couldn't find any documentation for this function, so here goes:


@code{scm_c_export} exports symbol from the current module, making
them visible to users of the module. This function takes a list of
string arguments, terminated by NULL, e.g.

        scm_c_export ("add-double-record", "bamboozle-money", NULL);
@end example


* I think that the real interface is needlessly complicated. I suggest
that scm_c_export(NULL) do the right thing.

* Secondly, va_arg() should be ended by va_end() according to the ANSI



Han-Wen Nienhuys   |   address@hidden    |

reply via email to

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