diff options
author | wm4 <wm4@nowhere> | 2014-10-19 05:27:35 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-10-19 05:51:37 +0200 |
commit | 5548c75e5507da6a0f9fb6a45a07a5cc6edd9393 (patch) | |
tree | abd1a7442abf056900a518ffa6bfe3606f1329cc /misc/json.h | |
parent | 987146362e35820cd96d7de4f48b13ec4ee25d7c (diff) | |
download | mpv-5548c75e5507da6a0f9fb6a45a07a5cc6edd9393.tar.bz2 mpv-5548c75e5507da6a0f9fb6a45a07a5cc6edd9393.tar.xz |
lua: expose JSON parser
The JSON parser was introduced for the IPC protocol, but I guess it's
useful here too.
The motivation for this commit is the same as with 8e4fa5fc (again).
Diffstat (limited to 'misc/json.h')
-rw-r--r-- | misc/json.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/json.h b/misc/json.h index e8551fe2a7..f5ad4cf258 100644 --- a/misc/json.h +++ b/misc/json.h @@ -22,6 +22,7 @@ #include "libmpv/client.h" int json_parse(void *ta_parent, struct mpv_node *dst, char **src, int max_depth); +void json_skip_whitespace(char **src); int json_write(char **s, struct mpv_node *src); #endif |