MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / ReleaseObject

Method ReleaseObject

src/script/squirrel.hpp:252–252  ·  view source on GitHub ↗

* Release a SQ object. */

Source from the content-addressed store, hash-verified

250 * Release a SQ object.
251 */
252 void ReleaseObject(HSQOBJECT *ptr) { sq_release(this->vm, ptr); }
253
254 /**
255 * Tell the VM to remove \c amount ops from the number of ops till suspend.

Callers 3

~ScriptInstanceMethod · 0.80
DiedMethod · 0.80
ReleaseSQObjectMethod · 0.80

Calls 1

sq_releaseFunction · 0.85

Tested by

no test coverage detected