History

various: reduce the include scope of some public headers

Kacper Michajłow committed 1 year ago

Commit 77313f71 parent b848ffa16 files · +30 −24Browse files

Showing the changes to misc/node.c (1 of 16 files). Show all

Unified · Split

misc/node.c+6−3
@@ -1,7 +1,10 @@
1#include "common/common.h"
2
3#include "node.h"1#include "node.h"
4 2
3#include <libmpv/client.h>
4
5#include "common/common.h"
6#include "bstr.h"
7
5// Init a node with the given format. If parent is not NULL, it is set as8// Init a node with the given format. If parent is not NULL, it is set as
6// parent allocation according to m_option_type_node rules (which means9// parent allocation according to m_option_type_node rules (which means
7// the mpv_node_list allocs are used for chaining the TA allocations).10// the mpv_node_list allocs are used for chaining the TA allocations).
@@ -117,7 +120,7 @@ mpv_node *node_map_bget(mpv_node *src, struct bstr key) · 109 unmodified lines
117 120
118// Note: for MPV_FORMAT_NODE_MAP, this (incorrectly) takes the order into121// Note: for MPV_FORMAT_NODE_MAP, this (incorrectly) takes the order into
119// account, instead of treating it as set.122// account, instead of treating it as set.
120bool equal_mpv_value(const void *a, const void *b, mpv_format format)123bool equal_mpv_value(const void *a, const void *b, int format)
121{124{
122 switch (format) {125 switch (format) {
123 case MPV_FORMAT_NONE:126 case MPV_FORMAT_NONE:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t