PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ rt_pg_realloc()

static void* rt_pg_realloc ( void *  mem,
size_t  size 
)
static

Definition at line 178 of file rtpostgis.c.

179 {
180  void * result;
181 
182  POSTGIS_RT_DEBUGF(5, "rt_pg_realloc(%ld) called", (long int) size);
183 
184  if (mem)
185  result = repalloc(mem, size);
186 
187  else
188  result = palloc(size);
189 
190  return result;
191 }
#define POSTGIS_RT_DEBUGF(level, msg,...)
Definition: rtpostgis.h:65

References POSTGIS_RT_DEBUGF.

Referenced by _PG_init().

Here is the caller graph for this function: