From 142dd3b3a1ef6c1e130ee2b6351fb2a571ef5de8 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sun, 9 Aug 2009 15:23:35 +0000 Subject: [PATCH] Added CL_API_ENTRY and CL_API_CALL tokens to GetFunctionNameAndType. Fixes parsing of 'cl.h'. --- Source/Converter/CHeaderToXML/ESCLParser.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Converter/CHeaderToXML/ESCLParser.cs b/Source/Converter/CHeaderToXML/ESCLParser.cs index f9b128ad..7f5c38e1 100644 --- a/Source/Converter/CHeaderToXML/ESCLParser.cs +++ b/Source/Converter/CHeaderToXML/ESCLParser.cs @@ -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;