diff options
author | Colin Walters <walters@verbum.org> | 2009-02-23 23:04:35 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2009-02-24 14:23:37 -0500 |
commit | f3f8de20114405bae29a354d67c38a7bf0b096a2 (patch) | |
tree | ae6a6917db11c909f84771da264f7f5930154d09 /giscanner/sourcescanner.py | |
parent | 7bd4bc6807dc829f6e8ea4db1b58a85e365b8b97 (diff) | |
download | gobject-introspection-f3f8de20114405bae29a354d67c38a7bf0b096a2.tar.gz |
Bug 572790 - Don't register #defines from .c files as constants
We keep track of the source filename for every symbol. This enables
us to later filter symbols based on that name.
Diffstat (limited to 'giscanner/sourcescanner.py')
-rw-r--r-- | giscanner/sourcescanner.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/giscanner/sourcescanner.py b/giscanner/sourcescanner.py index 56aac93e..30e624bb 100644 --- a/giscanner/sourcescanner.py +++ b/giscanner/sourcescanner.py @@ -179,6 +179,10 @@ class SourceSymbol(object): if self._symbol.base_type is not None: return SourceType(self._scanner, self._symbol.base_type) + @property + def source_filename(self): + return self._symbol.source_filename + class SourceScanner(object): |