diff options
author | Max Kellermann <max@musicpd.org> | 2018-01-12 13:02:35 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-01-12 14:33:22 +0100 |
commit | 86c50574d2056563d8e506cb0ccdfafa628070f1 (patch) | |
tree | 37ac564dca81d5a69621b36e2f22b871be6f327a /src/lib | |
parent | efb528f97986a21571c44cd0f9cde4fdfc1d185c (diff) |
lib/yajl/Callbacks: add wrappers for start_array and end_array
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/yajl/Callbacks.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/yajl/Callbacks.hxx b/src/lib/yajl/Callbacks.hxx index 4bc60426d..643c3a0cd 100644 --- a/src/lib/yajl/Callbacks.hxx +++ b/src/lib/yajl/Callbacks.hxx @@ -70,6 +70,14 @@ struct CallbacksWrapper { static int EndMap(void *ctx) noexcept { return Cast(ctx).EndMap(); } + + static int StartArray(void *ctx) noexcept { + return Cast(ctx).StartArray(); + } + + static int EndArray(void *ctx) noexcept { + return Cast(ctx).EndArray(); + } }; } // namespace Yajl |