diff options
| author | 2010-06-27 20:20:01 +0000 | |
|---|---|---|
| committer | 2010-06-27 20:20:01 +0000 | |
| commit | c1911844c7506fcd6bfacc678b07ad8b8f0d0670 (patch) | |
| tree | f8ef9ff156edda9c8669de603ba6a958df040187 /src/modules | |
| parent | Updated README. kvi_tal_splitter.h doesn't need mocing anymore (diff) | |
| download | KVIrc-c1911844c7506fcd6bfacc678b07ad8b8f0d0670.tar.gz KVIrc-c1911844c7506fcd6bfacc678b07ad8b8f0d0670.tar.bz2 KVIrc-c1911844c7506fcd6bfacc678b07ad8b8f0d0670.zip | |
Fix typo in README.
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4538 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/pythoncore/kvircmodule.h | 22 | ||||
| -rw-r--r-- | src/modules/pythoncore/libkvipythoncore.cpp | 1 |
2 files changed, 13 insertions, 10 deletions
diff --git a/src/modules/pythoncore/kvircmodule.h b/src/modules/pythoncore/kvircmodule.h index 7e5049ec4..d0ed61164 100644 --- a/src/modules/pythoncore/kvircmodule.h +++ b/src/modules/pythoncore/kvircmodule.h @@ -51,16 +51,18 @@ extern "C" { #ifdef KVIRC_MODULE // This section is used when compiling kvircmodule.cpp - static PyObject * PyKVIrc_echo(PyObject * pSelf, PyObject * pArgs); - static PyObject * PyKVIrc_say(PyObject * pSelf, PyObject * pArgs); - static PyObject * PyKVIrc_warning(PyObject * pSelf, PyObject * pArgs); - static PyObject * PyKVIrc_getLocal(PyObject * pSelf, PyObject * pArgs); - static PyObject * PyKVIrc_setLocal(PyObject * pSelf, PyObject * pArgs); - static PyObject * PyKVIrc_getGlobal(PyObject * pSelf, PyObject * pArgs); - 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); + #if 0 + PyObject * PyKVIrc_echo(PyObject * pSelf, PyObject * pArgs); + PyObject * PyKVIrc_say(PyObject * pSelf, PyObject * pArgs); + PyObject * PyKVIrc_warning(PyObject * pSelf, PyObject * pArgs); + PyObject * PyKVIrc_getLocal(PyObject * pSelf, PyObject * pArgs); + PyObject * PyKVIrc_setLocal(PyObject * pSelf, PyObject * pArgs); + PyObject * PyKVIrc_getGlobal(PyObject * pSelf, PyObject * pArgs); + PyObject * PyKVIrc_setGlobal(PyObject * pSelf, PyObject * pArgs); + PyObject * PyKVIrc_eval(PyObject * pSelf, PyObject * pArgs); + PyObject * PyKVIrc_internalWarning(PyObject * pSelf, PyObject * pArgs); + PyObject * PyKVIrc_error(PyObject * pSelf, PyObject * pArgs); + #endif #else // This section is used in modules that use kvircmodule's API static void ** PyKVIrc_API; diff --git a/src/modules/pythoncore/libkvipythoncore.cpp b/src/modules/pythoncore/libkvipythoncore.cpp index 27f80379a..03b29abf7 100644 --- a/src/modules/pythoncore/libkvipythoncore.cpp +++ b/src/modules/pythoncore/libkvipythoncore.cpp @@ -35,6 +35,7 @@ #ifdef COMPILE_PYTHON_SUPPORT #include "kvircmodule.h" #include "pythoncoreinterface.h" + #include <Python.h> KviKvsRunTimeContext * g_pCurrentKvsContext = 0; |
