-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Given how much new functionality has been added, the new children property, and the new GblRingList iteration semantics, I propose GblObject needs at least the following:
- void GblObject_setChildren(GBL_SELF, const GblRingList* pList): sets a all children to the given list
void GblObject_addChildren(GBL_SELF, const GblRingList* pList): add a list of children to existing list#define GblObject_foreachChild(GBL_SELF, name, type/*=GblObject**/): for-loop-based iteration method (very much needed, more efficient than looping by index)GblBool GblObject_iterateChildren(GBL_SELF, GblObjectIterFn iter, void *pUd/*=NULL*/): iterate over children by calling an iterator function with optional userdata which can return true to early-exit
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request