Added translation from "const GLubyte*" to string and added support for struct keyword.

This commit is contained in:
the_fiddler 2010-11-19 09:14:20 +00:00
parent 0a53002ad3
commit 6f4aef89bf

View file

@ -358,6 +358,14 @@ namespace Bind.GL2
{
GLTypes.Add(words[0], "void");
}
else if (words[1] == "const" && words[2] == "GLubyte")
{
GLTypes.Add(words[0], "String");
}
else if (words[1] == "struct")
{
GLTypes.Add(words[0], words[2]);
}
else
{
GLTypes.Add(words[0], words[1]);