OMNI_MODULE_GLOBALS#

Defined in omni/core/Omni.h

OMNI_MODULE_GLOBALS(name_, desc_)#

Helper macro to declare globals needed by modules (i.e. plugins).

Use with OMNI_MODULE_SET_EXPORTS().

Parameters:
  • name_ – The globally-unique name of the plugin. Must be unique with respect to all other plugins. May not be empty.

  • desc_ – (Literal string) Description of the plugin.