VLC_EXPORT( int, config_Duplicate,( module_t *, const module_config_t *, size_t ));
-VLC_EXPORT(const char *, config_GetDataDir, ( const vlc_object_t * ));
+#define config_GetDataDir( a ) __config_GetDataDir( VLC_OBJECT( a ) )
+VLC_EXPORT(const char *, __config_GetDataDir, ( const vlc_object_t * ));
#define config_GetType(a,b) __config_GetType(VLC_OBJECT(a),b)
#define config_GetInt(a,b) __config_GetInt(VLC_OBJECT(a),b)
*
* @return a string (always succeeds).
*/
-const char *config_GetDataDir( const vlc_object_t *p_this )
+const char *__config_GetDataDir( const vlc_object_t *p_this )
{
#if defined (WIN32) || defined (UNDER_CE)
return vlc_global( p_this )->psz_vlcpath;