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
"""\t\t.def_readwrite("member2", &mod1::mod2::class1::member2, "this is the member2")\n"""
152
170
"""\t\t.def("mfun1", &mod1::mod2::class1::mfun1, "this is the member1")\n"""
153
171
"""\t\t.def("mfun2", static_cast<char (mod1::mod2::class1::*)(std::string, std::vector<int>)>(&mod1::mod2::class1::mfun2), "this is the member2")\n"""
154
-
"""\t\t.def("mfun2", static_cast<char (mod1::mod2::class1::*)(bool)>(&mod1::mod2::class1::mfun2), "this is the member2(overloaded)");"""
172
+
"""\t\t.def("mfun2", static_cast<char (mod1::mod2::class1::*)(bool)>(&mod1::mod2::class1::mfun2), "this is the member2(overloaded)", pybind11::call_guard<int, bool>());"""
0 commit comments