summaryrefslogtreecommitdiff
path: root/lstrlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-06-05 14:24:04 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-06-05 14:24:04 -0300
commit5b8ee9fa8d9bc3d3ad41a1acd547b79bc3b669a7 (patch)
treee9d62d00cd762b64e30ce2297319f91064d54d7e /lstrlib.c
parent2cd6161060f3e9149e7a61a126bec76cd4f1b333 (diff)
downloadlua-github-5b8ee9fa8d9bc3d3ad41a1acd547b79bc3b669a7.tar.gz
new names for standard libraries
Diffstat (limited to 'lstrlib.c')
-rw-r--r--lstrlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstrlib.c b/lstrlib.c
index 8a3cd686..27d991cf 100644
--- a/lstrlib.c
+++ b/lstrlib.c
@@ -1,5 +1,5 @@
/*
-** $Id: lstrlib.c,v 1.81 2002/05/02 17:12:27 roberto Exp roberto $
+** $Id: lstrlib.c,v 1.82 2002/05/06 19:05:10 roberto Exp roberto $
** Standard library for string operations and pattern-matching
** See Copyright Notice in lua.h
*/
@@ -726,7 +726,7 @@ static const luaL_reg strlib[] = {
** Open string library
*/
LUALIB_API int lua_strlibopen (lua_State *L) {
- luaL_opennamedlib(L, "str", strlib, 0);
+ luaL_opennamedlib(L, LUA_STRLIBNAME, strlib, 0);
return 0;
}