Definition at line 139 of file flatgeobuf.c.
141 if (ctx->
ctx->features_count == 0) {
142 ctx->
ctx->items_len = 32;
143 ctx->
ctx->items = palloc(
sizeof(flatgeobuf_item *) * ctx->
ctx->items_len);
145 if (ctx->
ctx->items_len < (ctx->
ctx->features_count + 1)) {
146 ctx->
ctx->items_len = ctx->
ctx->items_len * 2;
147 POSTGIS_DEBUGF(2,
"flatgeobuf: reallocating items to len %ld", ctx->
ctx->items_len);
148 ctx->
ctx->items = repalloc(ctx->
ctx->items,
sizeof(flatgeobuf_item *) * ctx->
ctx->items_len);
static void ensure_items_len(struct flatgeobuf_agg_ctx *ctx)
References flatgeobuf_agg_ctx::ctx.
Referenced by flatgeobuf_agg_transfn().