aboutsummaryrefslogtreecommitdiffstats
path: root/src/model.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-10-27 14:15:31 -0400
committerDavid Robillard <d@drobilla.net>2022-01-28 21:57:24 -0500
commit30487c277ac5d4be5786733ca7b98adb4c810ae9 (patch)
treef1b00a7725d74a594fcd91de2aea924485356528 /src/model.h
parent56cceb103dc633d6af957472945e792187a5dd4e (diff)
downloadserd-30487c277ac5d4be5786733ca7b98adb4c810ae9.tar.gz
serd-30487c277ac5d4be5786733ca7b98adb4c810ae9.tar.bz2
serd-30487c277ac5d4be5786733ca7b98adb4c810ae9.zip
Add custom allocator support
Diffstat (limited to 'src/model.h')
-rw-r--r--src/model.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/model.h b/src/model.h
index 5fbf6209..7c4816a4 100644
--- a/src/model.h
+++ b/src/model.h
@@ -25,6 +25,7 @@
#include <stddef.h>
struct SerdModelImpl {
+ SerdAllocator* allocator; ///< Allocator for everything in this model
SerdWorld* world; ///< World this model is a part of
SerdNodes* nodes; ///< Interned nodes in this model
ZixBTree* indices[12]; ///< Trees of SerdStatement pointers