|
@@ -13,9 +13,13 @@
|
|
|
{$IFDEF read_interface_rest}
|
|
|
const
|
|
|
NULL = nil;
|
|
|
+{$ifdef noboolean32}
|
|
|
gTRUE = 1;
|
|
|
gFALSE = 0;
|
|
|
-
|
|
|
+{$else}
|
|
|
+ gTRUE = boolean32(true);
|
|
|
+ gFALSE = boolean32(false);
|
|
|
+{$endif}
|
|
|
function CLAMP(x, MinX, MaxX: integer): integer;
|
|
|
// Macros by analogy to GINT_TO_POINTER, GPOINTER_TO_INT
|
|
|
function GPOINTER_TO_SIZE(p: GPointer): GSize;
|