[fpc-devel] Cardinal = LongWord on 64bit systems?
Graeme Geldenhuys
graemeg.lists at gmail.com
Thu Oct 15 11:10:58 CEST 2009
On 15/10/2009, Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:
>
> PtrUInt
So what is the difference between PtrUint and ValUInt? Where would you use each?
> About PLong: use unit ctypes: PCLong
I'm trying to minimize the amount of "new" types introduced in this
ported project. I already have so many custom types like shown below.
So I would prefer to convert these custom types to actually (included
by default) types available in FPC.
// used by header translation from C -> Object Pascal
type
uint32 = longword;
uint16 = word;
uint8 = byte;
pUInt16 = ^uint16;
pUInt32 = ^uint32;
pUInt8 = ^uint8;
--
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
More information about the fpc-devel
mailing list