aboutsummaryrefslogtreecommitdiff
path: root/src/lua.h
diff options
context:
space:
mode:
authorame <[email protected]>2024-05-07 14:09:48 -0500
committerame <[email protected]>2024-05-07 14:09:48 -0500
commit3200f04de946049e950c6f7fd1e9d4d2f599c9ea (patch)
tree68a9e2f5e2f496fc630d036fd27f2aae9fb2ad23 /src/lua.h
parenta571dd1ac9fc4d46e0bbc95a3ab88f52ee37b1a1 (diff)
more work on threads
Diffstat (limited to 'src/lua.h')
-rw-r--r--src/lua.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lua.h b/src/lua.h
index 3686285..bd0da87 100644
--- a/src/lua.h
+++ b/src/lua.h
@@ -7,6 +7,7 @@ void* __malloc_(size_t);
void __free_(void*);
void i_dcopy(lua_State* src, lua_State* dest, void*);
+void lua_set_global_table(lua_State*);
//generic macro that takes other macros (see below)
#define _tset_b(L, Tidx, K, V, F)\
@@ -33,7 +34,7 @@ void i_dcopy(lua_State* src, lua_State* dest, void*);
_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