Skip to content

Commit

Permalink
Fixed a bug causing internals of used specialisations to be skipped.
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
  • Loading branch information
ddobrev committed Jun 14, 2017
1 parent 4075ba7 commit f729414
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
9 changes: 9 additions & 0 deletions src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/Std.cs
Expand Up @@ -1227,6 +1227,15 @@ namespace Std
{
namespace __1
{
namespace Map
{
[StructLayout(LayoutKind.Explicit, Size = 12)]
public unsafe partial struct __Internal
{
[FieldOffset(0)]
internal global::Std.__1.Tree.__Internal __tree_;
}
}
}
}

Expand Down
Expand Up @@ -1227,6 +1227,15 @@ namespace Std
{
namespace __1
{
namespace Map
{
[StructLayout(LayoutKind.Explicit, Size = 24)]
public unsafe partial struct __Internal
{
[FieldOffset(0)]
internal global::Std.__1.Tree.__Internal __tree_;
}
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/Generator/AST/Utils.cs
Expand Up @@ -103,7 +103,7 @@ public static bool CheckIgnoreProperty(Property prop)
specialization.Arguments.Any(a => UnsupportedTemplateArgument(
specialization, a, typeMaps)))) ||
specialization.IsIncomplete ||
specialization.TemplatedDecl.TemplatedClass.IsIncomplete ||
(!internalOnly && specialization.TemplatedDecl.TemplatedClass.IsIncomplete) ||
specialization is ClassTemplatePartialSpecialization ||
container.Namespace == specialization)
return;
Expand Down

0 comments on commit f729414

Please sign in to comment.