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:48:41 +0100 (CET)

From: Bobby Powers <address@hidden>
Subject: Re: [Chicken-users] C_word type / Cython (warning: passing argument 2 
from incompatible pointer type)
Date: Sun, 13 Feb 2011 00:51:07 -0800

> In C, at least on *nix machines, a long is defined to be the same as the
> pointer size.  So on 32-bit systems its synonymous with int, and on 64-bit
> its the same as long long.  Why then explicitly define C_word to int on
> 32-bit then, as 'long' should work on both 32 and 64 bit platforms?

Yes, "long" would probably do. I can't recall the exact reason.
Thanks for pointing this out.


cheers,
felix



reply via email to

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