Browse Source

Fixed enum type print.

pull/13/head
marcos henrich 12 years ago
parent
commit
32428155e3
  1. 2
      src/Generator/Types/CppTypePrinter.cs

2
src/Generator/Types/CppTypePrinter.cs

@ -222,7 +222,7 @@ namespace CppSharp.Types @@ -222,7 +222,7 @@ namespace CppSharp.Types
public string VisitEnumDecl(Enumeration @enum)
{
return @enum.Name;
return string.Format("::{0}", @enum.QualifiedOriginalName);
}
public string VisitVariableDecl(Variable variable)

Loading…
Cancel
Save