Message365691
For me, the most sane option is to make structures opaque in the C API, and then flexible array members.
I did something similar for atomic types. First, we got tons of build isssues with various C compilers and then with C++ compilers. I moved the header to our "internal C API", so basically I removed it from the public C API. Since that time, we stopped to get bug reports about pyatomic.h :-) |
|
Date |
User |
Action |
Args |
2020-04-03 12:08:15 | vstinner | set | recipients:
+ vstinner, gregory.p.smith, serhiy.storchaka, colesbury, pablogsal |
2020-04-03 12:08:15 | vstinner | set | messageid: <1585915695.41.0.402257087469.issue40120@roundup.psfhosted.org> |
2020-04-03 12:08:15 | vstinner | link | issue40120 messages |
2020-04-03 12:08:15 | vstinner | create | |
|