diff options
| author | amelia squires <[email protected]> | 2025-04-14 14:03:08 -0500 |
|---|---|---|
| committer | amelia squires <[email protected]> | 2025-04-14 14:03:08 -0500 |
| commit | dc7e4527e88ed0c59e17c0ff04c01e1c92136e42 (patch) | |
| tree | 48c6107656e14cfbbcbb49424fc3454de850a5db /src/io.c | |
| parent | 9c3eea30aeb3c13b6df2288fbd086756a217a04b (diff) | |
config change, local support, overall fixes
Diffstat (limited to 'src/io.c')
| -rw-r--r-- | src/io.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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); |
