|
|
@ -243,6 +243,7 @@ namespace CppSharp.Generators.CSharp |
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
instance = instance.Trim('*'); |
|
|
|
Context.SupportBefore.WriteLine( |
|
|
|
Context.SupportBefore.WriteLine( |
|
|
|
"CppSharp.Runtime.Helpers.memcpy({0}, new IntPtr(&{1}), new UIntPtr({2}));", |
|
|
|
"CppSharp.Runtime.Helpers.memcpy({0}, new IntPtr(&{1}), new UIntPtr({2}));", |
|
|
|
instanceName, instance, @class.Layout.Size); |
|
|
|
instanceName, instance, @class.Layout.Size); |
|
|
|