GIT
/
REPO
/
FRED-BOY
Projects
/
d2df-sdl.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
added libsocket and updated watt32, but network still not work
[d2df-sdl.git]
/
src
/
wrappers
/
sdl2
/
sdltype.inc
1
//types from SDLtype_s.h / SDL_stdinc.h
2
type
3
4
TSDL_Bool = (SDL_FALSE,SDL_TRUE);
5
6
DWord = LongWord;
7
8
PUInt8Array = ^TUInt8Array;
9
PUInt8 = ^UInt8;
10
PPUInt8 = ^PUInt8;
11
UInt8 = Byte;
12
TUInt8Array = array [0..MAXINT shr 1] of UInt8;
13
14
PUInt16 = ^UInt16;
15
UInt16 = word;
16
17
PSInt8 = ^SInt8;
18
SInt8 = Shortint;
19
20
PSInt16 = ^SInt16;
21
SInt16 = smallint;
22
23
PUInt32 = ^UInt32;
24
UInt32 = Cardinal;
25
26
PSInt32 = ^SInt32;
27
SInt32 = LongInt;
28
29
PFloat = ^Float;
30
PInt = ^LongInt;
31
32
PShortInt = ^ShortInt;
33
34
PUInt64 = ^UInt64;
35
UInt64 = QWord;
36
37
PInt64 = ^Int64;
38
// Int64 = record
39
// hi: UInt32;
40
// lo: UInt32;
41
// end;
42
43
PSInt64 = ^SInt64;
44
SInt64 = Int64;
45
46
{$IFNDEF WIN64}
47
size_t = UInt32;
48
{$ELSE}
49
size_t = UInt64;
50
{$ENDIF}
51
52
Float = Single;
DEADSOFTWARE 2012-2025