PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ box2df_copy()

static BOX2DF* box2df_copy ( BOX2DF *  b)
static

Definition at line 123 of file gserialized_gist_2d.c.

Referenced by gserialized_gist_compress_2d(), and gserialized_gist_union_2d().

124 {
125  BOX2DF *c = (BOX2DF*)palloc(sizeof(BOX2DF));
126  memcpy((void*)c, (void*)b, sizeof(BOX2DF));
127  POSTGIS_DEBUGF(5, "copied box2df (%p) to box2df (%p)", b, c);
128  return c;
129 }
Here is the caller graph for this function: