MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / getOSNoSpaces

Function getOSNoSpaces

source/MRMesh/MRSystem.cpp:591–609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

589}
590
591std::string getOSNoSpaces()
592{
593 #ifdef _WIN32
594 return "Windows";
595 #else
596 #ifdef __EMSCRIPTEN__
597 return "Wasm";
598 #else
599 // get platform from cmake variables
600 #ifdef MR_PLATFORM
601 std::string platform = MR_PLATFORM;
602 std::replace(platform.begin(), platform.end(), ' ', '_');
603 return platform;
604 #else
605 return "UNKNOWN";
606 #endif
607 #endif
608 #endif
609}
610
611void setNewHandlerIfNeeded()
612{

Callers

nothing calls this directly

Calls 3

replaceFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected