PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ SfRealloc()

static void* SfRealloc ( void *  pMem,
int  nNewSize 
)
static

Definition at line 131 of file shpopen.c.

133 {
134  if( pMem == SHPLIB_NULLPTR )
135  return malloc(nNewSize);
136  else
137  return realloc(pMem,nNewSize);
138 }
void * malloc(YYSIZE_T)
#define SHPLIB_NULLPTR
Definition: shpopen.c:101

References malloc(), and SHPLIB_NULLPTR.

Referenced by if(), and SHPWriteObject().

Here is the call graph for this function:
Here is the caller graph for this function: