Browse Source

Fixed the generation of calls to members of nested classes.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
pull/64/head
Dimitar Dobrev 12 years ago
parent
commit
5d308dc7c3
  1. 2
      src/Generator/Generators/CSharp/CSharpMarshal.cs

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

@ -261,7 +261,7 @@ namespace CppSharp.Generators.CSharp
// Call the copy constructor. // Call the copy constructor.
Context.SupportBefore.WriteLine("{0}.Internal.{1}({2}, new global::System.IntPtr(&{3}));", Context.SupportBefore.WriteLine("{0}.Internal.{1}({2}, new global::System.IntPtr(&{3}));",
@class.QualifiedName, QualifiedIdentifier(@class),
CSharpTextTemplate.GetFunctionNativeIdentifier(copyCtorMethod), CSharpTextTemplate.GetFunctionNativeIdentifier(copyCtorMethod),
instanceName, instance); instanceName, instance);
} }

Loading…
Cancel
Save