aboutsummaryrefslogtreecommitdiff
path: root/lstrlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-03-06 17:09:38 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-03-06 17:09:38 -0300
commit6d4db86888ea8ef06b78646f2631891c9e4c7a2b (patch)
tree7a7b19dc6b3d786f4f974e702bf69eac9775b70f /lstrlib.c
parente9a38203700865d36c3b2861200674a21930c1b5 (diff)
downloadlua-6d4db86888ea8ef06b78646f2631891c9e4c7a2b.tar.gz
lua-6d4db86888ea8ef06b78646f2631891c9e4c7a2b.tar.bz2
lua-6d4db86888ea8ef06b78646f2631891c9e4c7a2b.zip
open functions are lua_Cfunctions
Diffstat (limited to 'lstrlib.c')
-rw-r--r--lstrlib.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lstrlib.c b/lstrlib.c
index 9abfc938..c448f57e 100644
--- a/lstrlib.c
+++ b/lstrlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstrlib.c,v 1.65 2001/02/23 17:17:25 roberto Exp roberto $ 2** $Id: lstrlib.c,v 1.66 2001/03/02 17:40:08 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*/
@@ -652,6 +652,7 @@ static const luaL_reg strlib[] = {
652/* 652/*
653** Open string library 653** Open string library
654*/ 654*/
655LUALIB_API void lua_strlibopen (lua_State *L) { 655LUALIB_API int lua_strlibopen (lua_State *L) {
656 luaL_openl(L, strlib); 656 luaL_openl(L, strlib);
657 return 0;
657} 658}