---- David Fang <[EMAIL PROTECTED]> wrote: 
> Hi,
>       I'm having a bit of trouble using a symbol I defined in C from a
> module:

 ....
> What do I need to do to export my scm_c_define_gsubr'd
> functions to the module?  Must I wrap them into another module in C, and
> use-module it?  (Would I expect the same problem with mixing
> load-extensions with modules?)
> 
> I've been reading the manuals and info on the module's sections and didn't
> find a satisfactory answer.  (Is this a 'quirk?')  What basic concept(s)
> am I missing here?  Thanks in advance!

You will want to read about scm_c_export() and scm_c_call_with_current_module 
in 
http://www.gnu.org/software/guile/manual/html_node/Dynamic-Linking-and-Compiled-Code-Modules.html
and 
http://www.gnu.org/software/guile/manual/html_node/Accessing-Modules-from-C.html

-Dale



_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user

Reply via email to