mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-13 19:44:10 +00:00
codegen/codegen.py: Also ignore pointers and boxed if they're in ignore-type.
Original commit message from CVS: * codegen/codegen.py: Also ignore pointers and boxed if they're in ignore-type. * gst/gst-0.10.7.ignore: Add gst_type_find_factory_call_function to functions ignored before 0.10.7 since it requires GstTypeFind arguments.
This commit is contained in:
parent
53d563a1a0
commit
605a8acde5
3 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
2007-04-04 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* codegen/codegen.py:
|
||||
Also ignore pointers and boxed if they're in ignore-type.
|
||||
* gst/gst-0.10.7.ignore:
|
||||
Add gst_type_find_factory_call_function to functions ignored before
|
||||
0.10.7 since it requires GstTypeFind arguments.
|
||||
|
||||
2007-04-04 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* gst/common.h:
|
||||
|
|
|
@ -1394,11 +1394,15 @@ def write_extension_init(overrides, prefix, fp):
|
|||
|
||||
def write_registers(parser, overrides, fp):
|
||||
for boxed in parser.boxes:
|
||||
if overrides.is_type_ignored(boxed.c_name):
|
||||
continue
|
||||
fp.write(' pyg_register_boxed(d, "' + boxed.name +
|
||||
'", ' + boxed.typecode +
|
||||
', &Py' + boxed.c_name +
|
||||
'_Type);\n')
|
||||
for pointer in parser.pointers:
|
||||
if overrides.is_type_ignored(pointer.c_name):
|
||||
continue
|
||||
fp.write(' pyg_register_pointer(d, "' + pointer.name +
|
||||
'", ' + pointer.typecode +
|
||||
', &Py' + pointer.c_name + '_Type);\n')
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
%%
|
||||
ignore
|
||||
gst_type_find_new
|
||||
gst_type_find_factory_call_function
|
||||
gst_element_seek_simple
|
||||
GST_FLOW_CUSTOM_SUCCESS
|
||||
GST_FLOW_CUSTOM_ERROR
|
||||
|
|
Loading…
Reference in a new issue