From 55867cb5bed53b4b791517d172aff9f0a788a993 Mon Sep 17 00:00:00 2001 From: ShrBox Date: Tue, 23 Jul 2024 22:56:01 +0800 Subject: [PATCH] refactor: rename export load function --- src/lse/Entry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lse/Entry.cpp b/src/lse/Entry.cpp index 0da2640..4a06bdc 100644 --- a/src/lse/Entry.cpp +++ b/src/lse/Entry.cpp @@ -211,9 +211,9 @@ auto getSelfPluginInstance() -> ll::mod::NativeMod& { } // namespace lse extern "C" { -_declspec(dllexport) auto ll_plugin_load(ll::mod::NativeMod& self) -> bool { return lse::load(self); } +_declspec(dllexport) auto ll_mod_load(ll::mod::NativeMod& self) -> bool { return lse::load(self); } -_declspec(dllexport) auto ll_plugin_enable(ll::mod::NativeMod& self) -> bool { return lse::enable(self); } +_declspec(dllexport) auto ll_mod_enable(ll::mod::NativeMod& self) -> bool { return lse::enable(self); } // LegacyScriptEngine should not be disabled or unloaded currently. }