Added CL_API_ENTRY and CL_API_CALL tokens to GetFunctionNameAndType. Fixes parsing of 'cl.h'.
This commit is contained in:
parent
2aba45a3d3
commit
142dd3b3a1
1 changed files with 2 additions and 0 deletions
|
@ -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