#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
|
#define | getlock(l) cast(struct L_EXTRA*, lua_getextraspace(l)) |
|
#define | l_sprintf(s, sz, f, i) (memset(s,0xAB,sz), snprintf(s,sz,f,i)) |
|
#define | LUA_COMPAT_LT_LE |
|
#define | LUA_COMPAT_MATHLIB |
|
#define | LUA_DEBUG |
|
#define | LUA_EXTRASPACE sizeof(struct L_EXTRA) |
|
#define | lua_lock(l) lua_assert((*getlock(l)->plock)++ == 0) |
|
#define | LUA_RAND32 |
|
#define | lua_unlock(l) lua_assert(--(*getlock(l)->plock) == 0) |
|
#define | LUA_USE_JUMPTABLE 0 |
|
#define | LUAI_ASSERT |
|
#define | LUAI_MAXCSTACK 400 |
|
#define | LUAI_MAXSTACK 50000 |
|
#define | LUAI_USER_ALIGNMENT_T union { char b[sizeof(void*) * 8]; } |
|
#define | luai_userstateclose(l) lua_assert(getlock(l)->lock == 1 && getlock(l)->plock == &(getlock(l)->lock)) |
|
#define | luai_userstatefree(l, l1) lua_assert(getlock(l)->plock == getlock(l1)->plock) |
|
#define | luai_userstateopen(l) (getlock(l)->lock = 0, getlock(l)->plock = &(getlock(l)->lock)) |
|
#define | luai_userstatethread(l, l1) lua_assert(getlock(l1)->plock == getlock(l)->plock) |
|
#define | LUAL_BUFFERSIZE 23 |
|
#define | MAXIWTHABS 3 |
|
#define | MINSTRTABSIZE 2 |
|
#define | STRCACHE_M 5 |
|
#define | STRCACHE_N 23 |
|
#define | UNUSED(x) (x=0, (void)(x)) |
|
#define l_sprintf |
( |
|
s, |
|
|
|
sz, |
|
|
|
f, |
|
|
|
i |
|
) |
| (memset(s,0xAB,sz), snprintf(s,sz,f,i)) |
#define LUA_COMPAT_MATHLIB |
#define LUA_EXTRASPACE sizeof(struct L_EXTRA) |
#define LUA_USE_JUMPTABLE 0 |
#define LUAI_MAXCSTACK 400 |
#define LUAI_MAXSTACK 50000 |
#define LUAI_USER_ALIGNMENT_T union { char b[sizeof(void*) * 8]; } |
#define LUAL_BUFFERSIZE 23 |
#define UNUSED |
( |
|
x | ) |
(x=0, (void)(x)) |
LUA_API void* debug_realloc |
( |
void * |
ud, |
|
|
void * |
block, |
|
|
size_t |
osize, |
|
|
size_t |
nsize |
|
) |
| |