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 /lbaselib.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 'lbaselib.c')
-rw-r--r-- | lbaselib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lbaselib.c,v 1.125 2003/03/06 19:36:16 roberto Exp roberto $ | 2 | ** $Id: lbaselib.c,v 1.126 2003/03/11 12:08:13 roberto Exp roberto $ |
3 | ** Basic library | 3 | ** Basic library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -668,7 +668,7 @@ static void base_open (lua_State *L) { | |||
668 | } | 668 | } |
669 | 669 | ||
670 | 670 | ||
671 | LUALIB_API int lua_baselibopen (lua_State *L) { | 671 | LUALIB_API int luaopen_base (lua_State *L) { |
672 | base_open(L); | 672 | base_open(L); |
673 | luaL_openlib(L, LUA_COLIBNAME, co_funcs, 0); | 673 | luaL_openlib(L, LUA_COLIBNAME, co_funcs, 0); |
674 | lua_newtable(L); | 674 | lua_newtable(L); |