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

Function var_parse_free

src/engine/function.c:1747–1766  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1745 */
1746
1747static void var_parse_free( VAR_PARSE * parse )
1748{
1749 switch ( parse->type )
1750 {
1751 case VAR_PARSE_TYPE_VAR:
1752 var_parse_var_free( (VAR_PARSE_VAR *)parse );
1753 break;
1754
1755 case VAR_PARSE_TYPE_STRING:
1756 var_parse_string_free( (VAR_PARSE_STRING *)parse );
1757 break;
1758
1759 case VAR_PARSE_TYPE_FILE:
1760 var_parse_file_free( (VAR_PARSE_FILE *)parse );
1761 break;
1762
1763 default:
1764 assert( !"Invalid type" );
1765 }
1766}
1767
1768
1769/*

Callers 1

var_parse_group_freeFunction · 0.85

Calls 3

var_parse_var_freeFunction · 0.85
var_parse_string_freeFunction · 0.85
var_parse_file_freeFunction · 0.85

Tested by

no test coverage detected