PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ DBFReadIntegerAttribute()

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

Definition at line 1102 of file dbfopen.c.

1104 {
1105  int *pnValue;
1106 
1107  pnValue = STATIC_CAST(int *, DBFReadAttribute( psDBF, iRecord, iField, 'I' ));
1108 
1109  if( pnValue == SHPLIB_NULLPTR )
1110  return 0;
1111  else
1112  return *pnValue;
1113 }
#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:1008

References DBFReadAttribute(), SHPLIB_NULLPTR, and STATIC_CAST.

Here is the call graph for this function: