Commit Graph

29 Commits

Author SHA1 Message Date
f743c230e7 Add some helper functions 2020-04-01 01:08:59 +11:00
ea8e29dc9f Slice: Fix arena->allocator, buf->data, add array->slice 2020-03-26 00:34:38 +11:00
1d2fa7f9ca Fix wrong param arena->allocator 2020-03-24 08:10:19 +11:00
35ade5dfc1 Add alignment to allocators 2020-03-23 23:33:31 +11:00
f95836c5d5 Allocator: Rename data->user_context, File: Use allocators 2020-03-14 10:32:25 +11:00
2f7ce338a8 Add Allocator stats, StringBuilder len doesn't include null terminator 2020-02-23 01:19:59 +11:00
65cbe4b493 Add Dqn_String and update some arenas to allocators 2020-02-08 18:47:48 +11:00
cd9ccfebe2 Make more /wall compliant 2020-01-31 21:02:26 +11:00
f67d97ec3d Dqn_Rect_Intersection, remove Dqn_FixedStack, minor fixes 2020-01-18 02:01:25 +11:00
4bd8691076 Add Dqn_U64 string converter and time to seconds macros 2019-11-02 00:00:39 +11:00
a11857690f Nullptr check for top_mem_block on reserve 2019-10-29 22:22:35 +11:00
d463fcbda8 Move stb define to implementation and fix compile error for string builder 2019-09-30 22:58:02 +10:00
4a57ec6b1e Forward declare stuff for linux 2019-09-24 14:13:29 +10:00
9dd058a5f0 Add soft asserts, fixed string test, conditional asserts 2019-09-23 23:21:14 +10:00
4150864d59 debugbreak typo and switch to memset 2019-09-21 10:14:03 +10:00
e63e047550 Remove fixed size concept from MemArena 2019-09-20 21:29:57 +10:00
1c2b67892f Begin writing some Linux compatible changes 2019-09-20 16:03:09 +10:00
d31c63cbb7 Add unit tests for allocators/arrays 2019-09-19 21:49:11 +10:00
b34226498c Minor formatting 2019-09-10 21:35:18 +10:00
3b38cca63e Update usage of Dqn.h in Dqn_UnitTests.cpp 2019-09-03 23:19:03 +10:00
ab232ee88b Gate LOCAL_PERSIST and FILE_SCOPE to dqn namespace 2019-08-27 22:32:04 +10:00
96b7c05daf Delete DqnInspect, it's too broken. Replace with new one 2019-08-27 22:17:59 +10:00
c36ea18a64 Implement DQN_HEADER_COPY_BEGIN/END ranged copy 2019-08-26 23:56:50 +10:00
0d0009ad5c Add a way to read comments in header file 2019-08-26 23:24:22 +10:00
e2a3fc5bed Fix extra \n being grabbed in return type parsing 2019-08-24 16:00:09 +10:00
95272e77ee Write PoC simpler header generator code 2019-08-24 15:43:14 +10:00
cee2573b00 Do some renaming to Dqn_* 2019-08-24 14:20:53 +10:00
acdf4974f9 Fix bugs in making linked buffers 2019-08-24 13:38:58 +10:00
bfd3829259 Add dqn lib and some new unit tests 2019-08-24 11:39:12 +10:00