From 7db6401dfb0604e92946ac4f7c76d541498e6ebb Mon Sep 17 00:00:00 2001 From: sanine Date: Mon, 3 Jan 2022 16:49:58 -0600 Subject: add scan_directory() --- 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 b83f851..c4738d4 100644 --- a/src/argent.c +++ b/src/argent.c @@ -33,7 +33,8 @@ int main(int argc, char **argv) argent_log(DEBUG, "create argent table"); hs_create_table (L, - hs_str_cfunc("markdown", markdown) + hs_str_cfunc("markdown", markdown), + hs_str_cfunc("scanDirectory", scan_directory) ); lua_setglobal(L, "argent"); -- cgit v1.2.1