new names for standard libraries

This commit is contained in:
Roberto Ierusalimschy
2002-06-05 14:24:04 -03:00
parent 2cd6161060
commit 5b8ee9fa8d
7 changed files with 27 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lualib.h,v 1.21 2001/03/26 14:31:49 roberto Exp roberto $
** $Id: lualib.h,v 1.22 2002/04/09 20:19:06 roberto Exp roberto $
** Lua standard libraries
** See Copyright Notice in lua.h
*/
@@ -18,11 +18,23 @@
#define LUA_ALERT "_ALERT"
#define LUA_COLIBNAME "coroutine"
LUALIB_API int lua_baselibopen (lua_State *L);
#define LUA_TABLIBNAME "table"
LUALIB_API int lua_tablibopen (lua_State *L);
#define LUA_IOLIBNAME "io"
#define LUA_OSLIBNAME "os"
LUALIB_API int lua_iolibopen (lua_State *L);
#define LUA_STRLIBNAME "string"
LUALIB_API int lua_strlibopen (lua_State *L);
#define LUA_MATHLIBNAME "math"
LUALIB_API int lua_mathlibopen (lua_State *L);
#define LUA_DBLIBNAME "debug"
LUALIB_API int lua_dblibopen (lua_State *L);