Initial commit
This commit is contained in:
32
engines/grim/lua/lualib.h
Normal file
32
engines/grim/lua/lualib.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
** Lua standard libraries
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
||||
|
||||
#ifndef GRIM_LUALIB_H
|
||||
#define GRIM_LUALIB_H
|
||||
|
||||
#include "engines/grim/lua/lua.h"
|
||||
|
||||
namespace Grim {
|
||||
|
||||
void lua_iolibopen();
|
||||
void lua_strlibopen();
|
||||
void lua_mathlibopen();
|
||||
void lua_iolibclose();
|
||||
|
||||
// To keep compatibility with old versions
|
||||
|
||||
#define iolib_open lua_iolibopen
|
||||
#define strlib_open lua_strlibopen
|
||||
#define mathlib_open lua_mathlibopen
|
||||
|
||||
// Auxiliary functions (private)
|
||||
|
||||
int32 luaI_singlematch(int32 c, const char *p, const char **ep);
|
||||
|
||||
} // end of namespace Grim
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user