diff options
Diffstat (limited to 'src/lua/lualib.h')
-rw-r--r-- | src/lua/lualib.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/lua/lualib.h b/src/lua/lualib.h new file mode 100644 index 00000000..89f5519f --- /dev/null +++ b/src/lua/lualib.h @@ -0,0 +1,34 @@ +/* +** $Id: lualib.h,v 1.2 2001/11/26 23:00:26 darkgod Exp $ +** Lua standard libraries +** See Copyright Notice in lua.h +*/ + + +#ifndef lualib_h +#define lualib_h + +#include "lua.h" + + +#ifndef LUALIB_API +#define LUALIB_API extern +#endif + + +#define LUA_ALERT "_ALERT" + +LUALIB_API void lua_baselibopen (lua_State *L); +LUALIB_API void lua_iolibopen (lua_State *L); +LUALIB_API void lua_strlibopen (lua_State *L); +LUALIB_API void lua_mathlibopen (lua_State *L); +LUALIB_API void lua_dblibopen (lua_State *L); + + + +/* Auxiliary functions (private) */ + +const char *luaI_classend (lua_State *L, const char *p); +int luaI_singlematch (int c, const char *p, const char *ep); + +#endif |