mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed dynamic Beef libs on Linux/macOS
This commit is contained in:
parent
455a0d0b46
commit
6e5b6694a1
10 changed files with 139 additions and 34 deletions
|
@ -719,7 +719,12 @@ String BfGNUMangler::Mangle(BfMethodInstance* methodInst)
|
|||
}
|
||||
|
||||
mangleContext.mPrefixObjectPointer = true;
|
||||
String methodName = methodInst->mMethodDef->mName;
|
||||
StringT<128> methodName = methodInst->mMethodDef->mName;
|
||||
for (int i = 0; i < (int)methodName.length(); i++)
|
||||
{
|
||||
if (methodName[i] == '@')
|
||||
methodName[i] = '$';
|
||||
}
|
||||
|
||||
if (methodInst->mMethodDef->mIsOperator)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue