summaryrefslogtreecommitdiff
path: root/src/honeysuckle/hs_throw_error.c
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2023-04-07 13:59:47 -0500
committersanine-a <sanine.not@pm.me>2023-04-07 13:59:47 -0500
commitd377b707b67b477ee5b22b08c714be34f3e82aa3 (patch)
treec898711c17f3834b255731ffc1250de71fe4c8c2 /src/honeysuckle/hs_throw_error.c
parent6e31ca0c2e31e33f824aef1b4d68a91b64721fa7 (diff)
switch to cargs and remove honeysuckle
Diffstat (limited to 'src/honeysuckle/hs_throw_error.c')
-rw-r--r--src/honeysuckle/hs_throw_error.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/honeysuckle/hs_throw_error.c b/src/honeysuckle/hs_throw_error.c
deleted file mode 100644
index 20a4c6d..0000000
--- a/src/honeysuckle/hs_throw_error.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <stdlib.h>
-
-#include "honeysuckle.h"
-
-void hs_throw_error(lua_State *L, const char *format_string, ...)
-{
- va_list args;
- va_start(args, format_string);
- hs_vpushstring(L, format_string, args);
- va_end(args);
- lua_error(L);
-}