We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3f6e0d commit e509a10Copy full SHA for e509a10
include/libpy/automodule.h
@@ -54,7 +54,7 @@
54
return nullptr; \
55
} \
56
static std::vector<PyMethodDef> ms methods; \
57
- ms.emplace_back(py::end_method_list); \
+ ms.emplace_back(PyMethodDef({nullptr})); \
58
static PyModuleDef _libpy_module{ \
59
PyModuleDef_HEAD_INIT, \
60
_libpy_MODULE_PATH(parent, name), \
0 commit comments