https://github.com/swaywm/sway.git
Revision c08c805ecd8f2000a35cdeae7b16244d0b3c0528 authored by Björn Esser on 14 December 2017, 00:30:54 UTC, committed by Drew DeVault on 17 December 2017, 20:53:22 UTC
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.
1 parent d0bd0ed
Raw File
Tip revision: c08c805ecd8f2000a35cdeae7b16244d0b3c0528 authored by Björn Esser on 14 December 2017, 00:30:54 UTC
Adaptions for API change in json-c v0.13
Tip revision: c08c805
.clang-format
BasedOnStyle: LLVM
IndentWidth: 4
TabWidth: 4
UseTab: Always
BreakBeforeBraces: Attach
AllowShortIfStatementsOnASingleLine: false
IndentCaseLabels: false
SortIncludes: false
ColumnLimit: 80
AlignAfterOpenBracket: DontAlign
BinPackParameters: false
BinPackArguments: false
ContinuationIndentWidth: 8
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortLoopsOnASingleLine: true
ReflowComments: false
back to top