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

Function expr_alloc_one

scripts/config/expr.c:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26struct expr *expr_alloc_one(enum expr_type type, struct expr *ce)
27{
28 struct expr *e = xcalloc(1, sizeof(*e));
29 e->type = type;
30 e->left.expr = ce;
31 return e;
32}
33
34struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2)
35{

Callers 4

expr_transformFunction · 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