34 строки
878 B
C#
34 строки
878 B
C#
using MonoManagedToNative.Generators;
|
|
|
|
namespace MonoManagedToNative
|
|
{
|
|
public class Options
|
|
{
|
|
public Options()
|
|
{
|
|
Project = new Project();
|
|
}
|
|
|
|
public Project Project;
|
|
|
|
// General options
|
|
public bool ShowHelpText;
|
|
public bool OutputDebug;
|
|
|
|
// Parser options
|
|
public bool IgnoreParseErrors;
|
|
|
|
// Generator options
|
|
public string LibraryName;
|
|
public GeneratorKind Language;
|
|
|
|
public string OutputNamespace;
|
|
public string OutputDir;
|
|
|
|
// If true, will use unmanaged->managed thunks to call managed methods.
|
|
// In this mode the JIT will generate specialized wrappers for marshaling
|
|
// which will be faster but also lead to higher memory consumption.
|
|
public bool UseUnmanagedThunks;
|
|
}
|
|
}
|