| 76 | |
| 77 | template <typename T> |
| 78 | std::string ConvertToUTF8(const T* str) |
| 79 | { |
| 80 | static_assert(sizeof(T) == sizeof(Steinberg::Vst::TChar)); |
| 81 | return VST3::StringConvert::convert( |
| 82 | static_cast<const Steinberg::Vst::TChar*>(static_cast<const void*>(str))); |
| 83 | } |
| 84 | |
| 85 | //------------------------------------------------------------------------ |
| 86 | namespace VST3 { |
no outgoing calls
no test coverage detected