summaryrefslogtreecommitdiff
path: root/libs/honeysuckle/examples/argument_parsing
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-03-02 00:20:38 -0600
committersanine <sanine.not@pm.me>2023-03-02 00:20:38 -0600
commit5bb783912ac384156b8abbe6e83a5a61da73881d (patch)
treec160295a01871d8e27beadac5fd1d3b9b0308e07 /libs/honeysuckle/examples/argument_parsing
parentfb0b24647350df9514c5db6f2330921f97804731 (diff)
fully remove honeysuckle and stop building cglm
Diffstat (limited to 'libs/honeysuckle/examples/argument_parsing')
-rw-r--r--libs/honeysuckle/examples/argument_parsing/argument_parsing.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/libs/honeysuckle/examples/argument_parsing/argument_parsing.c b/libs/honeysuckle/examples/argument_parsing/argument_parsing.c
deleted file mode 100644
index 11a48f4..0000000
--- a/libs/honeysuckle/examples/argument_parsing/argument_parsing.c
+++ /dev/null
@@ -1,23 +0,0 @@
-#include <honeysuckle.h>
-
-int demo(lua_State *L)
-{
- lua_Integer i;
- lua_Number n;
- char *string;
- hs_parse_args(L, hs_int(i), hs_num(n), hs_str(string));
- printf("received %ld, %f, and %s\n", i, n, string);
- return 0;
-}
-
-int main()
-{
- lua_State *L = luaL_newstate();
- luaL_openlibs(L);
-
- lua_pushcfunction(L, demo);
- lua_setglobal(L, "demo");
-
- luaL_dostring(L, "demo(12, 34.4, 'hi there!')");
- return 0;
-}