summaryrefslogtreecommitdiff
path: root/src/honeysuckle.c
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2021-08-08 13:29:02 -0500
committersanine-a <sanine.not@pm.me>2021-08-08 13:29:02 -0500
commit48c4b0a6e46a364b4a5d687141e0aec896333f3d (patch)
tree2dab26e635e5803a14c8f585986b8ab0d9f3825a /src/honeysuckle.c
parentbc53998c018b23f3fd59efa00dd7631bed762ee7 (diff)
write initial tests for hs_throw_error()
Diffstat (limited to 'src/honeysuckle.c')
-rw-r--r--src/honeysuckle.c7
1 files changed, 7 insertions, 0 deletions
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);