This is the mail archive of the guile@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gh_module_lookup(vec, *sname); How do I get vec?


John Daschbach <d3h486@wd29688.emsl.pnl.gov> writes:

>   gh_new_procedure1_0("conc-check-default",conc_check_default);
>   gh_new_procedure2_0("save-conc-maybe",save_conc_maybe);
>   gh_eval_str("(define conc-check conc-check-default)");
> 
> However, unless I'm wrong, all of this is in the (guile) module, while
> I am in the (guile-user) module once I enter the repl. 

I'm using my own version of guile and use the environment API to
manipulate module bindings, but as far as I can tell the gh_*
functions should always operate in(guile_user) and not in (guile).


Jost

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]