Alien-SVN
view release on metacpan or search on metacpan
src/subversion/subversion/bindings/swig/ruby/svn_client.c view on Meta::CPAN
svn_swig_rb_set_revision(&rev3, argv[1]);
}
res4 = SWIG_AsCharPtrAndSize(argv[2], &buf4, NULL, &alloc4);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_move", 4, argv[2] ));
}
arg4 = (char *)(buf4);
arg5 = RTEST(argv[3]);
if (argc > 4) {
res6 = SWIG_ConvertPtr(argv[4], &argp6,SWIGTYPE_p_svn_client_ctx_t, 0 | 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_move", 6, argv[4] ));
}
arg6 = (svn_client_ctx_t *)(argp6);
}
if (argc > 5) {
}
{
result = (svn_error_t *)svn_client_move(arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,(char const *)arg4,arg5,arg6,arg7);
}
{
if (result) {
svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
svn_swig_rb_handle_svn_error(result);
}
vresult = Qnil;
}
{
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_client_commit_info_t, 0));
}
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
{
VALUE target;
target = _global_vresult_address == &vresult ? self : vresult;
if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
}
return vresult;
fail:
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
{
VALUE target;
target = _global_vresult_address == &vresult ? self : vresult;
if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
}
return Qnil;
}
SWIGINTERN VALUE
_wrap_svn_client_propset_remote(int argc, VALUE *argv, VALUE self) {
char *arg1 = (char *) 0 ;
svn_string_t *arg2 = (svn_string_t *) 0 ;
char *arg3 = (char *) 0 ;
svn_boolean_t arg4 ;
svn_revnum_t arg5 ;
apr_hash_t *arg6 = (apr_hash_t *) 0 ;
svn_commit_callback2_t arg7 = (svn_commit_callback2_t) 0 ;
void *arg8 = (void *) 0 ;
svn_client_ctx_t *arg9 = (svn_client_ctx_t *) 0 ;
apr_pool_t *arg10 = (apr_pool_t *) 0 ;
VALUE _global_svn_swig_rb_pool ;
apr_pool_t *_global_pool ;
int res1 ;
char *buf1 = 0 ;
int alloc1 = 0 ;
svn_string_t value2 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
long val5 ;
int ecode5 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
svn_error_t *result = 0 ;
VALUE vresult = Qnil;
{
svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg10);
_global_pool = arg10;
svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
}
if ((argc < 8) || (argc > 9)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
}
res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_propset_remote", 1, argv[0] ));
}
arg1 = (char *)(buf1);
{
if (NIL_P(argv[1])) {
arg2 = NULL;
} else {
value2.data = StringValuePtr(argv[1]);
value2.len = RSTRING_LEN(argv[1]);
arg2 = &value2;
}
}
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_propset_remote", 3, argv[2] ));
}
arg3 = (char *)(buf3);
arg4 = RTEST(argv[3]);
ecode5 = SWIG_AsVal_long(argv[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "svn_revnum_t","svn_client_propset_remote", 5, argv[4] ));
}
arg5 = (svn_revnum_t)(val5);
{
VALUE rb_pool = Qnil;
if (!_global_pool) {
svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
svn_swig_rb_push_pool(rb_pool);
}
arg6 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[5], _global_pool);
_global_pool = NULL;
if (!NIL_P(rb_pool)) {
if (NIL_P(arg6)) {
svn_swig_rb_destroy_pool(rb_pool);
} else {
svn_swig_rb_set_pool_for_no_swig_type(argv[5], rb_pool);
}
svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
}
}
{
arg7 = svn_swig_rb_commit_callback2;
arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
res9 = SWIG_ConvertPtr(argv[7], &argp9,SWIGTYPE_p_svn_client_ctx_t, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_propset_remote", 9, argv[7] ));
}
arg9 = (svn_client_ctx_t *)(argp9);
if (argc > 8) {
}
{
result = (svn_error_t *)svn_client_propset_remote((char const *)arg1,(struct svn_string_t const *)arg2,(char const *)arg3,arg4,arg5,(apr_hash_t const *)arg6,arg7,arg8,arg9,arg10);
}
{
if (result) {
svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
svn_swig_rb_handle_svn_error(result);
}
vresult = Qnil;
}
{
svn_swig_rb_set_baton(vresult, (VALUE)arg8);
}
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
{
VALUE target;
target = _global_vresult_address == &vresult ? self : vresult;
if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
}
return vresult;
fail:
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
{
VALUE target;
target = _global_vresult_address == &vresult ? self : vresult;
if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
}
return Qnil;
}
SWIGINTERN VALUE
_wrap_svn_client_propset_local(int argc, VALUE *argv, VALUE self) {
char *arg1 = (char *) 0 ;
svn_string_t *arg2 = (svn_string_t *) 0 ;
apr_array_header_t *arg3 = (apr_array_header_t *) 0 ;
svn_depth_t arg4 ;
svn_boolean_t arg5 ;
apr_array_header_t *arg6 = (apr_array_header_t *) 0 ;
svn_client_ctx_t *arg7 = (svn_client_ctx_t *) 0 ;
apr_pool_t *arg8 = (apr_pool_t *) 0 ;
VALUE _global_svn_swig_rb_pool ;
apr_pool_t *_global_pool ;
int res1 ;
char *buf1 = 0 ;
int alloc1 = 0 ;
svn_string_t value2 ;
void *argp7 = 0 ;
int res7 = 0 ;
svn_error_t *result = 0 ;
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);
}
if ((argc < 7) || (argc > 8)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
}
res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_propset_local", 1, argv[0] ));
}
arg1 = (char *)(buf1);
{
if (NIL_P(argv[1])) {
arg2 = NULL;
} else {
value2.data = StringValuePtr(argv[1]);
value2.len = RSTRING_LEN(argv[1]);
arg2 = &value2;
}
}
{
arg3 = svn_swig_rb_strings_to_apr_array(argv[2], _global_pool);
}
{
arg4 = svn_swig_rb_to_depth(argv[3]);
}
arg5 = RTEST(argv[4]);
{
arg6 = (NIL_P(argv[5])) ? NULL :
svn_swig_rb_strings_to_apr_array(argv[5], _global_pool);
}
res7 = SWIG_ConvertPtr(argv[6], &argp7,SWIGTYPE_p_svn_client_ctx_t, 0 | 0 );
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_propset_local", 7, argv[6] ));
}
arg7 = (svn_client_ctx_t *)(argp7);
if (argc > 7) {
}
{
result = (svn_error_t *)svn_client_propset_local((char const *)arg1,(struct svn_string_t const *)arg2,(apr_array_header_t const *)arg3,arg4,arg5,(apr_array_header_t const *)arg6,arg7,arg8);
}
{
if (result) {
svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
svn_swig_rb_handle_svn_error(result);
}
vresult = Qnil;
}
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
{
VALUE target;
target = _global_vresult_address == &vresult ? self : vresult;
if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
}
return vresult;
fail:
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
{
VALUE target;
target = _global_vresult_address == &vresult ? self : vresult;
if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
}
return Qnil;
}
SWIGINTERN VALUE
_wrap_svn_client_propset3(int argc, VALUE *argv, VALUE self) {
svn_commit_info_t **arg1 = (svn_commit_info_t **) 0 ;
char *arg2 = (char *) 0 ;
svn_string_t *arg3 = (svn_string_t *) 0 ;
char *arg4 = (char *) 0 ;
svn_depth_t arg5 ;
svn_boolean_t arg6 ;
svn_revnum_t arg7 ;
apr_array_header_t *arg8 = (apr_array_header_t *) 0 ;
apr_hash_t *arg9 = (apr_hash_t *) 0 ;
svn_client_ctx_t *arg10 = (svn_client_ctx_t *) 0 ;
apr_pool_t *arg11 = (apr_pool_t *) 0 ;
VALUE _global_svn_swig_rb_pool ;
apr_pool_t *_global_pool ;
svn_commit_info_t *temp1 = NULL ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
svn_string_t value3 ;
int res4 ;
char *buf4 = 0 ;
int alloc4 = 0 ;
long val7 ;
int ecode7 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
svn_error_t *result = 0 ;
VALUE vresult = Qnil;
{
int adjusted_argc = argc;
VALUE *adjusted_argv = argv;
svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
&adjusted_argv);
svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
&_global_svn_swig_rb_pool, &arg11);
_global_pool = arg11;
svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
}
arg1 = &temp1;
if ((argc < 8) || (argc > 10)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
}
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_propset3", 2, argv[0] ));
}
arg2 = (char *)(buf2);
{
if (NIL_P(argv[1])) {
arg3 = NULL;
} else {
value3.data = StringValuePtr(argv[1]);
value3.len = RSTRING_LEN(argv[1]);
arg3 = &value3;
}
}
res4 = SWIG_AsCharPtrAndSize(argv[2], &buf4, NULL, &alloc4);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_propset3", 4, argv[2] ));
}
arg4 = (char *)(buf4);
{
arg5 = svn_swig_rb_to_depth(argv[3]);
}
arg6 = RTEST(argv[4]);
ecode7 = SWIG_AsVal_long(argv[5], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), Ruby_Format_TypeError( "", "svn_revnum_t","svn_client_propset3", 7, argv[5] ));
}
arg7 = (svn_revnum_t)(val7);
{
arg8 = (NIL_P(argv[6])) ? NULL :
svn_swig_rb_strings_to_apr_array(argv[6], _global_pool);
}
{
VALUE rb_pool = Qnil;
if (!_global_pool) {
svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
svn_swig_rb_push_pool(rb_pool);
}
arg9 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[7], _global_pool);
_global_pool = NULL;
if (!NIL_P(rb_pool)) {
if (NIL_P(arg9)) {
svn_swig_rb_destroy_pool(rb_pool);
} else {
svn_swig_rb_set_pool_for_no_swig_type(argv[7], rb_pool);
}
svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
}
}
if (argc > 8) {
res10 = SWIG_ConvertPtr(argv[8], &argp10,SWIGTYPE_p_svn_client_ctx_t, 0 | 0 );
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_propset3", 10, argv[8] ));
}
arg10 = (svn_client_ctx_t *)(argp10);
}
if (argc > 9) {
}
{
result = (svn_error_t *)svn_client_propset3(arg1,(char const *)arg2,(struct svn_string_t const *)arg3,(char const *)arg4,arg5,arg6,arg7,(apr_array_header_t const *)arg8,(apr_hash_t const *)arg9,arg10,arg11);
}
{
if (result) {
svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
svn_swig_rb_handle_svn_error(result);
}
vresult = Qnil;
}
{
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_commit_info_t, 0));
}
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
{
VALUE target;
target = _global_vresult_address == &vresult ? self : vresult;
if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
}
return vresult;
fail:
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
{
VALUE target;
target = _global_vresult_address == &vresult ? self : vresult;
if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
}
return Qnil;
}
SWIGINTERN VALUE
_wrap_svn_client_propset2(int argc, VALUE *argv, VALUE self) {
char *arg1 = (char *) 0 ;
svn_string_t *arg2 = (svn_string_t *) 0 ;
char *arg3 = (char *) 0 ;
svn_boolean_t arg4 ;
svn_boolean_t arg5 ;
svn_client_ctx_t *arg6 = (svn_client_ctx_t *) 0 ;
apr_pool_t *arg7 = (apr_pool_t *) 0 ;
VALUE _global_svn_swig_rb_pool ;
apr_pool_t *_global_pool ;
int res1 ;
char *buf1 = 0 ;
int alloc1 = 0 ;
svn_string_t value2 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
svn_error_t *result = 0 ;
VALUE vresult = Qnil;
{
int adjusted_argc = argc;
VALUE *adjusted_argv = argv;
svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
&adjusted_argv);
svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
&_global_svn_swig_rb_pool, &arg7);
_global_pool = arg7;
svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
}
if ((argc < 5) || (argc > 7)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
}
res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_propset2", 1, argv[0] ));
}
arg1 = (char *)(buf1);
{
if (NIL_P(argv[1])) {
arg2 = NULL;
} else {
value2.data = StringValuePtr(argv[1]);
value2.len = RSTRING_LEN(argv[1]);
arg2 = &value2;
}
}
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_propset2", 3, argv[2] ));
}
arg3 = (char *)(buf3);
arg4 = RTEST(argv[3]);
arg5 = RTEST(argv[4]);
if (argc > 5) {
res6 = SWIG_ConvertPtr(argv[5], &argp6,SWIGTYPE_p_svn_client_ctx_t, 0 | 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_propset2", 6, argv[5] ));
}
arg6 = (svn_client_ctx_t *)(argp6);
}
if (argc > 6) {
}
{
result = (svn_error_t *)svn_client_propset2((char const *)arg1,(struct svn_string_t const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7);
}
{
if (result) {
svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
svn_swig_rb_handle_svn_error(result);
}
vresult = Qnil;
}
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
{
VALUE target;
target = _global_vresult_address == &vresult ? self : vresult;
if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
}
return vresult;
fail:
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
{
VALUE target;
target = _global_vresult_address == &vresult ? self : vresult;
if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
}
return Qnil;
}
SWIGINTERN VALUE
_wrap_svn_client_propset(int argc, VALUE *argv, VALUE self) {
char *arg1 = (char *) 0 ;
svn_string_t *arg2 = (svn_string_t *) 0 ;
char *arg3 = (char *) 0 ;
svn_boolean_t arg4 ;
apr_pool_t *arg5 = (apr_pool_t *) 0 ;
VALUE _global_svn_swig_rb_pool ;
apr_pool_t *_global_pool ;
int res1 ;
char *buf1 = 0 ;
int alloc1 = 0 ;
svn_string_t value2 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
svn_error_t *result = 0 ;
VALUE vresult = Qnil;
{
svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
_global_pool = arg5;
svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
}
if ((argc < 4) || (argc > 5)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
}
res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_propset", 1, argv[0] ));
}
arg1 = (char *)(buf1);
{
if (NIL_P(argv[1])) {
arg2 = NULL;
} else {
value2.data = StringValuePtr(argv[1]);
value2.len = RSTRING_LEN(argv[1]);
arg2 = &value2;
}
}
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_propset", 3, argv[2] ));
}
arg3 = (char *)(buf3);
arg4 = RTEST(argv[3]);
if (argc > 4) {
}
{
result = (svn_error_t *)svn_client_propset((char const *)arg1,(struct svn_string_t const *)arg2,(char const *)arg3,arg4,arg5);
}
{
if (result) {
svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
svn_swig_rb_handle_svn_error(result);
}
vresult = Qnil;
}
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
{
VALUE target;
target = _global_vresult_address == &vresult ? self : vresult;
if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
}
return vresult;
fail:
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
{
VALUE target;
target = _global_vresult_address == &vresult ? self : vresult;
if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
}
return Qnil;
}
SWIGINTERN VALUE
_wrap_svn_client_revprop_set2(int argc, VALUE *argv, VALUE self) {
char *arg1 = (char *) 0 ;
svn_string_t *arg2 = (svn_string_t *) 0 ;
svn_string_t *arg3 = (svn_string_t *) 0 ;
char *arg4 = (char *) 0 ;
svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
svn_revnum_t *arg6 = (svn_revnum_t *) 0 ;
svn_boolean_t arg7 ;
svn_client_ctx_t *arg8 = (svn_client_ctx_t *) 0 ;
apr_pool_t *arg9 = (apr_pool_t *) 0 ;
VALUE _global_svn_swig_rb_pool ;
apr_pool_t *_global_pool ;
int res1 ;
char *buf1 = 0 ;
int alloc1 = 0 ;
svn_string_t value2 ;
svn_string_t value3 ;
int res4 ;
char *buf4 = 0 ;
int alloc4 = 0 ;
svn_opt_revision_t rev5 ;
svn_revnum_t temp6 ;
int res6 = SWIG_TMPOBJ ;
src/subversion/subversion/bindings/swig/ruby/svn_client.c view on Meta::CPAN
rb_define_module_function(mClient, "svn_client_diff_peg6", _wrap_svn_client_diff_peg6, -1);
rb_define_module_function(mClient, "svn_client_diff_peg5", _wrap_svn_client_diff_peg5, -1);
rb_define_module_function(mClient, "svn_client_diff_peg4", _wrap_svn_client_diff_peg4, -1);
rb_define_module_function(mClient, "svn_client_diff_peg3", _wrap_svn_client_diff_peg3, -1);
rb_define_module_function(mClient, "svn_client_diff_peg2", _wrap_svn_client_diff_peg2, -1);
rb_define_module_function(mClient, "svn_client_diff_peg", _wrap_svn_client_diff_peg, -1);
rb_define_module_function(mClient, "svn_client_diff_summarize2", _wrap_svn_client_diff_summarize2, -1);
rb_define_module_function(mClient, "svn_client_diff_summarize", _wrap_svn_client_diff_summarize, -1);
rb_define_module_function(mClient, "svn_client_diff_summarize_peg2", _wrap_svn_client_diff_summarize_peg2, -1);
rb_define_module_function(mClient, "svn_client_diff_summarize_peg", _wrap_svn_client_diff_summarize_peg, -1);
rb_define_module_function(mClient, "svn_client_get_merging_summary", _wrap_svn_client_get_merging_summary, -1);
rb_define_module_function(mClient, "svn_client_merge5", _wrap_svn_client_merge5, -1);
rb_define_module_function(mClient, "svn_client_merge4", _wrap_svn_client_merge4, -1);
rb_define_module_function(mClient, "svn_client_merge3", _wrap_svn_client_merge3, -1);
rb_define_module_function(mClient, "svn_client_merge2", _wrap_svn_client_merge2, -1);
rb_define_module_function(mClient, "svn_client_merge", _wrap_svn_client_merge, -1);
rb_define_module_function(mClient, "svn_client_merge_reintegrate", _wrap_svn_client_merge_reintegrate, -1);
rb_define_module_function(mClient, "svn_client_merge_peg5", _wrap_svn_client_merge_peg5, -1);
rb_define_module_function(mClient, "svn_client_merge_peg4", _wrap_svn_client_merge_peg4, -1);
rb_define_module_function(mClient, "svn_client_merge_peg3", _wrap_svn_client_merge_peg3, -1);
rb_define_module_function(mClient, "svn_client_merge_peg2", _wrap_svn_client_merge_peg2, -1);
rb_define_module_function(mClient, "svn_client_merge_peg", _wrap_svn_client_merge_peg, -1);
rb_define_module_function(mClient, "svn_client_suggest_merge_sources", _wrap_svn_client_suggest_merge_sources, -1);
rb_define_module_function(mClient, "svn_client_mergeinfo_get_merged", _wrap_svn_client_mergeinfo_get_merged, -1);
rb_define_module_function(mClient, "svn_client_mergeinfo_log2", _wrap_svn_client_mergeinfo_log2, -1);
rb_define_module_function(mClient, "svn_client_mergeinfo_log", _wrap_svn_client_mergeinfo_log, -1);
rb_define_module_function(mClient, "svn_client_mergeinfo_log_merged", _wrap_svn_client_mergeinfo_log_merged, -1);
rb_define_module_function(mClient, "svn_client_mergeinfo_log_eligible", _wrap_svn_client_mergeinfo_log_eligible, -1);
rb_define_module_function(mClient, "svn_client_cleanup", _wrap_svn_client_cleanup, -1);
rb_define_module_function(mClient, "svn_client_upgrade", _wrap_svn_client_upgrade, -1);
rb_define_module_function(mClient, "svn_client_relocate2", _wrap_svn_client_relocate2, -1);
rb_define_module_function(mClient, "svn_client_relocate", _wrap_svn_client_relocate, -1);
rb_define_module_function(mClient, "svn_client_revert2", _wrap_svn_client_revert2, -1);
rb_define_module_function(mClient, "svn_client_revert", _wrap_svn_client_revert, -1);
rb_define_module_function(mClient, "svn_client_resolved", _wrap_svn_client_resolved, -1);
rb_define_module_function(mClient, "svn_client_resolve", _wrap_svn_client_resolve, -1);
SwigClassSvn_client_copy_source_t.klass = rb_define_class_under(mClient, "Svn_client_copy_source_t", rb_cObject);
SWIG_TypeClientData(SWIGTYPE_p_svn_client_copy_source_t, (void *) &SwigClassSvn_client_copy_source_t);
rb_define_alloc_func(SwigClassSvn_client_copy_source_t.klass, _wrap_svn_client_copy_source_t_allocate);
rb_define_method(SwigClassSvn_client_copy_source_t.klass, "initialize", _wrap_new_svn_client_copy_source_t, -1);
rb_define_method(SwigClassSvn_client_copy_source_t.klass, "path", _wrap_svn_client_copy_source_t_path, -1);
rb_define_method(SwigClassSvn_client_copy_source_t.klass, "revision", _wrap_svn_client_copy_source_t_revision, -1);
rb_define_method(SwigClassSvn_client_copy_source_t.klass, "peg_revision", _wrap_svn_client_copy_source_t_peg_revision, -1);
SwigClassSvn_client_copy_source_t.mark = 0;
SwigClassSvn_client_copy_source_t.destroy = (void (*)(void *)) free_svn_client_copy_source_t;
SwigClassSvn_client_copy_source_t.trackObjects = 0;
rb_define_module_function(mClient, "svn_client_copy6", _wrap_svn_client_copy6, -1);
rb_define_module_function(mClient, "svn_client_copy5", _wrap_svn_client_copy5, -1);
rb_define_module_function(mClient, "svn_client_copy4", _wrap_svn_client_copy4, -1);
rb_define_module_function(mClient, "svn_client_copy3", _wrap_svn_client_copy3, -1);
rb_define_module_function(mClient, "svn_client_copy2", _wrap_svn_client_copy2, -1);
rb_define_module_function(mClient, "svn_client_copy", _wrap_svn_client_copy, -1);
rb_define_module_function(mClient, "svn_client_move7", _wrap_svn_client_move7, -1);
rb_define_module_function(mClient, "svn_client_move6", _wrap_svn_client_move6, -1);
rb_define_module_function(mClient, "svn_client_move5", _wrap_svn_client_move5, -1);
rb_define_module_function(mClient, "svn_client_move4", _wrap_svn_client_move4, -1);
rb_define_module_function(mClient, "svn_client_move3", _wrap_svn_client_move3, -1);
rb_define_module_function(mClient, "svn_client_move2", _wrap_svn_client_move2, -1);
rb_define_module_function(mClient, "svn_client_move", _wrap_svn_client_move, -1);
rb_define_module_function(mClient, "svn_client_propset_remote", _wrap_svn_client_propset_remote, -1);
rb_define_module_function(mClient, "svn_client_propset_local", _wrap_svn_client_propset_local, -1);
rb_define_module_function(mClient, "svn_client_propset3", _wrap_svn_client_propset3, -1);
rb_define_module_function(mClient, "svn_client_propset2", _wrap_svn_client_propset2, -1);
rb_define_module_function(mClient, "svn_client_propset", _wrap_svn_client_propset, -1);
rb_define_module_function(mClient, "svn_client_revprop_set2", _wrap_svn_client_revprop_set2, -1);
rb_define_module_function(mClient, "svn_client_revprop_set", _wrap_svn_client_revprop_set, -1);
rb_define_module_function(mClient, "svn_client_propget5", _wrap_svn_client_propget5, -1);
rb_define_module_function(mClient, "svn_client_propget4", _wrap_svn_client_propget4, -1);
rb_define_module_function(mClient, "svn_client_propget3", _wrap_svn_client_propget3, -1);
rb_define_module_function(mClient, "svn_client_propget2", _wrap_svn_client_propget2, -1);
rb_define_module_function(mClient, "svn_client_propget", _wrap_svn_client_propget, -1);
rb_define_module_function(mClient, "svn_client_revprop_get", _wrap_svn_client_revprop_get, -1);
rb_define_module_function(mClient, "svn_client_proplist4", _wrap_svn_client_proplist4, -1);
rb_define_module_function(mClient, "svn_client_proplist3", _wrap_svn_client_proplist3, -1);
rb_define_module_function(mClient, "svn_client_proplist2", _wrap_svn_client_proplist2, -1);
rb_define_module_function(mClient, "svn_client_proplist", _wrap_svn_client_proplist, -1);
rb_define_module_function(mClient, "svn_client_revprop_list", _wrap_svn_client_revprop_list, -1);
rb_define_module_function(mClient, "svn_client_export5", _wrap_svn_client_export5, -1);
rb_define_module_function(mClient, "svn_client_export4", _wrap_svn_client_export4, -1);
rb_define_module_function(mClient, "svn_client_export3", _wrap_svn_client_export3, -1);
rb_define_module_function(mClient, "svn_client_export2", _wrap_svn_client_export2, -1);
rb_define_module_function(mClient, "svn_client_export", _wrap_svn_client_export, -1);
rb_define_module_function(mClient, "svn_client_list3", _wrap_svn_client_list3, -1);
rb_define_module_function(mClient, "svn_client_list2", _wrap_svn_client_list2, -1);
rb_define_module_function(mClient, "svn_client_list", _wrap_svn_client_list, -1);
rb_define_module_function(mClient, "svn_client_ls3", _wrap_svn_client_ls3, -1);
rb_define_module_function(mClient, "svn_client_ls2", _wrap_svn_client_ls2, -1);
rb_define_module_function(mClient, "svn_client_ls", _wrap_svn_client_ls, -1);
rb_define_module_function(mClient, "svn_client_cat2", _wrap_svn_client_cat2, -1);
rb_define_module_function(mClient, "svn_client_cat", _wrap_svn_client_cat, -1);
rb_define_module_function(mClient, "svn_client_add_to_changelist", _wrap_svn_client_add_to_changelist, -1);
rb_define_module_function(mClient, "svn_client_remove_from_changelists", _wrap_svn_client_remove_from_changelists, -1);
rb_define_module_function(mClient, "svn_client_get_changelists", _wrap_svn_client_get_changelists, -1);
rb_define_module_function(mClient, "svn_client_lock", _wrap_svn_client_lock, -1);
rb_define_module_function(mClient, "svn_client_unlock", _wrap_svn_client_unlock, -1);
SwigClassSvn_info_t.klass = rb_define_class_under(mClient, "Svn_info_t", rb_cObject);
SWIG_TypeClientData(SWIGTYPE_p_svn_info_t, (void *) &SwigClassSvn_info_t);
rb_define_alloc_func(SwigClassSvn_info_t.klass, _wrap_svn_info_t_allocate);
rb_define_method(SwigClassSvn_info_t.klass, "initialize", _wrap_new_svn_info_t, -1);
rb_define_method(SwigClassSvn_info_t.klass, "URL=", _wrap_svn_info_t_URL_set, -1);
rb_define_method(SwigClassSvn_info_t.klass, "URL", _wrap_svn_info_t_URL_get, -1);
rb_define_method(SwigClassSvn_info_t.klass, "rev=", _wrap_svn_info_t_rev_set, -1);
rb_define_method(SwigClassSvn_info_t.klass, "rev", _wrap_svn_info_t_rev_get, -1);
rb_define_method(SwigClassSvn_info_t.klass, "kind=", _wrap_svn_info_t_kind_set, -1);
rb_define_method(SwigClassSvn_info_t.klass, "kind", _wrap_svn_info_t_kind_get, -1);
rb_define_method(SwigClassSvn_info_t.klass, "repos_root_URL=", _wrap_svn_info_t_repos_root_URL_set, -1);
rb_define_method(SwigClassSvn_info_t.klass, "repos_root_URL", _wrap_svn_info_t_repos_root_URL_get, -1);
rb_define_method(SwigClassSvn_info_t.klass, "repos_UUID=", _wrap_svn_info_t_repos_UUID_set, -1);
rb_define_method(SwigClassSvn_info_t.klass, "repos_UUID", _wrap_svn_info_t_repos_UUID_get, -1);
rb_define_method(SwigClassSvn_info_t.klass, "last_changed_rev=", _wrap_svn_info_t_last_changed_rev_set, -1);
rb_define_method(SwigClassSvn_info_t.klass, "last_changed_rev", _wrap_svn_info_t_last_changed_rev_get, -1);
rb_define_method(SwigClassSvn_info_t.klass, "last_changed_date=", _wrap_svn_info_t_last_changed_date_set, -1);
rb_define_method(SwigClassSvn_info_t.klass, "last_changed_date", _wrap_svn_info_t_last_changed_date_get, -1);
rb_define_method(SwigClassSvn_info_t.klass, "last_changed_author=", _wrap_svn_info_t_last_changed_author_set, -1);
rb_define_method(SwigClassSvn_info_t.klass, "last_changed_author", _wrap_svn_info_t_last_changed_author_get, -1);
rb_define_method(SwigClassSvn_info_t.klass, "lock=", _wrap_svn_info_t_lock_set, -1);
rb_define_method(SwigClassSvn_info_t.klass, "lock", _wrap_svn_info_t_lock_get, -1);
rb_define_method(SwigClassSvn_info_t.klass, "has_wc_info=", _wrap_svn_info_t_has_wc_info_set, -1);
rb_define_method(SwigClassSvn_info_t.klass, "has_wc_info", _wrap_svn_info_t_has_wc_info_get, -1);
rb_define_method(SwigClassSvn_info_t.klass, "schedule=", _wrap_svn_info_t_schedule_set, -1);
rb_define_method(SwigClassSvn_info_t.klass, "schedule", _wrap_svn_info_t_schedule_get, -1);
rb_define_method(SwigClassSvn_info_t.klass, "copyfrom_url=", _wrap_svn_info_t_copyfrom_url_set, -1);
rb_define_method(SwigClassSvn_info_t.klass, "copyfrom_url", _wrap_svn_info_t_copyfrom_url_get, -1);
( run in 1.057 second using v1.01-cache-2.11-cpan-71847e10f99 )