Skip to content

Commit

Permalink
refactor: rename export load function
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Jul 23, 2024
1 parent b625155 commit 55867cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lse/Entry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
}

0 comments on commit 55867cb

Please sign in to comment.