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
c38f2e5f
Commit
c38f2e5f
authored
Jun 08, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation
parent
20141e2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/misc/lua/libs/variables.c
modules/misc/lua/libs/variables.c
+4
-4
No files found.
modules/misc/lua/libs/variables.c
View file @
c38f2e5f
...
...
@@ -81,16 +81,16 @@ int vlclua_pushvalue( lua_State *L, int i_type, vlc_value_t val )
return
1
;
}
static
int
vlclua_pushlist
(
lua_State
*
L
,
vlc_list_t
*
list
)
static
int
vlclua_pushlist
(
lua_State
*
L
,
vlc_list_t
*
p_
list
)
{
int
i_count
=
val
.
p_list
->
i_count
;
int
i_count
=
p_list
->
i_count
;
lua_createtable
(
L
,
i_count
,
0
);
for
(
int
i
=
0
;
i
<
i_count
;
i
++
)
{
lua_pushinteger
(
L
,
i
+
1
);
if
(
!
vlclua_pushvalue
(
L
,
val
.
p_list
->
pi_types
[
i
],
val
.
p_list
->
p_values
[
i
]
)
)
if
(
!
vlclua_pushvalue
(
L
,
p_list
->
pi_types
[
i
],
p_list
->
p_values
[
i
]
)
)
lua_pushnil
(
L
);
lua_settable
(
L
,
-
3
);
}
...
...
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