lua: add bindings for event / hook / dispatcher

This commit is contained in:
George Kiagiadakis
2022-01-20 21:50:52 +02:00
committed by Julian Bouzas
parent 9afd588d79
commit 60c5982cd0
2 changed files with 133 additions and 1 deletions

View File

@@ -196,6 +196,7 @@ SANDBOX_EXPORT = {
Log = WpLog,
Core = WpCore,
Plugin = WpPlugin,
EventDispatcher = WpEventDispatcher,
ObjectManager = WpObjectManager_new,
Interest = WpObjectInterest_new,
SessionItem = WpSessionItem_new,
@@ -211,5 +212,5 @@ SANDBOX_EXPORT = {
LocalModule = WpImplModule_new,
ImplMetadata = WpImplMetadata_new,
Settings = WpSettings,
I18n = I18n
SimpleEventHook = WpSimpleEventHook_new,
}