external_free

This function frees the memory associated with the dll or dylib with the given name. This should be done whenever the file in question is no longer needed in the game, normally (for example) in a Game End event.

 

Syntax:

external_free(id);

ArgumentTypeDescription
idExternal FunctionThe name of the dll or dylib that you want to free

 

 

Returns:

N/A

 

Example:

external_free("MyDLL.dll");

The above example code will free the memory associated with the given dll.