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
d89f287b
Commit
d89f287b
authored
Aug 15, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vlc_module_(start|stop): constify
parent
2458671a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
include/vlc_modules.h
include/vlc_modules.h
+2
-2
src/modules/modules.c
src/modules/modules.c
+2
-2
No files found.
include/vlc_modules.h
View file @
d89f287b
...
@@ -45,9 +45,9 @@ VLC_API void module_unneed( vlc_object_t *, module_t * );
...
@@ -45,9 +45,9 @@ VLC_API void module_unneed( vlc_object_t *, module_t * );
VLC_API
bool
module_exists
(
const
char
*
)
VLC_USED
;
VLC_API
bool
module_exists
(
const
char
*
)
VLC_USED
;
VLC_API
module_t
*
module_find
(
const
char
*
)
VLC_USED
;
VLC_API
module_t
*
module_find
(
const
char
*
)
VLC_USED
;
int
module_start
(
vlc_object_t
*
,
module_t
*
);
int
module_start
(
vlc_object_t
*
,
const
module_t
*
);
#define module_start(o, m) module_start(VLC_OBJECT(o),m)
#define module_start(o, m) module_start(VLC_OBJECT(o),m)
void
module_stop
(
vlc_object_t
*
,
module_t
*
);
void
module_stop
(
vlc_object_t
*
,
const
module_t
*
);
#define module_stop(o, m) module_stop(VLC_OBJECT(o),m)
#define module_stop(o, m) module_stop(VLC_OBJECT(o),m)
VLC_API
module_config_t
*
module_config_get
(
const
module_t
*
,
unsigned
*
)
VLC_USED
;
VLC_API
module_config_t
*
module_config_get
(
const
module_t
*
,
unsigned
*
)
VLC_USED
;
...
...
src/modules/modules.c
View file @
d89f287b
...
@@ -292,7 +292,7 @@ void module_release (module_t *m)
...
@@ -292,7 +292,7 @@ void module_release (module_t *m)
}
}
#undef module_start
#undef module_start
int
module_start
(
vlc_object_t
*
obj
,
module_t
*
m
)
int
module_start
(
vlc_object_t
*
obj
,
const
module_t
*
m
)
{
{
int
(
*
activate
)
(
vlc_object_t
*
)
=
m
->
pf_activate
;
int
(
*
activate
)
(
vlc_object_t
*
)
=
m
->
pf_activate
;
...
@@ -300,7 +300,7 @@ int module_start (vlc_object_t *obj, module_t *m)
...
@@ -300,7 +300,7 @@ int module_start (vlc_object_t *obj, module_t *m)
}
}
#undef module_stop
#undef module_stop
void
module_stop
(
vlc_object_t
*
obj
,
module_t
*
m
)
void
module_stop
(
vlc_object_t
*
obj
,
const
module_t
*
m
)
{
{
void
(
*
deactivate
)
(
vlc_object_t
*
)
=
m
->
pf_deactivate
;
void
(
*
deactivate
)
(
vlc_object_t
*
)
=
m
->
pf_deactivate
;
...
...
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