Searched refs:MixGL (Results 1 – 4 of 4) sorted by relevance
244 assert m.MixGL is not cm.MixGL245 a = m.MixGL(1)246 b = cm.MixGL(2)
63 struct MixGL { int i; MixGL(int i) : i{i} {} }; in MixGL() argument
97 py::class_<MixGL>(m, "MixGL").def(py::init<int>()); in TEST_SUBMODULE()98 m.def("get_gl_value", [](MixGL &o) { return o.i + 10; }); in TEST_SUBMODULE()
107 py::class_<MixGL>(m, "MixGL", py::module_local()).def(py::init<int>()); in PYBIND11_MODULE()108 m.def("get_gl_value", [](MixGL &o) { return o.i + 100; }); in PYBIND11_MODULE()