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

Function string_free

v2/engine/strings.c: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, size_t capacity )

Callers 15

path_keyFunction · 0.85
var_definesFunction · 0.85
module_statFunction · 0.85
class_module_statFunction · 0.85
lookup_ruleFunction · 0.85
builtin_system_registryFunction · 0.85
class_module_nameFunction · 0.85
import_base_ruleFunction · 0.85
cmd_freeFunction · 0.85
builtin_glob_backFunction · 0.85
downcase_listFunction · 0.85
glob_recursiveFunction · 0.85

Calls 2

assert_invariantsFunction · 0.85
string_newFunction · 0.85

Tested by

no test coverage detected