bt_object_init(plugin, bt_plugin_destroy);
if (!g_module_symbol(module, PLUGIN_SYMBOL_NAME,
- (gpointer *) &plugin->name))
- {
+ (gpointer *) &plugin->name)) {
printf_error("Unable to resolve plugin symbol %s from %s",
PLUGIN_SYMBOL_NAME, g_module_name(module));
goto error;
printf("Loaded plugin with name %s\n", plugin->name);
if (!g_module_symbol(module, PLUGIN_SYMBOL_LICENSE,
- (gpointer *) &plugin->license))
- {
+ (gpointer *) &plugin->license)) {
printf_error("Unable to resolve plugin symbol %s from %s",
PLUGIN_SYMBOL_LICENSE, g_module_name(module));
goto error;
}
if (!g_module_symbol(module, PLUGIN_SYMBOL_INIT,
- (gpointer *) &plugin->init))
- {
+ (gpointer *) &plugin->init)) {
printf_error("Unable to resolve plugin symbol %s from %s",
PLUGIN_SYMBOL_INIT, g_module_name(module));
goto error;