mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +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
|
return 0
|
||||||
|
|
||||||
def is_type_ignored(self, name):
|
def is_type_ignored(self, name):
|
||||||
return name in self.type_ignores
|
return name.rstrip('*') in self.type_ignores
|
||||||
|
|
||||||
def is_overriden(self, name):
|
def is_overriden(self, name):
|
||||||
return self.overrides.has_key(name)
|
return self.overrides.has_key(name)
|
||||||
|
|
Loading…
Reference in a new issue