diff options
| author | Michael Lee <leecommamichael@gmail.com> | 2025-12-23 16:12:53 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-23 16:12:53 -0600 |
| commit | 550e57aba977ff766e5ab38a4c13a8dc18d55992 (patch) | |
| tree | 6704ea53d838f7d7427e5bf6faa1d586378869b3 /src/common.cpp | |
| parent | 729d0a8e8ace759d5d1358b14b20e19f68f44ff0 (diff) | |
| parent | 57352d9933785097e21c282807f5e845ec8f6d85 (diff) | |
Merge branch 'odin-lang:master' into core-image-tga
Diffstat (limited to 'src/common.cpp')
| -rw-r--r-- | src/common.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common.cpp b/src/common.cpp index 5b007bf2c..d5fc1df4b 100644 --- a/src/common.cpp +++ b/src/common.cpp @@ -59,6 +59,11 @@ template <typename T> struct TypeIsPtrSizedInteger { enum {value = false}; }; template <> struct TypeIsPtrSizedInteger<isize> { enum {value = true}; }; template <> struct TypeIsPtrSizedInteger<usize> { enum {value = true}; }; +template <typename T> struct TypeIs64BitInteger { enum {value = false}; }; +template <> struct TypeIs64BitInteger<u64> { enum {value = true}; }; +template <> struct TypeIs64BitInteger<i64> { enum {value = true}; }; + + #include "unicode.cpp" #include "array.cpp" |