diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-10-30 10:54:26 +0000 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2025-10-30 10:54:26 +0000 |
| commit | 35a28053b8779ea7ab9845c31ad52fd55888667a (patch) | |
| tree | 0808c843adc86b33da72bfa2739ca0f5597a6532 /src/common.cpp | |
| parent | bb44b02b3e220d7019aba8b547a6d3e6fbd49dba (diff) | |
| parent | 074a8d7df5e024117d7f91944ccf053cad27ca0e (diff) | |
Merge branch 'master' into vendor/curl
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" |