From b470ceb4705477ef42a1efc2c8beb5e3ceef2f88 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Thu, 12 Jan 2023 12:59:09 +0000 Subject: Correct `mpsc_dequeue` --- src/common.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/common.cpp') diff --git a/src/common.cpp b/src/common.cpp index 6a6019482..68d99ef02 100644 --- a/src/common.cpp +++ b/src/common.cpp @@ -43,11 +43,21 @@ gb_internal void debugf(char const *fmt, ...); #error Odin on Windows requires a 64-bit build-system. The 'Developer Command Prompt' for VS still defaults to 32-bit shell. The 64-bit shell can be found under the name 'x64 Native Tools Command Prompt' for VS. For more information, please see https://odin-lang.org/docs/install/#for-windows #endif +template +struct TypeIsPointer { + enum {value = false}; +}; + +template +struct TypeIsPointer { + enum {value = true}; +}; + #include "unicode.cpp" #include "array.cpp" #include "threading.cpp" -#include "queue.cpp" #include "common_memory.cpp" +#include "queue.cpp" #include "string.cpp" #include "range_cache.cpp" -- cgit v1.2.3