summaryrefslogtreecommitdiffstats
path: root/xutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'xutils.c')
-rw-r--r--xutils.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/xutils.c b/xutils.c
index ed30af4fd..abf625e37 100644
--- a/xutils.c
+++ b/xutils.c
@@ -25,11 +25,11 @@ static PyObject * screenHeight (PyObject * s, PyObject * args);
static PyObject * screenWidth (PyObject * s, PyObject * args);
static PyMethodDef xutilsMethods[] = {
- { "getRootResources", getRootResources, 1 },
- { "setRootResource", setRootResource, 1 },
- { "screenHeight", screenHeight, 1 },
- { "screenWidth", screenWidth, 1 },
- { NULL, NULL }
+ { "getRootResources", getRootResources, 1, NULL },
+ { "setRootResource", setRootResource, 1, NULL },
+ { "screenHeight", screenHeight, 1, NULL },
+ { "screenWidth", screenWidth, 1, NULL },
+ { NULL, NULL, 0, NULL }
};
typedef struct _Resource {