[vlc-devel] [PATCH v6 1/3] vlc_input_item: export RemoveNode()

Romain Vimont rom1v at videolabs.io
Thu Nov 22 18:58:37 CET 2018


The function input_item_node_RemoveNode(), declared in vlc_input_item.h,
was not exported (contrary to input_item_node_AppendNode()).
---
 include/vlc_input_item.h | 4 ++--
 src/libvlccore.sym       | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/include/vlc_input_item.h b/include/vlc_input_item.h
index 94760663d4..90d6c83933 100644
--- a/include/vlc_input_item.h
+++ b/include/vlc_input_item.h
@@ -218,8 +218,8 @@ VLC_API void input_item_node_AppendNode( input_item_node_t *p_parent, input_item
 /**
  * Remove a node from its parent.
  */
-void input_item_node_RemoveNode( input_item_node_t *parent,
-                                 input_item_node_t *child );
+VLC_API void input_item_node_RemoveNode( input_item_node_t *parent,
+                                         input_item_node_t *child );
 
 /**
  * Delete a node created with input_item_node_Create() and all its children.
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index c72ce7208d..0b00e960cc 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -188,6 +188,7 @@ input_item_Hold
 input_item_Release
 input_item_node_AppendItem
 input_item_node_AppendNode
+input_item_node_RemoveNode
 input_item_node_Create
 input_item_node_Delete
 input_item_ReplaceInfos
-- 
2.19.1



More information about the vlc-devel mailing list