mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 14:08:56 +00:00
Do not ever try to generate managed structures
This commit is contained in:
parent
2f86ec02ed
commit
a7fd8d6cb5
2 changed files with 11 additions and 4 deletions
|
@ -55,7 +55,9 @@ if __name__ == "__main__":
|
||||||
'--glue-filename=' + opts.glue_file,
|
'--glue-filename=' + opts.glue_file,
|
||||||
'--gluelib-name=' + opts.glue_libname,
|
'--gluelib-name=' + opts.glue_libname,
|
||||||
'--glue-includes=' + opts.glue_includes,
|
'--glue-includes=' + opts.glue_includes,
|
||||||
'--assembly-name=' + opts.assembly_name,]
|
'--assembly-name=' + opts.assembly_name,
|
||||||
|
'--all-opaque',
|
||||||
|
]
|
||||||
|
|
||||||
if opts.schema:
|
if opts.schema:
|
||||||
cmd += ['--schema=' + opts.schema]
|
cmd += ['--schema=' + opts.schema]
|
||||||
|
|
|
@ -87,10 +87,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||||
</add-node>
|
</add-node>
|
||||||
<attr path="/api/namespace/boxed[@cname='GstIterator']/method[@cname='gst_iterator_next']" name="hidden">true</attr>
|
<attr path="/api/namespace/boxed[@cname='GstIterator']/method[@cname='gst_iterator_next']" name="hidden">true</attr>
|
||||||
<attr path="/api/namespace/boxed[@cname='GstIterator']/field[@cname='master_cookie']" name="type">guint32*</attr>
|
<attr path="/api/namespace/boxed[@cname='GstIterator']/field[@cname='master_cookie']" name="type">guint32*</attr>
|
||||||
<remove-node path="/api/namespace/boxed[@cname='GstStructure']/field[@cname='name']"/>
|
<attr path="/api/namespace/boxed[@cname='GstStructure']/field[@cname='name']" name="hidden">true</attr>
|
||||||
<!-- Fix for GstChildProxy -->
|
<!-- Fix for GstChildProxy -->
|
||||||
<attr path="/api/namespace/interface[@cname='GstChildProxy']/method[@cname='gst_child_proxy_get_property']" name="hidden">1</attr>
|
<attr path="/api/namespace/interface[@cname='GstChildProxy']/method[@cname='gst_child_proxy_get_property']" name="hidden">1</attr>
|
||||||
<attr path="/api/namespace/interface[@cname='GstChildProxy']/method[@cname='gst_child_proxy_set_property']" name="hidden">1</attr>
|
<attr path="/api/namespace/interface[@cname='GstChildProxy']/method[@cname='gst_child_proxy_set_property']" name="hidden">1</attr>
|
||||||
|
|
||||||
<!-- FIXME: array handling -->
|
<!-- FIXME: array handling -->
|
||||||
<attr path="/api/namespace/struct[@cname='GstRTCPPacket']/method[@cname='gst_rtcp_packet_sdes_copy_entry']" name="hidden">true</attr>
|
<attr path="/api/namespace/struct[@cname='GstRTCPPacket']/method[@cname='gst_rtcp_packet_sdes_copy_entry']" name="hidden">true</attr>
|
||||||
<attr path="/api/namespace/struct[@cname='GstRTCPPacket']/method[@cname='gst_rtcp_packet_sdes_get_entry']" name="hidden">true</attr>
|
<attr path="/api/namespace/struct[@cname='GstRTCPPacket']/method[@cname='gst_rtcp_packet_sdes_get_entry']" name="hidden">true</attr>
|
||||||
|
@ -101,6 +102,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||||
<attr path="/api/namespace/struct[@cname='GstFFTF32']/method[@cname='gst_fft_f32_fft']" name="hidden">true</attr>
|
<attr path="/api/namespace/struct[@cname='GstFFTF32']/method[@cname='gst_fft_f32_fft']" name="hidden">true</attr>
|
||||||
<attr path="/api/namespace/struct[@cname='GstFFTF32']/method[@cname='gst_fft_f32_window']" name="hidden">true</attr>
|
<attr path="/api/namespace/struct[@cname='GstFFTF32']/method[@cname='gst_fft_f32_window']" name="hidden">true</attr>
|
||||||
<attr path="//virtual_method[@cname='get_g_value_array']" name="hidden">true</attr>
|
<attr path="//virtual_method[@cname='get_g_value_array']" name="hidden">true</attr>
|
||||||
|
|
||||||
<!-- Maybe some problems with the name -->
|
<!-- Maybe some problems with the name -->
|
||||||
<remove-node path="/api/namespace/interface[@cname='GstURIHandler']/class_struct/method[@vm='get_type']" name="vm"/>
|
<remove-node path="/api/namespace/interface[@cname='GstURIHandler']/class_struct/method[@vm='get_type']" name="vm"/>
|
||||||
<remove-node path="/api/namespace/interface[@cname='GstURIHandler']/virtual_method[@cname='get_type']" name="hidden"/>
|
<remove-node path="/api/namespace/interface[@cname='GstURIHandler']/virtual_method[@cname='get_type']" name="hidden"/>
|
||||||
|
@ -115,12 +117,16 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
</add-node>
|
</add-node>
|
||||||
|
|
||||||
<!-- Some glue problems -->
|
<!-- Some glue problems -->
|
||||||
<attr path="/api/namespace/object[@cname='GstObject']/field[@cname='object']" name="hidden">true</attr>
|
<attr path="/api/namespace/object[@cname='GstObject']/field[@cname='object']" name="hidden">true</attr>
|
||||||
<attr path="/api/namespace/struct[@cname='GstClockEntry']/field[@cname='func']" name="hidden">true</attr>
|
<attr path="/api/namespace/struct[@cname='GstClockEntry']/field[@cname='func']" name="hidden">true</attr>
|
||||||
<attr path="/api/namespace/struct[@cname='GstClockEntry']/field[@cname='destroy_data']" name="hidden">true</attr>
|
<attr path="/api/namespace/struct[@cname='GstClockEntry']/field[@cname='destroy_data']" name="hidden">true</attr>
|
||||||
<attr path="/api/namespace/object[@cname='GstTask']/field[@cname='notify']" name="hidden">true</attr>
|
<attr path="/api/namespace/object[@cname='GstTask']/field[@cname='notify']" name="hidden">true</attr>
|
||||||
|
|
||||||
|
<!-- Hide structure callbacks -->
|
||||||
|
<attr path="/api/namespace/struct[@cname='GstDataQueueItem']/field[@cname='destroy']" name="hidden">true</attr>
|
||||||
|
|
||||||
<!-- hide user data; FIXME: already removed in 1.2 GIR file, remove when we update to this version -->
|
<!-- hide user data; FIXME: already removed in 1.2 GIR file, remove when we update to this version -->
|
||||||
<attr path="/api/namespace/object[@cname='GstBus']/method[@cname='gst_bus_sync_signal_handler']/parameters/parameter[@name='data']" name="hidden">1</attr>
|
<attr path="/api/namespace/object[@cname='GstBus']/method[@cname='gst_bus_sync_signal_handler']/parameters/parameter[@name='data']" name="hidden">1</attr>
|
||||||
|
|
||||||
|
@ -275,8 +281,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||||
<attr path="//constant[@name='SECOND']" name="ctype">gint64</attr>
|
<attr path="//constant[@name='SECOND']" name="ctype">gint64</attr>
|
||||||
<attr path="//constant[@name='MSECOND']" name="ctype">gint64</attr>
|
<attr path="//constant[@name='MSECOND']" name="ctype">gint64</attr>
|
||||||
<attr path="//method[parameters/parameter[contains(@type, 'Class*')]]" name="hidden">true</attr>
|
<attr path="//method[parameters/parameter[contains(@type, 'Class*')]]" name="hidden">true</attr>
|
||||||
<attr path="//struct[@cname='GstMapInfo']/field[@name='Data']" name="type">gpointer</attr>
|
<attr path="//struct[@cname='GstMapInfo']/field[@name='Data']" name="hidden">true</attr>
|
||||||
<attr path="//struct[@cname='GstMapInfo']/field[@name='Data']" name="array">false</attr>
|
|
||||||
<attr path="//method[@cname='gst_tag_list_copy_value']/parameters/parameter[@name='dest']" name="pass_as">ref</attr>
|
<attr path="//method[@cname='gst_tag_list_copy_value']/parameters/parameter[@name='dest']" name="pass_as">ref</attr>
|
||||||
<attr path="//object/field[@cname='parent']" name="hidden">true</attr>
|
<attr path="//object/field[@cname='parent']" name="hidden">true</attr>
|
||||||
<!-- buffer fixes -->
|
<!-- buffer fixes -->
|
||||||
|
|
Loading…
Reference in a new issue