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: Felix
Subject: Re: [Chicken-users] C_word type / Cython (warning: passing argument 2 from incompatible pointer type)
Date: Sun, 13 Feb 2011 13:43:27 +0100 (CET)

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]