aboutsummaryrefslogtreecommitdiffstats
path: root/gb.hpp
diff options
context:
space:
mode:
authorGravatar gingerBill 2015-12-14 23:53:20 +0000
committerGravatar gingerBill 2015-12-14 23:53:20 +0000
commit6b0de059ff29cc8e48552c93bb7336f36afda27c (patch)
tree5a1dd6bb3062dea72b26a952d9907b2eb99c8e74 /gb.hpp
parentUpdate README.md (diff)
gb.hpp - Allocators can be passed to gb_alloc/free/etc. without cast using `typedef void *gb_Allocator_Ptr`
Diffstat (limited to 'gb.hpp')
-rw-r--r--gb.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/gb.hpp b/gb.hpp
index 7735cfd..89f7dff 100644
--- a/gb.hpp
+++ b/gb.hpp
@@ -1,4 +1,4 @@
-// gb.hpp - v0.31 - public domain C++11 helper library - no warranty implied; use at your own risk
+// gb.hpp - v0.31a - public domain C++11 helper library - no warranty implied; use at your own risk
// (Experimental) A C++11 helper library without STL geared towards game development
/*
@@ -39,6 +39,7 @@ CONTENTS:
/*
Version History:
+ 0.31a - Minor fixes
0.31 - Remove `_Allocator` suffix for allocator types
0.30 - sort::quick
0.29 - GB_ASSERT prints call stack
@@ -2277,6 +2278,8 @@ __GB_NAMESPACE_END
// //
////////////////////////////////
+#if defined(GB_IMPLEMENTATION)
+
#if defined(GB_SYSTEM_WINDOWS)
#include <dbghelp.h>
@@ -2400,7 +2403,7 @@ gb__assert_handler(bool condition, const char* condition_str,
}
-#if defined(GB_IMPLEMENTATION)
+
__GB_NAMESPACE_START
////////////////////////////////