[Top][All Lists]
[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: |
Jim Ursetto |
Subject: |
Re: [Chicken-users] C_word type / Cython (warning: passing argument 2 from incompatible pointer type) |
Date: |
Sat, 12 Feb 2011 11:59:05 -0600 |
C_word is the fundamental scheme object type. The underlying type of int or
long is just used to make the width of this type 32-bit or 64-bit, and the
actual representation is indicated by a type tag (some subset of bits in that
word). So it actually can return an arbitrary result. See Data Representation
in the manual for details.
Jim
On Feb 12, 2011, at 6:47, David Dreisigmeyer <address@hidden> wrote:
> 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.
>
>
> On Sat, Feb 12, 2011 at 5:11 AM, Felix
> <address@hidden> wrote:
>> From: David Dreisigmeyer <address@hidden>
>> Subject: [Chicken-users] C_word type / Cython (warning: passing argument 2
>> from incompatible pointer type)
>> Date: Fri, 11 Feb 2011 17:47:24 -0500
>>
>>> Here's the solution on the Cython side.
>>>
>>> Is C_word a long (or int) though?
>>>
>>
>> A long on 64-bit platforms and an int on 32-bit systems.
>>
>>
>> cheers,
>> felix
>>
>
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/chicken-users
- [Chicken-users] C_word type / Cython (warning: passing argument 2 from incompatible pointer type), David Dreisigmeyer, 2011/02/11
- Message not available
- [Chicken-users] C_word type / Cython (warning: passing argument 2 from incompatible pointer type), David Dreisigmeyer, 2011/02/11
- Re: [Chicken-users] C_word type / Cython (warning: passing argument 2 from incompatible pointer type), Felix, 2011/02/12
- Re: [Chicken-users] C_word type / Cython (warning: passing argument 2 from incompatible pointer type), David Dreisigmeyer, 2011/02/12
- Re: [Chicken-users] C_word type / Cython (warning: passing argument 2 from incompatible pointer type),
Jim Ursetto <=
- Re: [Chicken-users] C_word type / Cython (warning: passing argument 2 from incompatible pointer type), Bobby Powers, 2011/02/13
- Re: [Chicken-users] C_word type / Cython (warning: passing argument 2 from incompatible pointer type), Felix, 2011/02/13
- Re: [Chicken-users] C_word type / Cython (warning: passing argument 2 from incompatible pointer type), John Cowan, 2011/02/13
- Re: [Chicken-users] C_word type / Cython (warning: passing argument 2 from incompatible pointer type), Felix, 2011/02/13
- Re: [Chicken-users] C_word type / Cython (warning: passing argument 2 from incompatible pointer type), David Dreisigmeyer, 2011/02/13
- Re: [Chicken-users] C_word type / Cython (warning: passing argument 2 from incompatible pointer type), Christian Kellermann, 2011/02/13
- Re: [Chicken-users] C_word type / Cython (warning: passing argument 2 from incompatible pointer type), David Dreisigmeyer, 2011/02/13
- Re: [Chicken-users] C_word type / Cython (warning: passing argument 2 from incompatible pointer type), Felix, 2011/02/14