Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
86ac0d4e
Commit
86ac0d4e
authored
Sep 12, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lua: cosmetics (use the exact pointer typer not just void*).
parent
f7345bf5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
modules/misc/lua/libs/dialog.c
modules/misc/lua/libs/dialog.c
+2
-2
modules/misc/lua/libs/input.c
modules/misc/lua/libs/input.c
+1
-1
No files found.
modules/misc/lua/libs/dialog.c
View file @
86ac0d4e
...
...
@@ -201,7 +201,7 @@ static int vlclua_dialog_create( lua_State *L )
lua_setfield
(
L
,
-
2
,
"__dialog"
);
lua_pop
(
L
,
1
);
extension_dialog_t
**
pp_dlg
=
lua_newuserdata
(
L
,
sizeof
(
void
*
)
);
extension_dialog_t
**
pp_dlg
=
lua_newuserdata
(
L
,
sizeof
(
extension_dialog_t
*
)
);
*
pp_dlg
=
p_dlg
;
if
(
luaL_newmetatable
(
L
,
"dialog"
)
)
...
...
@@ -577,7 +577,7 @@ end_of_args:
vlc_mutex_unlock
(
&
p_dlg
->
lock
);
/* Create meta table */
extension_widget_t
**
pp_widget
=
lua_newuserdata
(
L
,
sizeof
(
void
*
)
);
extension_widget_t
**
pp_widget
=
lua_newuserdata
(
L
,
sizeof
(
extension_widget_t
*
)
);
*
pp_widget
=
p_widget
;
if
(
luaL_newmetatable
(
L
,
"widget"
)
)
{
...
...
modules/misc/lua/libs/input.c
View file @
86ac0d4e
...
...
@@ -246,7 +246,7 @@ static int vlclua_input_item_delete( lua_State *L )
static
int
vlclua_input_item_get
(
lua_State
*
L
,
input_item_t
*
p_item
)
{
vlc_gc_incref
(
p_item
);
input_item_t
**
pp
=
lua_newuserdata
(
L
,
sizeof
(
void
*
)
);
input_item_t
**
pp
=
lua_newuserdata
(
L
,
sizeof
(
input_item_t
*
)
);
*
pp
=
p_item
;
if
(
luaL_newmetatable
(
L
,
"input_item"
)
)
...
...
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