mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 16:05:29 +00:00
Added EnumPrefix setting, which may be different from ConstantPrefix or FunctionPrefix. Can be used to remove the Gl, Cl, Al, etc prefixes from enum names.
This commit is contained in:
parent
2fd96cc706
commit
cb41426473
|
@ -33,6 +33,7 @@ namespace Bind
|
||||||
public static string OutputClass = "GL"; // The real output class. Can be set through -class:"xxx".
|
public static string OutputClass = "GL"; // The real output class. Can be set through -class:"xxx".
|
||||||
public static string FunctionPrefix = "gl";
|
public static string FunctionPrefix = "gl";
|
||||||
public static string ConstantPrefix = "GL_";
|
public static string ConstantPrefix = "GL_";
|
||||||
|
public static string EnumPrefix = "";
|
||||||
|
|
||||||
// TODO: This code is too fragile.
|
// TODO: This code is too fragile.
|
||||||
// Old enums code:
|
// Old enums code:
|
||||||
|
@ -124,6 +125,8 @@ namespace Bind
|
||||||
NoDropMultipleTokens = 0x200,
|
NoDropMultipleTokens = 0x200,
|
||||||
/// <summary>Do not emit inline documentation.</summary>
|
/// <summary>Do not emit inline documentation.</summary>
|
||||||
NoDocumentation = 0x400,
|
NoDocumentation = 0x400,
|
||||||
|
/// <summary>Disables ErrorHelper generation.</summary>
|
||||||
|
NoDebugHelpers = 0x800,
|
||||||
Tao = ConstIntEnums |
|
Tao = ConstIntEnums |
|
||||||
NoAdvancedEnumProcessing |
|
NoAdvancedEnumProcessing |
|
||||||
NoPublicUnsafeFunctions |
|
NoPublicUnsafeFunctions |
|
||||||
|
@ -134,7 +137,8 @@ namespace Bind
|
||||||
NestedEnums |
|
NestedEnums |
|
||||||
NoBoolParameters |
|
NoBoolParameters |
|
||||||
NoDropMultipleTokens |
|
NoDropMultipleTokens |
|
||||||
NoDocumentation
|
NoDocumentation |
|
||||||
|
NoDebugHelpers
|
||||||
/*GenerateAllPermutations,*/
|
/*GenerateAllPermutations,*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue