From 0e84036b1b727356d433373b017204a8d575d2e4 Mon Sep 17 00:00:00 2001 From: sanine Date: Tue, 4 Jan 2022 12:17:02 -0600 Subject: add lua logging --- src/argent.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/argent.c') diff --git a/src/argent.c b/src/argent.c index 0d0dca2..97d6862 100644 --- a/src/argent.c +++ b/src/argent.c @@ -46,7 +46,8 @@ int main(int argc, char **argv) hs_str_cfunc("markdown", markdown), hs_str_cfunc("scanDirectory", scan_directory), hs_str_cfunc("createDirectory", create_directory), - hs_str_cfunc("copyFile", copy_file) + hs_str_cfunc("copyFile", copy_file), + hs_str_cfunc("log", argent_log_lua) ); lua_setglobal(L, "argent"); -- cgit v1.2.1