external_free

Frees the DLL with the given name.

Syntax:

external_free(id);


Argument Description
id The name of the dll or dylib that you want to free


Returns: N/A


Description

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 an end of game event.


Example:

external_free("MyDLL.dll");

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


Back: Miscellaneous
Next: cursor_sprite
© Copyright YoYo Games Ltd. 2018 All Rights Reserved