Mercurial > vba-clojure
annotate src/lua/lualib.h @ 247:22f58fa47c3c
starting work on unoptimized bootstrap script.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Mon, 26 Mar 2012 03:08:54 -0500 |
parents | 27763b933818 |
children |
rev | line source |
---|---|
rlm@1 | 1 /* |
rlm@1 | 2 ** $Id: lualib.h,v 1.36.1.1 2007/12/27 13:02:25 roberto Exp $ |
rlm@1 | 3 ** Lua standard libraries |
rlm@1 | 4 ** See Copyright Notice in lua.h |
rlm@1 | 5 */ |
rlm@1 | 6 |
rlm@1 | 7 |
rlm@1 | 8 #ifndef lualib_h |
rlm@1 | 9 #define lualib_h |
rlm@1 | 10 |
rlm@1 | 11 #include "lua.h" |
rlm@1 | 12 |
rlm@1 | 13 |
rlm@1 | 14 /* Key to file-handle type */ |
rlm@1 | 15 #define LUA_FILEHANDLE "FILE*" |
rlm@1 | 16 |
rlm@1 | 17 |
rlm@1 | 18 #define LUA_COLIBNAME "coroutine" |
rlm@1 | 19 LUALIB_API int (luaopen_base) (lua_State *L); |
rlm@1 | 20 |
rlm@1 | 21 #define LUA_TABLIBNAME "table" |
rlm@1 | 22 LUALIB_API int (luaopen_table) (lua_State *L); |
rlm@1 | 23 |
rlm@1 | 24 #define LUA_IOLIBNAME "io" |
rlm@1 | 25 LUALIB_API int (luaopen_io) (lua_State *L); |
rlm@1 | 26 |
rlm@1 | 27 #define LUA_OSLIBNAME "os" |
rlm@1 | 28 LUALIB_API int (luaopen_os) (lua_State *L); |
rlm@1 | 29 |
rlm@1 | 30 #define LUA_STRLIBNAME "string" |
rlm@1 | 31 LUALIB_API int (luaopen_string) (lua_State *L); |
rlm@1 | 32 |
rlm@1 | 33 #define LUA_MATHLIBNAME "math" |
rlm@1 | 34 LUALIB_API int (luaopen_math) (lua_State *L); |
rlm@1 | 35 |
rlm@1 | 36 #define LUA_DBLIBNAME "debug" |
rlm@1 | 37 LUALIB_API int (luaopen_debug) (lua_State *L); |
rlm@1 | 38 |
rlm@1 | 39 #define LUA_LOADLIBNAME "package" |
rlm@1 | 40 LUALIB_API int (luaopen_package) (lua_State *L); |
rlm@1 | 41 |
rlm@1 | 42 |
rlm@1 | 43 /* open all previous libraries */ |
rlm@1 | 44 LUALIB_API void (luaL_openlibs) (lua_State *L); |
rlm@1 | 45 |
rlm@1 | 46 |
rlm@1 | 47 |
rlm@1 | 48 #ifndef lua_assert |
rlm@1 | 49 #define lua_assert(x) ((void)0) |
rlm@1 | 50 #endif |
rlm@1 | 51 |
rlm@1 | 52 |
rlm@1 | 53 #endif |