MCPcopy Create free account
hub / github.com/dds-bridge/dds / get_bits

Method get_bits

library/src/system/system.cpp:346–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344
345
346string System::get_bits(int& bits) const
347{
348#ifdef _MSC_VER
349 #pragma warning(push)
350 #pragma warning(disable: 4127)
351#endif
352
353 string st;
354 if (sizeof(void *) == 4)
355 {
356 bits = 32;
357 st = "32 bits";
358 }
359 else if (sizeof(void *) == 8)
360 {
361 bits = 64;
362 st = "64 bits";
363 }
364 else
365 {
366 bits = 0;
367 st = "unknown";
368 }
369#ifdef _MSC_VER
370 #pragma warning(pop)
371#endif
372
373 return st;
374}
375
376
377string System::get_compiler(int& comp) const

Callers 1

GetDDSInfoFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected