On 27 June 2011 04:41, Peter Brett <pe...@peter-b.co.uk> wrote: > "Tomas By" <to...@basun.net> 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