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

Function slist_init

src/include/lib/ilist.h:572–576  ·  view source on GitHub ↗

* Initialize a singly linked list. * Previous state will be thrown away without any cleanup. */

Source from the content-addressed store, hash-verified

570 * Previous state will be thrown away without any cleanup.
571 */
572static inline void
573slist_init(slist_head *head)
574{
575 head->head.next = NULL;
576}
577
578/*
579 * Is the list empty?

Callers 4

InitCatCacheFunction · 0.85
dsm_create_descriptorFunction · 0.85
SPI_connect_extFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected