MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / ConvertU8ToNative

Function ConvertU8ToNative

extern/nfd/nfd_win.cpp:785–793  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

783 return NFD_OKAY;
784}
785nfdresult_t ConvertU8ToNative(const nfdu8char_t* u8Text, FreeCheck_Guard<nfdnchar_t>& nativeText) {
786 if (u8Text) {
787 nfdresult_t res = CopyCharToWChar(u8Text, nativeText.data);
788 if (!res) {
789 return NFD_ERROR;
790 }
791 }
792 return NFD_OKAY;
793}
794void NormalizePathSeparator(nfdnchar_t* path) {
795 if (path) {
796 for (; *path; ++path) {

Callers 4

NFD_OpenDialogU8Function · 0.85
NFD_OpenDialogMultipleU8Function · 0.85
NFD_SaveDialogU8Function · 0.85
NFD_PickFolderU8Function · 0.85

Calls 1

CopyCharToWCharFunction · 0.85

Tested by

no test coverage detected