MCPcopy Create free account
hub / github.com/boostorg/build / stack_global

Function stack_global

v2/engine/function.c:219–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217static void * stack;
218
219STACK * stack_global()
220{
221 static STACK result;
222 if ( !stack )
223 {
224 int const size = 1 << 21;
225 stack = BJAM_MALLOC( size );
226 result.data = (char *)stack + size;
227 }
228 return &result;
229}
230
231static void check_alignment( STACK * s )
232{

Callers 3

cmd_newFunction · 0.85
evaluate_ruleFunction · 0.85
parse_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected