Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enum constant name mangling can't be disabled #743

Closed
robertwb opened this issue Jan 17, 2009 · 4 comments
Closed

Enum constant name mangling can't be disabled #743

robertwb opened this issue Jan 17, 2009 · 4 comments

Comments

@robertwb
Copy link
Contributor

When the following program is compiled, the .h output contains mangled names for the enum constants, but it shouldn't, due to the 'public' keyword:

cdef public enum Spam:
    ham
    spam

The attached patch fixes this by modifying a conditional in Scope.declare_const() to mirror the logic in other methods.

At 2009-01-17T05:12:19Z jasone added attachment declare_const.patch

Migrated from http://trac.cython.org/ticket/185

@robertwb
Copy link
Contributor Author

@robertwb changed resolution to fixed
status from new to closed
commented

@robertwb
Copy link
Contributor Author

@robertwb changed resolution from fixed to empty
status from closed to reopened
commented

@robertwb
Copy link
Contributor Author

@robertwb changed owner from somebody to jasone
status from reopened to new
commented

@robertwb
Copy link
Contributor Author

@robertwb changed resolution to fixed
status from new to closed
commented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant