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 | refactor: use sway_abort instead (diff) | |
download | sway-9303bed4d4523d158b33c44f534a53b21d7688d6.tar.gz sway-9303bed4d4523d158b33c44f534a53b21d7688d6.tar.zst sway-9303bed4d4523d158b33c44f534a53b21d7688d6.zip |
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 @@ | |||
1 | #ifndef _SWAY_IPC_CLIENT_H | 1 | #ifndef _SWAY_IPC_CLIENT_H |
2 | #define _SWAY_IPC_CLIENT_H | 2 | #define _SWAY_IPC_CLIENT_H |
3 | 3 | ||
4 | // arbitrary number, it's probably sufficient, higher number = more memory usage | ||
5 | #define JSON_MAX_DEPTH 512 | ||
6 | |||
4 | #include <stdbool.h> | 7 | #include <stdbool.h> |
5 | #include <stdint.h> | 8 | #include <stdint.h> |
6 | #include <sys/time.h> | 9 | #include <sys/time.h> |