MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / hxs_encoding

Function hxs_encoding

src/hx/CFFI.cpp:373–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371}
372
373hx::StringEncoding hxs_encoding(const String &str)
374{
375 #ifdef HX_SMART_STRINGS
376 if (str.isUTF16Encoded())
377 return hx::StringUtf16;
378 else
379 return hx::StringAscii;
380 #else
381 return hx::StringUtf8;
382 #endif
383}
384
385
386wchar_t * val_dup_wstring(value inVal)

Callers 1

addStringsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected