PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ gidx_copy()

static GIDX* gidx_copy ( GIDX *  b)
static

Definition at line 98 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().

99 {
100  GIDX *c = (GIDX*)palloc(VARSIZE(b));
101  POSTGIS_DEBUGF(5, "copied gidx (%p) to gidx (%p)", b, c);
102  memcpy((void*)c, (void*)b, VARSIZE(b));
103  return c;
104 }
Here is the caller graph for this function: