|
|
|
@ -1,4 +1,4 @@
@@ -1,4 +1,4 @@
|
|
|
|
|
using System; |
|
|
|
|
using System; |
|
|
|
|
using System.Collections.Generic; |
|
|
|
|
using System.Linq; |
|
|
|
|
using System.Text; |
|
|
|
@ -64,13 +64,13 @@ namespace CppSharp.Generators
@@ -64,13 +64,13 @@ namespace CppSharp.Generators
|
|
|
|
|
return base.Generate(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public virtual void GenerateFilePreamble(CommentKind kind) |
|
|
|
|
public virtual void GenerateFilePreamble(CommentKind kind, string generatorName = "CppSharp") |
|
|
|
|
{ |
|
|
|
|
var lines = new List<string> |
|
|
|
|
{ |
|
|
|
|
"----------------------------------------------------------------------------", |
|
|
|
|
"<auto-generated>", |
|
|
|
|
"This is autogenerated code by CppSharp.", |
|
|
|
|
$"This is autogenerated code by {generatorName}.", |
|
|
|
|
"Do not edit this file or all your changes will be lost after re-generation.", |
|
|
|
|
"</auto-generated>", |
|
|
|
|
"----------------------------------------------------------------------------" |
|
|
|
|