mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
codegen: Handle pointer types in is_type_ignored()
This ensures that if type X is ignored, then pointers to X (and pointers to pointers to X, etc.) are also ignored. Caveat: this also means that ignore-type should only be used with base types and not pointer types. Fixes #639293
This commit is contained in:
parent
21a885d462
commit
778159a685
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ class Overrides:
|
|||
return 0
|
||||
|
||||
def is_type_ignored(self, name):
|
||||
return name in self.type_ignores
|
||||
return name.rstrip('*') in self.type_ignores
|
||||
|
||||
def is_overriden(self, name):
|
||||
return self.overrides.has_key(name)
|
||||
|
|
Loading…
Reference in a new issue