aboutsummaryrefslogtreecommitdiff
path: root/lstrlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-03-11 09:24:34 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-03-11 09:24:34 -0300
commit034de1fe73c24dcb75658b4c9ab16dd012ba3057 (patch)
tree8f1c1fecd4321bfda68aee97b8bb54d59b22c935 /lstrlib.c
parent430d6db92827ae2797f435dd5019b5cd115859ef (diff)
downloadlua-034de1fe73c24dcb75658b4c9ab16dd012ba3057.tar.gz
lua-034de1fe73c24dcb75658b4c9ab16dd012ba3057.tar.bz2
lua-034de1fe73c24dcb75658b4c9ab16dd012ba3057.zip
new names for functions that open C 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 d882a73d..677930a3 100644
--- a/lstrlib.c
+++ b/lstrlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstrlib.c,v 1.93 2002/12/20 10:26:33 roberto Exp roberto $ 2** $Id: lstrlib.c,v 1.94 2003/02/12 09:10:41 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*/
@@ -762,7 +762,7 @@ static const luaL_reg strlib[] = {
762/* 762/*
763** Open string library 763** Open string library
764*/ 764*/
765LUALIB_API int lua_strlibopen (lua_State *L) { 765LUALIB_API int luaopen_string (lua_State *L) {
766 luaL_openlib(L, LUA_STRLIBNAME, strlib, 0); 766 luaL_openlib(L, LUA_STRLIBNAME, strlib, 0);
767 return 1; 767 return 1;
768} 768}