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

Function var_parse_free

v2/engine/function.c:1696–1715  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1694 */
1695
1696static void var_parse_free( VAR_PARSE * parse )
1697{
1698 switch ( parse->type )
1699 {
1700 case VAR_PARSE_TYPE_VAR:
1701 var_parse_var_free( (VAR_PARSE_VAR *)parse );
1702 break;
1703
1704 case VAR_PARSE_TYPE_STRING:
1705 var_parse_string_free( (VAR_PARSE_STRING *)parse );
1706 break;
1707
1708 case VAR_PARSE_TYPE_FILE:
1709 var_parse_file_free( (VAR_PARSE_FILE *)parse );
1710 break;
1711
1712 default:
1713 assert( !"Invalid type" );
1714 }
1715}
1716
1717
1718/*

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