diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-10-24 09:23:54 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-10-24 09:23:54 -0700 |
commit | c80bafed747804da277a0f42d7c2f2a560505da1 (patch) | |
tree | b7960ca7b67ee1e7f8a4a709d28003e9c5c987d0 /src/lua.h | |
parent | 36ef0c236ec840ca1ffdd634df9d967b12c8f7d1 (diff) | |
download | teliva-c80bafed747804da277a0f42d7c2f2a560505da1.tar.gz |
trying to make sense of how bindings are created
lua_State contains these StkId fields (stack, stack_last, base, top) that expand to a pointer of a struct containing a Lua value and an int. Unclear how it's used, or how you build a stack out of it.
Diffstat (limited to 'src/lua.h')
-rw-r--r-- | src/lua.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lua.h b/src/lua.h index a4b73e7..71bfbbf 100644 --- a/src/lua.h +++ b/src/lua.h @@ -284,8 +284,6 @@ LUA_API void lua_setallocf (lua_State *L, lua_Alloc f, void *ud); ** compatibility macros and functions */ -#define lua_open() luaL_newstate() - #define lua_getregistry(L) lua_pushvalue(L, LUA_REGISTRYINDEX) #define lua_getgccount(L) lua_gc(L, LUA_GCCOUNT, 0) |