Problem with Hiredis Binding
spam at example.com
Fri Jan 6 02:09:17 PST 2012
Mike Parker wrote:
> On 1/6/2012 2:34 PM, Puming wrote:
>> In http://dlang.org/interfaceToC.html it says in 32bit system c_long is
>> equivalent to `long long` in C. Is this wrong?
> Well, either the documentation is wrong or the implementation is. Looks
> like one for Bugzilla.
The documentation is wrong. c_long is meant to be used _only_ for C's "long"
type, so it must be 32bit for 32bit architectures and 64bit for (most) 64bit
architectures. See also: http://en.wikipedia.org/wiki/64-bit#64-
No need to file a bug though, I posted a fix here: https://github.com/D-
More information about the Digitalmars-d-learn