Commit 40fe046a authored by Robert Bradshaw's avatar Robert Bradshaw

Public should not imply extern.

parent a62a91dd
......@@ -992,7 +992,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
if entry.inline_func_in_pxd or (not entry.in_cinclude and (definition
or entry.defined_in_pxd or entry.visibility == 'extern')):
if entry.visibility == 'public':
storage_class = "%s " % Naming.extern_c_macro
storage_class = ""
dll_linkage = "DL_EXPORT"
elif entry.visibility == 'extern':
storage_class = "%s " % Naming.extern_c_macro
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment