MCPcopy Create free account
hub / github.com/pybind/pybind11 / test_first_nullptr

Function test_first_nullptr

tests/test_scoped_critical_section.cpp:20–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18void test_two_nullptrs() { py::scoped_critical_section lock{py::handle{}, py::handle{}}; }
19
20void test_first_nullptr() {
21 py::dict d;
22 py::scoped_critical_section lock{py::handle{}, d};
23}
24
25void test_second_nullptr() {
26 py::dict d;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected