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

Function var_swap

src/engine/variable.cpp:326–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324 */
325
326LIST * var_swap( struct module_t * module, OBJECT * symbol, LIST * value )
327{
328 LIST * * v = var_enter( module, symbol );
329 LIST * oldvalue = *v;
330 if ( DEBUG_VARSET )
331 var_dump( symbol, value, "set" );
332 *v = value;
333 return oldvalue;
334}
335
336
337/*

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