Commit 9a159276 authored by Grant Baillie's avatar Grant Baillie

Attempt to fix public enum values not being exported.

parent 81fe6792
......@@ -677,7 +677,10 @@ property NAME:
return None
def visit_CEnumDefNode(self, node):
return None
if node.visibility == 'public':
return node
else:
return None
def visit_CStructOrUnionDefNode(self, node):
return None
......
__doc__ = u"""
>>> BAR
3
"""
cdef public enum FOO:
BAR = 3
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