MCPcopy Create free account
hub / github.com/Entware/Entware / expr_alloc_comp

Function expr_alloc_comp

scripts/config/expr.c:43–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2)
44{
45 struct expr *e = xcalloc(1, sizeof(*e));
46 e->type = type;
47 e->left.sym = s1;
48 e->right.sym = s2;
49 return e;
50}
51
52struct expr *expr_alloc_and(struct expr *e1, struct expr *e2)
53{

Callers 5

expr_join_orFunction · 0.85
expr_join_andFunction · 0.85
expr_trans_compareFunction · 0.85
yyparseFunction · 0.85
menu_finalizeFunction · 0.85

Calls 1

xcallocFunction · 0.85

Tested by

no test coverage detected