diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-03-11 09:24:34 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-03-11 09:24:34 -0300 |
| commit | 034de1fe73c24dcb75658b4c9ab16dd012ba3057 (patch) | |
| tree | 8f1c1fecd4321bfda68aee97b8bb54d59b22c935 /ltests.c | |
| parent | 430d6db92827ae2797f435dd5019b5cd115859ef (diff) | |
| download | lua-034de1fe73c24dcb75658b4c9ab16dd012ba3057.tar.gz lua-034de1fe73c24dcb75658b4c9ab16dd012ba3057.tar.bz2 lua-034de1fe73c24dcb75658b4c9ab16dd012ba3057.zip | |
new names for functions that open C libraries
Diffstat (limited to 'ltests.c')
| -rw-r--r-- | ltests.c | 14 |
1 files changed, 7 insertions, 7 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltests.c,v 1.153 2003/02/18 16:02:56 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 1.154 2003/02/27 12:33:07 roberto Exp roberto $ |
| 3 | ** Internal Module for Debugging of the Lua Implementation | 3 | ** Internal Module for Debugging of the Lua Implementation |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -460,12 +460,12 @@ static int newstate (lua_State *L) { | |||
| 460 | 460 | ||
| 461 | static int loadlib (lua_State *L) { | 461 | static int loadlib (lua_State *L) { |
| 462 | static const luaL_reg libs[] = { | 462 | static const luaL_reg libs[] = { |
| 463 | {"mathlibopen", lua_mathlibopen}, | 463 | {"mathlibopen", luaopen_math}, |
| 464 | {"strlibopen", lua_strlibopen}, | 464 | {"strlibopen", luaopen_string}, |
| 465 | {"iolibopen", lua_iolibopen}, | 465 | {"iolibopen", luaopen_io}, |
| 466 | {"tablibopen", lua_tablibopen}, | 466 | {"tablibopen", luaopen_table}, |
| 467 | {"dblibopen", lua_dblibopen}, | 467 | {"dblibopen", luaopen_debug}, |
| 468 | {"baselibopen", lua_baselibopen}, | 468 | {"baselibopen", luaopen_base}, |
| 469 | {NULL, NULL} | 469 | {NULL, NULL} |
| 470 | }; | 470 | }; |
| 471 | lua_State *L1 = cast(lua_State *, | 471 | lua_State *L1 = cast(lua_State *, |
