X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_configuration.h;h=2c7345e963e6a3ddd895763b215b82ee38355f4a;hb=28e52ddb9b8a1ae76eba086114ecf0bca90383ee;hp=c208509efc117b657e989c819e2ff83f280334df;hpb=8241e58419c8eb84bb02117467b6e8957e1ab0ae;p=vlc diff --git a/include/vlc_configuration.h b/include/vlc_configuration.h index c208509efc..2c7345e963 100644 --- a/include/vlc_configuration.h +++ b/include/vlc_configuration.h @@ -214,7 +214,8 @@ VLC_EXPORT( int, __config_SaveConfigFile, ( vlc_object_t *, const char * ) ); VLC_EXPORT( void, __config_ResetAll, ( vlc_object_t * ) ); VLC_EXPORT( module_config_t *, config_FindConfig,( vlc_object_t *, const char * ) LIBVLC_USED ); -VLC_EXPORT(const char *, config_GetDataDir, ( void ) LIBVLC_USED); +VLC_EXPORT(char *, __config_GetDataDir, ( vlc_object_t * ) LIBVLC_USED); +#define config_GetDataDir(a) __config_GetDataDir(VLC_OBJECT(a)) VLC_EXPORT(const char *, config_GetConfDir, ( void ) LIBVLC_USED); typedef enum vlc_userdir