Ticket #115 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

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

Changed 6 years ago by dagss

  • priority changed from major to minor

Changed 6 years ago by dagss

  • milestone changed from 0.11 to 0.11.1

Changed 6 years ago by dagss

  • milestone changed from 0.11.1 to 0.11.2

Changed 5 years ago by dagss

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.