diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2011-12-29 22:55:49 +0200 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2011-12-29 22:55:49 +0200 |
commit | f9de1e9a96a8e63bd4d3b9e615abd9cf6d8de703 (patch) | |
tree | 68c0a95b5715bf25d6e43102849af861d464dd03 /src/pl/plpython/plpy_cursorobject.c | |
parent | a671d9409bfeac9ec5a622d74519fd1142a47274 (diff) | |
download | postgresql-f9de1e9a96a8e63bd4d3b9e615abd9cf6d8de703.tar.gz postgresql-f9de1e9a96a8e63bd4d3b9e615abd9cf6d8de703.zip |
PL/Python: Add argument names to function declarations
For easier source reading
Diffstat (limited to 'src/pl/plpython/plpy_cursorobject.c')
-rw-r--r-- | src/pl/plpython/plpy_cursorobject.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pl/plpython/plpy_cursorobject.c b/src/pl/plpython/plpy_cursorobject.c index 48a7727b798..b1ef7d73a3e 100644 --- a/src/pl/plpython/plpy_cursorobject.c +++ b/src/pl/plpython/plpy_cursorobject.c @@ -20,12 +20,12 @@ #include "plpy_spi.h" -static PyObject *PLy_cursor_query(const char *); -static PyObject *PLy_cursor_plan(PyObject *, PyObject *); -static void PLy_cursor_dealloc(PyObject *); -static PyObject *PLy_cursor_iternext(PyObject *); -static PyObject *PLy_cursor_fetch(PyObject *, PyObject *); -static PyObject *PLy_cursor_close(PyObject *, PyObject *); +static PyObject *PLy_cursor_query(const char *query); +static PyObject *PLy_cursor_plan(PyObject *ob, PyObject *args); +static void PLy_cursor_dealloc(PyObject *arg); +static PyObject *PLy_cursor_iternext(PyObject *self); +static PyObject *PLy_cursor_fetch(PyObject *self, PyObject *args); +static PyObject *PLy_cursor_close(PyObject *self, PyObject *unused); static char PLy_cursor_doc[] = { "Wrapper around a PostgreSQL cursor" |