Commit cefb8d38 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Correct module descriptor indentation (no functional changes)

parent f524e307
...@@ -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( ) \ #define vlc_module_end() \
} \ (void) p_config; \
(void)p_config; \
return VLC_SUCCESS; \ return VLC_SUCCESS; \
\ error: \
error: \
return VLC_EGENERIC; \ return VLC_EGENERIC; \
} \ } \
VLC_METADATA_EXPORTS 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)) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment