diff options
author | Alex Auvolat <alex@adnab.me> | 2017-04-21 14:57:53 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2017-04-21 14:57:53 +0200 |
commit | ec08d0410730a16836eb40f5e46082b3bbaf45f6 (patch) | |
tree | 1191271926f1fe42049b974f4bd9bdf56a2945bb /src/sysbin/lx/lxlib.h | |
parent | 59ecab36f634a00cc6e2c4194bf2d5ebc4ec70eb (diff) | |
download | kogata-ec08d0410730a16836eb40f5e46082b3bbaf45f6.tar.gz kogata-ec08d0410730a16836eb40f5e46082b3bbaf45f6.zip |
include lua_cmsgpack and implement select binding
Diffstat (limited to 'src/sysbin/lx/lxlib.h')
-rw-r--r-- | src/sysbin/lx/lxlib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sysbin/lx/lxlib.h b/src/sysbin/lx/lxlib.h index e65ab6f..199c78d 100644 --- a/src/sysbin/lx/lxlib.h +++ b/src/sysbin/lx/lxlib.h @@ -9,6 +9,12 @@ #define LX_SYSLIBNAME "lx.sys" LUAMOD_API int (lx_open_sys) (lua_State *L); +#define LX_SYSLIBNAME "lx.sys" +LUAMOD_API int (lx_open_sys) (lua_State *L); + +#define LX_MSGLIBNAME "lx.msg" +LUAMOD_API int (luaopen_cmsgpack) (lua_State *L); +#define lx_open_msg luaopen_cmsgpack /* open all previous libraries */ LUALIB_API void (lx_openlibs) (lua_State *L); |