summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLieuwe <lieuwemo@gmail.com>2011-03-26 15:45:38 (GMT)
committer Lieuwe <lieuwemo@gmail.com>2011-03-26 15:45:38 (GMT)
commit3d71ab5582835ee72cff2f5691abfa7e03a1b682 (patch)
tree293e2b64acce43782a291f1142851eeb8ca3a78d /src
parent05730797d888a62097d8c46a7155fff504e1658c (diff)
downloadpowder-3d71ab5582835ee72cff2f5691abfa7e03a1b682.zip
powder-3d71ab5582835ee72cff2f5691abfa7e03a1b682.tar.gz
64bit fixes, thanks a ton jacksonmj :D
Diffstat (limited to 'src')
-rw-r--r--src/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index e409560..bb3f5b7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -30,6 +30,7 @@
#include "Python.h"
#include "pyconsole.h"
//#include "pystdlib.h"
+#include <marshal.h>
char pyready=1;
char pygood=1;
#endif
@@ -1992,6 +1993,7 @@ emb_set_tool(PyObject *self, PyObject *args)
return Py_BuildValue("i",1);
}
+/*
static PyObject*
emb_press_mouse(PyObject *self, PyObject *args)
{
@@ -2028,7 +2030,7 @@ emb_release_mouse(PyObject *self, PyObject *args)
ev.button.x=x;
ev.button.y=y;
return Py_BuildValue("i",SDL_PushEvent(ev));
-}
+}*/
static PyMethodDef EmbMethods[] = { //WARNING! don't forget to register your function here!