Release 1.1.0 with transactional plugin validation

This commit is contained in:
faumaray committed 2026-08-01 17:59:57 +03:00
1 parent 4418374de7
commit cb58236538
6 files changed
+115 -4

No files matched your search

+7
View File
@@ -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.