30 if (!plugin->
init(core)) {
42 eprintf(
"Error loading core plugin\n");
#define RZ_CORE_STATIC_PLUGINS
RZ_API bool rz_core_plugin_init(RzCore *core)
RZ_API bool rz_core_plugin_fini(RzCore *core)
RZ_API bool rz_core_plugin_add(RzCore *core, RzCorePlugin *plugin)
static RzCorePlugin * core_static_plugins[]
RZ_API RZ_OWN RzList * rz_list_newf(RzListFree f)
Returns a new initialized RzList pointer and sets the free method.
RZ_API RZ_BORROW RzListIter * rz_list_append(RZ_NONNULL RzList *list, void *data)
Appends at the end of the list a new element.
RZ_API void rz_list_free(RZ_NONNULL RzList *list)
Empties the list and frees the list pointer.
#define rz_return_val_if_fail(expr, val)
RzList * plugins
List of registered core plugins.