Load into the specified holder the address of this category, its enabled() status, and the address of the next holder in the linked list of category holders maintained by this object (prepending holder to this category's linked list of category holders). This category will update holder‐>enabled() when its enabled state changes, and will reset holder (i.e., holder‐>reset()) when this category is destroyed. The behavior is undefined unless holder remains valid and unmodified (by the client) for the lifetime of this object and is not registered again with any category (including this one).

Synopsis

Declared in <balm_category.h>

void
registerCategoryHolder(CategoryHolder* holder);

Created with MrDocs