Skip to content

Commit 3c668a0

Browse files
changed macro to typedef
1 parent 1fe3e3d commit 3c668a0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Core Library/Core Library.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
#define true 1
44
#define false 0
5-
#define bool unsigned __int8
5+
typedef unsigned __int8 bool;
66

7-
#define uint8 unsigned __int8
8-
#define uint32 unsigned __int32
9-
#define uint16 unsigned __int16
10-
#define uint64 unsigned __int64
7+
typedef unsigned __int8 uint8;
8+
typedef unsigned __int32 uint32;
9+
typedef unsigned __int16 uint16;
10+
typedef unsigned __int64 uint64;
1111

12-
// # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
12+
/*************************** CPU SUPPORT ****************************/
1313

1414
typedef struct {
1515
uint32 EAX;
@@ -39,7 +39,7 @@ __declspec(dllexport) uint32 GetSupportedInstructions()
3939
return 0;
4040
}
4141

42-
// # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
42+
/***************************** NUMBERS ******************************/
4343

4444
__declspec(dllexport) bool ReadSeed16(uint16* random)
4545
{
@@ -107,7 +107,7 @@ __declspec(dllexport) bool ReadRandom64(uint64* random)
107107
else goto RETRY;
108108
}
109109

110-
// # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
110+
/***************************** BUFFERS ******************************/
111111

112112
typedef union
113113
{

0 commit comments

Comments
 (0)