Skip to content

Commit 62fc8c8

Browse files
Minor update
Bool enum value assertations for consistency with C header.
1 parent 350e4d4 commit 62fc8c8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sdlstdinc.inc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//types from SDL_stdinc.h
22
type
33

4-
TSDL_Bool = (SDL_FALSE,SDL_TRUE);
4+
TSDL_Bool = (SDL_FALSE = 0,SDL_TRUE = 1);
55

66
DWord = LongWord;
77

@@ -13,15 +13,15 @@ type
1313
TUInt8Array = array [0..MAXINT shr 1] of UInt8;
1414

1515
PUInt16 = ^UInt16;
16-
UInt16 = word;
16+
UInt16 = Word;
1717
{$EXTERNALSYM UInt16}
1818

1919
PSInt8 = ^SInt8;
20-
SInt8 = Shortint;
20+
SInt8 = ShortInt;
2121
{$EXTERNALSYM SInt8}
2222

2323
PSInt16 = ^SInt16;
24-
SInt16 = smallint;
24+
SInt16 = SmallInt;
2525
{$EXTERNALSYM SInt16}
2626

2727
PUInt32 = ^UInt32;

0 commit comments

Comments
 (0)