PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ DBFReadIntegerAttribute()

int SHPAPI_CALL DBFReadIntegerAttribute ( DBFHandle  psDBF,
int  iRecord,
int  iField 
)

Definition at line 1111 of file dbfopen.c.

1113{
1114 int *pnValue;
1115
1116 pnValue = STATIC_CAST(int *, DBFReadAttribute( psDBF, iRecord, iField, 'I' ));
1117
1118 if( pnValue == SHPLIB_NULLPTR )
1119 return 0;
1120 else
1121 return *pnValue;
1122}
#define STATIC_CAST(type, x)
Definition dbfopen.c:96
#define SHPLIB_NULLPTR
Definition dbfopen.c:99
static void * DBFReadAttribute(DBFHandle psDBF, int hEntity, int iField, char chReqType)
Definition dbfopen.c:1017

References DBFReadAttribute(), SHPLIB_NULLPTR, and STATIC_CAST.

Here is the call graph for this function: