mirror of
https://github.com/geode-sdk/geode.git
synced 2025-04-04 01:01:00 -04:00
fix mangles for entries
This commit is contained in:
parent
6b2ac24ccd
commit
5969c905a8
3 changed files with 6 additions and 6 deletions
loader/src/platform
|
@ -23,12 +23,12 @@ Result<> Mod::Impl::loadPlatformBinary() {
|
|||
}
|
||||
m_platformInfo = new PlatformInfo{so};
|
||||
|
||||
auto geodeImplicitEntry = findSymbolOrMangled<void(*)()>(so, "geodeImplicitEntry", "_geodeImplicitEntry@0");
|
||||
auto geodeImplicitEntry = findSymbolOrMangled<void(*)()>(so, "geodeImplicitEntry", "_Z17geodeImplicitEntryv");
|
||||
if (geodeImplicitEntry) {
|
||||
geodeImplicitEntry();
|
||||
}
|
||||
|
||||
auto geodeCustomEntry = findSymbolOrMangled<void(*)()>(so, "geodeCustomEntry", "_geodeCustomEntry@0");
|
||||
auto geodeCustomEntry = findSymbolOrMangled<void(*)()>(so, "geodeCustomEntry", "_Z15geodeCustomEntryv");
|
||||
if (geodeCustomEntry) {
|
||||
geodeCustomEntry();
|
||||
}
|
||||
|
|
|
@ -24,12 +24,12 @@ Result<> Mod::Impl::loadPlatformBinary() {
|
|||
}
|
||||
m_platformInfo = new PlatformInfo { dylib };
|
||||
|
||||
auto geodeImplicitEntry = findSymbolOrMangled<void(*)()>(dylib, "geodeImplicitEntry", "_geodeImplicitEntry@0");
|
||||
auto geodeImplicitEntry = findSymbolOrMangled<void(*)()>(dylib, "_geodeImplicitEntry", "__Z17geodeImplicitEntryv");
|
||||
if (geodeImplicitEntry) {
|
||||
geodeImplicitEntry();
|
||||
}
|
||||
|
||||
auto geodeCustomEntry = findSymbolOrMangled<void(*)()>(dylib, "geodeCustomEntry", "_geodeCustomEntry@0");
|
||||
auto geodeCustomEntry = findSymbolOrMangled<void(*)()>(dylib, "_geodeCustomEntry", "__Z15geodeCustomEntryv");
|
||||
if (geodeCustomEntry) {
|
||||
geodeCustomEntry();
|
||||
}
|
||||
|
|
|
@ -24,12 +24,12 @@ Result<> Mod::Impl::loadPlatformBinary() {
|
|||
}
|
||||
m_platformInfo = new PlatformInfo { dylib };
|
||||
|
||||
auto geodeImplicitEntry = findSymbolOrMangled<void(*)()>(dylib, "geodeImplicitEntry", "_geodeImplicitEntry@0");
|
||||
auto geodeImplicitEntry = findSymbolOrMangled<void(*)()>(dylib, "_geodeImplicitEntry", "__Z17geodeImplicitEntryv");
|
||||
if (geodeImplicitEntry) {
|
||||
geodeImplicitEntry();
|
||||
}
|
||||
|
||||
auto geodeCustomEntry = findSymbolOrMangled<void(*)()>(dylib, "geodeCustomEntry", "_geodeCustomEntry@0");
|
||||
auto geodeCustomEntry = findSymbolOrMangled<void(*)()>(dylib, "_geodeCustomEntry", "__Z15geodeCustomEntryv");
|
||||
if (geodeCustomEntry) {
|
||||
geodeCustomEntry();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue