1
0
mirror of https://github.com/lua/lua.git synced 2025-01-14 05:43:00 +08:00
lua/lualib.h

42 lines
785 B
C
Raw Normal View History

1993-07-28 10:18:00 -03:00
/*
2002-06-05 14:24:04 -03:00
** $Id: lualib.h,v 1.22 2002/04/09 20:19:06 roberto Exp roberto $
1997-09-16 16:25:59 -03:00
** Lua standard libraries
** See Copyright Notice in lua.h
1993-07-28 10:18:00 -03:00
*/
1997-09-16 16:25:59 -03:00
1993-07-28 10:18:00 -03:00
#ifndef lualib_h
#define lualib_h
#include "lua.h"
#ifndef LUALIB_API
#define LUALIB_API extern
#endif
2001-03-26 11:31:49 -03:00
#define LUA_ALERT "_ALERT"
2002-06-05 14:24:04 -03:00
#define LUA_COLIBNAME "coroutine"
2001-03-06 17:09:38 -03:00
LUALIB_API int lua_baselibopen (lua_State *L);
2002-06-05 14:24:04 -03:00
#define LUA_TABLIBNAME "table"
LUALIB_API int lua_tablibopen (lua_State *L);
2002-06-05 14:24:04 -03:00
#define LUA_IOLIBNAME "io"
#define LUA_OSLIBNAME "os"
2001-03-06 17:09:38 -03:00
LUALIB_API int lua_iolibopen (lua_State *L);
2002-06-05 14:24:04 -03:00
#define LUA_STRLIBNAME "string"
2001-03-06 17:09:38 -03:00
LUALIB_API int lua_strlibopen (lua_State *L);
2002-06-05 14:24:04 -03:00
#define LUA_MATHLIBNAME "math"
2001-03-06 17:09:38 -03:00
LUALIB_API int lua_mathlibopen (lua_State *L);
2002-06-05 14:24:04 -03:00
#define LUA_DBLIBNAME "debug"
2001-03-06 17:09:38 -03:00
LUALIB_API int lua_dblibopen (lua_State *L);
1997-09-16 16:25:59 -03:00
1993-07-28 10:18:00 -03:00
#endif