ljx

FORK: LuaJIT with native 5.2 and 5.3 support
git clone https://git.neptards.moe/neptards/ljx.git
Log | Files | Refs | README

lj_alloc.h (330B)


      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