Release 1.1.0 with transactional plugin validation
This commit is contained in:
6 files changed
+115
-4
No files matched your search
@@ -95,6 +95,13 @@ namespace Void::Plugin
|
||||
// publication. A failed validation aborts load/reload
|
||||
// transactionally.
|
||||
std::function<bool(IPlugin&, const PluginInfo&)> instance_validator;
|
||||
// Binary-level contract checked immediately after the shared object
|
||||
// is opened and identified, before configuration, activation, state
|
||||
// transfer, or publication. Hosts can inspect optional exported
|
||||
// symbols through the pinned handle. A rejection is transactional:
|
||||
// initial loads are discarded and reloads keep the current
|
||||
// instance.
|
||||
std::function<bool(const PluginHandle&)> candidate_validator;
|
||||
};
|
||||
|
||||
// Identifies an on_reloaded observer for remove_on_reloaded.
|
||||
|
||||
Reference in new issue
Block a user