PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ gidx_copy()

static GIDX* gidx_copy ( GIDX *  b)
static

Definition at line 126 of file gserialized_gist_nd.c.

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

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: