From 04f657c7f892072d7cdc021e9e2635acc086f898 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 13 Apr 2005 14:24:20 -0300 Subject: new protocol to open standard libraries --- lualib.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lualib.h') diff --git a/lualib.h b/lualib.h index 5c0bf255..1d8178d1 100644 --- a/lualib.h +++ b/lualib.h @@ -1,5 +1,5 @@ /* -** $Id: lualib.h,v 1.32 2004/07/09 15:47:48 roberto Exp roberto $ +** $Id: lualib.h,v 1.33 2005/01/10 16:31:30 roberto Exp roberto $ ** Lua standard libraries ** See Copyright Notice in lua.h */ @@ -36,12 +36,12 @@ LUALIB_API int (luaopen_math) (lua_State *L); #define LUA_DBLIBNAME "debug" LUALIB_API int (luaopen_debug) (lua_State *L); - +#define LUA_LOADLIBNAME "package" LUALIB_API int (luaopen_loadlib) (lua_State *L); /* open all previous libraries */ -LUALIB_API int (luaopen_stdlibs) (lua_State *L); +LUALIB_API void (luaL_openlibs) (lua_State *L); #endif -- cgit v1.2.3-55-g6feb