Skip to content

Commit d704470

Browse files
authored
chore(gir-fixes): remove workarounds for false dependency loops (#161)
Closes #33 Fixed by https://codeberg.org/ziglang/zig/pulls/31403
1 parent 570e325 commit d704470

6 files changed

Lines changed: 0 additions & 185 deletions

File tree

gir-fixes/GLib-2.0.xslt

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,6 @@
1111
</xsl:copy>
1212
</xsl:template>
1313

14-
<xsl:template match="core:callback[@c:type='GHookFinalizeFunc']/core:parameters/core:parameter[@name='hook_list']/core:type">
15-
<!-- https://github.com/ianprime0509/zig-gobject/issues/33 -->
16-
<xsl:copy>
17-
<xsl:attribute name="name">gpointer</xsl:attribute>
18-
<xsl:attribute name="c:type">gpointer</xsl:attribute>
19-
</xsl:copy>
20-
</xsl:template>
21-
22-
<xsl:template match="core:callback[@c:type='GScannerMsgFunc']/core:parameters/core:parameter[@name='scanner']/core:type">
23-
<!-- https://github.com/ianprime0509/zig-gobject/issues/33 -->
24-
<xsl:copy>
25-
<xsl:attribute name="name">gpointer</xsl:attribute>
26-
<xsl:attribute name="c:type">gpointer</xsl:attribute>
27-
</xsl:copy>
28-
</xsl:template>
29-
3014
<xsl:template match="core:parameter/core:array/core:type">
3115
<xsl:variable name="paramName" select="../../@name"/>
3216
<xsl:variable name="doc" select="../../../../core:doc"/>

gir-fixes/GObject-2.0.xslt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,6 @@
1111
</xsl:copy>
1212
</xsl:template>
1313

14-
<xsl:template match="core:callback[@c:type='GClosureNotify']/core:parameters/core:parameter[@name='closure']/core:type">
15-
<!-- https://github.com/ianprime0509/zig-gobject/issues/33 -->
16-
<xsl:copy>
17-
<xsl:attribute name="name">gpointer</xsl:attribute>
18-
<xsl:attribute name="c:type">gpointer</xsl:attribute>
19-
</xsl:copy>
20-
</xsl:template>
21-
2214
<xsl:template match="core:function[@c:identifier='g_cclosure_new']/core:parameters/core:parameter[@name='destroy_data'] |
2315
core:function[@c:identifier='g_cclosure_new_swap']/core:parameters/core:parameter[@name='destroy_data']">
2416
<!-- https://github.com/ianprime0509/zig-gobject/issues/77 -->

gir-fixes/Gst-1.0.xslt

Lines changed: 0 additions & 90 deletions
This file was deleted.

gir-fixes/GstController-1.0.xslt

Lines changed: 0 additions & 29 deletions
This file was deleted.

gir-fixes/GstGLEGL-1.0.xslt

Lines changed: 0 additions & 21 deletions
This file was deleted.

gir-fixes/GstVideo-1.0.xslt

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)