extern(C) bool function type?
Charles Hixson
charleshixsn at earthlink.net
Thu Sep 26 17:19:52 PDT 2013
I'd forgotten about:
int_least8_t
I guess that's what I should use.
On 09/26/2013 03:06 PM, bearophile wrote:
> Charles Hixson:
>
>> So... if C returns an int64_t and I declare it as an int32_t, will
>> this cause problems? What about if C returns an int32_t and I
>> declare it as an int64_t? Or *is* there a good way to handle this?
>> (I think that there's an error code I could interrogate if I need to
>> just ignore the result...but I don't know if I can do this in all
>> cases.)
>
> Take a look at this entertaining page:
> http://dlang.org/phobos/std_stdint.html
>
> Bye,
> bearophile
>
--
Charles Hixson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20130926/5f31023c/attachment.html>
More information about the Digitalmars-d-learn
mailing list