[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnome-clutter + repl?
From: |
Ludovic Courtès |
Subject: |
Re: gnome-clutter + repl? |
Date: |
Wed, 28 Sep 2011 15:02:50 +0200 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
Hi Joakim,
address@hidden skribis:
> If I instead use scm_shell (argc, argv); rather than
> scm_c_primitive_load("init.scm"); the function is accessible,
> so maybe there is some namespace issue?
Possibly.
> init.scm looks like:
> (define-module (mytest)
> #:use-module (system repl server))
>
> (spawn-server)
The server may run in the (mytest) module, whereas the
scm_c_define_gsubr call was made in the default module, called
(guile-user).
Check what (current-module) says in each case.
HTH,
Ludo’.