PostGIS  3.3.9dev-r@@SVN_REVISION@@

◆ rt_pg_realloc()

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

Definition at line 180 of file rtpostgis.c.

181 {
182  void * result;
183 
184  POSTGIS_RT_DEBUGF(5, "rt_pg_realloc(%ld) called", (long int) size);
185 
186  if (mem)
187  result = repalloc(mem, size);
188 
189  else
190  result = palloc(size);
191 
192  return result;
193 }
char result[OUT_DOUBLE_BUFFER_SIZE]
Definition: cu_print.c:267
#define POSTGIS_RT_DEBUGF(level, msg,...)
Definition: rtpostgis.h:73

References POSTGIS_RT_DEBUGF, and result.

Referenced by _PG_init().

Here is the caller graph for this function: