mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-03-08 10:10:00 +00:00
Added CL_API_ENTRY and CL_API_CALL tokens to GetFunctionNameAndType. Fixes parsing of 'cl.h'.
This commit is contained in:
parent
d177be4b19
commit
09266240eb
|
@ -274,9 +274,11 @@ namespace CHeaderToXML
|
|||
// ignore
|
||||
break;
|
||||
case "GL_API":
|
||||
case "CL_API_ENTRY":
|
||||
inRettype = true;
|
||||
break;
|
||||
case "GL_APIENTRY":
|
||||
case "CL_API_CALL":
|
||||
inRettype = false;
|
||||
funcname = words [i+1].Substring(Prefix.Length);
|
||||
quit = true;
|
||||
|
|
Loading…
Reference in a new issue