mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-23 02:39:00 +00:00
Removed unused code.
This commit is contained in:
parent
2e0466154d
commit
794a146df8
|
@ -23,7 +23,6 @@ namespace Bind.Structures
|
||||||
{
|
{
|
||||||
//internal static DelegateCollection Delegates;
|
//internal static DelegateCollection Delegates;
|
||||||
|
|
||||||
private static bool delegatesLoaded;
|
|
||||||
bool? cls_compliance_overriden;
|
bool? cls_compliance_overriden;
|
||||||
|
|
||||||
protected static Regex endings = new Regex(@"((((d|f|fi)|u?[isb])_?v?)|v)", RegexOptions.Compiled | RegexOptions.RightToLeft);
|
protected static Regex endings = new Regex(@"((((d|f|fi)|u?[isb])_?v?)|v)", RegexOptions.Compiled | RegexOptions.RightToLeft);
|
||||||
|
@ -34,34 +33,6 @@ namespace Bind.Structures
|
||||||
// The default Regex matches no functions. Create a new Regex in Bind.Generator classes to override the default behavior.
|
// The default Regex matches no functions. Create a new Regex in Bind.Generator classes to override the default behavior.
|
||||||
internal static Regex endingsAddV = new Regex("^0", RegexOptions.Compiled);
|
internal static Regex endingsAddV = new Regex("^0", RegexOptions.Compiled);
|
||||||
|
|
||||||
|
|
||||||
#region internal static void Initialize(string glSpec, string glSpecExt)
|
|
||||||
|
|
||||||
internal static DelegateCollection Initialize(string glSpec, string glSpecExt)
|
|
||||||
{
|
|
||||||
DelegateCollection delegates = new DelegateCollection();
|
|
||||||
using (StreamReader sr = Utilities.OpenSpecFile(Settings.InputPath, glSpec))
|
|
||||||
{
|
|
||||||
delegates = MainClass.Generator.ReadDelegates(sr);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!String.IsNullOrEmpty(glSpecExt))
|
|
||||||
{
|
|
||||||
using (StreamReader sr = Utilities.OpenSpecFile(Settings.InputPath, glSpecExt))
|
|
||||||
{
|
|
||||||
foreach (Delegate d in MainClass.Generator.ReadDelegates(sr).Values)
|
|
||||||
{
|
|
||||||
Utilities.Merge(delegates, d);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
delegatesLoaded = true;
|
|
||||||
|
|
||||||
return delegates;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region --- Constructors ---
|
#region --- Constructors ---
|
||||||
|
|
||||||
public Delegate()
|
public Delegate()
|
||||||
|
|
|
@ -19,7 +19,6 @@ namespace Bind.Structures
|
||||||
{
|
{
|
||||||
static StringBuilder translator = new StringBuilder();
|
static StringBuilder translator = new StringBuilder();
|
||||||
string _name, _type;
|
string _name, _type;
|
||||||
static bool enumsLoaded;
|
|
||||||
|
|
||||||
// Returns true if the enum contains a collection of flags, i.e. 1, 2, 4, 8, ...
|
// Returns true if the enum contains a collection of flags, i.e. 1, 2, 4, 8, ...
|
||||||
public bool IsFlagCollection
|
public bool IsFlagCollection
|
||||||
|
|
|
@ -16,7 +16,6 @@ namespace Bind.Structures
|
||||||
#region Fields
|
#region Fields
|
||||||
|
|
||||||
Delegate wrapped_delegate;
|
Delegate wrapped_delegate;
|
||||||
int index;
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue