mirror of https://github.com/mono/CppSharp.git
c-sharpdotnetmonobindingsbridgecclangcpluspluscppsharpglueinteropparserparsingpinvokeswigsyntax-treevisitorsxamarinxamarin-bindings
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
693 B
30 lines
693 B
using CppSharp.AST; |
|
using CppSharp.Generators; |
|
using CppSharp.Utils; |
|
|
|
namespace CppSharp.Tests |
|
{ |
|
public class CLITemp : GeneratorTest |
|
{ |
|
public CLITemp(GeneratorKind kind) |
|
: base("CLITemp", kind) |
|
{ |
|
} |
|
|
|
public override void Setup(Driver driver) |
|
{ |
|
driver.Options.GenerateFinalizers = true; |
|
driver.Options.GenerateObjectOverrides = true; |
|
base.Setup(driver); |
|
} |
|
|
|
public override void Preprocess(Driver driver, ASTContext ctx) |
|
{ |
|
} |
|
|
|
public static void Main(string[] args) |
|
{ |
|
ConsoleDriver.Run(new CLITemp(GeneratorKind.CLI)); |
|
} |
|
} |
|
}
|
|
|