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_exec.c | |
parent | a671d9409bfeac9ec5a622d74519fd1142a47274 (diff) |
PL/Python: Add argument names to function declarations
For easier source reading
Diffstat (limited to 'src/pl/plpython/plpy_exec.c')
-rw-r--r-- | src/pl/plpython/plpy_exec.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/pl/plpython/plpy_exec.c b/src/pl/plpython/plpy_exec.c index 7724f3f0cd0..ecf4996e8cf 100644 --- a/src/pl/plpython/plpy_exec.c +++ b/src/pl/plpython/plpy_exec.c @@ -25,18 +25,18 @@ #include "plpy_subxactobject.h" -static PyObject *PLy_function_build_args(FunctionCallInfo, PLyProcedure *); -static void PLy_function_delete_args(PLyProcedure *); -static void plpython_return_error_callback(void *); - -static PyObject *PLy_trigger_build_args(FunctionCallInfo, PLyProcedure *, - HeapTuple *); -static HeapTuple PLy_modify_tuple(PLyProcedure *, PyObject *, - TriggerData *, HeapTuple); -static void plpython_trigger_error_callback(void *); - -static PyObject *PLy_procedure_call(PLyProcedure *, char *, PyObject *); -static void PLy_abort_open_subtransactions(int); +static PyObject *PLy_function_build_args(FunctionCallInfo fcinfo, PLyProcedure *proc); +static void PLy_function_delete_args(PLyProcedure *proc); +static void plpython_return_error_callback(void *arg); + +static PyObject *PLy_trigger_build_args(FunctionCallInfo fcinfo, PLyProcedure *proc, + HeapTuple *rv); +static HeapTuple PLy_modify_tuple(PLyProcedure *proc, PyObject *pltd, + TriggerData *tdata, HeapTuple otup); +static void plpython_trigger_error_callback(void *arg); + +static PyObject *PLy_procedure_call(PLyProcedure *proc, char *kargs, PyObject *vargs); +static void PLy_abort_open_subtransactions(int save_subxact_level); /* function subhandler */ |