PostGIS
3.1.6dev-r@@SVN_REVISION@@
◆
SHPAllocBuffer()
static void* SHPAllocBuffer
(
unsigned char **
pBuffer
,
int
nSize
)
static
Definition at line
1784
of file
shpopen.c
.
1785
{
1786
unsigned
char
* pRet;
1787
1788
if
( pBuffer ==
SHPLIB_NULLPTR
)
1789
return
calloc(1, nSize);
1790
1791
pRet = *pBuffer;
1792
if
( pRet ==
SHPLIB_NULLPTR
)
1793
return
SHPLIB_NULLPTR
;
1794
1795
(*pBuffer) += nSize;
1796
return
pRet;
1797
}
SHPLIB_NULLPTR
#define SHPLIB_NULLPTR
Definition:
shpopen.c:101
References
SHPLIB_NULLPTR
.
Referenced by
if()
.
Here is the caller graph for this function:
loader
shpopen.c
Generated by
1.9.1