diff options
author | sanine-a <sanine.not@pm.me> | 2020-12-15 20:23:47 -0600 |
---|---|---|
committer | sanine-a <sanine.not@pm.me> | 2020-12-15 20:23:47 -0600 |
commit | ecfd781f73e0ef78b4d6f8bd82b17a0348ce735a (patch) | |
tree | a64e6f80d03560b4161952bfd54b60b344eba555 /src/common.h | |
parent | 6cfe3b1e982d0cceb59b846bfaf11ecb0533f83e (diff) |
refactor textures and allow parameter setting
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common.h b/src/common.h index 03d6944..13d3a14 100644 --- a/src/common.h +++ b/src/common.h @@ -161,9 +161,10 @@ int honey_lua_parse_arguments(lua_State* L, unsigned int n, ...); * the table will trigger an error. * * The variadic portion of this function expects arguments as - * param_name_1, function1, (void*) data1, param_name_2, function_2, (void*) data_2, ... + * type_1, param_name_1, function1, (void*) data1, type_2, param_name_2, function_2, (void*) data_2, ... * - * Each function should be of the form void (*)(lua_State*, void*) + * Each function should be of the form void (*)(lua_State*, void*), and should + * not return with a modified stack. * * @param[in] L The lua state to parse the table from. * @param[in] n The number of params to parse. |