From 034de1fe73c24dcb75658b4c9ab16dd012ba3057 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 11 Mar 2003 09:24:34 -0300 Subject: new names for functions that open C libraries --- ltests.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'ltests.c') diff --git a/ltests.c b/ltests.c index 85319943..95a43af0 100644 --- a/ltests.c +++ b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 1.153 2003/02/18 16:02:56 roberto Exp roberto $ +** $Id: ltests.c,v 1.154 2003/02/27 12:33:07 roberto Exp roberto $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -460,12 +460,12 @@ static int newstate (lua_State *L) { static int loadlib (lua_State *L) { static const luaL_reg libs[] = { - {"mathlibopen", lua_mathlibopen}, - {"strlibopen", lua_strlibopen}, - {"iolibopen", lua_iolibopen}, - {"tablibopen", lua_tablibopen}, - {"dblibopen", lua_dblibopen}, - {"baselibopen", lua_baselibopen}, + {"mathlibopen", luaopen_math}, + {"strlibopen", luaopen_string}, + {"iolibopen", luaopen_io}, + {"tablibopen", luaopen_table}, + {"dblibopen", luaopen_debug}, + {"baselibopen", luaopen_base}, {NULL, NULL} }; lua_State *L1 = cast(lua_State *, -- cgit v1.2.3-55-g6feb