> home > Custom Layer Boundary API

managed_object_get_item_count

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

Signature

C++
u32
managed_object_get_item_count(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 items in the managed object, otherwise zero

Details

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