|
native Lua
0.5.0-devel
Lua on the platform you use with the compiler you choose
|
Go to the documentation of this file.
16 #define sizeCclosure(n) (cast_int(offsetof(CClosure, upvalue)) + \
17 cast_int(sizeof(TValue)) * (n))
19 #define sizeLclosure(n) (cast_int(offsetof(LClosure, upvals)) + \
20 cast_int(sizeof(TValue *)) * (n))
24 #define isintwups(L) (L->twups != L)
34 #define upisopen(up) ((up)->v != &(up)->u.value)
37 #define uplevel(up) check_exp(upisopen(up), cast(StkId, (up)->v))
52 #define NOCLOSINGMETH (-1)
55 #define CLOSEPROTECT (-2)
LUAI_FUNC int luaF_close(lua_State *L, StkId level, int status)
Definition: lfunc.c:223
LUAI_FUNC Proto * luaF_newproto(lua_State *L)
Definition: lfunc.c:245
#define LUAI_FUNC
Definition: luaconf.h:324
LUAI_FUNC void luaF_newtbcupval(lua_State *L, StkId level)
Definition: lfunc.c:194
native Lua configuration file
Definition: lobject.h:140
LUAI_FUNC const char * luaF_getlocalname(const Proto *func, int local_number, int pc)
Definition: lfunc.c:288
Definition: lobject.h:605
Definition: lobject.h:623
Definition: lobject.h:630
LUAI_FUNC LClosure * luaF_newLclosure(lua_State *L, int nupvals)
Definition: lfunc.c:35
Definition: lobject.h:529
LUAI_FUNC CClosure * luaF_newCclosure(lua_State *L, int nupvals)
Definition: lfunc.c:27
LUAI_FUNC void luaF_freeproto(lua_State *L, Proto *f)
Definition: lfunc.c:272
LUAI_FUNC UpVal * luaF_findupval(lua_State *L, StkId level)
Definition: lfunc.c:88
LUAI_FUNC void luaF_unlinkupval(UpVal *uv)
Definition: lfunc.c:215
LUAI_FUNC void luaF_initupvals(lua_State *L, LClosure *cl)
Definition: lfunc.c:48