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

Function function_run_actions

src/engine/function.cpp:3991–3997  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3989static_assert( sizeof(char *) <= sizeof(void *), "sizeof(char *) <= sizeof(void *)" );
3990
3991void function_run_actions( FUNCTION * function, FRAME * frame, STACK * s,
3992 string * out )
3993{
3994 *(string * *)stack_allocate( s, sizeof( string * ) ) = out;
3995 list_free( function_run( function, frame, s ) );
3996 stack_deallocate( s, sizeof( string * ) );
3997}
3998
3999// Result is either the filename or contents depending on:
4000// 1. If the RESPONSE_FILE_SUB == f or not set (it's filename)

Callers 1

cmd_newFunction · 0.85

Calls 4

stack_allocateFunction · 0.85
list_freeFunction · 0.85
function_runFunction · 0.85
stack_deallocateFunction · 0.85

Tested by

no test coverage detected