PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ prepend_node()

static LISTNODE* prepend_node ( void *  g,
LISTNODE front 
)
static

Definition at line 53 of file lwiterator.c.

54 {
55  LISTNODE* n = lwalloc(sizeof(LISTNODE));
56  n->item = g;
57  n->next = front;
58 
59  return n;
60 }
void * lwalloc(size_t size)
Definition: lwutil.c:229
struct LISTNODE * next
Definition: lwiterator.c:31
void * item
Definition: lwiterator.c:32

References LISTNODE::item, lwalloc(), and LISTNODE::next.

Referenced by add_lwgeom_to_stack(), and extract_pointarrays_from_lwgeom().

Here is the call graph for this function:
Here is the caller graph for this function: