Re: [fpc-pascal] size of long on different platforms

2006-11-16 Thread Den Jean
On Wednesday 15 November 2006 21:27, Marco van de Voort wrote: long is 32-bit on win64 afaik (longlong is 64-bit), it is defined as 64-bit in ctypes. I hope you don't mind that I created a reminder: http://www.freepascal.org/mantis/view.php?id=7831 regards, Den Jean

Re[2]: [fpc-pascal] size of long on different platforms

2006-11-15 Thread Пётр Косаревский
On Tuesday 14 November 2006 22:28, Jonas Maebe wrote: There's a unit called ctypes in the rtl with all these types defined (prefixed by c, i.e. cshort, cchar, clong, ...) Why does rtl-documentation (http://community.freepascal.org:1/docs-html/rtl/index.html) lack its description? (it

Re: [fpc-pascal] size of long on different platforms

2006-11-15 Thread Florian Klaempfl
Пётр Косаревский schrieb: On Tuesday 14 November 2006 22:28, Jonas Maebe wrote: There's a unit called ctypes in the rtl with all these types defined (prefixed by c, i.e. cshort, cchar, clong, ...) Why does rtl-documentation (http://community.freepascal.org:1/docs-html/rtl/index.html)

Re[2]: [fpc-pascal] size of long on different platforms

2006-11-15 Thread Daniël Mantione
Op Wed, 15 Nov 2006, schreef ???: On Tuesday 14 November 2006 22:28, Jonas Maebe wrote: There's a unit called ctypes in the rtl with all these types defined (prefixed by c, i.e. cshort, cchar, clong, ...) Why does rtl-documentation

Re[2]: [fpc-pascal] size of long on different platforms

2006-11-15 Thread Michael Van Canneyt
On Wed, 15 Nov 2006, ??? wrote: On Tuesday 14 November 2006 22:28, Jonas Maebe wrote: There's a unit called ctypes in the rtl with all these types defined (prefixed by c, i.e. cshort, cchar, clong, ...) Why does rtl-documentation

Re[3]: [fpc-pascal] size of long on different platforms

2006-11-15 Thread Пётр Косаревский
Why does rtl-documentation (http://community.freepascal.org:1/docs-html/rtl/index.html) lack its description? (it mentions 36 out of 48 base rtl units if I get it right) Some units are difficult do document and require some qualification. In the case of ctypes, I ran fpdoc.exe

Re: [fpc-pascal] size of long on different platforms

2006-11-15 Thread Florian Klaempfl
Den Jean schrieb: does this mean that the long in bool myEventFilter(void *message, long *result); is 32 bit on win64 ??? Yes, iirc ;) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] size of long on different platforms

2006-11-15 Thread Marco van de Voort
Den Jean schrieb: On Tuesday 14 November 2006 22:28, Jonas Maebe wrote: There's a unit called ctypes in the rtl with all these types defined (prefixed by c, i.e. cshort, cchar, clong, ...) thx, I do not see the win64 exception in the defines ?? Win64 has no such

[fpc-pascal] size of long on different platforms

2006-11-14 Thread Den Jean
Hi, the c long int type is always mapped to longint in h2pas but I guess this is not correct in linux (have no 64 bit to verify) If I am correct: linux64: c long int - pascal int64 win64 : c long int - pascal longint What is the size of long on the Mac Os X platform ? Is there a pascal

Re: [fpc-pascal] size of long on different platforms

2006-11-14 Thread Jonas Maebe
On 14 Nov 2006, at 22:22, Den Jean wrote: Is there a pascal integer type defined somewhere in rtl that allows me to map to this c-type sometimes used in api's ? There's a unit called ctypes in the rtl with all these types defined (prefixed by c, i.e. cshort, cchar, clong, ...) Jonas

Re: [fpc-pascal] size of long on different platforms

2006-11-14 Thread Den Jean
On Tuesday 14 November 2006 22:28, Jonas Maebe wrote: There's a unit called ctypes in the rtl with all these types defined (prefixed by c, i.e. cshort, cchar, clong, ...) thx, I do not see the win64 exception in the defines ?? regards, Den Jean

Re: [fpc-pascal] size of long on different platforms

2006-11-14 Thread Florian Klaempfl
Den Jean schrieb: On Tuesday 14 November 2006 22:28, Jonas Maebe wrote: There's a unit called ctypes in the rtl with all these types defined (prefixed by c, i.e. cshort, cchar, clong, ...) thx, I do not see the win64 exception in the defines ?? Win64 has no such exceptions?