diff options
author | Reuben Thomas <rrt@sc3d.org> | 2010-07-30 19:53:56 +0100 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2010-07-30 19:53:56 +0100 |
commit | 6139778cc0579f2f64dc0a1e67dc6868a5040364 (patch) | |
tree | 8410714f565e3421aed47e2fbcef76c1e81d76c4 | |
parent | f1a6c351486840b4b4a886be51d1b4eb03888f71 (diff) | |
download | lrexlib-6139778cc0579f2f64dc0a1e67dc6868a5040364.tar.gz |
Update Lua function prototypes in comments.
-rwxr-xr-x | src/algo.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -127,7 +127,7 @@ static void checkarg_new (lua_State *L, TArgComp *argC) { } -/* function gsub (s, patt, f, [n], [cf], [ef], [lo]) */ +/* function gsub (s, patt, f, [n], [cf], [ef], [larg...]) */ static void checkarg_gsub (lua_State *L, TArgComp *argC, TArgExec *argE) { argE->text = luaL_checklstring (L, 1, &argE->textlen); check_pattern (L, 2, argC); @@ -148,8 +148,8 @@ static void checkarg_gsub (lua_State *L, TArgComp *argC, TArgExec *argE) { } -/* function find (s, patt, [st], [cf], [ef], [lo]) */ -/* function match (s, patt, [st], [cf], [ef], [lo]) */ +/* function find (s, patt, [st], [cf], [ef], [larg...]) */ +/* function match (s, patt, [st], [cf], [ef], [larg...]) */ static void checkarg_find_func (lua_State *L, TArgComp *argC, TArgExec *argE) { argE->text = luaL_checklstring (L, 1, &argE->textlen); check_pattern (L, 2, argC); @@ -162,8 +162,8 @@ static void checkarg_find_func (lua_State *L, TArgComp *argC, TArgExec *argE) { } -/* function gmatch (s, patt, [cf], [ef], [lo]) */ -/* function split (s, patt, [cf], [ef], [lo]) */ +/* function gmatch (s, patt, [cf], [ef], [larg...]) */ +/* function split (s, patt, [cf], [ef], [larg...]) */ static void checkarg_gmatch_split (lua_State *L, TArgComp *argC, TArgExec *argE) { argE->text = luaL_checklstring (L, 1, &argE->textlen); check_pattern (L, 2, argC); |