aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/README2
-rw-r--r--src/modules/pythoncore/kvircmodule.h22
-rw-r--r--src/modules/pythoncore/libkvipythoncore.cpp1
3 files changed, 14 insertions, 11 deletions
diff --git a/doc/README b/doc/README
index 37078987f..b5c7dc587 100644
--- a/doc/README
+++ b/doc/README
@@ -43,7 +43,7 @@ Alexey Uzhva (alexey), Robert Förster (Dessa), ambossarm, TheXception,
Voker57, Thomas Kalla, bugslayer, Aeriana, Desowin and obviously to everyone
on #kvirc@freenode who provided testing and support.
-Well... it's time to play wity it.
+Well... it's time to play with it.
Have fun :)
Szymon Stefanek and The KVIrc Development Team
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;