Home
last modified time | relevance | path

Searched refs:MixGL (Results 1 – 4 of 4) sorted by relevance

/external/python/pybind11/tests/
Dtest_local_bindings.py244 assert m.MixGL is not cm.MixGL
245 a = m.MixGL(1)
246 b = cm.MixGL(2)
Dlocal_bindings.h63 struct MixGL { int i; MixGL(int i) : i{i} {} }; in MixGL() argument
Dtest_local_bindings.cpp97 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()
Dpybind11_cross_module_tests.cpp107 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()