summaryrefslogtreecommitdiff
path: root/docs/apibuild.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/apibuild.py')
-rwxr-xr-xdocs/apibuild.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/apibuild.py b/docs/apibuild.py
index 648036ff58..b1a9d41812 100755
--- a/docs/apibuild.py
+++ b/docs/apibuild.py
@@ -240,6 +240,11 @@ class index:
self.references = {}
self.info = {}
+ def warning(self, msg):
+ global warnings
+ warnings = warnings + 1
+ print msg
+
def add_ref(self, name, header, module, static, type, lineno, info=None, extra=None, conditionals = None):
if name[0:2] == '__':
return None