diff options
Diffstat (limited to 'src/lua.h')
| -rw-r--r-- | src/lua.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -8,7 +8,8 @@ enum deep_copy_flags {
SKIP_META = (1 << 0),
SKIP_GC = (1 << 1),
- IS_META = (1 << 2)
+ IS_META = (1 << 2),
+ SKIP__G = (1 << 3),
};
#endif
@@ -25,6 +26,11 @@ void luaI_deepcopy2(lua_State* src, lua_State* dest); void lua_set_global_table(lua_State*);
//todo: char* _luaL_tolstring(lua_State*, int, size_t*);
+void luaI_copyvars(lua_State* src, lua_State* dest);
+
+void lua_upvalue_key_table(lua_State* L, int fidx);
+int lua_assign_upvalues(lua_State* L, int fidx);
+
//generic macro that takes other macros (see below)
#define _tset_b(L, Tidx, K, V, F)\
lua_pushstring(L, K);\
|
