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

Function PyInit_exo_planet_c_api

tests/exo_planet_c_api.cpp:70–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68#endif
69
70extern "C" EXO_PLANET_C_API_EXPORT PyObject *PyInit_exo_planet_c_api() {
71 PyObject *m = PyModule_Create(&ThisModuleDef);
72 if (m == nullptr) {
73 return nullptr;
74 }
75 return m;
76}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected