PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ rt_pg_realloc()

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

Definition at line 188 of file rtpostgis.c.

189 {
190  void * result;
191 
192  POSTGIS_RT_DEBUGF(5, "rt_pg_realloc(%ld) called", (long int) size);
193 
194  if (mem)
195  result = repalloc(mem, size);
196 
197  else
198  result = palloc(size);
199 
200  return result;
201 }
char result[OUT_DOUBLE_BUFFER_SIZE]
Definition: cu_print.c:262
#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: