summaryrefslogtreecommitdiff
path: root/Build/source/libs/luajit/LuaJIT-2.1.0-beta1/src/lj_alloc.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2015-09-07 10:07:14 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2015-09-07 10:07:14 +0000
commitce38b262dce6b9f416231d205b294c4b30912b20 (patch)
treefafb76fe57097be200a0f072e27603a82a87bd17 /Build/source/libs/luajit/LuaJIT-2.1.0-beta1/src/lj_alloc.h
parent12b7886d9ba059dcf4d8c2d3f534426b7476c447 (diff)
LuaJIT 2.1.0-beta1
git-svn-id: svn://tug.org/texlive/trunk@38315 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/luajit/LuaJIT-2.1.0-beta1/src/lj_alloc.h')
-rw-r--r--Build/source/libs/luajit/LuaJIT-2.1.0-beta1/src/lj_alloc.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/Build/source/libs/luajit/LuaJIT-2.1.0-beta1/src/lj_alloc.h b/Build/source/libs/luajit/LuaJIT-2.1.0-beta1/src/lj_alloc.h
new file mode 100644
index 00000000000..f87a7cf3422
--- /dev/null
+++ b/Build/source/libs/luajit/LuaJIT-2.1.0-beta1/src/lj_alloc.h
@@ -0,0 +1,17 @@
+/*
+** Bundled memory allocator.
+** Donated to the public domain.
+*/
+
+#ifndef _LJ_ALLOC_H
+#define _LJ_ALLOC_H
+
+#include "lj_def.h"
+
+#ifndef LUAJIT_USE_SYSMALLOC
+LJ_FUNC void *lj_alloc_create(void);
+LJ_FUNC void lj_alloc_destroy(void *msp);
+LJ_FUNC void *lj_alloc_f(void *msp, void *ptr, size_t osize, size_t nsize);
+#endif
+
+#endif