summaryrefslogtreecommitdiff
path: root/src/argent.c
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-01-04 12:17:02 -0600
committersanine <sanine.not@pm.me>2022-01-04 12:17:02 -0600
commit0e84036b1b727356d433373b017204a8d575d2e4 (patch)
tree580ba1cf6f3f1a0f984a1f21511ea7d36814394a /src/argent.c
parentcb4f641884ae6104f44967949f9b52a9a72f7baf (diff)
add lua logging
Diffstat (limited to 'src/argent.c')
-rw-r--r--src/argent.c3
1 files changed, 2 insertions, 1 deletions
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");