root/lj_alloc.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   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

/* [<][>][^][v][top][bottom][index][help] */