mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 23:02:37 +00:00
a9a55ea7f2
Sigh. Some parts of mpv essentially duplicate this code (with varrying levels of triviality) - this can be fixed "later".
12 lines
391 B
C
12 lines
391 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);
|
|
|
|
#endif
|