FdoInt32 or int

Mateusz Loskot mateusz at loskot.net
Sun Aug 13 19:07:25 EDT 2006


Hi,

I noticed that both types are mixed in some places.
For example, two function members prototypes:

- from base class

FdoInt32* FdoRdbmsCommandCapabilities::GetCommands(FdoInt32& size),


- and prototype of the same function but overriden in subclass
derived from the base above:

int* FdoRdbmsPostGisCommandCapabilities::GetCommands(int& size);

The base uses FdoInt32 and the subclass uses C++ int, so are these
types considered as interchangeable in FDO?
Size of int is depends on C++ implementation and system architecture,
but FdoInt32 says "my size is 32 bit everywhere".

So, which type is recommended to use as 32-bit integer in FDO:
FdoInt32 or int?

Thanks in advance
-- 
Mateusz Loskot
http://mateusz.loskot.net




More information about the Fdo_dev mailing list