diff options
author | sanine <sanine.not@pm.me> | 2022-01-04 12:17:02 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-01-04 12:17:02 -0600 |
commit | 0e84036b1b727356d433373b017204a8d575d2e4 (patch) | |
tree | 580ba1cf6f3f1a0f984a1f21511ea7d36814394a /src/argent.c | |
parent | cb4f641884ae6104f44967949f9b52a9a72f7baf (diff) |
add lua logging
Diffstat (limited to 'src/argent.c')
-rw-r--r-- | src/argent.c | 3 |
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"); |