projects
/
platform
/
upstream
/
gobject-introspection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b6512d
)
Bug 552067: Ignore functions with leading _
author
Colin Walters
<walters@src.gnome.org>
Sun, 14 Sep 2008 19:36:43 +0000
(19:36 +0000)
committer
Colin Walters
<walters@src.gnome.org>
Sun, 14 Sep 2008 19:36:43 +0000
(19:36 +0000)
* giscanner/glibtransformer.py: Ignore functions with
leading '_'.
svn path=/trunk/; revision=600
giscanner/glibtransformer.py
patch
|
blob
|
history
diff --git
a/giscanner/glibtransformer.py
b/giscanner/glibtransformer.py
index 7437a5bd9dad9a975a878ba939af961c271ff958..216667287137a3d2c376eacd209c95caeb3bf1f6 100644
(file)
--- a/
giscanner/glibtransformer.py
+++ b/
giscanner/glibtransformer.py
@@
-230,6
+230,8
@@
class GLibTransformer(object):
def _parse_function(self, func):
if func.symbol in SYMBOL_BLACKLIST:
return
+ if func.symbol.startswith('_'):
+ return
for regexp in SYMBOL_BLACKLIST_RE:
if regexp.match(func.symbol):
return