Searched refs:SimpleStruct (Results 1 - 1 of 1) sorted by relevance
/gem5/ext/pybind11/tests/ |
H A D | test_numpy_dtypes.cpp | 21 struct SimpleStruct { struct 28 std::ostream& operator<<(std::ostream& os, const SimpleStruct& v) { 51 SimpleStruct a; 262 py::class_<SimpleStruct>(m, "SimpleStruct"); 264 PYBIND11_NUMPY_DTYPE(SimpleStruct, bool_, uint_, float_, ldbl_); 295 m.def("create_rec_simple", &create_recarray<SimpleStruct>); 317 m.def("print_rec_simple", &print_recarray<SimpleStruct>); 326 py::format_descriptor<SimpleStruct>::format(), 345 py::dtype::of<SimpleStruct>(), [all...] |
Completed in 5 milliseconds