Home
last modified time | relevance | path

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

/external/python/pybind11/tests/
Dtest_local_bindings.py14 assert m.load_external2(cm.ExternalType2(22)) == 22
21 assert m.load_external1(cm.ExternalType2(12)) == 12
Dlocal_bindings.h26 using ExternalType2 = LocalBase<7>; variable
Dtest_local_bindings.cpp20 m.def("load_external2", [](ExternalType2 &e) { return e.i; }); in TEST_SUBMODULE()
Dpybind11_cross_module_tests.cpp25 bind_local<ExternalType2>(m, "ExternalType2", py::module_local()); in PYBIND11_MODULE()