Synopsis

(macro) char * ddf_GetFieldTypeDesc(int fld_typ)

Purpose

Get field type description.

Description

The DDF type of the field type fld_typ is returned in string format (e.g. a field type of SHORT would return a pointer to a string "short"). The field types ENDSTRUCT, ENDUNION, and ENDENT will return the strings "endstruct", "endunion", "endent" instead of the counterparts in the DDF (a closing brace). Since this function simply returns the location of the entry in the DDF, care must be taken to not change the information at the returned location.

Input

fld_typ

Field type whose description is to be returned

Return

Description of fld_typ.