> home > Custom Layer Boundary API

managed_object_free

January 19th 2020
Destroy a managed object, free it's memory back to the scope containing it, and detach it from whatever associations it has in the core

Signature

C++
b32
managed_object_free(Application_Links* app,
                    Managed_Object object);

Parameters

app

the standard custom layer context pointer

object

the id of the object to free

Return

non-zero when the object exists, otherwise zero