src/filter_tree/filter_tree.c
// Compacts a condition node if possible
Compacts a condition node if possible
Compacts a condition node if possible
static inline bool _FilterTree_Compact_Cond(FT_FilterNode *node) {
	if(node->cond.op == OP_AND) return _FilterTree_Compact_And(node);
	if(node->cond.op == OP_OR) return _FilterTree_Compact_Or(node);
	assert(false && "_FilterTree_Compact_Cond: Unkown filter operator to compact");
}
static inline bool _FilterTree_Compact_Cond ( FT_FilterNode * node ) { if ( node -> cond . op == OP_AND ) return _FilterTree_Compact_And ( node ) ; if ( node -> cond . op == OP_OR ) return _FilterTree_Compact_Or ( node ) ; assert ( false && " " ) ; }
Compacts a condition node if possible
Compacts a condition node if possible