diff options
| author | amy <[email protected]> | 2025-04-14 14:09:22 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-14 14:09:22 -0500 |
| commit | dd7a8af4050454c3901987bff24a77334f892cc4 (patch) | |
| tree | 48c6107656e14cfbbcbb49424fc3454de850a5db /src/io.c | |
| parent | 44c68aa7d51ea6b50c442bfbfa4ce11c530d2f7d (diff) | |
| parent | dc7e4527e88ed0c59e17c0ff04c01e1c92136e42 (diff) | |
Merge pull request #1 from ameliasquires/new-config
updates how config values are updated, support for local values when copying states, and annotations
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); |
