|
|
|
@ -113,9 +113,9 @@ namespace CppSharp.Generators.CLI
@@ -113,9 +113,9 @@ namespace CppSharp.Generators.CLI
|
|
|
|
|
var translationUnit = decl.Namespace.TranslationUnit; |
|
|
|
|
|
|
|
|
|
if (translationUnit.IsSystemHeader) |
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
if(!decl.IsDeclared) |
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
if (!decl.IsGenerated) |
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
if(IsBuiltinTypedef(decl)) |
|
|
|
@ -139,9 +139,6 @@ namespace CppSharp.Generators.CLI
@@ -139,9 +139,6 @@ namespace CppSharp.Generators.CLI
|
|
|
|
|
|
|
|
|
|
private string GetIncludePath(TranslationUnit translationUnit) |
|
|
|
|
{ |
|
|
|
|
if (!translationUnit.IsGenerated) |
|
|
|
|
return DriverOptions.NoGenIncludePrefix + translationUnit.FileRelativePath; |
|
|
|
|
|
|
|
|
|
if (!DriverOptions.UseHeaderDirectories) |
|
|
|
|
return translationUnit.FileName; |
|
|
|
|
|
|
|
|
|