📄 svn_wc.c
字号:
svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); svn_swig_rb_handle_svn_error(result); } vresult = Qnil; } { vresult = output_helper(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_wc_adm_access_t, 0)); } { svn_swig_rb_set_pool(vresult, _global_svn_swig_rb_pool); svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); } return vresult;}static VALUE_wrap_svn_wc_adm_probe_try3(int argc, VALUE *argv, VALUE self) { svn_wc_adm_access_t **arg1 = (svn_wc_adm_access_t **) 0 ; svn_wc_adm_access_t *arg2 = (svn_wc_adm_access_t *) 0 ; char *arg3 = (char *) 0 ; svn_boolean_t arg4 ; int arg5 ; svn_cancel_func_t arg6 = (svn_cancel_func_t) 0 ; void *arg7 = (void *) 0 ; apr_pool_t *arg8 = (apr_pool_t *) 0 ; svn_error_t *result; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; svn_wc_adm_access_t *temp1 ; void *temp2 ; VALUE vresult = Qnil; { svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8); _global_pool = arg8; svn_swig_rb_push_pool(_global_svn_swig_rb_pool); } { temp1 = NULL; arg1 = (svn_wc_adm_access_t **)&temp1; } if ((argc < 5) || (argc > 6)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); { SWIG_ConvertPtr(argv[0], &temp2, SWIGTYPE_p_svn_wc_adm_access_t, 1); arg2 = (svn_wc_adm_access_t *)temp2; } arg3 = StringValuePtr(argv[1]); arg4 = RTEST(argv[2]); arg5 = NUM2INT(argv[3]); { arg6 = svn_swig_rb_cancel_func; arg7 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool); } if (argc > 5) { } { result = (svn_error_t *)svn_wc_adm_probe_try3(arg1,arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8); } { if (result) { svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); svn_swig_rb_handle_svn_error(result); } vresult = Qnil; } { vresult = output_helper(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_wc_adm_access_t, 0)); } { svn_swig_rb_set_baton(vresult, (VALUE)arg7); } { svn_swig_rb_set_pool(vresult, _global_svn_swig_rb_pool); svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); } return vresult;}static VALUE_wrap_svn_wc_adm_probe_try2(int argc, VALUE *argv, VALUE self) { svn_wc_adm_access_t **arg1 = (svn_wc_adm_access_t **) 0 ; svn_wc_adm_access_t *arg2 = (svn_wc_adm_access_t *) 0 ; char *arg3 = (char *) 0 ; svn_boolean_t arg4 ; int arg5 ; apr_pool_t *arg6 = (apr_pool_t *) 0 ; svn_error_t *result; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; svn_wc_adm_access_t *temp1 ; void *temp2 ; VALUE vresult = Qnil; { svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6); _global_pool = arg6; svn_swig_rb_push_pool(_global_svn_swig_rb_pool); } { temp1 = NULL; arg1 = (svn_wc_adm_access_t **)&temp1; } if ((argc < 4) || (argc > 5)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); { SWIG_ConvertPtr(argv[0], &temp2, SWIGTYPE_p_svn_wc_adm_access_t, 1); arg2 = (svn_wc_adm_access_t *)temp2; } arg3 = StringValuePtr(argv[1]); arg4 = RTEST(argv[2]); arg5 = NUM2INT(argv[3]); if (argc > 4) { } { result = (svn_error_t *)svn_wc_adm_probe_try2(arg1,arg2,(char const *)arg3,arg4,arg5,arg6); } { if (result) { svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); svn_swig_rb_handle_svn_error(result); } vresult = Qnil; } { vresult = output_helper(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_wc_adm_access_t, 0)); } { svn_swig_rb_set_pool(vresult, _global_svn_swig_rb_pool); svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); } return vresult;}static VALUE_wrap_svn_wc_adm_probe_try(int argc, VALUE *argv, VALUE self) { svn_wc_adm_access_t **arg1 = (svn_wc_adm_access_t **) 0 ; svn_wc_adm_access_t *arg2 = (svn_wc_adm_access_t *) 0 ; char *arg3 = (char *) 0 ; svn_boolean_t arg4 ; svn_boolean_t arg5 ; apr_pool_t *arg6 = (apr_pool_t *) 0 ; svn_error_t *result; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; svn_wc_adm_access_t *temp1 ; void *temp2 ; VALUE vresult = Qnil; { svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6); _global_pool = arg6; svn_swig_rb_push_pool(_global_svn_swig_rb_pool); } { temp1 = NULL; arg1 = (svn_wc_adm_access_t **)&temp1; } if ((argc < 4) || (argc > 5)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); { SWIG_ConvertPtr(argv[0], &temp2, SWIGTYPE_p_svn_wc_adm_access_t, 1); arg2 = (svn_wc_adm_access_t *)temp2; } arg3 = StringValuePtr(argv[1]); arg4 = RTEST(argv[2]); arg5 = RTEST(argv[3]); if (argc > 4) { } { result = (svn_error_t *)svn_wc_adm_probe_try(arg1,arg2,(char const *)arg3,arg4,arg5,arg6); } { if (result) { svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); svn_swig_rb_handle_svn_error(result); } vresult = Qnil; } { vresult = output_helper(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_wc_adm_access_t, 0)); } { svn_swig_rb_set_pool(vresult, _global_svn_swig_rb_pool); svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); } return vresult;}static VALUE_wrap_svn_wc_adm_close(int argc, VALUE *argv, VALUE self) { svn_wc_adm_access_t *arg1 = (svn_wc_adm_access_t *) 0 ; svn_error_t *result; void *temp1 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); { SWIG_ConvertPtr(argv[0], &temp1, SWIGTYPE_p_svn_wc_adm_access_t, 1); arg1 = (svn_wc_adm_access_t *)temp1; } { result = (svn_error_t *)svn_wc_adm_close(arg1); } { if (result) { svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); svn_swig_rb_handle_svn_error(result); } vresult = Qnil; } return vresult;}static VALUE_wrap_svn_wc_adm_access_path(int argc, VALUE *argv, VALUE self) { svn_wc_adm_access_t *arg1 = (svn_wc_adm_access_t *) 0 ; char *result; void *temp1 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); { SWIG_ConvertPtr(argv[0], &temp1, SWIGTYPE_p_svn_wc_adm_access_t, 1); arg1 = (svn_wc_adm_access_t *)temp1; } { result = (char *)svn_wc_adm_access_path(arg1); } { if (result) { vresult = rb_str_new2(result); } else { vresult = Qnil; } } return vresult;}static VALUE_wrap_svn_wc_adm_access_pool(int argc, VALUE *argv, VALUE self) { svn_wc_adm_access_t *arg1 = (svn_wc_adm_access_t *) 0 ; apr_pool_t *result; void *temp1 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); { SWIG_ConvertPtr(argv[0], &temp1, SWIGTYPE_p_svn_wc_adm_access_t, 1); arg1 = (svn_wc_adm_access_t *)temp1; } { result = (apr_pool_t *)svn_wc_adm_access_pool(arg1); } vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_apr_pool_t,0); return vresult;}static VALUE_wrap_svn_wc_adm_locked(int argc, VALUE *argv, VALUE self) { svn_wc_adm_access_t *arg1 = (svn_wc_adm_access_t *) 0 ; svn_boolean_t result; void *temp1 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); { SWIG_ConvertPtr(argv[0], &temp1, SWIGTYPE_p_svn_wc_adm_access_t, 1); arg1 = (svn_wc_adm_access_t *)temp1; } { result = (svn_boolean_t)svn_wc_adm_locked(arg1); } { vresult = output_helper(vresult, result ? Qtrue : Qfalse); } return vresult;}static VALUE_wrap_svn_wc_locked(int argc, VALUE *argv, VALUE self) { svn_boolean_t *arg1 = (svn_boolean_t *) 0 ; char *arg2 = (char *) 0 ; apr_pool_t *arg3 = (apr_pool_t *) 0 ; svn_error_t *result; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; svn_boolean_t temp1 ; VALUE vresult = Qnil; { svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3); _global_pool = arg3; svn_swig_rb_push_pool(_global_svn_swig_rb_pool); } { arg1 = &temp1; } if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); arg2 = StringValuePtr(argv[0]); if (argc > 1) { } { result = (svn_error_t *)svn_wc_locked(arg1,(char const *)arg2,arg3); } { if (result) { svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); svn_swig_rb_handle_svn_error(result); } vresult = Qnil; } { vresult = output_helper(vresult, *arg1 ? Qtrue : Qfalse); } { svn_swig_rb_set_pool(vresult, _global_svn_swig_rb_pool); svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); } return vresult;}static VALUE_wrap_svn_wc_is_adm_dir(int argc, VALUE *argv, VALUE self) { char *arg1 = (char *) 0 ; apr_pool_t *arg2 = (apr_pool_t *) 0 ; svn_boolean_t result; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; VALUE vresult = Qnil; { svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2); _global_pool = arg2; svn_swig_rb_push_pool(_global_svn_swig_rb_pool); } if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); arg1 = StringValuePtr(argv[0]); if (argc > 1) { } { result = (svn_boolean_t)svn_wc_is_adm_dir((char const *)arg1,arg2); } { vresult = output_helper(vresult, result ? Qtrue : Qfalse); } { svn_swig_rb_set_pool(vresult, _global_svn_swig_rb_pool); svn_swig_rb_pop_pool(_global
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -