diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-12-21 14:57:07 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-12-21 14:57:07 +0000 |
| commit | 2ab939a205815899da2476273e2f62c9c0b668cf (patch) | |
| tree | 80898a4f7a6e515d3a636178a68d4cfa5d704d92 | |
| parent | ca94e7a32a0f4ac1a1b0d59460afce79e9fed6f8 (diff) | |
put the *'s in the right place for pointers
| -rw-r--r-- | otk_c/rect.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/otk_c/rect.c b/otk_c/rect.c index cf23b45b..63911c8f 100644 --- a/otk_c/rect.c +++ b/otk_c/rect.c @@ -19,28 +19,28 @@ PyObject *OtkRect_New(int x, int y, int width, int height) -static PyObject *otkrect_getx(OtkRect* self, PyObject* args) +static PyObject *otkrect_getx(OtkRect *self, PyObject *args) { if (!PyArg_ParseTuple(args, ":getX")) return NULL; return PyInt_FromLong(self->x); } -static PyObject *otkrect_gety(OtkRect* self, PyObject* args) +static PyObject *otkrect_gety(OtkRect *self, PyObject *args) { if (!PyArg_ParseTuple(args, ":getY")) return NULL; return PyInt_FromLong(self->y); } -static PyObject *otkrect_getwidth(OtkRect* self, PyObject* args) +static PyObject *otkrect_getwidth(OtkRect *self, PyObject *args) { if (!PyArg_ParseTuple(args, ":getWidth")) return NULL; return PyInt_FromLong(self->width); } -static PyObject *otkrect_getheight(OtkRect* self, PyObject* args) +static PyObject *otkrect_getheight(OtkRect *self, PyObject *args) { if (!PyArg_ParseTuple(args, ":getHeight")) return NULL; @@ -62,7 +62,7 @@ static PyMethodDef get_methods[] = { -static void otkrect_dealloc(PyObject* self) +static void otkrect_dealloc(PyObject *self) { PyObject_Del(self); } |
