From cec37e98d59af3bf91ffc4d44eedee809ab3acc7 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 17 May 2018 15:29:03 +0200 Subject: misc: move some helper code from client.c (Slightly oddly function names, because I want to avoid starting them with mpv_*, which is reserved for public API.) --- misc/node.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'misc/node.h') diff --git a/misc/node.h b/misc/node.h index 5d8100da41..419f3fc505 100644 --- a/misc/node.h +++ b/misc/node.h @@ -11,5 +11,7 @@ void node_map_add_int64(struct mpv_node *dst, const char *key, int64_t v); void node_map_add_double(struct mpv_node *dst, const char *key, double v); void node_map_add_flag(struct mpv_node *dst, const char *key, bool v); mpv_node *node_map_get(mpv_node *src, const char *key); +bool equal_mpv_value(const void *a, const void *b, mpv_format format); +bool equal_mpv_node(const struct mpv_node *a, const struct mpv_node *b); #endif -- cgit v1.2.3