summaryrefslogtreecommitdiffstats
path: root/src/mapi/mapi_abi.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapi/mapi_abi.py')
-rw-r--r--src/mapi/mapi_abi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/mapi_abi.py b/src/mapi/mapi_abi.py
index 4293cc0c6c2..8b436638d2b 100644
--- a/src/mapi/mapi_abi.py
+++ b/src/mapi/mapi_abi.py
@@ -265,7 +265,7 @@ class ABIPrinter(object):
if not self.need_entry_point(ent):
continue
export = self.api_call if not ent.hidden else ''
- if not ent.hidden:
+ if not ent.hidden or not self.lib_need_non_hidden_entries:
decls.append(self._c_decl(ent, prefix, True, export) + ';')
return "\n".join(decls)