dkl wrote:I've just started a wiki page for binding creation issues:
This page is highly appreciated, thanks!
dkl wrote:First thing on there: data types. It might already answer your question regarding Integer vs Long. I'm sure I'll have more ideas what to write on this page ;)
Are you sure regarding the int type in C:
http://www.freebasic.net/wiki/DevBindingCreation wrote:In C, int stays 32bit everywhere, ...
AFAIK it's always the word size of the CPU architecture. See
http://de.wikipedia.org/wiki/Integer_%28Datentyp%29 wrote:Ein Integer besteht in der Regel aus 8, 16, 32, 64 oder 128 Bits (also 1, 2, 4, 8 oder 16 Bytes) – entsprechend der Wortbreite der jeweiligen CPU.