_freemanaged dllexport used
This commit is contained in:
@@ -3137,7 +3137,8 @@ namespace Flax.Build.Bindings
|
||||
header.Append(" for (int32 i = 0; i < result.Length(); i++)").AppendLine();
|
||||
header.Append(" result[i] = ToNative(dataPtr[i]);").AppendLine();
|
||||
header.Append(" }").AppendLine();
|
||||
header.AppendFormat(" void FreeManaged(MObject* data)", fullName).AppendLine();
|
||||
|
||||
header.AppendFormat(" DLLEXPORT USED void FreeManaged(MObject* data)", fullName).AppendLine();
|
||||
header.Append(" {").AppendLine();
|
||||
//header.AppendFormat(" auto managed = MCore::Object::Unbox(data);", wrapperName).AppendLine();
|
||||
//header.AppendFormat(" ::FreeManaged(*reinterpret_cast<{0}*>(managed));", wrapperName).AppendLine();
|
||||
@@ -3337,7 +3338,7 @@ namespace Flax.Build.Bindings
|
||||
header.AppendFormat(" Unbox(result[i], dataPtr[i]);", fullName).AppendLine();
|
||||
header.Append(" }").AppendLine();
|
||||
|
||||
header.AppendFormat(" void FreeManaged(MObject* data) // honk1", fullName).AppendLine();
|
||||
header.AppendFormat(" DLLEXPORT USED void FreeManaged(MObject* data) // honk1", fullName).AppendLine();
|
||||
header.Append(" {").AppendLine();
|
||||
//header.Append(" ::FreeManaged(reinterpret_cast<OnlineUserManaged*>(MCore::Object::Unbox(data)));").AppendLine();
|
||||
header.Append(" }").AppendLine();
|
||||
|
||||
Reference in New Issue
Block a user