Added overrides for several OpenCL methods that return error codes (they returned plain integers previously).

Added overrides for problematic values in 'Unknown' enum.
Added overrides for string[] parameters.
This commit is contained in:
the_fiddler 2009-08-11 14:02:10 +00:00
parent 94afe0a8b9
commit 7149a0292b

View file

@ -1,4 +1,35 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<overrides> <overrides>
<enum name="Unknown">
<token name="CHAR_MAX"><value>127</value></token>
<token name="CHAR_MIN"><value>-128</value></token>
</enum>
<enum name="ErrorCodes"><name>ErrorCode</name></enum>
<enum name="DeviceType"><name>DeviceTypeFlags</name></enum>
<function name="CreateBuffer" extension="Core">
<param name="errcode_ret"><type>ErrorCode</type></param>
</function>
<function name="CreateCommandQueue" extension="Core">
<param name="errcode_ret"><type>ErrorCode</type></param>
</function>
<function name="CreateKernel" extension="Core">
<param name="errcode_ret"><type>ErrorCode</type></param>
</function>
<function name="CreateProgramWithBinary" extension="Core">
<param name="errcode_ret"><type>ErrorCode</type></param>
</function>
<function name="CreateProgramWithSource" extension="Core">
<param name="strings"><type>string[]</type></param>
<param name="errcode_ret"><type>ErrorCode</type></param>
</function>
</overrides> </overrides>