mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 15:25:31 +00:00
Allow spaces in pointer types (e.g. "GLchar * *").
Added todo for string->String translation that is overwritten immediately.
This commit is contained in:
parent
06d2de3e7b
commit
078a1e8443
|
@ -108,7 +108,7 @@ namespace Bind.Structures
|
|||
|
||||
while (type.EndsWith("*"))
|
||||
{
|
||||
type = type.Substring(0, type.Length - 1);
|
||||
type = type.Substring(0, type.Length - 1).Trim();
|
||||
Pointer++;
|
||||
}
|
||||
}
|
||||
|
@ -379,10 +379,13 @@ namespace Bind.Structures
|
|||
}
|
||||
else
|
||||
{
|
||||
// Todo: what is the point of this here? It is overwritten below.
|
||||
// A few translations for consistency
|
||||
switch (CurrentType.ToLower())
|
||||
{
|
||||
case "string": QualifiedType = "String"; break;
|
||||
case "string":
|
||||
QualifiedType = "String";
|
||||
break;
|
||||
}
|
||||
|
||||
QualifiedType = s;
|
||||
|
|
Loading…
Reference in a new issue