Browse Source

Fixed the IsProcessed property to deal more robustly with declarations that are missing namespaces.

pull/1/head
triton 12 years ago
parent
commit
5d337b03c0
  1. 8
      src/Bridge/Declaration.cs

8
src/Bridge/Declaration.cs

@ -113,8 +113,12 @@ namespace CppSharp
{ {
get get
{ {
return !IgnoreFlags.HasFlag(IgnoreFlags.Processing) && var isProcessed = !IgnoreFlags.HasFlag(IgnoreFlags.Processing);
Namespace.IsProcessed;
if (Namespace == null)
return isProcessed;
return isProcessed && Namespace.IsProcessed;
} }
set set

Loading…
Cancel
Save