Browse Source

Used the correct return type when generating a v-table call.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
pull/470/head
Dimitar Dobrev 10 years ago
parent
commit
1d0b80b280
  1. 2
      src/Generator/Generators/CSharp/CSharpTextTemplate.cs

2
src/Generator/Generators/CSharp/CSharpTextTemplate.cs

@ -1450,7 +1450,7 @@ namespace CppSharp.Generators.CSharp @@ -1450,7 +1450,7 @@ namespace CppSharp.Generators.CSharp
var param = new Parameter
{
Name = Helpers.ReturnIdentifier,
QualifiedType = method.ReturnType
QualifiedType = method.OriginalReturnType
};
// Marshal the managed result to native

Loading…
Cancel
Save