|
24 | 24 | HTAB *PLy_spi_exceptions = NULL;
|
25 | 25 |
|
26 | 26 |
|
27 |
| -static void PLy_add_exceptions(PyObject *); |
28 |
| -static void PLy_generate_spi_exceptions(PyObject *, PyObject *); |
| 27 | +static void PLy_add_exceptions(PyObject *plpy); |
| 28 | +static void PLy_generate_spi_exceptions(PyObject *mod, PyObject *base); |
29 | 29 |
|
30 | 30 | /* module functions */
|
31 |
| -static PyObject *PLy_debug(PyObject *, PyObject *); |
32 |
| -static PyObject *PLy_log(PyObject *, PyObject *); |
33 |
| -static PyObject *PLy_info(PyObject *, PyObject *); |
34 |
| -static PyObject *PLy_notice(PyObject *, PyObject *); |
35 |
| -static PyObject *PLy_warning(PyObject *, PyObject *); |
36 |
| -static PyObject *PLy_error(PyObject *, PyObject *); |
37 |
| -static PyObject *PLy_fatal(PyObject *, PyObject *); |
38 |
| -static PyObject *PLy_quote_literal(PyObject *, PyObject *); |
39 |
| -static PyObject *PLy_quote_nullable(PyObject *, PyObject *); |
40 |
| -static PyObject *PLy_quote_ident(PyObject *, PyObject *); |
| 31 | +static PyObject *PLy_debug(PyObject *self, PyObject *args); |
| 32 | +static PyObject *PLy_log(PyObject *self, PyObject *args); |
| 33 | +static PyObject *PLy_info(PyObject *self, PyObject *args); |
| 34 | +static PyObject *PLy_notice(PyObject *self, PyObject *args); |
| 35 | +static PyObject *PLy_warning(PyObject *self, PyObject *args); |
| 36 | +static PyObject *PLy_error(PyObject *self, PyObject *args); |
| 37 | +static PyObject *PLy_fatal(PyObject *self, PyObject *args); |
| 38 | +static PyObject *PLy_quote_literal(PyObject *self, PyObject *args); |
| 39 | +static PyObject *PLy_quote_nullable(PyObject *self, PyObject *args); |
| 40 | +static PyObject *PLy_quote_ident(PyObject *self, PyObject *args); |
41 | 41 |
|
42 | 42 |
|
43 | 43 | /* A list of all known exceptions, generated from backend/utils/errcodes.txt */
|
|
0 commit comments