Re: [pure-lang-users] C macros
Status: Beta
Brought to you by:
agraef
From: Albert G. <Dr....@t-...> - 2008-08-27 15:20:13
|
Eddie Rucker wrote: > Um... Is there some way from Pure to find out the byte sizeof ints, > doubles, complex, etc? When the sizes change on different machines > and/or compilers I'd like the library to automatically handle this. You can put some C functions for that in your wrapper, too. (On non-antique hardware, double should always be 64 bit, int 32; the latter might be aligned on 8 byte boundaries on some 64 bit systems, though.) Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |