Suggestion: std.ctypes
Walter Bright
newshound at digitalmars.com
Tue May 30 16:35:41 PDT 2006
Sean Kelly wrote:
> All C declarations in the Ares C99 and Posix headers use c_long
> (excepting maybe some of the darwin blocks, as I didn't write those), so
> adding version logic for Unix64 platforms should be quite simple.
You're right, I went through the same thinking process. I originally was
going to do an std.ctypes, but the result just looked terrible, and
frankly, the problems with just translating the types directly into D
types work out tolerably well enough.
More information about the Digitalmars-d
mailing list