From 48c4b0a6e46a364b4a5d687141e0aec896333f3d Mon Sep 17 00:00:00 2001 From: sanine-a Date: Sun, 8 Aug 2021 13:29:02 -0500 Subject: write initial tests for hs_throw_error() --- src/honeysuckle.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/honeysuckle.c') diff --git a/src/honeysuckle.c b/src/honeysuckle.c index 97c60c4..339b278 100644 --- a/src/honeysuckle.c +++ b/src/honeysuckle.c @@ -47,6 +47,13 @@ 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_throw_error(lua_State *L, const char *format_string, ...) +{ + L = L; + format_string = format_string; +} + + void hs_pushstring(lua_State *L, const char *format_string, ...) { lua_pushnumber(L, 0.4); -- cgit v1.2.1