diff options
author | Jason Nader <jason.nader@protonmail.com> | 2021-10-25 13:28:32 +0900 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-10-25 10:18:40 +0200 |
commit | 9303bed4d4523d158b33c44f534a53b21d7688d6 (patch) | |
tree | 55965bc247a85cac9c240a1e5715a7a9f6c38ddb /include | |
parent | b223f702500d7cda6336e948062d680f07f34f66 (diff) | |
download | sway-9303bed4d4523d158b33c44f534a53b21d7688d6.tar.xz |
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> |