Searched refs:GC_IF_NEEDED (Results 1 - 1 of 1) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_kwargs_and_defaults.cpp62 #define GC_IF_NEEDED ConstructorStats::gc() macro
64 #define GC_IF_NEEDED macro
66 m.def("arg_refcount_h", [](py::handle h) { GC_IF_NEEDED; return h.ref_count(); });
67 m.def("arg_refcount_h", [](py::handle h, py::handle, py::handle) { GC_IF_NEEDED; return h.ref_count(); });
68 m.def("arg_refcount_o", [](py::object o) { GC_IF_NEEDED; return o.ref_count(); });
70 GC_IF_NEEDED;
78 GC_IF_NEEDED;

Completed in 4 milliseconds