This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
[Description of PR](https://github.com/pybind/pybind11/pull/3544) | |
It is not sure whether the PR will be merged, | |
so if you want to use this feature, you can directly use this patch. | |
The patch corresponds to pybind11 2.9.x ~ 2.13.1. | |
To avoid redefinition of `struct`: | |
`npy_api` -> `npy_api_patch` | |
`is_complex` -> `is_complex_patch` |