Opentk/Source/Converter
the_fiddler 68bf778718 * Source/OpenTK/OpenTK.csproj:
* Source/Bind/Generator.Bind.csproj:
* Source/Examples/OpenTK.Examples.csproj:
* Source/GLControl/OpenTK.GLControl.csproj:
* Source/Converter/Generator.Convert.csproj:
* Source/Build.UpdateVersion/Build.UpdateVersion.csproj: Normalized
"Documentation" configuration with "Release" configuration.
2010-11-02 17:39:43 +00:00
..
Headers Synced trunk with 1.0 branch. 2010-10-02 18:52:34 +00:00
Properties All projects now read common AssemblyInfo items from GlobalAssemblyInfo.cs. The various AssemblyInfo.cs files now only contain project-specific information. Assembly versions are now controlled by Build.UpdateVersion. 2010-10-04 21:37:33 +00:00
ESCLParser.cs Fixed an issue where "const unsigned [type] [pointer]" parameters where not parsed correctly. Solves issue [#1300]: "[OpenCL] Possible bug at CL.CreateProgramWithBinary". 2009-11-01 19:15:44 +00:00
Generator.Convert.csproj * Source/OpenTK/OpenTK.csproj: 2010-11-02 17:39:43 +00:00
Main.cs Fixed project layout (files should be at root of project, not inside a folder). 2009-09-06 09:35:11 +00:00
Options.cs Fixed project layout (files should be at root of project, not inside a folder). 2009-09-06 09:35:11 +00:00
Parser.cs Fixed project layout (files should be at root of project, not inside a folder). 2009-09-06 09:35:11 +00:00
Readme.txt Fixed mime-type and eol-style on Readme.txt. 2009-09-06 09:38:04 +00:00
XML schema notes.txt Fixed project layout (files should be at root of project, not inside a folder). 2009-09-06 09:35:11 +00:00

[Introduction]

This is a simple tool to convert C headers to XML files. It works using simple pattern matching - it does not actually parse the header files. For this reason, it will work with only a few, specific header files: ES and CL at this point.


[Usage]

CHeaderToXML.exe -p:{PREFIX} -v:{VERSION} {INPUT}
    {PREFIX} is a simple string that defines the a common prefix for functions and constants in this header. This prefix will be removed from the generated XML file.
    {VERSION} is a string that defines that version that will be used for functions in the generated XML file. Specific input files may override this setting.
    {INPUT} is a space-separated list of input files (headers).
    
Despite what the help says, all three parameters are necessary at the moment.


[Known issues]

OpenGL|ES 2.0: gl*Fence[s|iv]?NV fail to define parameters names. These have been added by hand (take care when updating the header file).


[Support]

If you encounter a bug, please file an issue report at http://www.opentk.com/issues

We will only accept bug reports for supported header files. This is not a generic tool and will fail to parse unsupported files.