mirror of
https://github.com/mpv-player/mpv
synced 2025-01-09 00:19:32 +00:00
1157f07c5b
This particular one is needed in a following commit.
16 lines
668 B
C
16 lines
668 B
C
#ifndef MP_MISC_NODE_H_
|
|
#define MP_MISC_NODE_H_
|
|
|
|
#include "libmpv/client.h"
|
|
|
|
void node_init(struct mpv_node *dst, int format, struct mpv_node *parent);
|
|
struct mpv_node *node_array_add(struct mpv_node *dst, int format);
|
|
struct mpv_node *node_map_add(struct mpv_node *dst, const char *key, int format);
|
|
void node_map_add_string(struct mpv_node *dst, const char *key, const char *val);
|
|
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);
|
|
|
|
#endif
|