mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 19:15:39 +00:00
Added setting for legacy overload generation.
This commit is contained in:
parent
9edbab71de
commit
7beae7311b
|
@ -97,6 +97,7 @@ namespace Bind
|
|||
Settings.Compatibility |= b[1].ToLower().Contains("enums") ? Settings.Legacy.NoAdvancedEnumProcessing : Settings.Legacy.None;
|
||||
Settings.Compatibility |= b[1].ToLower().Contains("safe") ? Settings.Legacy.NoPublicUnsafeFunctions : Settings.Legacy.None;
|
||||
//Settings.Compatibility |= b[1].ToLower().Contains("novoid") ? Settings.Legacy.TurnVoidPointersToIntPtr : Settings.Legacy.None;
|
||||
Settings.Compatibility |= b[1].ToLower().Contains("permutations") ? Settings.Legacy.GenerateAllPermutations : Settings.Legacy.None;
|
||||
break;
|
||||
case "enum":
|
||||
Settings.NestedEnumsClass = b[1];
|
||||
|
|
|
@ -39,7 +39,7 @@ namespace Bind
|
|||
|
||||
public static string AuxEnumsClass
|
||||
{
|
||||
get { return GLClass + NestedEnumsClass; }
|
||||
get { return GLClass + "." + NestedEnumsClass; }
|
||||
}
|
||||
|
||||
public static string DelegatesClass = "Delegates";
|
||||
|
@ -63,7 +63,8 @@ namespace Bind
|
|||
NoTrimFunctionPrefix = 0x08,
|
||||
NoSeparateFunctionNamespaces = 0x10,
|
||||
TurnVoidPointersToIntPtr = 0x20,
|
||||
Tao = ConstIntEnums | NoAdvancedEnumProcessing | NoPublicUnsafeFunctions | NoTrimFunctionEnding | NoTrimFunctionPrefix | NoSeparateFunctionNamespaces | TurnVoidPointersToIntPtr,
|
||||
GenerateAllPermutations = 0x40,
|
||||
Tao = ConstIntEnums | NoAdvancedEnumProcessing | NoPublicUnsafeFunctions | NoTrimFunctionEnding | NoTrimFunctionPrefix | NoSeparateFunctionNamespaces | TurnVoidPointersToIntPtr | GenerateAllPermutations,
|
||||
}
|
||||
|
||||
public static string WindowsGDI = "OpenTK.Platform.Windows.API";
|
||||
|
|
Loading…
Reference in a new issue