diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2021-10-25 13:28:32 +0900 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2021-10-25 13:28:32 +0900 |
| commit | be47b4e411af0ff2b10892321e179feba97ce5a3 (patch) | |
| tree | 55965bc247a85cac9c240a1e5715a7a9f6c38ddb /include | |
| parent | 75bb0236f520b9b1f714baec5676f8cb0f7f24ab (diff) | |
refactor: use JSON_MAX_DEPTH everywhere
Diffstat (limited to 'include')
| -rw-r--r-- | include/ipc-client.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ipc-client.h b/include/ipc-client.h index d3895023..9c5712d7 100644 --- a/include/ipc-client.h +++ b/include/ipc-client.h @@ -1,6 +1,9 @@ #ifndef _SWAY_IPC_CLIENT_H #define _SWAY_IPC_CLIENT_H +// arbitrary number, it's probably sufficient, higher number = more memory usage +#define JSON_MAX_DEPTH 512 + #include <stdbool.h> #include <stdint.h> #include <sys/time.h> |
