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

Buffer typestring bug with external struct fields #675

Closed
robertwb opened this issue Nov 10, 2008 · 4 comments
Closed

Buffer typestring bug with external struct fields #675

robertwb opened this issue Nov 10, 2008 · 4 comments

Comments

@robertwb
Copy link
Contributor

This doesn't work:

cdef extern ... :
    ctypedef struct npy_clongdouble:
        float real
        float imag

...if npy_clongdouble is defined to have "long double" as the types of the fields in the header file. Cython should not make assumptions about the field sizes in this case.

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

@robertwb
Copy link
Contributor Author

@dagss changed priority from major to minor
commented

@robertwb
Copy link
Contributor Author

@dagss changed milestone from 0.11 to 0.11.1
commented

@robertwb
Copy link
Contributor Author

@dagss changed milestone from 0.11.1 to 0.11.2
commented

@robertwb
Copy link
Contributor Author

robertwb commented May 6, 2009

@dagss 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