Home
last modified time | relevance | path

Searched refs:CppBoundMethodTest (Results 1 – 2 of 2) sorted by relevance

/external/python/pybind11/tests/
Dtest_callbacks.cpp153 struct CppBoundMethodTest {}; in TEST_SUBMODULE() struct
154 py::class_<CppBoundMethodTest>(m, "CppBoundMethodTest") in TEST_SUBMODULE()
156 .def("triple", [](CppBoundMethodTest &, int val) { return 3 * val; }); in TEST_SUBMODULE() argument
Dtest_callbacks.py40 z = m.CppBoundMethodTest()