Flutter Engine
fl_plugin_registry.h File Reference
#include <glib-object.h>
#include "fl_plugin_registrar.h"

Go to the source code of this file.

Functions

.

Returns: (transfer full): an #FlPluginRegistrar.

FlPluginRegistrar * fl_plugin_registry_get_registrar_for_plugin (FlPluginRegistry *registry, const gchar *name)
 

Function Documentation

◆ fl_plugin_registry_get_registrar_for_plugin()

FlPluginRegistrar* fl_plugin_registry_get_registrar_for_plugin ( FlPluginRegistry *  registry,
const gchar *  name 
)

Definition at line 16 of file fl_plugin_registry.cc.

18  {
19  g_return_val_if_fail(FL_IS_PLUGIN_REGISTRY(self), nullptr);
20  g_return_val_if_fail(name != nullptr, nullptr);
21 
22  return FL_PLUGIN_REGISTRY_GET_IFACE(self)->get_registrar_for_plugin(self,
23  name);
24 }
const char * name
Definition: fuchsia.cc:50