Synopsis

(macro) size_t ddf_GetFieldSize(DDF_FLD *fld)

Purpose

Get field size.

Description

The size of the DDF_FLD fld will be returned. If the field type is anything except FSTRING, STRUCT, or UNION, this will return the same thing as ddf_GetFieldTypeSize. If the field is an FSTRING then this will be the length the string was declared to in the length modifier in the DDF whereas the function ddf_GetFieldTypeSize would return a 1 for an FSTRING. If the field is a STRUCT or UNION, the total size of the structure or union will be returned.

Input

fld

Field whose size is to be returned

Return

Size of the fld.