Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
d6bfdcd0
Commit
d6bfdcd0
authored
Apr 14, 2010
by
Francois Cartegnie
Committed by
Rémi Denis-Courmont
Apr 14, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typedef va_arg function pointers to avoid compiler parse errors
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
435bc668
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/modules/entry.c
src/modules/entry.c
+4
-2
No files found.
src/modules/entry.c
View file @
d6bfdcd0
...
...
@@ -152,6 +152,8 @@ int vlc_plugin_set (module_t *module, module_config_t *item, int propid, ...)
{
va_list
ap
;
int
ret
=
0
;
typedef
int
(
*
int_fp_vlcobjectt
)(
vlc_object_t
*
)
;
typedef
void
(
*
void_fp_vlcobjectt
)(
vlc_object_t
*
);
va_start
(
ap
,
propid
);
switch
(
propid
)
...
...
@@ -195,11 +197,11 @@ int vlc_plugin_set (module_t *module, module_config_t *item, int propid, ...)
break
;
case
VLC_MODULE_CB_OPEN
:
module
->
pf_activate
=
va_arg
(
ap
,
int
(
*
)
(
vlc_object_t
*
)
);
module
->
pf_activate
=
va_arg
(
ap
,
int
_fp_vlcobjectt
);
break
;
case
VLC_MODULE_CB_CLOSE
:
module
->
pf_deactivate
=
va_arg
(
ap
,
void
(
*
)
(
vlc_object_t
*
)
);
module
->
pf_deactivate
=
va_arg
(
ap
,
void
_fp_vlcobjectt
);
break
;
case
VLC_MODULE_NO_UNLOAD
:
...
...
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