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

Function main

tests/test_cross_module_rtti/catch.cpp:18–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16#include <catch.hpp>
17
18int main(int argc, char *argv[]) {
19 pybind11::scoped_interpreter guard{};
20 auto result = Catch::Session().run(argc, argv);
21 return result < 0xff ? result : 0xff;
22}

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected