MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / getNullTerminatedNative

Function getNullTerminatedNative

Libraries/Common/StringSpan.h:176–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174 /// - On other platforms return type will be `const char*`.
175#if SC_PLATFORM_WINDOWS
176 [[nodiscard]] const wchar_t* getNullTerminatedNative() const { return textWide; }
177#else
178 [[nodiscard]] const char* getNullTerminatedNative() const { return text; }
179#endif

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected