aboutsummaryrefslogtreecommitdiff
path: root/src/sysbin/lx/lxlib.h
blob: 199c78ddc1de9296ae16f352ad19a3901f4fe71a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
** Lua eXtended libraries
*/
#pragma once

#include <lua/lua.h>


#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);