diff options
Diffstat (limited to 'source/core/common.h')
| -rw-r--r-- | source/core/common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/core/common.h b/source/core/common.h index 5aa7b7737..ba7cd9836 100644 --- a/source/core/common.h +++ b/source/core/common.h @@ -1,6 +1,8 @@ #ifndef CORE_LIB_COMMON_H #define CORE_LIB_COMMON_H +#include "../../slang.h" + #include <cstdint> #ifdef __GNUC__ @@ -19,6 +21,10 @@ namespace Slang typedef int64_t Int64; typedef uint64_t UInt64; + // Define + typedef SlangUInt UInt; + typedef SlangInt Int; + // typedef unsigned short Word; typedef intptr_t PtrInt; |
