mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 21:25:13 +00:00
507da4181d
The anonymous struct nested in a union triggers a -Wnested-anon-type warning ("anonymous types declared in an anonymous union are an extension") under clang (#1204). This names the struct and defines it out of the definition of `instance` to get around to warning (and makes the code slightly simpler). |
||
---|---|---|
.. | ||
pybind11 |