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

Function object_copy

v2/engine/object.c:288–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286 */
287
288OBJECT * object_copy( OBJECT * obj )
289{
290 object_validate( obj );
291#ifdef BJAM_NO_MEM_CACHE
292 return object_new( object_str( obj ) );
293#else
294 ++strcount_in;
295 return obj;
296#endif
297}
298
299
300/*

Callers 15

file_remove_atexitFunction · 0.85
cache_nameFunction · 0.85
hcacheFunction · 0.85
regex_compileFunction · 0.85
path_keyFunction · 0.85
path_as_keyFunction · 0.85
time_enterFunction · 0.85
list_copyFunction · 0.85
list_copy_rangeFunction · 0.85
list_reverseFunction · 0.85
list_uniqueFunction · 0.85
call_timing_ruleFunction · 0.85

Calls 3

object_validateFunction · 0.85
object_newFunction · 0.85
object_strFunction · 0.85

Tested by

no test coverage detected