Problem with Hiredis Binding

Puming zhaopuming at gmail.com
Thu Jan 5 18:51:07 PST 2012


> So you have "int integer;" in D and "long long integer;" in C, 
> which doesn't match. I'm not sure what size "long long" is in 
> C, but I guess you need "long" in D?

Thanks. I've changed `int integer` to `c_long integer` according 
to this page

http://dlang.org/interfaceToC.html

c_long is in core.stdc.config

But I still can not get reply.str right...


More information about the Digitalmars-d-learn mailing list