/**
* Current plugin ABI version
*/
-# define MODULE_SYMBOL __0_9_0e
-# define MODULE_SUFFIX "__0_9_0e"
+# define MODULE_SYMBOL 0_9_0f
+# define MODULE_SUFFIX "__0_9_0f"
/*****************************************************************************
* Add a few defines. You do not want to read this section. Really.
#if defined( __PLUGIN__ ) && ( defined( WIN32 ) || defined( UNDER_CE ) )
# define DLL_SYMBOL __declspec(dllexport)
# define CDECL_SYMBOL __cdecl
-#elif HAVE_ATTRIBUTE_VISIBILITY
+#elif defined (HAVE_ATTRIBUTE_VISIBILITY)
# define DLL_SYMBOL __attribute__((visibility("default")))
# define CDECL_SYMBOL
#else
EXTERN_SYMBOL DLL_SYMBOL int CDECL_SYMBOL \
__VLC_SYMBOL(vlc_entry) ( module_t *p_module ) \
{ \
- int i_shortcut = 1, res; \
- size_t i_config = (size_t)(-1); \
module_config_t *p_config = NULL; \
if (vlc_module_set (p_module, VLC_MODULE_NAME, \
(void *)(MODULE_STRING))) \
#define vlc_module_end( ) \
} \
- res = config_Duplicate( p_module, p_config, ++i_config ); \
- for( size_t i = 0; i < i_config; i++ ) \
- { \
- if( p_config[ i ].i_action ) \
- { \
- free( p_config[ i ].ppf_action ); \
- free( p_config[ i ].ppsz_action_text ); \
- } \
- } \
- free( p_config ); \
- if (res) \
- return res; \
- (void)i_shortcut; \
+ (void)p_config; \
return VLC_SUCCESS; \
\
error: \
- free( p_config ); \
+ /* FIXME: config_Free( p_module ); */ \
/* FIXME: cleanup submodules objects ??? */ \
return VLC_EGENERIC; \
} \