rel_freeimages()

extern KADMOS_ERROR KADMOS_API rel_freeimages(RelData *reldata);
      

Parameter:

reldata
Pointer to a with rel_do() initialized structure RelData.

Return value:

RE_SUCCESS or KADMOS error type.

Comment:

If rel_do() had been called with TYPO_KEEPIMG then all images of the segmented single characters are stored and available after the call. A call of rel_freeimages() frees this memory. In case of success the function returns RE_SUCCESS, in case of error it returns the related error type. The error text can be retrieved by calling re_GetErrorText() or be displayed by calling re_DisplayErrorText().

Reference: