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

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

94 {
95  GIDX *c = (GIDX*)palloc(VARSIZE(b));
96  POSTGIS_DEBUGF(5, "copied gidx (%p) to gidx (%p)", b, c);
97  memcpy((void*)c, (void*)b, VARSIZE(b));
98  return c;
99 }

Here is the caller graph for this function: