diff options
| author | 2009-09-27 17:23:31 +0000 | |
|---|---|---|
| committer | 2009-09-27 17:23:31 +0000 | |
| commit | 401a2a307cfc9cb3b2a9a69d2a6bc657fc6db5de (patch) | |
| tree | df209067dcf2e39bce5232202eaa098ae15cb90c /src/modules/pythoncore/kvircmodule.h | |
| parent | some doc update (diff) | |
| download | KVIrc-401a2a307cfc9cb3b2a9a69d2a6bc657fc6db5de.tar.gz KVIrc-401a2a307cfc9cb3b2a9a69d2a6bc657fc6db5de.tar.bz2 KVIrc-401a2a307cfc9cb3b2a9a69d2a6bc657fc6db5de.zip | |
implemented most of python kvirc extensions :)
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3531 17fca916-40b9-46aa-a4ea-0a15b648b75c
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 * |
