diff options
author | Bram Moolenaar <Bram@vim.org> | 2009-05-21 21:27:43 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2009-05-21 21:27:43 +0000 |
commit | 4bdbbf706634d8ab4b84801f0a30fd4eacbc901c (patch) | |
tree | 6a02da9fb455ef18bdcf4fdcf7ce56555018ac83 /src/if_python.c | |
parent | 32f31b1a0ff304c10136ae9b49bb15981e8bb935 (diff) | |
download | vim-4bdbbf706634d8ab4b84801f0a30fd4eacbc901c.zip |
updated for version 7.2-184
Diffstat (limited to 'src/if_python.c')
-rw-r--r-- | src/if_python.c | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/src/if_python.c b/src/if_python.c index 9a49dd29f..ce9bb3eeb 100644 --- a/src/if_python.c +++ b/src/if_python.c @@ -1096,9 +1096,8 @@ static struct PyMethodDef VimMethods[] = { /* Vim module - Implementation */ -/*ARGSUSED*/ static PyObject * -VimCommand(PyObject *self, PyObject *args) +VimCommand(PyObject *self UNUSED, PyObject *args) { char *cmd; PyObject *result; @@ -1242,9 +1241,8 @@ VimToPython(typval_T *our_tv, int depth, PyObject *lookupDict) } #endif -/*ARGSUSED*/ static PyObject * -VimEval(PyObject *self, PyObject *args) +VimEval(PyObject *self UNUSED, PyObject *args) { #ifdef FEAT_EVAL char *expr; @@ -1894,9 +1892,8 @@ static PyTypeObject BufListType = { /* Buffer list object - Implementation */ -/*ARGSUSED*/ static PyInt -BufListLength(PyObject *self) +BufListLength(PyObject *self UNUSED) { buf_T *b = firstbuf; PyInt n = 0; @@ -1910,9 +1907,8 @@ BufListLength(PyObject *self) return n; } -/*ARGSUSED*/ static PyObject * -BufListItem(PyObject *self, PyInt n) +BufListItem(PyObject *self UNUSED, PyInt n) { buf_T *b; @@ -2210,9 +2206,8 @@ static PyTypeObject WinListType = { /* Window list object - Implementation */ -/*ARGSUSED*/ static PyInt -WinListLength(PyObject *self) +WinListLength(PyObject *self UNUSED) { win_T *w = firstwin; PyInt n = 0; @@ -2226,9 +2221,8 @@ WinListLength(PyObject *self) return n; } -/*ARGSUSED*/ static PyObject * -WinListItem(PyObject *self, PyInt n) +WinListItem(PyObject *self UNUSED, PyInt n) { win_T *w; @@ -2274,9 +2268,8 @@ static PyTypeObject CurrentType = { /* Current items object - Implementation */ -/*ARGSUSED*/ static PyObject * -CurrentGetattr(PyObject *self, char *name) +CurrentGetattr(PyObject *self UNUSED, char *name) { if (strcmp(name, "buffer") == 0) return (PyObject *)BufferNew(curbuf); @@ -2295,9 +2288,8 @@ CurrentGetattr(PyObject *self, char *name) } } -/*ARGSUSED*/ static int -CurrentSetattr(PyObject *self, char *name, PyObject *value) +CurrentSetattr(PyObject *self UNUSED, char *name, PyObject *value) { if (strcmp(name, "line") == 0) { |