Browse Source

Considered renamable name-spaces which are not translation units.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
pull/190/head
Dimitar Dobrev 12 years ago
parent
commit
8439acdef5
  1. 1
      src/Generator/Passes/RenamePass.cs

1
src/Generator/Passes/RenamePass.cs

@ -40,6 +40,7 @@ namespace CppSharp.Passes @@ -40,6 +40,7 @@ namespace CppSharp.Passes
if (decl is Property) return true;
if (decl is Event) return true;
if (decl is TypedefDecl) return true;
if (decl is Namespace && !(decl is TranslationUnit)) return true;
return false;
}

Loading…
Cancel
Save