diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/luajit-2.0/src/lj_alloc.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libraries/luajit-2.0/src/lj_alloc.h b/libraries/luajit-2.0/src/lj_alloc.h new file mode 100644 index 0000000..f87a7cf --- /dev/null +++ b/libraries/luajit-2.0/src/lj_alloc.h | |||
@@ -0,0 +1,17 @@ | |||
1 | /* | ||
2 | ** Bundled memory allocator. | ||
3 | ** Donated to the public domain. | ||
4 | */ | ||
5 | |||
6 | #ifndef _LJ_ALLOC_H | ||
7 | #define _LJ_ALLOC_H | ||
8 | |||
9 | #include "lj_def.h" | ||
10 | |||
11 | #ifndef LUAJIT_USE_SYSMALLOC | ||
12 | LJ_FUNC void *lj_alloc_create(void); | ||
13 | LJ_FUNC void lj_alloc_destroy(void *msp); | ||
14 | LJ_FUNC void *lj_alloc_f(void *msp, void *ptr, size_t osize, size_t nsize); | ||
15 | #endif | ||
16 | |||
17 | #endif | ||