libmpv  20200718-git-96cdf53
development library for the MPV media player
Looking for a C++ dev?
I'm looking for work. Hire me!
mpv_node_list Struct Reference

(see mpv_node) More...

#include <client.h>

Collaboration diagram for mpv_node_list:

Public Attributes

int num
 Number of entries. More...
 
mpv_nodevalues
 MPV_FORMAT_NODE_ARRAY: values[N] refers to value of the Nth item. More...
 
char ** keys
 MPV_FORMAT_NODE_ARRAY: unused (typically NULL), access is not allowed. More...
 

Detailed Description

(see mpv_node)

Definition at line 840 of file client.h.

Member Data Documentation

◆ keys

char** mpv_node_list::keys

MPV_FORMAT_NODE_ARRAY: unused (typically NULL), access is not allowed.

MPV_FORMAT_NODE_MAP: keys[N] refers to key of the Nth key/value pair. If num > 0, keys[0] to keys[num-1] (inclusive) are valid. Otherwise, this can be NULL. The keys are in random order. The only guarantee is that keys[N] belongs to the value values[N]. NULL keys are not allowed.

Definition at line 866 of file client.h.

◆ num

int mpv_node_list::num

Number of entries.

Negative values are not allowed.

Definition at line 844 of file client.h.

◆ values

mpv_node* mpv_node_list::values

MPV_FORMAT_NODE_ARRAY: values[N] refers to value of the Nth item.

MPV_FORMAT_NODE_MAP: values[N] refers to value of the Nth key/value pair

If num > 0, values[0] to values[num-1] (inclusive) are valid. Otherwise, this can be NULL.

Definition at line 855 of file client.h.


The documentation for this struct was generated from the following file: