mirror of
https://github.com/swaywm/sway.git
synced 2026-03-30 11:10:59 -04:00
Adaptions for API change in json-c v0.13
Lift restriction on json-c <= 0.12.1 ipc-server: Acquire ownership of referenced json_object properly When adding a referenced json_object with an unknown lifetime to another json_object, it must be done with a wrapped call to json_object_get() to acquire the ownership of that json_object.
This commit is contained in:
parent
d0bd0ed598
commit
c08c805ecd
17 changed files with 41 additions and 26 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#include <json-c/json.h>
|
||||
#include "sway_json_helper.h"
|
||||
#include "wlc/wlc.h"
|
||||
|
||||
void init_json_tree(int socketfd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue