DEADSOFTWARE

Added stubs for gl, enet and sdl2
[d2df-sdl.git] / src / wrappers / sdl2 / sdltype.inc
1 //types from SDLtype_s.h / SDL_stdinc.h
2 type
4 TSDL_Bool = (SDL_FALSE,SDL_TRUE);
6 DWord = LongWord;
8 PUInt8Array = ^TUInt8Array;
9 PUInt8 = ^UInt8;
10 PPUInt8 = ^PUInt8;
11 UInt8 = Byte;
12 TUInt8Array = array [0..MAXINT shr 1] of UInt8;
14 PUInt16 = ^UInt16;
15 UInt16 = word;
17 PSInt8 = ^SInt8;
18 SInt8 = Shortint;
20 PSInt16 = ^SInt16;
21 SInt16 = smallint;
23 PUInt32 = ^UInt32;
24 UInt32 = Cardinal;
26 PSInt32 = ^SInt32;
27 SInt32 = LongInt;
29 PFloat = ^Float;
30 PInt = ^LongInt;
32 PShortInt = ^ShortInt;
34 PUInt64 = ^UInt64;
35 UInt64 = QWord;
37 PInt64 = ^Int64;
38 // Int64 = record
39 // hi: UInt32;
40 // lo: UInt32;
41 // end;
43 PSInt64 = ^SInt64;
44 SInt64 = Int64;
46 {$IFNDEF WIN64}
47 size_t = UInt32;
48 {$ELSE}
49 size_t = UInt64;
50 {$ENDIF}
52 Float = Single;