chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] C_word type / Cython (warning: passing argument 2 fr


From: David Dreisigmeyer
Subject: Re: [Chicken-users] C_word type / Cython (warning: passing argument 2 from incompatible pointer type)
Date: Sun, 13 Feb 2011 12:11:59 -0500

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
<address@hidden> wrote:
> From: David Dreisigmeyer <address@hidden>
> 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
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]