Generate legacy overloads for EdgeFlagv

This commit is contained in:
Fraser Waters 2017-10-05 12:37:02 +01:00
parent ffa26fb204
commit bb456e47a8
2 changed files with 5 additions and 7 deletions

View file

@ -1686,6 +1686,10 @@
</param>
</function>
<!-- For backwards compatibility -->
<function name="EdgeFlagv" extension="Core">
<param name="flag" legacyArrayParameter="true" />
</function>
</replace>
<overload name="glcore">
@ -1860,11 +1864,6 @@
<type>BeginMode</type>
</param>
</function>
<function name="EdgeFlagv" extension="Core" obsolete="Use ref overload instead">
<param name="flag">
<count>0</count>
</param>
</function>
<function name="GetObjectLabel" extension="Core">
<param name="length">
<count>0</count>

View file

@ -39011,7 +39011,7 @@ namespace OpenTK.Graphics.OpenGL
/// <param name="flag">[length: 1]
/// Specifies the current edge flag value, either True or False. The initial value is True.
/// </param>
[Obsolete("Use ref overload instead")]
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEdgeFlagv")]
[CLSCompliant(false)]
public static void EdgeFlag([CountAttribute(Count = 1)] bool[] flag) { throw new BindingsNotRewrittenException(); }
@ -39022,7 +39022,6 @@ namespace OpenTK.Graphics.OpenGL
/// <param name="flag">[length: 1]
/// Specifies the current edge flag value, either True or False. The initial value is True.
/// </param>
[Obsolete("Use ref overload instead")]
[AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEdgeFlagv")]
[CLSCompliant(false)]
public static unsafe void EdgeFlag([CountAttribute(Count = 1)] bool* flag) { throw new BindingsNotRewrittenException(); }