summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-01-12 13:02:35 +0100
committerMax Kellermann <max@musicpd.org>2018-01-12 14:33:22 +0100
commit86c50574d2056563d8e506cb0ccdfafa628070f1 (patch)
tree37ac564dca81d5a69621b36e2f22b871be6f327a /src/lib
parentefb528f97986a21571c44cd0f9cde4fdfc1d185c (diff)
lib/yajl/Callbacks: add wrappers for start_array and end_array
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/yajl/Callbacks.hxx8
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