From 5830f684ba172664df43eee26636e99e5a228028 Mon Sep 17 00:00:00 2001 From: sanine Date: Mon, 3 Jan 2022 20:59:16 -0600 Subject: add create_directory() and copy_file() --- src/argent.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/argent.c') diff --git a/src/argent.c b/src/argent.c index c4738d4..ae3a717 100644 --- a/src/argent.c +++ b/src/argent.c @@ -34,7 +34,9 @@ int main(int argc, char **argv) hs_create_table (L, hs_str_cfunc("markdown", markdown), - hs_str_cfunc("scanDirectory", scan_directory) + hs_str_cfunc("scanDirectory", scan_directory), + hs_str_cfunc("createDirectory", create_directory), + hs_str_cfunc("copyFile", copy_file) ); lua_setglobal(L, "argent"); -- cgit v1.2.1