Function

Purpleplugin_get_info

since: 3.0

Declaration [src]

PurplePluginInfo*
purple_plugin_get_info (
  PurplePlugin* plugin
)

Description [src]

Returns a plugin’s PurplePluginInfo instance.

Available since: 3.0

Parameters

plugin

Type: PurplePlugin

The plugin.

The data is owned by the caller of the function.

Return value

Type: 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.