You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that py::capsule is not recognized correctly.
`
cls.def_static("from_raw_interface", [](py::capsule rawInterface)
{
if (std::strcmp(rawInterface.name(), "raw_interface") != 0)
throw std::invalid_argument("Invalid capsule");
I'm having an issue similar to https://github.com/sizmailov/pybind11-stubgen/issues/86
It seems that
py::capsule
is not recognized correctly.`
cls.def_static("from_raw_interface", [](py::capsule rawInterface)
{
if (std::strcmp(rawInterface.name(), "raw_interface") != 0)
throw std::invalid_argument("Invalid capsule");
});
`
The text was updated successfully, but these errors were encountered: