mirror of https://github.com/Icinga/icinga2.git
Fix invalid type in PythonLanguage::m_NativeMethodDef.
This commit is contained in:
parent
016a881634
commit
77461e650a
|
@ -27,7 +27,7 @@ REGISTER_SCRIPTLANGUAGE("Python", PythonLanguage);
|
||||||
|
|
||||||
PyMethodDef PythonLanguage::m_NativeMethodDef[] = {
|
PyMethodDef PythonLanguage::m_NativeMethodDef[] = {
|
||||||
{ "RegisterFunction", &PythonLanguage::PyRegisterFunction, METH_VARARGS, NULL },
|
{ "RegisterFunction", &PythonLanguage::PyRegisterFunction, METH_VARARGS, NULL },
|
||||||
{ NULL, NULL, NULL, NULL } /* sentinel */
|
{ NULL, NULL, NULL, 0 } /* sentinel */
|
||||||
};
|
};
|
||||||
|
|
||||||
PythonLanguage::PythonLanguage(void)
|
PythonLanguage::PythonLanguage(void)
|
||||||
|
|
Loading…
Reference in New Issue