Remove the search_func/user_data parameters to GstIndex::get_assoc_entry
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 30 May 2009 11:55:24 +0000 (13:55 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 30 May 2009 11:55:24 +0000 (13:55 +0200)
They're not used in any Index implementation and we can't use them
in C# either. This should work without problems because according to
C calling conventions the caller is responsible for preparing
the function arguments and cleaning up later. This only means that
func and user_data will contain invalid data now.

gstreamer-sharp/Gstreamer.metadata

index 55dc909..0e051f6 100644 (file)
   </add-node>
 
   <attr path="/api/namespace/object[@name='Index']/virtual_method[@cname='get_assoc_entry']/parameters/parameter[@name='func']" name="type">gpointer</attr>
+  <remove-node path="/api/namespace/object[@name='Index']/virtual_method[@cname='get_assoc_entry']/parameters/parameter[@name='func']" />
+  <remove-node path="/api/namespace/object[@name='Index']/virtual_method[@cname='get_assoc_entry']/parameters/parameter[@name='user_data']" />
   <attr path="/api/namespace/object[@name='Index']/property[@cname='resolver']" name="name">Method</attr>
   <attr path="/api/namespace/object[@name='Index']/property[@cname='resolver']" name="type">GstIndexResolverMethod</attr>
   <attr path="/api/namespace/object[@name='Index']/constructor[@cname='gst_index_new_group']" name="hidden">1</attr>