Always use provided allocator for allocation.

This commit is contained in:
Bob Nystrom
2013-12-01 10:22:32 -08:00
parent 9188c00bc0
commit 19811143a0
2 changed files with 8 additions and 12 deletions
+3
View File
@@ -176,6 +176,9 @@ struct WrenVM
// The head of the list of pinned objects. Will be `NULL` if nothing is
// pinned.
PinnedObj* pinned;
// The externally-provided function used to allocate memory.
WrenReallocateFn reallocate;
};
typedef struct