MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / flagToBit

Function flagToBit

Engine/source/platform/platformMemory.cpp:70–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68};
69
70inline U32 flagToBit( Memory::EFlag flag )
71{
72 using namespace Memory;
73
74 U32 bit = 0;
75 switch( flag )
76 {
77 case FLAG_Debug: bit = DebugFlag; break;
78 case FLAG_Global: bit = GlobalFlag; break;
79 case FLAG_Static: bit = StaticFlag; break;
80 }
81 return bit;
82}
83
84enum RedBlackTokens {
85 Red = 0,

Callers 2

flagCurrentAllocsFunction · 0.85
countUnflaggedAllocsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected