summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2021-09-04 01:40:27 -0500
committersanine <sanine.not@pm.me>2021-09-04 01:40:27 -0500
commit16c30cbbeb77cf5607a3212b4e7039169b9b268e (patch)
treef719ec8abba9ee936777c353bb13efe0563a083e /src/tests
parentc5befe281c1ce96471d391bff9708e0cd8eadb4b (diff)
fix minor bugs in hs_process_table tests and implement hs_process_table
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/hs_process_table_tests.c4
1 files changed, 2 insertions, 2 deletions
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), \