[vlc-devel] [PATCH] lua/doc: add documentation for reader:node_empty (vlc.xml)

Filip Roséen filip at atch.se
Wed Jul 27 16:34:06 CEST 2016

 share/lua/README.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/share/lua/README.txt b/share/lua/README.txt
index ebe44a3..d3e8c66 100644
--- a/share/lua/README.txt
+++ b/share/lua/README.txt
@@ -451,5 +451,8 @@ reader:read(): read some data, return -1 on error, 0 on EOF, 1 on start of XML
 reader:name(): name of the element
 reader:value(): value of the element
 reader:next_attr(): next attribute of the element
+reader:node_empty(): queries whether the previous invocation of reader:read()
+  refers to an empty node ("<tag/>"). Returns a value less than 0 on error,
+  1 if the node is empty, and 0 if it is not.
 The simplexml module can also be used to parse XML documents easily.

More information about the vlc-devel mailing list