[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pass a SCM value to a SCM proc from C
From: |
Nic Ferrier |
Subject: |
Re: pass a SCM value to a SCM proc from C |
Date: |
27 Sep 2003 15:40:32 +0100 |
Nic Ferrier <address@hidden> writes:
> I have a slightly complicated requirement.
>
> >From C I want to:
>
> 1. init guile
> 2. get a reference to a SCM proc
> 3. make a SCM object from C
> 4. call the SCM proc from (2) passing it the SCM object from (3)
>
>
> I can't immediately see how to do this (though I can see how to do
> steps 1. to 3.).
>
> Any suggestions would be greatly appreciated.
It is, of course, scm_applyX where X is 0, 1, 2 etc...
It's in the guile doc.
Nic