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

Function apply_modifiers

src/engine/function.cpp:913–924  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

911}
912
913static VAR_EXPANDED apply_modifiers( STACK * s, int32_t n )
914{
915 LIST * value = stack_top( s );
916 VAR_EXPANDED result;
917 VAR_EDITS * const edits = (VAR_EDITS *)( (LIST * *)stack_get( s ) + 1 );
918 string buf[ 1 ];
919 string_new( buf );
920 result = apply_modifiers_impl( L0, buf, edits, n, list_begin( value ),
921 list_end( value ) );
922 string_free( buf );
923 return result;
924}
925
926// STACK: LIST * modifiers[modifier_count]
927static VAR_EXPANDED eval_modifiers( STACK * s, LIST * value, int32_t modifier_count )

Callers 2

eval_modifiersFunction · 0.85
function_runFunction · 0.85

Calls 7

stack_topFunction · 0.85
stack_getFunction · 0.85
string_newFunction · 0.85
apply_modifiers_implFunction · 0.85
list_beginFunction · 0.85
list_endFunction · 0.85
string_freeFunction · 0.85

Tested by

no test coverage detected