Name
FreeRequest -- free requester specific data (V6.0)
Synopsis
void FreeRequest(int type, STRPTR data);
Function
This function must free the data that has been allocated by one of the requester functions of your plugin. The first parameter tells FreeRequest() which function has allocated the data in the second parameter. The following types are currently recognized:

HWREQTYPE_FILE:
Data has been allocated by FileRequest().

HWREQTYPE_PATH:
Data has been allocated by PathRequest().

HWREQTYPE_STRING:
Data has been allocated by StringRequest().

HWREQTYPE_FONT:
Data has been allocated by FontRequest().

Inputs
type
type of data to free
data
the actual data item allocated by one of the requester functions

Show TOC