How do you go about translating a C_word into something that C can use?

On Sun, Feb 13, 2011 at 7:43 AM, Felix
<fe...@call-with-current-continuation.org> wrote:
> From: David Dreisigmeyer <dwdreisigme...@gmail.com>
> Subject: Re: [Chicken-users] C_word type / Cython (warning: passing argument 
> 2 from incompatible pointer type)
> Date: Sat, 12 Feb 2011 07:47:09 -0500
>
>> Thanks Felix,
>>
>> Mt question wasn't clear.  What about C_word's use here:
>>
>> int CHICKEN_eval_string (char *str, C_word *result)
>>
>> Wouldn't this be able to return arbitrary results?  I was thinking
>> that this is like CHICKEN_eval_string_to_string except an actual
>> scheme expression is returned instead of a string.
>
> That's correct. On return `result' will hold a Scheme value, either an 
> immediate
> datum or a pointer to non-immediate object.
>
>
> cheers,
> felix
>

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to