blob: a8327c63ffd6ac64a2be3e02fa1ce7dba41e0b46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// included by glib2.pas
{$IFDEF read_forward_definitions}
{$ENDIF read_forward_definitions}
//------------------------------------------------------------------------------
{$IFDEF read_interface_types}
{$ENDIF read_interface_types}
//------------------------------------------------------------------------------
{$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;
function GSIZE_TO_POINTER(s: GSize): GPointer;
{$ENDIF read_interface_rest}
// included by glib2.pas
|