diff options
Diffstat (limited to 'src/modules/pythoncore/kvircmodule.h')
| -rw-r--r-- | src/modules/pythoncore/kvircmodule.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/pythoncore/kvircmodule.h b/src/modules/pythoncore/kvircmodule.h index 74363cb33..2a7ed7502 100644 --- a/src/modules/pythoncore/kvircmodule.h +++ b/src/modules/pythoncore/kvircmodule.h @@ -60,6 +60,7 @@ extern "C" { static PyObject * PyKVIrc_setGlobal(PyObject * pSelf, PyObject * pArgs); static PyObject * PyKVIrc_eval(PyObject * pSelf, PyObject * pArgs); static PyObject * PyKVIrc_internalWarning(PyObject * pSelf, PyObject * pArgs); + static PyObject * PyKVIrc_error(PyObject * pSelf, PyObject * pArgs); #else // This section is used in modules that use kvircmodule's API static void ** PyKVIrc_API; @@ -82,7 +83,8 @@ extern "C" { (*(int (*)(const char * pcCmd)) PyKVIrc_API[7]) #define PyKVIrc_internalWarning \ (*(int (*)(const char * pcCmd)) PyKVIrc_API[8]) - + #define PyKVIrc_error \ + (*(int (*)(const char * pcCmd)) PyKVIrc_API[9]) /** * \brief Returns 0 on success, -1 otherwise * |
