diff options
| author | amy <[email protected]> | 2025-04-14 14:09:22 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-14 14:09:22 -0500 |
| commit | dd7a8af4050454c3901987bff24a77334f892cc4 (patch) | |
| tree | 48c6107656e14cfbbcbb49424fc3454de850a5db /src/lua.h | |
| parent | 44c68aa7d51ea6b50c442bfbfa4ce11c530d2f7d (diff) | |
| parent | dc7e4527e88ed0c59e17c0ff04c01e1c92136e42 (diff) | |
Merge pull request #1 from ameliasquires/new-config
updates how config values are updated, support for local values when copying states, and annotations
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);\
|
