On 15/10/2009, Mattias Gaertner <[email protected]> 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/
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to