diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-05 14:24:04 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-05 14:24:04 -0300 |
commit | 5b8ee9fa8d9bc3d3ad41a1acd547b79bc3b669a7 (patch) | |
tree | e9d62d00cd762b64e30ce2297319f91064d54d7e /lstrlib.c | |
parent | 2cd6161060f3e9149e7a61a126bec76cd4f1b333 (diff) | |
download | lua-5b8ee9fa8d9bc3d3ad41a1acd547b79bc3b669a7.tar.gz lua-5b8ee9fa8d9bc3d3ad41a1acd547b79bc3b669a7.tar.bz2 lua-5b8ee9fa8d9bc3d3ad41a1acd547b79bc3b669a7.zip |
new names for standard libraries
Diffstat (limited to 'lstrlib.c')
-rw-r--r-- | lstrlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstrlib.c,v 1.81 2002/05/02 17:12:27 roberto Exp roberto $ | 2 | ** $Id: lstrlib.c,v 1.82 2002/05/06 19:05:10 roberto Exp roberto $ |
3 | ** Standard library for string operations and pattern-matching | 3 | ** Standard library for string operations and pattern-matching |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -726,7 +726,7 @@ static const luaL_reg strlib[] = { | |||
726 | ** Open string library | 726 | ** Open string library |
727 | */ | 727 | */ |
728 | LUALIB_API int lua_strlibopen (lua_State *L) { | 728 | LUALIB_API int lua_strlibopen (lua_State *L) { |
729 | luaL_opennamedlib(L, "str", strlib, 0); | 729 | luaL_opennamedlib(L, LUA_STRLIBNAME, strlib, 0); |
730 | return 0; | 730 | return 0; |
731 | } | 731 | } |
732 | 732 | ||