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−
31 #include "node.h"
42
3+#include <libmpv/client.h>
4+
5+#include "common/common.h"
6+#include "bstr.h"
7+
58 // Init a node with the given format. If parent is not NULL, it is set as
69 // parent allocation according to m_option_type_node rules (which means
710 // 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
117120
118121 // Note: for MPV_FORMAT_NODE_MAP, this (incorrectly) takes the order into
119122 // account, instead of treating it as set.
120−bool equal_mpv_value(const void *a, const void *b, mpv_format format)
123+bool equal_mpv_value(const void *a, const void *b, int format)
121124 {
122125 switch (format) {
123126 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