aboutsummaryrefslogtreecommitdiff
path: root/src/lua.h
diff options
context:
space:
mode:
authorame <[email protected]>2024-05-03 13:40:55 -0500
committerame <[email protected]>2024-05-03 13:40:55 -0500
commit618263f6f85d08bfd85d4f0376663aa1e2f58eac (patch)
treedbaffb5e488e0d0cf7f2fcb598ee2db1515aab05 /src/lua.h
parent8740f3685e959d6477230cf4e8f33c7c93f9ea2b (diff)
starting threads and deep copy metatables
Diffstat (limited to 'src/lua.h')
-rw-r--r--src/lua.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lua.h b/src/lua.h
index d824fd4..3686285 100644
--- a/src/lua.h
+++ b/src/lua.h
@@ -31,7 +31,9 @@ void i_dcopy(lua_State* src, lua_State* dest, void*);
_tset_b(L, Tidx, K, V, lua_pushvalue)
#define luaI_tsetcf(L, Tidx, K, V)\
_tset_b(L, Tidx, K, V, lua_pushcfunction)
-
+#define luaI_tsetlud(L, Tidx, K, V)\
+ _tset_b(L, Tidx, K, V, lua_pushlightuserdata)
+
int writer(lua_State*, const void*, size_t, void*);
#if LUA_VERSION_NUM == 504