Tools and libraries to glue C/C++ APIs to high-level languages
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
637 B

using System.Text;
using CppSharp.AST;
using CppSharp.Generators;
using CppSharp.Utils;
namespace CppSharp.Tests
{
public class UTF16Tests : GeneratorTest
{
public UTF16Tests(GeneratorKind kind)
: base("UTF16", kind)
{
}
public override void SetupPasses(Driver driver)
{
driver.Options.Encoding = Encoding.Unicode;
}
public override void Preprocess(Driver driver, ASTContext ctx)
{
}
public static void Main(string[] args)
{
ConsoleDriver.Run(new UTF16Tests(GeneratorKind.CSharp));
}
}
}