aboutsummaryrefslogtreecommitdiff
path: root/src/io.c
diff options
context:
space:
mode:
authoramelia squires <[email protected]>2025-04-14 14:03:08 -0500
committeramelia squires <[email protected]>2025-04-14 14:03:08 -0500
commit98d81e701a3e6c75b932ac75c872ae0e3f4d84f4 (patch)
tree48c6107656e14cfbbcbb49424fc3454de850a5db /src/io.c
parent1e5025a1631bac15e69d3ef0feff78fc1f705354 (diff)
config change, local support, overall fixesnew-config
Diffstat (limited to 'src/io.c')
-rw-r--r--src/io.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/io.c b/src/io.c
index 97c7e33..6cc9e50 100644
--- a/src/io.c
+++ b/src/io.c
@@ -4,10 +4,18 @@
#include "io.h"
#include "stdlib.h"
#include "stdio.h"
-#include "config.h"
#include "stdint.h"
#include "table.h"
+int _print_type = 0;
+int _max_depth = 2;
+int _start_nl_at = 3;
+int _collapse_all = 0;
+int _collapse_to_memory = 1;
+int _print_meta = 0;
+
+int _file_malloc_chunk = 512;
+
int l_readfile(lua_State* L){
size_t len;
char* a = (char*)luaL_checklstring(L, 1, &len);