mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-23 17:14:23 +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>
|
2007-04-04 Jan Schmidt <thaytan@mad.scientist.com>
|
||||||
|
|
||||||
* gst/common.h:
|
* gst/common.h:
|
||||||
|
|
|
@ -1394,11 +1394,15 @@ def write_extension_init(overrides, prefix, fp):
|
||||||
|
|
||||||
def write_registers(parser, overrides, fp):
|
def write_registers(parser, overrides, fp):
|
||||||
for boxed in parser.boxes:
|
for boxed in parser.boxes:
|
||||||
|
if overrides.is_type_ignored(boxed.c_name):
|
||||||
|
continue
|
||||||
fp.write(' pyg_register_boxed(d, "' + boxed.name +
|
fp.write(' pyg_register_boxed(d, "' + boxed.name +
|
||||||
'", ' + boxed.typecode +
|
'", ' + boxed.typecode +
|
||||||
', &Py' + boxed.c_name +
|
', &Py' + boxed.c_name +
|
||||||
'_Type);\n')
|
'_Type);\n')
|
||||||
for pointer in parser.pointers:
|
for pointer in parser.pointers:
|
||||||
|
if overrides.is_type_ignored(pointer.c_name):
|
||||||
|
continue
|
||||||
fp.write(' pyg_register_pointer(d, "' + pointer.name +
|
fp.write(' pyg_register_pointer(d, "' + pointer.name +
|
||||||
'", ' + pointer.typecode +
|
'", ' + pointer.typecode +
|
||||||
', &Py' + pointer.c_name + '_Type);\n')
|
', &Py' + pointer.c_name + '_Type);\n')
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
%%
|
%%
|
||||||
ignore
|
ignore
|
||||||
gst_type_find_new
|
gst_type_find_new
|
||||||
|
gst_type_find_factory_call_function
|
||||||
gst_element_seek_simple
|
gst_element_seek_simple
|
||||||
GST_FLOW_CUSTOM_SUCCESS
|
GST_FLOW_CUSTOM_SUCCESS
|
||||||
GST_FLOW_CUSTOM_ERROR
|
GST_FLOW_CUSTOM_ERROR
|
||||||
|
|
Loading…
Reference in a new issue