From fc93661728c2f6d63f448c45cf7c872ac592dd3c Mon Sep 17 00:00:00 2001 From: sanine-a Date: Sun, 4 Jul 2021 13:01:01 -0500 Subject: add tests for all sample table combinations for hs_process_table --- src/honeysuckle.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/honeysuckle.c') diff --git a/src/honeysuckle.c b/src/honeysuckle.c index 11f3f53..97c60c4 100644 --- a/src/honeysuckle.c +++ b/src/honeysuckle.c @@ -41,6 +41,11 @@ void hs_process_table(lua_State *L, int table_index, void *data, ...) data = data; } +void hs_pt_set_boolean(bool value, void *data) { value=value; data=data; } +void hs_pt_set_integer(lua_Integer value, void *data) { value=value; data=data; } +void hs_pt_set_number(lua_Number value, void *data) { value=value; data=data; } +void hs_pt_set_string(const char *value, void *data) { value=value; data=data; } + void hs_pushstring(lua_State *L, const char *format_string, ...) { -- cgit v1.2.1