carb::ReleaseHookFn

Defined in carb/Framework.h

using carb::ReleaseHookFn = void (*)(void *iface, void *userData)

Release Hook function.

Called when the carb::Framework (or an interface) is being released, before the actual release is done. Add a release hook with carb::Framework::addReleaseHook(). Registered release hooks can be removed with carb::Framework::removeReleaseHook().

Param iface

The interface that is being released. If the framework is being released, this is nullptr.

Param userData

The data passed to carb::Framework::addReleaseHook().