Browse Source

Merge pull request #470 from ddobrev/master

Used the correct return type when generating a v-table call
pull/471/head
João Matos 11 years ago
parent
commit
e12af1c813
  1. 2
      src/Generator/Generators/CSharp/CSharpTextTemplate.cs

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

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

Loading…
Cancel
Save