66 | DOME MDlib API Function Reference
MDlib API Types
The standard C types of
different things to different compilers and machine types.
The MDlib API types, however, are strictly defined as signed
or unsigned and by byte size, as shown below.
A
or nonzero (
A
is a return value, it returns nothing.
DError
functions that might fail.
Size
Signed
1 byte
DChar
2 bytes
DShort
4 bytes
DLong
4 bytes
DBool
4 bytes
DFloat
8 bytes
DDouble
value can have one of two values: either zero (
DBool
).
TRUE
value is equivalent to the C type
DVoid
values, shown below, are the return values of
#define D_OK
#define DMD_ERROR_BAD_VALUE
#define DMD_ERROR_BAD_DEVICE
#define DMD_ERROR_NO_MEMORY
#define DMD_ERROR_BAD_GCT
#define DMD_ERROR_BAD_IO
,
, and
char
int
long
Unsigned
DByte
DUShort
DULong
can mean
FALSE
. When
void
DVoid
0
1
2
3
4
5
)