Add a getter function for field_type
Created by: hir12111
Some time ago, the DCT related functions were removed from dbStaticLib
, leaving no function to retrieve a field type. IIRC the documentation suggests that the fields in DBENTRY and others shouldn't be accessed directly.
In this change, I would like to provide a getter function for a field dbf type, I have 2 comments about it:
- I use a different name for the function to avoid confusion with the deprecated one.
- I don't check pflddes for NULL, as every use of this functions is always done after calling any form of
dbNextField
, which makes access safe.