aboutsummaryrefslogtreecommitdiff
path: root/lualib.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-07-09 11:29:29 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-07-09 11:29:29 -0300
commit31f6540fba010b941b44b2bd21672786d2e63e7f (patch)
tree2824e407b7c04099b7c7f11d47f025c5271f2905 /lualib.h
parenteab1965c05f2ef71f715347e280733e7657993e4 (diff)
downloadlua-31f6540fba010b941b44b2bd21672786d2e63e7f.tar.gz
lua-31f6540fba010b941b44b2bd21672786d2e63e7f.tar.bz2
lua-31f6540fba010b941b44b2bd21672786d2e63e7f.zip
back with an "open all libs" function
Diffstat (limited to 'lualib.h')
-rw-r--r--lualib.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/lualib.h b/lualib.h
index 06428d77..6efe0e2d 100644
--- a/lualib.h
+++ b/lualib.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lualib.h,v 1.29 2004/03/24 15:46:49 roberto Exp roberto $ 2** $Id: lualib.h,v 1.30 2004/05/28 18:35:05 roberto Exp roberto $
3** Lua standard libraries 3** Lua standard libraries
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -11,11 +11,6 @@
11#include "lua.h" 11#include "lua.h"
12 12
13 13
14#ifndef LUALIB_API
15#define LUALIB_API LUA_API
16#endif
17
18
19/* Key to file-handle type */ 14/* Key to file-handle type */
20#define LUA_FILEHANDLE "FILE*" 15#define LUA_FILEHANDLE "FILE*"
21 16
@@ -43,9 +38,8 @@ LUALIB_API int luaopen_debug (lua_State *L);
43LUALIB_API int luaopen_loadlib (lua_State *L); 38LUALIB_API int luaopen_loadlib (lua_State *L);
44 39
45 40
46/* to help testing the libraries */ 41/* open all previous libraries */
47#ifndef lua_assert 42LUALIB_API int luaopen_stdlibs (lua_State *L);
48#define lua_assert(c) /* empty */ 43
49#endif
50 44
51#endif 45#endif