Function Macro

GrlPLUGIN_DEFINE

since: 0.3.0

Declaration [src]

#define GRL_PLUGIN_DEFINE (
  major,
  minor,
  id,
  name,
  description,
  author,
  version,
  license,
  site,
  init,
  deinit,
  register_keys
)

Description

No description available.

Available since: 0.3.0

This function is not directly available to language bindings.

Parameters

major

Type: -

The major version number of core that plugin was compiled for, as an integer.

minor

Type: -

The minor version number of core that plugin was compiled for, as an integer.

id

Type: -

The plugin identifier.

name

Type: -

Name of plugin.

description

Type: -

Description of plugin.

author

Type: -

Author of plugin.

version

Type: -

Version of plugin.

license

Type: -

License of plugin.

site

Type: -

URL to provider of plugin.

init

Type: -

The module initialization. It shall instantiate the GrlPlugins provided.

deinit

Type: -

Function to execute when the registry needs to dispose the module.

register_keys

Type: -

Function to execute before loading the plugin. It’s aim is to register new keys.