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.
 
 
 
 
 

16 lines
469 B

using CppSharp.AST;
using System.Collections.Generic;
namespace CppSharp.Generators.Registrable
{
public abstract class RegistrableCodeGenerator<TGenerator> : CodeGenerator
where TGenerator : Generator
{
public TGenerator Generator { get; set; }
public RegistrableCodeGenerator(TGenerator generator, IEnumerable<TranslationUnit> units) : base(generator.Context, units)
{
Generator = generator;
}
}
}