summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mapi/mapi_abi.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mapi/mapi_abi.py b/src/mapi/mapi_abi.py
index bb505561e7c..1ce3fd3f1e6 100644
--- a/src/mapi/mapi_abi.py
+++ b/src/mapi/mapi_abi.py
@@ -334,7 +334,8 @@ class ABIPrinter(object):
if not self.need_entry_point(ent):
continue
export = self.api_call if not ent.hidden else ''
- decls.append(self._c_decl(ent, prefix, True, export) + ';')
+ if not ent.hidden:
+ decls.append(self._c_decl(ent, prefix, True, export) + ';')
return "\n".join(decls)