aboutsummaryrefslogtreecommitdiff
path: root/lstrlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-11-22 15:39:51 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-11-22 15:39:51 -0200
commit7d1499ba88fbb9275b6e5dea6005a49ff15347dd (patch)
tree3effbdda4848b26de22e12d8dd14d6c9e3da518b /lstrlib.c
parent29ede6aa13144ff7b69c57a87be1ee93f57ae896 (diff)
downloadlua-7d1499ba88fbb9275b6e5dea6005a49ff15347dd.tar.gz
lua-7d1499ba88fbb9275b6e5dea6005a49ff15347dd.tar.bz2
lua-7d1499ba88fbb9275b6e5dea6005a49ff15347dd.zip
new macro luaL_openl
Diffstat (limited to 'lstrlib.c')
-rw-r--r--lstrlib.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lstrlib.c b/lstrlib.c
index c973d0e4..4f67a72c 100644
--- a/lstrlib.c
+++ b/lstrlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstrlib.c,v 1.36 1999/11/11 16:45:04 roberto Exp roberto $ 2** $Id: lstrlib.c,v 1.37 1999/11/22 13:12:07 roberto Exp roberto $
3** Standard library for strings and pattern-matching 3** Standard library for strings and pattern-matching
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -614,7 +614,6 @@ static const struct luaL_reg strlib[] = {
614/* 614/*
615** Open string library 615** Open string library
616*/ 616*/
617void lua_strlibopen (lua_State *L) 617void lua_strlibopen (lua_State *L) {
618{ 618 luaL_openl(L, strlib);
619 luaL_openlib(L, strlib, (sizeof(strlib)/sizeof(strlib[0])));
620} 619}