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

Function string_free

src/engine/jam_strings.cpp:61–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59
60
61void string_free( string * s )
62{
63 assert_invariants( s );
64 if ( s->value != s->opt )
65 BJAM_FREE( s->value );
66 string_new( s );
67}
68
69
70static void string_reserve_internal( string * self, int32_t capacity )

Callers 15

class_module_nameFunction · 0.85
import_base_ruleFunction · 0.85
builtin_system_registryFunction · 0.85
var_definesFunction · 0.85
var_getFunction · 0.85
module_statFunction · 0.85
class_module_statFunction · 0.85
lookup_ruleFunction · 0.85
translate_path_posix2vmsFunction · 0.85
exec_cmdFunction · 0.85
path_tmpfileFunction · 0.85
builtin_glob_backFunction · 0.85

Calls 2

assert_invariantsFunction · 0.85
string_newFunction · 0.85

Tested by

no test coverage detected