mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-28 08:02:00 +00:00
c8f07b5d01
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 |