Skip to content

Instantly share code, notes, and snippets.

View sun1638650145's full-sized avatar
:octocat:
Focusing

Steve R. Sun sun1638650145

:octocat:
Focusing
  • Solar System
  • 18:21 (UTC +08:00)
View GitHub Profile
/*
[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`