diff options
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.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 | */ |
765 | LUALIB_API int lua_strlibopen (lua_State *L) { | 765 | LUALIB_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 | } |