summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2020-12-15 20:23:47 -0600
committersanine-a <sanine.not@pm.me>2020-12-15 20:23:47 -0600
commitecfd781f73e0ef78b4d6f8bd82b17a0348ce735a (patch)
treea64e6f80d03560b4161952bfd54b60b344eba555 /src/common.h
parent6cfe3b1e982d0cceb59b846bfaf11ecb0533f83e (diff)
refactor textures and allow parameter setting
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h5
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.