Definition at line 64 of file cu_iterator.c.
References count_points_using_iterator(), inputs, LW_FALSE, LW_PARSER_CHECK_NONE, LW_TRUE, lwalloc(), lwfree(), lwgeom_count_vertices(), lwgeom_free(), lwgeom_from_wkt(), lwgeom_get_type(), and NUMTYPES.
Referenced by iterator_suite_setup().
70 for (i = 0; i <
sizeof(
inputs)/
sizeof(
char*); i++)
85 CU_ASSERT_TRUE(types_visited[i]);
uint32_t lwgeom_get_type(const LWGEOM *geom)
Return LWTYPE number.
static uint32_t count_points_using_iterator(LWGEOM *g)
void lwgeom_free(LWGEOM *geom)
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
#define LW_PARSER_CHECK_NONE
#define LW_TRUE
Return types for functions with status returns.
void * lwalloc(size_t size)
int lwgeom_count_vertices(const LWGEOM *geom)
Count the total number of vertices in any LWGEOM.