[fpc-devel] Documentation on Real types

Graeme Geldenhuys graemeg.lists at gmail.com
Tue Nov 2 07:53:00 CET 2010


Some other annotations I have in my ref.inf document is
C Types, and how they map to Object Pascal types. Maybe this would be
useful too in the official docs - after all, many developers translate/port
C headers or libraries to FPC. If it will be useful to add to the docs, I'm
not 100% sure if this must go in the Lang Ref or RTL docs (eg: System or
CTypes units).

Some alias types I have made notes about:

DWord ->  Cardinal

Long  -\
clong - -->  LongInt
cint  -/

Short ->  SmallInt
Uint  ->  Cardinal
ULong ->  Cardianl
Handle -> DWord (Win32); LongInt(Linux)

etc...


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net:8080/fpgui/




More information about the fpc-devel mailing list