Commented-out unneeded call to Translate() method.

This commit is contained in:
the_fiddler 2007-11-10 10:26:04 +00:00
parent 0c3e912dd4
commit c3f3b2728b
4 changed files with 9 additions and 6 deletions

View file

@ -71,7 +71,7 @@ namespace Bind.GL2
// Process enums and delegates - create wrappers.
Trace.WriteLine("Processing specs, please wait...");
this.Translate();
//this.Translate();
this.WriteBindings(
Bind.Structures.Delegate.Delegates,
@ -82,12 +82,12 @@ namespace Bind.GL2
#endregion
#region private void Translate()
#if false
protected virtual void Translate()
{
Bind.Structures.Enum.GLEnums.Translate();
}
#endif
#endregion
#region ISpecReader Members
@ -404,6 +404,9 @@ namespace Bind.GL2
if (words.Length < 2)
continue;
if (((Settings.Compatibility & Settings.Legacy.NoBoolParameters) != Settings.Legacy.None) && words[1] == "bool")
words[1] = "Int32";
CSTypes.Add(words[0], words[1]);
}

View file

@ -61,7 +61,7 @@ namespace Bind.Glu
// Process enums and delegates - create wrappers.
Trace.WriteLine("Processing specs, please wait...");
this.Translate();
//this.Translate();
this.WriteBindings(
Bind.Structures.Delegate.Delegates,

View file

@ -57,7 +57,7 @@ namespace Bind.Glx
// Process enums and delegates - create wrappers.
Trace.WriteLine("Processing specs, please wait...");
this.Translate();
//this.Translate();
this.WriteBindings(
Bind.Structures.Delegate.Delegates,

View file

@ -58,7 +58,7 @@ namespace Bind.Wgl
// Process enums and delegates - create wrappers.
Trace.WriteLine("Processing specs, please wait...");
this.Translate();
//this.Translate();
this.WriteBindings(
Bind.Structures.Delegate.Delegates,