about summary refs log tree commit diff stats
path: root/src/lualib.h
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-11-20 23:34:29 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-11-20 23:34:29 -0800
commit548d59f918eb9d370053596b5166f09b4e5e00c5 (patch)
treed0fc64dc432567aecee7f2552e81004309b83ed3 /src/lualib.h
parent02acfa7c9c9347abf2c170b0405010bc6f219fc0 (diff)
downloadteliva-548d59f918eb9d370053596b5166f09b4e5e00c5.tar.gz
luasocket now loading properly
I still haven't tried actually running it.
Diffstat (limited to 'src/lualib.h')
-rw-r--r--src/lualib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lualib.h b/src/lualib.h
index 02924dd..8654480 100644
--- a/src/lualib.h
+++ b/src/lualib.h
@@ -36,6 +36,9 @@ LUALIB_API int (luaopen_math) (lua_State *L);
 #define LUA_CURSESLIBNAME	"curses"
 LUALIB_API int (luaopen_curses) (lua_State *L);
 
+#define LUA_SOCKETCORELIBNAME	"socket"
+LUALIB_API int (luaopen_socket_core) (lua_State *L);
+
 #define LUA_DBLIBNAME	"debug"
 LUALIB_API int (luaopen_debug) (lua_State *L);