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

Function list_make2_impl

src/backend/nodes/list.c:242–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242List *
243list_make2_impl(NodeTag t, ListCell datum1, ListCell datum2)
244{
245 List *list = new_list(t, 2);
246
247 list->elements[0] = datum1;
248 list->elements[1] = datum2;
249 check_list_invariants(list);
250 return list;
251}
252
253List *
254list_make3_impl(NodeTag t, ListCell datum1, ListCell datum2,

Callers

nothing calls this directly

Calls 2

new_listFunction · 0.85
check_list_invariantsFunction · 0.85

Tested by

no test coverage detected