Fix managed wrapper function parameter handling for BytesContainer
This commit is contained in:
@@ -949,7 +949,7 @@ namespace Flax.Build.Bindings
|
|||||||
|
|
||||||
// BytesContainer
|
// BytesContainer
|
||||||
if (typeInfo.Type == "BytesContainer" && typeInfo.GenericArgs == null)
|
if (typeInfo.Type == "BytesContainer" && typeInfo.GenericArgs == null)
|
||||||
return "MUtils::ToArray({0})";
|
return $"MUtils::ToArray({value})";
|
||||||
|
|
||||||
// Construct native typename for MUtils template argument
|
// Construct native typename for MUtils template argument
|
||||||
var nativeType = new StringBuilder(64);
|
var nativeType = new StringBuilder(64);
|
||||||
|
|||||||
Reference in New Issue
Block a user