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.
重要!该函数在试用版(Trial License)产品中不可用。
external_free(id);
参数 | 描述 |
---|---|
id | The name of the dll or dylib that you want to free |
N/A(无返回值)
external_free("MyDLL.dll");
The above example code will free the memory associated with the given dll.