Added CL_API_ENTRY and CL_API_CALL tokens to GetFunctionNameAndType. Fixes parsing of 'cl.h'.

This commit is contained in:
the_fiddler 2009-08-09 15:23:35 +00:00
parent 2aba45a3d3
commit 142dd3b3a1

View file

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