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

Function var_swap

v2/engine/variable.c:278–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276 */
277
278LIST * var_swap( struct module_t * module, OBJECT * symbol, LIST * value )
279{
280 LIST * * v = var_enter( module, symbol );
281 LIST * oldvalue = *v;
282 if ( DEBUG_VARSET )
283 var_dump( symbol, value, "set" );
284 *v = value;
285 return oldvalue;
286}
287
288
289/*

Callers 4

pushsettingsFunction · 0.85
function_swap_variableFunction · 0.85
argument_list_pushFunction · 0.85

Calls 2

var_enterFunction · 0.85
var_dumpFunction · 0.85

Tested by

no test coverage detected