Native Plugin API

Native Plugin API — API for native plugins

Functions

Properties

gpointer load-func Read / Write / Construct Only
gpointer module Read / Write / Construct Only
gpointer unload-func Read / Write / Construct Only

Object Hierarchy

    GObject
    ╰── GTypeModule
        ╰── GPluginNativePlugin

Description

API for use by native plugins. That is plugins written in a compiled language.

Functions

gplugin_native_plugin_get_module ()

GModule *
gplugin_native_plugin_get_module (GPluginNativePlugin *plugin);

Returns the GModule associated with this plugin. This should really only be used if you need to make your plugin resident.

[skip]

Parameters

plugin

GPluginNativePlugin instance

 

Returns

The GModule associated with this plugin.

Types and Values

Property Details

The “load-func” property

  “load-func”                gpointer

A function pointer to the load method of the plugin.

Flags: Read / Write / Construct Only


The “module” property

  “module”                   gpointer

The GModule instance for this plugin.

Flags: Read / Write / Construct Only


The “unload-func” property

  “unload-func”              gpointer

A function pointer to the unload method of the plugin.

Flags: Read / Write / Construct Only