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 d177be4b19
commit 09266240eb

View file

@ -274,9 +274,11 @@ namespace CHeaderToXML
// ignore // ignore
break; break;
case "GL_API": case "GL_API":
case "CL_API_ENTRY":
inRettype = true; inRettype = true;
break; break;
case "GL_APIENTRY": case "GL_APIENTRY":
case "CL_API_CALL":
inRettype = false; inRettype = false;
funcname = words [i+1].Substring(Prefix.Length); funcname = words [i+1].Substring(Prefix.Length);
quit = true; quit = true;