Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
06fb88fa
Commit
06fb88fa
authored
Jan 22, 2011
by
Jean-Philippe André
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lua: also return node name in XML's next_node() method
parent
1e505da4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/misc/lua/libs/xml.c
modules/misc/lua/libs/xml.c
+4
-2
No files found.
modules/misc/lua/libs/xml.c
View file @
06fb88fa
...
...
@@ -129,8 +129,10 @@ static int vlclua_xml_create_reader( lua_State *L )
static
int
vlclua_xml_reader_next_node
(
lua_State
*
L
)
{
xml_reader_t
*
p_reader
=
*
(
xml_reader_t
**
)
luaL_checkudata
(
L
,
1
,
"xml_reader"
);
lua_pushinteger
(
L
,
xml_ReaderNextNode
(
p_reader
,
NULL
)
);
return
1
;
const
char
*
psz_name
;
lua_pushinteger
(
L
,
xml_ReaderNextNode
(
p_reader
,
&
psz_name
)
);
lua_pushstring
(
L
,
psz_name
);
return
2
;
}
static
int
vlclua_xml_reader_value
(
lua_State
*
L
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment