> home > Custom Layer Boundary API

managed_object_get_item_size

January 19th 2020
Get the size of the items in a managed object

Signature

C++
u32
managed_object_get_item_size(Application_Links* app,
                             Managed_Object object);

Parameters

app

the standard custom layer context pointer

object

the id of the managed object to query

Return

on success, when the object exists, the number of bytes in each item of the managed object, otherwise zero

Details

Managed objects are essentially arrays with special management inside the core, such as markers. This call returns the size of the items in the array.