MCPcopy Create free account
hub / github.com/apache/cloudberry / conditional_stack_create

Function conditional_stack_create

src/fe_utils/conditional.c:17–24  ·  view source on GitHub ↗

* create stack */

Source from the content-addressed store, hash-verified

15 * create stack
16 */
17ConditionalStack
18conditional_stack_create(void)
19{
20 ConditionalStack cstack = pg_malloc(sizeof(ConditionalStackData));
21
22 cstack->head = NULL;
23 return cstack;
24}
25
26/*
27 * destroy stack

Callers 4

mainFunction · 0.85
MainLoopFunction · 0.85
CheckConditionalFunction · 0.85
mainFunction · 0.85

Calls 1

pg_mallocFunction · 0.85

Tested by

no test coverage detected