MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / which

Method which

tests/catch.hpp:12117–12125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12115 enum Arch { Big, Little };
12116
12117 static Arch which() {
12118 union _{
12119 int asInt;
12120 char asChar[sizeof (int)];
12121 } u;
12122
12123 u.asInt = 1;
12124 return ( u.asChar[sizeof(int)-1] == 1 ) ? Big : Little;
12125 }
12126 };
12127 }
12128

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected