(v13) Details
This page applies to Harlequin v13.1r0 and later; and to Harlequin Core but not Harlequin MultiRIP
The type names used are:
int32 | a 32-bit signed integer. Usually either |
uint32 | a 32-bit unsigned integer. Usually either |
int8 | an 8-bit signed integer. Usually |
uint8 | an 8-bit unsigned char. Usually |
DEVICE_FILEDESCRIPTOR | an integral type which represents a device file descriptor. This type may be converted to/from a |
uintptr_t and intptr_t | integral types which are guaranteed to be wide enough to hold a function pointer or data pointer ( |
A Harlequin Core string is an array of uint8
. On some platforms where char
is a signed char
, this can require casts when converting a C string to or from a Harlequin Core string. Harlequin Core strings may or may not be zero-terminated when passed to, or returned from, an interface routine. See the individual routine descriptions for details.
You should include the header file std.h. The header file hqtypes.h defines what can be included.
Two structures, Hq32x2
and HqU32x2
, provide for 64-bit numbers, signed and unsigned, particularly used to specify seek offsets for which 32-bits are not adequate. Macros and library functions support the use of these types.
The header file also defines TRUE ( 1 )
, FALSE ( 0 )
and NULL ( (void *) 0 )
if necessary.