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

Function stack_global

src/engine/function.c:213–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211static void * stack;
212
213STACK * stack_global()
214{
215 static STACK result;
216 if ( !stack )
217 {
218 int const size = 1 << 21;
219 stack = BJAM_MALLOC( size );
220 result.data = (char *)stack + size;
221 }
222 return &result;
223}
224
225struct list_alignment_helper
226{

Callers 3

cmd_newFunction · 0.85
evaluate_ruleFunction · 0.85
parse_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected