PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ prepend_node()

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

Definition at line 53 of file lwiterator.c.

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

Referenced by add_lwgeom_to_stack(), and extract_pointarrays_from_lwgeom().

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