summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-11-13 20:25:30 +0800
committerchai <chaifix@163.com>2020-11-13 20:25:30 +0800
commit2fae5dab12e9b7e3d70e21707c8b358834808451 (patch)
treeb302e2a78552efb4e882e5ece59ce2f23718425c
parent6fa90035c986cf5372977f7a2d2ca383a4198191 (diff)
*misc
-rw-r--r--Runtime/Utilities/Assert.h3
-rw-r--r--Runtime/Utilities/Type.h4
2 files changed, 7 insertions, 0 deletions
diff --git a/Runtime/Utilities/Assert.h b/Runtime/Utilities/Assert.h
index aab7b73..4eb7b7a 100644
--- a/Runtime/Utilities/Assert.h
+++ b/Runtime/Utilities/Assert.h
@@ -5,4 +5,7 @@
#define Assert(c) assert(c)
+#define DebugAssertIf(c) assert(c)
+#define AssertIf(c) assert(c)
+
#endif \ No newline at end of file
diff --git a/Runtime/Utilities/Type.h b/Runtime/Utilities/Type.h
index b3d0826..da6208d 100644
--- a/Runtime/Utilities/Type.h
+++ b/Runtime/Utilities/Type.h
@@ -10,12 +10,16 @@ typedef unsigned char byte;
typedef char sbyte;
typedef int16_t int16;
typedef uint16_t uint16;
+typedef uint16_t UInt16;
typedef int32_t int32;
typedef uint32_t uint32;
+typedef uint32_t UInt32;
typedef int64_t int64;
typedef uint64_t uint64;
+typedef uint64_t UInt64;
typedef uint32_t uint;
typedef int32_t sint;
+typedef int32_t SInt32;
#endif \ No newline at end of file