diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-08-15 11:12:32 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-08-15 11:12:32 -0300 |
commit | 5e8a9e324ccdba03b326f8a8fafa0446042975a5 (patch) | |
tree | 0f752977249376dffd9a65690c1663be81166825 /ltablib.c | |
parent | 16ddf86168998d500283e160977ef5ecea72c915 (diff) | |
download | lua-5e8a9e324ccdba03b326f8a8fafa0446042975a5.tar.gz lua-5e8a9e324ccdba03b326f8a8fafa0446042975a5.tar.bz2 lua-5e8a9e324ccdba03b326f8a8fafa0446042975a5.zip |
luaL_openlib -> luaL_register, luaL_putchar -> luaL_addchar
Diffstat (limited to 'ltablib.c')
-rw-r--r-- | ltablib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltablib.c,v 1.32 2005/07/11 18:48:02 roberto Exp roberto $ | 2 | ** $Id: ltablib.c,v 1.33 2005/07/12 14:32:08 roberto Exp roberto $ |
3 | ** Library for Table Manipulation | 3 | ** Library for Table Manipulation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -250,7 +250,7 @@ static const luaL_reg tab_funcs[] = { | |||
250 | 250 | ||
251 | 251 | ||
252 | LUALIB_API int luaopen_table (lua_State *L) { | 252 | LUALIB_API int luaopen_table (lua_State *L) { |
253 | luaL_openlib(L, LUA_TABLIBNAME, tab_funcs, 0); | 253 | luaL_register(L, LUA_TABLIBNAME, tab_funcs); |
254 | return 1; | 254 | return 1; |
255 | } | 255 | } |
256 | 256 | ||