7353
static swig_class SwigClassSvn_wc_conflict_description2_t;
7356
_wrap_svn_wc_conflict_description2_t_local_abspath_set(int argc, VALUE *argv, VALUE self) {
7357
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
7358
char *arg2 = (char *) 0 ;
7365
if ((argc < 1) || (argc > 1)) {
7366
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7368
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
7369
if (!SWIG_IsOK(res1)) {
7370
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","local_abspath", 1, self ));
7372
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
7373
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
7374
if (!SWIG_IsOK(res2)) {
7375
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","local_abspath", 2, argv[0] ));
7377
arg2 = (char *)(buf2);
7379
apr_size_t len = strlen(arg2) + 1;
7381
if (arg1->local_abspath) free((char *)arg1->local_abspath);
7382
copied = malloc(len);
7383
memcpy(copied, arg2, len);
7384
arg1->local_abspath = copied;
7386
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7389
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7395
_wrap_svn_wc_conflict_description2_t_local_abspath_get(int argc, VALUE *argv, VALUE self) {
7396
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
7400
VALUE vresult = Qnil;
7402
if ((argc < 0) || (argc > 0)) {
7403
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7405
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
7406
if (!SWIG_IsOK(res1)) {
7407
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","local_abspath", 1, self ));
7409
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
7410
result = (char *) ((arg1)->local_abspath);
7413
vresult = rb_str_new2(result);
7425
_wrap_svn_wc_conflict_description2_t_node_kind_set(int argc, VALUE *argv, VALUE self) {
7426
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
7427
svn_node_kind_t arg2 ;
7433
if ((argc < 1) || (argc > 1)) {
7434
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7436
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
7437
if (!SWIG_IsOK(res1)) {
7438
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","node_kind", 1, self ));
7440
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
7441
ecode2 = SWIG_AsVal_int(argv[0], &val2);
7442
if (!SWIG_IsOK(ecode2)) {
7443
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_node_kind_t","node_kind", 2, argv[0] ));
7445
arg2 = (svn_node_kind_t)(val2);
7446
if (arg1) (arg1)->node_kind = arg2;
7454
_wrap_svn_wc_conflict_description2_t_node_kind_get(int argc, VALUE *argv, VALUE self) {
7455
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
7458
svn_node_kind_t result;
7459
VALUE vresult = Qnil;
7461
if ((argc < 0) || (argc > 0)) {
7462
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7464
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
7465
if (!SWIG_IsOK(res1)) {
7466
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","node_kind", 1, self ));
7468
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
7469
result = (svn_node_kind_t) ((arg1)->node_kind);
7470
vresult = SWIG_From_int((int)(result));
7478
_wrap_svn_wc_conflict_description2_t_kind_set(int argc, VALUE *argv, VALUE self) {
7479
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
7480
svn_wc_conflict_kind_t arg2 ;
7486
if ((argc < 1) || (argc > 1)) {
7487
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7489
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
7490
if (!SWIG_IsOK(res1)) {
7491
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","kind", 1, self ));
7493
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
7494
ecode2 = SWIG_AsVal_int(argv[0], &val2);
7495
if (!SWIG_IsOK(ecode2)) {
7496
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_wc_conflict_kind_t","kind", 2, argv[0] ));
7498
arg2 = (svn_wc_conflict_kind_t)(val2);
7499
if (arg1) (arg1)->kind = arg2;
7507
_wrap_svn_wc_conflict_description2_t_kind_get(int argc, VALUE *argv, VALUE self) {
7508
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
7511
svn_wc_conflict_kind_t result;
7512
VALUE vresult = Qnil;
7514
if ((argc < 0) || (argc > 0)) {
7515
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7517
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
7518
if (!SWIG_IsOK(res1)) {
7519
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","kind", 1, self ));
7521
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
7522
result = (svn_wc_conflict_kind_t) ((arg1)->kind);
7523
vresult = SWIG_From_int((int)(result));
7531
_wrap_svn_wc_conflict_description2_t_property_name_set(int argc, VALUE *argv, VALUE self) {
7532
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
7533
char *arg2 = (char *) 0 ;
7540
if ((argc < 1) || (argc > 1)) {
7541
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7543
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
7544
if (!SWIG_IsOK(res1)) {
7545
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","property_name", 1, self ));
7547
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
7548
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
7549
if (!SWIG_IsOK(res2)) {
7550
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","property_name", 2, argv[0] ));
7552
arg2 = (char *)(buf2);
7554
apr_size_t len = strlen(arg2) + 1;
7556
if (arg1->property_name) free((char *)arg1->property_name);
7557
copied = malloc(len);
7558
memcpy(copied, arg2, len);
7559
arg1->property_name = copied;
7561
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7564
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7570
_wrap_svn_wc_conflict_description2_t_property_name_get(int argc, VALUE *argv, VALUE self) {
7571
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
7575
VALUE vresult = Qnil;
7577
if ((argc < 0) || (argc > 0)) {
7578
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7580
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
7581
if (!SWIG_IsOK(res1)) {
7582
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","property_name", 1, self ));
7584
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
7585
result = (char *) ((arg1)->property_name);
7588
vresult = rb_str_new2(result);
7600
_wrap_svn_wc_conflict_description2_t_is_binary_set(int argc, VALUE *argv, VALUE self) {
7601
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
7602
svn_boolean_t arg2 ;
7606
if ((argc < 1) || (argc > 1)) {
7607
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7609
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
7610
if (!SWIG_IsOK(res1)) {
7611
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","is_binary", 1, self ));
7613
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
7614
arg2 = RTEST(argv[0]);
7615
if (arg1) (arg1)->is_binary = arg2;
7623
_wrap_svn_wc_conflict_description2_t_is_binary_get(int argc, VALUE *argv, VALUE self) {
7624
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
7627
svn_boolean_t result;
7628
VALUE vresult = Qnil;
7630
if ((argc < 0) || (argc > 0)) {
7631
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7633
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
7634
if (!SWIG_IsOK(res1)) {
7635
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","is_binary", 1, self ));
7637
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
7638
result = (svn_boolean_t) ((arg1)->is_binary);
7639
vresult = result ? Qtrue : Qfalse;
7647
_wrap_svn_wc_conflict_description2_t_mime_type_set(int argc, VALUE *argv, VALUE self) {
7648
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
7649
char *arg2 = (char *) 0 ;
7656
if ((argc < 1) || (argc > 1)) {
7657
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7659
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
7660
if (!SWIG_IsOK(res1)) {
7661
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","mime_type", 1, self ));
7663
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
7664
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
7665
if (!SWIG_IsOK(res2)) {
7666
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","mime_type", 2, argv[0] ));
7668
arg2 = (char *)(buf2);
7670
apr_size_t len = strlen(arg2) + 1;
7672
if (arg1->mime_type) free((char *)arg1->mime_type);
7673
copied = malloc(len);
7674
memcpy(copied, arg2, len);
7675
arg1->mime_type = copied;
7677
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7680
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7686
_wrap_svn_wc_conflict_description2_t_mime_type_get(int argc, VALUE *argv, VALUE self) {
7687
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
7691
VALUE vresult = Qnil;
7693
if ((argc < 0) || (argc > 0)) {
7694
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7696
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
7697
if (!SWIG_IsOK(res1)) {
7698
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","mime_type", 1, self ));
7700
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
7701
result = (char *) ((arg1)->mime_type);
7704
vresult = rb_str_new2(result);
7716
_wrap_svn_wc_conflict_description2_t_action_set(int argc, VALUE *argv, VALUE self) {
7717
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
7718
svn_wc_conflict_action_t arg2 ;
7724
if ((argc < 1) || (argc > 1)) {
7725
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7727
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
7728
if (!SWIG_IsOK(res1)) {
7729
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","action", 1, self ));
7731
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
7732
ecode2 = SWIG_AsVal_int(argv[0], &val2);
7733
if (!SWIG_IsOK(ecode2)) {
7734
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_wc_conflict_action_t","action", 2, argv[0] ));
7736
arg2 = (svn_wc_conflict_action_t)(val2);
7737
if (arg1) (arg1)->action = arg2;
7745
_wrap_svn_wc_conflict_description2_t_action_get(int argc, VALUE *argv, VALUE self) {
7746
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
7749
svn_wc_conflict_action_t result;
7750
VALUE vresult = Qnil;
7752
if ((argc < 0) || (argc > 0)) {
7753
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7755
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
7756
if (!SWIG_IsOK(res1)) {
7757
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","action", 1, self ));
7759
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
7760
result = (svn_wc_conflict_action_t) ((arg1)->action);
7761
vresult = SWIG_From_int((int)(result));
7769
_wrap_svn_wc_conflict_description2_t_reason_set(int argc, VALUE *argv, VALUE self) {
7770
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
7771
svn_wc_conflict_reason_t arg2 ;
7777
if ((argc < 1) || (argc > 1)) {
7778
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7780
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
7781
if (!SWIG_IsOK(res1)) {
7782
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","reason", 1, self ));
7784
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
7785
ecode2 = SWIG_AsVal_int(argv[0], &val2);
7786
if (!SWIG_IsOK(ecode2)) {
7787
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_wc_conflict_reason_t","reason", 2, argv[0] ));
7789
arg2 = (svn_wc_conflict_reason_t)(val2);
7790
if (arg1) (arg1)->reason = arg2;
7798
_wrap_svn_wc_conflict_description2_t_reason_get(int argc, VALUE *argv, VALUE self) {
7799
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
7802
svn_wc_conflict_reason_t result;
7803
VALUE vresult = Qnil;
7805
if ((argc < 0) || (argc > 0)) {
7806
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7808
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
7809
if (!SWIG_IsOK(res1)) {
7810
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","reason", 1, self ));
7812
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
7813
result = (svn_wc_conflict_reason_t) ((arg1)->reason);
7814
vresult = SWIG_From_int((int)(result));
7822
_wrap_svn_wc_conflict_description2_t_base_abspath_set(int argc, VALUE *argv, VALUE self) {
7823
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
7824
char *arg2 = (char *) 0 ;
7831
if ((argc < 1) || (argc > 1)) {
7832
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7834
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
7835
if (!SWIG_IsOK(res1)) {
7836
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","base_abspath", 1, self ));
7838
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
7839
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
7840
if (!SWIG_IsOK(res2)) {
7841
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","base_abspath", 2, argv[0] ));
7843
arg2 = (char *)(buf2);
7845
apr_size_t len = strlen(arg2) + 1;
7847
if (arg1->base_abspath) free((char *)arg1->base_abspath);
7848
copied = malloc(len);
7849
memcpy(copied, arg2, len);
7850
arg1->base_abspath = copied;
7852
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7855
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7861
_wrap_svn_wc_conflict_description2_t_base_abspath_get(int argc, VALUE *argv, VALUE self) {
7862
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
7866
VALUE vresult = Qnil;
7868
if ((argc < 0) || (argc > 0)) {
7869
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7871
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
7872
if (!SWIG_IsOK(res1)) {
7873
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","base_abspath", 1, self ));
7875
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
7876
result = (char *) ((arg1)->base_abspath);
7879
vresult = rb_str_new2(result);
7891
_wrap_svn_wc_conflict_description2_t_their_abspath_set(int argc, VALUE *argv, VALUE self) {
7892
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
7893
char *arg2 = (char *) 0 ;
7900
if ((argc < 1) || (argc > 1)) {
7901
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7903
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
7904
if (!SWIG_IsOK(res1)) {
7905
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","their_abspath", 1, self ));
7907
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
7908
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
7909
if (!SWIG_IsOK(res2)) {
7910
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","their_abspath", 2, argv[0] ));
7912
arg2 = (char *)(buf2);
7914
apr_size_t len = strlen(arg2) + 1;
7916
if (arg1->their_abspath) free((char *)arg1->their_abspath);
7917
copied = malloc(len);
7918
memcpy(copied, arg2, len);
7919
arg1->their_abspath = copied;
7921
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7924
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7930
_wrap_svn_wc_conflict_description2_t_their_abspath_get(int argc, VALUE *argv, VALUE self) {
7931
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
7935
VALUE vresult = Qnil;
7937
if ((argc < 0) || (argc > 0)) {
7938
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7940
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
7941
if (!SWIG_IsOK(res1)) {
7942
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","their_abspath", 1, self ));
7944
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
7945
result = (char *) ((arg1)->their_abspath);
7948
vresult = rb_str_new2(result);
7960
_wrap_svn_wc_conflict_description2_t_my_abspath_set(int argc, VALUE *argv, VALUE self) {
7961
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
7962
char *arg2 = (char *) 0 ;
7969
if ((argc < 1) || (argc > 1)) {
7970
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7972
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
7973
if (!SWIG_IsOK(res1)) {
7974
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","my_abspath", 1, self ));
7976
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
7977
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
7978
if (!SWIG_IsOK(res2)) {
7979
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","my_abspath", 2, argv[0] ));
7981
arg2 = (char *)(buf2);
7983
apr_size_t len = strlen(arg2) + 1;
7985
if (arg1->my_abspath) free((char *)arg1->my_abspath);
7986
copied = malloc(len);
7987
memcpy(copied, arg2, len);
7988
arg1->my_abspath = copied;
7990
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7993
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7999
_wrap_svn_wc_conflict_description2_t_my_abspath_get(int argc, VALUE *argv, VALUE self) {
8000
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
8004
VALUE vresult = Qnil;
8006
if ((argc < 0) || (argc > 0)) {
8007
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8009
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
8010
if (!SWIG_IsOK(res1)) {
8011
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","my_abspath", 1, self ));
8013
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
8014
result = (char *) ((arg1)->my_abspath);
8017
vresult = rb_str_new2(result);
8029
_wrap_svn_wc_conflict_description2_t_merged_file_set(int argc, VALUE *argv, VALUE self) {
8030
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
8031
char *arg2 = (char *) 0 ;
8038
if ((argc < 1) || (argc > 1)) {
8039
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8041
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
8042
if (!SWIG_IsOK(res1)) {
8043
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","merged_file", 1, self ));
8045
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
8046
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
8047
if (!SWIG_IsOK(res2)) {
8048
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","merged_file", 2, argv[0] ));
8050
arg2 = (char *)(buf2);
8052
apr_size_t len = strlen(arg2) + 1;
8054
if (arg1->merged_file) free((char *)arg1->merged_file);
8055
copied = malloc(len);
8056
memcpy(copied, arg2, len);
8057
arg1->merged_file = copied;
8059
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8062
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8068
_wrap_svn_wc_conflict_description2_t_merged_file_get(int argc, VALUE *argv, VALUE self) {
8069
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
8073
VALUE vresult = Qnil;
8075
if ((argc < 0) || (argc > 0)) {
8076
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8078
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
8079
if (!SWIG_IsOK(res1)) {
8080
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","merged_file", 1, self ));
8082
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
8083
result = (char *) ((arg1)->merged_file);
8086
vresult = rb_str_new2(result);
8098
_wrap_svn_wc_conflict_description2_t_operation_set(int argc, VALUE *argv, VALUE self) {
8099
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
8100
svn_wc_operation_t arg2 ;
8106
if ((argc < 1) || (argc > 1)) {
8107
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8109
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
8110
if (!SWIG_IsOK(res1)) {
8111
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","operation", 1, self ));
8113
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
8114
ecode2 = SWIG_AsVal_int(argv[0], &val2);
8115
if (!SWIG_IsOK(ecode2)) {
8116
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_wc_operation_t","operation", 2, argv[0] ));
8118
arg2 = (svn_wc_operation_t)(val2);
8119
if (arg1) (arg1)->operation = arg2;
8127
_wrap_svn_wc_conflict_description2_t_operation_get(int argc, VALUE *argv, VALUE self) {
8128
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
8131
svn_wc_operation_t result;
8132
VALUE vresult = Qnil;
8134
if ((argc < 0) || (argc > 0)) {
8135
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8137
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
8138
if (!SWIG_IsOK(res1)) {
8139
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","operation", 1, self ));
8141
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
8142
result = (svn_wc_operation_t) ((arg1)->operation);
8143
vresult = SWIG_From_int((int)(result));
8151
_wrap_svn_wc_conflict_description2_t_src_left_version_set(int argc, VALUE *argv, VALUE self) {
8152
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
8153
svn_wc_conflict_version_t *arg2 = (svn_wc_conflict_version_t *) 0 ;
8159
if ((argc < 1) || (argc > 1)) {
8160
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8162
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
8163
if (!SWIG_IsOK(res1)) {
8164
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","src_left_version", 1, self ));
8166
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
8167
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_wc_conflict_version_t, SWIG_POINTER_DISOWN | 0 );
8168
if (!SWIG_IsOK(res2)) {
8169
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_wc_conflict_version_t const *","src_left_version", 2, argv[0] ));
8171
arg2 = (svn_wc_conflict_version_t *)(argp2);
8172
if (arg1) (arg1)->src_left_version = (svn_wc_conflict_version_t const *)arg2;
8180
_wrap_svn_wc_conflict_description2_t_src_left_version_get(int argc, VALUE *argv, VALUE self) {
8181
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
8184
svn_wc_conflict_version_t *result = 0 ;
8185
VALUE vresult = Qnil;
8187
if ((argc < 0) || (argc > 0)) {
8188
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8190
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
8191
if (!SWIG_IsOK(res1)) {
8192
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","src_left_version", 1, self ));
8194
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
8195
result = (svn_wc_conflict_version_t *) ((arg1)->src_left_version);
8196
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_wc_conflict_version_t, 0 | 0 );
8204
_wrap_svn_wc_conflict_description2_t_src_right_version_set(int argc, VALUE *argv, VALUE self) {
8205
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
8206
svn_wc_conflict_version_t *arg2 = (svn_wc_conflict_version_t *) 0 ;
8212
if ((argc < 1) || (argc > 1)) {
8213
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8215
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
8216
if (!SWIG_IsOK(res1)) {
8217
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","src_right_version", 1, self ));
8219
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
8220
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_wc_conflict_version_t, SWIG_POINTER_DISOWN | 0 );
8221
if (!SWIG_IsOK(res2)) {
8222
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_wc_conflict_version_t const *","src_right_version", 2, argv[0] ));
8224
arg2 = (svn_wc_conflict_version_t *)(argp2);
8225
if (arg1) (arg1)->src_right_version = (svn_wc_conflict_version_t const *)arg2;
8233
_wrap_svn_wc_conflict_description2_t_src_right_version_get(int argc, VALUE *argv, VALUE self) {
8234
struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
8237
svn_wc_conflict_version_t *result = 0 ;
8238
VALUE vresult = Qnil;
8240
if ((argc < 0) || (argc > 0)) {
8241
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8243
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
8244
if (!SWIG_IsOK(res1)) {
8245
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","src_right_version", 1, self ));
8247
arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
8248
result = (svn_wc_conflict_version_t *) ((arg1)->src_right_version);
8249
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_wc_conflict_version_t, 0 | 0 );
8256
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
8258
_wrap_svn_wc_conflict_description2_t_allocate(VALUE self) {
8261
_wrap_svn_wc_conflict_description2_t_allocate(int argc, VALUE *argv, VALUE self) {
8265
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_wc_conflict_description2_t);
8266
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
8267
rb_obj_call_init(vresult, argc, argv);
8274
_wrap_new_svn_wc_conflict_description2_t(int argc, VALUE *argv, VALUE self) {
8275
struct svn_wc_conflict_description2_t *result = 0 ;
8277
if ((argc < 0) || (argc > 0)) {
8278
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8281
result = (struct svn_wc_conflict_description2_t *)calloc(1, sizeof(struct svn_wc_conflict_description2_t));
8282
DATA_PTR(self) = result;
8294
free_svn_wc_conflict_description2_t(struct svn_wc_conflict_description2_t *arg1) {
8295
free((char *) arg1);
8298
7342
static swig_class SwigClassSvn_wc_conflict_description_t;
8300
7344
SWIGINTERN VALUE
9818
static swig_class SwigClassSvn_wc_conflict_result_t;
9821
_wrap_svn_wc_conflict_result_t_choice_set(int argc, VALUE *argv, VALUE self) {
9822
struct svn_wc_conflict_result_t *arg1 = (struct svn_wc_conflict_result_t *) 0 ;
9823
svn_wc_conflict_choice_t arg2 ;
9829
if ((argc < 1) || (argc > 1)) {
9830
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9832
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_result_t, 0 | 0 );
9833
if (!SWIG_IsOK(res1)) {
9834
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_result_t *","choice", 1, self ));
9836
arg1 = (struct svn_wc_conflict_result_t *)(argp1);
9837
ecode2 = SWIG_AsVal_int(argv[0], &val2);
9838
if (!SWIG_IsOK(ecode2)) {
9839
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_wc_conflict_choice_t","choice", 2, argv[0] ));
9841
arg2 = (svn_wc_conflict_choice_t)(val2);
9842
if (arg1) (arg1)->choice = arg2;
9850
_wrap_svn_wc_conflict_result_t_choice_get(int argc, VALUE *argv, VALUE self) {
9851
struct svn_wc_conflict_result_t *arg1 = (struct svn_wc_conflict_result_t *) 0 ;
9854
svn_wc_conflict_choice_t result;
9855
VALUE vresult = Qnil;
9857
if ((argc < 0) || (argc > 0)) {
9858
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9860
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_result_t, 0 | 0 );
9861
if (!SWIG_IsOK(res1)) {
9862
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_result_t *","choice", 1, self ));
9864
arg1 = (struct svn_wc_conflict_result_t *)(argp1);
9865
result = (svn_wc_conflict_choice_t) ((arg1)->choice);
9866
vresult = SWIG_From_int((int)(result));
9874
_wrap_svn_wc_conflict_result_t_merged_file_set(int argc, VALUE *argv, VALUE self) {
9875
struct svn_wc_conflict_result_t *arg1 = (struct svn_wc_conflict_result_t *) 0 ;
9876
char *arg2 = (char *) 0 ;
9883
if ((argc < 1) || (argc > 1)) {
9884
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9886
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_result_t, 0 | 0 );
9887
if (!SWIG_IsOK(res1)) {
9888
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_result_t *","merged_file", 1, self ));
9890
arg1 = (struct svn_wc_conflict_result_t *)(argp1);
9891
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
9892
if (!SWIG_IsOK(res2)) {
9893
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","merged_file", 2, argv[0] ));
9895
arg2 = (char *)(buf2);
9897
apr_size_t len = strlen(arg2) + 1;
9899
if (arg1->merged_file) free((char *)arg1->merged_file);
9900
copied = malloc(len);
9901
memcpy(copied, arg2, len);
9902
arg1->merged_file = copied;
9904
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9907
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9913
_wrap_svn_wc_conflict_result_t_merged_file_get(int argc, VALUE *argv, VALUE self) {
9914
struct svn_wc_conflict_result_t *arg1 = (struct svn_wc_conflict_result_t *) 0 ;
9918
VALUE vresult = Qnil;
9920
if ((argc < 0) || (argc > 0)) {
9921
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9923
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_result_t, 0 | 0 );
9924
if (!SWIG_IsOK(res1)) {
9925
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_result_t *","merged_file", 1, self ));
9927
arg1 = (struct svn_wc_conflict_result_t *)(argp1);
9928
result = (char *) ((arg1)->merged_file);
9931
vresult = rb_str_new2(result);
9943
_wrap_svn_wc_conflict_result_t_save_merged_set(int argc, VALUE *argv, VALUE self) {
9944
struct svn_wc_conflict_result_t *arg1 = (struct svn_wc_conflict_result_t *) 0 ;
9945
svn_boolean_t arg2 ;
9949
if ((argc < 1) || (argc > 1)) {
9950
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9952
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_result_t, 0 | 0 );
9953
if (!SWIG_IsOK(res1)) {
9954
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_result_t *","save_merged", 1, self ));
9956
arg1 = (struct svn_wc_conflict_result_t *)(argp1);
9957
arg2 = RTEST(argv[0]);
9958
if (arg1) (arg1)->save_merged = arg2;
9966
_wrap_svn_wc_conflict_result_t_save_merged_get(int argc, VALUE *argv, VALUE self) {
9967
struct svn_wc_conflict_result_t *arg1 = (struct svn_wc_conflict_result_t *) 0 ;
9970
svn_boolean_t result;
9971
VALUE vresult = Qnil;
9973
if ((argc < 0) || (argc > 0)) {
9974
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9976
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_result_t, 0 | 0 );
9977
if (!SWIG_IsOK(res1)) {
9978
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_result_t *","save_merged", 1, self ));
9980
arg1 = (struct svn_wc_conflict_result_t *)(argp1);
9981
result = (svn_boolean_t) ((arg1)->save_merged);
9982
vresult = result ? Qtrue : Qfalse;
9989
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
9991
_wrap_svn_wc_conflict_result_t_allocate(VALUE self) {
9994
_wrap_svn_wc_conflict_result_t_allocate(int argc, VALUE *argv, VALUE self) {
9998
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_wc_conflict_result_t);
9999
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
10000
rb_obj_call_init(vresult, argc, argv);
10007
_wrap_new_svn_wc_conflict_result_t(int argc, VALUE *argv, VALUE self) {
10008
struct svn_wc_conflict_result_t *result = 0 ;
10010
if ((argc < 0) || (argc > 0)) {
10011
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10014
result = (struct svn_wc_conflict_result_t *)calloc(1, sizeof(struct svn_wc_conflict_result_t));
10015
DATA_PTR(self) = result;
10027
free_svn_wc_conflict_result_t(struct svn_wc_conflict_result_t *arg1) {
10028
free((char *) arg1);
10031
8916
SWIGINTERN VALUE
10032
8917
_wrap_svn_wc_create_conflict_result(int argc, VALUE *argv, VALUE self) {
10033
8918
svn_wc_conflict_choice_t arg1 ;