[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Lists passed to C?
From: |
Robert A. Uhl |
Subject: |
Lists passed to C? |
Date: |
Thu, 18 Oct 2001 19:09:17 -0600 |
User-agent: |
Mutt/1.2.5i |
I've a function declared as below:
SCM scm_mapobject_set_owners(SCM object, SCM owners_list);
It's meant to be called from scheme as:
(trav-mapobject-set-owners obj '(object object...))
The C function does get as its second argument a list (checked using
SCM_NIMP && SCM_CONSP). But its value is a symbol, not the symbol's
value. I'm guessing that this is due to the fact that the list is a
list of symbols--that's fine.
But how do I reference that value? I've been reading source and
header files and am no wiser than when I started.
It seems to me that this'd be a great thing for the documentation...
Perhaps I should start writing down some notes.
--
Robert Uhl <address@hidden>
Don't think of it as being outnumbered. Think of it as having a wide
target selection.
- Lists passed to C?,
Robert A. Uhl <=