From 31f6540fba010b941b44b2bd21672786d2e63e7f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 9 Jul 2004 11:29:29 -0300 Subject: back with an "open all libs" function --- lualib.h | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'lualib.h') diff --git a/lualib.h b/lualib.h index 06428d77..6efe0e2d 100644 --- a/lualib.h +++ b/lualib.h @@ -1,5 +1,5 @@ /* -** $Id: lualib.h,v 1.29 2004/03/24 15:46:49 roberto Exp roberto $ +** $Id: lualib.h,v 1.30 2004/05/28 18:35:05 roberto Exp roberto $ ** Lua standard libraries ** See Copyright Notice in lua.h */ @@ -11,11 +11,6 @@ #include "lua.h" -#ifndef LUALIB_API -#define LUALIB_API LUA_API -#endif - - /* Key to file-handle type */ #define LUA_FILEHANDLE "FILE*" @@ -43,9 +38,8 @@ LUALIB_API int luaopen_debug (lua_State *L); LUALIB_API int luaopen_loadlib (lua_State *L); -/* to help testing the libraries */ -#ifndef lua_assert -#define lua_assert(c) /* empty */ -#endif +/* open all previous libraries */ +LUALIB_API int luaopen_stdlibs (lua_State *L); + #endif -- cgit v1.2.3-55-g6feb