PostGIS  2.5.1dev-r@@SVN_REVISION@@

◆ gidx_copy()

GIDX* gidx_copy ( GIDX *  b)

Definition at line 126 of file gserialized_gist_nd.c.

Referenced by gserialized_gist_compress(), gserialized_gist_picksplit(), gserialized_gist_picksplit_constructsplit(), gserialized_gist_picksplit_fallback(), gserialized_gist_union(), and spatial_index_read_extent().

127 {
128  GIDX *c = (GIDX*)palloc(VARSIZE(b));
129  POSTGIS_DEBUGF(5, "copied gidx (%p) to gidx (%p)", b, c);
130  memcpy((void*)c, (void*)b, VARSIZE(b));
131  return c;
132 }
Here is the caller graph for this function: