PostGIS  2.3.7dev-r@@SVN_REVISION@@
static GIDX* gidx_copy ( GIDX *  b)
static

Definition at line 128 of file gserialized_gist_nd.c.

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

129 {
130  GIDX *c = (GIDX*)palloc(VARSIZE(b));
131  POSTGIS_DEBUGF(5, "copied gidx (%p) to gidx (%p)", b, c);
132  memcpy((void*)c, (void*)b, VARSIZE(b));
133  return c;
134 }

Here is the caller graph for this function: