Module abi

Module abi 

Source
Expand description

ABI-stable types for the plugin interface

This module defines the stable interface between the host application and plugins. All types here use abi_stable to ensure binary compatibility across different compiler versions.

Structs§

PluginModule
Root module that plugins export.
PluginModuleRef
This is the pointer to the prefix of PluginModule.
PluginModule_Prefix
This is the prefix fields of PluginModule, accessible through PluginModuleRef, with .0.prefix().
PluginTool
ABI-stable tool interface that plugins implement.
PluginToolInfo
ABI-stable tool metadata
PluginToolResult
ABI-stable result type for plugin tool execution

Constants§

PLUGIN_API_VERSION
Version of the plugin API. Bump this when making breaking changes to the plugin interface.

Type Aliases§

PluginToolRef
Reference to a PluginTool for use in collections