diff options
Diffstat (limited to 'lstrlib.c')
| -rw-r--r-- | lstrlib.c | 18 |
1 files changed, 9 insertions, 9 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lstrlib.c,v 1.117 2005/05/31 14:25:18 roberto Exp roberto $ | 2 | ** $Id: lstrlib.c,v 1.118 2005/07/05 14:30:38 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 | */ |
| @@ -779,21 +779,21 @@ static int str_format (lua_State *L) { | |||
| 779 | 779 | ||
| 780 | 780 | ||
| 781 | static const luaL_reg strlib[] = { | 781 | static const luaL_reg strlib[] = { |
| 782 | {"len", str_len}, | ||
| 783 | {"sub", str_sub}, | ||
| 784 | {"reverse", str_reverse}, | ||
| 785 | {"lower", str_lower}, | ||
| 786 | {"upper", str_upper}, | ||
| 787 | {"char", str_char}, | ||
| 788 | {"rep", str_rep}, | ||
| 789 | {"byte", str_byte}, | 782 | {"byte", str_byte}, |
| 790 | {"format", str_format}, | 783 | {"char", str_char}, |
| 791 | {"dump", str_dump}, | 784 | {"dump", str_dump}, |
| 792 | {"find", str_find}, | 785 | {"find", str_find}, |
| 786 | {"format", str_format}, | ||
| 793 | {"gfind", gfind_nodef}, | 787 | {"gfind", gfind_nodef}, |
| 794 | {"gmatch", gmatch}, | 788 | {"gmatch", gmatch}, |
| 795 | {"gsub", str_gsub}, | 789 | {"gsub", str_gsub}, |
| 790 | {"len", str_len}, | ||
| 791 | {"lower", str_lower}, | ||
| 796 | {"match", str_match}, | 792 | {"match", str_match}, |
| 793 | {"rep", str_rep}, | ||
| 794 | {"reverse", str_reverse}, | ||
| 795 | {"sub", str_sub}, | ||
| 796 | {"upper", str_upper}, | ||
| 797 | {NULL, NULL} | 797 | {NULL, NULL} |
| 798 | }; | 798 | }; |
| 799 | 799 | ||
