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