|
|
This function frees any space allocated for a field type created with new_fieldtype or link_fieldtype. Its argument is a field type pointer previously obtained from one of these functions.
SYNOPSIS
int free_fieldtype (fieldtype) FIELDTYPE fieldtype;You may want to free the field type TYPE_HEX from the previous example once fields of that type have been processed. To do so, you write
/* create field type TYPE_HEX */ create fields of this type free fields of this type */If successful, function free_fieldtype returns E_OK. If an error occurs, it returns one of the following:free_fieldtype(TYPE_HEX); /* free programmer-defined type */