summaryrefslogtreecommitdiff
path: root/src/argent.c
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-01-03 16:49:58 -0600
committersanine <sanine.not@pm.me>2022-01-03 16:49:58 -0600
commit7db6401dfb0604e92946ac4f7c76d541498e6ebb (patch)
tree588bb7dd69a6a2d31c1fb57a105d308e5b690615 /src/argent.c
parent5bc7d084ca129637e4782de5fc0c13be76ad27b8 (diff)
add scan_directory()
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 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");