Browse Source

Ensured the internals of mapped classes are generated.

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

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

@ -336,9 +336,7 @@ namespace CppSharp.Generators.CSharp @@ -336,9 +336,7 @@ namespace CppSharp.Generators.CSharp
public void GenerateClass(Class @class)
{
TypeMap typeMap;
if (@class.IsIncomplete ||
(Driver.TypeDatabase.FindTypeMap(@class, out typeMap) && typeMap.DoesMarshalling))
if (@class.IsIncomplete)
return;
PushBlock(CSharpBlockKind.Class);

Loading…
Cancel
Save