From 16c30cbbeb77cf5607a3212b4e7039169b9b268e Mon Sep 17 00:00:00 2001 From: sanine Date: Sat, 4 Sep 2021 01:40:27 -0500 Subject: fix minor bugs in hs_process_table tests and implement hs_process_table --- src/tests/hs_process_table_tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tests') diff --git a/src/tests/hs_process_table_tests.c b/src/tests/hs_process_table_tests.c index c336b96..e8e8c4b 100644 --- a/src/tests/hs_process_table_tests.c +++ b/src/tests/hs_process_table_tests.c @@ -2,8 +2,8 @@ #define process() \ bool boolean = false; \ - int integer = 0; \ - float number = 0; \ + lua_Integer integer = 0; \ + lua_Number number = 0; \ const char *string = ""; \ hs_process_table(L, -1, \ hs_process_bool("boolean", hs_pt_set_boolean, &boolean), \ -- cgit v1.2.1