Ticket #115 (closed defect: fixed)
Buffer typestring bug with external struct fields
| Reported by: | dagss | Owned by: | dagss |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.11.2 |
| Component: | Code Generation | Keywords: | numerics buffers |
| Cc: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.
