diff options
Diffstat (limited to 'subversion/bindings/swig/python/svn_delta.c')
-rw-r--r-- | subversion/bindings/swig/python/svn_delta.c | 30 |
1 files changed, 9 insertions, 21 deletions
diff --git a/subversion/bindings/swig/python/svn_delta.c b/subversion/bindings/swig/python/svn_delta.c index 3b4b4e1..8407149 100644 --- a/subversion/bindings/swig/python/svn_delta.c +++ b/subversion/bindings/swig/python/svn_delta.c @@ -3678,36 +3678,30 @@ extern "C" { SWIGINTERN PyObject *_wrap_svn_swig_py_make_editor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; svn_delta_editor_t **arg1 = (svn_delta_editor_t **) 0 ; - void **arg2 = (void **) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - apr_pool_t *arg4 = (apr_pool_t *) 0 ; + apr_pool_t *arg2 = (apr_pool_t *) 0 ; apr_pool_t *_global_pool = NULL ; PyObject *_global_py_pool = NULL ; svn_delta_editor_t *temp1 ; - void *temp2 ; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; if (svn_swig_py_get_pool_arg(args, SWIGTYPE_p_apr_pool_t, &_global_py_pool, &_global_pool)) SWIG_fail; - arg4 = _global_pool; + arg2 = _global_pool; arg1 = &temp1; - arg2 = &temp2; - if(!PyArg_UnpackTuple(args,(char *)"svn_swig_py_make_editor",1,2,&obj0,&obj1)) SWIG_fail; - arg3 = obj0; - if (obj1) { + if(!PyArg_UnpackTuple(args,(char *)"svn_swig_py_make_editor",0,1,&obj0)) SWIG_fail; + if (obj0) { /* Verify that the user supplied a valid pool */ - if (obj1 != Py_None && obj1 != _global_py_pool) { - SWIG_Python_TypeError(SWIG_TypePrettyName(SWIGTYPE_p_apr_pool_t), obj1); - SWIG_arg_fail(svn_argnum_obj1); + if (obj0 != Py_None && obj0 != _global_py_pool) { + SWIG_Python_TypeError(SWIG_TypePrettyName(SWIGTYPE_p_apr_pool_t), obj0); + SWIG_arg_fail(svn_argnum_obj0); SWIG_fail; } } { svn_swig_py_release_py_lock(); - svn_swig_py_make_editor((struct svn_delta_editor_t const **)arg1,arg2,arg3,arg4); + svn_swig_py_make_editor((struct svn_delta_editor_t const **)arg1,arg2); svn_swig_py_acquire_py_lock(); @@ -3720,12 +3714,6 @@ SWIGINTERN PyObject *_wrap_svn_swig_py_make_editor(PyObject *SWIGUNUSEDPARM(self ; } { - resultobj = SWIG_Python_AppendOutput(resultobj, svn_swig_py_new_pointer_obj(*arg2, SWIGTYPE_p_void, - _global_py_pool, args)) - - ; - } - { Py_XDECREF(_global_py_pool); } return resultobj; @@ -10128,7 +10116,7 @@ SWIGINTERN PyObject *svn_file_rev_handler_old_t_swigregister(PyObject *SWIGUNUSE static PyMethodDef SwigMethods[] = { { (char *)"SWIG_PyInstanceMethod_New", (PyCFunction)SWIG_PyInstanceMethod_New, METH_O, NULL}, - { (char *)"svn_swig_py_make_editor", _wrap_svn_swig_py_make_editor, METH_VARARGS, (char *)"svn_swig_py_make_editor(PyObject * py_editor, apr_pool_t pool)"}, + { (char *)"svn_swig_py_make_editor", _wrap_svn_swig_py_make_editor, METH_VARARGS, (char *)"svn_swig_py_make_editor(apr_pool_t pool)"}, { (char *)"svn_delta_version", _wrap_svn_delta_version, METH_VARARGS, (char *)"svn_delta_version() -> svn_version_t const *"}, { (char *)"svn_txdelta_op_t_action_code_set", _wrap_svn_txdelta_op_t_action_code_set, METH_VARARGS, (char *)"svn_txdelta_op_t_action_code_set(svn_txdelta_op_t self, enum svn_delta_action action_code)"}, { (char *)"svn_txdelta_op_t_action_code_get", _wrap_svn_txdelta_op_t_action_code_get, METH_VARARGS, (char *)"svn_txdelta_op_t_action_code_get(svn_txdelta_op_t self) -> enum svn_delta_action"}, |