|
|
@ -6,7 +6,6 @@ using System.Linq; |
|
|
|
using CppSharp.AST; |
|
|
|
using CppSharp.AST; |
|
|
|
using CppSharp.AST.Extensions; |
|
|
|
using CppSharp.AST.Extensions; |
|
|
|
using CppSharp.Generators.CSharp; |
|
|
|
using CppSharp.Generators.CSharp; |
|
|
|
using CppSharp.Types; |
|
|
|
|
|
|
|
using Type = CppSharp.AST.Type; |
|
|
|
using Type = CppSharp.AST.Type; |
|
|
|
|
|
|
|
|
|
|
|
namespace CppSharp.Generators.CLI |
|
|
|
namespace CppSharp.Generators.CLI |
|
|
@ -19,9 +18,10 @@ namespace CppSharp.Generators.CLI |
|
|
|
public CLISources(BindingContext context, IEnumerable<TranslationUnit> units) |
|
|
|
public CLISources(BindingContext context, IEnumerable<TranslationUnit> units) |
|
|
|
: base(context, units) |
|
|
|
: base(context, units) |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public override string FileExtension { get { return "cpp"; } } |
|
|
|
|
|
|
|
|
|
|
|
public override void Process() |
|
|
|
public override void Process() |
|
|
|
{ |
|
|
|
{ |
|
|
|
PushBlock(BlockKind.Header); |
|
|
|
PushBlock(BlockKind.Header); |
|
|
@ -1228,7 +1228,5 @@ namespace CppSharp.Generators.CLI |
|
|
|
}).ToList(); |
|
|
|
}).ToList(); |
|
|
|
Write(string.Join(", ", names)); |
|
|
|
Write(string.Join(", ", names)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public override string FileExtension { get { return "cpp"; } } |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|