gobject-introspection r600 - trunk/giscanner



Author: walters
Date: Sun Sep 14 19:36:43 2008
New Revision: 600
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=600&view=rev

Log:
Bug 552067: Ignore functions with leading _

	* giscanner/glibtransformer.py: Ignore functions with
	leading '_'.


Modified:
   trunk/giscanner/glibtransformer.py

Modified: trunk/giscanner/glibtransformer.py
==============================================================================
--- trunk/giscanner/glibtransformer.py	(original)
+++ trunk/giscanner/glibtransformer.py	Sun Sep 14 19:36:43 2008
@@ -230,6 +230,8 @@
     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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]