Defined in carb/Types.h

typedef void (*carb::OnPluginRegisterFn)(Framework *framework, PluginRegistryEntry *outEntry)

Either this or OnPluginRegisterExFn or OnPluginRegisterEx2Fn are required. Populates the given carb::PluginRegistryEntry with the plugin’s information.

Prefer using OnPluginRegisterExFn instead of this function.

Most users will not have a need to define this function, as it is defined by default via CARB_PLUGIN_IMPL.

See also