PostGIS
3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches
◆
LWT_EDGERING_PUSH
#define LWT_EDGERING_PUSH
(
a,
r
)
Value:
{ \
if ( (a)->size + 1 > (a)->capacity ) { \
(a)->capacity *= 2; \
(a)->elems =
lwrealloc
((a)->elems,
sizeof
(
LWT_EDGERING_ELEM
*) * (a)->capacity); \
} \
/* lwdebug(1, "adding elem %d (%p) of edgering %p", (a)->size, (r), (a)); */
\
(a)->elems[(a)->size++] = (
r
); \
}
r
char * r
Definition
cu_in_wkt.c:24
lwrealloc
void * lwrealloc(void *mem, size_t size)
Definition
lwutil.c:235
LWT_EDGERING_ELEM_T
Definition
lwgeom_topo.c:6051
Definition at line
6081
of file
lwgeom_topo.c
.
6081
{ \
6082
if ( (a)->size + 1 > (a)->capacity ) { \
6083
(a)->capacity *= 2; \
6084
(a)->elems =
lwrealloc
((a)->elems,
sizeof
(
LWT_EDGERING_ELEM
*) * (a)->capacity); \
6085
} \
6086
/* lwdebug(1, "adding elem %d (%p) of edgering %p", (a)->size, (r), (a)); */
\
6087
(a)->elems[(a)->size++] = (
r
); \
6088
}
liblwgeom
lwgeom_topo.c
Generated by
1.9.8