| General C Data Types | Index |
We define several basic types for use in all the C code. These types are either different or not available in all versions of compilers so we define them with a "a" prefix (for Acroname) and use our own types throughout to maintain portability between platforms.
aBool Type
This is a basic boolean type. It has two valid values, aTrue and aFalse. aFalse is always 0, aTrue is non-zero.
aLIBRETURN
All shared library routines return this type. It is non-zero if there was an error in the routine and zero when no error occured. The exact error is typically reported by setting the contents of an aErr variable to the error code of the error. The actual size of this variable can change from platform to platform.
NULL
This common #define is declared only if the compiler doesn't already define it. It is defined in the include file "aDefs.h".
aErr Type
This is our error type. All routines set an error value of this type. These errors are defined int the include file "aErr.h". Here are the possible values.