From 401a2a307cfc9cb3b2a9a69d2a6bc657fc6db5de Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Sun, 27 Sep 2009 17:23:31 +0000 Subject: implemented most of python kvirc extensions :) git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3531 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/pythoncore/kvircmodule.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/modules/pythoncore/kvircmodule.h') 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 * -- cgit v1.3.1-10-gc9f91