diff options
author | Alex Auvolat <alex@adnab.me> | 2017-04-19 15:34:04 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2017-04-19 15:34:04 +0200 |
commit | e53a39d9ec28b24ea0d408f1500e987d005cd651 (patch) | |
tree | 639c93f2a17aabee7759cd16645b4d7da693ae4c /src/sysbin/lx/lxlib.h | |
parent | d4a89538d381bb62b4c7c864b09d3d8274cf0bdb (diff) | |
download | kogata-e53a39d9ec28b24ea0d408f1500e987d005cd651.tar.gz kogata-e53a39d9ec28b24ea0d408f1500e987d005cd651.zip |
Lua shell :)
Diffstat (limited to 'src/sysbin/lx/lxlib.h')
-rw-r--r-- | src/sysbin/lx/lxlib.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/sysbin/lx/lxlib.h b/src/sysbin/lx/lxlib.h new file mode 100644 index 0000000..e65ab6f --- /dev/null +++ b/src/sysbin/lx/lxlib.h @@ -0,0 +1,15 @@ +/* +** Lua eXtended libraries +*/ +#pragma once + +#include <lua/lua.h> + + +#define LX_SYSLIBNAME "lx.sys" +LUAMOD_API int (lx_open_sys) (lua_State *L); + + +/* open all previous libraries */ +LUALIB_API void (lx_openlibs) (lua_State *L); + |