* CppSpecWriter.cs: Move 3dfx namespace to T3dfx, since namespaces

may not start with a digit.
This commit is contained in:
the_fiddler 2010-12-05 11:32:49 +00:00
parent e8daa7bcfa
commit 5b4df1cdaa

View file

@ -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();