Include original type of the fields in blittable struct in comments
This commit is contained in:
@@ -1577,7 +1577,7 @@ namespace Flax.Build.Bindings
|
||||
}
|
||||
//else if (type == "Guid")
|
||||
// type = "GuidNative";
|
||||
structContents.Append(type).Append(' ').Append(fieldInfo.Name).Append(';').AppendLine();
|
||||
structContents.Append($"{type} {fieldInfo.Name};").Append(type == "IntPtr" ? $" // {originalType}" : "").AppendLine();
|
||||
}
|
||||
|
||||
// Generate struct constructor/getter and deconstructor/setter function
|
||||
|
||||
Reference in New Issue
Block a user