1993-07-28 17:18:00 +04:00
|
|
|
/*
|
2001-02-22 20:15:18 +03:00
|
|
|
** $Id: lualib.h,v 1.15 2000/11/23 13:49:35 roberto Exp roberto $
|
1997-09-16 23:25:59 +04:00
|
|
|
** Lua standard libraries
|
|
|
|
** See Copyright Notice in lua.h
|
1993-07-28 17:18:00 +04:00
|
|
|
*/
|
|
|
|
|
1997-09-16 23:25:59 +04:00
|
|
|
|
1993-07-28 17:18:00 +04:00
|
|
|
#ifndef lualib_h
|
|
|
|
#define lualib_h
|
|
|
|
|
1996-05-01 01:13:55 +04:00
|
|
|
#include "lua.h"
|
|
|
|
|
2000-09-12 17:46:59 +04:00
|
|
|
|
2000-10-27 20:15:53 +04:00
|
|
|
#ifndef LUALIB_API
|
|
|
|
#define LUALIB_API extern
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2000-09-12 17:46:59 +04:00
|
|
|
#define LUA_ALERT "_ALERT"
|
|
|
|
|
2000-10-27 20:15:53 +04:00
|
|
|
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);
|
1997-09-16 23:25:59 +04:00
|
|
|
|
|
|
|
|
2001-02-22 20:15:18 +03:00
|
|
|
|
|
|
|
/*
|
|
|
|
** `private' part
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* macro to `unsign' a character */
|
|
|
|
#define uchar(c) ((unsigned char)(c))
|
|
|
|
|
|
|
|
/* integer type to hold the result of fgetc */
|
|
|
|
typedef int l_charint;
|
|
|
|
|
1993-07-28 17:18:00 +04:00
|
|
|
#endif
|