aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lauxlib.c')
-rw-r--r--lauxlib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lauxlib.c b/lauxlib.c
index a19cb079..58811134 100644
--- a/lauxlib.c
+++ b/lauxlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lauxlib.c,v 1.149 2005/08/25 15:39:16 roberto Exp roberto $ 2** $Id: lauxlib.c,v 1.150 2005/08/26 17:32:05 roberto Exp roberto $
3** Auxiliary functions for building Lua libraries 3** Auxiliary functions for building Lua libraries
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -222,13 +222,13 @@ LUALIB_API int luaL_callmeta (lua_State *L, int obj, const char *event) {
222 222
223 223
224LUALIB_API void (luaL_register) (lua_State *L, const char *libname, 224LUALIB_API void (luaL_register) (lua_State *L, const char *libname,
225 const luaL_reg *l) { 225 const luaL_Reg *l) {
226 luaI_openlib(L, libname, l, 0); 226 luaI_openlib(L, libname, l, 0);
227} 227}
228 228
229 229
230LUALIB_API void luaI_openlib (lua_State *L, const char *libname, 230LUALIB_API void luaI_openlib (lua_State *L, const char *libname,
231 const luaL_reg *l, int nup) { 231 const luaL_Reg *l, int nup) {
232 if (libname) { 232 if (libname) {
233 /* check whether lib already exists */ 233 /* check whether lib already exists */
234 lua_getfield(L, LUA_REGISTRYINDEX, "_LOADED"); 234 lua_getfield(L, LUA_REGISTRYINDEX, "_LOADED");