diff src/lua/lualib.h @ 11:27763b933818

raise lua sources up one level
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 11:07:39 -0600
parents src/lua/src/lualib.h@f9f4f1b99eed
children
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/lua/lualib.h	Sat Mar 03 11:07:39 2012 -0600
     1.3 @@ -0,0 +1,53 @@
     1.4 +/*
     1.5 +** $Id: lualib.h,v 1.36.1.1 2007/12/27 13:02:25 roberto Exp $
     1.6 +** Lua standard libraries
     1.7 +** See Copyright Notice in lua.h
     1.8 +*/
     1.9 +
    1.10 +
    1.11 +#ifndef lualib_h
    1.12 +#define lualib_h
    1.13 +
    1.14 +#include "lua.h"
    1.15 +
    1.16 +
    1.17 +/* Key to file-handle type */
    1.18 +#define LUA_FILEHANDLE		"FILE*"
    1.19 +
    1.20 +
    1.21 +#define LUA_COLIBNAME	"coroutine"
    1.22 +LUALIB_API int (luaopen_base) (lua_State *L);
    1.23 +
    1.24 +#define LUA_TABLIBNAME	"table"
    1.25 +LUALIB_API int (luaopen_table) (lua_State *L);
    1.26 +
    1.27 +#define LUA_IOLIBNAME	"io"
    1.28 +LUALIB_API int (luaopen_io) (lua_State *L);
    1.29 +
    1.30 +#define LUA_OSLIBNAME	"os"
    1.31 +LUALIB_API int (luaopen_os) (lua_State *L);
    1.32 +
    1.33 +#define LUA_STRLIBNAME	"string"
    1.34 +LUALIB_API int (luaopen_string) (lua_State *L);
    1.35 +
    1.36 +#define LUA_MATHLIBNAME	"math"
    1.37 +LUALIB_API int (luaopen_math) (lua_State *L);
    1.38 +
    1.39 +#define LUA_DBLIBNAME	"debug"
    1.40 +LUALIB_API int (luaopen_debug) (lua_State *L);
    1.41 +
    1.42 +#define LUA_LOADLIBNAME	"package"
    1.43 +LUALIB_API int (luaopen_package) (lua_State *L);
    1.44 +
    1.45 +
    1.46 +/* open all previous libraries */
    1.47 +LUALIB_API void (luaL_openlibs) (lua_State *L); 
    1.48 +
    1.49 +
    1.50 +
    1.51 +#ifndef lua_assert
    1.52 +#define lua_assert(x)	((void)0)
    1.53 +#endif
    1.54 +
    1.55 +
    1.56 +#endif