Fixed GetString, GetShaderSource and ShaderSource signatures.

This commit is contained in:
the_fiddler 2009-07-15 22:31:28 +00:00
parent 90a9fe13e9
commit a356b69d85
6 changed files with 34 additions and 19 deletions

View file

@ -1,3 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<overrides> <overrides>
<function name="GetString" extension="Core">
<returns>String</returns>
</function>
</overrides> </overrides>

View file

@ -562,8 +562,8 @@
<param type="GLenum" name="pname" /> <param type="GLenum" name="pname" />
<param type="GLint" name="*params" /> <param type="GLint" name="*params" />
</function> </function>
<function name="IENTRY" extension="Core" profile="" category="1.0"> <function name="GetString" extension="Core" profile="" category="1.0">
<returns type="GLubyte" /> <returns type="GLubyte*" />
<param type="GLenum" name="name" /> <param type="GLenum" name="name" />
</function> </function>
<function name="Hint" extension="Core" profile="" category="1.0"> <function name="Hint" extension="Core" profile="" category="1.0">

View file

@ -1,3 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<overrides> <overrides>
<function name="GetString" extension="Core">
<returns>String</returns>
</function>
</overrides> </overrides>

View file

@ -498,7 +498,7 @@
<function name="GetClipPlanef" extension="Core" profile="" category="1.1"> <function name="GetClipPlanef" extension="Core" profile="" category="1.1">
<returns type="void" /> <returns type="void" />
<param type="GLenum" name="pname" /> <param type="GLenum" name="pname" />
<param type="GLfloat*" name="eqn" count="4" /> <param type="GLfloat*" name="eqn" elementcount="4" />
</function> </function>
<function name="GetFloatv" extension="Core" profile="" category="1.1"> <function name="GetFloatv" extension="Core" profile="" category="1.1">
<returns type="void" /> <returns type="void" />
@ -898,7 +898,7 @@
<function name="GetClipPlanex" extension="Core" profile="" category="1.1"> <function name="GetClipPlanex" extension="Core" profile="" category="1.1">
<returns type="void" /> <returns type="void" />
<param type="GLenum" name="pname" /> <param type="GLenum" name="pname" />
<param type="GLfixed*" name="eqn" count="4" /> <param type="GLfixed*" name="eqn" elementcount="4" />
</function> </function>
<function name="GenBuffers" extension="Core" profile="" category="1.1"> <function name="GenBuffers" extension="Core" profile="" category="1.1">
<returns type="void" /> <returns type="void" />
@ -940,7 +940,7 @@
<param type="GLenum" name="pname" /> <param type="GLenum" name="pname" />
<param type="void" name="**params" /> <param type="void" name="**params" />
</function> </function>
<function name="_APIENTRY" extension="Core" profile="" category="1.1"> <function name="GetString" extension="Core" profile="" category="1.1">
<returns type="GLubyte" /> <returns type="GLubyte" />
<param type="GLenum" name="name" /> <param type="GLenum" name="name" />
</function> </function>

View file

@ -1,3 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<overrides> <overrides>
</overrides> <function name="GetString" extension="Core">
<returns>String</returns>
</function>
<function name="ShaderSource" extension="Core">
<param name="string"><type>String*</type></param>
</function>
<function name="GetShaderSource" extension="Core">
<param name="source"><flow>out</flow></param>
</function>
</overrides>

View file

@ -14,10 +14,10 @@
</function> </function>
<function name="BlendFuncSeparate" extension="Core"> <function name="BlendFuncSeparate" extension="Core">
<param name="sfactorRGB"><type>BlendingFactorSrc</type></param> <param name="sfactorRGB"><type>BlendingFactorSrc</type></param>
<param name="dfactorRGB"><type>BlendingFactorDest</type></param> <param name="dfactorRGB"><type>BlendingFactorDest</type></param>
<param name="sfactorAlpha"><type>BlendingFactorSrc</type></param> <param name="sfactorAlpha"><type>BlendingFactorSrc</type></param>
<param name="dfactorAlpha"><type>BlendingFactorDest</type></param> <param name="dfactorAlpha"><type>BlendingFactorDest</type></param>
</function> </function>
<function name="FogCoordPointer" extension="Core"> <function name="FogCoordPointer" extension="Core">
@ -31,20 +31,20 @@
<!-- Version 1.5 --> <!-- Version 1.5 -->
<function name="BeginQuery" extension="Core"> <function name="BeginQuery" extension="Core">
<param name="target"><type>QueryTarget</type></param> <param name="target"><type>QueryTarget</type></param>
</function> </function>
<function name="EndQuery" extension="Core"> <function name="EndQuery" extension="Core">
<param name="target"><type>QueryTarget</type></param> <param name="target"><type>QueryTarget</type></param>
</function> </function>
<function name="GetQuery" extension="Core"> <function name="GetQuery" extension="Core">
<param name="target"><type>QueryTarget</type></param> <param name="target"><type>QueryTarget</type></param>
<param name="pname"><type>GetQueryParam</type></param> <param name="pname"><type>GetQueryParam</type></param>
</function> </function>
<function name="GetQueryObject" extension="Core"> <function name="GetQueryObject" extension="Core">
<param name="pname"><type>GetQueryObjectParam</type></param> <param name="pname"><type>GetQueryObjectParam</type></param>
</function> </function>
<function name="BindBuffer" extension="Core"> <function name="BindBuffer" extension="Core">
@ -215,7 +215,7 @@
</function> </function>
<function name="CheckFramebufferStatus" extension="Core"> <function name="CheckFramebufferStatus" extension="Core">
<return>FramebufferErrorCode</return> <returns>FramebufferErrorCode</returns>
</function> </function>
<function name="GenerateMipmap" extension="Core"> <function name="GenerateMipmap" extension="Core">
@ -367,7 +367,7 @@
</function> </function>
<function name="CheckFramebufferStatus" extension="Ext"> <function name="CheckFramebufferStatus" extension="Ext">
<return>FramebufferErrorCode</return> <returns>FramebufferErrorCode</returns>
</function> </function>
<function name="FramebufferTexture1D" extension="Ext"> <function name="FramebufferTexture1D" extension="Ext">