Function

Purpleplugin_get_info

Declaration [src]

PurplePluginInfo*
purple_plugin_get_info (
  PurplePlugin* plugin
)

Description [src]

Returns a plugin’s PurplePluginInfo instance.

Parameters

plugin PurplePlugin
 

The plugin.

 The data is owned by the caller of the function.

Return value

Returns: PurplePluginInfo
 

The plugin’s PurplePluginInfo instance. GPlugin refs the plugin info object before returning it. This workaround is to avoid managing the reference counts everywhere in our codebase where we use the plugin info. The plugin info instance is guaranteed to exist as long as the plugin exists.

 The data is owned by the called function.