* CppSpecWriter.cs: Move 3dfx namespace to T3dfx, since namespaces
may not start with a digit.
This commit is contained in:
parent
e8daa7bcfa
commit
5b4df1cdaa
1 changed files with 8 additions and 0 deletions
|
@ -57,6 +57,14 @@ namespace Bind
|
|||
if (!Directory.Exists(Settings.OutputPath))
|
||||
Directory.CreateDirectory(Settings.OutputPath);
|
||||
|
||||
// Hack: Fix 3dfx extension category so it doesn't start with a digit
|
||||
if (wrappers.ContainsKey("3dfx"))
|
||||
{
|
||||
var three_dee_fx = wrappers["3dfx"];
|
||||
wrappers.Remove("3dfx");
|
||||
wrappers.Add("T3dfx", three_dee_fx);
|
||||
}
|
||||
|
||||
Settings.DefaultOutputNamespace = "OpenTK";
|
||||
|
||||
string temp_header_file = Path.GetTempFileName();
|
||||
|
|
Loading…
Reference in a new issue