summaryrefslogtreecommitdiffstats
path: root/squirrel_3_0_1_stable/squirrel/sqmem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'squirrel_3_0_1_stable/squirrel/sqmem.cpp')
-rw-r--r--squirrel_3_0_1_stable/squirrel/sqmem.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/squirrel_3_0_1_stable/squirrel/sqmem.cpp b/squirrel_3_0_1_stable/squirrel/sqmem.cpp
new file mode 100644
index 000000000..520f7eb76
--- /dev/null
+++ b/squirrel_3_0_1_stable/squirrel/sqmem.cpp
@@ -0,0 +1,9 @@
+/*
+ see copyright notice in squirrel.h
+*/
+#include "sqpcheader.h"
+void *sq_vm_malloc(SQUnsignedInteger size){ return malloc(size); }
+
+void *sq_vm_realloc(void *p, SQUnsignedInteger oldsize, SQUnsignedInteger size){ return realloc(p, size); }
+
+void sq_vm_free(void *p, SQUnsignedInteger size){ free(p); }