vlc_linux/vlc-3.0.16/modules/gui/skins2/src/skin_common.hpp
/// Wrapper around FromLocale, to avoid the need to call LocaleFree()
Wrapper around FromLocale, to avoid the need to call LocaleFree()
Wrapper around FromLocale to avoid the need to call LocaleFree ()
static inline std::string sFromLocale( const std::string &rLocale )
{
    const char *s = FromLocale( rLocale.c_str() );
    std::string res = s;
    LocaleFree( s );
    return res;
}
static inline std :: string sFromLocale ( const std :: string & rLocale ) { const char * s = FromLocale ( rLocale . c_str ( ) ) ; std :: string res = s ; LocaleFree ( s ) ; return res ; }
Wrapper around FromLocale, to avoid the need to call LocaleFree()
Wrapper around FromLocale to avoid the need to call LocaleFree ()