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
cefb8d38
Commit
cefb8d38
authored
Aug 16, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct module descriptor indentation (no functional changes)
parent
f524e307
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
23 deletions
+19
-23
include/vlc_plugin.h
include/vlc_plugin.h
+19
-23
No files found.
include/vlc_plugin.h
View file @
cefb8d38
...
@@ -164,29 +164,25 @@ enum vlc_module_properties
...
@@ -164,29 +164,25 @@ enum vlc_module_properties
* instance the module name, its shortcuts, its capabilities... we also create
* instance the module name, its shortcuts, its capabilities... we also create
* a copy of its config because the module can be unloaded at any time.
* a copy of its config because the module can be unloaded at any time.
*/
*/
#define vlc_module_begin( ) \
#define vlc_module_begin() \
EXTERN_SYMBOL DLL_SYMBOL int CDECL_SYMBOL \
EXTERN_SYMBOL DLL_SYMBOL \
__VLC_SYMBOL(vlc_entry) ( module_t *p_module ); \
int CDECL_SYMBOL __VLC_SYMBOL(vlc_entry) (module_t *); \
\
EXTERN_SYMBOL DLL_SYMBOL \
EXTERN_SYMBOL DLL_SYMBOL int CDECL_SYMBOL \
int CDECL_SYMBOL __VLC_SYMBOL(vlc_entry) (module_t *p_module) \
__VLC_SYMBOL(vlc_entry) ( module_t *p_module ) \
{ \
{ \
module_t *p_submodule; \
module_config_t *p_config = NULL; \
module_config_t *p_config = NULL; \
if (vlc_module_set (p_module, VLC_MODULE_NAME, \
if (vlc_module_set (p_module, VLC_MODULE_NAME, (MODULE_STRING))) \
(const char *)(MODULE_STRING))) \
goto error; \
goto error; \
p_submodule = p_module;
{ \
module_t *p_submodule = p_module;
#define vlc_module_end() \
(void) p_config; \
#define vlc_module_end( ) \
return VLC_SUCCESS; \
} \
error: \
(void)p_config; \
return VLC_EGENERIC; \
return VLC_SUCCESS; \
} \
\
VLC_METADATA_EXPORTS
error: \
return VLC_EGENERIC; \
} \
VLC_METADATA_EXPORTS
#define add_submodule( ) \
#define add_submodule( ) \
if (vlc_plugin_set (p_module, NULL, VLC_SUBMODULE_CREATE, &p_submodule)) \
if (vlc_plugin_set (p_module, NULL, VLC_SUBMODULE_CREATE, &p_submodule)) \
...
...
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