[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "unbound variable"
From: |
Linas Vepstas |
Subject: |
Re: "unbound variable" |
Date: |
Mon, 27 Jun 2011 16:44:52 -0500 |
On 27 June 2011 04:41, Peter Brett <address@hidden> wrote:
> "Tomas By" <address@hidden> writes:
>
>> I have an extended Guile interpreter with a C function "get-map",
>> defined by "scm_c_define_gsubr", that I then try to use in the
>> (pure Scheme) module "mapdisplay", with the following result:
>>
>> [snip]
>>
>> Any ideas what is happening here? How can I debug it?
>
> Having read the rest of this thread so far, I suggest that you put your
> built-in functions into a module which can then be loaded by your pure
> Scheme functions.
Having used scm_c_define_gsubr in three different projects now, I'l
disagree .. never had to create a module to use it ...
Not sure what the bug is, though ... does get-map work
if you don't use it within the module? Can you verify it works
in some simple way?
--linas
Re: "unbound variable", Peter Brett, 2011/06/27
- Re: "unbound variable",
Linas Vepstas <=