PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ box2df_copy()

static BOX2DF* box2df_copy ( BOX2DF *  b)
static

Definition at line 148 of file gserialized_gist_2d.c.

Referenced by gserialized_gist_compress_2d(), and gserialized_gist_union_2d().

149 {
150  BOX2DF *c = (BOX2DF*)palloc(sizeof(BOX2DF));
151  memcpy((void*)c, (void*)b, sizeof(BOX2DF));
152  POSTGIS_DEBUGF(5, "copied box2df (%p) to box2df (%p)", b, c);
153  return c;
154 }
Here is the caller graph for this function: