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:
Edward Hervey 2007-04-04 12:57:32 +00:00
parent 53d563a1a0
commit 605a8acde5
3 changed files with 13 additions and 0 deletions

View file

@ -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:

View file

@ -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')

View file

@ -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