Opentk/Source/Bind/Specifications/CL10/overrides.xml
the_fiddler 239d98e860 Added distinct /overrides/add and /overrides/replace elements.
Added check for the existence of override elements before trying to use them (avoids potential null reference exception).
Regenerated bindings using the latest version of the generator.
2009-10-17 21:49:35 +00:00

47 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<overrides>
<replace>
<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="CreateContextFromType" extension="Core">
<param name="errcode_ret"><type>ErrorCode</type></param>
</function>
<enum name="CommandQueuePropertiesFlags"><name>CommandQueueFlags</name></enum>
<enum name="CommandQueueProperties"><name>CommandQueueFlags</name></enum>
<function name="CreateBuffer" extension="Core">
<param name="errcode_ret"><type>ErrorCode</type></param>
</function>
<function name="CreateContextFromType" 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>
</replace>
</overrides>