PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ rt_pg_realloc()

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

Definition at line 187 of file rtpostgis.c.

188 {
189  void * result;
190 
191  POSTGIS_RT_DEBUGF(5, "rt_pg_realloc(%ld) called", (long int) size);
192 
193  if (mem)
194  result = repalloc(mem, size);
195 
196  else
197  result = palloc(size);
198 
199  return result;
200 }
char result[OUT_DOUBLE_BUFFER_SIZE]
Definition: cu_print.c:267
#define POSTGIS_RT_DEBUGF(level, msg,...)
Definition: rtpostgis.h:69

References POSTGIS_RT_DEBUGF, and result.

Referenced by _PG_init().

Here is the caller graph for this function: