1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (http://www.swig.org).
3  * Version 3.0.12
4  *
5  * This file is not intended to be easily readable and contains a number of
6  * coding conventions designed to improve portability and efficiency. Do not make
7  * changes to this file unless you know what you are doing--modify the SWIG
8  * interface file instead.
9  * ----------------------------------------------------------------------------- */
10 
11 
12 #ifndef SWIGRUBY
13 #define SWIGRUBY
14 #endif
15 
16 
17 /* -----------------------------------------------------------------------------
18  *  This section contains generic SWIG labels for method/variable
19  *  declarations/attributes, and other compiler dependent labels.
20  * ----------------------------------------------------------------------------- */
21 
22 /* template workaround for compilers that cannot correctly implement the C++ standard */
23 #ifndef SWIGTEMPLATEDISAMBIGUATOR
24 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
25 #  define SWIGTEMPLATEDISAMBIGUATOR template
26 # elif defined(__HP_aCC)
27 /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
28 /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
29 #  define SWIGTEMPLATEDISAMBIGUATOR template
30 # else
31 #  define SWIGTEMPLATEDISAMBIGUATOR
32 # endif
33 #endif
34 
35 /* inline attribute */
36 #ifndef SWIGINLINE
37 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
38 #   define SWIGINLINE inline
39 # else
40 #   define SWIGINLINE
41 # endif
42 #endif
43 
44 /* attribute recognised by some compilers to avoid 'unused' warnings */
45 #ifndef SWIGUNUSED
46 # if defined(__GNUC__)
47 #   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
48 #     define SWIGUNUSED __attribute__ ((__unused__))
49 #   else
50 #     define SWIGUNUSED
51 #   endif
52 # elif defined(__ICC)
53 #   define SWIGUNUSED __attribute__ ((__unused__))
54 # else
55 #   define SWIGUNUSED
56 # endif
57 #endif
58 
59 #ifndef SWIG_MSC_UNSUPPRESS_4505
60 # if defined(_MSC_VER)
61 #   pragma warning(disable : 4505) /* unreferenced local function has been removed */
62 # endif
63 #endif
64 
65 #ifndef SWIGUNUSEDPARM
66 # ifdef __cplusplus
67 #   define SWIGUNUSEDPARM(p)
68 # else
69 #   define SWIGUNUSEDPARM(p) p SWIGUNUSED
70 # endif
71 #endif
72 
73 /* internal SWIG method */
74 #ifndef SWIGINTERN
75 # define SWIGINTERN static SWIGUNUSED
76 #endif
77 
78 /* internal inline SWIG method */
79 #ifndef SWIGINTERNINLINE
80 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
81 #endif
82 
83 /* exporting methods */
84 #if defined(__GNUC__)
85 #  if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
86 #    ifndef GCC_HASCLASSVISIBILITY
87 #      define GCC_HASCLASSVISIBILITY
88 #    endif
89 #  endif
90 #endif
91 
92 #ifndef SWIGEXPORT
93 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
94 #   if defined(STATIC_LINKED)
95 #     define SWIGEXPORT
96 #   else
97 #     define SWIGEXPORT __declspec(dllexport)
98 #   endif
99 # else
100 #   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
101 #     define SWIGEXPORT __attribute__ ((visibility("default")))
102 #   else
103 #     define SWIGEXPORT
104 #   endif
105 # endif
106 #endif
107 
108 /* calling conventions for Windows */
109 #ifndef SWIGSTDCALL
110 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
111 #   define SWIGSTDCALL __stdcall
112 # else
113 #   define SWIGSTDCALL
114 # endif
115 #endif
116 
117 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
118 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
119 # define _CRT_SECURE_NO_DEPRECATE
120 #endif
121 
122 /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
123 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
124 # define _SCL_SECURE_NO_DEPRECATE
125 #endif
126 
127 /* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
128 #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
129 # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
130 #endif
131 
132 /* Intel's compiler complains if a variable which was never initialised is
133  * cast to void, which is a common idiom which we use to indicate that we
134  * are aware a variable isn't used.  So we just silence that warning.
135  * See: https://github.com/swig/swig/issues/192 for more discussion.
136  */
137 #ifdef __INTEL_COMPILER
138 # pragma warning disable 592
139 #endif
140 
141 /* -----------------------------------------------------------------------------
142  *  This section contains generic SWIG labels for method/variable
143  *  declarations/attributes, and other compiler dependent labels.
144  * ----------------------------------------------------------------------------- */
145 
146 /* template workaround for compilers that cannot correctly implement the C++ standard */
147 #ifndef SWIGTEMPLATEDISAMBIGUATOR
148 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
149 #  define SWIGTEMPLATEDISAMBIGUATOR template
150 # elif defined(__HP_aCC)
151 /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
152 /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
153 #  define SWIGTEMPLATEDISAMBIGUATOR template
154 # else
155 #  define SWIGTEMPLATEDISAMBIGUATOR
156 # endif
157 #endif
158 
159 /* inline attribute */
160 #ifndef SWIGINLINE
161 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
162 #   define SWIGINLINE inline
163 # else
164 #   define SWIGINLINE
165 # endif
166 #endif
167 
168 /* attribute recognised by some compilers to avoid 'unused' warnings */
169 #ifndef SWIGUNUSED
170 # if defined(__GNUC__)
171 #   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
172 #     define SWIGUNUSED __attribute__ ((__unused__))
173 #   else
174 #     define SWIGUNUSED
175 #   endif
176 # elif defined(__ICC)
177 #   define SWIGUNUSED __attribute__ ((__unused__))
178 # else
179 #   define SWIGUNUSED
180 # endif
181 #endif
182 
183 #ifndef SWIG_MSC_UNSUPPRESS_4505
184 # if defined(_MSC_VER)
185 #   pragma warning(disable : 4505) /* unreferenced local function has been removed */
186 # endif
187 #endif
188 
189 #ifndef SWIGUNUSEDPARM
190 # ifdef __cplusplus
191 #   define SWIGUNUSEDPARM(p)
192 # else
193 #   define SWIGUNUSEDPARM(p) p SWIGUNUSED
194 # endif
195 #endif
196 
197 /* internal SWIG method */
198 #ifndef SWIGINTERN
199 # define SWIGINTERN static SWIGUNUSED
200 #endif
201 
202 /* internal inline SWIG method */
203 #ifndef SWIGINTERNINLINE
204 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
205 #endif
206 
207 /* exporting methods */
208 #if defined(__GNUC__)
209 #  if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
210 #    ifndef GCC_HASCLASSVISIBILITY
211 #      define GCC_HASCLASSVISIBILITY
212 #    endif
213 #  endif
214 #endif
215 
216 #ifndef SWIGEXPORT
217 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
218 #   if defined(STATIC_LINKED)
219 #     define SWIGEXPORT
220 #   else
221 #     define SWIGEXPORT __declspec(dllexport)
222 #   endif
223 # else
224 #   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
225 #     define SWIGEXPORT __attribute__ ((visibility("default")))
226 #   else
227 #     define SWIGEXPORT
228 #   endif
229 # endif
230 #endif
231 
232 /* calling conventions for Windows */
233 #ifndef SWIGSTDCALL
234 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
235 #   define SWIGSTDCALL __stdcall
236 # else
237 #   define SWIGSTDCALL
238 # endif
239 #endif
240 
241 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
242 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
243 # define _CRT_SECURE_NO_DEPRECATE
244 #endif
245 
246 /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
247 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
248 # define _SCL_SECURE_NO_DEPRECATE
249 #endif
250 
251 /* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
252 #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
253 # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
254 #endif
255 
256 /* Intel's compiler complains if a variable which was never initialised is
257  * cast to void, which is a common idiom which we use to indicate that we
258  * are aware a variable isn't used.  So we just silence that warning.
259  * See: https://github.com/swig/swig/issues/192 for more discussion.
260  */
261 #ifdef __INTEL_COMPILER
262 # pragma warning disable 592
263 #endif
264 
265 /* -----------------------------------------------------------------------------
266  * swigrun.swg
267  *
268  * This file contains generic C API SWIG runtime support for pointer
269  * type checking.
270  * ----------------------------------------------------------------------------- */
271 
272 /* This should only be incremented when either the layout of swig_type_info changes,
273    or for whatever reason, the runtime changes incompatibly */
274 #define SWIG_RUNTIME_VERSION "4"
275 
276 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
277 #ifdef SWIG_TYPE_TABLE
278 # define SWIG_QUOTE_STRING(x) #x
279 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
280 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
281 #else
282 # define SWIG_TYPE_TABLE_NAME
283 #endif
284 
285 /*
286   You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
287   creating a static or dynamic library from the SWIG runtime code.
288   In 99.9% of the cases, SWIG just needs to declare them as 'static'.
289 
290   But only do this if strictly necessary, ie, if you have problems
291   with your compiler or suchlike.
292 */
293 
294 #ifndef SWIGRUNTIME
295 # define SWIGRUNTIME SWIGINTERN
296 #endif
297 
298 #ifndef SWIGRUNTIMEINLINE
299 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
300 #endif
301 
302 /*  Generic buffer size */
303 #ifndef SWIG_BUFFER_SIZE
304 # define SWIG_BUFFER_SIZE 1024
305 #endif
306 
307 /* Flags for pointer conversions */
308 #define SWIG_POINTER_DISOWN        0x1
309 #define SWIG_CAST_NEW_MEMORY       0x2
310 
311 /* Flags for new pointer objects */
312 #define SWIG_POINTER_OWN           0x1
313 
314 
315 /*
316    Flags/methods for returning states.
317 
318    The SWIG conversion methods, as ConvertPtr, return an integer
319    that tells if the conversion was successful or not. And if not,
320    an error code can be returned (see swigerrors.swg for the codes).
321 
322    Use the following macros/flags to set or process the returning
323    states.
324 
325    In old versions of SWIG, code such as the following was usually written:
326 
327      if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
328        // success code
329      } else {
330        //fail code
331      }
332 
333    Now you can be more explicit:
334 
335     int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
336     if (SWIG_IsOK(res)) {
337       // success code
338     } else {
339       // fail code
340     }
341 
342    which is the same really, but now you can also do
343 
344     Type *ptr;
345     int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
346     if (SWIG_IsOK(res)) {
347       // success code
348       if (SWIG_IsNewObj(res) {
349         ...
350 	delete *ptr;
351       } else {
352         ...
353       }
354     } else {
355       // fail code
356     }
357 
358    I.e., now SWIG_ConvertPtr can return new objects and you can
359    identify the case and take care of the deallocation. Of course that
360    also requires SWIG_ConvertPtr to return new result values, such as
361 
362       int SWIG_ConvertPtr(obj, ptr,...) {
363         if (<obj is ok>) {
364           if (<need new object>) {
365             *ptr = <ptr to new allocated object>;
366             return SWIG_NEWOBJ;
367           } else {
368             *ptr = <ptr to old object>;
369             return SWIG_OLDOBJ;
370           }
371         } else {
372           return SWIG_BADOBJ;
373         }
374       }
375 
376    Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
377    more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
378    SWIG errors code.
379 
380    Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
381    allows to return the 'cast rank', for example, if you have this
382 
383        int food(double)
384        int fooi(int);
385 
386    and you call
387 
388       food(1)   // cast rank '1'  (1 -> 1.0)
389       fooi(1)   // cast rank '0'
390 
391    just use the SWIG_AddCast()/SWIG_CheckState()
392 */
393 
394 #define SWIG_OK                    (0)
395 #define SWIG_ERROR                 (-1)
396 #define SWIG_IsOK(r)               (r >= 0)
397 #define SWIG_ArgError(r)           ((r != SWIG_ERROR) ? r : SWIG_TypeError)
398 
399 /* The CastRankLimit says how many bits are used for the cast rank */
400 #define SWIG_CASTRANKLIMIT         (1 << 8)
401 /* The NewMask denotes the object was created (using new/malloc) */
402 #define SWIG_NEWOBJMASK            (SWIG_CASTRANKLIMIT  << 1)
403 /* The TmpMask is for in/out typemaps that use temporal objects */
404 #define SWIG_TMPOBJMASK            (SWIG_NEWOBJMASK << 1)
405 /* Simple returning values */
406 #define SWIG_BADOBJ                (SWIG_ERROR)
407 #define SWIG_OLDOBJ                (SWIG_OK)
408 #define SWIG_NEWOBJ                (SWIG_OK | SWIG_NEWOBJMASK)
409 #define SWIG_TMPOBJ                (SWIG_OK | SWIG_TMPOBJMASK)
410 /* Check, add and del mask methods */
411 #define SWIG_AddNewMask(r)         (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
412 #define SWIG_DelNewMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
413 #define SWIG_IsNewObj(r)           (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
414 #define SWIG_AddTmpMask(r)         (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
415 #define SWIG_DelTmpMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
416 #define SWIG_IsTmpObj(r)           (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
417 
418 /* Cast-Rank Mode */
419 #if defined(SWIG_CASTRANK_MODE)
420 #  ifndef SWIG_TypeRank
421 #    define SWIG_TypeRank             unsigned long
422 #  endif
423 #  ifndef SWIG_MAXCASTRANK            /* Default cast allowed */
424 #    define SWIG_MAXCASTRANK          (2)
425 #  endif
426 #  define SWIG_CASTRANKMASK          ((SWIG_CASTRANKLIMIT) -1)
427 #  define SWIG_CastRank(r)           (r & SWIG_CASTRANKMASK)
SWIG_AddCast(int r)428 SWIGINTERNINLINE int SWIG_AddCast(int r) {
429   return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
430 }
SWIG_CheckState(int r)431 SWIGINTERNINLINE int SWIG_CheckState(int r) {
432   return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
433 }
434 #else /* no cast-rank mode */
435 #  define SWIG_AddCast(r) (r)
436 #  define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
437 #endif
438 
439 
440 #include <string.h>
441 
442 #ifdef __cplusplus
443 extern "C" {
444 #endif
445 
446 typedef void *(*swig_converter_func)(void *, int *);
447 typedef struct swig_type_info *(*swig_dycast_func)(void **);
448 
449 /* Structure to store information on one type */
450 typedef struct swig_type_info {
451   const char             *name;			/* mangled name of this type */
452   const char             *str;			/* human readable name of this type */
453   swig_dycast_func        dcast;		/* dynamic cast function down a hierarchy */
454   struct swig_cast_info  *cast;			/* linked list of types that can cast into this type */
455   void                   *clientdata;		/* language specific type data */
456   int                    owndata;		/* flag if the structure owns the clientdata */
457 } swig_type_info;
458 
459 /* Structure to store a type and conversion function used for casting */
460 typedef struct swig_cast_info {
461   swig_type_info         *type;			/* pointer to type that is equivalent to this type */
462   swig_converter_func     converter;		/* function to cast the void pointers */
463   struct swig_cast_info  *next;			/* pointer to next cast in linked list */
464   struct swig_cast_info  *prev;			/* pointer to the previous cast */
465 } swig_cast_info;
466 
467 /* Structure used to store module information
468  * Each module generates one structure like this, and the runtime collects
469  * all of these structures and stores them in a circularly linked list.*/
470 typedef struct swig_module_info {
471   swig_type_info         **types;		/* Array of pointers to swig_type_info structures that are in this module */
472   size_t                 size;		        /* Number of types in this module */
473   struct swig_module_info *next;		/* Pointer to next element in circularly linked list */
474   swig_type_info         **type_initial;	/* Array of initially generated type structures */
475   swig_cast_info         **cast_initial;	/* Array of initially generated casting structures */
476   void                    *clientdata;		/* Language specific module data */
477 } swig_module_info;
478 
479 /*
480   Compare two type names skipping the space characters, therefore
481   "char*" == "char *" and "Class<int>" == "Class<int >", etc.
482 
483   Return 0 when the two name types are equivalent, as in
484   strncmp, but skipping ' '.
485 */
486 SWIGRUNTIME int
SWIG_TypeNameComp(const char * f1,const char * l1,const char * f2,const char * l2)487 SWIG_TypeNameComp(const char *f1, const char *l1,
488 		  const char *f2, const char *l2) {
489   for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
490     while ((*f1 == ' ') && (f1 != l1)) ++f1;
491     while ((*f2 == ' ') && (f2 != l2)) ++f2;
492     if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
493   }
494   return (int)((l1 - f1) - (l2 - f2));
495 }
496 
497 /*
498   Check type equivalence in a name list like <name1>|<name2>|...
499   Return 0 if equal, -1 if nb < tb, 1 if nb > tb
500 */
501 SWIGRUNTIME int
SWIG_TypeCmp(const char * nb,const char * tb)502 SWIG_TypeCmp(const char *nb, const char *tb) {
503   int equiv = 1;
504   const char* te = tb + strlen(tb);
505   const char* ne = nb;
506   while (equiv != 0 && *ne) {
507     for (nb = ne; *ne; ++ne) {
508       if (*ne == '|') break;
509     }
510     equiv = SWIG_TypeNameComp(nb, ne, tb, te);
511     if (*ne) ++ne;
512   }
513   return equiv;
514 }
515 
516 /*
517   Check type equivalence in a name list like <name1>|<name2>|...
518   Return 0 if not equal, 1 if equal
519 */
520 SWIGRUNTIME int
SWIG_TypeEquiv(const char * nb,const char * tb)521 SWIG_TypeEquiv(const char *nb, const char *tb) {
522   return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
523 }
524 
525 /*
526   Check the typename
527 */
528 SWIGRUNTIME swig_cast_info *
SWIG_TypeCheck(const char * c,swig_type_info * ty)529 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
530   if (ty) {
531     swig_cast_info *iter = ty->cast;
532     while (iter) {
533       if (strcmp(iter->type->name, c) == 0) {
534         if (iter == ty->cast)
535           return iter;
536         /* Move iter to the top of the linked list */
537         iter->prev->next = iter->next;
538         if (iter->next)
539           iter->next->prev = iter->prev;
540         iter->next = ty->cast;
541         iter->prev = 0;
542         if (ty->cast) ty->cast->prev = iter;
543         ty->cast = iter;
544         return iter;
545       }
546       iter = iter->next;
547     }
548   }
549   return 0;
550 }
551 
552 /*
553   Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
554 */
555 SWIGRUNTIME swig_cast_info *
SWIG_TypeCheckStruct(swig_type_info * from,swig_type_info * ty)556 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
557   if (ty) {
558     swig_cast_info *iter = ty->cast;
559     while (iter) {
560       if (iter->type == from) {
561         if (iter == ty->cast)
562           return iter;
563         /* Move iter to the top of the linked list */
564         iter->prev->next = iter->next;
565         if (iter->next)
566           iter->next->prev = iter->prev;
567         iter->next = ty->cast;
568         iter->prev = 0;
569         if (ty->cast) ty->cast->prev = iter;
570         ty->cast = iter;
571         return iter;
572       }
573       iter = iter->next;
574     }
575   }
576   return 0;
577 }
578 
579 /*
580   Cast a pointer up an inheritance hierarchy
581 */
582 SWIGRUNTIMEINLINE void *
SWIG_TypeCast(swig_cast_info * ty,void * ptr,int * newmemory)583 SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
584   return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
585 }
586 
587 /*
588    Dynamic pointer casting. Down an inheritance hierarchy
589 */
590 SWIGRUNTIME swig_type_info *
SWIG_TypeDynamicCast(swig_type_info * ty,void ** ptr)591 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
592   swig_type_info *lastty = ty;
593   if (!ty || !ty->dcast) return ty;
594   while (ty && (ty->dcast)) {
595     ty = (*ty->dcast)(ptr);
596     if (ty) lastty = ty;
597   }
598   return lastty;
599 }
600 
601 /*
602   Return the name associated with this type
603 */
604 SWIGRUNTIMEINLINE const char *
SWIG_TypeName(const swig_type_info * ty)605 SWIG_TypeName(const swig_type_info *ty) {
606   return ty->name;
607 }
608 
609 /*
610   Return the pretty name associated with this type,
611   that is an unmangled type name in a form presentable to the user.
612 */
613 SWIGRUNTIME const char *
SWIG_TypePrettyName(const swig_type_info * type)614 SWIG_TypePrettyName(const swig_type_info *type) {
615   /* The "str" field contains the equivalent pretty names of the
616      type, separated by vertical-bar characters.  We choose
617      to print the last name, as it is often (?) the most
618      specific. */
619   if (!type) return NULL;
620   if (type->str != NULL) {
621     const char *last_name = type->str;
622     const char *s;
623     for (s = type->str; *s; s++)
624       if (*s == '|') last_name = s+1;
625     return last_name;
626   }
627   else
628     return type->name;
629 }
630 
631 /*
632    Set the clientdata field for a type
633 */
634 SWIGRUNTIME void
SWIG_TypeClientData(swig_type_info * ti,void * clientdata)635 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
636   swig_cast_info *cast = ti->cast;
637   /* if (ti->clientdata == clientdata) return; */
638   ti->clientdata = clientdata;
639 
640   while (cast) {
641     if (!cast->converter) {
642       swig_type_info *tc = cast->type;
643       if (!tc->clientdata) {
644 	SWIG_TypeClientData(tc, clientdata);
645       }
646     }
647     cast = cast->next;
648   }
649 }
650 SWIGRUNTIME void
SWIG_TypeNewClientData(swig_type_info * ti,void * clientdata)651 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
652   SWIG_TypeClientData(ti, clientdata);
653   ti->owndata = 1;
654 }
655 
656 /*
657   Search for a swig_type_info structure only by mangled name
658   Search is a O(log #types)
659 
660   We start searching at module start, and finish searching when start == end.
661   Note: if start == end at the beginning of the function, we go all the way around
662   the circular list.
663 */
664 SWIGRUNTIME swig_type_info *
SWIG_MangledTypeQueryModule(swig_module_info * start,swig_module_info * end,const char * name)665 SWIG_MangledTypeQueryModule(swig_module_info *start,
666                             swig_module_info *end,
667 		            const char *name) {
668   swig_module_info *iter = start;
669   do {
670     if (iter->size) {
671       size_t l = 0;
672       size_t r = iter->size - 1;
673       do {
674 	/* since l+r >= 0, we can (>> 1) instead (/ 2) */
675 	size_t i = (l + r) >> 1;
676 	const char *iname = iter->types[i]->name;
677 	if (iname) {
678 	  int compare = strcmp(name, iname);
679 	  if (compare == 0) {
680 	    return iter->types[i];
681 	  } else if (compare < 0) {
682 	    if (i) {
683 	      r = i - 1;
684 	    } else {
685 	      break;
686 	    }
687 	  } else if (compare > 0) {
688 	    l = i + 1;
689 	  }
690 	} else {
691 	  break; /* should never happen */
692 	}
693       } while (l <= r);
694     }
695     iter = iter->next;
696   } while (iter != end);
697   return 0;
698 }
699 
700 /*
701   Search for a swig_type_info structure for either a mangled name or a human readable name.
702   It first searches the mangled names of the types, which is a O(log #types)
703   If a type is not found it then searches the human readable names, which is O(#types).
704 
705   We start searching at module start, and finish searching when start == end.
706   Note: if start == end at the beginning of the function, we go all the way around
707   the circular list.
708 */
709 SWIGRUNTIME swig_type_info *
SWIG_TypeQueryModule(swig_module_info * start,swig_module_info * end,const char * name)710 SWIG_TypeQueryModule(swig_module_info *start,
711                      swig_module_info *end,
712 		     const char *name) {
713   /* STEP 1: Search the name field using binary search */
714   swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
715   if (ret) {
716     return ret;
717   } else {
718     /* STEP 2: If the type hasn't been found, do a complete search
719        of the str field (the human readable name) */
720     swig_module_info *iter = start;
721     do {
722       size_t i = 0;
723       for (; i < iter->size; ++i) {
724 	if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
725 	  return iter->types[i];
726       }
727       iter = iter->next;
728     } while (iter != end);
729   }
730 
731   /* neither found a match */
732   return 0;
733 }
734 
735 /*
736    Pack binary data into a string
737 */
738 SWIGRUNTIME char *
SWIG_PackData(char * c,void * ptr,size_t sz)739 SWIG_PackData(char *c, void *ptr, size_t sz) {
740   static const char hex[17] = "0123456789abcdef";
741   const unsigned char *u = (unsigned char *) ptr;
742   const unsigned char *eu =  u + sz;
743   for (; u != eu; ++u) {
744     unsigned char uu = *u;
745     *(c++) = hex[(uu & 0xf0) >> 4];
746     *(c++) = hex[uu & 0xf];
747   }
748   return c;
749 }
750 
751 /*
752    Unpack binary data from a string
753 */
754 SWIGRUNTIME const char *
SWIG_UnpackData(const char * c,void * ptr,size_t sz)755 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
756   unsigned char *u = (unsigned char *) ptr;
757   const unsigned char *eu = u + sz;
758   for (; u != eu; ++u) {
759     char d = *(c++);
760     unsigned char uu;
761     if ((d >= '0') && (d <= '9'))
762       uu = (unsigned char)((d - '0') << 4);
763     else if ((d >= 'a') && (d <= 'f'))
764       uu = (unsigned char)((d - ('a'-10)) << 4);
765     else
766       return (char *) 0;
767     d = *(c++);
768     if ((d >= '0') && (d <= '9'))
769       uu |= (unsigned char)(d - '0');
770     else if ((d >= 'a') && (d <= 'f'))
771       uu |= (unsigned char)(d - ('a'-10));
772     else
773       return (char *) 0;
774     *u = uu;
775   }
776   return c;
777 }
778 
779 /*
780    Pack 'void *' into a string buffer.
781 */
782 SWIGRUNTIME char *
SWIG_PackVoidPtr(char * buff,void * ptr,const char * name,size_t bsz)783 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
784   char *r = buff;
785   if ((2*sizeof(void *) + 2) > bsz) return 0;
786   *(r++) = '_';
787   r = SWIG_PackData(r,&ptr,sizeof(void *));
788   if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
789   strcpy(r,name);
790   return buff;
791 }
792 
793 SWIGRUNTIME const char *
SWIG_UnpackVoidPtr(const char * c,void ** ptr,const char * name)794 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
795   if (*c != '_') {
796     if (strcmp(c,"NULL") == 0) {
797       *ptr = (void *) 0;
798       return name;
799     } else {
800       return 0;
801     }
802   }
803   return SWIG_UnpackData(++c,ptr,sizeof(void *));
804 }
805 
806 SWIGRUNTIME char *
SWIG_PackDataName(char * buff,void * ptr,size_t sz,const char * name,size_t bsz)807 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
808   char *r = buff;
809   size_t lname = (name ? strlen(name) : 0);
810   if ((2*sz + 2 + lname) > bsz) return 0;
811   *(r++) = '_';
812   r = SWIG_PackData(r,ptr,sz);
813   if (lname) {
814     strncpy(r,name,lname+1);
815   } else {
816     *r = 0;
817   }
818   return buff;
819 }
820 
821 SWIGRUNTIME const char *
SWIG_UnpackDataName(const char * c,void * ptr,size_t sz,const char * name)822 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
823   if (*c != '_') {
824     if (strcmp(c,"NULL") == 0) {
825       memset(ptr,0,sz);
826       return name;
827     } else {
828       return 0;
829     }
830   }
831   return SWIG_UnpackData(++c,ptr,sz);
832 }
833 
834 #ifdef __cplusplus
835 }
836 #endif
837 
838 /*  Errors in SWIG */
839 #define  SWIG_UnknownError    	   -1
840 #define  SWIG_IOError        	   -2
841 #define  SWIG_RuntimeError   	   -3
842 #define  SWIG_IndexError     	   -4
843 #define  SWIG_TypeError      	   -5
844 #define  SWIG_DivisionByZero 	   -6
845 #define  SWIG_OverflowError  	   -7
846 #define  SWIG_SyntaxError    	   -8
847 #define  SWIG_ValueError     	   -9
848 #define  SWIG_SystemError    	   -10
849 #define  SWIG_AttributeError 	   -11
850 #define  SWIG_MemoryError    	   -12
851 #define  SWIG_NullReferenceError   -13
852 
853 
854 
855 #include <ruby.h>
856 
857 /* Ruby 1.9.1 has a "memoisation optimisation" when compiling with GCC which
858  * breaks using rb_intern as an lvalue, as SWIG does.  We work around this
859  * issue for now by disabling this.
860  * https://sourceforge.net/tracker/?func=detail&aid=2859614&group_id=1645&atid=101645
861  */
862 #ifdef rb_intern
863 # undef rb_intern
864 #endif
865 
866 /* Remove global macros defined in Ruby's win32.h */
867 #ifdef write
868 # undef write
869 #endif
870 #ifdef read
871 # undef read
872 #endif
873 #ifdef bind
874 # undef bind
875 #endif
876 #ifdef close
877 # undef close
878 #endif
879 #ifdef connect
880 # undef connect
881 #endif
882 
883 
884 /* Ruby 1.7 defines NUM2LL(), LL2NUM() and ULL2NUM() macros */
885 #ifndef NUM2LL
886 #define NUM2LL(x) NUM2LONG((x))
887 #endif
888 #ifndef LL2NUM
889 #define LL2NUM(x) INT2NUM((long) (x))
890 #endif
891 #ifndef ULL2NUM
892 #define ULL2NUM(x) UINT2NUM((unsigned long) (x))
893 #endif
894 
895 /* Ruby 1.7 doesn't (yet) define NUM2ULL() */
896 #ifndef NUM2ULL
897 #ifdef HAVE_LONG_LONG
898 #define NUM2ULL(x) rb_num2ull((x))
899 #else
900 #define NUM2ULL(x) NUM2ULONG(x)
901 #endif
902 #endif
903 
904 /* RSTRING_LEN, etc are new in Ruby 1.9, but ->ptr and ->len no longer work */
905 /* Define these for older versions so we can just write code the new way */
906 #ifndef RSTRING_LEN
907 # define RSTRING_LEN(x) RSTRING(x)->len
908 #endif
909 #ifndef RSTRING_PTR
910 # define RSTRING_PTR(x) RSTRING(x)->ptr
911 #endif
912 #ifndef RSTRING_END
913 # define RSTRING_END(x) (RSTRING_PTR(x) + RSTRING_LEN(x))
914 #endif
915 #ifndef RARRAY_LEN
916 # define RARRAY_LEN(x) RARRAY(x)->len
917 #endif
918 #ifndef RARRAY_PTR
919 # define RARRAY_PTR(x) RARRAY(x)->ptr
920 #endif
921 #ifndef RFLOAT_VALUE
922 # define RFLOAT_VALUE(x) RFLOAT(x)->value
923 #endif
924 #ifndef DOUBLE2NUM
925 # define DOUBLE2NUM(x) rb_float_new(x)
926 #endif
927 #ifndef RHASH_TBL
928 # define RHASH_TBL(x) (RHASH(x)->tbl)
929 #endif
930 #ifndef RHASH_ITER_LEV
931 # define RHASH_ITER_LEV(x) (RHASH(x)->iter_lev)
932 #endif
933 #ifndef RHASH_IFNONE
934 # define RHASH_IFNONE(x) (RHASH(x)->ifnone)
935 #endif
936 #ifndef RHASH_SIZE
937 # define RHASH_SIZE(x) (RHASH(x)->tbl->num_entries)
938 #endif
939 #ifndef RHASH_EMPTY_P
940 # define RHASH_EMPTY_P(x) (RHASH_SIZE(x) == 0)
941 #endif
942 #ifndef RSTRUCT_LEN
943 # define RSTRUCT_LEN(x) RSTRUCT(x)->len
944 #endif
945 #ifndef RSTRUCT_PTR
946 # define RSTRUCT_PTR(x) RSTRUCT(x)->ptr
947 #endif
948 
949 
950 
951 /*
952  * Need to be very careful about how these macros are defined, especially
953  * when compiling C++ code or C code with an ANSI C compiler.
954  *
955  * VALUEFUNC(f) is a macro used to typecast a C function that implements
956  * a Ruby method so that it can be passed as an argument to API functions
957  * like rb_define_method() and rb_define_singleton_method().
958  *
959  * VOIDFUNC(f) is a macro used to typecast a C function that implements
960  * either the "mark" or "free" stuff for a Ruby Data object, so that it
961  * can be passed as an argument to API functions like Data_Wrap_Struct()
962  * and Data_Make_Struct().
963  */
964 
965 #ifdef __cplusplus
966 #  ifndef RUBY_METHOD_FUNC /* These definitions should work for Ruby 1.4.6 */
967 #    define PROTECTFUNC(f) ((VALUE (*)()) f)
968 #    define VALUEFUNC(f) ((VALUE (*)()) f)
969 #    define VOIDFUNC(f)  ((void (*)()) f)
970 #  else
971 #    ifndef ANYARGS /* These definitions should work for Ruby 1.6 */
972 #      define PROTECTFUNC(f) ((VALUE (*)()) f)
973 #      define VALUEFUNC(f) ((VALUE (*)()) f)
974 #      define VOIDFUNC(f)  ((RUBY_DATA_FUNC) f)
975 #    else /* These definitions should work for Ruby 1.7+ */
976 #      define PROTECTFUNC(f) ((VALUE (*)(VALUE)) f)
977 #      define VALUEFUNC(f) ((VALUE (*)(ANYARGS)) f)
978 #      define VOIDFUNC(f)  ((RUBY_DATA_FUNC) f)
979 #    endif
980 #  endif
981 #else
982 #  define VALUEFUNC(f) (f)
983 #  define VOIDFUNC(f) (f)
984 #endif
985 
986 /* Don't use for expressions have side effect */
987 #ifndef RB_STRING_VALUE
988 #define RB_STRING_VALUE(s) (TYPE(s) == T_STRING ? (s) : (*(volatile VALUE *)&(s) = rb_str_to_str(s)))
989 #endif
990 #ifndef StringValue
991 #define StringValue(s) RB_STRING_VALUE(s)
992 #endif
993 #ifndef StringValuePtr
994 #define StringValuePtr(s) RSTRING_PTR(RB_STRING_VALUE(s))
995 #endif
996 #ifndef StringValueLen
997 #define StringValueLen(s) RSTRING_LEN(RB_STRING_VALUE(s))
998 #endif
999 #ifndef SafeStringValue
1000 #define SafeStringValue(v) do {\
1001     StringValue(v);\
1002     rb_check_safe_str(v);\
1003 } while (0)
1004 #endif
1005 
1006 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
1007 #define rb_define_alloc_func(klass, func) rb_define_singleton_method((klass), "new", VALUEFUNC((func)), -1)
1008 #define rb_undef_alloc_func(klass) rb_undef_method(CLASS_OF((klass)), "new")
1009 #endif
1010 
1011 static VALUE _mSWIG = Qnil;
1012 
1013 /* -----------------------------------------------------------------------------
1014  * error manipulation
1015  * ----------------------------------------------------------------------------- */
1016 
1017 
1018 /* Define some additional error types */
1019 #define SWIG_ObjectPreviouslyDeletedError  -100
1020 
1021 
1022 /* Define custom exceptions for errors that do not map to existing Ruby
1023    exceptions.  Note this only works for C++ since a global cannot be
1024    initialized by a function in C.  For C, fallback to rb_eRuntimeError.*/
1025 
1026 SWIGINTERN VALUE
getNullReferenceError(void)1027 getNullReferenceError(void) {
1028   static int init = 0;
1029   static VALUE rb_eNullReferenceError ;
1030   if (!init) {
1031     init = 1;
1032     rb_eNullReferenceError = rb_define_class("NullReferenceError", rb_eRuntimeError);
1033   }
1034   return rb_eNullReferenceError;
1035 }
1036 
1037 SWIGINTERN VALUE
getObjectPreviouslyDeletedError(void)1038 getObjectPreviouslyDeletedError(void) {
1039   static int init = 0;
1040   static VALUE rb_eObjectPreviouslyDeleted ;
1041   if (!init) {
1042     init = 1;
1043     rb_eObjectPreviouslyDeleted = rb_define_class("ObjectPreviouslyDeleted", rb_eRuntimeError);
1044   }
1045   return rb_eObjectPreviouslyDeleted;
1046 }
1047 
1048 
1049 SWIGINTERN VALUE
SWIG_Ruby_ErrorType(int SWIG_code)1050 SWIG_Ruby_ErrorType(int SWIG_code) {
1051   VALUE type;
1052   switch (SWIG_code) {
1053   case SWIG_MemoryError:
1054     type = rb_eNoMemError;
1055     break;
1056   case SWIG_IOError:
1057     type = rb_eIOError;
1058     break;
1059   case SWIG_RuntimeError:
1060     type = rb_eRuntimeError;
1061     break;
1062   case SWIG_IndexError:
1063     type = rb_eIndexError;
1064     break;
1065   case SWIG_TypeError:
1066     type = rb_eTypeError;
1067     break;
1068   case SWIG_DivisionByZero:
1069     type = rb_eZeroDivError;
1070     break;
1071   case SWIG_OverflowError:
1072     type = rb_eRangeError;
1073     break;
1074   case SWIG_SyntaxError:
1075     type = rb_eSyntaxError;
1076     break;
1077   case SWIG_ValueError:
1078     type = rb_eArgError;
1079     break;
1080   case SWIG_SystemError:
1081     type = rb_eFatal;
1082     break;
1083   case SWIG_AttributeError:
1084     type = rb_eRuntimeError;
1085     break;
1086   case SWIG_NullReferenceError:
1087     type = getNullReferenceError();
1088     break;
1089   case SWIG_ObjectPreviouslyDeletedError:
1090     type = getObjectPreviouslyDeletedError();
1091     break;
1092   case SWIG_UnknownError:
1093     type = rb_eRuntimeError;
1094     break;
1095   default:
1096     type = rb_eRuntimeError;
1097   }
1098   return type;
1099 }
1100 
1101 
1102 /* This function is called when a user inputs a wrong argument to
1103    a method.
1104  */
1105 SWIGINTERN
Ruby_Format_TypeError(const char * msg,const char * type,const char * name,const int argn,VALUE input)1106 const char* Ruby_Format_TypeError( const char* msg,
1107 				   const char* type,
1108 				   const char* name,
1109 				   const int argn,
1110 				   VALUE input )
1111 {
1112   char buf[128];
1113   VALUE str;
1114   VALUE asStr;
1115   if ( msg && *msg )
1116     {
1117       str = rb_str_new2(msg);
1118     }
1119   else
1120     {
1121       str = rb_str_new(NULL, 0);
1122     }
1123 
1124   str = rb_str_cat2( str, "Expected argument " );
1125   sprintf( buf, "%d of type ", argn-1 );
1126   str = rb_str_cat2( str, buf );
1127   str = rb_str_cat2( str, type );
1128   str = rb_str_cat2( str, ", but got " );
1129   str = rb_str_cat2( str, rb_obj_classname(input) );
1130   str = rb_str_cat2( str, " " );
1131   asStr = rb_inspect(input);
1132   if ( RSTRING_LEN(asStr) > 30 )
1133     {
1134       str = rb_str_cat( str, StringValuePtr(asStr), 30 );
1135       str = rb_str_cat2( str, "..." );
1136     }
1137   else
1138     {
1139       str = rb_str_append( str, asStr );
1140     }
1141 
1142   if ( name )
1143     {
1144       str = rb_str_cat2( str, "\n\tin SWIG method '" );
1145       str = rb_str_cat2( str, name );
1146       str = rb_str_cat2( str, "'" );
1147     }
1148 
1149   return StringValuePtr( str );
1150 }
1151 
1152 /* This function is called when an overloaded method fails */
1153 SWIGINTERN
Ruby_Format_OverloadedError(const int argc,const int maxargs,const char * method,const char * prototypes)1154 void Ruby_Format_OverloadedError(
1155 				 const int argc,
1156 				 const int maxargs,
1157 				 const char* method,
1158 				 const char* prototypes
1159 				 )
1160 {
1161   const char* msg = "Wrong # of arguments";
1162   if ( argc <= maxargs ) msg = "Wrong arguments";
1163   rb_raise(rb_eArgError,"%s for overloaded method '%s'.\n"
1164 	   "Possible C/C++ prototypes are:\n%s",
1165 	   msg, method, prototypes);
1166 }
1167 
1168 /* -----------------------------------------------------------------------------
1169  * rubytracking.swg
1170  *
1171  * This file contains support for tracking mappings from
1172  * Ruby objects to C++ objects.  This functionality is needed
1173  * to implement mark functions for Ruby's mark and sweep
1174  * garbage collector.
1175  * ----------------------------------------------------------------------------- */
1176 
1177 #ifdef __cplusplus
1178 extern "C" {
1179 #endif
1180 
1181 #if !defined(ST_DATA_T_DEFINED)
1182 /* Needs to be explicitly included for Ruby 1.8 and earlier */
1183 #include <st.h>
1184 #endif
1185 
1186 /* Ruby 1.8 actually assumes the first case. */
1187 #if SIZEOF_VOIDP == SIZEOF_LONG
1188 #  define SWIG2NUM(v) LONG2NUM((unsigned long)v)
1189 #  define NUM2SWIG(x) (unsigned long)NUM2LONG(x)
1190 #elif SIZEOF_VOIDP == SIZEOF_LONG_LONG
1191 #  define SWIG2NUM(v) LL2NUM((unsigned long long)v)
1192 #  define NUM2SWIG(x) (unsigned long long)NUM2LL(x)
1193 #else
1194 #  error sizeof(void*) is not the same as long or long long
1195 #endif
1196 
1197 /* Global hash table to store Trackings from C/C++
1198    structs to Ruby Objects.
1199 */
1200 static st_table* swig_ruby_trackings = NULL;
1201 
swig_ruby_trackings_count(ANYARGS)1202 static VALUE swig_ruby_trackings_count(ANYARGS) {
1203   return SWIG2NUM(swig_ruby_trackings->num_entries);
1204 }
1205 
1206 
1207 /* Setup a hash table to store Trackings */
SWIG_RubyInitializeTrackings(void)1208 SWIGRUNTIME void SWIG_RubyInitializeTrackings(void) {
1209   /* Create a hash table to store Trackings from C++
1210      objects to Ruby objects. */
1211 
1212   /* Try to see if some other .so has already created a
1213      tracking hash table, which we keep hidden in an instance var
1214      in the SWIG module.
1215      This is done to allow multiple DSOs to share the same
1216      tracking table.
1217   */
1218   VALUE trackings_value = Qnil;
1219   /* change the variable name so that we can mix modules
1220      compiled with older SWIG's - this used to be called "@__trackings__" */
1221   ID trackings_id = rb_intern( "@__safetrackings__" );
1222   VALUE verbose = rb_gv_get("VERBOSE");
1223   rb_gv_set("VERBOSE", Qfalse);
1224   trackings_value = rb_ivar_get( _mSWIG, trackings_id );
1225   rb_gv_set("VERBOSE", verbose);
1226 
1227   /* The trick here is that we have to store the hash table
1228   pointer in a Ruby variable. We do not want Ruby's GC to
1229   treat this pointer as a Ruby object, so we convert it to
1230   a Ruby numeric value. */
1231   if (trackings_value == Qnil) {
1232     /* No, it hasn't.  Create one ourselves */
1233     swig_ruby_trackings = st_init_numtable();
1234     rb_ivar_set( _mSWIG, trackings_id, SWIG2NUM(swig_ruby_trackings) );
1235   } else {
1236     swig_ruby_trackings = (st_table*)NUM2SWIG(trackings_value);
1237   }
1238 
1239   rb_define_virtual_variable("SWIG_TRACKINGS_COUNT", swig_ruby_trackings_count, NULL);
1240 }
1241 
1242 /* Add a Tracking from a C/C++ struct to a Ruby object */
SWIG_RubyAddTracking(void * ptr,VALUE object)1243 SWIGRUNTIME void SWIG_RubyAddTracking(void* ptr, VALUE object) {
1244   /* Store the mapping to the global hash table. */
1245   st_insert(swig_ruby_trackings, (st_data_t)ptr, object);
1246 }
1247 
1248 /* Get the Ruby object that owns the specified C/C++ struct */
SWIG_RubyInstanceFor(void * ptr)1249 SWIGRUNTIME VALUE SWIG_RubyInstanceFor(void* ptr) {
1250   /* Now lookup the value stored in the global hash table */
1251   VALUE value;
1252 
1253   if (st_lookup(swig_ruby_trackings, (st_data_t)ptr, &value)) {
1254     return value;
1255   } else {
1256     return Qnil;
1257   }
1258 }
1259 
1260 /* Remove a Tracking from a C/C++ struct to a Ruby object.  It
1261    is very important to remove objects once they are destroyed
1262    since the same memory address may be reused later to create
1263    a new object. */
SWIG_RubyRemoveTracking(void * ptr)1264 SWIGRUNTIME void SWIG_RubyRemoveTracking(void* ptr) {
1265   /* Delete the object from the hash table */
1266   st_delete(swig_ruby_trackings, (st_data_t *)&ptr, NULL);
1267 }
1268 
1269 /* This is a helper method that unlinks a Ruby object from its
1270    underlying C++ object.  This is needed if the lifetime of the
1271    Ruby object is longer than the C++ object */
SWIG_RubyUnlinkObjects(void * ptr)1272 SWIGRUNTIME void SWIG_RubyUnlinkObjects(void* ptr) {
1273   VALUE object = SWIG_RubyInstanceFor(ptr);
1274 
1275   if (object != Qnil) {
1276     if (TYPE(object) != T_DATA)
1277       abort();
1278     DATA_PTR(object) = 0;
1279   }
1280 }
1281 
1282 /* This is a helper method that iterates over all the trackings
1283    passing the C++ object pointer and its related Ruby object
1284    to the passed callback function. */
1285 
1286 /* Proxy method to abstract the internal trackings datatype */
swig_ruby_internal_iterate_callback(void * ptr,VALUE obj,void (* meth)(void * ptr,VALUE obj))1287 static int swig_ruby_internal_iterate_callback(void* ptr, VALUE obj, void(*meth)(void* ptr, VALUE obj)) {
1288   (*meth)(ptr, obj);
1289   return ST_CONTINUE;
1290 }
1291 
SWIG_RubyIterateTrackings(void (* meth)(void * ptr,VALUE obj))1292 SWIGRUNTIME void SWIG_RubyIterateTrackings( void(*meth)(void* ptr, VALUE obj) ) {
1293   st_foreach(swig_ruby_trackings, (int (*)(ANYARGS))&swig_ruby_internal_iterate_callback, (st_data_t)meth);
1294 }
1295 
1296 #ifdef __cplusplus
1297 }
1298 #endif
1299 
1300 /* -----------------------------------------------------------------------------
1301  * Ruby API portion that goes into the runtime
1302  * ----------------------------------------------------------------------------- */
1303 
1304 #ifdef __cplusplus
1305 extern "C" {
1306 #endif
1307 
1308 SWIGINTERN VALUE
SWIG_Ruby_AppendOutput(VALUE target,VALUE o)1309 SWIG_Ruby_AppendOutput(VALUE target, VALUE o) {
1310   if (NIL_P(target)) {
1311     target = o;
1312   } else {
1313     if (TYPE(target) != T_ARRAY) {
1314       VALUE o2 = target;
1315       target = rb_ary_new();
1316       rb_ary_push(target, o2);
1317     }
1318     rb_ary_push(target, o);
1319   }
1320   return target;
1321 }
1322 
1323 /* For ruby1.8.4 and earlier. */
1324 #ifndef RUBY_INIT_STACK
1325    RUBY_EXTERN void Init_stack(VALUE* addr);
1326 #  define RUBY_INIT_STACK \
1327    VALUE variable_in_this_stack_frame; \
1328    Init_stack(&variable_in_this_stack_frame);
1329 #endif
1330 
1331 
1332 #ifdef __cplusplus
1333 }
1334 #endif
1335 
1336 
1337 /* -----------------------------------------------------------------------------
1338  * rubyrun.swg
1339  *
1340  * This file contains the runtime support for Ruby modules
1341  * and includes code for managing global variables and pointer
1342  * type checking.
1343  * ----------------------------------------------------------------------------- */
1344 
1345 /* For backward compatibility only */
1346 #define SWIG_POINTER_EXCEPTION  0
1347 
1348 /* for raw pointers */
1349 #define SWIG_ConvertPtr(obj, pptr, type, flags)         SWIG_Ruby_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
1350 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own)  SWIG_Ruby_ConvertPtrAndOwn(obj, pptr, type, flags, own)
1351 #define SWIG_NewPointerObj(ptr, type, flags)            SWIG_Ruby_NewPointerObj(ptr, type, flags)
1352 #define SWIG_AcquirePtr(ptr, own)                       SWIG_Ruby_AcquirePtr(ptr, own)
1353 #define swig_owntype                                    swig_ruby_owntype
1354 
1355 /* for raw packed data */
1356 #define SWIG_ConvertPacked(obj, ptr, sz, ty)            SWIG_Ruby_ConvertPacked(obj, ptr, sz, ty, flags)
1357 #define SWIG_NewPackedObj(ptr, sz, type)                SWIG_Ruby_NewPackedObj(ptr, sz, type)
1358 
1359 /* for class or struct pointers */
1360 #define SWIG_ConvertInstance(obj, pptr, type, flags)    SWIG_ConvertPtr(obj, pptr, type, flags)
1361 #define SWIG_NewInstanceObj(ptr, type, flags)           SWIG_NewPointerObj(ptr, type, flags)
1362 
1363 /* for C or C++ function pointers */
1364 #define SWIG_ConvertFunctionPtr(obj, pptr, type)        SWIG_ConvertPtr(obj, pptr, type, 0)
1365 #define SWIG_NewFunctionPtrObj(ptr, type)               SWIG_NewPointerObj(ptr, type, 0)
1366 
1367 /* for C++ member pointers, ie, member methods */
1368 #define SWIG_ConvertMember(obj, ptr, sz, ty)            SWIG_Ruby_ConvertPacked(obj, ptr, sz, ty)
1369 #define SWIG_NewMemberObj(ptr, sz, type)                SWIG_Ruby_NewPackedObj(ptr, sz, type)
1370 
1371 
1372 /* Runtime API */
1373 
1374 #define SWIG_GetModule(clientdata)                      SWIG_Ruby_GetModule(clientdata)
1375 #define SWIG_SetModule(clientdata, pointer) 		SWIG_Ruby_SetModule(pointer)
1376 
1377 
1378 /* Error manipulation */
1379 
1380 #define SWIG_ErrorType(code)                            SWIG_Ruby_ErrorType(code)
1381 #define SWIG_Error(code, msg)            		rb_raise(SWIG_Ruby_ErrorType(code), "%s", msg)
1382 #define SWIG_fail                        		goto fail
1383 
1384 
1385 /* Ruby-specific SWIG API */
1386 
1387 #define SWIG_InitRuntime()                              SWIG_Ruby_InitRuntime()
1388 #define SWIG_define_class(ty)                        	SWIG_Ruby_define_class(ty)
1389 #define SWIG_NewClassInstance(value, ty)             	SWIG_Ruby_NewClassInstance(value, ty)
1390 #define SWIG_MangleStr(value)                        	SWIG_Ruby_MangleStr(value)
1391 #define SWIG_CheckConvert(value, ty)                 	SWIG_Ruby_CheckConvert(value, ty)
1392 
1393 #include "assert.h"
1394 
1395 /* -----------------------------------------------------------------------------
1396  * pointers/data manipulation
1397  * ----------------------------------------------------------------------------- */
1398 
1399 #ifdef __cplusplus
1400 extern "C" {
1401 #endif
1402 
1403 typedef struct {
1404   VALUE klass;
1405   VALUE mImpl;
1406   void  (*mark)(void *);
1407   void  (*destroy)(void *);
1408   int trackObjects;
1409 } swig_class;
1410 
1411 
1412 /* Global pointer used to keep some internal SWIG stuff */
1413 static VALUE _cSWIG_Pointer = Qnil;
1414 static VALUE swig_runtime_data_type_pointer = Qnil;
1415 
1416 /* Global IDs used to keep some internal SWIG stuff */
1417 static ID swig_arity_id = 0;
1418 static ID swig_call_id  = 0;
1419 
1420 /*
1421   If your swig extension is to be run within an embedded ruby and has
1422   director callbacks, you should set -DRUBY_EMBEDDED during compilation.
1423   This will reset ruby's stack frame on each entry point from the main
1424   program the first time a virtual director function is invoked (in a
1425   non-recursive way).
1426   If this is not done, you run the risk of Ruby trashing the stack.
1427 */
1428 
1429 #ifdef RUBY_EMBEDDED
1430 
1431 #  define SWIG_INIT_STACK                            \
1432       if ( !swig_virtual_calls ) { RUBY_INIT_STACK } \
1433       ++swig_virtual_calls;
1434 #  define SWIG_RELEASE_STACK --swig_virtual_calls;
1435 #  define Ruby_DirectorTypeMismatchException(x) \
1436           rb_raise( rb_eTypeError, "%s", x ); return c_result;
1437 
1438       static unsigned int swig_virtual_calls = 0;
1439 
1440 #else  /* normal non-embedded extension */
1441 
1442 #  define SWIG_INIT_STACK
1443 #  define SWIG_RELEASE_STACK
1444 #  define Ruby_DirectorTypeMismatchException(x) \
1445           throw Swig::DirectorTypeMismatchException( x );
1446 
1447 #endif  /* RUBY_EMBEDDED */
1448 
1449 
1450 SWIGRUNTIME VALUE
getExceptionClass(void)1451 getExceptionClass(void) {
1452   static int init = 0;
1453   static VALUE rubyExceptionClass ;
1454   if (!init) {
1455     init = 1;
1456     rubyExceptionClass = rb_const_get(_mSWIG, rb_intern("Exception"));
1457   }
1458   return rubyExceptionClass;
1459 }
1460 
1461 /* This code checks to see if the Ruby object being raised as part
1462    of an exception inherits from the Ruby class Exception.  If so,
1463    the object is simply returned.  If not, then a new Ruby exception
1464    object is created and that will be returned to Ruby.*/
1465 SWIGRUNTIME VALUE
SWIG_Ruby_ExceptionType(swig_type_info * desc,VALUE obj)1466 SWIG_Ruby_ExceptionType(swig_type_info *desc, VALUE obj) {
1467   VALUE exceptionClass = getExceptionClass();
1468   if (rb_obj_is_kind_of(obj, exceptionClass)) {
1469     return obj;
1470   }  else {
1471     return rb_exc_new3(rb_eRuntimeError, rb_obj_as_string(obj));
1472   }
1473 }
1474 
1475 /* Initialize Ruby runtime support */
1476 SWIGRUNTIME void
SWIG_Ruby_InitRuntime(void)1477 SWIG_Ruby_InitRuntime(void)
1478 {
1479   if (_mSWIG == Qnil) {
1480     _mSWIG = rb_define_module("SWIG");
1481     swig_call_id  = rb_intern("call");
1482     swig_arity_id = rb_intern("arity");
1483   }
1484 }
1485 
1486 /* Define Ruby class for C type */
1487 SWIGRUNTIME void
SWIG_Ruby_define_class(swig_type_info * type)1488 SWIG_Ruby_define_class(swig_type_info *type)
1489 {
1490   char *klass_name = (char *) malloc(4 + strlen(type->name) + 1);
1491   sprintf(klass_name, "TYPE%s", type->name);
1492   if (NIL_P(_cSWIG_Pointer)) {
1493     _cSWIG_Pointer = rb_define_class_under(_mSWIG, "Pointer", rb_cObject);
1494     rb_undef_method(CLASS_OF(_cSWIG_Pointer), "new");
1495   }
1496   rb_define_class_under(_mSWIG, klass_name, _cSWIG_Pointer);
1497   free((void *) klass_name);
1498 }
1499 
1500 /* Create a new pointer object */
1501 SWIGRUNTIME VALUE
SWIG_Ruby_NewPointerObj(void * ptr,swig_type_info * type,int flags)1502 SWIG_Ruby_NewPointerObj(void *ptr, swig_type_info *type, int flags)
1503 {
1504   int own =  flags & SWIG_POINTER_OWN;
1505   int track;
1506   char *klass_name;
1507   swig_class *sklass;
1508   VALUE klass;
1509   VALUE obj;
1510 
1511   if (!ptr)
1512     return Qnil;
1513 
1514   if (type->clientdata) {
1515     sklass = (swig_class *) type->clientdata;
1516 
1517     /* Are we tracking this class and have we already returned this Ruby object? */
1518     track = sklass->trackObjects;
1519     if (track) {
1520       obj = SWIG_RubyInstanceFor(ptr);
1521 
1522       /* Check the object's type and make sure it has the correct type.
1523         It might not in cases where methods do things like
1524         downcast methods. */
1525       if (obj != Qnil) {
1526         VALUE value = rb_iv_get(obj, "@__swigtype__");
1527         const char* type_name = RSTRING_PTR(value);
1528 
1529         if (strcmp(type->name, type_name) == 0) {
1530           return obj;
1531         }
1532       }
1533     }
1534 
1535     /* Create a new Ruby object */
1536     obj = Data_Wrap_Struct(sklass->klass, VOIDFUNC(sklass->mark),
1537 			   ( own ? VOIDFUNC(sklass->destroy) :
1538 			     (track ? VOIDFUNC(SWIG_RubyRemoveTracking) : 0 )
1539 			     ), ptr);
1540 
1541     /* If tracking is on for this class then track this object. */
1542     if (track) {
1543       SWIG_RubyAddTracking(ptr, obj);
1544     }
1545   } else {
1546     klass_name = (char *) malloc(4 + strlen(type->name) + 1);
1547     sprintf(klass_name, "TYPE%s", type->name);
1548     klass = rb_const_get(_mSWIG, rb_intern(klass_name));
1549     free((void *) klass_name);
1550     obj = Data_Wrap_Struct(klass, 0, 0, ptr);
1551   }
1552   rb_iv_set(obj, "@__swigtype__", rb_str_new2(type->name));
1553 
1554   return obj;
1555 }
1556 
1557 /* Create a new class instance (always owned) */
1558 SWIGRUNTIME VALUE
SWIG_Ruby_NewClassInstance(VALUE klass,swig_type_info * type)1559 SWIG_Ruby_NewClassInstance(VALUE klass, swig_type_info *type)
1560 {
1561   VALUE obj;
1562   swig_class *sklass = (swig_class *) type->clientdata;
1563   obj = Data_Wrap_Struct(klass, VOIDFUNC(sklass->mark), VOIDFUNC(sklass->destroy), 0);
1564   rb_iv_set(obj, "@__swigtype__", rb_str_new2(type->name));
1565   return obj;
1566 }
1567 
1568 /* Get type mangle from class name */
1569 SWIGRUNTIMEINLINE char *
SWIG_Ruby_MangleStr(VALUE obj)1570 SWIG_Ruby_MangleStr(VALUE obj)
1571 {
1572   VALUE stype = rb_iv_get(obj, "@__swigtype__");
1573   return StringValuePtr(stype);
1574 }
1575 
1576 /* Acquire a pointer value */
1577 typedef struct {
1578   void (*datafree)(void *);
1579   int own;
1580 } swig_ruby_owntype;
1581 
1582 SWIGRUNTIME swig_ruby_owntype
SWIG_Ruby_AcquirePtr(VALUE obj,swig_ruby_owntype own)1583 SWIG_Ruby_AcquirePtr(VALUE obj, swig_ruby_owntype own) {
1584   swig_ruby_owntype oldown = {0, 0};
1585   if (obj) {
1586     oldown.datafree = RDATA(obj)->dfree;
1587     RDATA(obj)->dfree = own.datafree;
1588   }
1589   return oldown;
1590 }
1591 
1592 /* Convert a pointer value */
1593 SWIGRUNTIME int
SWIG_Ruby_ConvertPtrAndOwn(VALUE obj,void ** ptr,swig_type_info * ty,int flags,swig_ruby_owntype * own)1594 SWIG_Ruby_ConvertPtrAndOwn(VALUE obj, void **ptr, swig_type_info *ty, int flags, swig_ruby_owntype *own)
1595 {
1596   char *c;
1597   swig_cast_info *tc;
1598   void *vptr = 0;
1599 
1600   /* Grab the pointer */
1601   if (NIL_P(obj)) {
1602     if (ptr)
1603       *ptr = 0;
1604     return SWIG_OK;
1605   } else {
1606     if (TYPE(obj) != T_DATA) {
1607       return SWIG_ERROR;
1608     }
1609     Data_Get_Struct(obj, void, vptr);
1610   }
1611 
1612   if (own) {
1613     own->datafree = RDATA(obj)->dfree;
1614     own->own = 0;
1615   }
1616 
1617   /* Check to see if the input object is giving up ownership
1618      of the underlying C struct or C++ object.  If so then we
1619      need to reset the destructor since the Ruby object no
1620      longer owns the underlying C++ object.*/
1621   if (flags & SWIG_POINTER_DISOWN) {
1622     /* Is tracking on for this class? */
1623     int track = 0;
1624     if (ty && ty->clientdata) {
1625       swig_class *sklass = (swig_class *) ty->clientdata;
1626       track = sklass->trackObjects;
1627     }
1628 
1629     if (track) {
1630       /* We are tracking objects for this class.  Thus we change the destructor
1631        * to SWIG_RubyRemoveTracking.  This allows us to
1632        * remove the mapping from the C++ to Ruby object
1633        * when the Ruby object is garbage collected.  If we don't
1634        * do this, then it is possible we will return a reference
1635        * to a Ruby object that no longer exists thereby crashing Ruby. */
1636       RDATA(obj)->dfree = SWIG_RubyRemoveTracking;
1637     } else {
1638       RDATA(obj)->dfree = 0;
1639     }
1640   }
1641 
1642   /* Do type-checking if type info was provided */
1643   if (ty) {
1644     if (ty->clientdata) {
1645       if (rb_obj_is_kind_of(obj, ((swig_class *) (ty->clientdata))->klass)) {
1646         if (vptr == 0) {
1647           /* The object has already been deleted */
1648           return SWIG_ObjectPreviouslyDeletedError;
1649         }
1650       }
1651     }
1652     if ((c = SWIG_MangleStr(obj)) == NULL) {
1653       return SWIG_ERROR;
1654     }
1655     tc = SWIG_TypeCheck(c, ty);
1656     if (!tc) {
1657       return SWIG_ERROR;
1658     } else {
1659       if (ptr) {
1660         if (tc->type == ty) {
1661           *ptr = vptr;
1662         } else {
1663           int newmemory = 0;
1664           *ptr = SWIG_TypeCast(tc, vptr, &newmemory);
1665           if (newmemory == SWIG_CAST_NEW_MEMORY) {
1666             assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */
1667             if (own)
1668               own->own = own->own | SWIG_CAST_NEW_MEMORY;
1669           }
1670         }
1671       }
1672     }
1673   } else {
1674     if (ptr)
1675       *ptr = vptr;
1676   }
1677 
1678   return SWIG_OK;
1679 }
1680 
1681 /* Check convert */
1682 SWIGRUNTIMEINLINE int
SWIG_Ruby_CheckConvert(VALUE obj,swig_type_info * ty)1683 SWIG_Ruby_CheckConvert(VALUE obj, swig_type_info *ty)
1684 {
1685   char *c = SWIG_MangleStr(obj);
1686   if (!c) return 0;
1687   return SWIG_TypeCheck(c,ty) != 0;
1688 }
1689 
1690 SWIGRUNTIME VALUE
SWIG_Ruby_NewPackedObj(void * ptr,int sz,swig_type_info * type)1691 SWIG_Ruby_NewPackedObj(void *ptr, int sz, swig_type_info *type) {
1692   char result[1024];
1693   char *r = result;
1694   if ((2*sz + 1 + strlen(type->name)) > 1000) return 0;
1695   *(r++) = '_';
1696   r = SWIG_PackData(r, ptr, sz);
1697   strcpy(r, type->name);
1698   return rb_str_new2(result);
1699 }
1700 
1701 /* Convert a packed value value */
1702 SWIGRUNTIME int
SWIG_Ruby_ConvertPacked(VALUE obj,void * ptr,int sz,swig_type_info * ty)1703 SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty) {
1704   swig_cast_info *tc;
1705   const char  *c;
1706 
1707   if (TYPE(obj) != T_STRING) goto type_error;
1708   c = StringValuePtr(obj);
1709   /* Pointer values must start with leading underscore */
1710   if (*c != '_') goto type_error;
1711   c++;
1712   c = SWIG_UnpackData(c, ptr, sz);
1713   if (ty) {
1714     tc = SWIG_TypeCheck(c, ty);
1715     if (!tc) goto type_error;
1716   }
1717   return SWIG_OK;
1718 
1719  type_error:
1720   return SWIG_ERROR;
1721 }
1722 
1723 SWIGRUNTIME swig_module_info *
SWIG_Ruby_GetModule(void * SWIGUNUSEDPARM (clientdata))1724 SWIG_Ruby_GetModule(void *SWIGUNUSEDPARM(clientdata))
1725 {
1726   VALUE pointer;
1727   swig_module_info *ret = 0;
1728   VALUE verbose = rb_gv_get("VERBOSE");
1729 
1730  /* temporarily disable warnings, since the pointer check causes warnings with 'ruby -w' */
1731   rb_gv_set("VERBOSE", Qfalse);
1732 
1733   /* first check if pointer already created */
1734   pointer = rb_gv_get("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME);
1735   if (pointer != Qnil) {
1736     Data_Get_Struct(pointer, swig_module_info, ret);
1737   }
1738 
1739   /* reinstate warnings */
1740   rb_gv_set("VERBOSE", verbose);
1741   return ret;
1742 }
1743 
1744 SWIGRUNTIME void
SWIG_Ruby_SetModule(swig_module_info * pointer)1745 SWIG_Ruby_SetModule(swig_module_info *pointer)
1746 {
1747   /* register a new class */
1748   VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);
1749   /* create and store the structure pointer to a global variable */
1750   swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
1751   rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);
1752 }
1753 
1754 /* This function can be used to check whether a proc or method or similarly
1755    callable function has been passed.  Usually used in a %typecheck, like:
1756 
1757    %typecheck(c_callback_t, precedence=SWIG_TYPECHECK_POINTER) {
1758         $result = SWIG_Ruby_isCallable( $input );
1759    }
1760  */
1761 SWIGINTERN
SWIG_Ruby_isCallable(VALUE proc)1762 int SWIG_Ruby_isCallable( VALUE proc )
1763 {
1764   if ( rb_respond_to( proc, swig_call_id ) )
1765     return 1;
1766   return 0;
1767 }
1768 
1769 /* This function can be used to check the arity (number of arguments)
1770    a proc or method can take.  Usually used in a %typecheck.
1771    Valid arities will be that equal to minimal or those < 0
1772    which indicate a variable number of parameters at the end.
1773  */
1774 SWIGINTERN
SWIG_Ruby_arity(VALUE proc,int minimal)1775 int SWIG_Ruby_arity( VALUE proc, int minimal )
1776 {
1777   if ( rb_respond_to( proc, swig_arity_id ) )
1778     {
1779       VALUE num = rb_funcall( proc, swig_arity_id, 0 );
1780       int arity = NUM2INT(num);
1781       if ( arity < 0 && (arity+1) < -minimal ) return 1;
1782       if ( arity == minimal ) return 1;
1783       return 1;
1784     }
1785   return 0;
1786 }
1787 
1788 
1789 #ifdef __cplusplus
1790 }
1791 #endif
1792 
1793 
1794 
1795 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
1796 
1797 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
1798 
1799 
1800 
1801   #define SWIG_exception(code, msg) do { SWIG_Error(code, msg);; } while(0)
1802 
1803 
1804 /* -------- TYPES TABLE (BEGIN) -------- */
1805 
1806 #define SWIGTYPE_p_apr_array_header_t swig_types[0]
1807 #define SWIGTYPE_p_apr_file_t swig_types[1]
1808 #define SWIGTYPE_p_apr_getopt_t swig_types[2]
1809 #define SWIGTYPE_p_apr_hash_t swig_types[3]
1810 #define SWIGTYPE_p_apr_int32_t swig_types[4]
1811 #define SWIGTYPE_p_apr_int64_t swig_types[5]
1812 #define SWIGTYPE_p_apr_pool_t swig_types[6]
1813 #define SWIGTYPE_p_char swig_types[7]
1814 #define SWIGTYPE_p_f_apr_off_t_apr_off_t_p_void_p_apr_pool_t__void swig_types[8]
1815 #define SWIGTYPE_p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[9]
1816 #define SWIGTYPE_p_f_p_p_q_const__char_p_p_q_const__char_p_apr_array_header_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[10]
1817 #define SWIGTYPE_p_f_p_p_q_const__char_p_p_q_const__char_p_q_const__apr_array_header_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[11]
1818 #define SWIGTYPE_p_f_p_p_svn_auth_cred_simple_t_p_void_p_q_const__char_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[12]
1819 #define SWIGTYPE_p_f_p_p_svn_auth_cred_ssl_client_cert_pw_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[13]
1820 #define SWIGTYPE_p_f_p_p_svn_auth_cred_ssl_client_cert_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[14]
1821 #define SWIGTYPE_p_f_p_p_svn_auth_cred_ssl_server_trust_t_p_void_p_q_const__char_apr_uint32_t_p_q_const__svn_auth_ssl_server_cert_info_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[15]
1822 #define SWIGTYPE_p_f_p_p_svn_auth_cred_username_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[16]
1823 #define SWIGTYPE_p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[17]
1824 #define SWIGTYPE_p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description2_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t swig_types[18]
1825 #define SWIGTYPE_p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[19]
1826 #define SWIGTYPE_p_f_p_q_const__svn_client_diff_summarize_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[20]
1827 #define SWIGTYPE_p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[21]
1828 #define SWIGTYPE_p_f_p_void__p_svn_error_t swig_types[22]
1829 #define SWIGTYPE_p_f_p_void_apr_int64_t_svn_revnum_t_p_apr_hash_t_svn_revnum_t_p_apr_hash_t_p_q_const__char_p_q_const__svn_string_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[23]
1830 #define SWIGTYPE_p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[24]
1831 #define SWIGTYPE_p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[25]
1832 #define SWIGTYPE_p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[26]
1833 #define SWIGTYPE_p_f_p_void_p_q_const__char__int swig_types[27]
1834 #define SWIGTYPE_p_f_p_void_p_q_const__char_enum_svn_wc_notify_action_t_enum_svn_node_kind_t_p_q_const__char_enum_svn_wc_notify_state_t_enum_svn_wc_notify_state_t_long__void swig_types[28]
1835 #define SWIGTYPE_p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t swig_types[29]
1836 #define SWIGTYPE_p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_pool_t__p_svn_error_t swig_types[30]
1837 #define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[31]
1838 #define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_svn_boolean_t_svn_revnum_t_svn_boolean_t_svn_depth_t_p_apr_pool_t__p_svn_error_t swig_types[32]
1839 #define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_client_info2_t_p_apr_pool_t__p_svn_error_t swig_types[33]
1840 #define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_client_status_t_p_apr_pool_t__p_svn_error_t swig_types[34]
1841 #define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_dirent_t_p_q_const__svn_lock_t_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[35]
1842 #define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_dirent_t_p_q_const__svn_lock_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[36]
1843 #define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_info_t_p_apr_pool_t__p_svn_error_t swig_types[37]
1844 #define SWIGTYPE_p_f_p_void_p_q_const__char_p_struct_svn_wc_status2_t__void swig_types[38]
1845 #define SWIGTYPE_p_f_p_void_p_q_const__char_p_struct_svn_wc_status_t__void swig_types[39]
1846 #define SWIGTYPE_p_f_p_void_p_q_const__char_p_svn_wc_status2_t_p_apr_pool_t__p_svn_error_t swig_types[40]
1847 #define SWIGTYPE_p_f_p_void_p_q_const__struct_svn_wc_notify_t_p_apr_pool_t__void swig_types[41]
1848 #define SWIGTYPE_p_f_p_void_p_svn_boolean_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[42]
1849 #define SWIGTYPE_p_f_p_void_p_svn_boolean_t_p_q_const__char_p_q_const__svn_io_dirent2_t_p_apr_pool_t__p_svn_error_t swig_types[43]
1850 #define SWIGTYPE_p_f_p_void_p_svn_client_conflict_t_p_apr_pool_t__p_svn_error_t swig_types[44]
1851 #define SWIGTYPE_p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t swig_types[45]
1852 #define SWIGTYPE_p_f_p_void_svn_revnum_t_svn_revnum_t_apr_int64_t_svn_revnum_t_p_apr_hash_t_svn_revnum_t_p_apr_hash_t_p_q_const__char_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[46]
1853 #define SWIGTYPE_p_int swig_types[47]
1854 #define SWIGTYPE_p_long swig_types[48]
1855 #define SWIGTYPE_p_p_apr_array_header_t swig_types[49]
1856 #define SWIGTYPE_p_p_apr_hash_t swig_types[50]
1857 #define SWIGTYPE_p_p_char swig_types[51]
1858 #define SWIGTYPE_p_p_svn_auth_provider_object_t swig_types[52]
1859 #define SWIGTYPE_p_p_svn_client_commit_info_t swig_types[53]
1860 #define SWIGTYPE_p_p_svn_client_conflict_t swig_types[54]
1861 #define SWIGTYPE_p_p_svn_client_ctx_t swig_types[55]
1862 #define SWIGTYPE_p_p_svn_commit_info_t swig_types[56]
1863 #define SWIGTYPE_p_p_svn_ra_session_t swig_types[57]
1864 #define SWIGTYPE_p_p_svn_string_t swig_types[58]
1865 #define SWIGTYPE_p_svn_auth_baton_t swig_types[59]
1866 #define SWIGTYPE_p_svn_auth_cred_simple_t swig_types[60]
1867 #define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t swig_types[61]
1868 #define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t swig_types[62]
1869 #define SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t swig_types[63]
1870 #define SWIGTYPE_p_svn_auth_cred_username_t swig_types[64]
1871 #define SWIGTYPE_p_svn_auth_iterstate_t swig_types[65]
1872 #define SWIGTYPE_p_svn_auth_provider_object_t swig_types[66]
1873 #define SWIGTYPE_p_svn_auth_provider_t swig_types[67]
1874 #define SWIGTYPE_p_svn_auth_ssl_server_cert_info_t swig_types[68]
1875 #define SWIGTYPE_p_svn_cache_config_t swig_types[69]
1876 #define SWIGTYPE_p_svn_checksum_ctx_t swig_types[70]
1877 #define SWIGTYPE_p_svn_checksum_kind_t swig_types[71]
1878 #define SWIGTYPE_p_svn_checksum_t swig_types[72]
1879 #define SWIGTYPE_p_svn_client_commit_info_t swig_types[73]
1880 #define SWIGTYPE_p_svn_client_commit_item2_t swig_types[74]
1881 #define SWIGTYPE_p_svn_client_commit_item3_t swig_types[75]
1882 #define SWIGTYPE_p_svn_client_commit_item_t swig_types[76]
1883 #define SWIGTYPE_p_svn_client_conflict_option_id_t swig_types[77]
1884 #define SWIGTYPE_p_svn_client_conflict_option_t swig_types[78]
1885 #define SWIGTYPE_p_svn_client_conflict_t swig_types[79]
1886 #define SWIGTYPE_p_svn_client_copy_source_t swig_types[80]
1887 #define SWIGTYPE_p_svn_client_ctx_t swig_types[81]
1888 #define SWIGTYPE_p_svn_client_diff_summarize_kind_t swig_types[82]
1889 #define SWIGTYPE_p_svn_client_diff_summarize_t swig_types[83]
1890 #define SWIGTYPE_p_svn_client_info2_t swig_types[84]
1891 #define SWIGTYPE_p_svn_client_proplist_item_t swig_types[85]
1892 #define SWIGTYPE_p_svn_client_status_t swig_types[86]
1893 #define SWIGTYPE_p_svn_commit_info_t swig_types[87]
1894 #define SWIGTYPE_p_svn_config_t swig_types[88]
1895 #define SWIGTYPE_p_svn_delta_editor_t swig_types[89]
1896 #define SWIGTYPE_p_svn_delta_path_driver_state_t swig_types[90]
1897 #define SWIGTYPE_p_svn_depth_t swig_types[91]
1898 #define SWIGTYPE_p_svn_diff_binary_patch_t swig_types[92]
1899 #define SWIGTYPE_p_svn_diff_conflict_display_style_t swig_types[93]
1900 #define SWIGTYPE_p_svn_diff_datasource_e swig_types[94]
1901 #define SWIGTYPE_p_svn_diff_file_ignore_space_t swig_types[95]
1902 #define SWIGTYPE_p_svn_diff_file_options_t swig_types[96]
1903 #define SWIGTYPE_p_svn_diff_fns2_t swig_types[97]
1904 #define SWIGTYPE_p_svn_diff_fns_t swig_types[98]
1905 #define SWIGTYPE_p_svn_diff_hunk_t swig_types[99]
1906 #define SWIGTYPE_p_svn_diff_operation_kind_e swig_types[100]
1907 #define SWIGTYPE_p_svn_diff_output_fns_t swig_types[101]
1908 #define SWIGTYPE_p_svn_diff_t swig_types[102]
1909 #define SWIGTYPE_p_svn_dirent_t swig_types[103]
1910 #define SWIGTYPE_p_svn_errno_t swig_types[104]
1911 #define SWIGTYPE_p_svn_error_t swig_types[105]
1912 #define SWIGTYPE_p_svn_info_t swig_types[106]
1913 #define SWIGTYPE_p_svn_io_dirent2_t swig_types[107]
1914 #define SWIGTYPE_p_svn_io_dirent_t swig_types[108]
1915 #define SWIGTYPE_p_svn_io_file_del_t swig_types[109]
1916 #define SWIGTYPE_p_svn_location_segment_t swig_types[110]
1917 #define SWIGTYPE_p_svn_lock_t swig_types[111]
1918 #define SWIGTYPE_p_svn_log_changed_path2_t swig_types[112]
1919 #define SWIGTYPE_p_svn_log_changed_path_t swig_types[113]
1920 #define SWIGTYPE_p_svn_log_entry_t swig_types[114]
1921 #define SWIGTYPE_p_svn_merge_range_t swig_types[115]
1922 #define SWIGTYPE_p_svn_mergeinfo_inheritance_t swig_types[116]
1923 #define SWIGTYPE_p_svn_node_kind_t swig_types[117]
1924 #define SWIGTYPE_p_svn_opt_revision_range_t swig_types[118]
1925 #define SWIGTYPE_p_svn_opt_revision_t swig_types[119]
1926 #define SWIGTYPE_p_svn_opt_revision_value_t swig_types[120]
1927 #define SWIGTYPE_p_svn_opt_subcommand_desc2_t swig_types[121]
1928 #define SWIGTYPE_p_svn_opt_subcommand_desc3_t swig_types[122]
1929 #define SWIGTYPE_p_svn_opt_subcommand_desc_t swig_types[123]
1930 #define SWIGTYPE_p_svn_patch_file_t swig_types[124]
1931 #define SWIGTYPE_p_svn_patch_t swig_types[125]
1932 #define SWIGTYPE_p_svn_prop_inherited_item_t swig_types[126]
1933 #define SWIGTYPE_p_svn_prop_kind swig_types[127]
1934 #define SWIGTYPE_p_svn_prop_patch_t swig_types[128]
1935 #define SWIGTYPE_p_svn_ra_callbacks2_t swig_types[129]
1936 #define SWIGTYPE_p_svn_ra_callbacks_t swig_types[130]
1937 #define SWIGTYPE_p_svn_ra_plugin_t swig_types[131]
1938 #define SWIGTYPE_p_svn_ra_reporter2_t swig_types[132]
1939 #define SWIGTYPE_p_svn_ra_reporter3_t swig_types[133]
1940 #define SWIGTYPE_p_svn_ra_reporter_t swig_types[134]
1941 #define SWIGTYPE_p_svn_ra_session_t swig_types[135]
1942 #define SWIGTYPE_p_svn_stream_mark_t swig_types[136]
1943 #define SWIGTYPE_p_svn_stream_t swig_types[137]
1944 #define SWIGTYPE_p_svn_string_t swig_types[138]
1945 #define SWIGTYPE_p_svn_stringbuf_t swig_types[139]
1946 #define SWIGTYPE_p_svn_tristate_t swig_types[140]
1947 #define SWIGTYPE_p_svn_txdelta_op_t swig_types[141]
1948 #define SWIGTYPE_p_svn_txdelta_stream_t swig_types[142]
1949 #define SWIGTYPE_p_svn_txdelta_window_t swig_types[143]
1950 #define SWIGTYPE_p_svn_version_checklist_t swig_types[144]
1951 #define SWIGTYPE_p_svn_version_ext_linked_lib_t swig_types[145]
1952 #define SWIGTYPE_p_svn_version_ext_loaded_lib_t swig_types[146]
1953 #define SWIGTYPE_p_svn_version_extended_t swig_types[147]
1954 #define SWIGTYPE_p_svn_version_t swig_types[148]
1955 #define SWIGTYPE_p_svn_wc_adm_access_t swig_types[149]
1956 #define SWIGTYPE_p_svn_wc_committed_queue_t swig_types[150]
1957 #define SWIGTYPE_p_svn_wc_conflict_action_t swig_types[151]
1958 #define SWIGTYPE_p_svn_wc_conflict_choice_t swig_types[152]
1959 #define SWIGTYPE_p_svn_wc_conflict_description_t swig_types[153]
1960 #define SWIGTYPE_p_svn_wc_conflict_kind_t swig_types[154]
1961 #define SWIGTYPE_p_svn_wc_conflict_reason_t swig_types[155]
1962 #define SWIGTYPE_p_svn_wc_conflict_version_t swig_types[156]
1963 #define SWIGTYPE_p_svn_wc_context_t swig_types[157]
1964 #define SWIGTYPE_p_svn_wc_diff_callbacks2_t swig_types[158]
1965 #define SWIGTYPE_p_svn_wc_diff_callbacks3_t swig_types[159]
1966 #define SWIGTYPE_p_svn_wc_diff_callbacks4_t swig_types[160]
1967 #define SWIGTYPE_p_svn_wc_diff_callbacks_t swig_types[161]
1968 #define SWIGTYPE_p_svn_wc_entry_callbacks2_t swig_types[162]
1969 #define SWIGTYPE_p_svn_wc_entry_callbacks_t swig_types[163]
1970 #define SWIGTYPE_p_svn_wc_entry_t swig_types[164]
1971 #define SWIGTYPE_p_svn_wc_external_item2_t swig_types[165]
1972 #define SWIGTYPE_p_svn_wc_external_item_t swig_types[166]
1973 #define SWIGTYPE_p_svn_wc_info_t swig_types[167]
1974 #define SWIGTYPE_p_svn_wc_merge_outcome_t swig_types[168]
1975 #define SWIGTYPE_p_svn_wc_notify_action_t swig_types[169]
1976 #define SWIGTYPE_p_svn_wc_notify_lock_state_t swig_types[170]
1977 #define SWIGTYPE_p_svn_wc_notify_state_t swig_types[171]
1978 #define SWIGTYPE_p_svn_wc_notify_t swig_types[172]
1979 #define SWIGTYPE_p_svn_wc_operation_t swig_types[173]
1980 #define SWIGTYPE_p_svn_wc_revision_status_t swig_types[174]
1981 #define SWIGTYPE_p_svn_wc_schedule_t swig_types[175]
1982 #define SWIGTYPE_p_svn_wc_status2_t swig_types[176]
1983 #define SWIGTYPE_p_svn_wc_status3_t swig_types[177]
1984 #define SWIGTYPE_p_svn_wc_status_t swig_types[178]
1985 #define SWIGTYPE_p_svn_wc_traversal_info_t swig_types[179]
1986 #define SWIGTYPE_p_unsigned_long swig_types[180]
1987 #define SWIGTYPE_p_void swig_types[181]
1988 static swig_type_info *swig_types[183];
1989 static swig_module_info swig_module = {swig_types, 182, 0, 0, 0, 0};
1990 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1991 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1992 
1993 /* -------- TYPES TABLE (END) -------- */
1994 
1995 #define SWIG_init    Init_client
1996 #define SWIG_name    "Svn::Ext::Client"
1997 
1998 static VALUE mClient;
1999 
2000 #define SWIG_RUBY_THREAD_BEGIN_BLOCK
2001 #define SWIG_RUBY_THREAD_END_BLOCK
2002 
2003 
2004 #define SWIGVERSION 0x030012
2005 #define SWIG_VERSION SWIGVERSION
2006 
2007 
2008 #define SWIG_as_voidptr(a) (void *)((const void *)(a))
2009 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
2010 
2011 
2012 #ifdef __cplusplus
2013 extern "C" {
2014 #endif
2015 
2016 /* Ruby 1.9 changed the file name of this header */
2017 #ifdef HAVE_RUBY_IO_H
2018 #include "ruby/io.h"
2019 #else
2020 #include "rubyio.h"
2021 #endif
2022 
2023 #ifdef __cplusplus
2024 }
2025 #endif
2026 
2027 
2028 #ifdef __cplusplus
2029 extern "C" {
2030 #endif
2031 #ifdef HAVE_SYS_TIME_H
2032 # include <sys/time.h>
2033 struct timeval rb_time_timeval(VALUE);
2034 #endif
2035 #ifdef __cplusplus
2036 }
2037 #endif
2038 
2039 
2040 #include "svn_time.h"
2041 #include "svn_pools.h"
2042 
2043 
2044 #include "swigutil_rb.h"
2045 
2046 
2047 static VALUE _global_svn_swig_rb_pool = Qnil;
2048 static apr_pool_t *_global_pool = NULL;
2049 static VALUE vresult = Qnil;
2050 static VALUE *_global_vresult_address = &vresult;
2051 
2052 
2053 #include <apu.h>
2054 #include <apr_xlate.h>
2055 
2056 
2057 #include "svn_client.h"
2058 
2059 
2060 #include <limits.h>
2061 #if !defined(SWIG_NO_LLONG_MAX)
2062 # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
2063 #   define LLONG_MAX __LONG_LONG_MAX__
2064 #   define LLONG_MIN (-LLONG_MAX - 1LL)
2065 #   define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
2066 # endif
2067 #endif
2068 
2069 
2070 SWIGINTERN VALUE
SWIG_ruby_failed(void)2071 SWIG_ruby_failed(void)
2072 {
2073   return Qnil;
2074 }
2075 
2076 
2077 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
SWIG_AUX_NUM2LONG(VALUE * args)2078 SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
2079 {
2080   VALUE obj = args[0];
2081   VALUE type = TYPE(obj);
2082   long *res = (long *)(args[1]);
2083   *res = type == T_FIXNUM ? NUM2LONG(obj) : rb_big2long(obj);
2084   return obj;
2085 }
2086 /*@SWIG@*/
2087 
2088 SWIGINTERN int
SWIG_AsVal_long(VALUE obj,long * val)2089 SWIG_AsVal_long (VALUE obj, long* val)
2090 {
2091   VALUE type = TYPE(obj);
2092   if ((type == T_FIXNUM) || (type == T_BIGNUM)) {
2093     long v;
2094     VALUE a[2];
2095     a[0] = obj;
2096     a[1] = (VALUE)(&v);
2097     if (rb_rescue(RUBY_METHOD_FUNC(SWIG_AUX_NUM2LONG), (VALUE)a, RUBY_METHOD_FUNC(SWIG_ruby_failed), 0) != Qnil) {
2098       if (val) *val = v;
2099       return SWIG_OK;
2100     }
2101   }
2102   return SWIG_TypeError;
2103 }
2104 
2105 
2106 SWIGINTERN int
SWIG_AsVal_int(VALUE obj,int * val)2107 SWIG_AsVal_int (VALUE obj, int *val)
2108 {
2109   long v;
2110   int res = SWIG_AsVal_long (obj, &v);
2111   if (SWIG_IsOK(res)) {
2112     if ((v < INT_MIN || v > INT_MAX)) {
2113       return SWIG_OverflowError;
2114     } else {
2115       if (val) *val = (int)(v);
2116     }
2117   }
2118   return res;
2119 }
2120 
2121 
2122   #define SWIG_From_long   LONG2NUM
2123 
2124 
2125 SWIGINTERN swig_type_info*
SWIG_pchar_descriptor(void)2126 SWIG_pchar_descriptor(void)
2127 {
2128   static int init = 0;
2129   static swig_type_info* info = 0;
2130   if (!init) {
2131     info = SWIG_TypeQuery("_p_char");
2132     init = 1;
2133   }
2134   return info;
2135 }
2136 
2137 
2138 SWIGINTERN int
SWIG_AsCharPtrAndSize(VALUE obj,char ** cptr,size_t * psize,int * alloc)2139 SWIG_AsCharPtrAndSize(VALUE obj, char** cptr, size_t* psize, int *alloc)
2140 {
2141   if (TYPE(obj) == T_STRING) {
2142     char *cstr = StringValuePtr(obj);
2143     size_t size = RSTRING_LEN(obj) + 1;
2144     if (cptr)  {
2145       if (alloc) {
2146 	if (*alloc == SWIG_NEWOBJ) {
2147 	  *cptr = (char *)memcpy(malloc((size)*sizeof(char)), cstr, sizeof(char)*(size));
2148 	} else {
2149 	  *cptr = cstr;
2150 	  *alloc = SWIG_OLDOBJ;
2151 	}
2152       }
2153     }
2154     if (psize) *psize = size;
2155     return SWIG_OK;
2156   } else {
2157     swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
2158     if (pchar_descriptor) {
2159       void* vptr = 0;
2160       if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
2161 	if (cptr) *cptr = (char *)vptr;
2162 	if (psize) *psize = vptr ? (strlen((char*)vptr) + 1) : 0;
2163 	if (alloc) *alloc = SWIG_OLDOBJ;
2164 	return SWIG_OK;
2165       }
2166     }
2167   }
2168   return SWIG_TypeError;
2169 }
2170 
2171 
2172 
2173 
2174 
2175 SWIGINTERNINLINE VALUE
SWIG_From_int(int value)2176 SWIG_From_int  (int value)
2177 {
2178   return SWIG_From_long  (value);
2179 }
2180 
2181 
2182 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
SWIG_AUX_NUM2ULONG(VALUE * args)2183 SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
2184 {
2185   VALUE obj = args[0];
2186   VALUE type = TYPE(obj);
2187   unsigned long *res = (unsigned long *)(args[1]);
2188   *res = type == T_FIXNUM ? NUM2ULONG(obj) : rb_big2ulong(obj);
2189   return obj;
2190 }
2191 /*@SWIG@*/
2192 
2193 SWIGINTERN int
SWIG_AsVal_unsigned_SS_long(VALUE obj,unsigned long * val)2194 SWIG_AsVal_unsigned_SS_long (VALUE obj, unsigned long *val)
2195 {
2196   VALUE type = TYPE(obj);
2197   if ((type == T_FIXNUM) || (type == T_BIGNUM)) {
2198     unsigned long v;
2199     VALUE a[2];
2200     a[0] = obj;
2201     a[1] = (VALUE)(&v);
2202     if (rb_rescue(RUBY_METHOD_FUNC(SWIG_AUX_NUM2ULONG), (VALUE)a, RUBY_METHOD_FUNC(SWIG_ruby_failed), 0) != Qnil) {
2203       if (val) *val = v;
2204       return SWIG_OK;
2205     }
2206   }
2207   return SWIG_TypeError;
2208 }
2209 
2210 
2211 SWIGINTERNINLINE VALUE
SWIG_From_unsigned_SS_long(unsigned long value)2212 SWIG_From_unsigned_SS_long  (unsigned long value)
2213 {
2214   return ULONG2NUM(value);
2215 }
2216 
new_svn_client_commit_item3_t(apr_pool_t * pool)2217 SWIGINTERN struct svn_client_commit_item3_t *new_svn_client_commit_item3_t(apr_pool_t *pool){
2218     svn_error_t *err;
2219     const svn_client_commit_item3_t *self;
2220     err = svn_client_commit_item_create(&self, pool);
2221     if (err)
2222       svn_swig_rb_handle_svn_error(err);
2223     return (svn_client_commit_item3_t *)self;
2224   }
svn_client_commit_item3_t_dup(struct svn_client_commit_item3_t * self,apr_pool_t * pool)2225 SWIGINTERN svn_client_commit_item3_t *svn_client_commit_item3_t_dup(struct svn_client_commit_item3_t *self,apr_pool_t *pool){
2226     return svn_client_commit_item3_dup(self, pool);
2227   }
new_svn_client_ctx_t(apr_pool_t * pool)2228 SWIGINTERN struct svn_client_ctx_t *new_svn_client_ctx_t(apr_pool_t *pool){
2229     svn_error_t *err;
2230     svn_client_ctx_t *self;
2231     apr_hash_t *cfg_hash;
2232 
2233     err = svn_config_get_config(&cfg_hash, NULL, pool);
2234     if (err)
2235       svn_swig_rb_handle_svn_error(err);
2236 
2237     err = svn_client_create_context2(&self, cfg_hash, pool);
2238     if (err)
2239       svn_swig_rb_handle_svn_error(err);
2240     return self;
2241   }
2242 
2243 SWIGINTERNINLINE VALUE
SWIG_FromCharPtrAndSize(const char * carray,size_t size)2244 SWIG_FromCharPtrAndSize(const char* carray, size_t size)
2245 {
2246   if (carray) {
2247     if (size > LONG_MAX) {
2248       swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
2249       return pchar_descriptor ?
2250 	SWIG_NewPointerObj((char *)(carray), pchar_descriptor, 0) : Qnil;
2251     } else {
2252       return rb_str_new(carray, (long)(size));
2253     }
2254   } else {
2255     return Qnil;
2256   }
2257 }
2258 
2259 
2260 SWIGINTERNINLINE VALUE
SWIG_FromCharPtr(const char * cptr)2261 SWIG_FromCharPtr(const char *cptr)
2262 {
2263   return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
2264 }
2265 
new_svn_client_copy_source_t(char const * path,svn_opt_revision_t const * rev,svn_opt_revision_t const * peg_rev,apr_pool_t * pool)2266 SWIGINTERN struct svn_client_copy_source_t *new_svn_client_copy_source_t(char const *path,svn_opt_revision_t const *rev,svn_opt_revision_t const *peg_rev,apr_pool_t *pool){
2267     svn_client_copy_source_t *self;
2268     svn_opt_revision_t *revision;
2269     svn_opt_revision_t *peg_revision;
2270 
2271     self = apr_palloc(pool, sizeof(*self));
2272     self->path = path ? apr_pstrdup(pool, path) : NULL;
2273 
2274     revision = apr_palloc(pool, sizeof(*revision));
2275     revision->kind = rev->kind;
2276     revision->value.number = rev->value.number;
2277     revision->value.date = rev->value.date;
2278     self->revision = revision;
2279 
2280     peg_revision = apr_palloc(pool, sizeof(*peg_revision));
2281     peg_revision->kind = peg_rev->kind;
2282     peg_revision->value.number = peg_rev->value.number;
2283     peg_revision->value.date = peg_rev->value.date;
2284     self->peg_revision = peg_revision;
2285 
2286     return self;
2287   }
svn_client_copy_source_t__path(struct svn_client_copy_source_t * self)2288 SWIGINTERN char const *svn_client_copy_source_t__path(struct svn_client_copy_source_t *self){
2289     return self->path;
2290   }
svn_client_copy_source_t__revision(struct svn_client_copy_source_t * self)2291 SWIGINTERN svn_opt_revision_t const *svn_client_copy_source_t__revision(struct svn_client_copy_source_t *self){
2292     return self->revision;
2293   }
svn_client_copy_source_t__peg_revision(struct svn_client_copy_source_t * self)2294 SWIGINTERN svn_opt_revision_t const *svn_client_copy_source_t__peg_revision(struct svn_client_copy_source_t *self){
2295     return self->peg_revision;
2296   }
2297 
svn_proplist_invoke_receiver2(svn_proplist_receiver2_t _obj,void * baton,const char * path,apr_hash_t * prop_hash,apr_array_header_t * inherited_props,apr_pool_t * scratch_pool)2298 static svn_error_t * svn_proplist_invoke_receiver2(
2299   svn_proplist_receiver2_t _obj, void *baton, const char *path, apr_hash_t *prop_hash, apr_array_header_t *inherited_props, apr_pool_t *scratch_pool) {
2300   return _obj(baton, path, prop_hash, inherited_props, scratch_pool);
2301 }
2302 
svn_proplist_invoke_receiver(svn_proplist_receiver_t _obj,void * baton,const char * path,apr_hash_t * prop_hash,apr_pool_t * pool)2303 static svn_error_t * svn_proplist_invoke_receiver(
2304   svn_proplist_receiver_t _obj, void *baton, const char *path, apr_hash_t *prop_hash, apr_pool_t *pool) {
2305   return _obj(baton, path, prop_hash, pool);
2306 }
2307 
svn_client_invoke_get_commit_log3(svn_client_get_commit_log3_t _obj,const char ** log_msg,const char ** tmp_file,const apr_array_header_t * commit_items,void * baton,apr_pool_t * pool)2308 static svn_error_t * svn_client_invoke_get_commit_log3(
2309   svn_client_get_commit_log3_t _obj, const char **log_msg, const char **tmp_file, const apr_array_header_t *commit_items, void *baton, apr_pool_t *pool) {
2310   return _obj(log_msg, tmp_file, commit_items, baton, pool);
2311 }
2312 
svn_client_invoke_get_commit_log2(svn_client_get_commit_log2_t _obj,const char ** log_msg,const char ** tmp_file,const apr_array_header_t * commit_items,void * baton,apr_pool_t * pool)2313 static svn_error_t * svn_client_invoke_get_commit_log2(
2314   svn_client_get_commit_log2_t _obj, const char **log_msg, const char **tmp_file, const apr_array_header_t *commit_items, void *baton, apr_pool_t *pool) {
2315   return _obj(log_msg, tmp_file, commit_items, baton, pool);
2316 }
2317 
svn_client_invoke_get_commit_log(svn_client_get_commit_log_t _obj,const char ** log_msg,const char ** tmp_file,apr_array_header_t * commit_items,void * baton,apr_pool_t * pool)2318 static svn_error_t * svn_client_invoke_get_commit_log(
2319   svn_client_get_commit_log_t _obj, const char **log_msg, const char **tmp_file, apr_array_header_t *commit_items, void *baton, apr_pool_t *pool) {
2320   return _obj(log_msg, tmp_file, commit_items, baton, pool);
2321 }
2322 
svn_client_invoke_blame_receiver4(svn_client_blame_receiver4_t _obj,void * baton,apr_int64_t line_no,svn_revnum_t revision,apr_hash_t * rev_props,svn_revnum_t merged_revision,apr_hash_t * merged_rev_props,const char * merged_path,const svn_string_t * line,svn_boolean_t local_change,apr_pool_t * pool)2323 static svn_error_t * svn_client_invoke_blame_receiver4(
2324   svn_client_blame_receiver4_t _obj, void *baton, apr_int64_t line_no, svn_revnum_t revision, apr_hash_t *rev_props, svn_revnum_t merged_revision, apr_hash_t *merged_rev_props, const char *merged_path, const svn_string_t *line, svn_boolean_t local_change, apr_pool_t *pool) {
2325   return _obj(baton, line_no, revision, rev_props, merged_revision, merged_rev_props, merged_path, line, local_change, pool);
2326 }
2327 
svn_client_invoke_blame_receiver3(svn_client_blame_receiver3_t _obj,void * baton,svn_revnum_t start_revnum,svn_revnum_t end_revnum,apr_int64_t line_no,svn_revnum_t revision,apr_hash_t * rev_props,svn_revnum_t merged_revision,apr_hash_t * merged_rev_props,const char * merged_path,const char * line,svn_boolean_t local_change,apr_pool_t * pool)2328 static svn_error_t * svn_client_invoke_blame_receiver3(
2329   svn_client_blame_receiver3_t _obj, void *baton, svn_revnum_t start_revnum, svn_revnum_t end_revnum, apr_int64_t line_no, svn_revnum_t revision, apr_hash_t *rev_props, svn_revnum_t merged_revision, apr_hash_t *merged_rev_props, const char *merged_path, const char *line, svn_boolean_t local_change, apr_pool_t *pool) {
2330   return _obj(baton, start_revnum, end_revnum, line_no, revision, rev_props, merged_revision, merged_rev_props, merged_path, line, local_change, pool);
2331 }
2332 
svn_client_invoke_blame_receiver2(svn_client_blame_receiver2_t _obj,void * baton,apr_int64_t line_no,svn_revnum_t revision,const char * author,const char * date,svn_revnum_t merged_revision,const char * merged_author,const char * merged_date,const char * merged_path,const char * line,apr_pool_t * pool)2333 static svn_error_t * svn_client_invoke_blame_receiver2(
2334   svn_client_blame_receiver2_t _obj, void *baton, apr_int64_t line_no, svn_revnum_t revision, const char *author, const char *date, svn_revnum_t merged_revision, const char *merged_author, const char *merged_date, const char *merged_path, const char *line, apr_pool_t *pool) {
2335   return _obj(baton, line_no, revision, author, date, merged_revision, merged_author, merged_date, merged_path, line, pool);
2336 }
2337 
svn_client_invoke_blame_receiver(svn_client_blame_receiver_t _obj,void * baton,apr_int64_t line_no,svn_revnum_t revision,const char * author,const char * date,const char * line,apr_pool_t * pool)2338 static svn_error_t * svn_client_invoke_blame_receiver(
2339   svn_client_blame_receiver_t _obj, void *baton, apr_int64_t line_no, svn_revnum_t revision, const char *author, const char *date, const char *line, apr_pool_t *pool) {
2340   return _obj(baton, line_no, revision, author, date, line, pool);
2341 }
2342 
svn_client_invoke_diff_summarize_func(svn_client_diff_summarize_func_t _obj,const svn_client_diff_summarize_t * diff,void * baton,apr_pool_t * pool)2343 static svn_error_t * svn_client_invoke_diff_summarize_func(
2344   svn_client_diff_summarize_func_t _obj, const svn_client_diff_summarize_t *diff, void *baton, apr_pool_t *pool) {
2345   return _obj(diff, baton, pool);
2346 }
2347 
svn_client_invoke__layout_func(svn_client__layout_func_t _obj,void * layout_baton,const char * local_abspath,const char * repos_root_url,svn_boolean_t not_present,svn_boolean_t url_changed,const char * url,svn_boolean_t revision_changed,svn_revnum_t revision,svn_boolean_t depth_changed,svn_depth_t depth,apr_pool_t * scratch_pool)2348 static svn_error_t * svn_client_invoke__layout_func(
2349   svn_client__layout_func_t _obj, void *layout_baton, const char *local_abspath, const char *repos_root_url, svn_boolean_t not_present, svn_boolean_t url_changed, const char *url, svn_boolean_t revision_changed, svn_revnum_t revision, svn_boolean_t depth_changed, svn_depth_t depth, apr_pool_t *scratch_pool) {
2350   return _obj(layout_baton, local_abspath, repos_root_url, not_present, url_changed, url, revision_changed, revision, depth_changed, depth, scratch_pool);
2351 }
2352 
svn_client_invoke_import_filter_func(svn_client_import_filter_func_t _obj,void * baton,svn_boolean_t * filtered,const char * local_abspath,const svn_io_dirent2_t * dirent,apr_pool_t * scratch_pool)2353 static svn_error_t * svn_client_invoke_import_filter_func(
2354   svn_client_import_filter_func_t _obj, void *baton, svn_boolean_t *filtered, const char *local_abspath, const svn_io_dirent2_t *dirent, apr_pool_t *scratch_pool) {
2355   return _obj(baton, filtered, local_abspath, dirent, scratch_pool);
2356 }
2357 
svn_client_invoke_status_func(svn_client_status_func_t _obj,void * baton,const char * path,const svn_client_status_t * status,apr_pool_t * scratch_pool)2358 static svn_error_t * svn_client_invoke_status_func(
2359   svn_client_status_func_t _obj, void *baton, const char *path, const svn_client_status_t *status, apr_pool_t *scratch_pool) {
2360   return _obj(baton, path, status, scratch_pool);
2361 }
2362 
svn_client_invoke_conflict_walk_func(svn_client_conflict_walk_func_t _obj,void * baton,svn_client_conflict_t * conflict,apr_pool_t * scratch_pool)2363 static svn_error_t * svn_client_invoke_conflict_walk_func(
2364   svn_client_conflict_walk_func_t _obj, void *baton, svn_client_conflict_t *conflict, apr_pool_t *scratch_pool) {
2365   return _obj(baton, conflict, scratch_pool);
2366 }
2367 
svn_client_invoke_list_func2(svn_client_list_func2_t _obj,void * baton,const char * path,const svn_dirent_t * dirent,const svn_lock_t * lock,const char * abs_path,const char * external_parent_url,const char * external_target,apr_pool_t * scratch_pool)2368 static svn_error_t * svn_client_invoke_list_func2(
2369   svn_client_list_func2_t _obj, void *baton, const char *path, const svn_dirent_t *dirent, const svn_lock_t *lock, const char *abs_path, const char *external_parent_url, const char *external_target, apr_pool_t *scratch_pool) {
2370   return _obj(baton, path, dirent, lock, abs_path, external_parent_url, external_target, scratch_pool);
2371 }
2372 
svn_client_invoke_list_func(svn_client_list_func_t _obj,void * baton,const char * path,const svn_dirent_t * dirent,const svn_lock_t * lock,const char * abs_path,apr_pool_t * pool)2373 static svn_error_t * svn_client_invoke_list_func(
2374   svn_client_list_func_t _obj, void *baton, const char *path, const svn_dirent_t *dirent, const svn_lock_t *lock, const char *abs_path, apr_pool_t *pool) {
2375   return _obj(baton, path, dirent, lock, abs_path, pool);
2376 }
2377 
svn_info_invoke_receiver(svn_info_receiver_t _obj,void * baton,const char * path,const svn_info_t * info,apr_pool_t * pool)2378 static svn_error_t * svn_info_invoke_receiver(
2379   svn_info_receiver_t _obj, void *baton, const char *path, const svn_info_t *info, apr_pool_t *pool) {
2380   return _obj(baton, path, info, pool);
2381 }
2382 
svn_client_invoke_info_receiver2(svn_client_info_receiver2_t _obj,void * baton,const char * abspath_or_url,const svn_client_info2_t * info,apr_pool_t * scratch_pool)2383 static svn_error_t * svn_client_invoke_info_receiver2(
2384   svn_client_info_receiver2_t _obj, void *baton, const char *abspath_or_url, const svn_client_info2_t *info, apr_pool_t *scratch_pool) {
2385   return _obj(baton, abspath_or_url, info, scratch_pool);
2386 }
2387 
svn_client_invoke_patch_func(svn_client_patch_func_t _obj,void * baton,svn_boolean_t * filtered,const char * canon_path_from_patchfile,const char * patch_abspath,const char * reject_abspath,apr_pool_t * scratch_pool)2388 static svn_error_t * svn_client_invoke_patch_func(
2389   svn_client_patch_func_t _obj, void *baton, svn_boolean_t *filtered, const char *canon_path_from_patchfile, const char *patch_abspath, const char *reject_abspath, apr_pool_t *scratch_pool) {
2390   return _obj(baton, filtered, canon_path_from_patchfile, patch_abspath, reject_abspath, scratch_pool);
2391 }
2392 
2393 
2394 
2395 static VALUE
svn_client_set_log_msg_func3(svn_client_ctx_t * ctx,svn_client_get_commit_log3_t log_msg_func,void * log_msg_baton,apr_pool_t * pool)2396 svn_client_set_log_msg_func3(svn_client_ctx_t *ctx,
2397                              svn_client_get_commit_log3_t log_msg_func,
2398                              void *log_msg_baton,
2399                              apr_pool_t *pool)
2400 {
2401   ctx->log_msg_func3 = log_msg_func;
2402   ctx->log_msg_baton3 = log_msg_baton;
2403   return (VALUE) log_msg_baton;
2404 }
2405 
2406 static VALUE
svn_client_set_notify_func2(svn_client_ctx_t * ctx,svn_wc_notify_func2_t notify_func2,void * notify_baton2,apr_pool_t * pool)2407 svn_client_set_notify_func2(svn_client_ctx_t *ctx,
2408                             svn_wc_notify_func2_t notify_func2,
2409                             void *notify_baton2,
2410                             apr_pool_t *pool)
2411 {
2412   ctx->notify_func2 = notify_func2;
2413   ctx->notify_baton2 = notify_baton2;
2414   return (VALUE)notify_baton2;
2415 }
2416 
2417 static VALUE
svn_client_set_cancel_func(svn_client_ctx_t * ctx,svn_cancel_func_t cancel_func,void * cancel_baton,apr_pool_t * pool)2418 svn_client_set_cancel_func(svn_client_ctx_t *ctx,
2419                            svn_cancel_func_t cancel_func,
2420                            void *cancel_baton,
2421                            apr_pool_t *pool)
2422 {
2423   ctx->cancel_func = cancel_func;
2424   ctx->cancel_baton = cancel_baton;
2425   return (VALUE)cancel_baton;
2426 }
2427 
2428 
2429 static VALUE
svn_client_set_config(svn_client_ctx_t * ctx,apr_hash_t * config,apr_pool_t * pool)2430 svn_client_set_config(svn_client_ctx_t *ctx,
2431                       apr_hash_t *config,
2432                       apr_pool_t *pool)
2433 {
2434   svn_error_t *err;
2435 
2436   apr_hash_clear(ctx->config);
2437   err = svn_config_copy_config(&ctx->config, config,
2438                                apr_hash_pool_get(ctx->config));
2439   if (err)
2440     svn_swig_rb_handle_svn_error(err);
2441   return Qnil;
2442 }
2443 
2444 static svn_error_t *
svn_client_get_config(svn_client_ctx_t * ctx,apr_hash_t ** cfg_hash,apr_pool_t * pool)2445 svn_client_get_config(svn_client_ctx_t *ctx,
2446                       apr_hash_t **cfg_hash,
2447                       apr_pool_t *pool)
2448 {
2449   *cfg_hash = ctx->config;
2450   return SVN_NO_ERROR;
2451 }
2452 
2453 SWIGINTERN VALUE
_wrap_svn_client_version(int argc,VALUE * argv,VALUE self)2454 _wrap_svn_client_version(int argc, VALUE *argv, VALUE self) {
2455   svn_version_t *result = 0 ;
2456   VALUE vresult = Qnil;
2457 
2458   if ((argc < 0) || (argc > 0)) {
2459     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
2460   }
2461   {
2462     result = (svn_version_t *)svn_client_version();
2463 
2464 
2465 
2466   }
2467   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_version_t, 0 |  0 );
2468   return vresult;
2469 fail:
2470   return Qnil;
2471 }
2472 
2473 
2474 SWIGINTERN VALUE
_wrap_svn_client_get_simple_prompt_provider(int argc,VALUE * argv,VALUE self)2475 _wrap_svn_client_get_simple_prompt_provider(int argc, VALUE *argv, VALUE self) {
2476   svn_auth_provider_object_t **arg1 = (svn_auth_provider_object_t **) 0 ;
2477   svn_auth_simple_prompt_func_t arg2 = (svn_auth_simple_prompt_func_t) 0 ;
2478   void *arg3 = (void *) 0 ;
2479   int arg4 ;
2480   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
2481   VALUE _global_svn_swig_rb_pool ;
2482   apr_pool_t *_global_pool ;
2483   svn_auth_provider_object_t *temp1 ;
2484   int val4 ;
2485   int ecode4 = 0 ;
2486   VALUE vresult = Qnil;
2487 
2488   {
2489     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
2490     _global_pool = arg5;
2491     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
2492   }
2493   arg1 = &temp1;
2494   if ((argc < 2) || (argc > 3)) {
2495     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
2496   }
2497   {
2498     arg2 = (svn_auth_simple_prompt_func_t) svn_swig_rb_auth_simple_prompt_func;
2499     arg3 = (void *)svn_swig_rb_make_baton(argv[0], _global_svn_swig_rb_pool);
2500   }
2501   ecode4 = SWIG_AsVal_int(argv[1], &val4);
2502   if (!SWIG_IsOK(ecode4)) {
2503     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","svn_client_get_simple_prompt_provider", 4, argv[1] ));
2504   }
2505   arg4 = (int)(val4);
2506   if (argc > 2) {
2507 
2508   }
2509   {
2510     svn_client_get_simple_prompt_provider(arg1,arg2,arg3,arg4,arg5);
2511 
2512 
2513 
2514   }
2515   {
2516     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_auth_provider_object_t, 0));
2517   }
2518   {
2519     VALUE target;
2520     target = _global_vresult_address == &vresult ? self : vresult;
2521     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
2522     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
2523     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
2524   }
2525   return vresult;
2526 fail:
2527   {
2528     VALUE target;
2529     target = _global_vresult_address == &vresult ? self : vresult;
2530     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
2531     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
2532     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
2533   }
2534   return Qnil;
2535 }
2536 
2537 
2538 SWIGINTERN VALUE
_wrap_svn_client_get_username_prompt_provider(int argc,VALUE * argv,VALUE self)2539 _wrap_svn_client_get_username_prompt_provider(int argc, VALUE *argv, VALUE self) {
2540   svn_auth_provider_object_t **arg1 = (svn_auth_provider_object_t **) 0 ;
2541   svn_auth_username_prompt_func_t arg2 = (svn_auth_username_prompt_func_t) 0 ;
2542   void *arg3 = (void *) 0 ;
2543   int arg4 ;
2544   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
2545   VALUE _global_svn_swig_rb_pool ;
2546   apr_pool_t *_global_pool ;
2547   svn_auth_provider_object_t *temp1 ;
2548   int val4 ;
2549   int ecode4 = 0 ;
2550   VALUE vresult = Qnil;
2551 
2552   {
2553     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
2554     _global_pool = arg5;
2555     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
2556   }
2557   arg1 = &temp1;
2558   if ((argc < 2) || (argc > 3)) {
2559     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
2560   }
2561   {
2562     arg2 = (svn_auth_username_prompt_func_t) svn_swig_rb_auth_username_prompt_func;
2563     arg3 = (void *)svn_swig_rb_make_baton(argv[0], _global_svn_swig_rb_pool);
2564   }
2565   ecode4 = SWIG_AsVal_int(argv[1], &val4);
2566   if (!SWIG_IsOK(ecode4)) {
2567     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","svn_client_get_username_prompt_provider", 4, argv[1] ));
2568   }
2569   arg4 = (int)(val4);
2570   if (argc > 2) {
2571 
2572   }
2573   {
2574     svn_client_get_username_prompt_provider(arg1,arg2,arg3,arg4,arg5);
2575 
2576 
2577 
2578   }
2579   {
2580     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_auth_provider_object_t, 0));
2581   }
2582   {
2583     VALUE target;
2584     target = _global_vresult_address == &vresult ? self : vresult;
2585     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
2586     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
2587     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
2588   }
2589   return vresult;
2590 fail:
2591   {
2592     VALUE target;
2593     target = _global_vresult_address == &vresult ? self : vresult;
2594     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
2595     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
2596     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
2597   }
2598   return Qnil;
2599 }
2600 
2601 
2602 SWIGINTERN VALUE
_wrap_svn_client_get_simple_provider(int argc,VALUE * argv,VALUE self)2603 _wrap_svn_client_get_simple_provider(int argc, VALUE *argv, VALUE self) {
2604   svn_auth_provider_object_t **arg1 = (svn_auth_provider_object_t **) 0 ;
2605   apr_pool_t *arg2 = (apr_pool_t *) 0 ;
2606   VALUE _global_svn_swig_rb_pool ;
2607   apr_pool_t *_global_pool ;
2608   svn_auth_provider_object_t *temp1 ;
2609   VALUE vresult = Qnil;
2610 
2611   {
2612     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2);
2613     _global_pool = arg2;
2614     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
2615   }
2616   arg1 = &temp1;
2617   if ((argc < 0) || (argc > 1)) {
2618     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
2619   }
2620   if (argc > 0) {
2621 
2622   }
2623   {
2624     svn_client_get_simple_provider(arg1,arg2);
2625 
2626 
2627 
2628   }
2629   {
2630     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_auth_provider_object_t, 0));
2631   }
2632   {
2633     VALUE target;
2634     target = _global_vresult_address == &vresult ? self : vresult;
2635     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
2636     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
2637     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
2638   }
2639   return vresult;
2640 fail:
2641   {
2642     VALUE target;
2643     target = _global_vresult_address == &vresult ? self : vresult;
2644     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
2645     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
2646     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
2647   }
2648   return Qnil;
2649 }
2650 
2651 
2652 SWIGINTERN VALUE
_wrap_svn_client_get_username_provider(int argc,VALUE * argv,VALUE self)2653 _wrap_svn_client_get_username_provider(int argc, VALUE *argv, VALUE self) {
2654   svn_auth_provider_object_t **arg1 = (svn_auth_provider_object_t **) 0 ;
2655   apr_pool_t *arg2 = (apr_pool_t *) 0 ;
2656   VALUE _global_svn_swig_rb_pool ;
2657   apr_pool_t *_global_pool ;
2658   svn_auth_provider_object_t *temp1 ;
2659   VALUE vresult = Qnil;
2660 
2661   {
2662     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2);
2663     _global_pool = arg2;
2664     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
2665   }
2666   arg1 = &temp1;
2667   if ((argc < 0) || (argc > 1)) {
2668     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
2669   }
2670   if (argc > 0) {
2671 
2672   }
2673   {
2674     svn_client_get_username_provider(arg1,arg2);
2675 
2676 
2677 
2678   }
2679   {
2680     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_auth_provider_object_t, 0));
2681   }
2682   {
2683     VALUE target;
2684     target = _global_vresult_address == &vresult ? self : vresult;
2685     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
2686     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
2687     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
2688   }
2689   return vresult;
2690 fail:
2691   {
2692     VALUE target;
2693     target = _global_vresult_address == &vresult ? self : vresult;
2694     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
2695     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
2696     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
2697   }
2698   return Qnil;
2699 }
2700 
2701 
2702 SWIGINTERN VALUE
_wrap_svn_client_get_ssl_server_trust_file_provider(int argc,VALUE * argv,VALUE self)2703 _wrap_svn_client_get_ssl_server_trust_file_provider(int argc, VALUE *argv, VALUE self) {
2704   svn_auth_provider_object_t **arg1 = (svn_auth_provider_object_t **) 0 ;
2705   apr_pool_t *arg2 = (apr_pool_t *) 0 ;
2706   VALUE _global_svn_swig_rb_pool ;
2707   apr_pool_t *_global_pool ;
2708   svn_auth_provider_object_t *temp1 ;
2709   VALUE vresult = Qnil;
2710 
2711   {
2712     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2);
2713     _global_pool = arg2;
2714     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
2715   }
2716   arg1 = &temp1;
2717   if ((argc < 0) || (argc > 1)) {
2718     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
2719   }
2720   if (argc > 0) {
2721 
2722   }
2723   {
2724     svn_client_get_ssl_server_trust_file_provider(arg1,arg2);
2725 
2726 
2727 
2728   }
2729   {
2730     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_auth_provider_object_t, 0));
2731   }
2732   {
2733     VALUE target;
2734     target = _global_vresult_address == &vresult ? self : vresult;
2735     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
2736     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
2737     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
2738   }
2739   return vresult;
2740 fail:
2741   {
2742     VALUE target;
2743     target = _global_vresult_address == &vresult ? self : vresult;
2744     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
2745     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
2746     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
2747   }
2748   return Qnil;
2749 }
2750 
2751 
2752 SWIGINTERN VALUE
_wrap_svn_client_get_ssl_client_cert_file_provider(int argc,VALUE * argv,VALUE self)2753 _wrap_svn_client_get_ssl_client_cert_file_provider(int argc, VALUE *argv, VALUE self) {
2754   svn_auth_provider_object_t **arg1 = (svn_auth_provider_object_t **) 0 ;
2755   apr_pool_t *arg2 = (apr_pool_t *) 0 ;
2756   VALUE _global_svn_swig_rb_pool ;
2757   apr_pool_t *_global_pool ;
2758   svn_auth_provider_object_t *temp1 ;
2759   VALUE vresult = Qnil;
2760 
2761   {
2762     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2);
2763     _global_pool = arg2;
2764     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
2765   }
2766   arg1 = &temp1;
2767   if ((argc < 0) || (argc > 1)) {
2768     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
2769   }
2770   if (argc > 0) {
2771 
2772   }
2773   {
2774     svn_client_get_ssl_client_cert_file_provider(arg1,arg2);
2775 
2776 
2777 
2778   }
2779   {
2780     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_auth_provider_object_t, 0));
2781   }
2782   {
2783     VALUE target;
2784     target = _global_vresult_address == &vresult ? self : vresult;
2785     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
2786     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
2787     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
2788   }
2789   return vresult;
2790 fail:
2791   {
2792     VALUE target;
2793     target = _global_vresult_address == &vresult ? self : vresult;
2794     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
2795     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
2796     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
2797   }
2798   return Qnil;
2799 }
2800 
2801 
2802 SWIGINTERN VALUE
_wrap_svn_client_get_ssl_client_cert_pw_file_provider(int argc,VALUE * argv,VALUE self)2803 _wrap_svn_client_get_ssl_client_cert_pw_file_provider(int argc, VALUE *argv, VALUE self) {
2804   svn_auth_provider_object_t **arg1 = (svn_auth_provider_object_t **) 0 ;
2805   apr_pool_t *arg2 = (apr_pool_t *) 0 ;
2806   VALUE _global_svn_swig_rb_pool ;
2807   apr_pool_t *_global_pool ;
2808   svn_auth_provider_object_t *temp1 ;
2809   VALUE vresult = Qnil;
2810 
2811   {
2812     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2);
2813     _global_pool = arg2;
2814     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
2815   }
2816   arg1 = &temp1;
2817   if ((argc < 0) || (argc > 1)) {
2818     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
2819   }
2820   if (argc > 0) {
2821 
2822   }
2823   {
2824     svn_client_get_ssl_client_cert_pw_file_provider(arg1,arg2);
2825 
2826 
2827 
2828   }
2829   {
2830     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_auth_provider_object_t, 0));
2831   }
2832   {
2833     VALUE target;
2834     target = _global_vresult_address == &vresult ? self : vresult;
2835     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
2836     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
2837     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
2838   }
2839   return vresult;
2840 fail:
2841   {
2842     VALUE target;
2843     target = _global_vresult_address == &vresult ? self : vresult;
2844     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
2845     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
2846     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
2847   }
2848   return Qnil;
2849 }
2850 
2851 
2852 SWIGINTERN VALUE
_wrap_svn_client_get_ssl_server_trust_prompt_provider(int argc,VALUE * argv,VALUE self)2853 _wrap_svn_client_get_ssl_server_trust_prompt_provider(int argc, VALUE *argv, VALUE self) {
2854   svn_auth_provider_object_t **arg1 = (svn_auth_provider_object_t **) 0 ;
2855   svn_auth_ssl_server_trust_prompt_func_t arg2 = (svn_auth_ssl_server_trust_prompt_func_t) 0 ;
2856   void *arg3 = (void *) 0 ;
2857   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
2858   VALUE _global_svn_swig_rb_pool ;
2859   apr_pool_t *_global_pool ;
2860   svn_auth_provider_object_t *temp1 ;
2861   VALUE vresult = Qnil;
2862 
2863   {
2864     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
2865     _global_pool = arg4;
2866     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
2867   }
2868   arg1 = &temp1;
2869   if ((argc < 1) || (argc > 2)) {
2870     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2871   }
2872   {
2873     arg2 = (svn_auth_ssl_server_trust_prompt_func_t) svn_swig_rb_auth_ssl_server_trust_prompt_func;
2874     arg3 = (void *)svn_swig_rb_make_baton(argv[0], _global_svn_swig_rb_pool);
2875   }
2876   if (argc > 1) {
2877 
2878   }
2879   {
2880     svn_client_get_ssl_server_trust_prompt_provider(arg1,arg2,arg3,arg4);
2881 
2882 
2883 
2884   }
2885   {
2886     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_auth_provider_object_t, 0));
2887   }
2888   {
2889     VALUE target;
2890     target = _global_vresult_address == &vresult ? self : vresult;
2891     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
2892     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
2893     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
2894   }
2895   return vresult;
2896 fail:
2897   {
2898     VALUE target;
2899     target = _global_vresult_address == &vresult ? self : vresult;
2900     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
2901     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
2902     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
2903   }
2904   return Qnil;
2905 }
2906 
2907 
2908 SWIGINTERN VALUE
_wrap_svn_client_get_ssl_client_cert_prompt_provider(int argc,VALUE * argv,VALUE self)2909 _wrap_svn_client_get_ssl_client_cert_prompt_provider(int argc, VALUE *argv, VALUE self) {
2910   svn_auth_provider_object_t **arg1 = (svn_auth_provider_object_t **) 0 ;
2911   svn_auth_ssl_client_cert_prompt_func_t arg2 = (svn_auth_ssl_client_cert_prompt_func_t) 0 ;
2912   void *arg3 = (void *) 0 ;
2913   int arg4 ;
2914   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
2915   VALUE _global_svn_swig_rb_pool ;
2916   apr_pool_t *_global_pool ;
2917   svn_auth_provider_object_t *temp1 ;
2918   int val4 ;
2919   int ecode4 = 0 ;
2920   VALUE vresult = Qnil;
2921 
2922   {
2923     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
2924     _global_pool = arg5;
2925     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
2926   }
2927   arg1 = &temp1;
2928   if ((argc < 2) || (argc > 3)) {
2929     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
2930   }
2931   {
2932     arg2 = (svn_auth_ssl_client_cert_prompt_func_t) svn_swig_rb_auth_ssl_client_cert_prompt_func;
2933     arg3 = (void *)svn_swig_rb_make_baton(argv[0], _global_svn_swig_rb_pool);
2934   }
2935   ecode4 = SWIG_AsVal_int(argv[1], &val4);
2936   if (!SWIG_IsOK(ecode4)) {
2937     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","svn_client_get_ssl_client_cert_prompt_provider", 4, argv[1] ));
2938   }
2939   arg4 = (int)(val4);
2940   if (argc > 2) {
2941 
2942   }
2943   {
2944     svn_client_get_ssl_client_cert_prompt_provider(arg1,arg2,arg3,arg4,arg5);
2945 
2946 
2947 
2948   }
2949   {
2950     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_auth_provider_object_t, 0));
2951   }
2952   {
2953     VALUE target;
2954     target = _global_vresult_address == &vresult ? self : vresult;
2955     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
2956     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
2957     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
2958   }
2959   return vresult;
2960 fail:
2961   {
2962     VALUE target;
2963     target = _global_vresult_address == &vresult ? self : vresult;
2964     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
2965     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
2966     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
2967   }
2968   return Qnil;
2969 }
2970 
2971 
2972 SWIGINTERN VALUE
_wrap_svn_client_get_ssl_client_cert_pw_prompt_provider(int argc,VALUE * argv,VALUE self)2973 _wrap_svn_client_get_ssl_client_cert_pw_prompt_provider(int argc, VALUE *argv, VALUE self) {
2974   svn_auth_provider_object_t **arg1 = (svn_auth_provider_object_t **) 0 ;
2975   svn_auth_ssl_client_cert_pw_prompt_func_t arg2 = (svn_auth_ssl_client_cert_pw_prompt_func_t) 0 ;
2976   void *arg3 = (void *) 0 ;
2977   int arg4 ;
2978   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
2979   VALUE _global_svn_swig_rb_pool ;
2980   apr_pool_t *_global_pool ;
2981   svn_auth_provider_object_t *temp1 ;
2982   int val4 ;
2983   int ecode4 = 0 ;
2984   VALUE vresult = Qnil;
2985 
2986   {
2987     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
2988     _global_pool = arg5;
2989     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
2990   }
2991   arg1 = &temp1;
2992   if ((argc < 2) || (argc > 3)) {
2993     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
2994   }
2995   {
2996     arg2 = (svn_auth_ssl_client_cert_pw_prompt_func_t) svn_swig_rb_auth_ssl_client_cert_pw_prompt_func;
2997     arg3 = (void *)svn_swig_rb_make_baton(argv[0], _global_svn_swig_rb_pool);
2998   }
2999   ecode4 = SWIG_AsVal_int(argv[1], &val4);
3000   if (!SWIG_IsOK(ecode4)) {
3001     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","svn_client_get_ssl_client_cert_pw_prompt_provider", 4, argv[1] ));
3002   }
3003   arg4 = (int)(val4);
3004   if (argc > 2) {
3005 
3006   }
3007   {
3008     svn_client_get_ssl_client_cert_pw_prompt_provider(arg1,arg2,arg3,arg4,arg5);
3009 
3010 
3011 
3012   }
3013   {
3014     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_auth_provider_object_t, 0));
3015   }
3016   {
3017     VALUE target;
3018     target = _global_vresult_address == &vresult ? self : vresult;
3019     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
3020     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
3021     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
3022   }
3023   return vresult;
3024 fail:
3025   {
3026     VALUE target;
3027     target = _global_vresult_address == &vresult ? self : vresult;
3028     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
3029     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
3030     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
3031   }
3032   return Qnil;
3033 }
3034 
3035 
3036 static swig_class SwigClassSvn_client_proplist_item_t;
3037 
3038 SWIGINTERN VALUE
_wrap_svn_client_proplist_item_t_node_name_set(int argc,VALUE * argv,VALUE self)3039 _wrap_svn_client_proplist_item_t_node_name_set(int argc, VALUE *argv, VALUE self) {
3040   struct svn_client_proplist_item_t *arg1 = (struct svn_client_proplist_item_t *) 0 ;
3041   svn_stringbuf_t *arg2 = (svn_stringbuf_t *) 0 ;
3042   void *argp1 = 0 ;
3043   int res1 = 0 ;
3044 
3045   if ((argc < 1) || (argc > 1)) {
3046     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3047   }
3048   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_proplist_item_t, 0 |  0 );
3049   if (!SWIG_IsOK(res1)) {
3050     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_proplist_item_t *","node_name", 1, self ));
3051   }
3052   arg1 = (struct svn_client_proplist_item_t *)(argp1);
3053   {
3054     if (NIL_P(argv[0])) {
3055       arg2 = NULL;
3056     } else {
3057       VALUE rb_pool;
3058       apr_pool_t *pool;
3059 
3060       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &pool);
3061 
3062       arg2 = svn_stringbuf_ncreate(StringValuePtr(argv[0]),
3063         RSTRING_LEN(argv[0]),
3064         pool);
3065     }
3066   }
3067   if (arg1) (arg1)->node_name = arg2;
3068   return Qnil;
3069 fail:
3070   return Qnil;
3071 }
3072 
3073 
3074 SWIGINTERN VALUE
_wrap_svn_client_proplist_item_t_node_name_get(int argc,VALUE * argv,VALUE self)3075 _wrap_svn_client_proplist_item_t_node_name_get(int argc, VALUE *argv, VALUE self) {
3076   struct svn_client_proplist_item_t *arg1 = (struct svn_client_proplist_item_t *) 0 ;
3077   void *argp1 = 0 ;
3078   int res1 = 0 ;
3079   svn_stringbuf_t *result = 0 ;
3080   VALUE vresult = Qnil;
3081 
3082   if ((argc < 0) || (argc > 0)) {
3083     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3084   }
3085   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_proplist_item_t, 0 |  0 );
3086   if (!SWIG_IsOK(res1)) {
3087     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_proplist_item_t *","node_name", 1, self ));
3088   }
3089   arg1 = (struct svn_client_proplist_item_t *)(argp1);
3090   result = (svn_stringbuf_t *) ((arg1)->node_name);
3091   {
3092     vresult = rb_str_new(result->data, result->len);
3093   }
3094   return vresult;
3095 fail:
3096   return Qnil;
3097 }
3098 
3099 
3100 SWIGINTERN VALUE
_wrap_svn_client_proplist_item_t_prop_hash_set(int argc,VALUE * argv,VALUE self)3101 _wrap_svn_client_proplist_item_t_prop_hash_set(int argc, VALUE *argv, VALUE self) {
3102   struct svn_client_proplist_item_t *arg1 = (struct svn_client_proplist_item_t *) 0 ;
3103   apr_hash_t *arg2 = (apr_hash_t *) 0 ;
3104   void *argp1 = 0 ;
3105   int res1 = 0 ;
3106   void *argp2 = 0 ;
3107   int res2 = 0 ;
3108 
3109   if ((argc < 1) || (argc > 1)) {
3110     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3111   }
3112   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_proplist_item_t, 0 |  0 );
3113   if (!SWIG_IsOK(res1)) {
3114     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_proplist_item_t *","prop_hash", 1, self ));
3115   }
3116   arg1 = (struct svn_client_proplist_item_t *)(argp1);
3117   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_apr_hash_t, SWIG_POINTER_DISOWN |  0 );
3118   if (!SWIG_IsOK(res2)) {
3119     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "apr_hash_t *","prop_hash", 2, argv[0] ));
3120   }
3121   arg2 = (apr_hash_t *)(argp2);
3122   if (arg1) (arg1)->prop_hash = arg2;
3123   return Qnil;
3124 fail:
3125   return Qnil;
3126 }
3127 
3128 
3129 SWIGINTERN VALUE
_wrap_svn_client_proplist_item_t_prop_hash_get(int argc,VALUE * argv,VALUE self)3130 _wrap_svn_client_proplist_item_t_prop_hash_get(int argc, VALUE *argv, VALUE self) {
3131   struct svn_client_proplist_item_t *arg1 = (struct svn_client_proplist_item_t *) 0 ;
3132   void *argp1 = 0 ;
3133   int res1 = 0 ;
3134   apr_hash_t *result = 0 ;
3135   VALUE vresult = Qnil;
3136 
3137   if ((argc < 0) || (argc > 0)) {
3138     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3139   }
3140   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_proplist_item_t, 0 |  0 );
3141   if (!SWIG_IsOK(res1)) {
3142     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_proplist_item_t *","prop_hash", 1, self ));
3143   }
3144   arg1 = (struct svn_client_proplist_item_t *)(argp1);
3145   result = (apr_hash_t *) ((arg1)->prop_hash);
3146   {
3147     vresult = svn_swig_rb_prop_hash_to_hash(result);
3148   }
3149   return vresult;
3150 fail:
3151   return Qnil;
3152 }
3153 
3154 
3155 SWIGINTERN VALUE
3156 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_svn_client_proplist_item_t_allocate(VALUE self)3157 _wrap_svn_client_proplist_item_t_allocate(VALUE self)
3158 #else
3159 _wrap_svn_client_proplist_item_t_allocate(int argc, VALUE *argv, VALUE self)
3160 #endif
3161 {
3162   VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_client_proplist_item_t);
3163 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
3164   rb_obj_call_init(vresult, argc, argv);
3165 #endif
3166   return vresult;
3167 }
3168 
3169 
3170 SWIGINTERN VALUE
_wrap_new_svn_client_proplist_item_t(int argc,VALUE * argv,VALUE self)3171 _wrap_new_svn_client_proplist_item_t(int argc, VALUE *argv, VALUE self) {
3172   struct svn_client_proplist_item_t *result = 0 ;
3173 
3174   if ((argc < 0) || (argc > 0)) {
3175     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3176   }
3177   {
3178     result = (struct svn_client_proplist_item_t *)calloc(1, sizeof(struct svn_client_proplist_item_t));
3179     DATA_PTR(self) = result;
3180 
3181 
3182 
3183   }
3184   return self;
3185 fail:
3186   return Qnil;
3187 }
3188 
3189 
3190 SWIGINTERN void
free_svn_client_proplist_item_t(void * self)3191 free_svn_client_proplist_item_t(void *self) {
3192     struct svn_client_proplist_item_t *arg1 = (struct svn_client_proplist_item_t *)self;
3193     free((char *) arg1);
3194 }
3195 
3196 SWIGINTERN VALUE
_wrap_svn_client_proplist_item_dup(int argc,VALUE * argv,VALUE self)3197 _wrap_svn_client_proplist_item_dup(int argc, VALUE *argv, VALUE self) {
3198   svn_client_proplist_item_t *arg1 = (svn_client_proplist_item_t *) 0 ;
3199   apr_pool_t *arg2 = (apr_pool_t *) 0 ;
3200   VALUE _global_svn_swig_rb_pool ;
3201   apr_pool_t *_global_pool ;
3202   void *argp1 = 0 ;
3203   int res1 = 0 ;
3204   svn_client_proplist_item_t *result = 0 ;
3205   VALUE vresult = Qnil;
3206 
3207   {
3208     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2);
3209     _global_pool = arg2;
3210     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
3211   }
3212   if ((argc < 1) || (argc > 2)) {
3213     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3214   }
3215   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_proplist_item_t, 0 |  0 );
3216   if (!SWIG_IsOK(res1)) {
3217     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_proplist_item_t const *","svn_client_proplist_item_dup", 1, argv[0] ));
3218   }
3219   arg1 = (svn_client_proplist_item_t *)(argp1);
3220   if (argc > 1) {
3221 
3222   }
3223   {
3224     result = (svn_client_proplist_item_t *)svn_client_proplist_item_dup((struct svn_client_proplist_item_t const *)arg1,arg2);
3225 
3226 
3227 
3228   }
3229   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_client_proplist_item_t, 0 |  0 );
3230   {
3231     VALUE target;
3232     target = _global_vresult_address == &vresult ? self : vresult;
3233     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
3234     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
3235     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
3236   }
3237   return vresult;
3238 fail:
3239   {
3240     VALUE target;
3241     target = _global_vresult_address == &vresult ? self : vresult;
3242     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
3243     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
3244     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
3245   }
3246   return Qnil;
3247 }
3248 
3249 
3250 static swig_class SwigClassSvn_client_commit_info_t;
3251 
3252 SWIGINTERN VALUE
_wrap_svn_client_commit_info_t_revision_set(int argc,VALUE * argv,VALUE self)3253 _wrap_svn_client_commit_info_t_revision_set(int argc, VALUE *argv, VALUE self) {
3254   struct svn_client_commit_info_t *arg1 = (struct svn_client_commit_info_t *) 0 ;
3255   svn_revnum_t arg2 ;
3256   void *argp1 = 0 ;
3257   int res1 = 0 ;
3258   long val2 ;
3259   int ecode2 = 0 ;
3260 
3261   if ((argc < 1) || (argc > 1)) {
3262     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3263   }
3264   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_info_t, 0 |  0 );
3265   if (!SWIG_IsOK(res1)) {
3266     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_info_t *","revision", 1, self ));
3267   }
3268   arg1 = (struct svn_client_commit_info_t *)(argp1);
3269   ecode2 = SWIG_AsVal_long(argv[0], &val2);
3270   if (!SWIG_IsOK(ecode2)) {
3271     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","revision", 2, argv[0] ));
3272   }
3273   arg2 = (svn_revnum_t)(val2);
3274   if (arg1) (arg1)->revision = arg2;
3275   return Qnil;
3276 fail:
3277   return Qnil;
3278 }
3279 
3280 
3281 SWIGINTERN VALUE
_wrap_svn_client_commit_info_t_revision_get(int argc,VALUE * argv,VALUE self)3282 _wrap_svn_client_commit_info_t_revision_get(int argc, VALUE *argv, VALUE self) {
3283   struct svn_client_commit_info_t *arg1 = (struct svn_client_commit_info_t *) 0 ;
3284   void *argp1 = 0 ;
3285   int res1 = 0 ;
3286   svn_revnum_t result;
3287   VALUE vresult = Qnil;
3288 
3289   if ((argc < 0) || (argc > 0)) {
3290     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3291   }
3292   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_info_t, 0 |  0 );
3293   if (!SWIG_IsOK(res1)) {
3294     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_info_t *","revision", 1, self ));
3295   }
3296   arg1 = (struct svn_client_commit_info_t *)(argp1);
3297   result = (svn_revnum_t) ((arg1)->revision);
3298   vresult = SWIG_From_long((long)(result));
3299   return vresult;
3300 fail:
3301   return Qnil;
3302 }
3303 
3304 
3305 SWIGINTERN VALUE
_wrap_svn_client_commit_info_t_date_set(int argc,VALUE * argv,VALUE self)3306 _wrap_svn_client_commit_info_t_date_set(int argc, VALUE *argv, VALUE self) {
3307   struct svn_client_commit_info_t *arg1 = (struct svn_client_commit_info_t *) 0 ;
3308   char *arg2 = (char *) 0 ;
3309   void *argp1 = 0 ;
3310   int res1 = 0 ;
3311   int res2 ;
3312   char *buf2 = 0 ;
3313   int alloc2 = 0 ;
3314 
3315   if ((argc < 1) || (argc > 1)) {
3316     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3317   }
3318   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_info_t, 0 |  0 );
3319   if (!SWIG_IsOK(res1)) {
3320     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_info_t *","date", 1, self ));
3321   }
3322   arg1 = (struct svn_client_commit_info_t *)(argp1);
3323   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
3324   if (!SWIG_IsOK(res2)) {
3325     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","date", 2, argv[0] ));
3326   }
3327   arg2 = (char *)(buf2);
3328   {
3329     apr_size_t len = strlen(arg2) + 1;
3330     char *copied;
3331     if (arg1->date) free((char *)arg1->date);
3332     copied = malloc(len);
3333     memcpy(copied, arg2, len);
3334     arg1->date = copied;
3335   }
3336   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
3337   return Qnil;
3338 fail:
3339   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
3340   return Qnil;
3341 }
3342 
3343 
3344 SWIGINTERN VALUE
_wrap_svn_client_commit_info_t_date_get(int argc,VALUE * argv,VALUE self)3345 _wrap_svn_client_commit_info_t_date_get(int argc, VALUE *argv, VALUE self) {
3346   struct svn_client_commit_info_t *arg1 = (struct svn_client_commit_info_t *) 0 ;
3347   void *argp1 = 0 ;
3348   int res1 = 0 ;
3349   char *result = 0 ;
3350   VALUE vresult = Qnil;
3351 
3352   if ((argc < 0) || (argc > 0)) {
3353     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3354   }
3355   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_info_t, 0 |  0 );
3356   if (!SWIG_IsOK(res1)) {
3357     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_info_t *","date", 1, self ));
3358   }
3359   arg1 = (struct svn_client_commit_info_t *)(argp1);
3360   result = (char *) ((arg1)->date);
3361   {
3362     if (result) {
3363       vresult = rb_str_new2(result);
3364     } else {
3365       vresult = Qnil;
3366     }
3367   }
3368   return vresult;
3369 fail:
3370   return Qnil;
3371 }
3372 
3373 
3374 SWIGINTERN VALUE
_wrap_svn_client_commit_info_t_author_set(int argc,VALUE * argv,VALUE self)3375 _wrap_svn_client_commit_info_t_author_set(int argc, VALUE *argv, VALUE self) {
3376   struct svn_client_commit_info_t *arg1 = (struct svn_client_commit_info_t *) 0 ;
3377   char *arg2 = (char *) 0 ;
3378   void *argp1 = 0 ;
3379   int res1 = 0 ;
3380   int res2 ;
3381   char *buf2 = 0 ;
3382   int alloc2 = 0 ;
3383 
3384   if ((argc < 1) || (argc > 1)) {
3385     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3386   }
3387   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_info_t, 0 |  0 );
3388   if (!SWIG_IsOK(res1)) {
3389     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_info_t *","author", 1, self ));
3390   }
3391   arg1 = (struct svn_client_commit_info_t *)(argp1);
3392   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
3393   if (!SWIG_IsOK(res2)) {
3394     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","author", 2, argv[0] ));
3395   }
3396   arg2 = (char *)(buf2);
3397   {
3398     apr_size_t len = strlen(arg2) + 1;
3399     char *copied;
3400     if (arg1->author) free((char *)arg1->author);
3401     copied = malloc(len);
3402     memcpy(copied, arg2, len);
3403     arg1->author = copied;
3404   }
3405   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
3406   return Qnil;
3407 fail:
3408   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
3409   return Qnil;
3410 }
3411 
3412 
3413 SWIGINTERN VALUE
_wrap_svn_client_commit_info_t_author_get(int argc,VALUE * argv,VALUE self)3414 _wrap_svn_client_commit_info_t_author_get(int argc, VALUE *argv, VALUE self) {
3415   struct svn_client_commit_info_t *arg1 = (struct svn_client_commit_info_t *) 0 ;
3416   void *argp1 = 0 ;
3417   int res1 = 0 ;
3418   char *result = 0 ;
3419   VALUE vresult = Qnil;
3420 
3421   if ((argc < 0) || (argc > 0)) {
3422     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3423   }
3424   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_info_t, 0 |  0 );
3425   if (!SWIG_IsOK(res1)) {
3426     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_info_t *","author", 1, self ));
3427   }
3428   arg1 = (struct svn_client_commit_info_t *)(argp1);
3429   result = (char *) ((arg1)->author);
3430   {
3431     if (result) {
3432       vresult = rb_str_new2(result);
3433     } else {
3434       vresult = Qnil;
3435     }
3436   }
3437   return vresult;
3438 fail:
3439   return Qnil;
3440 }
3441 
3442 
3443 SWIGINTERN VALUE
3444 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_svn_client_commit_info_t_allocate(VALUE self)3445 _wrap_svn_client_commit_info_t_allocate(VALUE self)
3446 #else
3447 _wrap_svn_client_commit_info_t_allocate(int argc, VALUE *argv, VALUE self)
3448 #endif
3449 {
3450   VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_client_commit_info_t);
3451 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
3452   rb_obj_call_init(vresult, argc, argv);
3453 #endif
3454   return vresult;
3455 }
3456 
3457 
3458 SWIGINTERN VALUE
_wrap_new_svn_client_commit_info_t(int argc,VALUE * argv,VALUE self)3459 _wrap_new_svn_client_commit_info_t(int argc, VALUE *argv, VALUE self) {
3460   struct svn_client_commit_info_t *result = 0 ;
3461 
3462   if ((argc < 0) || (argc > 0)) {
3463     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3464   }
3465   {
3466     result = (struct svn_client_commit_info_t *)calloc(1, sizeof(struct svn_client_commit_info_t));
3467     DATA_PTR(self) = result;
3468 
3469 
3470 
3471   }
3472   return self;
3473 fail:
3474   return Qnil;
3475 }
3476 
3477 
3478 SWIGINTERN void
free_svn_client_commit_info_t(void * self)3479 free_svn_client_commit_info_t(void *self) {
3480     struct svn_client_commit_info_t *arg1 = (struct svn_client_commit_info_t *)self;
3481     free((char *) arg1);
3482 }
3483 
3484 static swig_class SwigClassSvn_client_commit_item3_t;
3485 
3486 SWIGINTERN VALUE
_wrap_svn_client_commit_item3_t_path_set(int argc,VALUE * argv,VALUE self)3487 _wrap_svn_client_commit_item3_t_path_set(int argc, VALUE *argv, VALUE self) {
3488   struct svn_client_commit_item3_t *arg1 = (struct svn_client_commit_item3_t *) 0 ;
3489   char *arg2 = (char *) 0 ;
3490   void *argp1 = 0 ;
3491   int res1 = 0 ;
3492   int res2 ;
3493   char *buf2 = 0 ;
3494   int alloc2 = 0 ;
3495 
3496   if ((argc < 1) || (argc > 1)) {
3497     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3498   }
3499   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
3500   if (!SWIG_IsOK(res1)) {
3501     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item3_t *","path", 1, self ));
3502   }
3503   arg1 = (struct svn_client_commit_item3_t *)(argp1);
3504   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
3505   if (!SWIG_IsOK(res2)) {
3506     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","path", 2, argv[0] ));
3507   }
3508   arg2 = (char *)(buf2);
3509   {
3510     apr_size_t len = strlen(arg2) + 1;
3511     char *copied;
3512     if (arg1->path) free((char *)arg1->path);
3513     copied = malloc(len);
3514     memcpy(copied, arg2, len);
3515     arg1->path = copied;
3516   }
3517   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
3518   return Qnil;
3519 fail:
3520   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
3521   return Qnil;
3522 }
3523 
3524 
3525 SWIGINTERN VALUE
_wrap_svn_client_commit_item3_t_path_get(int argc,VALUE * argv,VALUE self)3526 _wrap_svn_client_commit_item3_t_path_get(int argc, VALUE *argv, VALUE self) {
3527   struct svn_client_commit_item3_t *arg1 = (struct svn_client_commit_item3_t *) 0 ;
3528   void *argp1 = 0 ;
3529   int res1 = 0 ;
3530   char *result = 0 ;
3531   VALUE vresult = Qnil;
3532 
3533   if ((argc < 0) || (argc > 0)) {
3534     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3535   }
3536   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
3537   if (!SWIG_IsOK(res1)) {
3538     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item3_t *","path", 1, self ));
3539   }
3540   arg1 = (struct svn_client_commit_item3_t *)(argp1);
3541   result = (char *) ((arg1)->path);
3542   {
3543     if (result) {
3544       vresult = rb_str_new2(result);
3545     } else {
3546       vresult = Qnil;
3547     }
3548   }
3549   return vresult;
3550 fail:
3551   return Qnil;
3552 }
3553 
3554 
3555 SWIGINTERN VALUE
_wrap_svn_client_commit_item3_t_kind_set(int argc,VALUE * argv,VALUE self)3556 _wrap_svn_client_commit_item3_t_kind_set(int argc, VALUE *argv, VALUE self) {
3557   struct svn_client_commit_item3_t *arg1 = (struct svn_client_commit_item3_t *) 0 ;
3558   svn_node_kind_t arg2 ;
3559   void *argp1 = 0 ;
3560   int res1 = 0 ;
3561   int val2 ;
3562   int ecode2 = 0 ;
3563 
3564   if ((argc < 1) || (argc > 1)) {
3565     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3566   }
3567   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
3568   if (!SWIG_IsOK(res1)) {
3569     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item3_t *","kind", 1, self ));
3570   }
3571   arg1 = (struct svn_client_commit_item3_t *)(argp1);
3572   ecode2 = SWIG_AsVal_int(argv[0], &val2);
3573   if (!SWIG_IsOK(ecode2)) {
3574     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_node_kind_t","kind", 2, argv[0] ));
3575   }
3576   arg2 = (svn_node_kind_t)(val2);
3577   if (arg1) (arg1)->kind = arg2;
3578   return Qnil;
3579 fail:
3580   return Qnil;
3581 }
3582 
3583 
3584 SWIGINTERN VALUE
_wrap_svn_client_commit_item3_t_kind_get(int argc,VALUE * argv,VALUE self)3585 _wrap_svn_client_commit_item3_t_kind_get(int argc, VALUE *argv, VALUE self) {
3586   struct svn_client_commit_item3_t *arg1 = (struct svn_client_commit_item3_t *) 0 ;
3587   void *argp1 = 0 ;
3588   int res1 = 0 ;
3589   svn_node_kind_t result;
3590   VALUE vresult = Qnil;
3591 
3592   if ((argc < 0) || (argc > 0)) {
3593     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3594   }
3595   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
3596   if (!SWIG_IsOK(res1)) {
3597     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item3_t *","kind", 1, self ));
3598   }
3599   arg1 = (struct svn_client_commit_item3_t *)(argp1);
3600   result = (svn_node_kind_t) ((arg1)->kind);
3601   vresult = SWIG_From_int((int)(result));
3602   return vresult;
3603 fail:
3604   return Qnil;
3605 }
3606 
3607 
3608 SWIGINTERN VALUE
_wrap_svn_client_commit_item3_t_url_set(int argc,VALUE * argv,VALUE self)3609 _wrap_svn_client_commit_item3_t_url_set(int argc, VALUE *argv, VALUE self) {
3610   struct svn_client_commit_item3_t *arg1 = (struct svn_client_commit_item3_t *) 0 ;
3611   char *arg2 = (char *) 0 ;
3612   void *argp1 = 0 ;
3613   int res1 = 0 ;
3614   int res2 ;
3615   char *buf2 = 0 ;
3616   int alloc2 = 0 ;
3617 
3618   if ((argc < 1) || (argc > 1)) {
3619     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3620   }
3621   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
3622   if (!SWIG_IsOK(res1)) {
3623     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item3_t *","url", 1, self ));
3624   }
3625   arg1 = (struct svn_client_commit_item3_t *)(argp1);
3626   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
3627   if (!SWIG_IsOK(res2)) {
3628     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","url", 2, argv[0] ));
3629   }
3630   arg2 = (char *)(buf2);
3631   {
3632     apr_size_t len = strlen(arg2) + 1;
3633     char *copied;
3634     if (arg1->url) free((char *)arg1->url);
3635     copied = malloc(len);
3636     memcpy(copied, arg2, len);
3637     arg1->url = copied;
3638   }
3639   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
3640   return Qnil;
3641 fail:
3642   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
3643   return Qnil;
3644 }
3645 
3646 
3647 SWIGINTERN VALUE
_wrap_svn_client_commit_item3_t_url_get(int argc,VALUE * argv,VALUE self)3648 _wrap_svn_client_commit_item3_t_url_get(int argc, VALUE *argv, VALUE self) {
3649   struct svn_client_commit_item3_t *arg1 = (struct svn_client_commit_item3_t *) 0 ;
3650   void *argp1 = 0 ;
3651   int res1 = 0 ;
3652   char *result = 0 ;
3653   VALUE vresult = Qnil;
3654 
3655   if ((argc < 0) || (argc > 0)) {
3656     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3657   }
3658   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
3659   if (!SWIG_IsOK(res1)) {
3660     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item3_t *","url", 1, self ));
3661   }
3662   arg1 = (struct svn_client_commit_item3_t *)(argp1);
3663   result = (char *) ((arg1)->url);
3664   {
3665     if (result) {
3666       vresult = rb_str_new2(result);
3667     } else {
3668       vresult = Qnil;
3669     }
3670   }
3671   return vresult;
3672 fail:
3673   return Qnil;
3674 }
3675 
3676 
3677 SWIGINTERN VALUE
_wrap_svn_client_commit_item3_t_revision_set(int argc,VALUE * argv,VALUE self)3678 _wrap_svn_client_commit_item3_t_revision_set(int argc, VALUE *argv, VALUE self) {
3679   struct svn_client_commit_item3_t *arg1 = (struct svn_client_commit_item3_t *) 0 ;
3680   svn_revnum_t arg2 ;
3681   void *argp1 = 0 ;
3682   int res1 = 0 ;
3683   long val2 ;
3684   int ecode2 = 0 ;
3685 
3686   if ((argc < 1) || (argc > 1)) {
3687     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3688   }
3689   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
3690   if (!SWIG_IsOK(res1)) {
3691     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item3_t *","revision", 1, self ));
3692   }
3693   arg1 = (struct svn_client_commit_item3_t *)(argp1);
3694   ecode2 = SWIG_AsVal_long(argv[0], &val2);
3695   if (!SWIG_IsOK(ecode2)) {
3696     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","revision", 2, argv[0] ));
3697   }
3698   arg2 = (svn_revnum_t)(val2);
3699   if (arg1) (arg1)->revision = arg2;
3700   return Qnil;
3701 fail:
3702   return Qnil;
3703 }
3704 
3705 
3706 SWIGINTERN VALUE
_wrap_svn_client_commit_item3_t_revision_get(int argc,VALUE * argv,VALUE self)3707 _wrap_svn_client_commit_item3_t_revision_get(int argc, VALUE *argv, VALUE self) {
3708   struct svn_client_commit_item3_t *arg1 = (struct svn_client_commit_item3_t *) 0 ;
3709   void *argp1 = 0 ;
3710   int res1 = 0 ;
3711   svn_revnum_t result;
3712   VALUE vresult = Qnil;
3713 
3714   if ((argc < 0) || (argc > 0)) {
3715     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3716   }
3717   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
3718   if (!SWIG_IsOK(res1)) {
3719     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item3_t *","revision", 1, self ));
3720   }
3721   arg1 = (struct svn_client_commit_item3_t *)(argp1);
3722   result = (svn_revnum_t) ((arg1)->revision);
3723   vresult = SWIG_From_long((long)(result));
3724   return vresult;
3725 fail:
3726   return Qnil;
3727 }
3728 
3729 
3730 SWIGINTERN VALUE
_wrap_svn_client_commit_item3_t_copyfrom_url_set(int argc,VALUE * argv,VALUE self)3731 _wrap_svn_client_commit_item3_t_copyfrom_url_set(int argc, VALUE *argv, VALUE self) {
3732   struct svn_client_commit_item3_t *arg1 = (struct svn_client_commit_item3_t *) 0 ;
3733   char *arg2 = (char *) 0 ;
3734   void *argp1 = 0 ;
3735   int res1 = 0 ;
3736 
3737   if ((argc < 1) || (argc > 1)) {
3738     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3739   }
3740   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
3741   if (!SWIG_IsOK(res1)) {
3742     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item3_t *","copyfrom_url", 1, self ));
3743   }
3744   arg1 = (struct svn_client_commit_item3_t *)(argp1);
3745   {
3746     if (NIL_P(argv[0])) {
3747       arg2 = NULL;
3748     } else {
3749       arg2 = StringValuePtr(argv[0]);
3750     }
3751   }
3752   {
3753     apr_size_t len = strlen(arg2) + 1;
3754     char *copied;
3755     if (arg1->copyfrom_url) free((char *)arg1->copyfrom_url);
3756     copied = malloc(len);
3757     memcpy(copied, arg2, len);
3758     arg1->copyfrom_url = copied;
3759   }
3760   return Qnil;
3761 fail:
3762   return Qnil;
3763 }
3764 
3765 
3766 SWIGINTERN VALUE
_wrap_svn_client_commit_item3_t_copyfrom_url_get(int argc,VALUE * argv,VALUE self)3767 _wrap_svn_client_commit_item3_t_copyfrom_url_get(int argc, VALUE *argv, VALUE self) {
3768   struct svn_client_commit_item3_t *arg1 = (struct svn_client_commit_item3_t *) 0 ;
3769   void *argp1 = 0 ;
3770   int res1 = 0 ;
3771   char *result = 0 ;
3772   VALUE vresult = Qnil;
3773 
3774   if ((argc < 0) || (argc > 0)) {
3775     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3776   }
3777   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
3778   if (!SWIG_IsOK(res1)) {
3779     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item3_t *","copyfrom_url", 1, self ));
3780   }
3781   arg1 = (struct svn_client_commit_item3_t *)(argp1);
3782   result = (char *) ((arg1)->copyfrom_url);
3783   {
3784     if (result) {
3785       vresult = rb_str_new2(result);
3786     } else {
3787       vresult = Qnil;
3788     }
3789   }
3790   return vresult;
3791 fail:
3792   return Qnil;
3793 }
3794 
3795 
3796 SWIGINTERN VALUE
_wrap_svn_client_commit_item3_t_copyfrom_rev_set(int argc,VALUE * argv,VALUE self)3797 _wrap_svn_client_commit_item3_t_copyfrom_rev_set(int argc, VALUE *argv, VALUE self) {
3798   struct svn_client_commit_item3_t *arg1 = (struct svn_client_commit_item3_t *) 0 ;
3799   svn_revnum_t arg2 ;
3800   void *argp1 = 0 ;
3801   int res1 = 0 ;
3802   long val2 ;
3803   int ecode2 = 0 ;
3804 
3805   if ((argc < 1) || (argc > 1)) {
3806     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3807   }
3808   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
3809   if (!SWIG_IsOK(res1)) {
3810     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item3_t *","copyfrom_rev", 1, self ));
3811   }
3812   arg1 = (struct svn_client_commit_item3_t *)(argp1);
3813   ecode2 = SWIG_AsVal_long(argv[0], &val2);
3814   if (!SWIG_IsOK(ecode2)) {
3815     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","copyfrom_rev", 2, argv[0] ));
3816   }
3817   arg2 = (svn_revnum_t)(val2);
3818   if (arg1) (arg1)->copyfrom_rev = arg2;
3819   return Qnil;
3820 fail:
3821   return Qnil;
3822 }
3823 
3824 
3825 SWIGINTERN VALUE
_wrap_svn_client_commit_item3_t_copyfrom_rev_get(int argc,VALUE * argv,VALUE self)3826 _wrap_svn_client_commit_item3_t_copyfrom_rev_get(int argc, VALUE *argv, VALUE self) {
3827   struct svn_client_commit_item3_t *arg1 = (struct svn_client_commit_item3_t *) 0 ;
3828   void *argp1 = 0 ;
3829   int res1 = 0 ;
3830   svn_revnum_t result;
3831   VALUE vresult = Qnil;
3832 
3833   if ((argc < 0) || (argc > 0)) {
3834     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3835   }
3836   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
3837   if (!SWIG_IsOK(res1)) {
3838     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item3_t *","copyfrom_rev", 1, self ));
3839   }
3840   arg1 = (struct svn_client_commit_item3_t *)(argp1);
3841   result = (svn_revnum_t) ((arg1)->copyfrom_rev);
3842   vresult = SWIG_From_long((long)(result));
3843   return vresult;
3844 fail:
3845   return Qnil;
3846 }
3847 
3848 
3849 SWIGINTERN VALUE
_wrap_svn_client_commit_item3_t_state_flags_set(int argc,VALUE * argv,VALUE self)3850 _wrap_svn_client_commit_item3_t_state_flags_set(int argc, VALUE *argv, VALUE self) {
3851   struct svn_client_commit_item3_t *arg1 = (struct svn_client_commit_item3_t *) 0 ;
3852   apr_byte_t arg2 ;
3853   void *argp1 = 0 ;
3854   int res1 = 0 ;
3855   unsigned long val2 ;
3856   int ecode2 = 0 ;
3857 
3858   if ((argc < 1) || (argc > 1)) {
3859     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3860   }
3861   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
3862   if (!SWIG_IsOK(res1)) {
3863     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item3_t *","state_flags", 1, self ));
3864   }
3865   arg1 = (struct svn_client_commit_item3_t *)(argp1);
3866   ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
3867   if (!SWIG_IsOK(ecode2)) {
3868     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "apr_byte_t","state_flags", 2, argv[0] ));
3869   }
3870   arg2 = (apr_byte_t)(val2);
3871   if (arg1) (arg1)->state_flags = arg2;
3872   return Qnil;
3873 fail:
3874   return Qnil;
3875 }
3876 
3877 
3878 SWIGINTERN VALUE
_wrap_svn_client_commit_item3_t_state_flags_get(int argc,VALUE * argv,VALUE self)3879 _wrap_svn_client_commit_item3_t_state_flags_get(int argc, VALUE *argv, VALUE self) {
3880   struct svn_client_commit_item3_t *arg1 = (struct svn_client_commit_item3_t *) 0 ;
3881   void *argp1 = 0 ;
3882   int res1 = 0 ;
3883   apr_byte_t result;
3884   VALUE vresult = Qnil;
3885 
3886   if ((argc < 0) || (argc > 0)) {
3887     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3888   }
3889   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
3890   if (!SWIG_IsOK(res1)) {
3891     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item3_t *","state_flags", 1, self ));
3892   }
3893   arg1 = (struct svn_client_commit_item3_t *)(argp1);
3894   result =  ((arg1)->state_flags);
3895   vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
3896   return vresult;
3897 fail:
3898   return Qnil;
3899 }
3900 
3901 
3902 SWIGINTERN VALUE
_wrap_svn_client_commit_item3_t_incoming_prop_changes_set(int argc,VALUE * argv,VALUE self)3903 _wrap_svn_client_commit_item3_t_incoming_prop_changes_set(int argc, VALUE *argv, VALUE self) {
3904   struct svn_client_commit_item3_t *arg1 = (struct svn_client_commit_item3_t *) 0 ;
3905   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
3906   void *argp1 = 0 ;
3907   int res1 = 0 ;
3908 
3909   if ((argc < 1) || (argc > 1)) {
3910     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3911   }
3912   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
3913   if (!SWIG_IsOK(res1)) {
3914     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item3_t *","incoming_prop_changes", 1, self ));
3915   }
3916   arg1 = (struct svn_client_commit_item3_t *)(argp1);
3917   {
3918     if (NIL_P(argv[0])) {
3919       arg2 = NULL;
3920     } else {
3921       VALUE rb_pool;
3922       apr_pool_t *pool;
3923 
3924       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &pool);
3925       arg2 = svn_swig_rb_to_apr_array_prop(argv[0], pool);
3926     }
3927   }
3928   if (arg1) (arg1)->incoming_prop_changes = arg2;
3929   return Qnil;
3930 fail:
3931   return Qnil;
3932 }
3933 
3934 
3935 SWIGINTERN VALUE
_wrap_svn_client_commit_item3_t_incoming_prop_changes_get(int argc,VALUE * argv,VALUE self)3936 _wrap_svn_client_commit_item3_t_incoming_prop_changes_get(int argc, VALUE *argv, VALUE self) {
3937   struct svn_client_commit_item3_t *arg1 = (struct svn_client_commit_item3_t *) 0 ;
3938   void *argp1 = 0 ;
3939   int res1 = 0 ;
3940   apr_array_header_t *result = 0 ;
3941   VALUE vresult = Qnil;
3942 
3943   if ((argc < 0) || (argc > 0)) {
3944     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3945   }
3946   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
3947   if (!SWIG_IsOK(res1)) {
3948     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item3_t *","incoming_prop_changes", 1, self ));
3949   }
3950   arg1 = (struct svn_client_commit_item3_t *)(argp1);
3951   result = (apr_array_header_t *) ((arg1)->incoming_prop_changes);
3952   {
3953     vresult = SWIG_Ruby_AppendOutput(vresult, result ? svn_swig_rb_prop_apr_array_to_hash_prop(result) : Qnil);
3954   }
3955   return vresult;
3956 fail:
3957   return Qnil;
3958 }
3959 
3960 
3961 SWIGINTERN VALUE
_wrap_svn_client_commit_item3_t_outgoing_prop_changes_set(int argc,VALUE * argv,VALUE self)3962 _wrap_svn_client_commit_item3_t_outgoing_prop_changes_set(int argc, VALUE *argv, VALUE self) {
3963   struct svn_client_commit_item3_t *arg1 = (struct svn_client_commit_item3_t *) 0 ;
3964   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
3965   void *argp1 = 0 ;
3966   int res1 = 0 ;
3967 
3968   if ((argc < 1) || (argc > 1)) {
3969     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3970   }
3971   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
3972   if (!SWIG_IsOK(res1)) {
3973     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item3_t *","outgoing_prop_changes", 1, self ));
3974   }
3975   arg1 = (struct svn_client_commit_item3_t *)(argp1);
3976   {
3977     if (NIL_P(argv[0])) {
3978       arg2 = NULL;
3979     } else {
3980       VALUE rb_pool;
3981       apr_pool_t *pool;
3982 
3983       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &pool);
3984       arg2 = svn_swig_rb_to_apr_array_prop(argv[0], pool);
3985     }
3986   }
3987   if (arg1) (arg1)->outgoing_prop_changes = arg2;
3988   return Qnil;
3989 fail:
3990   return Qnil;
3991 }
3992 
3993 
3994 SWIGINTERN VALUE
_wrap_svn_client_commit_item3_t_outgoing_prop_changes_get(int argc,VALUE * argv,VALUE self)3995 _wrap_svn_client_commit_item3_t_outgoing_prop_changes_get(int argc, VALUE *argv, VALUE self) {
3996   struct svn_client_commit_item3_t *arg1 = (struct svn_client_commit_item3_t *) 0 ;
3997   void *argp1 = 0 ;
3998   int res1 = 0 ;
3999   apr_array_header_t *result = 0 ;
4000   VALUE vresult = Qnil;
4001 
4002   if ((argc < 0) || (argc > 0)) {
4003     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4004   }
4005   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
4006   if (!SWIG_IsOK(res1)) {
4007     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item3_t *","outgoing_prop_changes", 1, self ));
4008   }
4009   arg1 = (struct svn_client_commit_item3_t *)(argp1);
4010   result = (apr_array_header_t *) ((arg1)->outgoing_prop_changes);
4011   {
4012     vresult = SWIG_Ruby_AppendOutput(vresult, result ? svn_swig_rb_prop_apr_array_to_hash_prop(result) : Qnil);
4013   }
4014   return vresult;
4015 fail:
4016   return Qnil;
4017 }
4018 
4019 
4020 SWIGINTERN VALUE
_wrap_svn_client_commit_item3_t_session_relpath_set(int argc,VALUE * argv,VALUE self)4021 _wrap_svn_client_commit_item3_t_session_relpath_set(int argc, VALUE *argv, VALUE self) {
4022   struct svn_client_commit_item3_t *arg1 = (struct svn_client_commit_item3_t *) 0 ;
4023   char *arg2 = (char *) 0 ;
4024   void *argp1 = 0 ;
4025   int res1 = 0 ;
4026   int res2 ;
4027   char *buf2 = 0 ;
4028   int alloc2 = 0 ;
4029 
4030   if ((argc < 1) || (argc > 1)) {
4031     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4032   }
4033   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
4034   if (!SWIG_IsOK(res1)) {
4035     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item3_t *","session_relpath", 1, self ));
4036   }
4037   arg1 = (struct svn_client_commit_item3_t *)(argp1);
4038   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
4039   if (!SWIG_IsOK(res2)) {
4040     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","session_relpath", 2, argv[0] ));
4041   }
4042   arg2 = (char *)(buf2);
4043   {
4044     apr_size_t len = strlen(arg2) + 1;
4045     char *copied;
4046     if (arg1->session_relpath) free((char *)arg1->session_relpath);
4047     copied = malloc(len);
4048     memcpy(copied, arg2, len);
4049     arg1->session_relpath = copied;
4050   }
4051   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
4052   return Qnil;
4053 fail:
4054   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
4055   return Qnil;
4056 }
4057 
4058 
4059 SWIGINTERN VALUE
_wrap_svn_client_commit_item3_t_session_relpath_get(int argc,VALUE * argv,VALUE self)4060 _wrap_svn_client_commit_item3_t_session_relpath_get(int argc, VALUE *argv, VALUE self) {
4061   struct svn_client_commit_item3_t *arg1 = (struct svn_client_commit_item3_t *) 0 ;
4062   void *argp1 = 0 ;
4063   int res1 = 0 ;
4064   char *result = 0 ;
4065   VALUE vresult = Qnil;
4066 
4067   if ((argc < 0) || (argc > 0)) {
4068     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4069   }
4070   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
4071   if (!SWIG_IsOK(res1)) {
4072     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item3_t *","session_relpath", 1, self ));
4073   }
4074   arg1 = (struct svn_client_commit_item3_t *)(argp1);
4075   result = (char *) ((arg1)->session_relpath);
4076   {
4077     if (result) {
4078       vresult = rb_str_new2(result);
4079     } else {
4080       vresult = Qnil;
4081     }
4082   }
4083   return vresult;
4084 fail:
4085   return Qnil;
4086 }
4087 
4088 
4089 SWIGINTERN VALUE
_wrap_svn_client_commit_item3_t_moved_from_abspath_set(int argc,VALUE * argv,VALUE self)4090 _wrap_svn_client_commit_item3_t_moved_from_abspath_set(int argc, VALUE *argv, VALUE self) {
4091   struct svn_client_commit_item3_t *arg1 = (struct svn_client_commit_item3_t *) 0 ;
4092   char *arg2 = (char *) 0 ;
4093   void *argp1 = 0 ;
4094   int res1 = 0 ;
4095   int res2 ;
4096   char *buf2 = 0 ;
4097   int alloc2 = 0 ;
4098 
4099   if ((argc < 1) || (argc > 1)) {
4100     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4101   }
4102   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
4103   if (!SWIG_IsOK(res1)) {
4104     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item3_t *","moved_from_abspath", 1, self ));
4105   }
4106   arg1 = (struct svn_client_commit_item3_t *)(argp1);
4107   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
4108   if (!SWIG_IsOK(res2)) {
4109     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","moved_from_abspath", 2, argv[0] ));
4110   }
4111   arg2 = (char *)(buf2);
4112   {
4113     apr_size_t len = strlen(arg2) + 1;
4114     char *copied;
4115     if (arg1->moved_from_abspath) free((char *)arg1->moved_from_abspath);
4116     copied = malloc(len);
4117     memcpy(copied, arg2, len);
4118     arg1->moved_from_abspath = copied;
4119   }
4120   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
4121   return Qnil;
4122 fail:
4123   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
4124   return Qnil;
4125 }
4126 
4127 
4128 SWIGINTERN VALUE
_wrap_svn_client_commit_item3_t_moved_from_abspath_get(int argc,VALUE * argv,VALUE self)4129 _wrap_svn_client_commit_item3_t_moved_from_abspath_get(int argc, VALUE *argv, VALUE self) {
4130   struct svn_client_commit_item3_t *arg1 = (struct svn_client_commit_item3_t *) 0 ;
4131   void *argp1 = 0 ;
4132   int res1 = 0 ;
4133   char *result = 0 ;
4134   VALUE vresult = Qnil;
4135 
4136   if ((argc < 0) || (argc > 0)) {
4137     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4138   }
4139   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
4140   if (!SWIG_IsOK(res1)) {
4141     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item3_t *","moved_from_abspath", 1, self ));
4142   }
4143   arg1 = (struct svn_client_commit_item3_t *)(argp1);
4144   result = (char *) ((arg1)->moved_from_abspath);
4145   {
4146     if (result) {
4147       vresult = rb_str_new2(result);
4148     } else {
4149       vresult = Qnil;
4150     }
4151   }
4152   return vresult;
4153 fail:
4154   return Qnil;
4155 }
4156 
4157 
4158 SWIGINTERN VALUE
4159 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_svn_client_commit_item3_t_allocate(VALUE self)4160 _wrap_svn_client_commit_item3_t_allocate(VALUE self)
4161 #else
4162 _wrap_svn_client_commit_item3_t_allocate(int argc, VALUE *argv, VALUE self)
4163 #endif
4164 {
4165   VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_client_commit_item3_t);
4166 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
4167   rb_obj_call_init(vresult, argc, argv);
4168 #endif
4169   return vresult;
4170 }
4171 
4172 
4173 SWIGINTERN VALUE
_wrap_new_svn_client_commit_item3_t(int argc,VALUE * argv,VALUE self)4174 _wrap_new_svn_client_commit_item3_t(int argc, VALUE *argv, VALUE self) {
4175   apr_pool_t *arg1 = (apr_pool_t *) 0 ;
4176   VALUE _global_svn_swig_rb_pool ;
4177   apr_pool_t *_global_pool ;
4178   struct svn_client_commit_item3_t *result = 0 ;
4179 
4180   {
4181     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg1);
4182     _global_pool = arg1;
4183     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
4184   }
4185   if ((argc < 0) || (argc > 1)) {
4186     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4187   }
4188   if (argc > 0) {
4189 
4190   }
4191   {
4192     result = (struct svn_client_commit_item3_t *)new_svn_client_commit_item3_t(arg1);
4193     DATA_PTR(self) = result;
4194 
4195 
4196 
4197   }
4198   {
4199     VALUE target;
4200     target = _global_vresult_address == &vresult ? self : vresult;
4201     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
4202     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
4203     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
4204   }
4205   return self;
4206 fail:
4207   {
4208     VALUE target;
4209     target = _global_vresult_address == &vresult ? self : vresult;
4210     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
4211     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
4212     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
4213   }
4214   return Qnil;
4215 }
4216 
4217 
delete_svn_client_commit_item3_t(struct svn_client_commit_item3_t * self)4218 SWIGINTERN void delete_svn_client_commit_item3_t(struct svn_client_commit_item3_t *self){
4219   }
4220 SWIGINTERN void
free_svn_client_commit_item3_t(void * self)4221 free_svn_client_commit_item3_t(void *self) {
4222     struct svn_client_commit_item3_t *arg1 = (struct svn_client_commit_item3_t *)self;
4223     delete_svn_client_commit_item3_t(arg1);
4224 }
4225 
4226 
4227 /*
4228   Document-method: Svn::Ext::Client::svn_client_commit_item3_t.dup
4229 
4230   call-seq:
4231     dup(pool) -> svn_client_commit_item3_t
4232 
4233 Create a duplicate of the class and unfreeze it if needed.
4234 */
4235 SWIGINTERN VALUE
_wrap_svn_client_commit_item3_t_dup(int argc,VALUE * argv,VALUE self)4236 _wrap_svn_client_commit_item3_t_dup(int argc, VALUE *argv, VALUE self) {
4237   struct svn_client_commit_item3_t *arg1 = (struct svn_client_commit_item3_t *) 0 ;
4238   apr_pool_t *arg2 = (apr_pool_t *) 0 ;
4239   VALUE _global_svn_swig_rb_pool ;
4240   apr_pool_t *_global_pool ;
4241   void *argp1 = 0 ;
4242   int res1 = 0 ;
4243   svn_client_commit_item3_t *result = 0 ;
4244   VALUE vresult = Qnil;
4245 
4246   {
4247     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2);
4248     _global_pool = arg2;
4249     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
4250   }
4251   if ((argc < 0) || (argc > 1)) {
4252     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4253   }
4254   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
4255   if (!SWIG_IsOK(res1)) {
4256     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item3_t *","dup", 1, self ));
4257   }
4258   arg1 = (struct svn_client_commit_item3_t *)(argp1);
4259   if (argc > 0) {
4260 
4261   }
4262   {
4263     result = (svn_client_commit_item3_t *)svn_client_commit_item3_t_dup(arg1,arg2);
4264 
4265 
4266 
4267   }
4268   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
4269   {
4270     VALUE target;
4271     target = _global_vresult_address == &vresult ? self : vresult;
4272     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
4273     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
4274     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
4275   }
4276   return vresult;
4277 fail:
4278   {
4279     VALUE target;
4280     target = _global_vresult_address == &vresult ? self : vresult;
4281     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
4282     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
4283     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
4284   }
4285   return Qnil;
4286 }
4287 
4288 
4289 static swig_class SwigClassSvn_client_commit_item2_t;
4290 
4291 SWIGINTERN VALUE
_wrap_svn_client_commit_item2_t_path_set(int argc,VALUE * argv,VALUE self)4292 _wrap_svn_client_commit_item2_t_path_set(int argc, VALUE *argv, VALUE self) {
4293   struct svn_client_commit_item2_t *arg1 = (struct svn_client_commit_item2_t *) 0 ;
4294   char *arg2 = (char *) 0 ;
4295   void *argp1 = 0 ;
4296   int res1 = 0 ;
4297   int res2 ;
4298   char *buf2 = 0 ;
4299   int alloc2 = 0 ;
4300 
4301   if ((argc < 1) || (argc > 1)) {
4302     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4303   }
4304   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item2_t, 0 |  0 );
4305   if (!SWIG_IsOK(res1)) {
4306     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item2_t *","path", 1, self ));
4307   }
4308   arg1 = (struct svn_client_commit_item2_t *)(argp1);
4309   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
4310   if (!SWIG_IsOK(res2)) {
4311     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","path", 2, argv[0] ));
4312   }
4313   arg2 = (char *)(buf2);
4314   {
4315     apr_size_t len = strlen(arg2) + 1;
4316     char *copied;
4317     if (arg1->path) free((char *)arg1->path);
4318     copied = malloc(len);
4319     memcpy(copied, arg2, len);
4320     arg1->path = copied;
4321   }
4322   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
4323   return Qnil;
4324 fail:
4325   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
4326   return Qnil;
4327 }
4328 
4329 
4330 SWIGINTERN VALUE
_wrap_svn_client_commit_item2_t_path_get(int argc,VALUE * argv,VALUE self)4331 _wrap_svn_client_commit_item2_t_path_get(int argc, VALUE *argv, VALUE self) {
4332   struct svn_client_commit_item2_t *arg1 = (struct svn_client_commit_item2_t *) 0 ;
4333   void *argp1 = 0 ;
4334   int res1 = 0 ;
4335   char *result = 0 ;
4336   VALUE vresult = Qnil;
4337 
4338   if ((argc < 0) || (argc > 0)) {
4339     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4340   }
4341   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item2_t, 0 |  0 );
4342   if (!SWIG_IsOK(res1)) {
4343     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item2_t *","path", 1, self ));
4344   }
4345   arg1 = (struct svn_client_commit_item2_t *)(argp1);
4346   result = (char *) ((arg1)->path);
4347   {
4348     if (result) {
4349       vresult = rb_str_new2(result);
4350     } else {
4351       vresult = Qnil;
4352     }
4353   }
4354   return vresult;
4355 fail:
4356   return Qnil;
4357 }
4358 
4359 
4360 SWIGINTERN VALUE
_wrap_svn_client_commit_item2_t_kind_set(int argc,VALUE * argv,VALUE self)4361 _wrap_svn_client_commit_item2_t_kind_set(int argc, VALUE *argv, VALUE self) {
4362   struct svn_client_commit_item2_t *arg1 = (struct svn_client_commit_item2_t *) 0 ;
4363   svn_node_kind_t arg2 ;
4364   void *argp1 = 0 ;
4365   int res1 = 0 ;
4366   int val2 ;
4367   int ecode2 = 0 ;
4368 
4369   if ((argc < 1) || (argc > 1)) {
4370     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4371   }
4372   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item2_t, 0 |  0 );
4373   if (!SWIG_IsOK(res1)) {
4374     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item2_t *","kind", 1, self ));
4375   }
4376   arg1 = (struct svn_client_commit_item2_t *)(argp1);
4377   ecode2 = SWIG_AsVal_int(argv[0], &val2);
4378   if (!SWIG_IsOK(ecode2)) {
4379     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_node_kind_t","kind", 2, argv[0] ));
4380   }
4381   arg2 = (svn_node_kind_t)(val2);
4382   if (arg1) (arg1)->kind = arg2;
4383   return Qnil;
4384 fail:
4385   return Qnil;
4386 }
4387 
4388 
4389 SWIGINTERN VALUE
_wrap_svn_client_commit_item2_t_kind_get(int argc,VALUE * argv,VALUE self)4390 _wrap_svn_client_commit_item2_t_kind_get(int argc, VALUE *argv, VALUE self) {
4391   struct svn_client_commit_item2_t *arg1 = (struct svn_client_commit_item2_t *) 0 ;
4392   void *argp1 = 0 ;
4393   int res1 = 0 ;
4394   svn_node_kind_t result;
4395   VALUE vresult = Qnil;
4396 
4397   if ((argc < 0) || (argc > 0)) {
4398     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4399   }
4400   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item2_t, 0 |  0 );
4401   if (!SWIG_IsOK(res1)) {
4402     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item2_t *","kind", 1, self ));
4403   }
4404   arg1 = (struct svn_client_commit_item2_t *)(argp1);
4405   result = (svn_node_kind_t) ((arg1)->kind);
4406   vresult = SWIG_From_int((int)(result));
4407   return vresult;
4408 fail:
4409   return Qnil;
4410 }
4411 
4412 
4413 SWIGINTERN VALUE
_wrap_svn_client_commit_item2_t_url_set(int argc,VALUE * argv,VALUE self)4414 _wrap_svn_client_commit_item2_t_url_set(int argc, VALUE *argv, VALUE self) {
4415   struct svn_client_commit_item2_t *arg1 = (struct svn_client_commit_item2_t *) 0 ;
4416   char *arg2 = (char *) 0 ;
4417   void *argp1 = 0 ;
4418   int res1 = 0 ;
4419   int res2 ;
4420   char *buf2 = 0 ;
4421   int alloc2 = 0 ;
4422 
4423   if ((argc < 1) || (argc > 1)) {
4424     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4425   }
4426   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item2_t, 0 |  0 );
4427   if (!SWIG_IsOK(res1)) {
4428     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item2_t *","url", 1, self ));
4429   }
4430   arg1 = (struct svn_client_commit_item2_t *)(argp1);
4431   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
4432   if (!SWIG_IsOK(res2)) {
4433     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","url", 2, argv[0] ));
4434   }
4435   arg2 = (char *)(buf2);
4436   {
4437     apr_size_t len = strlen(arg2) + 1;
4438     char *copied;
4439     if (arg1->url) free((char *)arg1->url);
4440     copied = malloc(len);
4441     memcpy(copied, arg2, len);
4442     arg1->url = copied;
4443   }
4444   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
4445   return Qnil;
4446 fail:
4447   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
4448   return Qnil;
4449 }
4450 
4451 
4452 SWIGINTERN VALUE
_wrap_svn_client_commit_item2_t_url_get(int argc,VALUE * argv,VALUE self)4453 _wrap_svn_client_commit_item2_t_url_get(int argc, VALUE *argv, VALUE self) {
4454   struct svn_client_commit_item2_t *arg1 = (struct svn_client_commit_item2_t *) 0 ;
4455   void *argp1 = 0 ;
4456   int res1 = 0 ;
4457   char *result = 0 ;
4458   VALUE vresult = Qnil;
4459 
4460   if ((argc < 0) || (argc > 0)) {
4461     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4462   }
4463   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item2_t, 0 |  0 );
4464   if (!SWIG_IsOK(res1)) {
4465     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item2_t *","url", 1, self ));
4466   }
4467   arg1 = (struct svn_client_commit_item2_t *)(argp1);
4468   result = (char *) ((arg1)->url);
4469   {
4470     if (result) {
4471       vresult = rb_str_new2(result);
4472     } else {
4473       vresult = Qnil;
4474     }
4475   }
4476   return vresult;
4477 fail:
4478   return Qnil;
4479 }
4480 
4481 
4482 SWIGINTERN VALUE
_wrap_svn_client_commit_item2_t_revision_set(int argc,VALUE * argv,VALUE self)4483 _wrap_svn_client_commit_item2_t_revision_set(int argc, VALUE *argv, VALUE self) {
4484   struct svn_client_commit_item2_t *arg1 = (struct svn_client_commit_item2_t *) 0 ;
4485   svn_revnum_t arg2 ;
4486   void *argp1 = 0 ;
4487   int res1 = 0 ;
4488   long val2 ;
4489   int ecode2 = 0 ;
4490 
4491   if ((argc < 1) || (argc > 1)) {
4492     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4493   }
4494   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item2_t, 0 |  0 );
4495   if (!SWIG_IsOK(res1)) {
4496     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item2_t *","revision", 1, self ));
4497   }
4498   arg1 = (struct svn_client_commit_item2_t *)(argp1);
4499   ecode2 = SWIG_AsVal_long(argv[0], &val2);
4500   if (!SWIG_IsOK(ecode2)) {
4501     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","revision", 2, argv[0] ));
4502   }
4503   arg2 = (svn_revnum_t)(val2);
4504   if (arg1) (arg1)->revision = arg2;
4505   return Qnil;
4506 fail:
4507   return Qnil;
4508 }
4509 
4510 
4511 SWIGINTERN VALUE
_wrap_svn_client_commit_item2_t_revision_get(int argc,VALUE * argv,VALUE self)4512 _wrap_svn_client_commit_item2_t_revision_get(int argc, VALUE *argv, VALUE self) {
4513   struct svn_client_commit_item2_t *arg1 = (struct svn_client_commit_item2_t *) 0 ;
4514   void *argp1 = 0 ;
4515   int res1 = 0 ;
4516   svn_revnum_t result;
4517   VALUE vresult = Qnil;
4518 
4519   if ((argc < 0) || (argc > 0)) {
4520     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4521   }
4522   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item2_t, 0 |  0 );
4523   if (!SWIG_IsOK(res1)) {
4524     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item2_t *","revision", 1, self ));
4525   }
4526   arg1 = (struct svn_client_commit_item2_t *)(argp1);
4527   result = (svn_revnum_t) ((arg1)->revision);
4528   vresult = SWIG_From_long((long)(result));
4529   return vresult;
4530 fail:
4531   return Qnil;
4532 }
4533 
4534 
4535 SWIGINTERN VALUE
_wrap_svn_client_commit_item2_t_copyfrom_url_set(int argc,VALUE * argv,VALUE self)4536 _wrap_svn_client_commit_item2_t_copyfrom_url_set(int argc, VALUE *argv, VALUE self) {
4537   struct svn_client_commit_item2_t *arg1 = (struct svn_client_commit_item2_t *) 0 ;
4538   char *arg2 = (char *) 0 ;
4539   void *argp1 = 0 ;
4540   int res1 = 0 ;
4541 
4542   if ((argc < 1) || (argc > 1)) {
4543     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4544   }
4545   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item2_t, 0 |  0 );
4546   if (!SWIG_IsOK(res1)) {
4547     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item2_t *","copyfrom_url", 1, self ));
4548   }
4549   arg1 = (struct svn_client_commit_item2_t *)(argp1);
4550   {
4551     if (NIL_P(argv[0])) {
4552       arg2 = NULL;
4553     } else {
4554       arg2 = StringValuePtr(argv[0]);
4555     }
4556   }
4557   {
4558     apr_size_t len = strlen(arg2) + 1;
4559     char *copied;
4560     if (arg1->copyfrom_url) free((char *)arg1->copyfrom_url);
4561     copied = malloc(len);
4562     memcpy(copied, arg2, len);
4563     arg1->copyfrom_url = copied;
4564   }
4565   return Qnil;
4566 fail:
4567   return Qnil;
4568 }
4569 
4570 
4571 SWIGINTERN VALUE
_wrap_svn_client_commit_item2_t_copyfrom_url_get(int argc,VALUE * argv,VALUE self)4572 _wrap_svn_client_commit_item2_t_copyfrom_url_get(int argc, VALUE *argv, VALUE self) {
4573   struct svn_client_commit_item2_t *arg1 = (struct svn_client_commit_item2_t *) 0 ;
4574   void *argp1 = 0 ;
4575   int res1 = 0 ;
4576   char *result = 0 ;
4577   VALUE vresult = Qnil;
4578 
4579   if ((argc < 0) || (argc > 0)) {
4580     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4581   }
4582   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item2_t, 0 |  0 );
4583   if (!SWIG_IsOK(res1)) {
4584     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item2_t *","copyfrom_url", 1, self ));
4585   }
4586   arg1 = (struct svn_client_commit_item2_t *)(argp1);
4587   result = (char *) ((arg1)->copyfrom_url);
4588   {
4589     if (result) {
4590       vresult = rb_str_new2(result);
4591     } else {
4592       vresult = Qnil;
4593     }
4594   }
4595   return vresult;
4596 fail:
4597   return Qnil;
4598 }
4599 
4600 
4601 SWIGINTERN VALUE
_wrap_svn_client_commit_item2_t_copyfrom_rev_set(int argc,VALUE * argv,VALUE self)4602 _wrap_svn_client_commit_item2_t_copyfrom_rev_set(int argc, VALUE *argv, VALUE self) {
4603   struct svn_client_commit_item2_t *arg1 = (struct svn_client_commit_item2_t *) 0 ;
4604   svn_revnum_t arg2 ;
4605   void *argp1 = 0 ;
4606   int res1 = 0 ;
4607   long val2 ;
4608   int ecode2 = 0 ;
4609 
4610   if ((argc < 1) || (argc > 1)) {
4611     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4612   }
4613   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item2_t, 0 |  0 );
4614   if (!SWIG_IsOK(res1)) {
4615     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item2_t *","copyfrom_rev", 1, self ));
4616   }
4617   arg1 = (struct svn_client_commit_item2_t *)(argp1);
4618   ecode2 = SWIG_AsVal_long(argv[0], &val2);
4619   if (!SWIG_IsOK(ecode2)) {
4620     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","copyfrom_rev", 2, argv[0] ));
4621   }
4622   arg2 = (svn_revnum_t)(val2);
4623   if (arg1) (arg1)->copyfrom_rev = arg2;
4624   return Qnil;
4625 fail:
4626   return Qnil;
4627 }
4628 
4629 
4630 SWIGINTERN VALUE
_wrap_svn_client_commit_item2_t_copyfrom_rev_get(int argc,VALUE * argv,VALUE self)4631 _wrap_svn_client_commit_item2_t_copyfrom_rev_get(int argc, VALUE *argv, VALUE self) {
4632   struct svn_client_commit_item2_t *arg1 = (struct svn_client_commit_item2_t *) 0 ;
4633   void *argp1 = 0 ;
4634   int res1 = 0 ;
4635   svn_revnum_t result;
4636   VALUE vresult = Qnil;
4637 
4638   if ((argc < 0) || (argc > 0)) {
4639     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4640   }
4641   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item2_t, 0 |  0 );
4642   if (!SWIG_IsOK(res1)) {
4643     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item2_t *","copyfrom_rev", 1, self ));
4644   }
4645   arg1 = (struct svn_client_commit_item2_t *)(argp1);
4646   result = (svn_revnum_t) ((arg1)->copyfrom_rev);
4647   vresult = SWIG_From_long((long)(result));
4648   return vresult;
4649 fail:
4650   return Qnil;
4651 }
4652 
4653 
4654 SWIGINTERN VALUE
_wrap_svn_client_commit_item2_t_state_flags_set(int argc,VALUE * argv,VALUE self)4655 _wrap_svn_client_commit_item2_t_state_flags_set(int argc, VALUE *argv, VALUE self) {
4656   struct svn_client_commit_item2_t *arg1 = (struct svn_client_commit_item2_t *) 0 ;
4657   apr_byte_t arg2 ;
4658   void *argp1 = 0 ;
4659   int res1 = 0 ;
4660   unsigned long val2 ;
4661   int ecode2 = 0 ;
4662 
4663   if ((argc < 1) || (argc > 1)) {
4664     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4665   }
4666   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item2_t, 0 |  0 );
4667   if (!SWIG_IsOK(res1)) {
4668     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item2_t *","state_flags", 1, self ));
4669   }
4670   arg1 = (struct svn_client_commit_item2_t *)(argp1);
4671   ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
4672   if (!SWIG_IsOK(ecode2)) {
4673     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "apr_byte_t","state_flags", 2, argv[0] ));
4674   }
4675   arg2 = (apr_byte_t)(val2);
4676   if (arg1) (arg1)->state_flags = arg2;
4677   return Qnil;
4678 fail:
4679   return Qnil;
4680 }
4681 
4682 
4683 SWIGINTERN VALUE
_wrap_svn_client_commit_item2_t_state_flags_get(int argc,VALUE * argv,VALUE self)4684 _wrap_svn_client_commit_item2_t_state_flags_get(int argc, VALUE *argv, VALUE self) {
4685   struct svn_client_commit_item2_t *arg1 = (struct svn_client_commit_item2_t *) 0 ;
4686   void *argp1 = 0 ;
4687   int res1 = 0 ;
4688   apr_byte_t result;
4689   VALUE vresult = Qnil;
4690 
4691   if ((argc < 0) || (argc > 0)) {
4692     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4693   }
4694   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item2_t, 0 |  0 );
4695   if (!SWIG_IsOK(res1)) {
4696     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item2_t *","state_flags", 1, self ));
4697   }
4698   arg1 = (struct svn_client_commit_item2_t *)(argp1);
4699   result =  ((arg1)->state_flags);
4700   vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
4701   return vresult;
4702 fail:
4703   return Qnil;
4704 }
4705 
4706 
4707 SWIGINTERN VALUE
_wrap_svn_client_commit_item2_t_wcprop_changes_set(int argc,VALUE * argv,VALUE self)4708 _wrap_svn_client_commit_item2_t_wcprop_changes_set(int argc, VALUE *argv, VALUE self) {
4709   struct svn_client_commit_item2_t *arg1 = (struct svn_client_commit_item2_t *) 0 ;
4710   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
4711   void *argp1 = 0 ;
4712   int res1 = 0 ;
4713 
4714   if ((argc < 1) || (argc > 1)) {
4715     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4716   }
4717   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item2_t, 0 |  0 );
4718   if (!SWIG_IsOK(res1)) {
4719     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item2_t *","wcprop_changes", 1, self ));
4720   }
4721   arg1 = (struct svn_client_commit_item2_t *)(argp1);
4722   {
4723     VALUE rb_pool;
4724     apr_pool_t *pool;
4725 
4726     svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &pool);
4727 
4728     arg2 = svn_swig_rb_to_apr_array_prop(argv[0], pool);
4729   }
4730   if (arg1) (arg1)->wcprop_changes = arg2;
4731   return Qnil;
4732 fail:
4733   return Qnil;
4734 }
4735 
4736 
4737 SWIGINTERN VALUE
_wrap_svn_client_commit_item2_t_wcprop_changes_get(int argc,VALUE * argv,VALUE self)4738 _wrap_svn_client_commit_item2_t_wcprop_changes_get(int argc, VALUE *argv, VALUE self) {
4739   struct svn_client_commit_item2_t *arg1 = (struct svn_client_commit_item2_t *) 0 ;
4740   void *argp1 = 0 ;
4741   int res1 = 0 ;
4742   apr_array_header_t *result = 0 ;
4743   VALUE vresult = Qnil;
4744 
4745   if ((argc < 0) || (argc > 0)) {
4746     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4747   }
4748   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item2_t, 0 |  0 );
4749   if (!SWIG_IsOK(res1)) {
4750     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item2_t *","wcprop_changes", 1, self ));
4751   }
4752   arg1 = (struct svn_client_commit_item2_t *)(argp1);
4753   result = (apr_array_header_t *) ((arg1)->wcprop_changes);
4754   {
4755     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_prop_apr_array_to_hash_prop(result));
4756   }
4757   return vresult;
4758 fail:
4759   return Qnil;
4760 }
4761 
4762 
4763 SWIGINTERN VALUE
4764 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_svn_client_commit_item2_t_allocate(VALUE self)4765 _wrap_svn_client_commit_item2_t_allocate(VALUE self)
4766 #else
4767 _wrap_svn_client_commit_item2_t_allocate(int argc, VALUE *argv, VALUE self)
4768 #endif
4769 {
4770   VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_client_commit_item2_t);
4771 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
4772   rb_obj_call_init(vresult, argc, argv);
4773 #endif
4774   return vresult;
4775 }
4776 
4777 
4778 SWIGINTERN VALUE
_wrap_new_svn_client_commit_item2_t(int argc,VALUE * argv,VALUE self)4779 _wrap_new_svn_client_commit_item2_t(int argc, VALUE *argv, VALUE self) {
4780   struct svn_client_commit_item2_t *result = 0 ;
4781 
4782   if ((argc < 0) || (argc > 0)) {
4783     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4784   }
4785   {
4786     result = (struct svn_client_commit_item2_t *)calloc(1, sizeof(struct svn_client_commit_item2_t));
4787     DATA_PTR(self) = result;
4788 
4789 
4790 
4791   }
4792   return self;
4793 fail:
4794   return Qnil;
4795 }
4796 
4797 
4798 SWIGINTERN void
free_svn_client_commit_item2_t(void * self)4799 free_svn_client_commit_item2_t(void *self) {
4800     struct svn_client_commit_item2_t *arg1 = (struct svn_client_commit_item2_t *)self;
4801     free((char *) arg1);
4802 }
4803 
4804 static swig_class SwigClassSvn_client_commit_item_t;
4805 
4806 SWIGINTERN VALUE
_wrap_svn_client_commit_item_t_path_set(int argc,VALUE * argv,VALUE self)4807 _wrap_svn_client_commit_item_t_path_set(int argc, VALUE *argv, VALUE self) {
4808   struct svn_client_commit_item_t *arg1 = (struct svn_client_commit_item_t *) 0 ;
4809   char *arg2 = (char *) 0 ;
4810   void *argp1 = 0 ;
4811   int res1 = 0 ;
4812   int res2 ;
4813   char *buf2 = 0 ;
4814   int alloc2 = 0 ;
4815 
4816   if ((argc < 1) || (argc > 1)) {
4817     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4818   }
4819   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item_t, 0 |  0 );
4820   if (!SWIG_IsOK(res1)) {
4821     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item_t *","path", 1, self ));
4822   }
4823   arg1 = (struct svn_client_commit_item_t *)(argp1);
4824   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
4825   if (!SWIG_IsOK(res2)) {
4826     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","path", 2, argv[0] ));
4827   }
4828   arg2 = (char *)(buf2);
4829   {
4830     apr_size_t len = strlen(arg2) + 1;
4831     char *copied;
4832     if (arg1->path) free((char *)arg1->path);
4833     copied = malloc(len);
4834     memcpy(copied, arg2, len);
4835     arg1->path = copied;
4836   }
4837   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
4838   return Qnil;
4839 fail:
4840   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
4841   return Qnil;
4842 }
4843 
4844 
4845 SWIGINTERN VALUE
_wrap_svn_client_commit_item_t_path_get(int argc,VALUE * argv,VALUE self)4846 _wrap_svn_client_commit_item_t_path_get(int argc, VALUE *argv, VALUE self) {
4847   struct svn_client_commit_item_t *arg1 = (struct svn_client_commit_item_t *) 0 ;
4848   void *argp1 = 0 ;
4849   int res1 = 0 ;
4850   char *result = 0 ;
4851   VALUE vresult = Qnil;
4852 
4853   if ((argc < 0) || (argc > 0)) {
4854     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4855   }
4856   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item_t, 0 |  0 );
4857   if (!SWIG_IsOK(res1)) {
4858     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item_t *","path", 1, self ));
4859   }
4860   arg1 = (struct svn_client_commit_item_t *)(argp1);
4861   result = (char *) ((arg1)->path);
4862   {
4863     if (result) {
4864       vresult = rb_str_new2(result);
4865     } else {
4866       vresult = Qnil;
4867     }
4868   }
4869   return vresult;
4870 fail:
4871   return Qnil;
4872 }
4873 
4874 
4875 SWIGINTERN VALUE
_wrap_svn_client_commit_item_t_kind_set(int argc,VALUE * argv,VALUE self)4876 _wrap_svn_client_commit_item_t_kind_set(int argc, VALUE *argv, VALUE self) {
4877   struct svn_client_commit_item_t *arg1 = (struct svn_client_commit_item_t *) 0 ;
4878   svn_node_kind_t arg2 ;
4879   void *argp1 = 0 ;
4880   int res1 = 0 ;
4881   int val2 ;
4882   int ecode2 = 0 ;
4883 
4884   if ((argc < 1) || (argc > 1)) {
4885     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4886   }
4887   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item_t, 0 |  0 );
4888   if (!SWIG_IsOK(res1)) {
4889     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item_t *","kind", 1, self ));
4890   }
4891   arg1 = (struct svn_client_commit_item_t *)(argp1);
4892   ecode2 = SWIG_AsVal_int(argv[0], &val2);
4893   if (!SWIG_IsOK(ecode2)) {
4894     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_node_kind_t","kind", 2, argv[0] ));
4895   }
4896   arg2 = (svn_node_kind_t)(val2);
4897   if (arg1) (arg1)->kind = arg2;
4898   return Qnil;
4899 fail:
4900   return Qnil;
4901 }
4902 
4903 
4904 SWIGINTERN VALUE
_wrap_svn_client_commit_item_t_kind_get(int argc,VALUE * argv,VALUE self)4905 _wrap_svn_client_commit_item_t_kind_get(int argc, VALUE *argv, VALUE self) {
4906   struct svn_client_commit_item_t *arg1 = (struct svn_client_commit_item_t *) 0 ;
4907   void *argp1 = 0 ;
4908   int res1 = 0 ;
4909   svn_node_kind_t result;
4910   VALUE vresult = Qnil;
4911 
4912   if ((argc < 0) || (argc > 0)) {
4913     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4914   }
4915   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item_t, 0 |  0 );
4916   if (!SWIG_IsOK(res1)) {
4917     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item_t *","kind", 1, self ));
4918   }
4919   arg1 = (struct svn_client_commit_item_t *)(argp1);
4920   result = (svn_node_kind_t) ((arg1)->kind);
4921   vresult = SWIG_From_int((int)(result));
4922   return vresult;
4923 fail:
4924   return Qnil;
4925 }
4926 
4927 
4928 SWIGINTERN VALUE
_wrap_svn_client_commit_item_t_url_set(int argc,VALUE * argv,VALUE self)4929 _wrap_svn_client_commit_item_t_url_set(int argc, VALUE *argv, VALUE self) {
4930   struct svn_client_commit_item_t *arg1 = (struct svn_client_commit_item_t *) 0 ;
4931   char *arg2 = (char *) 0 ;
4932   void *argp1 = 0 ;
4933   int res1 = 0 ;
4934   int res2 ;
4935   char *buf2 = 0 ;
4936   int alloc2 = 0 ;
4937 
4938   if ((argc < 1) || (argc > 1)) {
4939     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4940   }
4941   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item_t, 0 |  0 );
4942   if (!SWIG_IsOK(res1)) {
4943     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item_t *","url", 1, self ));
4944   }
4945   arg1 = (struct svn_client_commit_item_t *)(argp1);
4946   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
4947   if (!SWIG_IsOK(res2)) {
4948     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","url", 2, argv[0] ));
4949   }
4950   arg2 = (char *)(buf2);
4951   {
4952     apr_size_t len = strlen(arg2) + 1;
4953     char *copied;
4954     if (arg1->url) free((char *)arg1->url);
4955     copied = malloc(len);
4956     memcpy(copied, arg2, len);
4957     arg1->url = copied;
4958   }
4959   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
4960   return Qnil;
4961 fail:
4962   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
4963   return Qnil;
4964 }
4965 
4966 
4967 SWIGINTERN VALUE
_wrap_svn_client_commit_item_t_url_get(int argc,VALUE * argv,VALUE self)4968 _wrap_svn_client_commit_item_t_url_get(int argc, VALUE *argv, VALUE self) {
4969   struct svn_client_commit_item_t *arg1 = (struct svn_client_commit_item_t *) 0 ;
4970   void *argp1 = 0 ;
4971   int res1 = 0 ;
4972   char *result = 0 ;
4973   VALUE vresult = Qnil;
4974 
4975   if ((argc < 0) || (argc > 0)) {
4976     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4977   }
4978   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item_t, 0 |  0 );
4979   if (!SWIG_IsOK(res1)) {
4980     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item_t *","url", 1, self ));
4981   }
4982   arg1 = (struct svn_client_commit_item_t *)(argp1);
4983   result = (char *) ((arg1)->url);
4984   {
4985     if (result) {
4986       vresult = rb_str_new2(result);
4987     } else {
4988       vresult = Qnil;
4989     }
4990   }
4991   return vresult;
4992 fail:
4993   return Qnil;
4994 }
4995 
4996 
4997 SWIGINTERN VALUE
_wrap_svn_client_commit_item_t_revision_set(int argc,VALUE * argv,VALUE self)4998 _wrap_svn_client_commit_item_t_revision_set(int argc, VALUE *argv, VALUE self) {
4999   struct svn_client_commit_item_t *arg1 = (struct svn_client_commit_item_t *) 0 ;
5000   svn_revnum_t arg2 ;
5001   void *argp1 = 0 ;
5002   int res1 = 0 ;
5003   long val2 ;
5004   int ecode2 = 0 ;
5005 
5006   if ((argc < 1) || (argc > 1)) {
5007     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5008   }
5009   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item_t, 0 |  0 );
5010   if (!SWIG_IsOK(res1)) {
5011     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item_t *","revision", 1, self ));
5012   }
5013   arg1 = (struct svn_client_commit_item_t *)(argp1);
5014   ecode2 = SWIG_AsVal_long(argv[0], &val2);
5015   if (!SWIG_IsOK(ecode2)) {
5016     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","revision", 2, argv[0] ));
5017   }
5018   arg2 = (svn_revnum_t)(val2);
5019   if (arg1) (arg1)->revision = arg2;
5020   return Qnil;
5021 fail:
5022   return Qnil;
5023 }
5024 
5025 
5026 SWIGINTERN VALUE
_wrap_svn_client_commit_item_t_revision_get(int argc,VALUE * argv,VALUE self)5027 _wrap_svn_client_commit_item_t_revision_get(int argc, VALUE *argv, VALUE self) {
5028   struct svn_client_commit_item_t *arg1 = (struct svn_client_commit_item_t *) 0 ;
5029   void *argp1 = 0 ;
5030   int res1 = 0 ;
5031   svn_revnum_t result;
5032   VALUE vresult = Qnil;
5033 
5034   if ((argc < 0) || (argc > 0)) {
5035     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5036   }
5037   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item_t, 0 |  0 );
5038   if (!SWIG_IsOK(res1)) {
5039     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item_t *","revision", 1, self ));
5040   }
5041   arg1 = (struct svn_client_commit_item_t *)(argp1);
5042   result = (svn_revnum_t) ((arg1)->revision);
5043   vresult = SWIG_From_long((long)(result));
5044   return vresult;
5045 fail:
5046   return Qnil;
5047 }
5048 
5049 
5050 SWIGINTERN VALUE
_wrap_svn_client_commit_item_t_copyfrom_url_set(int argc,VALUE * argv,VALUE self)5051 _wrap_svn_client_commit_item_t_copyfrom_url_set(int argc, VALUE *argv, VALUE self) {
5052   struct svn_client_commit_item_t *arg1 = (struct svn_client_commit_item_t *) 0 ;
5053   char *arg2 = (char *) 0 ;
5054   void *argp1 = 0 ;
5055   int res1 = 0 ;
5056 
5057   if ((argc < 1) || (argc > 1)) {
5058     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5059   }
5060   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item_t, 0 |  0 );
5061   if (!SWIG_IsOK(res1)) {
5062     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item_t *","copyfrom_url", 1, self ));
5063   }
5064   arg1 = (struct svn_client_commit_item_t *)(argp1);
5065   {
5066     if (NIL_P(argv[0])) {
5067       arg2 = NULL;
5068     } else {
5069       arg2 = StringValuePtr(argv[0]);
5070     }
5071   }
5072   {
5073     apr_size_t len = strlen(arg2) + 1;
5074     char *copied;
5075     if (arg1->copyfrom_url) free((char *)arg1->copyfrom_url);
5076     copied = malloc(len);
5077     memcpy(copied, arg2, len);
5078     arg1->copyfrom_url = copied;
5079   }
5080   return Qnil;
5081 fail:
5082   return Qnil;
5083 }
5084 
5085 
5086 SWIGINTERN VALUE
_wrap_svn_client_commit_item_t_copyfrom_url_get(int argc,VALUE * argv,VALUE self)5087 _wrap_svn_client_commit_item_t_copyfrom_url_get(int argc, VALUE *argv, VALUE self) {
5088   struct svn_client_commit_item_t *arg1 = (struct svn_client_commit_item_t *) 0 ;
5089   void *argp1 = 0 ;
5090   int res1 = 0 ;
5091   char *result = 0 ;
5092   VALUE vresult = Qnil;
5093 
5094   if ((argc < 0) || (argc > 0)) {
5095     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5096   }
5097   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item_t, 0 |  0 );
5098   if (!SWIG_IsOK(res1)) {
5099     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item_t *","copyfrom_url", 1, self ));
5100   }
5101   arg1 = (struct svn_client_commit_item_t *)(argp1);
5102   result = (char *) ((arg1)->copyfrom_url);
5103   {
5104     if (result) {
5105       vresult = rb_str_new2(result);
5106     } else {
5107       vresult = Qnil;
5108     }
5109   }
5110   return vresult;
5111 fail:
5112   return Qnil;
5113 }
5114 
5115 
5116 SWIGINTERN VALUE
_wrap_svn_client_commit_item_t_state_flags_set(int argc,VALUE * argv,VALUE self)5117 _wrap_svn_client_commit_item_t_state_flags_set(int argc, VALUE *argv, VALUE self) {
5118   struct svn_client_commit_item_t *arg1 = (struct svn_client_commit_item_t *) 0 ;
5119   apr_byte_t arg2 ;
5120   void *argp1 = 0 ;
5121   int res1 = 0 ;
5122   unsigned long val2 ;
5123   int ecode2 = 0 ;
5124 
5125   if ((argc < 1) || (argc > 1)) {
5126     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5127   }
5128   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item_t, 0 |  0 );
5129   if (!SWIG_IsOK(res1)) {
5130     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item_t *","state_flags", 1, self ));
5131   }
5132   arg1 = (struct svn_client_commit_item_t *)(argp1);
5133   ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
5134   if (!SWIG_IsOK(ecode2)) {
5135     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "apr_byte_t","state_flags", 2, argv[0] ));
5136   }
5137   arg2 = (apr_byte_t)(val2);
5138   if (arg1) (arg1)->state_flags = arg2;
5139   return Qnil;
5140 fail:
5141   return Qnil;
5142 }
5143 
5144 
5145 SWIGINTERN VALUE
_wrap_svn_client_commit_item_t_state_flags_get(int argc,VALUE * argv,VALUE self)5146 _wrap_svn_client_commit_item_t_state_flags_get(int argc, VALUE *argv, VALUE self) {
5147   struct svn_client_commit_item_t *arg1 = (struct svn_client_commit_item_t *) 0 ;
5148   void *argp1 = 0 ;
5149   int res1 = 0 ;
5150   apr_byte_t result;
5151   VALUE vresult = Qnil;
5152 
5153   if ((argc < 0) || (argc > 0)) {
5154     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5155   }
5156   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item_t, 0 |  0 );
5157   if (!SWIG_IsOK(res1)) {
5158     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item_t *","state_flags", 1, self ));
5159   }
5160   arg1 = (struct svn_client_commit_item_t *)(argp1);
5161   result =  ((arg1)->state_flags);
5162   vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
5163   return vresult;
5164 fail:
5165   return Qnil;
5166 }
5167 
5168 
5169 SWIGINTERN VALUE
_wrap_svn_client_commit_item_t_wcprop_changes_set(int argc,VALUE * argv,VALUE self)5170 _wrap_svn_client_commit_item_t_wcprop_changes_set(int argc, VALUE *argv, VALUE self) {
5171   struct svn_client_commit_item_t *arg1 = (struct svn_client_commit_item_t *) 0 ;
5172   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
5173   void *argp1 = 0 ;
5174   int res1 = 0 ;
5175 
5176   if ((argc < 1) || (argc > 1)) {
5177     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5178   }
5179   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item_t, 0 |  0 );
5180   if (!SWIG_IsOK(res1)) {
5181     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item_t *","wcprop_changes", 1, self ));
5182   }
5183   arg1 = (struct svn_client_commit_item_t *)(argp1);
5184   {
5185     VALUE rb_pool;
5186     apr_pool_t *pool;
5187 
5188     svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &pool);
5189 
5190     arg2 = svn_swig_rb_to_apr_array_prop(argv[0], pool);
5191   }
5192   if (arg1) (arg1)->wcprop_changes = arg2;
5193   return Qnil;
5194 fail:
5195   return Qnil;
5196 }
5197 
5198 
5199 SWIGINTERN VALUE
_wrap_svn_client_commit_item_t_wcprop_changes_get(int argc,VALUE * argv,VALUE self)5200 _wrap_svn_client_commit_item_t_wcprop_changes_get(int argc, VALUE *argv, VALUE self) {
5201   struct svn_client_commit_item_t *arg1 = (struct svn_client_commit_item_t *) 0 ;
5202   void *argp1 = 0 ;
5203   int res1 = 0 ;
5204   apr_array_header_t *result = 0 ;
5205   VALUE vresult = Qnil;
5206 
5207   if ((argc < 0) || (argc > 0)) {
5208     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5209   }
5210   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_commit_item_t, 0 |  0 );
5211   if (!SWIG_IsOK(res1)) {
5212     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_commit_item_t *","wcprop_changes", 1, self ));
5213   }
5214   arg1 = (struct svn_client_commit_item_t *)(argp1);
5215   result = (apr_array_header_t *) ((arg1)->wcprop_changes);
5216   {
5217     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_prop_apr_array_to_hash_prop(result));
5218   }
5219   return vresult;
5220 fail:
5221   return Qnil;
5222 }
5223 
5224 
5225 SWIGINTERN VALUE
5226 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_svn_client_commit_item_t_allocate(VALUE self)5227 _wrap_svn_client_commit_item_t_allocate(VALUE self)
5228 #else
5229 _wrap_svn_client_commit_item_t_allocate(int argc, VALUE *argv, VALUE self)
5230 #endif
5231 {
5232   VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_client_commit_item_t);
5233 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
5234   rb_obj_call_init(vresult, argc, argv);
5235 #endif
5236   return vresult;
5237 }
5238 
5239 
5240 SWIGINTERN VALUE
_wrap_new_svn_client_commit_item_t(int argc,VALUE * argv,VALUE self)5241 _wrap_new_svn_client_commit_item_t(int argc, VALUE *argv, VALUE self) {
5242   struct svn_client_commit_item_t *result = 0 ;
5243 
5244   if ((argc < 0) || (argc > 0)) {
5245     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5246   }
5247   {
5248     result = (struct svn_client_commit_item_t *)calloc(1, sizeof(struct svn_client_commit_item_t));
5249     DATA_PTR(self) = result;
5250 
5251 
5252 
5253   }
5254   return self;
5255 fail:
5256   return Qnil;
5257 }
5258 
5259 
5260 SWIGINTERN void
free_svn_client_commit_item_t(void * self)5261 free_svn_client_commit_item_t(void *self) {
5262     struct svn_client_commit_item_t *arg1 = (struct svn_client_commit_item_t *)self;
5263     free((char *) arg1);
5264 }
5265 
5266 SWIGINTERN VALUE
_wrap_svn_client_commit_item3_create(int argc,VALUE * argv,VALUE self)5267 _wrap_svn_client_commit_item3_create(int argc, VALUE *argv, VALUE self) {
5268   apr_pool_t *arg1 = (apr_pool_t *) 0 ;
5269   VALUE _global_svn_swig_rb_pool ;
5270   apr_pool_t *_global_pool ;
5271   svn_client_commit_item3_t *result = 0 ;
5272   VALUE vresult = Qnil;
5273 
5274   {
5275     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg1);
5276     _global_pool = arg1;
5277     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
5278   }
5279   if ((argc < 0) || (argc > 1)) {
5280     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5281   }
5282   if (argc > 0) {
5283 
5284   }
5285   {
5286     result = (svn_client_commit_item3_t *)svn_client_commit_item3_create(arg1);
5287 
5288 
5289 
5290   }
5291   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_client_commit_item3_t, 0 |  0 );
5292   {
5293     VALUE target;
5294     target = _global_vresult_address == &vresult ? self : vresult;
5295     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5296     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5297     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5298   }
5299   return vresult;
5300 fail:
5301   {
5302     VALUE target;
5303     target = _global_vresult_address == &vresult ? self : vresult;
5304     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5305     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5306     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5307   }
5308   return Qnil;
5309 }
5310 
5311 
5312 static swig_class SwigClassSvn_client_diff_summarize_t;
5313 
5314 SWIGINTERN VALUE
_wrap_svn_client_diff_summarize_t_path_set(int argc,VALUE * argv,VALUE self)5315 _wrap_svn_client_diff_summarize_t_path_set(int argc, VALUE *argv, VALUE self) {
5316   struct svn_client_diff_summarize_t *arg1 = (struct svn_client_diff_summarize_t *) 0 ;
5317   char *arg2 = (char *) 0 ;
5318   void *argp1 = 0 ;
5319   int res1 = 0 ;
5320   int res2 ;
5321   char *buf2 = 0 ;
5322   int alloc2 = 0 ;
5323 
5324   if ((argc < 1) || (argc > 1)) {
5325     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5326   }
5327   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_diff_summarize_t, 0 |  0 );
5328   if (!SWIG_IsOK(res1)) {
5329     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_diff_summarize_t *","path", 1, self ));
5330   }
5331   arg1 = (struct svn_client_diff_summarize_t *)(argp1);
5332   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
5333   if (!SWIG_IsOK(res2)) {
5334     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","path", 2, argv[0] ));
5335   }
5336   arg2 = (char *)(buf2);
5337   {
5338     apr_size_t len = strlen(arg2) + 1;
5339     char *copied;
5340     if (arg1->path) free((char *)arg1->path);
5341     copied = malloc(len);
5342     memcpy(copied, arg2, len);
5343     arg1->path = copied;
5344   }
5345   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
5346   return Qnil;
5347 fail:
5348   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
5349   return Qnil;
5350 }
5351 
5352 
5353 SWIGINTERN VALUE
_wrap_svn_client_diff_summarize_t_path_get(int argc,VALUE * argv,VALUE self)5354 _wrap_svn_client_diff_summarize_t_path_get(int argc, VALUE *argv, VALUE self) {
5355   struct svn_client_diff_summarize_t *arg1 = (struct svn_client_diff_summarize_t *) 0 ;
5356   void *argp1 = 0 ;
5357   int res1 = 0 ;
5358   char *result = 0 ;
5359   VALUE vresult = Qnil;
5360 
5361   if ((argc < 0) || (argc > 0)) {
5362     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5363   }
5364   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_diff_summarize_t, 0 |  0 );
5365   if (!SWIG_IsOK(res1)) {
5366     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_diff_summarize_t *","path", 1, self ));
5367   }
5368   arg1 = (struct svn_client_diff_summarize_t *)(argp1);
5369   result = (char *) ((arg1)->path);
5370   {
5371     if (result) {
5372       vresult = rb_str_new2(result);
5373     } else {
5374       vresult = Qnil;
5375     }
5376   }
5377   return vresult;
5378 fail:
5379   return Qnil;
5380 }
5381 
5382 
5383 SWIGINTERN VALUE
_wrap_svn_client_diff_summarize_t_summarize_kind_set(int argc,VALUE * argv,VALUE self)5384 _wrap_svn_client_diff_summarize_t_summarize_kind_set(int argc, VALUE *argv, VALUE self) {
5385   struct svn_client_diff_summarize_t *arg1 = (struct svn_client_diff_summarize_t *) 0 ;
5386   svn_client_diff_summarize_kind_t arg2 ;
5387   void *argp1 = 0 ;
5388   int res1 = 0 ;
5389   int val2 ;
5390   int ecode2 = 0 ;
5391 
5392   if ((argc < 1) || (argc > 1)) {
5393     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5394   }
5395   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_diff_summarize_t, 0 |  0 );
5396   if (!SWIG_IsOK(res1)) {
5397     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_diff_summarize_t *","summarize_kind", 1, self ));
5398   }
5399   arg1 = (struct svn_client_diff_summarize_t *)(argp1);
5400   ecode2 = SWIG_AsVal_int(argv[0], &val2);
5401   if (!SWIG_IsOK(ecode2)) {
5402     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_client_diff_summarize_kind_t","summarize_kind", 2, argv[0] ));
5403   }
5404   arg2 = (svn_client_diff_summarize_kind_t)(val2);
5405   if (arg1) (arg1)->summarize_kind = arg2;
5406   return Qnil;
5407 fail:
5408   return Qnil;
5409 }
5410 
5411 
5412 SWIGINTERN VALUE
_wrap_svn_client_diff_summarize_t_summarize_kind_get(int argc,VALUE * argv,VALUE self)5413 _wrap_svn_client_diff_summarize_t_summarize_kind_get(int argc, VALUE *argv, VALUE self) {
5414   struct svn_client_diff_summarize_t *arg1 = (struct svn_client_diff_summarize_t *) 0 ;
5415   void *argp1 = 0 ;
5416   int res1 = 0 ;
5417   svn_client_diff_summarize_kind_t result;
5418   VALUE vresult = Qnil;
5419 
5420   if ((argc < 0) || (argc > 0)) {
5421     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5422   }
5423   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_diff_summarize_t, 0 |  0 );
5424   if (!SWIG_IsOK(res1)) {
5425     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_diff_summarize_t *","summarize_kind", 1, self ));
5426   }
5427   arg1 = (struct svn_client_diff_summarize_t *)(argp1);
5428   result = (svn_client_diff_summarize_kind_t) ((arg1)->summarize_kind);
5429   vresult = SWIG_From_int((int)(result));
5430   return vresult;
5431 fail:
5432   return Qnil;
5433 }
5434 
5435 
5436 SWIGINTERN VALUE
_wrap_svn_client_diff_summarize_t_prop_changed_set(int argc,VALUE * argv,VALUE self)5437 _wrap_svn_client_diff_summarize_t_prop_changed_set(int argc, VALUE *argv, VALUE self) {
5438   struct svn_client_diff_summarize_t *arg1 = (struct svn_client_diff_summarize_t *) 0 ;
5439   svn_boolean_t arg2 ;
5440   void *argp1 = 0 ;
5441   int res1 = 0 ;
5442 
5443   if ((argc < 1) || (argc > 1)) {
5444     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5445   }
5446   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_diff_summarize_t, 0 |  0 );
5447   if (!SWIG_IsOK(res1)) {
5448     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_diff_summarize_t *","prop_changed", 1, self ));
5449   }
5450   arg1 = (struct svn_client_diff_summarize_t *)(argp1);
5451   arg2 = RTEST(argv[0]);
5452   if (arg1) (arg1)->prop_changed = arg2;
5453   return Qnil;
5454 fail:
5455   return Qnil;
5456 }
5457 
5458 
5459 SWIGINTERN VALUE
_wrap_svn_client_diff_summarize_t_prop_changed_get(int argc,VALUE * argv,VALUE self)5460 _wrap_svn_client_diff_summarize_t_prop_changed_get(int argc, VALUE *argv, VALUE self) {
5461   struct svn_client_diff_summarize_t *arg1 = (struct svn_client_diff_summarize_t *) 0 ;
5462   void *argp1 = 0 ;
5463   int res1 = 0 ;
5464   svn_boolean_t result;
5465   VALUE vresult = Qnil;
5466 
5467   if ((argc < 0) || (argc > 0)) {
5468     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5469   }
5470   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_diff_summarize_t, 0 |  0 );
5471   if (!SWIG_IsOK(res1)) {
5472     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_diff_summarize_t *","prop_changed", 1, self ));
5473   }
5474   arg1 = (struct svn_client_diff_summarize_t *)(argp1);
5475   result = (svn_boolean_t) ((arg1)->prop_changed);
5476   vresult = result ? Qtrue : Qfalse;
5477   return vresult;
5478 fail:
5479   return Qnil;
5480 }
5481 
5482 
5483 SWIGINTERN VALUE
_wrap_svn_client_diff_summarize_t_node_kind_set(int argc,VALUE * argv,VALUE self)5484 _wrap_svn_client_diff_summarize_t_node_kind_set(int argc, VALUE *argv, VALUE self) {
5485   struct svn_client_diff_summarize_t *arg1 = (struct svn_client_diff_summarize_t *) 0 ;
5486   svn_node_kind_t arg2 ;
5487   void *argp1 = 0 ;
5488   int res1 = 0 ;
5489   int val2 ;
5490   int ecode2 = 0 ;
5491 
5492   if ((argc < 1) || (argc > 1)) {
5493     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5494   }
5495   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_diff_summarize_t, 0 |  0 );
5496   if (!SWIG_IsOK(res1)) {
5497     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_diff_summarize_t *","node_kind", 1, self ));
5498   }
5499   arg1 = (struct svn_client_diff_summarize_t *)(argp1);
5500   ecode2 = SWIG_AsVal_int(argv[0], &val2);
5501   if (!SWIG_IsOK(ecode2)) {
5502     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_node_kind_t","node_kind", 2, argv[0] ));
5503   }
5504   arg2 = (svn_node_kind_t)(val2);
5505   if (arg1) (arg1)->node_kind = arg2;
5506   return Qnil;
5507 fail:
5508   return Qnil;
5509 }
5510 
5511 
5512 SWIGINTERN VALUE
_wrap_svn_client_diff_summarize_t_node_kind_get(int argc,VALUE * argv,VALUE self)5513 _wrap_svn_client_diff_summarize_t_node_kind_get(int argc, VALUE *argv, VALUE self) {
5514   struct svn_client_diff_summarize_t *arg1 = (struct svn_client_diff_summarize_t *) 0 ;
5515   void *argp1 = 0 ;
5516   int res1 = 0 ;
5517   svn_node_kind_t result;
5518   VALUE vresult = Qnil;
5519 
5520   if ((argc < 0) || (argc > 0)) {
5521     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5522   }
5523   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_diff_summarize_t, 0 |  0 );
5524   if (!SWIG_IsOK(res1)) {
5525     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_diff_summarize_t *","node_kind", 1, self ));
5526   }
5527   arg1 = (struct svn_client_diff_summarize_t *)(argp1);
5528   result = (svn_node_kind_t) ((arg1)->node_kind);
5529   vresult = SWIG_From_int((int)(result));
5530   return vresult;
5531 fail:
5532   return Qnil;
5533 }
5534 
5535 
5536 SWIGINTERN VALUE
5537 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_svn_client_diff_summarize_t_allocate(VALUE self)5538 _wrap_svn_client_diff_summarize_t_allocate(VALUE self)
5539 #else
5540 _wrap_svn_client_diff_summarize_t_allocate(int argc, VALUE *argv, VALUE self)
5541 #endif
5542 {
5543   VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_client_diff_summarize_t);
5544 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
5545   rb_obj_call_init(vresult, argc, argv);
5546 #endif
5547   return vresult;
5548 }
5549 
5550 
5551 SWIGINTERN VALUE
_wrap_new_svn_client_diff_summarize_t(int argc,VALUE * argv,VALUE self)5552 _wrap_new_svn_client_diff_summarize_t(int argc, VALUE *argv, VALUE self) {
5553   struct svn_client_diff_summarize_t *result = 0 ;
5554 
5555   if ((argc < 0) || (argc > 0)) {
5556     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5557   }
5558   {
5559     result = (struct svn_client_diff_summarize_t *)calloc(1, sizeof(struct svn_client_diff_summarize_t));
5560     DATA_PTR(self) = result;
5561 
5562 
5563 
5564   }
5565   return self;
5566 fail:
5567   return Qnil;
5568 }
5569 
5570 
5571 SWIGINTERN void
free_svn_client_diff_summarize_t(void * self)5572 free_svn_client_diff_summarize_t(void *self) {
5573     struct svn_client_diff_summarize_t *arg1 = (struct svn_client_diff_summarize_t *)self;
5574     free((char *) arg1);
5575 }
5576 
5577 SWIGINTERN VALUE
_wrap_svn_client_diff_summarize_dup(int argc,VALUE * argv,VALUE self)5578 _wrap_svn_client_diff_summarize_dup(int argc, VALUE *argv, VALUE self) {
5579   svn_client_diff_summarize_t *arg1 = (svn_client_diff_summarize_t *) 0 ;
5580   apr_pool_t *arg2 = (apr_pool_t *) 0 ;
5581   VALUE _global_svn_swig_rb_pool ;
5582   apr_pool_t *_global_pool ;
5583   void *argp1 = 0 ;
5584   int res1 = 0 ;
5585   svn_client_diff_summarize_t *result = 0 ;
5586   VALUE vresult = Qnil;
5587 
5588   {
5589     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2);
5590     _global_pool = arg2;
5591     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
5592   }
5593   if ((argc < 1) || (argc > 2)) {
5594     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5595   }
5596   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_diff_summarize_t, 0 |  0 );
5597   if (!SWIG_IsOK(res1)) {
5598     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_diff_summarize_t const *","svn_client_diff_summarize_dup", 1, argv[0] ));
5599   }
5600   arg1 = (svn_client_diff_summarize_t *)(argp1);
5601   if (argc > 1) {
5602 
5603   }
5604   {
5605     result = (svn_client_diff_summarize_t *)svn_client_diff_summarize_dup((struct svn_client_diff_summarize_t const *)arg1,arg2);
5606 
5607 
5608 
5609   }
5610   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_client_diff_summarize_t, 0 |  0 );
5611   {
5612     VALUE target;
5613     target = _global_vresult_address == &vresult ? self : vresult;
5614     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5615     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5616     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5617   }
5618   return vresult;
5619 fail:
5620   {
5621     VALUE target;
5622     target = _global_vresult_address == &vresult ? self : vresult;
5623     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5624     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5625     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5626   }
5627   return Qnil;
5628 }
5629 
5630 
5631 static swig_class SwigClassSvn_client_ctx_t;
5632 
5633 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_auth_baton_set(int argc,VALUE * argv,VALUE self)5634 _wrap_svn_client_ctx_t_auth_baton_set(int argc, VALUE *argv, VALUE self) {
5635   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
5636   svn_auth_baton_t *arg2 = (svn_auth_baton_t *) 0 ;
5637   void *argp1 = 0 ;
5638   int res1 = 0 ;
5639   void *argp2 = 0 ;
5640   int res2 = 0 ;
5641 
5642   if ((argc < 1) || (argc > 1)) {
5643     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5644   }
5645   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
5646   if (!SWIG_IsOK(res1)) {
5647     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","auth_baton", 1, self ));
5648   }
5649   arg1 = (struct svn_client_ctx_t *)(argp1);
5650   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_auth_baton_t, SWIG_POINTER_DISOWN |  0 );
5651   if (!SWIG_IsOK(res2)) {
5652     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_auth_baton_t *","auth_baton", 2, argv[0] ));
5653   }
5654   arg2 = (svn_auth_baton_t *)(argp2);
5655   if (arg1) (arg1)->auth_baton = arg2;
5656   return Qnil;
5657 fail:
5658   return Qnil;
5659 }
5660 
5661 
5662 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_auth_baton_get(int argc,VALUE * argv,VALUE self)5663 _wrap_svn_client_ctx_t_auth_baton_get(int argc, VALUE *argv, VALUE self) {
5664   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
5665   void *argp1 = 0 ;
5666   int res1 = 0 ;
5667   svn_auth_baton_t *result = 0 ;
5668   VALUE vresult = Qnil;
5669 
5670   if ((argc < 0) || (argc > 0)) {
5671     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5672   }
5673   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
5674   if (!SWIG_IsOK(res1)) {
5675     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","auth_baton", 1, self ));
5676   }
5677   arg1 = (struct svn_client_ctx_t *)(argp1);
5678   result = (svn_auth_baton_t *) ((arg1)->auth_baton);
5679   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_auth_baton_t, 0 |  0 );
5680   return vresult;
5681 fail:
5682   return Qnil;
5683 }
5684 
5685 
5686 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_notify_func_set(int argc,VALUE * argv,VALUE self)5687 _wrap_svn_client_ctx_t_notify_func_set(int argc, VALUE *argv, VALUE self) {
5688   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
5689   svn_wc_notify_func_t arg2 = (svn_wc_notify_func_t) 0 ;
5690   void *argp1 = 0 ;
5691   int res1 = 0 ;
5692 
5693   if ((argc < 1) || (argc > 1)) {
5694     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5695   }
5696   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
5697   if (!SWIG_IsOK(res1)) {
5698     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","notify_func", 1, self ));
5699   }
5700   arg1 = (struct svn_client_ctx_t *)(argp1);
5701   {
5702     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char_enum_svn_wc_notify_action_t_enum_svn_node_kind_t_p_q_const__char_enum_svn_wc_notify_state_t_enum_svn_wc_notify_state_t_long__void);
5703     if (!SWIG_IsOK(res)) {
5704       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_wc_notify_func_t","notify_func", 2, argv[0] ));
5705     }
5706   }
5707   if (arg1) (arg1)->notify_func = arg2;
5708   return Qnil;
5709 fail:
5710   return Qnil;
5711 }
5712 
5713 
5714 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_notify_func_get(int argc,VALUE * argv,VALUE self)5715 _wrap_svn_client_ctx_t_notify_func_get(int argc, VALUE *argv, VALUE self) {
5716   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
5717   void *argp1 = 0 ;
5718   int res1 = 0 ;
5719   svn_wc_notify_func_t result;
5720   VALUE vresult = Qnil;
5721 
5722   if ((argc < 0) || (argc > 0)) {
5723     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5724   }
5725   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
5726   if (!SWIG_IsOK(res1)) {
5727     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","notify_func", 1, self ));
5728   }
5729   arg1 = (struct svn_client_ctx_t *)(argp1);
5730   result = (svn_wc_notify_func_t) ((arg1)->notify_func);
5731   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char_enum_svn_wc_notify_action_t_enum_svn_node_kind_t_p_q_const__char_enum_svn_wc_notify_state_t_enum_svn_wc_notify_state_t_long__void);
5732   return vresult;
5733 fail:
5734   return Qnil;
5735 }
5736 
5737 
5738 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_notify_baton_set(int argc,VALUE * argv,VALUE self)5739 _wrap_svn_client_ctx_t_notify_baton_set(int argc, VALUE *argv, VALUE self) {
5740   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
5741   void *arg2 = (void *) 0 ;
5742   void *argp1 = 0 ;
5743   int res1 = 0 ;
5744   int res2 ;
5745 
5746   if ((argc < 1) || (argc > 1)) {
5747     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5748   }
5749   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
5750   if (!SWIG_IsOK(res1)) {
5751     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","notify_baton", 1, self ));
5752   }
5753   arg1 = (struct svn_client_ctx_t *)(argp1);
5754   res2 = SWIG_ConvertPtr(argv[0],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
5755   if (!SWIG_IsOK(res2)) {
5756     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","notify_baton", 2, argv[0] ));
5757   }
5758   if (arg1) (arg1)->notify_baton = arg2;
5759   return Qnil;
5760 fail:
5761   return Qnil;
5762 }
5763 
5764 
5765 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_notify_baton_get(int argc,VALUE * argv,VALUE self)5766 _wrap_svn_client_ctx_t_notify_baton_get(int argc, VALUE *argv, VALUE self) {
5767   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
5768   void *argp1 = 0 ;
5769   int res1 = 0 ;
5770   void *result = 0 ;
5771   VALUE vresult = Qnil;
5772 
5773   if ((argc < 0) || (argc > 0)) {
5774     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5775   }
5776   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
5777   if (!SWIG_IsOK(res1)) {
5778     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","notify_baton", 1, self ));
5779   }
5780   arg1 = (struct svn_client_ctx_t *)(argp1);
5781   result = (void *) ((arg1)->notify_baton);
5782   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
5783   return vresult;
5784 fail:
5785   return Qnil;
5786 }
5787 
5788 
5789 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_log_msg_func_set(int argc,VALUE * argv,VALUE self)5790 _wrap_svn_client_ctx_t_log_msg_func_set(int argc, VALUE *argv, VALUE self) {
5791   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
5792   svn_client_get_commit_log_t arg2 = (svn_client_get_commit_log_t) 0 ;
5793   void *argp1 = 0 ;
5794   int res1 = 0 ;
5795 
5796   if ((argc < 1) || (argc > 1)) {
5797     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5798   }
5799   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
5800   if (!SWIG_IsOK(res1)) {
5801     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","log_msg_func", 1, self ));
5802   }
5803   arg1 = (struct svn_client_ctx_t *)(argp1);
5804   {
5805     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_p_q_const__char_p_p_q_const__char_p_apr_array_header_t_p_void_p_apr_pool_t__p_svn_error_t);
5806     if (!SWIG_IsOK(res)) {
5807       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_get_commit_log_t","log_msg_func", 2, argv[0] ));
5808     }
5809   }
5810   if (arg1) (arg1)->log_msg_func = arg2;
5811   return Qnil;
5812 fail:
5813   return Qnil;
5814 }
5815 
5816 
5817 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_log_msg_func_get(int argc,VALUE * argv,VALUE self)5818 _wrap_svn_client_ctx_t_log_msg_func_get(int argc, VALUE *argv, VALUE self) {
5819   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
5820   void *argp1 = 0 ;
5821   int res1 = 0 ;
5822   svn_client_get_commit_log_t result;
5823   VALUE vresult = Qnil;
5824 
5825   if ((argc < 0) || (argc > 0)) {
5826     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5827   }
5828   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
5829   if (!SWIG_IsOK(res1)) {
5830     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","log_msg_func", 1, self ));
5831   }
5832   arg1 = (struct svn_client_ctx_t *)(argp1);
5833   result = (svn_client_get_commit_log_t) ((arg1)->log_msg_func);
5834   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_p_q_const__char_p_p_q_const__char_p_apr_array_header_t_p_void_p_apr_pool_t__p_svn_error_t);
5835   return vresult;
5836 fail:
5837   return Qnil;
5838 }
5839 
5840 
5841 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_log_msg_baton_set(int argc,VALUE * argv,VALUE self)5842 _wrap_svn_client_ctx_t_log_msg_baton_set(int argc, VALUE *argv, VALUE self) {
5843   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
5844   void *arg2 = (void *) 0 ;
5845   void *argp1 = 0 ;
5846   int res1 = 0 ;
5847   int res2 ;
5848 
5849   if ((argc < 1) || (argc > 1)) {
5850     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5851   }
5852   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
5853   if (!SWIG_IsOK(res1)) {
5854     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","log_msg_baton", 1, self ));
5855   }
5856   arg1 = (struct svn_client_ctx_t *)(argp1);
5857   res2 = SWIG_ConvertPtr(argv[0],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
5858   if (!SWIG_IsOK(res2)) {
5859     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","log_msg_baton", 2, argv[0] ));
5860   }
5861   if (arg1) (arg1)->log_msg_baton = arg2;
5862   return Qnil;
5863 fail:
5864   return Qnil;
5865 }
5866 
5867 
5868 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_log_msg_baton_get(int argc,VALUE * argv,VALUE self)5869 _wrap_svn_client_ctx_t_log_msg_baton_get(int argc, VALUE *argv, VALUE self) {
5870   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
5871   void *argp1 = 0 ;
5872   int res1 = 0 ;
5873   void *result = 0 ;
5874   VALUE vresult = Qnil;
5875 
5876   if ((argc < 0) || (argc > 0)) {
5877     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5878   }
5879   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
5880   if (!SWIG_IsOK(res1)) {
5881     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","log_msg_baton", 1, self ));
5882   }
5883   arg1 = (struct svn_client_ctx_t *)(argp1);
5884   result = (void *) ((arg1)->log_msg_baton);
5885   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
5886   return vresult;
5887 fail:
5888   return Qnil;
5889 }
5890 
5891 
5892 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_cancel_func_set(int argc,VALUE * argv,VALUE self)5893 _wrap_svn_client_ctx_t_cancel_func_set(int argc, VALUE *argv, VALUE self) {
5894   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
5895   svn_cancel_func_t arg2 = (svn_cancel_func_t) 0 ;
5896   void *argp1 = 0 ;
5897   int res1 = 0 ;
5898 
5899   if ((argc < 1) || (argc > 1)) {
5900     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5901   }
5902   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
5903   if (!SWIG_IsOK(res1)) {
5904     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","cancel_func", 1, self ));
5905   }
5906   arg1 = (struct svn_client_ctx_t *)(argp1);
5907   {
5908     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void__p_svn_error_t);
5909     if (!SWIG_IsOK(res)) {
5910       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_cancel_func_t","cancel_func", 2, argv[0] ));
5911     }
5912   }
5913   if (arg1) (arg1)->cancel_func = arg2;
5914   return Qnil;
5915 fail:
5916   return Qnil;
5917 }
5918 
5919 
5920 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_cancel_func_get(int argc,VALUE * argv,VALUE self)5921 _wrap_svn_client_ctx_t_cancel_func_get(int argc, VALUE *argv, VALUE self) {
5922   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
5923   void *argp1 = 0 ;
5924   int res1 = 0 ;
5925   svn_cancel_func_t result;
5926   VALUE vresult = Qnil;
5927 
5928   if ((argc < 0) || (argc > 0)) {
5929     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5930   }
5931   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
5932   if (!SWIG_IsOK(res1)) {
5933     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","cancel_func", 1, self ));
5934   }
5935   arg1 = (struct svn_client_ctx_t *)(argp1);
5936   result = (svn_cancel_func_t) ((arg1)->cancel_func);
5937   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void__p_svn_error_t);
5938   return vresult;
5939 fail:
5940   return Qnil;
5941 }
5942 
5943 
5944 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_cancel_baton_set(int argc,VALUE * argv,VALUE self)5945 _wrap_svn_client_ctx_t_cancel_baton_set(int argc, VALUE *argv, VALUE self) {
5946   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
5947   void *arg2 = (void *) 0 ;
5948   void *argp1 = 0 ;
5949   int res1 = 0 ;
5950 
5951   if ((argc < 1) || (argc > 1)) {
5952     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5953   }
5954   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
5955   if (!SWIG_IsOK(res1)) {
5956     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","cancel_baton", 1, self ));
5957   }
5958   arg1 = (struct svn_client_ctx_t *)(argp1);
5959   {
5960     arg2 = (void *)argv[0];
5961   }
5962   if (arg1) (arg1)->cancel_baton = arg2;
5963   return Qnil;
5964 fail:
5965   return Qnil;
5966 }
5967 
5968 
5969 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_cancel_baton_get(int argc,VALUE * argv,VALUE self)5970 _wrap_svn_client_ctx_t_cancel_baton_get(int argc, VALUE *argv, VALUE self) {
5971   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
5972   void *argp1 = 0 ;
5973   int res1 = 0 ;
5974   void *result = 0 ;
5975   VALUE vresult = Qnil;
5976 
5977   if ((argc < 0) || (argc > 0)) {
5978     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5979   }
5980   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
5981   if (!SWIG_IsOK(res1)) {
5982     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","cancel_baton", 1, self ));
5983   }
5984   arg1 = (struct svn_client_ctx_t *)(argp1);
5985   result = (void *) ((arg1)->cancel_baton);
5986   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
5987   return vresult;
5988 fail:
5989   return Qnil;
5990 }
5991 
5992 
5993 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_notify_func2_set(int argc,VALUE * argv,VALUE self)5994 _wrap_svn_client_ctx_t_notify_func2_set(int argc, VALUE *argv, VALUE self) {
5995   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
5996   svn_wc_notify_func2_t arg2 = (svn_wc_notify_func2_t) 0 ;
5997   void *argp1 = 0 ;
5998   int res1 = 0 ;
5999 
6000   if ((argc < 1) || (argc > 1)) {
6001     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6002   }
6003   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6004   if (!SWIG_IsOK(res1)) {
6005     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","notify_func2", 1, self ));
6006   }
6007   arg1 = (struct svn_client_ctx_t *)(argp1);
6008   {
6009     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__struct_svn_wc_notify_t_p_apr_pool_t__void);
6010     if (!SWIG_IsOK(res)) {
6011       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_wc_notify_func2_t","notify_func2", 2, argv[0] ));
6012     }
6013   }
6014   if (arg1) (arg1)->notify_func2 = arg2;
6015   return Qnil;
6016 fail:
6017   return Qnil;
6018 }
6019 
6020 
6021 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_notify_func2_get(int argc,VALUE * argv,VALUE self)6022 _wrap_svn_client_ctx_t_notify_func2_get(int argc, VALUE *argv, VALUE self) {
6023   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6024   void *argp1 = 0 ;
6025   int res1 = 0 ;
6026   svn_wc_notify_func2_t result;
6027   VALUE vresult = Qnil;
6028 
6029   if ((argc < 0) || (argc > 0)) {
6030     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6031   }
6032   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6033   if (!SWIG_IsOK(res1)) {
6034     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","notify_func2", 1, self ));
6035   }
6036   arg1 = (struct svn_client_ctx_t *)(argp1);
6037   result = (svn_wc_notify_func2_t) ((arg1)->notify_func2);
6038   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__struct_svn_wc_notify_t_p_apr_pool_t__void);
6039   return vresult;
6040 fail:
6041   return Qnil;
6042 }
6043 
6044 
6045 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_notify_baton2_set(int argc,VALUE * argv,VALUE self)6046 _wrap_svn_client_ctx_t_notify_baton2_set(int argc, VALUE *argv, VALUE self) {
6047   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6048   void *arg2 = (void *) 0 ;
6049   void *argp1 = 0 ;
6050   int res1 = 0 ;
6051 
6052   if ((argc < 1) || (argc > 1)) {
6053     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6054   }
6055   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6056   if (!SWIG_IsOK(res1)) {
6057     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","notify_baton2", 1, self ));
6058   }
6059   arg1 = (struct svn_client_ctx_t *)(argp1);
6060   {
6061     arg2 = (void *)argv[0];
6062   }
6063   if (arg1) (arg1)->notify_baton2 = arg2;
6064   return Qnil;
6065 fail:
6066   return Qnil;
6067 }
6068 
6069 
6070 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_notify_baton2_get(int argc,VALUE * argv,VALUE self)6071 _wrap_svn_client_ctx_t_notify_baton2_get(int argc, VALUE *argv, VALUE self) {
6072   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6073   void *argp1 = 0 ;
6074   int res1 = 0 ;
6075   void *result = 0 ;
6076   VALUE vresult = Qnil;
6077 
6078   if ((argc < 0) || (argc > 0)) {
6079     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6080   }
6081   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6082   if (!SWIG_IsOK(res1)) {
6083     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","notify_baton2", 1, self ));
6084   }
6085   arg1 = (struct svn_client_ctx_t *)(argp1);
6086   result = (void *) ((arg1)->notify_baton2);
6087   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
6088   return vresult;
6089 fail:
6090   return Qnil;
6091 }
6092 
6093 
6094 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_log_msg_func2_set(int argc,VALUE * argv,VALUE self)6095 _wrap_svn_client_ctx_t_log_msg_func2_set(int argc, VALUE *argv, VALUE self) {
6096   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6097   svn_client_get_commit_log2_t arg2 = (svn_client_get_commit_log2_t) 0 ;
6098   void *argp1 = 0 ;
6099   int res1 = 0 ;
6100 
6101   if ((argc < 1) || (argc > 1)) {
6102     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6103   }
6104   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6105   if (!SWIG_IsOK(res1)) {
6106     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","log_msg_func2", 1, self ));
6107   }
6108   arg1 = (struct svn_client_ctx_t *)(argp1);
6109   {
6110     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_p_q_const__char_p_p_q_const__char_p_q_const__apr_array_header_t_p_void_p_apr_pool_t__p_svn_error_t);
6111     if (!SWIG_IsOK(res)) {
6112       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_get_commit_log2_t","log_msg_func2", 2, argv[0] ));
6113     }
6114   }
6115   if (arg1) (arg1)->log_msg_func2 = arg2;
6116   return Qnil;
6117 fail:
6118   return Qnil;
6119 }
6120 
6121 
6122 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_log_msg_func2_get(int argc,VALUE * argv,VALUE self)6123 _wrap_svn_client_ctx_t_log_msg_func2_get(int argc, VALUE *argv, VALUE self) {
6124   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6125   void *argp1 = 0 ;
6126   int res1 = 0 ;
6127   svn_client_get_commit_log2_t result;
6128   VALUE vresult = Qnil;
6129 
6130   if ((argc < 0) || (argc > 0)) {
6131     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6132   }
6133   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6134   if (!SWIG_IsOK(res1)) {
6135     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","log_msg_func2", 1, self ));
6136   }
6137   arg1 = (struct svn_client_ctx_t *)(argp1);
6138   result = (svn_client_get_commit_log2_t) ((arg1)->log_msg_func2);
6139   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_p_q_const__char_p_p_q_const__char_p_q_const__apr_array_header_t_p_void_p_apr_pool_t__p_svn_error_t);
6140   return vresult;
6141 fail:
6142   return Qnil;
6143 }
6144 
6145 
6146 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_log_msg_baton2_set(int argc,VALUE * argv,VALUE self)6147 _wrap_svn_client_ctx_t_log_msg_baton2_set(int argc, VALUE *argv, VALUE self) {
6148   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6149   void *arg2 = (void *) 0 ;
6150   void *argp1 = 0 ;
6151   int res1 = 0 ;
6152   int res2 ;
6153 
6154   if ((argc < 1) || (argc > 1)) {
6155     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6156   }
6157   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6158   if (!SWIG_IsOK(res1)) {
6159     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","log_msg_baton2", 1, self ));
6160   }
6161   arg1 = (struct svn_client_ctx_t *)(argp1);
6162   res2 = SWIG_ConvertPtr(argv[0],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
6163   if (!SWIG_IsOK(res2)) {
6164     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","log_msg_baton2", 2, argv[0] ));
6165   }
6166   if (arg1) (arg1)->log_msg_baton2 = arg2;
6167   return Qnil;
6168 fail:
6169   return Qnil;
6170 }
6171 
6172 
6173 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_log_msg_baton2_get(int argc,VALUE * argv,VALUE self)6174 _wrap_svn_client_ctx_t_log_msg_baton2_get(int argc, VALUE *argv, VALUE self) {
6175   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6176   void *argp1 = 0 ;
6177   int res1 = 0 ;
6178   void *result = 0 ;
6179   VALUE vresult = Qnil;
6180 
6181   if ((argc < 0) || (argc > 0)) {
6182     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6183   }
6184   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6185   if (!SWIG_IsOK(res1)) {
6186     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","log_msg_baton2", 1, self ));
6187   }
6188   arg1 = (struct svn_client_ctx_t *)(argp1);
6189   result = (void *) ((arg1)->log_msg_baton2);
6190   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
6191   return vresult;
6192 fail:
6193   return Qnil;
6194 }
6195 
6196 
6197 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_progress_func_set(int argc,VALUE * argv,VALUE self)6198 _wrap_svn_client_ctx_t_progress_func_set(int argc, VALUE *argv, VALUE self) {
6199   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6200   svn_ra_progress_notify_func_t arg2 = (svn_ra_progress_notify_func_t) 0 ;
6201   void *argp1 = 0 ;
6202   int res1 = 0 ;
6203 
6204   if ((argc < 1) || (argc > 1)) {
6205     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6206   }
6207   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6208   if (!SWIG_IsOK(res1)) {
6209     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","progress_func", 1, self ));
6210   }
6211   arg1 = (struct svn_client_ctx_t *)(argp1);
6212   {
6213     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_apr_off_t_apr_off_t_p_void_p_apr_pool_t__void);
6214     if (!SWIG_IsOK(res)) {
6215       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_progress_notify_func_t","progress_func", 2, argv[0] ));
6216     }
6217   }
6218   if (arg1) (arg1)->progress_func = arg2;
6219   return Qnil;
6220 fail:
6221   return Qnil;
6222 }
6223 
6224 
6225 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_progress_func_get(int argc,VALUE * argv,VALUE self)6226 _wrap_svn_client_ctx_t_progress_func_get(int argc, VALUE *argv, VALUE self) {
6227   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6228   void *argp1 = 0 ;
6229   int res1 = 0 ;
6230   svn_ra_progress_notify_func_t result;
6231   VALUE vresult = Qnil;
6232 
6233   if ((argc < 0) || (argc > 0)) {
6234     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6235   }
6236   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6237   if (!SWIG_IsOK(res1)) {
6238     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","progress_func", 1, self ));
6239   }
6240   arg1 = (struct svn_client_ctx_t *)(argp1);
6241   result = (svn_ra_progress_notify_func_t) ((arg1)->progress_func);
6242   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_apr_off_t_apr_off_t_p_void_p_apr_pool_t__void);
6243   return vresult;
6244 fail:
6245   return Qnil;
6246 }
6247 
6248 
6249 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_progress_baton_set(int argc,VALUE * argv,VALUE self)6250 _wrap_svn_client_ctx_t_progress_baton_set(int argc, VALUE *argv, VALUE self) {
6251   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6252   void *arg2 = (void *) 0 ;
6253   void *argp1 = 0 ;
6254   int res1 = 0 ;
6255   int res2 ;
6256 
6257   if ((argc < 1) || (argc > 1)) {
6258     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6259   }
6260   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6261   if (!SWIG_IsOK(res1)) {
6262     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","progress_baton", 1, self ));
6263   }
6264   arg1 = (struct svn_client_ctx_t *)(argp1);
6265   res2 = SWIG_ConvertPtr(argv[0],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
6266   if (!SWIG_IsOK(res2)) {
6267     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","progress_baton", 2, argv[0] ));
6268   }
6269   if (arg1) (arg1)->progress_baton = arg2;
6270   return Qnil;
6271 fail:
6272   return Qnil;
6273 }
6274 
6275 
6276 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_progress_baton_get(int argc,VALUE * argv,VALUE self)6277 _wrap_svn_client_ctx_t_progress_baton_get(int argc, VALUE *argv, VALUE self) {
6278   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6279   void *argp1 = 0 ;
6280   int res1 = 0 ;
6281   void *result = 0 ;
6282   VALUE vresult = Qnil;
6283 
6284   if ((argc < 0) || (argc > 0)) {
6285     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6286   }
6287   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6288   if (!SWIG_IsOK(res1)) {
6289     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","progress_baton", 1, self ));
6290   }
6291   arg1 = (struct svn_client_ctx_t *)(argp1);
6292   result = (void *) ((arg1)->progress_baton);
6293   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
6294   return vresult;
6295 fail:
6296   return Qnil;
6297 }
6298 
6299 
6300 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_log_msg_func3_set(int argc,VALUE * argv,VALUE self)6301 _wrap_svn_client_ctx_t_log_msg_func3_set(int argc, VALUE *argv, VALUE self) {
6302   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6303   svn_client_get_commit_log3_t arg2 = (svn_client_get_commit_log3_t) 0 ;
6304   void *argp1 = 0 ;
6305   int res1 = 0 ;
6306 
6307   if ((argc < 1) || (argc > 1)) {
6308     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6309   }
6310   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6311   if (!SWIG_IsOK(res1)) {
6312     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","log_msg_func3", 1, self ));
6313   }
6314   arg1 = (struct svn_client_ctx_t *)(argp1);
6315   {
6316     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_p_q_const__char_p_p_q_const__char_p_q_const__apr_array_header_t_p_void_p_apr_pool_t__p_svn_error_t);
6317     if (!SWIG_IsOK(res)) {
6318       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_get_commit_log3_t","log_msg_func3", 2, argv[0] ));
6319     }
6320   }
6321   if (arg1) (arg1)->log_msg_func3 = arg2;
6322   return Qnil;
6323 fail:
6324   return Qnil;
6325 }
6326 
6327 
6328 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_log_msg_func3_get(int argc,VALUE * argv,VALUE self)6329 _wrap_svn_client_ctx_t_log_msg_func3_get(int argc, VALUE *argv, VALUE self) {
6330   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6331   void *argp1 = 0 ;
6332   int res1 = 0 ;
6333   svn_client_get_commit_log3_t result;
6334   VALUE vresult = Qnil;
6335 
6336   if ((argc < 0) || (argc > 0)) {
6337     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6338   }
6339   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6340   if (!SWIG_IsOK(res1)) {
6341     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","log_msg_func3", 1, self ));
6342   }
6343   arg1 = (struct svn_client_ctx_t *)(argp1);
6344   result = (svn_client_get_commit_log3_t) ((arg1)->log_msg_func3);
6345   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_p_q_const__char_p_p_q_const__char_p_q_const__apr_array_header_t_p_void_p_apr_pool_t__p_svn_error_t);
6346   return vresult;
6347 fail:
6348   return Qnil;
6349 }
6350 
6351 
6352 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_log_msg_baton3_set(int argc,VALUE * argv,VALUE self)6353 _wrap_svn_client_ctx_t_log_msg_baton3_set(int argc, VALUE *argv, VALUE self) {
6354   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6355   void *arg2 = (void *) 0 ;
6356   void *argp1 = 0 ;
6357   int res1 = 0 ;
6358 
6359   if ((argc < 1) || (argc > 1)) {
6360     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6361   }
6362   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6363   if (!SWIG_IsOK(res1)) {
6364     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","log_msg_baton3", 1, self ));
6365   }
6366   arg1 = (struct svn_client_ctx_t *)(argp1);
6367   {
6368     arg2 = (void *)argv[0];
6369   }
6370   if (arg1) (arg1)->log_msg_baton3 = arg2;
6371   return Qnil;
6372 fail:
6373   return Qnil;
6374 }
6375 
6376 
6377 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_log_msg_baton3_get(int argc,VALUE * argv,VALUE self)6378 _wrap_svn_client_ctx_t_log_msg_baton3_get(int argc, VALUE *argv, VALUE self) {
6379   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6380   void *argp1 = 0 ;
6381   int res1 = 0 ;
6382   void *result = 0 ;
6383   VALUE vresult = Qnil;
6384 
6385   if ((argc < 0) || (argc > 0)) {
6386     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6387   }
6388   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6389   if (!SWIG_IsOK(res1)) {
6390     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","log_msg_baton3", 1, self ));
6391   }
6392   arg1 = (struct svn_client_ctx_t *)(argp1);
6393   result = (void *) ((arg1)->log_msg_baton3);
6394   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
6395   return vresult;
6396 fail:
6397   return Qnil;
6398 }
6399 
6400 
6401 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_mimetypes_map_set(int argc,VALUE * argv,VALUE self)6402 _wrap_svn_client_ctx_t_mimetypes_map_set(int argc, VALUE *argv, VALUE self) {
6403   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6404   apr_hash_t *arg2 = (apr_hash_t *) 0 ;
6405   void *argp1 = 0 ;
6406   int res1 = 0 ;
6407 
6408   if ((argc < 1) || (argc > 1)) {
6409     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6410   }
6411   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6412   if (!SWIG_IsOK(res1)) {
6413     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","mimetypes_map", 1, self ));
6414   }
6415   arg1 = (struct svn_client_ctx_t *)(argp1);
6416   {
6417     VALUE rb_pool = Qnil;
6418     if (!_global_pool) {
6419       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
6420       svn_swig_rb_push_pool(rb_pool);
6421     }
6422     arg2 = (NIL_P(argv[0])) ? NULL :
6423     svn_swig_rb_hash_to_apr_hash_string(argv[0], _global_pool);
6424     _global_pool = NULL;
6425     if (!NIL_P(rb_pool)) {
6426       if (NIL_P(arg2)) {
6427         svn_swig_rb_destroy_pool(rb_pool);
6428       } else {
6429         svn_swig_rb_set_pool_for_no_swig_type(argv[0], rb_pool);
6430       }
6431       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6432     }
6433   }
6434   if (arg1) (arg1)->mimetypes_map = arg2;
6435   return Qnil;
6436 fail:
6437   return Qnil;
6438 }
6439 
6440 
6441 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_mimetypes_map_get(int argc,VALUE * argv,VALUE self)6442 _wrap_svn_client_ctx_t_mimetypes_map_get(int argc, VALUE *argv, VALUE self) {
6443   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6444   void *argp1 = 0 ;
6445   int res1 = 0 ;
6446   apr_hash_t *result = 0 ;
6447   VALUE vresult = Qnil;
6448 
6449   if ((argc < 0) || (argc > 0)) {
6450     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6451   }
6452   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6453   if (!SWIG_IsOK(res1)) {
6454     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","mimetypes_map", 1, self ));
6455   }
6456   arg1 = (struct svn_client_ctx_t *)(argp1);
6457   result = (apr_hash_t *) ((arg1)->mimetypes_map);
6458   {
6459     vresult = result ? svn_swig_rb_apr_hash_to_hash_string(result) : Qnil;
6460   }
6461   return vresult;
6462 fail:
6463   return Qnil;
6464 }
6465 
6466 
6467 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_conflict_func_set(int argc,VALUE * argv,VALUE self)6468 _wrap_svn_client_ctx_t_conflict_func_set(int argc, VALUE *argv, VALUE self) {
6469   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6470   svn_wc_conflict_resolver_func_t arg2 = (svn_wc_conflict_resolver_func_t) 0 ;
6471   void *argp1 = 0 ;
6472   int res1 = 0 ;
6473 
6474   if ((argc < 1) || (argc > 1)) {
6475     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6476   }
6477   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6478   if (!SWIG_IsOK(res1)) {
6479     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","conflict_func", 1, self ));
6480   }
6481   arg1 = (struct svn_client_ctx_t *)(argp1);
6482   {
6483     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description_t_p_void_p_apr_pool_t__p_svn_error_t);
6484     if (!SWIG_IsOK(res)) {
6485       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_wc_conflict_resolver_func_t","conflict_func", 2, argv[0] ));
6486     }
6487   }
6488   if (arg1) (arg1)->conflict_func = arg2;
6489   return Qnil;
6490 fail:
6491   return Qnil;
6492 }
6493 
6494 
6495 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_conflict_func_get(int argc,VALUE * argv,VALUE self)6496 _wrap_svn_client_ctx_t_conflict_func_get(int argc, VALUE *argv, VALUE self) {
6497   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6498   void *argp1 = 0 ;
6499   int res1 = 0 ;
6500   svn_wc_conflict_resolver_func_t result;
6501   VALUE vresult = Qnil;
6502 
6503   if ((argc < 0) || (argc > 0)) {
6504     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6505   }
6506   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6507   if (!SWIG_IsOK(res1)) {
6508     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","conflict_func", 1, self ));
6509   }
6510   arg1 = (struct svn_client_ctx_t *)(argp1);
6511   result = (svn_wc_conflict_resolver_func_t) ((arg1)->conflict_func);
6512   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description_t_p_void_p_apr_pool_t__p_svn_error_t);
6513   return vresult;
6514 fail:
6515   return Qnil;
6516 }
6517 
6518 
6519 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_conflict_baton_set(int argc,VALUE * argv,VALUE self)6520 _wrap_svn_client_ctx_t_conflict_baton_set(int argc, VALUE *argv, VALUE self) {
6521   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6522   void *arg2 = (void *) 0 ;
6523   void *argp1 = 0 ;
6524   int res1 = 0 ;
6525   int res2 ;
6526 
6527   if ((argc < 1) || (argc > 1)) {
6528     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6529   }
6530   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6531   if (!SWIG_IsOK(res1)) {
6532     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","conflict_baton", 1, self ));
6533   }
6534   arg1 = (struct svn_client_ctx_t *)(argp1);
6535   res2 = SWIG_ConvertPtr(argv[0],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
6536   if (!SWIG_IsOK(res2)) {
6537     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","conflict_baton", 2, argv[0] ));
6538   }
6539   if (arg1) (arg1)->conflict_baton = arg2;
6540   return Qnil;
6541 fail:
6542   return Qnil;
6543 }
6544 
6545 
6546 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_conflict_baton_get(int argc,VALUE * argv,VALUE self)6547 _wrap_svn_client_ctx_t_conflict_baton_get(int argc, VALUE *argv, VALUE self) {
6548   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6549   void *argp1 = 0 ;
6550   int res1 = 0 ;
6551   void *result = 0 ;
6552   VALUE vresult = Qnil;
6553 
6554   if ((argc < 0) || (argc > 0)) {
6555     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6556   }
6557   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6558   if (!SWIG_IsOK(res1)) {
6559     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","conflict_baton", 1, self ));
6560   }
6561   arg1 = (struct svn_client_ctx_t *)(argp1);
6562   result = (void *) ((arg1)->conflict_baton);
6563   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
6564   return vresult;
6565 fail:
6566   return Qnil;
6567 }
6568 
6569 
6570 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_client_name_set(int argc,VALUE * argv,VALUE self)6571 _wrap_svn_client_ctx_t_client_name_set(int argc, VALUE *argv, VALUE self) {
6572   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6573   char *arg2 = (char *) 0 ;
6574   void *argp1 = 0 ;
6575   int res1 = 0 ;
6576   int res2 ;
6577   char *buf2 = 0 ;
6578   int alloc2 = 0 ;
6579 
6580   if ((argc < 1) || (argc > 1)) {
6581     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6582   }
6583   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6584   if (!SWIG_IsOK(res1)) {
6585     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","client_name", 1, self ));
6586   }
6587   arg1 = (struct svn_client_ctx_t *)(argp1);
6588   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
6589   if (!SWIG_IsOK(res2)) {
6590     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","client_name", 2, argv[0] ));
6591   }
6592   arg2 = (char *)(buf2);
6593   {
6594     apr_size_t len = strlen(arg2) + 1;
6595     char *copied;
6596     if (arg1->client_name) free((char *)arg1->client_name);
6597     copied = malloc(len);
6598     memcpy(copied, arg2, len);
6599     arg1->client_name = copied;
6600   }
6601   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6602   return Qnil;
6603 fail:
6604   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6605   return Qnil;
6606 }
6607 
6608 
6609 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_client_name_get(int argc,VALUE * argv,VALUE self)6610 _wrap_svn_client_ctx_t_client_name_get(int argc, VALUE *argv, VALUE self) {
6611   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6612   void *argp1 = 0 ;
6613   int res1 = 0 ;
6614   char *result = 0 ;
6615   VALUE vresult = Qnil;
6616 
6617   if ((argc < 0) || (argc > 0)) {
6618     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6619   }
6620   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6621   if (!SWIG_IsOK(res1)) {
6622     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","client_name", 1, self ));
6623   }
6624   arg1 = (struct svn_client_ctx_t *)(argp1);
6625   result = (char *) ((arg1)->client_name);
6626   {
6627     if (result) {
6628       vresult = rb_str_new2(result);
6629     } else {
6630       vresult = Qnil;
6631     }
6632   }
6633   return vresult;
6634 fail:
6635   return Qnil;
6636 }
6637 
6638 
6639 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_conflict_func2_set(int argc,VALUE * argv,VALUE self)6640 _wrap_svn_client_ctx_t_conflict_func2_set(int argc, VALUE *argv, VALUE self) {
6641   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6642   svn_wc_conflict_resolver_func2_t arg2 = (svn_wc_conflict_resolver_func2_t) 0 ;
6643   void *argp1 = 0 ;
6644   int res1 = 0 ;
6645 
6646   if ((argc < 1) || (argc > 1)) {
6647     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6648   }
6649   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6650   if (!SWIG_IsOK(res1)) {
6651     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","conflict_func2", 1, self ));
6652   }
6653   arg1 = (struct svn_client_ctx_t *)(argp1);
6654   {
6655     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description2_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t);
6656     if (!SWIG_IsOK(res)) {
6657       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_wc_conflict_resolver_func2_t","conflict_func2", 2, argv[0] ));
6658     }
6659   }
6660   if (arg1) (arg1)->conflict_func2 = arg2;
6661   return Qnil;
6662 fail:
6663   return Qnil;
6664 }
6665 
6666 
6667 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_conflict_func2_get(int argc,VALUE * argv,VALUE self)6668 _wrap_svn_client_ctx_t_conflict_func2_get(int argc, VALUE *argv, VALUE self) {
6669   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6670   void *argp1 = 0 ;
6671   int res1 = 0 ;
6672   svn_wc_conflict_resolver_func2_t result;
6673   VALUE vresult = Qnil;
6674 
6675   if ((argc < 0) || (argc > 0)) {
6676     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6677   }
6678   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6679   if (!SWIG_IsOK(res1)) {
6680     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","conflict_func2", 1, self ));
6681   }
6682   arg1 = (struct svn_client_ctx_t *)(argp1);
6683   result = (svn_wc_conflict_resolver_func2_t) ((arg1)->conflict_func2);
6684   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description2_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t);
6685   return vresult;
6686 fail:
6687   return Qnil;
6688 }
6689 
6690 
6691 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_conflict_baton2_set(int argc,VALUE * argv,VALUE self)6692 _wrap_svn_client_ctx_t_conflict_baton2_set(int argc, VALUE *argv, VALUE self) {
6693   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6694   void *arg2 = (void *) 0 ;
6695   void *argp1 = 0 ;
6696   int res1 = 0 ;
6697   int res2 ;
6698 
6699   if ((argc < 1) || (argc > 1)) {
6700     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6701   }
6702   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6703   if (!SWIG_IsOK(res1)) {
6704     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","conflict_baton2", 1, self ));
6705   }
6706   arg1 = (struct svn_client_ctx_t *)(argp1);
6707   res2 = SWIG_ConvertPtr(argv[0],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
6708   if (!SWIG_IsOK(res2)) {
6709     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","conflict_baton2", 2, argv[0] ));
6710   }
6711   if (arg1) (arg1)->conflict_baton2 = arg2;
6712   return Qnil;
6713 fail:
6714   return Qnil;
6715 }
6716 
6717 
6718 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_conflict_baton2_get(int argc,VALUE * argv,VALUE self)6719 _wrap_svn_client_ctx_t_conflict_baton2_get(int argc, VALUE *argv, VALUE self) {
6720   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6721   void *argp1 = 0 ;
6722   int res1 = 0 ;
6723   void *result = 0 ;
6724   VALUE vresult = Qnil;
6725 
6726   if ((argc < 0) || (argc > 0)) {
6727     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6728   }
6729   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6730   if (!SWIG_IsOK(res1)) {
6731     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","conflict_baton2", 1, self ));
6732   }
6733   arg1 = (struct svn_client_ctx_t *)(argp1);
6734   result = (void *) ((arg1)->conflict_baton2);
6735   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
6736   return vresult;
6737 fail:
6738   return Qnil;
6739 }
6740 
6741 
6742 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_wc_ctx_set(int argc,VALUE * argv,VALUE self)6743 _wrap_svn_client_ctx_t_wc_ctx_set(int argc, VALUE *argv, VALUE self) {
6744   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6745   svn_wc_context_t *arg2 = (svn_wc_context_t *) 0 ;
6746   void *argp1 = 0 ;
6747   int res1 = 0 ;
6748   void *argp2 = 0 ;
6749   int res2 = 0 ;
6750 
6751   if ((argc < 1) || (argc > 1)) {
6752     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6753   }
6754   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6755   if (!SWIG_IsOK(res1)) {
6756     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","wc_ctx", 1, self ));
6757   }
6758   arg1 = (struct svn_client_ctx_t *)(argp1);
6759   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_wc_context_t, SWIG_POINTER_DISOWN |  0 );
6760   if (!SWIG_IsOK(res2)) {
6761     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_wc_context_t *","wc_ctx", 2, argv[0] ));
6762   }
6763   arg2 = (svn_wc_context_t *)(argp2);
6764   if (arg1) (arg1)->wc_ctx = arg2;
6765   return Qnil;
6766 fail:
6767   return Qnil;
6768 }
6769 
6770 
6771 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_wc_ctx_get(int argc,VALUE * argv,VALUE self)6772 _wrap_svn_client_ctx_t_wc_ctx_get(int argc, VALUE *argv, VALUE self) {
6773   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6774   void *argp1 = 0 ;
6775   int res1 = 0 ;
6776   svn_wc_context_t *result = 0 ;
6777   VALUE vresult = Qnil;
6778 
6779   if ((argc < 0) || (argc > 0)) {
6780     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6781   }
6782   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6783   if (!SWIG_IsOK(res1)) {
6784     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","wc_ctx", 1, self ));
6785   }
6786   arg1 = (struct svn_client_ctx_t *)(argp1);
6787   result = (svn_wc_context_t *) ((arg1)->wc_ctx);
6788   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_wc_context_t, 0 |  0 );
6789   return vresult;
6790 fail:
6791   return Qnil;
6792 }
6793 
6794 
6795 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_check_tunnel_func_set(int argc,VALUE * argv,VALUE self)6796 _wrap_svn_client_ctx_t_check_tunnel_func_set(int argc, VALUE *argv, VALUE self) {
6797   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6798   svn_ra_check_tunnel_func_t arg2 = (svn_ra_check_tunnel_func_t) 0 ;
6799   void *argp1 = 0 ;
6800   int res1 = 0 ;
6801 
6802   if ((argc < 1) || (argc > 1)) {
6803     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6804   }
6805   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6806   if (!SWIG_IsOK(res1)) {
6807     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","check_tunnel_func", 1, self ));
6808   }
6809   arg1 = (struct svn_client_ctx_t *)(argp1);
6810   {
6811     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char__int);
6812     if (!SWIG_IsOK(res)) {
6813       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_check_tunnel_func_t","check_tunnel_func", 2, argv[0] ));
6814     }
6815   }
6816   if (arg1) (arg1)->check_tunnel_func = arg2;
6817   return Qnil;
6818 fail:
6819   return Qnil;
6820 }
6821 
6822 
6823 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_check_tunnel_func_get(int argc,VALUE * argv,VALUE self)6824 _wrap_svn_client_ctx_t_check_tunnel_func_get(int argc, VALUE *argv, VALUE self) {
6825   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6826   void *argp1 = 0 ;
6827   int res1 = 0 ;
6828   svn_ra_check_tunnel_func_t result;
6829   VALUE vresult = Qnil;
6830 
6831   if ((argc < 0) || (argc > 0)) {
6832     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6833   }
6834   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6835   if (!SWIG_IsOK(res1)) {
6836     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","check_tunnel_func", 1, self ));
6837   }
6838   arg1 = (struct svn_client_ctx_t *)(argp1);
6839   result = (svn_ra_check_tunnel_func_t) ((arg1)->check_tunnel_func);
6840   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char__int);
6841   return vresult;
6842 fail:
6843   return Qnil;
6844 }
6845 
6846 
6847 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_open_tunnel_func_set(int argc,VALUE * argv,VALUE self)6848 _wrap_svn_client_ctx_t_open_tunnel_func_set(int argc, VALUE *argv, VALUE self) {
6849   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6850   svn_ra_open_tunnel_func_t arg2 = (svn_ra_open_tunnel_func_t) 0 ;
6851   void *argp1 = 0 ;
6852   int res1 = 0 ;
6853 
6854   if ((argc < 1) || (argc > 1)) {
6855     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6856   }
6857   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6858   if (!SWIG_IsOK(res1)) {
6859     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","open_tunnel_func", 1, self ));
6860   }
6861   arg1 = (struct svn_client_ctx_t *)(argp1);
6862   {
6863     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t);
6864     if (!SWIG_IsOK(res)) {
6865       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_open_tunnel_func_t","open_tunnel_func", 2, argv[0] ));
6866     }
6867   }
6868   if (arg1) (arg1)->open_tunnel_func = arg2;
6869   return Qnil;
6870 fail:
6871   return Qnil;
6872 }
6873 
6874 
6875 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_open_tunnel_func_get(int argc,VALUE * argv,VALUE self)6876 _wrap_svn_client_ctx_t_open_tunnel_func_get(int argc, VALUE *argv, VALUE self) {
6877   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6878   void *argp1 = 0 ;
6879   int res1 = 0 ;
6880   svn_ra_open_tunnel_func_t result;
6881   VALUE vresult = Qnil;
6882 
6883   if ((argc < 0) || (argc > 0)) {
6884     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6885   }
6886   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6887   if (!SWIG_IsOK(res1)) {
6888     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","open_tunnel_func", 1, self ));
6889   }
6890   arg1 = (struct svn_client_ctx_t *)(argp1);
6891   result = (svn_ra_open_tunnel_func_t) ((arg1)->open_tunnel_func);
6892   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t);
6893   return vresult;
6894 fail:
6895   return Qnil;
6896 }
6897 
6898 
6899 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_tunnel_baton_set(int argc,VALUE * argv,VALUE self)6900 _wrap_svn_client_ctx_t_tunnel_baton_set(int argc, VALUE *argv, VALUE self) {
6901   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6902   void *arg2 = (void *) 0 ;
6903   void *argp1 = 0 ;
6904   int res1 = 0 ;
6905   int res2 ;
6906 
6907   if ((argc < 1) || (argc > 1)) {
6908     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6909   }
6910   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6911   if (!SWIG_IsOK(res1)) {
6912     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","tunnel_baton", 1, self ));
6913   }
6914   arg1 = (struct svn_client_ctx_t *)(argp1);
6915   res2 = SWIG_ConvertPtr(argv[0],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
6916   if (!SWIG_IsOK(res2)) {
6917     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","tunnel_baton", 2, argv[0] ));
6918   }
6919   if (arg1) (arg1)->tunnel_baton = arg2;
6920   return Qnil;
6921 fail:
6922   return Qnil;
6923 }
6924 
6925 
6926 SWIGINTERN VALUE
_wrap_svn_client_ctx_t_tunnel_baton_get(int argc,VALUE * argv,VALUE self)6927 _wrap_svn_client_ctx_t_tunnel_baton_get(int argc, VALUE *argv, VALUE self) {
6928   struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
6929   void *argp1 = 0 ;
6930   int res1 = 0 ;
6931   void *result = 0 ;
6932   VALUE vresult = Qnil;
6933 
6934   if ((argc < 0) || (argc > 0)) {
6935     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6936   }
6937   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
6938   if (!SWIG_IsOK(res1)) {
6939     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","tunnel_baton", 1, self ));
6940   }
6941   arg1 = (struct svn_client_ctx_t *)(argp1);
6942   result = (void *) ((arg1)->tunnel_baton);
6943   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
6944   return vresult;
6945 fail:
6946   return Qnil;
6947 }
6948 
6949 
6950 SWIGINTERN VALUE
6951 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_svn_client_ctx_t_allocate(VALUE self)6952 _wrap_svn_client_ctx_t_allocate(VALUE self)
6953 #else
6954 _wrap_svn_client_ctx_t_allocate(int argc, VALUE *argv, VALUE self)
6955 #endif
6956 {
6957   VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_client_ctx_t);
6958 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
6959   rb_obj_call_init(vresult, argc, argv);
6960 #endif
6961   return vresult;
6962 }
6963 
6964 
6965 SWIGINTERN VALUE
_wrap_new_svn_client_ctx_t(int argc,VALUE * argv,VALUE self)6966 _wrap_new_svn_client_ctx_t(int argc, VALUE *argv, VALUE self) {
6967   apr_pool_t *arg1 = (apr_pool_t *) 0 ;
6968   VALUE _global_svn_swig_rb_pool ;
6969   apr_pool_t *_global_pool ;
6970   struct svn_client_ctx_t *result = 0 ;
6971 
6972   {
6973     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg1);
6974     _global_pool = arg1;
6975     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
6976   }
6977   if ((argc < 0) || (argc > 1)) {
6978     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6979   }
6980   if (argc > 0) {
6981 
6982   }
6983   {
6984     result = (struct svn_client_ctx_t *)new_svn_client_ctx_t(arg1);
6985     DATA_PTR(self) = result;
6986 
6987 
6988 
6989   }
6990   {
6991     VALUE target;
6992     target = _global_vresult_address == &vresult ? self : vresult;
6993     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
6994     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6995     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6996   }
6997   return self;
6998 fail:
6999   {
7000     VALUE target;
7001     target = _global_vresult_address == &vresult ? self : vresult;
7002     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7003     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7004     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7005   }
7006   return Qnil;
7007 }
7008 
7009 
delete_svn_client_ctx_t(struct svn_client_ctx_t * self)7010 SWIGINTERN void delete_svn_client_ctx_t(struct svn_client_ctx_t *self){
7011   }
7012 SWIGINTERN void
free_svn_client_ctx_t(void * self)7013 free_svn_client_ctx_t(void *self) {
7014     struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *)self;
7015     delete_svn_client_ctx_t(arg1);
7016 }
7017 
7018 SWIGINTERN VALUE
_wrap_svn_client_create_context2(int argc,VALUE * argv,VALUE self)7019 _wrap_svn_client_create_context2(int argc, VALUE *argv, VALUE self) {
7020   svn_client_ctx_t **arg1 = (svn_client_ctx_t **) 0 ;
7021   apr_hash_t *arg2 = (apr_hash_t *) 0 ;
7022   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
7023   VALUE _global_svn_swig_rb_pool ;
7024   apr_pool_t *_global_pool ;
7025   svn_client_ctx_t *temp1 ;
7026   void *argp2 = 0 ;
7027   int res2 = 0 ;
7028   svn_error_t *result = 0 ;
7029   VALUE vresult = Qnil;
7030 
7031   {
7032     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
7033     _global_pool = arg3;
7034     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
7035   }
7036   arg1 = &temp1;
7037   if ((argc < 1) || (argc > 2)) {
7038     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7039   }
7040   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_apr_hash_t, 0 |  0 );
7041   if (!SWIG_IsOK(res2)) {
7042     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "apr_hash_t *","svn_client_create_context2", 2, argv[0] ));
7043   }
7044   arg2 = (apr_hash_t *)(argp2);
7045   if (argc > 1) {
7046 
7047   }
7048   {
7049     result = (svn_error_t *)svn_client_create_context2(arg1,arg2,arg3);
7050 
7051 
7052 
7053   }
7054   {
7055     if (result) {
7056       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7057       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7058       svn_swig_rb_handle_svn_error(result);
7059     }
7060     vresult = Qnil;
7061   }
7062   {
7063     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_client_ctx_t, 0));
7064   }
7065   {
7066     VALUE target;
7067     target = _global_vresult_address == &vresult ? self : vresult;
7068     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7069     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7070     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7071   }
7072   return vresult;
7073 fail:
7074   {
7075     VALUE target;
7076     target = _global_vresult_address == &vresult ? self : vresult;
7077     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7078     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7079     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7080   }
7081   return Qnil;
7082 }
7083 
7084 
7085 SWIGINTERN VALUE
_wrap_svn_client_args_to_target_array2(int argc,VALUE * argv,VALUE self)7086 _wrap_svn_client_args_to_target_array2(int argc, VALUE *argv, VALUE self) {
7087   apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
7088   apr_getopt_t *arg2 = (apr_getopt_t *) 0 ;
7089   apr_array_header_t *arg3 = (apr_array_header_t *) 0 ;
7090   svn_client_ctx_t *arg4 = (svn_client_ctx_t *) 0 ;
7091   svn_boolean_t arg5 ;
7092   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
7093   VALUE _global_svn_swig_rb_pool ;
7094   apr_pool_t *_global_pool ;
7095   apr_array_header_t *temp1 ;
7096   void *argp2 = 0 ;
7097   int res2 = 0 ;
7098   void *argp3 = 0 ;
7099   int res3 = 0 ;
7100   void *argp4 = 0 ;
7101   int res4 = 0 ;
7102   svn_error_t *result = 0 ;
7103   VALUE vresult = Qnil;
7104 
7105   {
7106     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
7107     _global_pool = arg6;
7108     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
7109   }
7110   arg1 = &temp1;
7111   if ((argc < 4) || (argc > 5)) {
7112     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
7113   }
7114   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_apr_getopt_t, 0 |  0 );
7115   if (!SWIG_IsOK(res2)) {
7116     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "apr_getopt_t *","svn_client_args_to_target_array2", 2, argv[0] ));
7117   }
7118   arg2 = (apr_getopt_t *)(argp2);
7119   res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_apr_array_header_t, 0 |  0 );
7120   if (!SWIG_IsOK(res3)) {
7121     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "apr_array_header_t const *","svn_client_args_to_target_array2", 3, argv[1] ));
7122   }
7123   arg3 = (apr_array_header_t *)(argp3);
7124   res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
7125   if (!SWIG_IsOK(res4)) {
7126     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_args_to_target_array2", 4, argv[2] ));
7127   }
7128   arg4 = (svn_client_ctx_t *)(argp4);
7129   arg5 = RTEST(argv[3]);
7130   if (argc > 4) {
7131 
7132   }
7133   {
7134     result = (svn_error_t *)svn_client_args_to_target_array2(arg1,arg2,(apr_array_header_t const *)arg3,arg4,arg5,arg6);
7135 
7136 
7137 
7138   }
7139   {
7140     if (result) {
7141       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7142       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7143       svn_swig_rb_handle_svn_error(result);
7144     }
7145     vresult = Qnil;
7146   }
7147   {
7148     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_array_to_array_string(*arg1));
7149   }
7150   {
7151     VALUE target;
7152     target = _global_vresult_address == &vresult ? self : vresult;
7153     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7154     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7155     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7156   }
7157   return vresult;
7158 fail:
7159   {
7160     VALUE target;
7161     target = _global_vresult_address == &vresult ? self : vresult;
7162     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7163     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7164     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7165   }
7166   return Qnil;
7167 }
7168 
7169 
7170 SWIGINTERN VALUE
_wrap_svn_client_args_to_target_array(int argc,VALUE * argv,VALUE self)7171 _wrap_svn_client_args_to_target_array(int argc, VALUE *argv, VALUE self) {
7172   apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
7173   apr_getopt_t *arg2 = (apr_getopt_t *) 0 ;
7174   apr_array_header_t *arg3 = (apr_array_header_t *) 0 ;
7175   svn_client_ctx_t *arg4 = (svn_client_ctx_t *) 0 ;
7176   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
7177   VALUE _global_svn_swig_rb_pool ;
7178   apr_pool_t *_global_pool ;
7179   apr_array_header_t *temp1 ;
7180   void *argp2 = 0 ;
7181   int res2 = 0 ;
7182   void *argp3 = 0 ;
7183   int res3 = 0 ;
7184   void *argp4 = 0 ;
7185   int res4 = 0 ;
7186   svn_error_t *result = 0 ;
7187   VALUE vresult = Qnil;
7188 
7189   {
7190     int adjusted_argc = argc;
7191     VALUE *adjusted_argv = argv;
7192 
7193     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
7194       &adjusted_argv);
7195     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
7196       &_global_svn_swig_rb_pool, &arg5);
7197     _global_pool = arg5;
7198     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
7199   }
7200   arg1 = &temp1;
7201   if ((argc < 2) || (argc > 4)) {
7202     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
7203   }
7204   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_apr_getopt_t, 0 |  0 );
7205   if (!SWIG_IsOK(res2)) {
7206     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "apr_getopt_t *","svn_client_args_to_target_array", 2, argv[0] ));
7207   }
7208   arg2 = (apr_getopt_t *)(argp2);
7209   res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_apr_array_header_t, 0 |  0 );
7210   if (!SWIG_IsOK(res3)) {
7211     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "apr_array_header_t const *","svn_client_args_to_target_array", 3, argv[1] ));
7212   }
7213   arg3 = (apr_array_header_t *)(argp3);
7214   if (argc > 2) {
7215     res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
7216     if (!SWIG_IsOK(res4)) {
7217       SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_args_to_target_array", 4, argv[2] ));
7218     }
7219     arg4 = (svn_client_ctx_t *)(argp4);
7220   }
7221   if (argc > 3) {
7222 
7223   }
7224   {
7225     result = (svn_error_t *)svn_client_args_to_target_array(arg1,arg2,(apr_array_header_t const *)arg3,arg4,arg5);
7226 
7227 
7228 
7229   }
7230   {
7231     if (result) {
7232       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7233       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7234       svn_swig_rb_handle_svn_error(result);
7235     }
7236     vresult = Qnil;
7237   }
7238   {
7239     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_array_to_array_string(*arg1));
7240   }
7241   {
7242     VALUE target;
7243     target = _global_vresult_address == &vresult ? self : vresult;
7244     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7245     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7246     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7247   }
7248   return vresult;
7249 fail:
7250   {
7251     VALUE target;
7252     target = _global_vresult_address == &vresult ? self : vresult;
7253     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7254     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7255     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7256   }
7257   return Qnil;
7258 }
7259 
7260 
7261 SWIGINTERN VALUE
_wrap_svn_client_checkout3(int argc,VALUE * argv,VALUE self)7262 _wrap_svn_client_checkout3(int argc, VALUE *argv, VALUE self) {
7263   svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
7264   char *arg2 = (char *) 0 ;
7265   char *arg3 = (char *) 0 ;
7266   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
7267   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
7268   svn_depth_t arg6 ;
7269   svn_boolean_t arg7 ;
7270   svn_boolean_t arg8 ;
7271   svn_client_ctx_t *arg9 = (svn_client_ctx_t *) 0 ;
7272   apr_pool_t *arg10 = (apr_pool_t *) 0 ;
7273   VALUE _global_svn_swig_rb_pool ;
7274   apr_pool_t *_global_pool ;
7275   svn_revnum_t temp1 ;
7276   int res1 = SWIG_TMPOBJ ;
7277   int res2 ;
7278   char *buf2 = 0 ;
7279   int alloc2 = 0 ;
7280   int res3 ;
7281   char *buf3 = 0 ;
7282   int alloc3 = 0 ;
7283   svn_opt_revision_t rev4 ;
7284   svn_opt_revision_t rev5 ;
7285   void *argp9 = 0 ;
7286   int res9 = 0 ;
7287   svn_error_t *result = 0 ;
7288   VALUE vresult = Qnil;
7289 
7290   {
7291     int adjusted_argc = argc;
7292     VALUE *adjusted_argv = argv;
7293 
7294     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
7295       &adjusted_argv);
7296     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
7297       &_global_svn_swig_rb_pool, &arg10);
7298     _global_pool = arg10;
7299     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
7300   }
7301   arg1 = &temp1;
7302   if ((argc < 7) || (argc > 9)) {
7303     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
7304   }
7305   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
7306   if (!SWIG_IsOK(res2)) {
7307     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_checkout3", 2, argv[0] ));
7308   }
7309   arg2 = (char *)(buf2);
7310   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
7311   if (!SWIG_IsOK(res3)) {
7312     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_checkout3", 3, argv[1] ));
7313   }
7314   arg3 = (char *)(buf3);
7315   {
7316     arg4 = &rev4;
7317     svn_swig_rb_set_revision(&rev4, argv[2]);
7318   }
7319   {
7320     arg5 = &rev5;
7321     svn_swig_rb_set_revision(&rev5, argv[3]);
7322   }
7323   {
7324     arg6 = svn_swig_rb_to_depth(argv[4]);
7325   }
7326   arg7 = RTEST(argv[5]);
7327   arg8 = RTEST(argv[6]);
7328   if (argc > 7) {
7329     res9 = SWIG_ConvertPtr(argv[7], &argp9,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
7330     if (!SWIG_IsOK(res9)) {
7331       SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_checkout3", 9, argv[7] ));
7332     }
7333     arg9 = (svn_client_ctx_t *)(argp9);
7334   }
7335   if (argc > 8) {
7336 
7337   }
7338   {
7339     if (!arg4) {
7340       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
7341     }
7342   }
7343   {
7344     if (!arg5) {
7345       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
7346     }
7347   }
7348   {
7349     result = (svn_error_t *)svn_client_checkout3(arg1,(char const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_opt_revision_t const *)arg5,arg6,arg7,arg8,arg9,arg10);
7350 
7351 
7352 
7353   }
7354   {
7355     if (result) {
7356       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7357       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7358       svn_swig_rb_handle_svn_error(result);
7359     }
7360     vresult = Qnil;
7361   }
7362   if (SWIG_IsTmpObj(res1)) {
7363     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg1)));
7364   } else {
7365     int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
7366     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags));
7367   }
7368   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7369   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7370   {
7371     VALUE target;
7372     target = _global_vresult_address == &vresult ? self : vresult;
7373     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7374     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7375     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7376   }
7377   return vresult;
7378 fail:
7379   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7380   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7381   {
7382     VALUE target;
7383     target = _global_vresult_address == &vresult ? self : vresult;
7384     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7385     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7386     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7387   }
7388   return Qnil;
7389 }
7390 
7391 
7392 SWIGINTERN VALUE
_wrap_svn_client_checkout2(int argc,VALUE * argv,VALUE self)7393 _wrap_svn_client_checkout2(int argc, VALUE *argv, VALUE self) {
7394   svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
7395   char *arg2 = (char *) 0 ;
7396   char *arg3 = (char *) 0 ;
7397   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
7398   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
7399   svn_boolean_t arg6 ;
7400   svn_boolean_t arg7 ;
7401   svn_client_ctx_t *arg8 = (svn_client_ctx_t *) 0 ;
7402   apr_pool_t *arg9 = (apr_pool_t *) 0 ;
7403   VALUE _global_svn_swig_rb_pool ;
7404   apr_pool_t *_global_pool ;
7405   svn_revnum_t temp1 ;
7406   int res1 = SWIG_TMPOBJ ;
7407   int res2 ;
7408   char *buf2 = 0 ;
7409   int alloc2 = 0 ;
7410   int res3 ;
7411   char *buf3 = 0 ;
7412   int alloc3 = 0 ;
7413   svn_opt_revision_t rev4 ;
7414   svn_opt_revision_t rev5 ;
7415   void *argp8 = 0 ;
7416   int res8 = 0 ;
7417   svn_error_t *result = 0 ;
7418   VALUE vresult = Qnil;
7419 
7420   {
7421     int adjusted_argc = argc;
7422     VALUE *adjusted_argv = argv;
7423 
7424     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
7425       &adjusted_argv);
7426     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
7427       &_global_svn_swig_rb_pool, &arg9);
7428     _global_pool = arg9;
7429     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
7430   }
7431   arg1 = &temp1;
7432   if ((argc < 6) || (argc > 8)) {
7433     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
7434   }
7435   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
7436   if (!SWIG_IsOK(res2)) {
7437     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_checkout2", 2, argv[0] ));
7438   }
7439   arg2 = (char *)(buf2);
7440   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
7441   if (!SWIG_IsOK(res3)) {
7442     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_checkout2", 3, argv[1] ));
7443   }
7444   arg3 = (char *)(buf3);
7445   {
7446     arg4 = &rev4;
7447     svn_swig_rb_set_revision(&rev4, argv[2]);
7448   }
7449   {
7450     arg5 = &rev5;
7451     svn_swig_rb_set_revision(&rev5, argv[3]);
7452   }
7453   arg6 = RTEST(argv[4]);
7454   arg7 = RTEST(argv[5]);
7455   if (argc > 6) {
7456     res8 = SWIG_ConvertPtr(argv[6], &argp8,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
7457     if (!SWIG_IsOK(res8)) {
7458       SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_checkout2", 8, argv[6] ));
7459     }
7460     arg8 = (svn_client_ctx_t *)(argp8);
7461   }
7462   if (argc > 7) {
7463 
7464   }
7465   {
7466     if (!arg4) {
7467       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
7468     }
7469   }
7470   {
7471     if (!arg5) {
7472       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
7473     }
7474   }
7475   {
7476     result = (svn_error_t *)svn_client_checkout2(arg1,(char const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_opt_revision_t const *)arg5,arg6,arg7,arg8,arg9);
7477 
7478 
7479 
7480   }
7481   {
7482     if (result) {
7483       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7484       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7485       svn_swig_rb_handle_svn_error(result);
7486     }
7487     vresult = Qnil;
7488   }
7489   if (SWIG_IsTmpObj(res1)) {
7490     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg1)));
7491   } else {
7492     int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
7493     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags));
7494   }
7495   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7496   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7497   {
7498     VALUE target;
7499     target = _global_vresult_address == &vresult ? self : vresult;
7500     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7501     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7502     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7503   }
7504   return vresult;
7505 fail:
7506   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7507   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7508   {
7509     VALUE target;
7510     target = _global_vresult_address == &vresult ? self : vresult;
7511     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7512     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7513     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7514   }
7515   return Qnil;
7516 }
7517 
7518 
7519 SWIGINTERN VALUE
_wrap_svn_client_checkout(int argc,VALUE * argv,VALUE self)7520 _wrap_svn_client_checkout(int argc, VALUE *argv, VALUE self) {
7521   svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
7522   char *arg2 = (char *) 0 ;
7523   char *arg3 = (char *) 0 ;
7524   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
7525   svn_boolean_t arg5 ;
7526   svn_client_ctx_t *arg6 = (svn_client_ctx_t *) 0 ;
7527   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
7528   VALUE _global_svn_swig_rb_pool ;
7529   apr_pool_t *_global_pool ;
7530   svn_revnum_t temp1 ;
7531   int res1 = SWIG_TMPOBJ ;
7532   int res2 ;
7533   char *buf2 = 0 ;
7534   int alloc2 = 0 ;
7535   int res3 ;
7536   char *buf3 = 0 ;
7537   int alloc3 = 0 ;
7538   svn_opt_revision_t rev4 ;
7539   void *argp6 = 0 ;
7540   int res6 = 0 ;
7541   svn_error_t *result = 0 ;
7542   VALUE vresult = Qnil;
7543 
7544   {
7545     int adjusted_argc = argc;
7546     VALUE *adjusted_argv = argv;
7547 
7548     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
7549       &adjusted_argv);
7550     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
7551       &_global_svn_swig_rb_pool, &arg7);
7552     _global_pool = arg7;
7553     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
7554   }
7555   arg1 = &temp1;
7556   if ((argc < 4) || (argc > 6)) {
7557     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
7558   }
7559   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
7560   if (!SWIG_IsOK(res2)) {
7561     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_checkout", 2, argv[0] ));
7562   }
7563   arg2 = (char *)(buf2);
7564   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
7565   if (!SWIG_IsOK(res3)) {
7566     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_checkout", 3, argv[1] ));
7567   }
7568   arg3 = (char *)(buf3);
7569   {
7570     arg4 = &rev4;
7571     svn_swig_rb_set_revision(&rev4, argv[2]);
7572   }
7573   arg5 = RTEST(argv[3]);
7574   if (argc > 4) {
7575     res6 = SWIG_ConvertPtr(argv[4], &argp6,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
7576     if (!SWIG_IsOK(res6)) {
7577       SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_checkout", 6, argv[4] ));
7578     }
7579     arg6 = (svn_client_ctx_t *)(argp6);
7580   }
7581   if (argc > 5) {
7582 
7583   }
7584   {
7585     if (!arg4) {
7586       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
7587     }
7588   }
7589   {
7590     result = (svn_error_t *)svn_client_checkout(arg1,(char const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,arg5,arg6,arg7);
7591 
7592 
7593 
7594   }
7595   {
7596     if (result) {
7597       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7598       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7599       svn_swig_rb_handle_svn_error(result);
7600     }
7601     vresult = Qnil;
7602   }
7603   if (SWIG_IsTmpObj(res1)) {
7604     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg1)));
7605   } else {
7606     int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
7607     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags));
7608   }
7609   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7610   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7611   {
7612     VALUE target;
7613     target = _global_vresult_address == &vresult ? self : vresult;
7614     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7615     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7616     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7617   }
7618   return vresult;
7619 fail:
7620   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7621   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7622   {
7623     VALUE target;
7624     target = _global_vresult_address == &vresult ? self : vresult;
7625     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7626     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7627     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7628   }
7629   return Qnil;
7630 }
7631 
7632 
7633 SWIGINTERN VALUE
_wrap_svn_client_update4(int argc,VALUE * argv,VALUE self)7634 _wrap_svn_client_update4(int argc, VALUE *argv, VALUE self) {
7635   apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
7636   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
7637   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
7638   svn_depth_t arg4 ;
7639   svn_boolean_t arg5 ;
7640   svn_boolean_t arg6 ;
7641   svn_boolean_t arg7 ;
7642   svn_boolean_t arg8 ;
7643   svn_boolean_t arg9 ;
7644   svn_client_ctx_t *arg10 = (svn_client_ctx_t *) 0 ;
7645   apr_pool_t *arg11 = (apr_pool_t *) 0 ;
7646   VALUE _global_svn_swig_rb_pool ;
7647   apr_pool_t *_global_pool ;
7648   apr_array_header_t *temp1 ;
7649   svn_opt_revision_t rev3 ;
7650   void *argp10 = 0 ;
7651   int res10 = 0 ;
7652   svn_error_t *result = 0 ;
7653   VALUE vresult = Qnil;
7654 
7655   {
7656     int adjusted_argc = argc;
7657     VALUE *adjusted_argv = argv;
7658 
7659     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
7660       &adjusted_argv);
7661     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
7662       &_global_svn_swig_rb_pool, &arg11);
7663     _global_pool = arg11;
7664     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
7665   }
7666   arg1 = &temp1;
7667   if ((argc < 8) || (argc > 10)) {
7668     rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
7669   }
7670   {
7671     arg2 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
7672   }
7673   {
7674     arg3 = &rev3;
7675     svn_swig_rb_set_revision(&rev3, argv[1]);
7676   }
7677   {
7678     arg4 = svn_swig_rb_to_depth(argv[2]);
7679   }
7680   arg5 = RTEST(argv[3]);
7681   arg6 = RTEST(argv[4]);
7682   arg7 = RTEST(argv[5]);
7683   arg8 = RTEST(argv[6]);
7684   arg9 = RTEST(argv[7]);
7685   if (argc > 8) {
7686     res10 = SWIG_ConvertPtr(argv[8], &argp10,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
7687     if (!SWIG_IsOK(res10)) {
7688       SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_update4", 10, argv[8] ));
7689     }
7690     arg10 = (svn_client_ctx_t *)(argp10);
7691   }
7692   if (argc > 9) {
7693 
7694   }
7695   {
7696     if (!arg3) {
7697       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
7698     }
7699   }
7700   {
7701     result = (svn_error_t *)svn_client_update4(arg1,(apr_array_header_t const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
7702 
7703 
7704 
7705   }
7706   {
7707     if (result) {
7708       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7709       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7710       svn_swig_rb_handle_svn_error(result);
7711     }
7712     vresult = Qnil;
7713   }
7714   {
7715     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_array_to_array_svn_rev(*arg1));
7716   }
7717   {
7718     VALUE target;
7719     target = _global_vresult_address == &vresult ? self : vresult;
7720     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7721     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7722     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7723   }
7724   return vresult;
7725 fail:
7726   {
7727     VALUE target;
7728     target = _global_vresult_address == &vresult ? self : vresult;
7729     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7730     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7731     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7732   }
7733   return Qnil;
7734 }
7735 
7736 
7737 SWIGINTERN VALUE
_wrap_svn_client_update3(int argc,VALUE * argv,VALUE self)7738 _wrap_svn_client_update3(int argc, VALUE *argv, VALUE self) {
7739   apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
7740   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
7741   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
7742   svn_depth_t arg4 ;
7743   svn_boolean_t arg5 ;
7744   svn_boolean_t arg6 ;
7745   svn_boolean_t arg7 ;
7746   svn_client_ctx_t *arg8 = (svn_client_ctx_t *) 0 ;
7747   apr_pool_t *arg9 = (apr_pool_t *) 0 ;
7748   VALUE _global_svn_swig_rb_pool ;
7749   apr_pool_t *_global_pool ;
7750   apr_array_header_t *temp1 ;
7751   svn_opt_revision_t rev3 ;
7752   void *argp8 = 0 ;
7753   int res8 = 0 ;
7754   svn_error_t *result = 0 ;
7755   VALUE vresult = Qnil;
7756 
7757   {
7758     int adjusted_argc = argc;
7759     VALUE *adjusted_argv = argv;
7760 
7761     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
7762       &adjusted_argv);
7763     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
7764       &_global_svn_swig_rb_pool, &arg9);
7765     _global_pool = arg9;
7766     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
7767   }
7768   arg1 = &temp1;
7769   if ((argc < 6) || (argc > 8)) {
7770     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
7771   }
7772   {
7773     arg2 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
7774   }
7775   {
7776     arg3 = &rev3;
7777     svn_swig_rb_set_revision(&rev3, argv[1]);
7778   }
7779   {
7780     arg4 = svn_swig_rb_to_depth(argv[2]);
7781   }
7782   arg5 = RTEST(argv[3]);
7783   arg6 = RTEST(argv[4]);
7784   arg7 = RTEST(argv[5]);
7785   if (argc > 6) {
7786     res8 = SWIG_ConvertPtr(argv[6], &argp8,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
7787     if (!SWIG_IsOK(res8)) {
7788       SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_update3", 8, argv[6] ));
7789     }
7790     arg8 = (svn_client_ctx_t *)(argp8);
7791   }
7792   if (argc > 7) {
7793 
7794   }
7795   {
7796     if (!arg3) {
7797       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
7798     }
7799   }
7800   {
7801     result = (svn_error_t *)svn_client_update3(arg1,(apr_array_header_t const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9);
7802 
7803 
7804 
7805   }
7806   {
7807     if (result) {
7808       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7809       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7810       svn_swig_rb_handle_svn_error(result);
7811     }
7812     vresult = Qnil;
7813   }
7814   {
7815     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_array_to_array_svn_rev(*arg1));
7816   }
7817   {
7818     VALUE target;
7819     target = _global_vresult_address == &vresult ? self : vresult;
7820     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7821     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7822     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7823   }
7824   return vresult;
7825 fail:
7826   {
7827     VALUE target;
7828     target = _global_vresult_address == &vresult ? self : vresult;
7829     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7830     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7831     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7832   }
7833   return Qnil;
7834 }
7835 
7836 
7837 SWIGINTERN VALUE
_wrap_svn_client_update2(int argc,VALUE * argv,VALUE self)7838 _wrap_svn_client_update2(int argc, VALUE *argv, VALUE self) {
7839   apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
7840   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
7841   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
7842   svn_boolean_t arg4 ;
7843   svn_boolean_t arg5 ;
7844   svn_client_ctx_t *arg6 = (svn_client_ctx_t *) 0 ;
7845   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
7846   VALUE _global_svn_swig_rb_pool ;
7847   apr_pool_t *_global_pool ;
7848   apr_array_header_t *temp1 ;
7849   svn_opt_revision_t rev3 ;
7850   void *argp6 = 0 ;
7851   int res6 = 0 ;
7852   svn_error_t *result = 0 ;
7853   VALUE vresult = Qnil;
7854 
7855   {
7856     int adjusted_argc = argc;
7857     VALUE *adjusted_argv = argv;
7858 
7859     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
7860       &adjusted_argv);
7861     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
7862       &_global_svn_swig_rb_pool, &arg7);
7863     _global_pool = arg7;
7864     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
7865   }
7866   arg1 = &temp1;
7867   if ((argc < 4) || (argc > 6)) {
7868     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
7869   }
7870   {
7871     arg2 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
7872   }
7873   {
7874     arg3 = &rev3;
7875     svn_swig_rb_set_revision(&rev3, argv[1]);
7876   }
7877   arg4 = RTEST(argv[2]);
7878   arg5 = RTEST(argv[3]);
7879   if (argc > 4) {
7880     res6 = SWIG_ConvertPtr(argv[4], &argp6,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
7881     if (!SWIG_IsOK(res6)) {
7882       SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_update2", 6, argv[4] ));
7883     }
7884     arg6 = (svn_client_ctx_t *)(argp6);
7885   }
7886   if (argc > 5) {
7887 
7888   }
7889   {
7890     if (!arg3) {
7891       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
7892     }
7893   }
7894   {
7895     result = (svn_error_t *)svn_client_update2(arg1,(apr_array_header_t const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,arg5,arg6,arg7);
7896 
7897 
7898 
7899   }
7900   {
7901     if (result) {
7902       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7903       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7904       svn_swig_rb_handle_svn_error(result);
7905     }
7906     vresult = Qnil;
7907   }
7908   {
7909     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_array_to_array_svn_rev(*arg1));
7910   }
7911   {
7912     VALUE target;
7913     target = _global_vresult_address == &vresult ? self : vresult;
7914     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7915     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7916     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7917   }
7918   return vresult;
7919 fail:
7920   {
7921     VALUE target;
7922     target = _global_vresult_address == &vresult ? self : vresult;
7923     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7924     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7925     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7926   }
7927   return Qnil;
7928 }
7929 
7930 
7931 SWIGINTERN VALUE
_wrap_svn_client_update(int argc,VALUE * argv,VALUE self)7932 _wrap_svn_client_update(int argc, VALUE *argv, VALUE self) {
7933   svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
7934   char *arg2 = (char *) 0 ;
7935   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
7936   svn_boolean_t arg4 ;
7937   svn_client_ctx_t *arg5 = (svn_client_ctx_t *) 0 ;
7938   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
7939   VALUE _global_svn_swig_rb_pool ;
7940   apr_pool_t *_global_pool ;
7941   svn_revnum_t temp1 ;
7942   int res1 = SWIG_TMPOBJ ;
7943   int res2 ;
7944   char *buf2 = 0 ;
7945   int alloc2 = 0 ;
7946   svn_opt_revision_t rev3 ;
7947   void *argp5 = 0 ;
7948   int res5 = 0 ;
7949   svn_error_t *result = 0 ;
7950   VALUE vresult = Qnil;
7951 
7952   {
7953     int adjusted_argc = argc;
7954     VALUE *adjusted_argv = argv;
7955 
7956     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
7957       &adjusted_argv);
7958     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
7959       &_global_svn_swig_rb_pool, &arg6);
7960     _global_pool = arg6;
7961     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
7962   }
7963   arg1 = &temp1;
7964   if ((argc < 3) || (argc > 5)) {
7965     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
7966   }
7967   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
7968   if (!SWIG_IsOK(res2)) {
7969     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_update", 2, argv[0] ));
7970   }
7971   arg2 = (char *)(buf2);
7972   {
7973     arg3 = &rev3;
7974     svn_swig_rb_set_revision(&rev3, argv[1]);
7975   }
7976   arg4 = RTEST(argv[2]);
7977   if (argc > 3) {
7978     res5 = SWIG_ConvertPtr(argv[3], &argp5,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
7979     if (!SWIG_IsOK(res5)) {
7980       SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_update", 5, argv[3] ));
7981     }
7982     arg5 = (svn_client_ctx_t *)(argp5);
7983   }
7984   if (argc > 4) {
7985 
7986   }
7987   {
7988     if (!arg3) {
7989       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
7990     }
7991   }
7992   {
7993     result = (svn_error_t *)svn_client_update(arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,arg5,arg6);
7994 
7995 
7996 
7997   }
7998   {
7999     if (result) {
8000       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8001       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8002       svn_swig_rb_handle_svn_error(result);
8003     }
8004     vresult = Qnil;
8005   }
8006   if (SWIG_IsTmpObj(res1)) {
8007     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg1)));
8008   } else {
8009     int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
8010     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags));
8011   }
8012   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8013   {
8014     VALUE target;
8015     target = _global_vresult_address == &vresult ? self : vresult;
8016     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8017     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8018     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8019   }
8020   return vresult;
8021 fail:
8022   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8023   {
8024     VALUE target;
8025     target = _global_vresult_address == &vresult ? self : vresult;
8026     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8027     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8028     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8029   }
8030   return Qnil;
8031 }
8032 
8033 
8034 SWIGINTERN VALUE
_wrap_svn_client_switch3(int argc,VALUE * argv,VALUE self)8035 _wrap_svn_client_switch3(int argc, VALUE *argv, VALUE self) {
8036   svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
8037   char *arg2 = (char *) 0 ;
8038   char *arg3 = (char *) 0 ;
8039   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
8040   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
8041   svn_depth_t arg6 ;
8042   svn_boolean_t arg7 ;
8043   svn_boolean_t arg8 ;
8044   svn_boolean_t arg9 ;
8045   svn_boolean_t arg10 ;
8046   svn_client_ctx_t *arg11 = (svn_client_ctx_t *) 0 ;
8047   apr_pool_t *arg12 = (apr_pool_t *) 0 ;
8048   VALUE _global_svn_swig_rb_pool ;
8049   apr_pool_t *_global_pool ;
8050   svn_revnum_t temp1 ;
8051   int res1 = SWIG_TMPOBJ ;
8052   int res2 ;
8053   char *buf2 = 0 ;
8054   int alloc2 = 0 ;
8055   int res3 ;
8056   char *buf3 = 0 ;
8057   int alloc3 = 0 ;
8058   svn_opt_revision_t rev4 ;
8059   svn_opt_revision_t rev5 ;
8060   void *argp11 = 0 ;
8061   int res11 = 0 ;
8062   svn_error_t *result = 0 ;
8063   VALUE vresult = Qnil;
8064 
8065   {
8066     int adjusted_argc = argc;
8067     VALUE *adjusted_argv = argv;
8068 
8069     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
8070       &adjusted_argv);
8071     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
8072       &_global_svn_swig_rb_pool, &arg12);
8073     _global_pool = arg12;
8074     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
8075   }
8076   arg1 = &temp1;
8077   if ((argc < 9) || (argc > 11)) {
8078     rb_raise(rb_eArgError, "wrong # of arguments(%d for 9)",argc); SWIG_fail;
8079   }
8080   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
8081   if (!SWIG_IsOK(res2)) {
8082     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_switch3", 2, argv[0] ));
8083   }
8084   arg2 = (char *)(buf2);
8085   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
8086   if (!SWIG_IsOK(res3)) {
8087     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_switch3", 3, argv[1] ));
8088   }
8089   arg3 = (char *)(buf3);
8090   {
8091     arg4 = &rev4;
8092     svn_swig_rb_set_revision(&rev4, argv[2]);
8093   }
8094   {
8095     arg5 = &rev5;
8096     svn_swig_rb_set_revision(&rev5, argv[3]);
8097   }
8098   {
8099     arg6 = svn_swig_rb_to_depth(argv[4]);
8100   }
8101   arg7 = RTEST(argv[5]);
8102   arg8 = RTEST(argv[6]);
8103   arg9 = RTEST(argv[7]);
8104   arg10 = RTEST(argv[8]);
8105   if (argc > 9) {
8106     res11 = SWIG_ConvertPtr(argv[9], &argp11,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
8107     if (!SWIG_IsOK(res11)) {
8108       SWIG_exception_fail(SWIG_ArgError(res11), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_switch3", 11, argv[9] ));
8109     }
8110     arg11 = (svn_client_ctx_t *)(argp11);
8111   }
8112   if (argc > 10) {
8113 
8114   }
8115   {
8116     if (!arg4) {
8117       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
8118     }
8119   }
8120   {
8121     if (!arg5) {
8122       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
8123     }
8124   }
8125   {
8126     result = (svn_error_t *)svn_client_switch3(arg1,(char const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_opt_revision_t const *)arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
8127 
8128 
8129 
8130   }
8131   {
8132     if (result) {
8133       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8134       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8135       svn_swig_rb_handle_svn_error(result);
8136     }
8137     vresult = Qnil;
8138   }
8139   if (SWIG_IsTmpObj(res1)) {
8140     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg1)));
8141   } else {
8142     int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
8143     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags));
8144   }
8145   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8146   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8147   {
8148     VALUE target;
8149     target = _global_vresult_address == &vresult ? self : vresult;
8150     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8151     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8152     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8153   }
8154   return vresult;
8155 fail:
8156   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8157   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8158   {
8159     VALUE target;
8160     target = _global_vresult_address == &vresult ? self : vresult;
8161     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8162     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8163     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8164   }
8165   return Qnil;
8166 }
8167 
8168 
8169 SWIGINTERN VALUE
_wrap_svn_client_switch2(int argc,VALUE * argv,VALUE self)8170 _wrap_svn_client_switch2(int argc, VALUE *argv, VALUE self) {
8171   svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
8172   char *arg2 = (char *) 0 ;
8173   char *arg3 = (char *) 0 ;
8174   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
8175   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
8176   svn_depth_t arg6 ;
8177   svn_boolean_t arg7 ;
8178   svn_boolean_t arg8 ;
8179   svn_boolean_t arg9 ;
8180   svn_client_ctx_t *arg10 = (svn_client_ctx_t *) 0 ;
8181   apr_pool_t *arg11 = (apr_pool_t *) 0 ;
8182   VALUE _global_svn_swig_rb_pool ;
8183   apr_pool_t *_global_pool ;
8184   svn_revnum_t temp1 ;
8185   int res1 = SWIG_TMPOBJ ;
8186   int res2 ;
8187   char *buf2 = 0 ;
8188   int alloc2 = 0 ;
8189   int res3 ;
8190   char *buf3 = 0 ;
8191   int alloc3 = 0 ;
8192   svn_opt_revision_t rev4 ;
8193   svn_opt_revision_t rev5 ;
8194   void *argp10 = 0 ;
8195   int res10 = 0 ;
8196   svn_error_t *result = 0 ;
8197   VALUE vresult = Qnil;
8198 
8199   {
8200     int adjusted_argc = argc;
8201     VALUE *adjusted_argv = argv;
8202 
8203     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
8204       &adjusted_argv);
8205     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
8206       &_global_svn_swig_rb_pool, &arg11);
8207     _global_pool = arg11;
8208     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
8209   }
8210   arg1 = &temp1;
8211   if ((argc < 8) || (argc > 10)) {
8212     rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
8213   }
8214   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
8215   if (!SWIG_IsOK(res2)) {
8216     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_switch2", 2, argv[0] ));
8217   }
8218   arg2 = (char *)(buf2);
8219   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
8220   if (!SWIG_IsOK(res3)) {
8221     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_switch2", 3, argv[1] ));
8222   }
8223   arg3 = (char *)(buf3);
8224   {
8225     arg4 = &rev4;
8226     svn_swig_rb_set_revision(&rev4, argv[2]);
8227   }
8228   {
8229     arg5 = &rev5;
8230     svn_swig_rb_set_revision(&rev5, argv[3]);
8231   }
8232   {
8233     arg6 = svn_swig_rb_to_depth(argv[4]);
8234   }
8235   arg7 = RTEST(argv[5]);
8236   arg8 = RTEST(argv[6]);
8237   arg9 = RTEST(argv[7]);
8238   if (argc > 8) {
8239     res10 = SWIG_ConvertPtr(argv[8], &argp10,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
8240     if (!SWIG_IsOK(res10)) {
8241       SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_switch2", 10, argv[8] ));
8242     }
8243     arg10 = (svn_client_ctx_t *)(argp10);
8244   }
8245   if (argc > 9) {
8246 
8247   }
8248   {
8249     if (!arg4) {
8250       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
8251     }
8252   }
8253   {
8254     if (!arg5) {
8255       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
8256     }
8257   }
8258   {
8259     result = (svn_error_t *)svn_client_switch2(arg1,(char const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_opt_revision_t const *)arg5,arg6,arg7,arg8,arg9,arg10,arg11);
8260 
8261 
8262 
8263   }
8264   {
8265     if (result) {
8266       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8267       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8268       svn_swig_rb_handle_svn_error(result);
8269     }
8270     vresult = Qnil;
8271   }
8272   if (SWIG_IsTmpObj(res1)) {
8273     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg1)));
8274   } else {
8275     int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
8276     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags));
8277   }
8278   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8279   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8280   {
8281     VALUE target;
8282     target = _global_vresult_address == &vresult ? self : vresult;
8283     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8284     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8285     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8286   }
8287   return vresult;
8288 fail:
8289   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8290   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8291   {
8292     VALUE target;
8293     target = _global_vresult_address == &vresult ? self : vresult;
8294     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8295     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8296     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8297   }
8298   return Qnil;
8299 }
8300 
8301 
8302 SWIGINTERN VALUE
_wrap_svn_client_switch(int argc,VALUE * argv,VALUE self)8303 _wrap_svn_client_switch(int argc, VALUE *argv, VALUE self) {
8304   svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
8305   char *arg2 = (char *) 0 ;
8306   char *arg3 = (char *) 0 ;
8307   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
8308   svn_boolean_t arg5 ;
8309   svn_client_ctx_t *arg6 = (svn_client_ctx_t *) 0 ;
8310   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
8311   VALUE _global_svn_swig_rb_pool ;
8312   apr_pool_t *_global_pool ;
8313   svn_revnum_t temp1 ;
8314   int res1 = SWIG_TMPOBJ ;
8315   int res2 ;
8316   char *buf2 = 0 ;
8317   int alloc2 = 0 ;
8318   int res3 ;
8319   char *buf3 = 0 ;
8320   int alloc3 = 0 ;
8321   svn_opt_revision_t rev4 ;
8322   void *argp6 = 0 ;
8323   int res6 = 0 ;
8324   svn_error_t *result = 0 ;
8325   VALUE vresult = Qnil;
8326 
8327   {
8328     int adjusted_argc = argc;
8329     VALUE *adjusted_argv = argv;
8330 
8331     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
8332       &adjusted_argv);
8333     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
8334       &_global_svn_swig_rb_pool, &arg7);
8335     _global_pool = arg7;
8336     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
8337   }
8338   arg1 = &temp1;
8339   if ((argc < 4) || (argc > 6)) {
8340     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
8341   }
8342   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
8343   if (!SWIG_IsOK(res2)) {
8344     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_switch", 2, argv[0] ));
8345   }
8346   arg2 = (char *)(buf2);
8347   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
8348   if (!SWIG_IsOK(res3)) {
8349     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_switch", 3, argv[1] ));
8350   }
8351   arg3 = (char *)(buf3);
8352   {
8353     arg4 = &rev4;
8354     svn_swig_rb_set_revision(&rev4, argv[2]);
8355   }
8356   arg5 = RTEST(argv[3]);
8357   if (argc > 4) {
8358     res6 = SWIG_ConvertPtr(argv[4], &argp6,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
8359     if (!SWIG_IsOK(res6)) {
8360       SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_switch", 6, argv[4] ));
8361     }
8362     arg6 = (svn_client_ctx_t *)(argp6);
8363   }
8364   if (argc > 5) {
8365 
8366   }
8367   {
8368     if (!arg4) {
8369       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
8370     }
8371   }
8372   {
8373     result = (svn_error_t *)svn_client_switch(arg1,(char const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,arg5,arg6,arg7);
8374 
8375 
8376 
8377   }
8378   {
8379     if (result) {
8380       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8381       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8382       svn_swig_rb_handle_svn_error(result);
8383     }
8384     vresult = Qnil;
8385   }
8386   if (SWIG_IsTmpObj(res1)) {
8387     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg1)));
8388   } else {
8389     int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
8390     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags));
8391   }
8392   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8393   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8394   {
8395     VALUE target;
8396     target = _global_vresult_address == &vresult ? self : vresult;
8397     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8398     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8399     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8400   }
8401   return vresult;
8402 fail:
8403   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8404   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8405   {
8406     VALUE target;
8407     target = _global_vresult_address == &vresult ? self : vresult;
8408     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8409     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8410     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8411   }
8412   return Qnil;
8413 }
8414 
8415 
8416 SWIGINTERN VALUE
_wrap_svn_client__layout_list(int argc,VALUE * argv,VALUE self)8417 _wrap_svn_client__layout_list(int argc, VALUE *argv, VALUE self) {
8418   char *arg1 = (char *) 0 ;
8419   svn_client__layout_func_t arg2 = (svn_client__layout_func_t) 0 ;
8420   void *arg3 = (void *) 0 ;
8421   svn_client_ctx_t *arg4 = (svn_client_ctx_t *) 0 ;
8422   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
8423   VALUE _global_svn_swig_rb_pool ;
8424   apr_pool_t *_global_pool ;
8425   int res1 ;
8426   char *buf1 = 0 ;
8427   int alloc1 = 0 ;
8428   int res3 ;
8429   void *argp4 = 0 ;
8430   int res4 = 0 ;
8431   svn_error_t *result = 0 ;
8432   VALUE vresult = Qnil;
8433 
8434   {
8435     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
8436     _global_pool = arg5;
8437     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
8438   }
8439   if ((argc < 4) || (argc > 5)) {
8440     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
8441   }
8442   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
8443   if (!SWIG_IsOK(res1)) {
8444     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client__layout_list", 1, argv[0] ));
8445   }
8446   arg1 = (char *)(buf1);
8447   {
8448     int res = SWIG_ConvertFunctionPtr(argv[1], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_svn_boolean_t_svn_revnum_t_svn_boolean_t_svn_depth_t_p_apr_pool_t__p_svn_error_t);
8449     if (!SWIG_IsOK(res)) {
8450       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client__layout_func_t","svn_client__layout_list", 2, argv[1] ));
8451     }
8452   }
8453   res3 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg3), 0, 0);
8454   if (!SWIG_IsOK(res3)) {
8455     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "void *","svn_client__layout_list", 3, argv[2] ));
8456   }
8457   res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
8458   if (!SWIG_IsOK(res4)) {
8459     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client__layout_list", 4, argv[3] ));
8460   }
8461   arg4 = (svn_client_ctx_t *)(argp4);
8462   if (argc > 4) {
8463 
8464   }
8465   {
8466     result = (svn_error_t *)svn_client__layout_list((char const *)arg1,arg2,arg3,arg4,arg5);
8467 
8468 
8469 
8470   }
8471   {
8472     if (result) {
8473       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8474       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8475       svn_swig_rb_handle_svn_error(result);
8476     }
8477     vresult = Qnil;
8478   }
8479   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
8480   {
8481     VALUE target;
8482     target = _global_vresult_address == &vresult ? self : vresult;
8483     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8484     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8485     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8486   }
8487   return vresult;
8488 fail:
8489   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
8490   {
8491     VALUE target;
8492     target = _global_vresult_address == &vresult ? self : vresult;
8493     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8494     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8495     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8496   }
8497   return Qnil;
8498 }
8499 
8500 
8501 SWIGINTERN VALUE
_wrap_svn_client_add5(int argc,VALUE * argv,VALUE self)8502 _wrap_svn_client_add5(int argc, VALUE *argv, VALUE self) {
8503   char *arg1 = (char *) 0 ;
8504   svn_depth_t arg2 ;
8505   svn_boolean_t arg3 ;
8506   svn_boolean_t arg4 ;
8507   svn_boolean_t arg5 ;
8508   svn_boolean_t arg6 ;
8509   svn_client_ctx_t *arg7 = (svn_client_ctx_t *) 0 ;
8510   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
8511   VALUE _global_svn_swig_rb_pool ;
8512   apr_pool_t *_global_pool ;
8513   int res1 ;
8514   char *buf1 = 0 ;
8515   int alloc1 = 0 ;
8516   void *argp7 = 0 ;
8517   int res7 = 0 ;
8518   svn_error_t *result = 0 ;
8519   VALUE vresult = Qnil;
8520 
8521   {
8522     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8);
8523     _global_pool = arg8;
8524     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
8525   }
8526   if ((argc < 7) || (argc > 8)) {
8527     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
8528   }
8529   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
8530   if (!SWIG_IsOK(res1)) {
8531     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_add5", 1, argv[0] ));
8532   }
8533   arg1 = (char *)(buf1);
8534   {
8535     arg2 = svn_swig_rb_to_depth(argv[1]);
8536   }
8537   arg3 = RTEST(argv[2]);
8538   arg4 = RTEST(argv[3]);
8539   arg5 = RTEST(argv[4]);
8540   arg6 = RTEST(argv[5]);
8541   res7 = SWIG_ConvertPtr(argv[6], &argp7,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
8542   if (!SWIG_IsOK(res7)) {
8543     SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_add5", 7, argv[6] ));
8544   }
8545   arg7 = (svn_client_ctx_t *)(argp7);
8546   if (argc > 7) {
8547 
8548   }
8549   {
8550     result = (svn_error_t *)svn_client_add5((char const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
8551 
8552 
8553 
8554   }
8555   {
8556     if (result) {
8557       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8558       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8559       svn_swig_rb_handle_svn_error(result);
8560     }
8561     vresult = Qnil;
8562   }
8563   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
8564   {
8565     VALUE target;
8566     target = _global_vresult_address == &vresult ? self : vresult;
8567     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8568     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8569     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8570   }
8571   return vresult;
8572 fail:
8573   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
8574   {
8575     VALUE target;
8576     target = _global_vresult_address == &vresult ? self : vresult;
8577     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8578     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8579     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8580   }
8581   return Qnil;
8582 }
8583 
8584 
8585 SWIGINTERN VALUE
_wrap_svn_client_add4(int argc,VALUE * argv,VALUE self)8586 _wrap_svn_client_add4(int argc, VALUE *argv, VALUE self) {
8587   char *arg1 = (char *) 0 ;
8588   svn_depth_t arg2 ;
8589   svn_boolean_t arg3 ;
8590   svn_boolean_t arg4 ;
8591   svn_boolean_t arg5 ;
8592   svn_client_ctx_t *arg6 = (svn_client_ctx_t *) 0 ;
8593   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
8594   VALUE _global_svn_swig_rb_pool ;
8595   apr_pool_t *_global_pool ;
8596   int res1 ;
8597   char *buf1 = 0 ;
8598   int alloc1 = 0 ;
8599   void *argp6 = 0 ;
8600   int res6 = 0 ;
8601   svn_error_t *result = 0 ;
8602   VALUE vresult = Qnil;
8603 
8604   {
8605     int adjusted_argc = argc;
8606     VALUE *adjusted_argv = argv;
8607 
8608     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
8609       &adjusted_argv);
8610     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
8611       &_global_svn_swig_rb_pool, &arg7);
8612     _global_pool = arg7;
8613     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
8614   }
8615   if ((argc < 5) || (argc > 7)) {
8616     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
8617   }
8618   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
8619   if (!SWIG_IsOK(res1)) {
8620     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_add4", 1, argv[0] ));
8621   }
8622   arg1 = (char *)(buf1);
8623   {
8624     arg2 = svn_swig_rb_to_depth(argv[1]);
8625   }
8626   arg3 = RTEST(argv[2]);
8627   arg4 = RTEST(argv[3]);
8628   arg5 = RTEST(argv[4]);
8629   if (argc > 5) {
8630     res6 = SWIG_ConvertPtr(argv[5], &argp6,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
8631     if (!SWIG_IsOK(res6)) {
8632       SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_add4", 6, argv[5] ));
8633     }
8634     arg6 = (svn_client_ctx_t *)(argp6);
8635   }
8636   if (argc > 6) {
8637 
8638   }
8639   {
8640     result = (svn_error_t *)svn_client_add4((char const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7);
8641 
8642 
8643 
8644   }
8645   {
8646     if (result) {
8647       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8648       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8649       svn_swig_rb_handle_svn_error(result);
8650     }
8651     vresult = Qnil;
8652   }
8653   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
8654   {
8655     VALUE target;
8656     target = _global_vresult_address == &vresult ? self : vresult;
8657     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8658     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8659     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8660   }
8661   return vresult;
8662 fail:
8663   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
8664   {
8665     VALUE target;
8666     target = _global_vresult_address == &vresult ? self : vresult;
8667     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8668     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8669     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8670   }
8671   return Qnil;
8672 }
8673 
8674 
8675 SWIGINTERN VALUE
_wrap_svn_client_add3(int argc,VALUE * argv,VALUE self)8676 _wrap_svn_client_add3(int argc, VALUE *argv, VALUE self) {
8677   char *arg1 = (char *) 0 ;
8678   svn_boolean_t arg2 ;
8679   svn_boolean_t arg3 ;
8680   svn_boolean_t arg4 ;
8681   svn_client_ctx_t *arg5 = (svn_client_ctx_t *) 0 ;
8682   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
8683   VALUE _global_svn_swig_rb_pool ;
8684   apr_pool_t *_global_pool ;
8685   int res1 ;
8686   char *buf1 = 0 ;
8687   int alloc1 = 0 ;
8688   void *argp5 = 0 ;
8689   int res5 = 0 ;
8690   svn_error_t *result = 0 ;
8691   VALUE vresult = Qnil;
8692 
8693   {
8694     int adjusted_argc = argc;
8695     VALUE *adjusted_argv = argv;
8696 
8697     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
8698       &adjusted_argv);
8699     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
8700       &_global_svn_swig_rb_pool, &arg6);
8701     _global_pool = arg6;
8702     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
8703   }
8704   if ((argc < 4) || (argc > 6)) {
8705     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
8706   }
8707   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
8708   if (!SWIG_IsOK(res1)) {
8709     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_add3", 1, argv[0] ));
8710   }
8711   arg1 = (char *)(buf1);
8712   arg2 = RTEST(argv[1]);
8713   arg3 = RTEST(argv[2]);
8714   arg4 = RTEST(argv[3]);
8715   if (argc > 4) {
8716     res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
8717     if (!SWIG_IsOK(res5)) {
8718       SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_add3", 5, argv[4] ));
8719     }
8720     arg5 = (svn_client_ctx_t *)(argp5);
8721   }
8722   if (argc > 5) {
8723 
8724   }
8725   {
8726     result = (svn_error_t *)svn_client_add3((char const *)arg1,arg2,arg3,arg4,arg5,arg6);
8727 
8728 
8729 
8730   }
8731   {
8732     if (result) {
8733       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8734       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8735       svn_swig_rb_handle_svn_error(result);
8736     }
8737     vresult = Qnil;
8738   }
8739   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
8740   {
8741     VALUE target;
8742     target = _global_vresult_address == &vresult ? self : vresult;
8743     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8744     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8745     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8746   }
8747   return vresult;
8748 fail:
8749   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
8750   {
8751     VALUE target;
8752     target = _global_vresult_address == &vresult ? self : vresult;
8753     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8754     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8755     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8756   }
8757   return Qnil;
8758 }
8759 
8760 
8761 SWIGINTERN VALUE
_wrap_svn_client_add2(int argc,VALUE * argv,VALUE self)8762 _wrap_svn_client_add2(int argc, VALUE *argv, VALUE self) {
8763   char *arg1 = (char *) 0 ;
8764   svn_boolean_t arg2 ;
8765   svn_boolean_t arg3 ;
8766   svn_client_ctx_t *arg4 = (svn_client_ctx_t *) 0 ;
8767   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
8768   VALUE _global_svn_swig_rb_pool ;
8769   apr_pool_t *_global_pool ;
8770   int res1 ;
8771   char *buf1 = 0 ;
8772   int alloc1 = 0 ;
8773   void *argp4 = 0 ;
8774   int res4 = 0 ;
8775   svn_error_t *result = 0 ;
8776   VALUE vresult = Qnil;
8777 
8778   {
8779     int adjusted_argc = argc;
8780     VALUE *adjusted_argv = argv;
8781 
8782     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
8783       &adjusted_argv);
8784     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
8785       &_global_svn_swig_rb_pool, &arg5);
8786     _global_pool = arg5;
8787     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
8788   }
8789   if ((argc < 3) || (argc > 5)) {
8790     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
8791   }
8792   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
8793   if (!SWIG_IsOK(res1)) {
8794     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_add2", 1, argv[0] ));
8795   }
8796   arg1 = (char *)(buf1);
8797   arg2 = RTEST(argv[1]);
8798   arg3 = RTEST(argv[2]);
8799   if (argc > 3) {
8800     res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
8801     if (!SWIG_IsOK(res4)) {
8802       SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_add2", 4, argv[3] ));
8803     }
8804     arg4 = (svn_client_ctx_t *)(argp4);
8805   }
8806   if (argc > 4) {
8807 
8808   }
8809   {
8810     result = (svn_error_t *)svn_client_add2((char const *)arg1,arg2,arg3,arg4,arg5);
8811 
8812 
8813 
8814   }
8815   {
8816     if (result) {
8817       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8818       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8819       svn_swig_rb_handle_svn_error(result);
8820     }
8821     vresult = Qnil;
8822   }
8823   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
8824   {
8825     VALUE target;
8826     target = _global_vresult_address == &vresult ? self : vresult;
8827     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8828     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8829     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8830   }
8831   return vresult;
8832 fail:
8833   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
8834   {
8835     VALUE target;
8836     target = _global_vresult_address == &vresult ? self : vresult;
8837     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8838     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8839     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8840   }
8841   return Qnil;
8842 }
8843 
8844 
8845 SWIGINTERN VALUE
_wrap_svn_client_add(int argc,VALUE * argv,VALUE self)8846 _wrap_svn_client_add(int argc, VALUE *argv, VALUE self) {
8847   char *arg1 = (char *) 0 ;
8848   svn_boolean_t arg2 ;
8849   svn_client_ctx_t *arg3 = (svn_client_ctx_t *) 0 ;
8850   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
8851   VALUE _global_svn_swig_rb_pool ;
8852   apr_pool_t *_global_pool ;
8853   int res1 ;
8854   char *buf1 = 0 ;
8855   int alloc1 = 0 ;
8856   void *argp3 = 0 ;
8857   int res3 = 0 ;
8858   svn_error_t *result = 0 ;
8859   VALUE vresult = Qnil;
8860 
8861   {
8862     int adjusted_argc = argc;
8863     VALUE *adjusted_argv = argv;
8864 
8865     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
8866       &adjusted_argv);
8867     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
8868       &_global_svn_swig_rb_pool, &arg4);
8869     _global_pool = arg4;
8870     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
8871   }
8872   if ((argc < 2) || (argc > 4)) {
8873     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
8874   }
8875   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
8876   if (!SWIG_IsOK(res1)) {
8877     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_add", 1, argv[0] ));
8878   }
8879   arg1 = (char *)(buf1);
8880   arg2 = RTEST(argv[1]);
8881   if (argc > 2) {
8882     res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
8883     if (!SWIG_IsOK(res3)) {
8884       SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_add", 3, argv[2] ));
8885     }
8886     arg3 = (svn_client_ctx_t *)(argp3);
8887   }
8888   if (argc > 3) {
8889 
8890   }
8891   {
8892     result = (svn_error_t *)svn_client_add((char const *)arg1,arg2,arg3,arg4);
8893 
8894 
8895 
8896   }
8897   {
8898     if (result) {
8899       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8900       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8901       svn_swig_rb_handle_svn_error(result);
8902     }
8903     vresult = Qnil;
8904   }
8905   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
8906   {
8907     VALUE target;
8908     target = _global_vresult_address == &vresult ? self : vresult;
8909     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8910     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8911     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8912   }
8913   return vresult;
8914 fail:
8915   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
8916   {
8917     VALUE target;
8918     target = _global_vresult_address == &vresult ? self : vresult;
8919     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8920     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8921     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8922   }
8923   return Qnil;
8924 }
8925 
8926 
8927 SWIGINTERN VALUE
_wrap_svn_client_mkdir4(int argc,VALUE * argv,VALUE self)8928 _wrap_svn_client_mkdir4(int argc, VALUE *argv, VALUE self) {
8929   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
8930   svn_boolean_t arg2 ;
8931   apr_hash_t *arg3 = (apr_hash_t *) 0 ;
8932   svn_commit_callback2_t arg4 = (svn_commit_callback2_t) 0 ;
8933   void *arg5 = (void *) 0 ;
8934   svn_client_ctx_t *arg6 = (svn_client_ctx_t *) 0 ;
8935   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
8936   VALUE _global_svn_swig_rb_pool ;
8937   apr_pool_t *_global_pool ;
8938   void *argp6 = 0 ;
8939   int res6 = 0 ;
8940   svn_error_t *result = 0 ;
8941   VALUE vresult = Qnil;
8942 
8943   {
8944     int adjusted_argc = argc;
8945     VALUE *adjusted_argv = argv;
8946 
8947     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
8948       &adjusted_argv);
8949     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
8950       &_global_svn_swig_rb_pool, &arg7);
8951     _global_pool = arg7;
8952     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
8953   }
8954   if ((argc < 4) || (argc > 6)) {
8955     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
8956   }
8957   {
8958     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
8959   }
8960   arg2 = RTEST(argv[1]);
8961   {
8962     VALUE rb_pool = Qnil;
8963     if (!_global_pool) {
8964       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
8965       svn_swig_rb_push_pool(rb_pool);
8966     }
8967     arg3 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[2], _global_pool);
8968     _global_pool = NULL;
8969     if (!NIL_P(rb_pool)) {
8970       if (NIL_P(arg3)) {
8971         svn_swig_rb_destroy_pool(rb_pool);
8972       } else {
8973         svn_swig_rb_set_pool_for_no_swig_type(argv[2], rb_pool);
8974       }
8975       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8976     }
8977   }
8978   {
8979     arg4 = svn_swig_rb_commit_callback2;
8980     arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
8981   }
8982   if (argc > 4) {
8983     res6 = SWIG_ConvertPtr(argv[4], &argp6,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
8984     if (!SWIG_IsOK(res6)) {
8985       SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_mkdir4", 6, argv[4] ));
8986     }
8987     arg6 = (svn_client_ctx_t *)(argp6);
8988   }
8989   if (argc > 5) {
8990 
8991   }
8992   {
8993     result = (svn_error_t *)svn_client_mkdir4((apr_array_header_t const *)arg1,arg2,(apr_hash_t const *)arg3,arg4,arg5,arg6,arg7);
8994 
8995 
8996 
8997   }
8998   {
8999     if (result) {
9000       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9001       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9002       svn_swig_rb_handle_svn_error(result);
9003     }
9004     vresult = Qnil;
9005   }
9006   {
9007     svn_swig_rb_set_baton(vresult, (VALUE)arg5);
9008   }
9009   {
9010     VALUE target;
9011     target = _global_vresult_address == &vresult ? self : vresult;
9012     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9013     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9014     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9015   }
9016   return vresult;
9017 fail:
9018   {
9019     VALUE target;
9020     target = _global_vresult_address == &vresult ? self : vresult;
9021     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9022     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9023     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9024   }
9025   return Qnil;
9026 }
9027 
9028 
9029 SWIGINTERN VALUE
_wrap_svn_client_mkdir3(int argc,VALUE * argv,VALUE self)9030 _wrap_svn_client_mkdir3(int argc, VALUE *argv, VALUE self) {
9031   svn_commit_info_t **arg1 = (svn_commit_info_t **) 0 ;
9032   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
9033   svn_boolean_t arg3 ;
9034   apr_hash_t *arg4 = (apr_hash_t *) 0 ;
9035   svn_client_ctx_t *arg5 = (svn_client_ctx_t *) 0 ;
9036   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
9037   VALUE _global_svn_swig_rb_pool ;
9038   apr_pool_t *_global_pool ;
9039   svn_commit_info_t *temp1 = NULL ;
9040   void *argp5 = 0 ;
9041   int res5 = 0 ;
9042   svn_error_t *result = 0 ;
9043   VALUE vresult = Qnil;
9044 
9045   {
9046     int adjusted_argc = argc;
9047     VALUE *adjusted_argv = argv;
9048 
9049     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
9050       &adjusted_argv);
9051     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
9052       &_global_svn_swig_rb_pool, &arg6);
9053     _global_pool = arg6;
9054     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
9055   }
9056   arg1 = &temp1;
9057   if ((argc < 3) || (argc > 5)) {
9058     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
9059   }
9060   {
9061     arg2 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
9062   }
9063   arg3 = RTEST(argv[1]);
9064   {
9065     VALUE rb_pool = Qnil;
9066     if (!_global_pool) {
9067       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
9068       svn_swig_rb_push_pool(rb_pool);
9069     }
9070     arg4 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[2], _global_pool);
9071     _global_pool = NULL;
9072     if (!NIL_P(rb_pool)) {
9073       if (NIL_P(arg4)) {
9074         svn_swig_rb_destroy_pool(rb_pool);
9075       } else {
9076         svn_swig_rb_set_pool_for_no_swig_type(argv[2], rb_pool);
9077       }
9078       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9079     }
9080   }
9081   if (argc > 3) {
9082     res5 = SWIG_ConvertPtr(argv[3], &argp5,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
9083     if (!SWIG_IsOK(res5)) {
9084       SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_mkdir3", 5, argv[3] ));
9085     }
9086     arg5 = (svn_client_ctx_t *)(argp5);
9087   }
9088   if (argc > 4) {
9089 
9090   }
9091   {
9092     result = (svn_error_t *)svn_client_mkdir3(arg1,(apr_array_header_t const *)arg2,arg3,(apr_hash_t const *)arg4,arg5,arg6);
9093 
9094 
9095 
9096   }
9097   {
9098     if (result) {
9099       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9100       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9101       svn_swig_rb_handle_svn_error(result);
9102     }
9103     vresult = Qnil;
9104   }
9105   {
9106     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_commit_info_t, 0));
9107   }
9108   {
9109     VALUE target;
9110     target = _global_vresult_address == &vresult ? self : vresult;
9111     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9112     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9113     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9114   }
9115   return vresult;
9116 fail:
9117   {
9118     VALUE target;
9119     target = _global_vresult_address == &vresult ? self : vresult;
9120     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9121     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9122     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9123   }
9124   return Qnil;
9125 }
9126 
9127 
9128 SWIGINTERN VALUE
_wrap_svn_client_mkdir2(int argc,VALUE * argv,VALUE self)9129 _wrap_svn_client_mkdir2(int argc, VALUE *argv, VALUE self) {
9130   svn_commit_info_t **arg1 = (svn_commit_info_t **) 0 ;
9131   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
9132   svn_client_ctx_t *arg3 = (svn_client_ctx_t *) 0 ;
9133   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
9134   VALUE _global_svn_swig_rb_pool ;
9135   apr_pool_t *_global_pool ;
9136   svn_commit_info_t *temp1 = NULL ;
9137   void *argp3 = 0 ;
9138   int res3 = 0 ;
9139   svn_error_t *result = 0 ;
9140   VALUE vresult = Qnil;
9141 
9142   {
9143     int adjusted_argc = argc;
9144     VALUE *adjusted_argv = argv;
9145 
9146     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
9147       &adjusted_argv);
9148     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
9149       &_global_svn_swig_rb_pool, &arg4);
9150     _global_pool = arg4;
9151     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
9152   }
9153   arg1 = &temp1;
9154   if ((argc < 1) || (argc > 3)) {
9155     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9156   }
9157   {
9158     arg2 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
9159   }
9160   if (argc > 1) {
9161     res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
9162     if (!SWIG_IsOK(res3)) {
9163       SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_mkdir2", 3, argv[1] ));
9164     }
9165     arg3 = (svn_client_ctx_t *)(argp3);
9166   }
9167   if (argc > 2) {
9168 
9169   }
9170   {
9171     result = (svn_error_t *)svn_client_mkdir2(arg1,(apr_array_header_t const *)arg2,arg3,arg4);
9172 
9173 
9174 
9175   }
9176   {
9177     if (result) {
9178       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9179       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9180       svn_swig_rb_handle_svn_error(result);
9181     }
9182     vresult = Qnil;
9183   }
9184   {
9185     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_commit_info_t, 0));
9186   }
9187   {
9188     VALUE target;
9189     target = _global_vresult_address == &vresult ? self : vresult;
9190     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9191     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9192     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9193   }
9194   return vresult;
9195 fail:
9196   {
9197     VALUE target;
9198     target = _global_vresult_address == &vresult ? self : vresult;
9199     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9200     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9201     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9202   }
9203   return Qnil;
9204 }
9205 
9206 
9207 SWIGINTERN VALUE
_wrap_svn_client_mkdir(int argc,VALUE * argv,VALUE self)9208 _wrap_svn_client_mkdir(int argc, VALUE *argv, VALUE self) {
9209   svn_client_commit_info_t **arg1 = (svn_client_commit_info_t **) 0 ;
9210   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
9211   svn_client_ctx_t *arg3 = (svn_client_ctx_t *) 0 ;
9212   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
9213   VALUE _global_svn_swig_rb_pool ;
9214   apr_pool_t *_global_pool ;
9215   svn_client_commit_info_t *temp1 = NULL ;
9216   void *argp3 = 0 ;
9217   int res3 = 0 ;
9218   svn_error_t *result = 0 ;
9219   VALUE vresult = Qnil;
9220 
9221   {
9222     int adjusted_argc = argc;
9223     VALUE *adjusted_argv = argv;
9224 
9225     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
9226       &adjusted_argv);
9227     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
9228       &_global_svn_swig_rb_pool, &arg4);
9229     _global_pool = arg4;
9230     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
9231   }
9232   arg1 = &temp1;
9233   if ((argc < 1) || (argc > 3)) {
9234     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9235   }
9236   {
9237     arg2 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
9238   }
9239   if (argc > 1) {
9240     res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
9241     if (!SWIG_IsOK(res3)) {
9242       SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_mkdir", 3, argv[1] ));
9243     }
9244     arg3 = (svn_client_ctx_t *)(argp3);
9245   }
9246   if (argc > 2) {
9247 
9248   }
9249   {
9250     result = (svn_error_t *)svn_client_mkdir(arg1,(apr_array_header_t const *)arg2,arg3,arg4);
9251 
9252 
9253 
9254   }
9255   {
9256     if (result) {
9257       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9258       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9259       svn_swig_rb_handle_svn_error(result);
9260     }
9261     vresult = Qnil;
9262   }
9263   {
9264     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_client_commit_info_t, 0));
9265   }
9266   {
9267     VALUE target;
9268     target = _global_vresult_address == &vresult ? self : vresult;
9269     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9270     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9271     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9272   }
9273   return vresult;
9274 fail:
9275   {
9276     VALUE target;
9277     target = _global_vresult_address == &vresult ? self : vresult;
9278     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9279     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9280     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9281   }
9282   return Qnil;
9283 }
9284 
9285 
9286 SWIGINTERN VALUE
_wrap_svn_client_delete4(int argc,VALUE * argv,VALUE self)9287 _wrap_svn_client_delete4(int argc, VALUE *argv, VALUE self) {
9288   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
9289   svn_boolean_t arg2 ;
9290   svn_boolean_t arg3 ;
9291   apr_hash_t *arg4 = (apr_hash_t *) 0 ;
9292   svn_commit_callback2_t arg5 = (svn_commit_callback2_t) 0 ;
9293   void *arg6 = (void *) 0 ;
9294   svn_client_ctx_t *arg7 = (svn_client_ctx_t *) 0 ;
9295   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
9296   VALUE _global_svn_swig_rb_pool ;
9297   apr_pool_t *_global_pool ;
9298   void *argp7 = 0 ;
9299   int res7 = 0 ;
9300   svn_error_t *result = 0 ;
9301   VALUE vresult = Qnil;
9302 
9303   {
9304     int adjusted_argc = argc;
9305     VALUE *adjusted_argv = argv;
9306 
9307     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
9308       &adjusted_argv);
9309     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
9310       &_global_svn_swig_rb_pool, &arg8);
9311     _global_pool = arg8;
9312     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
9313   }
9314   if ((argc < 5) || (argc > 7)) {
9315     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
9316   }
9317   {
9318     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
9319   }
9320   arg2 = RTEST(argv[1]);
9321   arg3 = RTEST(argv[2]);
9322   {
9323     VALUE rb_pool = Qnil;
9324     if (!_global_pool) {
9325       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
9326       svn_swig_rb_push_pool(rb_pool);
9327     }
9328     arg4 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[3], _global_pool);
9329     _global_pool = NULL;
9330     if (!NIL_P(rb_pool)) {
9331       if (NIL_P(arg4)) {
9332         svn_swig_rb_destroy_pool(rb_pool);
9333       } else {
9334         svn_swig_rb_set_pool_for_no_swig_type(argv[3], rb_pool);
9335       }
9336       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9337     }
9338   }
9339   {
9340     arg5 = svn_swig_rb_commit_callback2;
9341     arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
9342   }
9343   if (argc > 5) {
9344     res7 = SWIG_ConvertPtr(argv[5], &argp7,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
9345     if (!SWIG_IsOK(res7)) {
9346       SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_delete4", 7, argv[5] ));
9347     }
9348     arg7 = (svn_client_ctx_t *)(argp7);
9349   }
9350   if (argc > 6) {
9351 
9352   }
9353   {
9354     result = (svn_error_t *)svn_client_delete4((apr_array_header_t const *)arg1,arg2,arg3,(apr_hash_t const *)arg4,arg5,arg6,arg7,arg8);
9355 
9356 
9357 
9358   }
9359   {
9360     if (result) {
9361       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9362       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9363       svn_swig_rb_handle_svn_error(result);
9364     }
9365     vresult = Qnil;
9366   }
9367   {
9368     svn_swig_rb_set_baton(vresult, (VALUE)arg6);
9369   }
9370   {
9371     VALUE target;
9372     target = _global_vresult_address == &vresult ? self : vresult;
9373     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9374     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9375     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9376   }
9377   return vresult;
9378 fail:
9379   {
9380     VALUE target;
9381     target = _global_vresult_address == &vresult ? self : vresult;
9382     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9383     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9384     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9385   }
9386   return Qnil;
9387 }
9388 
9389 
9390 SWIGINTERN VALUE
_wrap_svn_client_delete3(int argc,VALUE * argv,VALUE self)9391 _wrap_svn_client_delete3(int argc, VALUE *argv, VALUE self) {
9392   svn_commit_info_t **arg1 = (svn_commit_info_t **) 0 ;
9393   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
9394   svn_boolean_t arg3 ;
9395   svn_boolean_t arg4 ;
9396   apr_hash_t *arg5 = (apr_hash_t *) 0 ;
9397   svn_client_ctx_t *arg6 = (svn_client_ctx_t *) 0 ;
9398   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
9399   VALUE _global_svn_swig_rb_pool ;
9400   apr_pool_t *_global_pool ;
9401   svn_commit_info_t *temp1 = NULL ;
9402   void *argp6 = 0 ;
9403   int res6 = 0 ;
9404   svn_error_t *result = 0 ;
9405   VALUE vresult = Qnil;
9406 
9407   {
9408     int adjusted_argc = argc;
9409     VALUE *adjusted_argv = argv;
9410 
9411     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
9412       &adjusted_argv);
9413     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
9414       &_global_svn_swig_rb_pool, &arg7);
9415     _global_pool = arg7;
9416     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
9417   }
9418   arg1 = &temp1;
9419   if ((argc < 4) || (argc > 6)) {
9420     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
9421   }
9422   {
9423     arg2 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
9424   }
9425   arg3 = RTEST(argv[1]);
9426   arg4 = RTEST(argv[2]);
9427   {
9428     VALUE rb_pool = Qnil;
9429     if (!_global_pool) {
9430       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
9431       svn_swig_rb_push_pool(rb_pool);
9432     }
9433     arg5 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[3], _global_pool);
9434     _global_pool = NULL;
9435     if (!NIL_P(rb_pool)) {
9436       if (NIL_P(arg5)) {
9437         svn_swig_rb_destroy_pool(rb_pool);
9438       } else {
9439         svn_swig_rb_set_pool_for_no_swig_type(argv[3], rb_pool);
9440       }
9441       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9442     }
9443   }
9444   if (argc > 4) {
9445     res6 = SWIG_ConvertPtr(argv[4], &argp6,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
9446     if (!SWIG_IsOK(res6)) {
9447       SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_delete3", 6, argv[4] ));
9448     }
9449     arg6 = (svn_client_ctx_t *)(argp6);
9450   }
9451   if (argc > 5) {
9452 
9453   }
9454   {
9455     result = (svn_error_t *)svn_client_delete3(arg1,(apr_array_header_t const *)arg2,arg3,arg4,(apr_hash_t const *)arg5,arg6,arg7);
9456 
9457 
9458 
9459   }
9460   {
9461     if (result) {
9462       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9463       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9464       svn_swig_rb_handle_svn_error(result);
9465     }
9466     vresult = Qnil;
9467   }
9468   {
9469     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_commit_info_t, 0));
9470   }
9471   {
9472     VALUE target;
9473     target = _global_vresult_address == &vresult ? self : vresult;
9474     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9475     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9476     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9477   }
9478   return vresult;
9479 fail:
9480   {
9481     VALUE target;
9482     target = _global_vresult_address == &vresult ? self : vresult;
9483     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9484     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9485     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9486   }
9487   return Qnil;
9488 }
9489 
9490 
9491 SWIGINTERN VALUE
_wrap_svn_client_delete2(int argc,VALUE * argv,VALUE self)9492 _wrap_svn_client_delete2(int argc, VALUE *argv, VALUE self) {
9493   svn_commit_info_t **arg1 = (svn_commit_info_t **) 0 ;
9494   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
9495   svn_boolean_t arg3 ;
9496   svn_client_ctx_t *arg4 = (svn_client_ctx_t *) 0 ;
9497   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
9498   VALUE _global_svn_swig_rb_pool ;
9499   apr_pool_t *_global_pool ;
9500   svn_commit_info_t *temp1 = NULL ;
9501   void *argp4 = 0 ;
9502   int res4 = 0 ;
9503   svn_error_t *result = 0 ;
9504   VALUE vresult = Qnil;
9505 
9506   {
9507     int adjusted_argc = argc;
9508     VALUE *adjusted_argv = argv;
9509 
9510     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
9511       &adjusted_argv);
9512     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
9513       &_global_svn_swig_rb_pool, &arg5);
9514     _global_pool = arg5;
9515     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
9516   }
9517   arg1 = &temp1;
9518   if ((argc < 2) || (argc > 4)) {
9519     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9520   }
9521   {
9522     arg2 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
9523   }
9524   arg3 = RTEST(argv[1]);
9525   if (argc > 2) {
9526     res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
9527     if (!SWIG_IsOK(res4)) {
9528       SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_delete2", 4, argv[2] ));
9529     }
9530     arg4 = (svn_client_ctx_t *)(argp4);
9531   }
9532   if (argc > 3) {
9533 
9534   }
9535   {
9536     result = (svn_error_t *)svn_client_delete2(arg1,(apr_array_header_t const *)arg2,arg3,arg4,arg5);
9537 
9538 
9539 
9540   }
9541   {
9542     if (result) {
9543       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9544       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9545       svn_swig_rb_handle_svn_error(result);
9546     }
9547     vresult = Qnil;
9548   }
9549   {
9550     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_commit_info_t, 0));
9551   }
9552   {
9553     VALUE target;
9554     target = _global_vresult_address == &vresult ? self : vresult;
9555     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9556     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9557     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9558   }
9559   return vresult;
9560 fail:
9561   {
9562     VALUE target;
9563     target = _global_vresult_address == &vresult ? self : vresult;
9564     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9565     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9566     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9567   }
9568   return Qnil;
9569 }
9570 
9571 
9572 SWIGINTERN VALUE
_wrap_svn_client_delete(int argc,VALUE * argv,VALUE self)9573 _wrap_svn_client_delete(int argc, VALUE *argv, VALUE self) {
9574   svn_client_commit_info_t **arg1 = (svn_client_commit_info_t **) 0 ;
9575   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
9576   svn_boolean_t arg3 ;
9577   svn_client_ctx_t *arg4 = (svn_client_ctx_t *) 0 ;
9578   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
9579   VALUE _global_svn_swig_rb_pool ;
9580   apr_pool_t *_global_pool ;
9581   svn_client_commit_info_t *temp1 = NULL ;
9582   void *argp4 = 0 ;
9583   int res4 = 0 ;
9584   svn_error_t *result = 0 ;
9585   VALUE vresult = Qnil;
9586 
9587   {
9588     int adjusted_argc = argc;
9589     VALUE *adjusted_argv = argv;
9590 
9591     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
9592       &adjusted_argv);
9593     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
9594       &_global_svn_swig_rb_pool, &arg5);
9595     _global_pool = arg5;
9596     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
9597   }
9598   arg1 = &temp1;
9599   if ((argc < 2) || (argc > 4)) {
9600     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9601   }
9602   {
9603     arg2 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
9604   }
9605   arg3 = RTEST(argv[1]);
9606   if (argc > 2) {
9607     res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
9608     if (!SWIG_IsOK(res4)) {
9609       SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_delete", 4, argv[2] ));
9610     }
9611     arg4 = (svn_client_ctx_t *)(argp4);
9612   }
9613   if (argc > 3) {
9614 
9615   }
9616   {
9617     result = (svn_error_t *)svn_client_delete(arg1,(apr_array_header_t const *)arg2,arg3,arg4,arg5);
9618 
9619 
9620 
9621   }
9622   {
9623     if (result) {
9624       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9625       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9626       svn_swig_rb_handle_svn_error(result);
9627     }
9628     vresult = Qnil;
9629   }
9630   {
9631     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_client_commit_info_t, 0));
9632   }
9633   {
9634     VALUE target;
9635     target = _global_vresult_address == &vresult ? self : vresult;
9636     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9637     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9638     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9639   }
9640   return vresult;
9641 fail:
9642   {
9643     VALUE target;
9644     target = _global_vresult_address == &vresult ? self : vresult;
9645     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9646     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9647     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9648   }
9649   return Qnil;
9650 }
9651 
9652 
9653 SWIGINTERN VALUE
_wrap_svn_client_import5(int argc,VALUE * argv,VALUE self)9654 _wrap_svn_client_import5(int argc, VALUE *argv, VALUE self) {
9655   char *arg1 = (char *) 0 ;
9656   char *arg2 = (char *) 0 ;
9657   svn_depth_t arg3 ;
9658   svn_boolean_t arg4 ;
9659   svn_boolean_t arg5 ;
9660   svn_boolean_t arg6 ;
9661   apr_hash_t *arg7 = (apr_hash_t *) 0 ;
9662   svn_client_import_filter_func_t arg8 = (svn_client_import_filter_func_t) 0 ;
9663   void *arg9 = (void *) 0 ;
9664   svn_commit_callback2_t arg10 = (svn_commit_callback2_t) 0 ;
9665   void *arg11 = (void *) 0 ;
9666   svn_client_ctx_t *arg12 = (svn_client_ctx_t *) 0 ;
9667   apr_pool_t *arg13 = (apr_pool_t *) 0 ;
9668   VALUE _global_svn_swig_rb_pool ;
9669   apr_pool_t *_global_pool ;
9670   int res1 ;
9671   char *buf1 = 0 ;
9672   int alloc1 = 0 ;
9673   int res2 ;
9674   char *buf2 = 0 ;
9675   int alloc2 = 0 ;
9676   int res9 ;
9677   void *argp12 = 0 ;
9678   int res12 = 0 ;
9679   svn_error_t *result = 0 ;
9680   VALUE vresult = Qnil;
9681 
9682   {
9683     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg13);
9684     _global_pool = arg13;
9685     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
9686   }
9687   if ((argc < 11) || (argc > 12)) {
9688     rb_raise(rb_eArgError, "wrong # of arguments(%d for 11)",argc); SWIG_fail;
9689   }
9690   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
9691   if (!SWIG_IsOK(res1)) {
9692     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_import5", 1, argv[0] ));
9693   }
9694   arg1 = (char *)(buf1);
9695   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
9696   if (!SWIG_IsOK(res2)) {
9697     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_import5", 2, argv[1] ));
9698   }
9699   arg2 = (char *)(buf2);
9700   {
9701     arg3 = svn_swig_rb_to_depth(argv[2]);
9702   }
9703   arg4 = RTEST(argv[3]);
9704   arg5 = RTEST(argv[4]);
9705   arg6 = RTEST(argv[5]);
9706   {
9707     VALUE rb_pool = Qnil;
9708     if (!_global_pool) {
9709       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
9710       svn_swig_rb_push_pool(rb_pool);
9711     }
9712     arg7 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[6], _global_pool);
9713     _global_pool = NULL;
9714     if (!NIL_P(rb_pool)) {
9715       if (NIL_P(arg7)) {
9716         svn_swig_rb_destroy_pool(rb_pool);
9717       } else {
9718         svn_swig_rb_set_pool_for_no_swig_type(argv[6], rb_pool);
9719       }
9720       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9721     }
9722   }
9723   {
9724     int res = SWIG_ConvertFunctionPtr(argv[7], (void**)(&arg8), SWIGTYPE_p_f_p_void_p_svn_boolean_t_p_q_const__char_p_q_const__svn_io_dirent2_t_p_apr_pool_t__p_svn_error_t);
9725     if (!SWIG_IsOK(res)) {
9726       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_import_filter_func_t","svn_client_import5", 8, argv[7] ));
9727     }
9728   }
9729   res9 = SWIG_ConvertPtr(argv[8],SWIG_as_voidptrptr(&arg9), 0, 0);
9730   if (!SWIG_IsOK(res9)) {
9731     SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "void *","svn_client_import5", 9, argv[8] ));
9732   }
9733   {
9734     arg10 = svn_swig_rb_commit_callback2;
9735     arg11 = (void *)svn_swig_rb_make_baton(argv[9], _global_svn_swig_rb_pool);
9736   }
9737   res12 = SWIG_ConvertPtr(argv[10], &argp12,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
9738   if (!SWIG_IsOK(res12)) {
9739     SWIG_exception_fail(SWIG_ArgError(res12), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_import5", 12, argv[10] ));
9740   }
9741   arg12 = (svn_client_ctx_t *)(argp12);
9742   if (argc > 11) {
9743 
9744   }
9745   {
9746     result = (svn_error_t *)svn_client_import5((char const *)arg1,(char const *)arg2,arg3,arg4,arg5,arg6,(apr_hash_t const *)arg7,arg8,arg9,arg10,arg11,arg12,arg13);
9747 
9748 
9749 
9750   }
9751   {
9752     if (result) {
9753       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9754       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9755       svn_swig_rb_handle_svn_error(result);
9756     }
9757     vresult = Qnil;
9758   }
9759   {
9760     svn_swig_rb_set_baton(vresult, (VALUE)arg11);
9761   }
9762   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
9763   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9764   {
9765     VALUE target;
9766     target = _global_vresult_address == &vresult ? self : vresult;
9767     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9768     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9769     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9770   }
9771   return vresult;
9772 fail:
9773   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
9774   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9775   {
9776     VALUE target;
9777     target = _global_vresult_address == &vresult ? self : vresult;
9778     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9779     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9780     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9781   }
9782   return Qnil;
9783 }
9784 
9785 
9786 SWIGINTERN VALUE
_wrap_svn_client_import4(int argc,VALUE * argv,VALUE self)9787 _wrap_svn_client_import4(int argc, VALUE *argv, VALUE self) {
9788   char *arg1 = (char *) 0 ;
9789   char *arg2 = (char *) 0 ;
9790   svn_depth_t arg3 ;
9791   svn_boolean_t arg4 ;
9792   svn_boolean_t arg5 ;
9793   apr_hash_t *arg6 = (apr_hash_t *) 0 ;
9794   svn_commit_callback2_t arg7 = (svn_commit_callback2_t) 0 ;
9795   void *arg8 = (void *) 0 ;
9796   svn_client_ctx_t *arg9 = (svn_client_ctx_t *) 0 ;
9797   apr_pool_t *arg10 = (apr_pool_t *) 0 ;
9798   VALUE _global_svn_swig_rb_pool ;
9799   apr_pool_t *_global_pool ;
9800   int res1 ;
9801   char *buf1 = 0 ;
9802   int alloc1 = 0 ;
9803   int res2 ;
9804   char *buf2 = 0 ;
9805   int alloc2 = 0 ;
9806   void *argp9 = 0 ;
9807   int res9 = 0 ;
9808   svn_error_t *result = 0 ;
9809   VALUE vresult = Qnil;
9810 
9811   {
9812     int adjusted_argc = argc;
9813     VALUE *adjusted_argv = argv;
9814 
9815     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
9816       &adjusted_argv);
9817     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
9818       &_global_svn_swig_rb_pool, &arg10);
9819     _global_pool = arg10;
9820     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
9821   }
9822   if ((argc < 7) || (argc > 9)) {
9823     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
9824   }
9825   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
9826   if (!SWIG_IsOK(res1)) {
9827     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_import4", 1, argv[0] ));
9828   }
9829   arg1 = (char *)(buf1);
9830   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
9831   if (!SWIG_IsOK(res2)) {
9832     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_import4", 2, argv[1] ));
9833   }
9834   arg2 = (char *)(buf2);
9835   {
9836     arg3 = svn_swig_rb_to_depth(argv[2]);
9837   }
9838   arg4 = RTEST(argv[3]);
9839   arg5 = RTEST(argv[4]);
9840   {
9841     VALUE rb_pool = Qnil;
9842     if (!_global_pool) {
9843       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
9844       svn_swig_rb_push_pool(rb_pool);
9845     }
9846     arg6 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[5], _global_pool);
9847     _global_pool = NULL;
9848     if (!NIL_P(rb_pool)) {
9849       if (NIL_P(arg6)) {
9850         svn_swig_rb_destroy_pool(rb_pool);
9851       } else {
9852         svn_swig_rb_set_pool_for_no_swig_type(argv[5], rb_pool);
9853       }
9854       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9855     }
9856   }
9857   {
9858     arg7 = svn_swig_rb_commit_callback2;
9859     arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
9860   }
9861   if (argc > 7) {
9862     res9 = SWIG_ConvertPtr(argv[7], &argp9,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
9863     if (!SWIG_IsOK(res9)) {
9864       SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_import4", 9, argv[7] ));
9865     }
9866     arg9 = (svn_client_ctx_t *)(argp9);
9867   }
9868   if (argc > 8) {
9869 
9870   }
9871   {
9872     result = (svn_error_t *)svn_client_import4((char const *)arg1,(char const *)arg2,arg3,arg4,arg5,(apr_hash_t const *)arg6,arg7,arg8,arg9,arg10);
9873 
9874 
9875 
9876   }
9877   {
9878     if (result) {
9879       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9880       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9881       svn_swig_rb_handle_svn_error(result);
9882     }
9883     vresult = Qnil;
9884   }
9885   {
9886     svn_swig_rb_set_baton(vresult, (VALUE)arg8);
9887   }
9888   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
9889   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9890   {
9891     VALUE target;
9892     target = _global_vresult_address == &vresult ? self : vresult;
9893     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9894     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9895     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9896   }
9897   return vresult;
9898 fail:
9899   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
9900   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9901   {
9902     VALUE target;
9903     target = _global_vresult_address == &vresult ? self : vresult;
9904     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9905     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9906     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9907   }
9908   return Qnil;
9909 }
9910 
9911 
9912 SWIGINTERN VALUE
_wrap_svn_client_import3(int argc,VALUE * argv,VALUE self)9913 _wrap_svn_client_import3(int argc, VALUE *argv, VALUE self) {
9914   svn_commit_info_t **arg1 = (svn_commit_info_t **) 0 ;
9915   char *arg2 = (char *) 0 ;
9916   char *arg3 = (char *) 0 ;
9917   svn_depth_t arg4 ;
9918   svn_boolean_t arg5 ;
9919   svn_boolean_t arg6 ;
9920   apr_hash_t *arg7 = (apr_hash_t *) 0 ;
9921   svn_client_ctx_t *arg8 = (svn_client_ctx_t *) 0 ;
9922   apr_pool_t *arg9 = (apr_pool_t *) 0 ;
9923   VALUE _global_svn_swig_rb_pool ;
9924   apr_pool_t *_global_pool ;
9925   svn_commit_info_t *temp1 = NULL ;
9926   int res2 ;
9927   char *buf2 = 0 ;
9928   int alloc2 = 0 ;
9929   int res3 ;
9930   char *buf3 = 0 ;
9931   int alloc3 = 0 ;
9932   void *argp8 = 0 ;
9933   int res8 = 0 ;
9934   svn_error_t *result = 0 ;
9935   VALUE vresult = Qnil;
9936 
9937   {
9938     int adjusted_argc = argc;
9939     VALUE *adjusted_argv = argv;
9940 
9941     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
9942       &adjusted_argv);
9943     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
9944       &_global_svn_swig_rb_pool, &arg9);
9945     _global_pool = arg9;
9946     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
9947   }
9948   arg1 = &temp1;
9949   if ((argc < 6) || (argc > 8)) {
9950     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
9951   }
9952   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
9953   if (!SWIG_IsOK(res2)) {
9954     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_import3", 2, argv[0] ));
9955   }
9956   arg2 = (char *)(buf2);
9957   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
9958   if (!SWIG_IsOK(res3)) {
9959     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_import3", 3, argv[1] ));
9960   }
9961   arg3 = (char *)(buf3);
9962   {
9963     arg4 = svn_swig_rb_to_depth(argv[2]);
9964   }
9965   arg5 = RTEST(argv[3]);
9966   arg6 = RTEST(argv[4]);
9967   {
9968     VALUE rb_pool = Qnil;
9969     if (!_global_pool) {
9970       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
9971       svn_swig_rb_push_pool(rb_pool);
9972     }
9973     arg7 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[5], _global_pool);
9974     _global_pool = NULL;
9975     if (!NIL_P(rb_pool)) {
9976       if (NIL_P(arg7)) {
9977         svn_swig_rb_destroy_pool(rb_pool);
9978       } else {
9979         svn_swig_rb_set_pool_for_no_swig_type(argv[5], rb_pool);
9980       }
9981       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9982     }
9983   }
9984   if (argc > 6) {
9985     res8 = SWIG_ConvertPtr(argv[6], &argp8,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
9986     if (!SWIG_IsOK(res8)) {
9987       SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_import3", 8, argv[6] ));
9988     }
9989     arg8 = (svn_client_ctx_t *)(argp8);
9990   }
9991   if (argc > 7) {
9992 
9993   }
9994   {
9995     result = (svn_error_t *)svn_client_import3(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,(apr_hash_t const *)arg7,arg8,arg9);
9996 
9997 
9998 
9999   }
10000   {
10001     if (result) {
10002       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10003       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10004       svn_swig_rb_handle_svn_error(result);
10005     }
10006     vresult = Qnil;
10007   }
10008   {
10009     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_commit_info_t, 0));
10010   }
10011   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
10012   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10013   {
10014     VALUE target;
10015     target = _global_vresult_address == &vresult ? self : vresult;
10016     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10017     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10018     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10019   }
10020   return vresult;
10021 fail:
10022   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
10023   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10024   {
10025     VALUE target;
10026     target = _global_vresult_address == &vresult ? self : vresult;
10027     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10028     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10029     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10030   }
10031   return Qnil;
10032 }
10033 
10034 
10035 SWIGINTERN VALUE
_wrap_svn_client_import2(int argc,VALUE * argv,VALUE self)10036 _wrap_svn_client_import2(int argc, VALUE *argv, VALUE self) {
10037   svn_commit_info_t **arg1 = (svn_commit_info_t **) 0 ;
10038   char *arg2 = (char *) 0 ;
10039   char *arg3 = (char *) 0 ;
10040   svn_boolean_t arg4 ;
10041   svn_boolean_t arg5 ;
10042   svn_client_ctx_t *arg6 = (svn_client_ctx_t *) 0 ;
10043   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
10044   VALUE _global_svn_swig_rb_pool ;
10045   apr_pool_t *_global_pool ;
10046   svn_commit_info_t *temp1 = NULL ;
10047   int res2 ;
10048   char *buf2 = 0 ;
10049   int alloc2 = 0 ;
10050   int res3 ;
10051   char *buf3 = 0 ;
10052   int alloc3 = 0 ;
10053   void *argp6 = 0 ;
10054   int res6 = 0 ;
10055   svn_error_t *result = 0 ;
10056   VALUE vresult = Qnil;
10057 
10058   {
10059     int adjusted_argc = argc;
10060     VALUE *adjusted_argv = argv;
10061 
10062     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
10063       &adjusted_argv);
10064     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
10065       &_global_svn_swig_rb_pool, &arg7);
10066     _global_pool = arg7;
10067     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
10068   }
10069   arg1 = &temp1;
10070   if ((argc < 4) || (argc > 6)) {
10071     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
10072   }
10073   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
10074   if (!SWIG_IsOK(res2)) {
10075     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_import2", 2, argv[0] ));
10076   }
10077   arg2 = (char *)(buf2);
10078   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
10079   if (!SWIG_IsOK(res3)) {
10080     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_import2", 3, argv[1] ));
10081   }
10082   arg3 = (char *)(buf3);
10083   arg4 = RTEST(argv[2]);
10084   arg5 = RTEST(argv[3]);
10085   if (argc > 4) {
10086     res6 = SWIG_ConvertPtr(argv[4], &argp6,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
10087     if (!SWIG_IsOK(res6)) {
10088       SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_import2", 6, argv[4] ));
10089     }
10090     arg6 = (svn_client_ctx_t *)(argp6);
10091   }
10092   if (argc > 5) {
10093 
10094   }
10095   {
10096     result = (svn_error_t *)svn_client_import2(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7);
10097 
10098 
10099 
10100   }
10101   {
10102     if (result) {
10103       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10104       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10105       svn_swig_rb_handle_svn_error(result);
10106     }
10107     vresult = Qnil;
10108   }
10109   {
10110     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_commit_info_t, 0));
10111   }
10112   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
10113   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10114   {
10115     VALUE target;
10116     target = _global_vresult_address == &vresult ? self : vresult;
10117     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10118     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10119     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10120   }
10121   return vresult;
10122 fail:
10123   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
10124   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10125   {
10126     VALUE target;
10127     target = _global_vresult_address == &vresult ? self : vresult;
10128     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10129     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10130     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10131   }
10132   return Qnil;
10133 }
10134 
10135 
10136 SWIGINTERN VALUE
_wrap_svn_client_import(int argc,VALUE * argv,VALUE self)10137 _wrap_svn_client_import(int argc, VALUE *argv, VALUE self) {
10138   svn_client_commit_info_t **arg1 = (svn_client_commit_info_t **) 0 ;
10139   char *arg2 = (char *) 0 ;
10140   char *arg3 = (char *) 0 ;
10141   svn_boolean_t arg4 ;
10142   svn_client_ctx_t *arg5 = (svn_client_ctx_t *) 0 ;
10143   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
10144   VALUE _global_svn_swig_rb_pool ;
10145   apr_pool_t *_global_pool ;
10146   svn_client_commit_info_t *temp1 = NULL ;
10147   int res2 ;
10148   char *buf2 = 0 ;
10149   int alloc2 = 0 ;
10150   int res3 ;
10151   char *buf3 = 0 ;
10152   int alloc3 = 0 ;
10153   void *argp5 = 0 ;
10154   int res5 = 0 ;
10155   svn_error_t *result = 0 ;
10156   VALUE vresult = Qnil;
10157 
10158   {
10159     int adjusted_argc = argc;
10160     VALUE *adjusted_argv = argv;
10161 
10162     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
10163       &adjusted_argv);
10164     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
10165       &_global_svn_swig_rb_pool, &arg6);
10166     _global_pool = arg6;
10167     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
10168   }
10169   arg1 = &temp1;
10170   if ((argc < 3) || (argc > 5)) {
10171     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
10172   }
10173   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
10174   if (!SWIG_IsOK(res2)) {
10175     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_import", 2, argv[0] ));
10176   }
10177   arg2 = (char *)(buf2);
10178   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
10179   if (!SWIG_IsOK(res3)) {
10180     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_import", 3, argv[1] ));
10181   }
10182   arg3 = (char *)(buf3);
10183   arg4 = RTEST(argv[2]);
10184   if (argc > 3) {
10185     res5 = SWIG_ConvertPtr(argv[3], &argp5,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
10186     if (!SWIG_IsOK(res5)) {
10187       SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_import", 5, argv[3] ));
10188     }
10189     arg5 = (svn_client_ctx_t *)(argp5);
10190   }
10191   if (argc > 4) {
10192 
10193   }
10194   {
10195     result = (svn_error_t *)svn_client_import(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6);
10196 
10197 
10198 
10199   }
10200   {
10201     if (result) {
10202       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10203       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10204       svn_swig_rb_handle_svn_error(result);
10205     }
10206     vresult = Qnil;
10207   }
10208   {
10209     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_client_commit_info_t, 0));
10210   }
10211   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
10212   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10213   {
10214     VALUE target;
10215     target = _global_vresult_address == &vresult ? self : vresult;
10216     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10217     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10218     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10219   }
10220   return vresult;
10221 fail:
10222   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
10223   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10224   {
10225     VALUE target;
10226     target = _global_vresult_address == &vresult ? self : vresult;
10227     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10228     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10229     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10230   }
10231   return Qnil;
10232 }
10233 
10234 
10235 SWIGINTERN VALUE
_wrap_svn_client_commit6(int argc,VALUE * argv,VALUE self)10236 _wrap_svn_client_commit6(int argc, VALUE *argv, VALUE self) {
10237   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
10238   svn_depth_t arg2 ;
10239   svn_boolean_t arg3 ;
10240   svn_boolean_t arg4 ;
10241   svn_boolean_t arg5 ;
10242   svn_boolean_t arg6 ;
10243   svn_boolean_t arg7 ;
10244   apr_array_header_t *arg8 = (apr_array_header_t *) 0 ;
10245   apr_hash_t *arg9 = (apr_hash_t *) 0 ;
10246   svn_commit_callback2_t arg10 = (svn_commit_callback2_t) 0 ;
10247   void *arg11 = (void *) 0 ;
10248   svn_client_ctx_t *arg12 = (svn_client_ctx_t *) 0 ;
10249   apr_pool_t *arg13 = (apr_pool_t *) 0 ;
10250   VALUE _global_svn_swig_rb_pool ;
10251   apr_pool_t *_global_pool ;
10252   void *argp12 = 0 ;
10253   int res12 = 0 ;
10254   svn_error_t *result = 0 ;
10255   VALUE vresult = Qnil;
10256 
10257   {
10258     int adjusted_argc = argc;
10259     VALUE *adjusted_argv = argv;
10260 
10261     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
10262       &adjusted_argv);
10263     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
10264       &_global_svn_swig_rb_pool, &arg13);
10265     _global_pool = arg13;
10266     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
10267   }
10268   if ((argc < 10) || (argc > 12)) {
10269     rb_raise(rb_eArgError, "wrong # of arguments(%d for 10)",argc); SWIG_fail;
10270   }
10271   {
10272     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
10273   }
10274   {
10275     arg2 = svn_swig_rb_to_depth(argv[1]);
10276   }
10277   arg3 = RTEST(argv[2]);
10278   arg4 = RTEST(argv[3]);
10279   arg5 = RTEST(argv[4]);
10280   arg6 = RTEST(argv[5]);
10281   arg7 = RTEST(argv[6]);
10282   {
10283     arg8 = (NIL_P(argv[7])) ? NULL :
10284     svn_swig_rb_strings_to_apr_array(argv[7], _global_pool);
10285   }
10286   {
10287     VALUE rb_pool = Qnil;
10288     if (!_global_pool) {
10289       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
10290       svn_swig_rb_push_pool(rb_pool);
10291     }
10292     arg9 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[8], _global_pool);
10293     _global_pool = NULL;
10294     if (!NIL_P(rb_pool)) {
10295       if (NIL_P(arg9)) {
10296         svn_swig_rb_destroy_pool(rb_pool);
10297       } else {
10298         svn_swig_rb_set_pool_for_no_swig_type(argv[8], rb_pool);
10299       }
10300       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10301     }
10302   }
10303   {
10304     arg10 = svn_swig_rb_commit_callback2;
10305     arg11 = (void *)svn_swig_rb_make_baton(argv[9], _global_svn_swig_rb_pool);
10306   }
10307   if (argc > 10) {
10308     res12 = SWIG_ConvertPtr(argv[10], &argp12,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
10309     if (!SWIG_IsOK(res12)) {
10310       SWIG_exception_fail(SWIG_ArgError(res12), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_commit6", 12, argv[10] ));
10311     }
10312     arg12 = (svn_client_ctx_t *)(argp12);
10313   }
10314   if (argc > 11) {
10315 
10316   }
10317   {
10318     result = (svn_error_t *)svn_client_commit6((apr_array_header_t const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(apr_array_header_t const *)arg8,(apr_hash_t const *)arg9,arg10,arg11,arg12,arg13);
10319 
10320 
10321 
10322   }
10323   {
10324     if (result) {
10325       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10326       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10327       svn_swig_rb_handle_svn_error(result);
10328     }
10329     vresult = Qnil;
10330   }
10331   {
10332     svn_swig_rb_set_baton(vresult, (VALUE)arg11);
10333   }
10334   {
10335     VALUE target;
10336     target = _global_vresult_address == &vresult ? self : vresult;
10337     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10338     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10339     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10340   }
10341   return vresult;
10342 fail:
10343   {
10344     VALUE target;
10345     target = _global_vresult_address == &vresult ? self : vresult;
10346     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10347     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10348     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10349   }
10350   return Qnil;
10351 }
10352 
10353 
10354 SWIGINTERN VALUE
_wrap_svn_client_commit5(int argc,VALUE * argv,VALUE self)10355 _wrap_svn_client_commit5(int argc, VALUE *argv, VALUE self) {
10356   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
10357   svn_depth_t arg2 ;
10358   svn_boolean_t arg3 ;
10359   svn_boolean_t arg4 ;
10360   svn_boolean_t arg5 ;
10361   apr_array_header_t *arg6 = (apr_array_header_t *) 0 ;
10362   apr_hash_t *arg7 = (apr_hash_t *) 0 ;
10363   svn_commit_callback2_t arg8 = (svn_commit_callback2_t) 0 ;
10364   void *arg9 = (void *) 0 ;
10365   svn_client_ctx_t *arg10 = (svn_client_ctx_t *) 0 ;
10366   apr_pool_t *arg11 = (apr_pool_t *) 0 ;
10367   VALUE _global_svn_swig_rb_pool ;
10368   apr_pool_t *_global_pool ;
10369   void *argp10 = 0 ;
10370   int res10 = 0 ;
10371   svn_error_t *result = 0 ;
10372   VALUE vresult = Qnil;
10373 
10374   {
10375     int adjusted_argc = argc;
10376     VALUE *adjusted_argv = argv;
10377 
10378     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
10379       &adjusted_argv);
10380     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
10381       &_global_svn_swig_rb_pool, &arg11);
10382     _global_pool = arg11;
10383     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
10384   }
10385   if ((argc < 8) || (argc > 10)) {
10386     rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
10387   }
10388   {
10389     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
10390   }
10391   {
10392     arg2 = svn_swig_rb_to_depth(argv[1]);
10393   }
10394   arg3 = RTEST(argv[2]);
10395   arg4 = RTEST(argv[3]);
10396   arg5 = RTEST(argv[4]);
10397   {
10398     arg6 = (NIL_P(argv[5])) ? NULL :
10399     svn_swig_rb_strings_to_apr_array(argv[5], _global_pool);
10400   }
10401   {
10402     VALUE rb_pool = Qnil;
10403     if (!_global_pool) {
10404       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
10405       svn_swig_rb_push_pool(rb_pool);
10406     }
10407     arg7 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[6], _global_pool);
10408     _global_pool = NULL;
10409     if (!NIL_P(rb_pool)) {
10410       if (NIL_P(arg7)) {
10411         svn_swig_rb_destroy_pool(rb_pool);
10412       } else {
10413         svn_swig_rb_set_pool_for_no_swig_type(argv[6], rb_pool);
10414       }
10415       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10416     }
10417   }
10418   {
10419     arg8 = svn_swig_rb_commit_callback2;
10420     arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
10421   }
10422   if (argc > 8) {
10423     res10 = SWIG_ConvertPtr(argv[8], &argp10,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
10424     if (!SWIG_IsOK(res10)) {
10425       SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_commit5", 10, argv[8] ));
10426     }
10427     arg10 = (svn_client_ctx_t *)(argp10);
10428   }
10429   if (argc > 9) {
10430 
10431   }
10432   {
10433     result = (svn_error_t *)svn_client_commit5((apr_array_header_t const *)arg1,arg2,arg3,arg4,arg5,(apr_array_header_t const *)arg6,(apr_hash_t const *)arg7,arg8,arg9,arg10,arg11);
10434 
10435 
10436 
10437   }
10438   {
10439     if (result) {
10440       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10441       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10442       svn_swig_rb_handle_svn_error(result);
10443     }
10444     vresult = Qnil;
10445   }
10446   {
10447     svn_swig_rb_set_baton(vresult, (VALUE)arg9);
10448   }
10449   {
10450     VALUE target;
10451     target = _global_vresult_address == &vresult ? self : vresult;
10452     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10453     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10454     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10455   }
10456   return vresult;
10457 fail:
10458   {
10459     VALUE target;
10460     target = _global_vresult_address == &vresult ? self : vresult;
10461     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10462     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10463     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10464   }
10465   return Qnil;
10466 }
10467 
10468 
10469 SWIGINTERN VALUE
_wrap_svn_client_commit4(int argc,VALUE * argv,VALUE self)10470 _wrap_svn_client_commit4(int argc, VALUE *argv, VALUE self) {
10471   svn_commit_info_t **arg1 = (svn_commit_info_t **) 0 ;
10472   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
10473   svn_depth_t arg3 ;
10474   svn_boolean_t arg4 ;
10475   svn_boolean_t arg5 ;
10476   apr_array_header_t *arg6 = (apr_array_header_t *) 0 ;
10477   apr_hash_t *arg7 = (apr_hash_t *) 0 ;
10478   svn_client_ctx_t *arg8 = (svn_client_ctx_t *) 0 ;
10479   apr_pool_t *arg9 = (apr_pool_t *) 0 ;
10480   VALUE _global_svn_swig_rb_pool ;
10481   apr_pool_t *_global_pool ;
10482   svn_commit_info_t *temp1 = NULL ;
10483   void *argp8 = 0 ;
10484   int res8 = 0 ;
10485   svn_error_t *result = 0 ;
10486   VALUE vresult = Qnil;
10487 
10488   {
10489     int adjusted_argc = argc;
10490     VALUE *adjusted_argv = argv;
10491 
10492     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
10493       &adjusted_argv);
10494     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
10495       &_global_svn_swig_rb_pool, &arg9);
10496     _global_pool = arg9;
10497     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
10498   }
10499   arg1 = &temp1;
10500   if ((argc < 6) || (argc > 8)) {
10501     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
10502   }
10503   {
10504     arg2 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
10505   }
10506   {
10507     arg3 = svn_swig_rb_to_depth(argv[1]);
10508   }
10509   arg4 = RTEST(argv[2]);
10510   arg5 = RTEST(argv[3]);
10511   {
10512     arg6 = (NIL_P(argv[4])) ? NULL :
10513     svn_swig_rb_strings_to_apr_array(argv[4], _global_pool);
10514   }
10515   {
10516     VALUE rb_pool = Qnil;
10517     if (!_global_pool) {
10518       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
10519       svn_swig_rb_push_pool(rb_pool);
10520     }
10521     arg7 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[5], _global_pool);
10522     _global_pool = NULL;
10523     if (!NIL_P(rb_pool)) {
10524       if (NIL_P(arg7)) {
10525         svn_swig_rb_destroy_pool(rb_pool);
10526       } else {
10527         svn_swig_rb_set_pool_for_no_swig_type(argv[5], rb_pool);
10528       }
10529       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10530     }
10531   }
10532   if (argc > 6) {
10533     res8 = SWIG_ConvertPtr(argv[6], &argp8,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
10534     if (!SWIG_IsOK(res8)) {
10535       SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_commit4", 8, argv[6] ));
10536     }
10537     arg8 = (svn_client_ctx_t *)(argp8);
10538   }
10539   if (argc > 7) {
10540 
10541   }
10542   {
10543     result = (svn_error_t *)svn_client_commit4(arg1,(apr_array_header_t const *)arg2,arg3,arg4,arg5,(apr_array_header_t const *)arg6,(apr_hash_t const *)arg7,arg8,arg9);
10544 
10545 
10546 
10547   }
10548   {
10549     if (result) {
10550       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10551       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10552       svn_swig_rb_handle_svn_error(result);
10553     }
10554     vresult = Qnil;
10555   }
10556   {
10557     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_commit_info_t, 0));
10558   }
10559   {
10560     VALUE target;
10561     target = _global_vresult_address == &vresult ? self : vresult;
10562     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10563     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10564     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10565   }
10566   return vresult;
10567 fail:
10568   {
10569     VALUE target;
10570     target = _global_vresult_address == &vresult ? self : vresult;
10571     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10572     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10573     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10574   }
10575   return Qnil;
10576 }
10577 
10578 
10579 SWIGINTERN VALUE
_wrap_svn_client_commit3(int argc,VALUE * argv,VALUE self)10580 _wrap_svn_client_commit3(int argc, VALUE *argv, VALUE self) {
10581   svn_commit_info_t **arg1 = (svn_commit_info_t **) 0 ;
10582   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
10583   svn_boolean_t arg3 ;
10584   svn_boolean_t arg4 ;
10585   svn_client_ctx_t *arg5 = (svn_client_ctx_t *) 0 ;
10586   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
10587   VALUE _global_svn_swig_rb_pool ;
10588   apr_pool_t *_global_pool ;
10589   svn_commit_info_t *temp1 = NULL ;
10590   void *argp5 = 0 ;
10591   int res5 = 0 ;
10592   svn_error_t *result = 0 ;
10593   VALUE vresult = Qnil;
10594 
10595   {
10596     int adjusted_argc = argc;
10597     VALUE *adjusted_argv = argv;
10598 
10599     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
10600       &adjusted_argv);
10601     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
10602       &_global_svn_swig_rb_pool, &arg6);
10603     _global_pool = arg6;
10604     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
10605   }
10606   arg1 = &temp1;
10607   if ((argc < 3) || (argc > 5)) {
10608     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
10609   }
10610   {
10611     arg2 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
10612   }
10613   arg3 = RTEST(argv[1]);
10614   arg4 = RTEST(argv[2]);
10615   if (argc > 3) {
10616     res5 = SWIG_ConvertPtr(argv[3], &argp5,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
10617     if (!SWIG_IsOK(res5)) {
10618       SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_commit3", 5, argv[3] ));
10619     }
10620     arg5 = (svn_client_ctx_t *)(argp5);
10621   }
10622   if (argc > 4) {
10623 
10624   }
10625   {
10626     result = (svn_error_t *)svn_client_commit3(arg1,(apr_array_header_t const *)arg2,arg3,arg4,arg5,arg6);
10627 
10628 
10629 
10630   }
10631   {
10632     if (result) {
10633       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10634       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10635       svn_swig_rb_handle_svn_error(result);
10636     }
10637     vresult = Qnil;
10638   }
10639   {
10640     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_commit_info_t, 0));
10641   }
10642   {
10643     VALUE target;
10644     target = _global_vresult_address == &vresult ? self : vresult;
10645     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10646     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10647     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10648   }
10649   return vresult;
10650 fail:
10651   {
10652     VALUE target;
10653     target = _global_vresult_address == &vresult ? self : vresult;
10654     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10655     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10656     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10657   }
10658   return Qnil;
10659 }
10660 
10661 
10662 SWIGINTERN VALUE
_wrap_svn_client_commit2(int argc,VALUE * argv,VALUE self)10663 _wrap_svn_client_commit2(int argc, VALUE *argv, VALUE self) {
10664   svn_client_commit_info_t **arg1 = (svn_client_commit_info_t **) 0 ;
10665   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
10666   svn_boolean_t arg3 ;
10667   svn_boolean_t arg4 ;
10668   svn_client_ctx_t *arg5 = (svn_client_ctx_t *) 0 ;
10669   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
10670   VALUE _global_svn_swig_rb_pool ;
10671   apr_pool_t *_global_pool ;
10672   svn_client_commit_info_t *temp1 = NULL ;
10673   void *argp5 = 0 ;
10674   int res5 = 0 ;
10675   svn_error_t *result = 0 ;
10676   VALUE vresult = Qnil;
10677 
10678   {
10679     int adjusted_argc = argc;
10680     VALUE *adjusted_argv = argv;
10681 
10682     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
10683       &adjusted_argv);
10684     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
10685       &_global_svn_swig_rb_pool, &arg6);
10686     _global_pool = arg6;
10687     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
10688   }
10689   arg1 = &temp1;
10690   if ((argc < 3) || (argc > 5)) {
10691     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
10692   }
10693   {
10694     arg2 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
10695   }
10696   arg3 = RTEST(argv[1]);
10697   arg4 = RTEST(argv[2]);
10698   if (argc > 3) {
10699     res5 = SWIG_ConvertPtr(argv[3], &argp5,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
10700     if (!SWIG_IsOK(res5)) {
10701       SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_commit2", 5, argv[3] ));
10702     }
10703     arg5 = (svn_client_ctx_t *)(argp5);
10704   }
10705   if (argc > 4) {
10706 
10707   }
10708   {
10709     result = (svn_error_t *)svn_client_commit2(arg1,(apr_array_header_t const *)arg2,arg3,arg4,arg5,arg6);
10710 
10711 
10712 
10713   }
10714   {
10715     if (result) {
10716       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10717       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10718       svn_swig_rb_handle_svn_error(result);
10719     }
10720     vresult = Qnil;
10721   }
10722   {
10723     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_client_commit_info_t, 0));
10724   }
10725   {
10726     VALUE target;
10727     target = _global_vresult_address == &vresult ? self : vresult;
10728     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10729     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10730     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10731   }
10732   return vresult;
10733 fail:
10734   {
10735     VALUE target;
10736     target = _global_vresult_address == &vresult ? self : vresult;
10737     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10738     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10739     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10740   }
10741   return Qnil;
10742 }
10743 
10744 
10745 SWIGINTERN VALUE
_wrap_svn_client_commit(int argc,VALUE * argv,VALUE self)10746 _wrap_svn_client_commit(int argc, VALUE *argv, VALUE self) {
10747   svn_client_commit_info_t **arg1 = (svn_client_commit_info_t **) 0 ;
10748   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
10749   svn_boolean_t arg3 ;
10750   svn_client_ctx_t *arg4 = (svn_client_ctx_t *) 0 ;
10751   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
10752   VALUE _global_svn_swig_rb_pool ;
10753   apr_pool_t *_global_pool ;
10754   svn_client_commit_info_t *temp1 = NULL ;
10755   void *argp4 = 0 ;
10756   int res4 = 0 ;
10757   svn_error_t *result = 0 ;
10758   VALUE vresult = Qnil;
10759 
10760   {
10761     int adjusted_argc = argc;
10762     VALUE *adjusted_argv = argv;
10763 
10764     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
10765       &adjusted_argv);
10766     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
10767       &_global_svn_swig_rb_pool, &arg5);
10768     _global_pool = arg5;
10769     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
10770   }
10771   arg1 = &temp1;
10772   if ((argc < 2) || (argc > 4)) {
10773     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
10774   }
10775   {
10776     arg2 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
10777   }
10778   arg3 = RTEST(argv[1]);
10779   if (argc > 2) {
10780     res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
10781     if (!SWIG_IsOK(res4)) {
10782       SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_commit", 4, argv[2] ));
10783     }
10784     arg4 = (svn_client_ctx_t *)(argp4);
10785   }
10786   if (argc > 3) {
10787 
10788   }
10789   {
10790     result = (svn_error_t *)svn_client_commit(arg1,(apr_array_header_t const *)arg2,arg3,arg4,arg5);
10791 
10792 
10793 
10794   }
10795   {
10796     if (result) {
10797       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10798       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10799       svn_swig_rb_handle_svn_error(result);
10800     }
10801     vresult = Qnil;
10802   }
10803   {
10804     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_client_commit_info_t, 0));
10805   }
10806   {
10807     VALUE target;
10808     target = _global_vresult_address == &vresult ? self : vresult;
10809     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10810     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10811     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10812   }
10813   return vresult;
10814 fail:
10815   {
10816     VALUE target;
10817     target = _global_vresult_address == &vresult ? self : vresult;
10818     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10819     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10820     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10821   }
10822   return Qnil;
10823 }
10824 
10825 
10826 static swig_class SwigClassSvn_client_status_t;
10827 
10828 SWIGINTERN VALUE
_wrap_svn_client_status_t_kind_set(int argc,VALUE * argv,VALUE self)10829 _wrap_svn_client_status_t_kind_set(int argc, VALUE *argv, VALUE self) {
10830   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
10831   svn_node_kind_t arg2 ;
10832   void *argp1 = 0 ;
10833   int res1 = 0 ;
10834   int val2 ;
10835   int ecode2 = 0 ;
10836 
10837   if ((argc < 1) || (argc > 1)) {
10838     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10839   }
10840   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
10841   if (!SWIG_IsOK(res1)) {
10842     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","kind", 1, self ));
10843   }
10844   arg1 = (struct svn_client_status_t *)(argp1);
10845   ecode2 = SWIG_AsVal_int(argv[0], &val2);
10846   if (!SWIG_IsOK(ecode2)) {
10847     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_node_kind_t","kind", 2, argv[0] ));
10848   }
10849   arg2 = (svn_node_kind_t)(val2);
10850   if (arg1) (arg1)->kind = arg2;
10851   return Qnil;
10852 fail:
10853   return Qnil;
10854 }
10855 
10856 
10857 SWIGINTERN VALUE
_wrap_svn_client_status_t_kind_get(int argc,VALUE * argv,VALUE self)10858 _wrap_svn_client_status_t_kind_get(int argc, VALUE *argv, VALUE self) {
10859   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
10860   void *argp1 = 0 ;
10861   int res1 = 0 ;
10862   svn_node_kind_t result;
10863   VALUE vresult = Qnil;
10864 
10865   if ((argc < 0) || (argc > 0)) {
10866     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10867   }
10868   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
10869   if (!SWIG_IsOK(res1)) {
10870     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","kind", 1, self ));
10871   }
10872   arg1 = (struct svn_client_status_t *)(argp1);
10873   result = (svn_node_kind_t) ((arg1)->kind);
10874   vresult = SWIG_From_int((int)(result));
10875   return vresult;
10876 fail:
10877   return Qnil;
10878 }
10879 
10880 
10881 SWIGINTERN VALUE
_wrap_svn_client_status_t_local_abspath_set(int argc,VALUE * argv,VALUE self)10882 _wrap_svn_client_status_t_local_abspath_set(int argc, VALUE *argv, VALUE self) {
10883   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
10884   char *arg2 = (char *) 0 ;
10885   void *argp1 = 0 ;
10886   int res1 = 0 ;
10887   int res2 ;
10888   char *buf2 = 0 ;
10889   int alloc2 = 0 ;
10890 
10891   if ((argc < 1) || (argc > 1)) {
10892     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10893   }
10894   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
10895   if (!SWIG_IsOK(res1)) {
10896     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","local_abspath", 1, self ));
10897   }
10898   arg1 = (struct svn_client_status_t *)(argp1);
10899   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
10900   if (!SWIG_IsOK(res2)) {
10901     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","local_abspath", 2, argv[0] ));
10902   }
10903   arg2 = (char *)(buf2);
10904   {
10905     apr_size_t len = strlen(arg2) + 1;
10906     char *copied;
10907     if (arg1->local_abspath) free((char *)arg1->local_abspath);
10908     copied = malloc(len);
10909     memcpy(copied, arg2, len);
10910     arg1->local_abspath = copied;
10911   }
10912   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
10913   return Qnil;
10914 fail:
10915   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
10916   return Qnil;
10917 }
10918 
10919 
10920 SWIGINTERN VALUE
_wrap_svn_client_status_t_local_abspath_get(int argc,VALUE * argv,VALUE self)10921 _wrap_svn_client_status_t_local_abspath_get(int argc, VALUE *argv, VALUE self) {
10922   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
10923   void *argp1 = 0 ;
10924   int res1 = 0 ;
10925   char *result = 0 ;
10926   VALUE vresult = Qnil;
10927 
10928   if ((argc < 0) || (argc > 0)) {
10929     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10930   }
10931   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
10932   if (!SWIG_IsOK(res1)) {
10933     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","local_abspath", 1, self ));
10934   }
10935   arg1 = (struct svn_client_status_t *)(argp1);
10936   result = (char *) ((arg1)->local_abspath);
10937   {
10938     if (result) {
10939       vresult = rb_str_new2(result);
10940     } else {
10941       vresult = Qnil;
10942     }
10943   }
10944   return vresult;
10945 fail:
10946   return Qnil;
10947 }
10948 
10949 
10950 SWIGINTERN VALUE
_wrap_svn_client_status_t_filesize_set(int argc,VALUE * argv,VALUE self)10951 _wrap_svn_client_status_t_filesize_set(int argc, VALUE *argv, VALUE self) {
10952   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
10953   svn_filesize_t arg2 ;
10954   void *argp1 = 0 ;
10955   int res1 = 0 ;
10956 
10957   if ((argc < 1) || (argc > 1)) {
10958     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10959   }
10960   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
10961   if (!SWIG_IsOK(res1)) {
10962     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","filesize", 1, self ));
10963   }
10964   arg1 = (struct svn_client_status_t *)(argp1);
10965   {
10966     arg2 = (svn_filesize_t)NUM2LL(argv[0]);
10967   }
10968   if (arg1) (arg1)->filesize = arg2;
10969   return Qnil;
10970 fail:
10971   return Qnil;
10972 }
10973 
10974 
10975 SWIGINTERN VALUE
_wrap_svn_client_status_t_filesize_get(int argc,VALUE * argv,VALUE self)10976 _wrap_svn_client_status_t_filesize_get(int argc, VALUE *argv, VALUE self) {
10977   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
10978   void *argp1 = 0 ;
10979   int res1 = 0 ;
10980   svn_filesize_t result;
10981   VALUE vresult = Qnil;
10982 
10983   if ((argc < 0) || (argc > 0)) {
10984     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10985   }
10986   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
10987   if (!SWIG_IsOK(res1)) {
10988     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","filesize", 1, self ));
10989   }
10990   arg1 = (struct svn_client_status_t *)(argp1);
10991   result =  ((arg1)->filesize);
10992   {
10993     vresult = LL2NUM((svn_filesize_t)(result));
10994   }
10995   return vresult;
10996 fail:
10997   return Qnil;
10998 }
10999 
11000 
11001 SWIGINTERN VALUE
_wrap_svn_client_status_t_versioned_set(int argc,VALUE * argv,VALUE self)11002 _wrap_svn_client_status_t_versioned_set(int argc, VALUE *argv, VALUE self) {
11003   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11004   svn_boolean_t arg2 ;
11005   void *argp1 = 0 ;
11006   int res1 = 0 ;
11007 
11008   if ((argc < 1) || (argc > 1)) {
11009     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11010   }
11011   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11012   if (!SWIG_IsOK(res1)) {
11013     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","versioned", 1, self ));
11014   }
11015   arg1 = (struct svn_client_status_t *)(argp1);
11016   arg2 = RTEST(argv[0]);
11017   if (arg1) (arg1)->versioned = arg2;
11018   return Qnil;
11019 fail:
11020   return Qnil;
11021 }
11022 
11023 
11024 SWIGINTERN VALUE
_wrap_svn_client_status_t_versioned_get(int argc,VALUE * argv,VALUE self)11025 _wrap_svn_client_status_t_versioned_get(int argc, VALUE *argv, VALUE self) {
11026   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11027   void *argp1 = 0 ;
11028   int res1 = 0 ;
11029   svn_boolean_t result;
11030   VALUE vresult = Qnil;
11031 
11032   if ((argc < 0) || (argc > 0)) {
11033     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11034   }
11035   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11036   if (!SWIG_IsOK(res1)) {
11037     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","versioned", 1, self ));
11038   }
11039   arg1 = (struct svn_client_status_t *)(argp1);
11040   result = (svn_boolean_t) ((arg1)->versioned);
11041   vresult = result ? Qtrue : Qfalse;
11042   return vresult;
11043 fail:
11044   return Qnil;
11045 }
11046 
11047 
11048 SWIGINTERN VALUE
_wrap_svn_client_status_t_conflicted_set(int argc,VALUE * argv,VALUE self)11049 _wrap_svn_client_status_t_conflicted_set(int argc, VALUE *argv, VALUE self) {
11050   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11051   svn_boolean_t arg2 ;
11052   void *argp1 = 0 ;
11053   int res1 = 0 ;
11054 
11055   if ((argc < 1) || (argc > 1)) {
11056     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11057   }
11058   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11059   if (!SWIG_IsOK(res1)) {
11060     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","conflicted", 1, self ));
11061   }
11062   arg1 = (struct svn_client_status_t *)(argp1);
11063   arg2 = RTEST(argv[0]);
11064   if (arg1) (arg1)->conflicted = arg2;
11065   return Qnil;
11066 fail:
11067   return Qnil;
11068 }
11069 
11070 
11071 SWIGINTERN VALUE
_wrap_svn_client_status_t_conflicted_get(int argc,VALUE * argv,VALUE self)11072 _wrap_svn_client_status_t_conflicted_get(int argc, VALUE *argv, VALUE self) {
11073   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11074   void *argp1 = 0 ;
11075   int res1 = 0 ;
11076   svn_boolean_t result;
11077   VALUE vresult = Qnil;
11078 
11079   if ((argc < 0) || (argc > 0)) {
11080     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11081   }
11082   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11083   if (!SWIG_IsOK(res1)) {
11084     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","conflicted", 1, self ));
11085   }
11086   arg1 = (struct svn_client_status_t *)(argp1);
11087   result = (svn_boolean_t) ((arg1)->conflicted);
11088   vresult = result ? Qtrue : Qfalse;
11089   return vresult;
11090 fail:
11091   return Qnil;
11092 }
11093 
11094 
11095 SWIGINTERN VALUE
_wrap_svn_client_status_t_node_status_set(int argc,VALUE * argv,VALUE self)11096 _wrap_svn_client_status_t_node_status_set(int argc, VALUE *argv, VALUE self) {
11097   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11098   enum svn_wc_status_kind arg2 ;
11099   void *argp1 = 0 ;
11100   int res1 = 0 ;
11101   int val2 ;
11102   int ecode2 = 0 ;
11103 
11104   if ((argc < 1) || (argc > 1)) {
11105     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11106   }
11107   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11108   if (!SWIG_IsOK(res1)) {
11109     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","node_status", 1, self ));
11110   }
11111   arg1 = (struct svn_client_status_t *)(argp1);
11112   ecode2 = SWIG_AsVal_int(argv[0], &val2);
11113   if (!SWIG_IsOK(ecode2)) {
11114     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "enum svn_wc_status_kind","node_status", 2, argv[0] ));
11115   }
11116   arg2 = (enum svn_wc_status_kind)(val2);
11117   if (arg1) (arg1)->node_status = arg2;
11118   return Qnil;
11119 fail:
11120   return Qnil;
11121 }
11122 
11123 
11124 SWIGINTERN VALUE
_wrap_svn_client_status_t_node_status_get(int argc,VALUE * argv,VALUE self)11125 _wrap_svn_client_status_t_node_status_get(int argc, VALUE *argv, VALUE self) {
11126   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11127   void *argp1 = 0 ;
11128   int res1 = 0 ;
11129   enum svn_wc_status_kind result;
11130   VALUE vresult = Qnil;
11131 
11132   if ((argc < 0) || (argc > 0)) {
11133     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11134   }
11135   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11136   if (!SWIG_IsOK(res1)) {
11137     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","node_status", 1, self ));
11138   }
11139   arg1 = (struct svn_client_status_t *)(argp1);
11140   result = (enum svn_wc_status_kind) ((arg1)->node_status);
11141   vresult = SWIG_From_int((int)(result));
11142   return vresult;
11143 fail:
11144   return Qnil;
11145 }
11146 
11147 
11148 SWIGINTERN VALUE
_wrap_svn_client_status_t_text_status_set(int argc,VALUE * argv,VALUE self)11149 _wrap_svn_client_status_t_text_status_set(int argc, VALUE *argv, VALUE self) {
11150   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11151   enum svn_wc_status_kind arg2 ;
11152   void *argp1 = 0 ;
11153   int res1 = 0 ;
11154   int val2 ;
11155   int ecode2 = 0 ;
11156 
11157   if ((argc < 1) || (argc > 1)) {
11158     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11159   }
11160   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11161   if (!SWIG_IsOK(res1)) {
11162     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","text_status", 1, self ));
11163   }
11164   arg1 = (struct svn_client_status_t *)(argp1);
11165   ecode2 = SWIG_AsVal_int(argv[0], &val2);
11166   if (!SWIG_IsOK(ecode2)) {
11167     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "enum svn_wc_status_kind","text_status", 2, argv[0] ));
11168   }
11169   arg2 = (enum svn_wc_status_kind)(val2);
11170   if (arg1) (arg1)->text_status = arg2;
11171   return Qnil;
11172 fail:
11173   return Qnil;
11174 }
11175 
11176 
11177 SWIGINTERN VALUE
_wrap_svn_client_status_t_text_status_get(int argc,VALUE * argv,VALUE self)11178 _wrap_svn_client_status_t_text_status_get(int argc, VALUE *argv, VALUE self) {
11179   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11180   void *argp1 = 0 ;
11181   int res1 = 0 ;
11182   enum svn_wc_status_kind result;
11183   VALUE vresult = Qnil;
11184 
11185   if ((argc < 0) || (argc > 0)) {
11186     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11187   }
11188   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11189   if (!SWIG_IsOK(res1)) {
11190     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","text_status", 1, self ));
11191   }
11192   arg1 = (struct svn_client_status_t *)(argp1);
11193   result = (enum svn_wc_status_kind) ((arg1)->text_status);
11194   vresult = SWIG_From_int((int)(result));
11195   return vresult;
11196 fail:
11197   return Qnil;
11198 }
11199 
11200 
11201 SWIGINTERN VALUE
_wrap_svn_client_status_t_prop_status_set(int argc,VALUE * argv,VALUE self)11202 _wrap_svn_client_status_t_prop_status_set(int argc, VALUE *argv, VALUE self) {
11203   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11204   enum svn_wc_status_kind arg2 ;
11205   void *argp1 = 0 ;
11206   int res1 = 0 ;
11207   int val2 ;
11208   int ecode2 = 0 ;
11209 
11210   if ((argc < 1) || (argc > 1)) {
11211     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11212   }
11213   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11214   if (!SWIG_IsOK(res1)) {
11215     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","prop_status", 1, self ));
11216   }
11217   arg1 = (struct svn_client_status_t *)(argp1);
11218   ecode2 = SWIG_AsVal_int(argv[0], &val2);
11219   if (!SWIG_IsOK(ecode2)) {
11220     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "enum svn_wc_status_kind","prop_status", 2, argv[0] ));
11221   }
11222   arg2 = (enum svn_wc_status_kind)(val2);
11223   if (arg1) (arg1)->prop_status = arg2;
11224   return Qnil;
11225 fail:
11226   return Qnil;
11227 }
11228 
11229 
11230 SWIGINTERN VALUE
_wrap_svn_client_status_t_prop_status_get(int argc,VALUE * argv,VALUE self)11231 _wrap_svn_client_status_t_prop_status_get(int argc, VALUE *argv, VALUE self) {
11232   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11233   void *argp1 = 0 ;
11234   int res1 = 0 ;
11235   enum svn_wc_status_kind result;
11236   VALUE vresult = Qnil;
11237 
11238   if ((argc < 0) || (argc > 0)) {
11239     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11240   }
11241   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11242   if (!SWIG_IsOK(res1)) {
11243     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","prop_status", 1, self ));
11244   }
11245   arg1 = (struct svn_client_status_t *)(argp1);
11246   result = (enum svn_wc_status_kind) ((arg1)->prop_status);
11247   vresult = SWIG_From_int((int)(result));
11248   return vresult;
11249 fail:
11250   return Qnil;
11251 }
11252 
11253 
11254 SWIGINTERN VALUE
_wrap_svn_client_status_t_wc_is_locked_set(int argc,VALUE * argv,VALUE self)11255 _wrap_svn_client_status_t_wc_is_locked_set(int argc, VALUE *argv, VALUE self) {
11256   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11257   svn_boolean_t arg2 ;
11258   void *argp1 = 0 ;
11259   int res1 = 0 ;
11260 
11261   if ((argc < 1) || (argc > 1)) {
11262     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11263   }
11264   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11265   if (!SWIG_IsOK(res1)) {
11266     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","wc_is_locked", 1, self ));
11267   }
11268   arg1 = (struct svn_client_status_t *)(argp1);
11269   arg2 = RTEST(argv[0]);
11270   if (arg1) (arg1)->wc_is_locked = arg2;
11271   return Qnil;
11272 fail:
11273   return Qnil;
11274 }
11275 
11276 
11277 SWIGINTERN VALUE
_wrap_svn_client_status_t_wc_is_locked_get(int argc,VALUE * argv,VALUE self)11278 _wrap_svn_client_status_t_wc_is_locked_get(int argc, VALUE *argv, VALUE self) {
11279   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11280   void *argp1 = 0 ;
11281   int res1 = 0 ;
11282   svn_boolean_t result;
11283   VALUE vresult = Qnil;
11284 
11285   if ((argc < 0) || (argc > 0)) {
11286     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11287   }
11288   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11289   if (!SWIG_IsOK(res1)) {
11290     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","wc_is_locked", 1, self ));
11291   }
11292   arg1 = (struct svn_client_status_t *)(argp1);
11293   result = (svn_boolean_t) ((arg1)->wc_is_locked);
11294   vresult = result ? Qtrue : Qfalse;
11295   return vresult;
11296 fail:
11297   return Qnil;
11298 }
11299 
11300 
11301 SWIGINTERN VALUE
_wrap_svn_client_status_t_copied_set(int argc,VALUE * argv,VALUE self)11302 _wrap_svn_client_status_t_copied_set(int argc, VALUE *argv, VALUE self) {
11303   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11304   svn_boolean_t arg2 ;
11305   void *argp1 = 0 ;
11306   int res1 = 0 ;
11307 
11308   if ((argc < 1) || (argc > 1)) {
11309     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11310   }
11311   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11312   if (!SWIG_IsOK(res1)) {
11313     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","copied", 1, self ));
11314   }
11315   arg1 = (struct svn_client_status_t *)(argp1);
11316   arg2 = RTEST(argv[0]);
11317   if (arg1) (arg1)->copied = arg2;
11318   return Qnil;
11319 fail:
11320   return Qnil;
11321 }
11322 
11323 
11324 SWIGINTERN VALUE
_wrap_svn_client_status_t_copied_get(int argc,VALUE * argv,VALUE self)11325 _wrap_svn_client_status_t_copied_get(int argc, VALUE *argv, VALUE self) {
11326   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11327   void *argp1 = 0 ;
11328   int res1 = 0 ;
11329   svn_boolean_t result;
11330   VALUE vresult = Qnil;
11331 
11332   if ((argc < 0) || (argc > 0)) {
11333     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11334   }
11335   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11336   if (!SWIG_IsOK(res1)) {
11337     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","copied", 1, self ));
11338   }
11339   arg1 = (struct svn_client_status_t *)(argp1);
11340   result = (svn_boolean_t) ((arg1)->copied);
11341   vresult = result ? Qtrue : Qfalse;
11342   return vresult;
11343 fail:
11344   return Qnil;
11345 }
11346 
11347 
11348 SWIGINTERN VALUE
_wrap_svn_client_status_t_repos_root_url_set(int argc,VALUE * argv,VALUE self)11349 _wrap_svn_client_status_t_repos_root_url_set(int argc, VALUE *argv, VALUE self) {
11350   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11351   char *arg2 = (char *) 0 ;
11352   void *argp1 = 0 ;
11353   int res1 = 0 ;
11354   int res2 ;
11355   char *buf2 = 0 ;
11356   int alloc2 = 0 ;
11357 
11358   if ((argc < 1) || (argc > 1)) {
11359     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11360   }
11361   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11362   if (!SWIG_IsOK(res1)) {
11363     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","repos_root_url", 1, self ));
11364   }
11365   arg1 = (struct svn_client_status_t *)(argp1);
11366   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
11367   if (!SWIG_IsOK(res2)) {
11368     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","repos_root_url", 2, argv[0] ));
11369   }
11370   arg2 = (char *)(buf2);
11371   {
11372     apr_size_t len = strlen(arg2) + 1;
11373     char *copied;
11374     if (arg1->repos_root_url) free((char *)arg1->repos_root_url);
11375     copied = malloc(len);
11376     memcpy(copied, arg2, len);
11377     arg1->repos_root_url = copied;
11378   }
11379   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11380   return Qnil;
11381 fail:
11382   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11383   return Qnil;
11384 }
11385 
11386 
11387 SWIGINTERN VALUE
_wrap_svn_client_status_t_repos_root_url_get(int argc,VALUE * argv,VALUE self)11388 _wrap_svn_client_status_t_repos_root_url_get(int argc, VALUE *argv, VALUE self) {
11389   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11390   void *argp1 = 0 ;
11391   int res1 = 0 ;
11392   char *result = 0 ;
11393   VALUE vresult = Qnil;
11394 
11395   if ((argc < 0) || (argc > 0)) {
11396     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11397   }
11398   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11399   if (!SWIG_IsOK(res1)) {
11400     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","repos_root_url", 1, self ));
11401   }
11402   arg1 = (struct svn_client_status_t *)(argp1);
11403   result = (char *) ((arg1)->repos_root_url);
11404   {
11405     if (result) {
11406       vresult = rb_str_new2(result);
11407     } else {
11408       vresult = Qnil;
11409     }
11410   }
11411   return vresult;
11412 fail:
11413   return Qnil;
11414 }
11415 
11416 
11417 SWIGINTERN VALUE
_wrap_svn_client_status_t_repos_uuid_set(int argc,VALUE * argv,VALUE self)11418 _wrap_svn_client_status_t_repos_uuid_set(int argc, VALUE *argv, VALUE self) {
11419   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11420   char *arg2 = (char *) 0 ;
11421   void *argp1 = 0 ;
11422   int res1 = 0 ;
11423   int res2 ;
11424   char *buf2 = 0 ;
11425   int alloc2 = 0 ;
11426 
11427   if ((argc < 1) || (argc > 1)) {
11428     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11429   }
11430   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11431   if (!SWIG_IsOK(res1)) {
11432     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","repos_uuid", 1, self ));
11433   }
11434   arg1 = (struct svn_client_status_t *)(argp1);
11435   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
11436   if (!SWIG_IsOK(res2)) {
11437     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","repos_uuid", 2, argv[0] ));
11438   }
11439   arg2 = (char *)(buf2);
11440   {
11441     apr_size_t len = strlen(arg2) + 1;
11442     char *copied;
11443     if (arg1->repos_uuid) free((char *)arg1->repos_uuid);
11444     copied = malloc(len);
11445     memcpy(copied, arg2, len);
11446     arg1->repos_uuid = copied;
11447   }
11448   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11449   return Qnil;
11450 fail:
11451   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11452   return Qnil;
11453 }
11454 
11455 
11456 SWIGINTERN VALUE
_wrap_svn_client_status_t_repos_uuid_get(int argc,VALUE * argv,VALUE self)11457 _wrap_svn_client_status_t_repos_uuid_get(int argc, VALUE *argv, VALUE self) {
11458   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11459   void *argp1 = 0 ;
11460   int res1 = 0 ;
11461   char *result = 0 ;
11462   VALUE vresult = Qnil;
11463 
11464   if ((argc < 0) || (argc > 0)) {
11465     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11466   }
11467   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11468   if (!SWIG_IsOK(res1)) {
11469     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","repos_uuid", 1, self ));
11470   }
11471   arg1 = (struct svn_client_status_t *)(argp1);
11472   result = (char *) ((arg1)->repos_uuid);
11473   {
11474     if (result) {
11475       vresult = rb_str_new2(result);
11476     } else {
11477       vresult = Qnil;
11478     }
11479   }
11480   return vresult;
11481 fail:
11482   return Qnil;
11483 }
11484 
11485 
11486 SWIGINTERN VALUE
_wrap_svn_client_status_t_repos_relpath_set(int argc,VALUE * argv,VALUE self)11487 _wrap_svn_client_status_t_repos_relpath_set(int argc, VALUE *argv, VALUE self) {
11488   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11489   char *arg2 = (char *) 0 ;
11490   void *argp1 = 0 ;
11491   int res1 = 0 ;
11492   int res2 ;
11493   char *buf2 = 0 ;
11494   int alloc2 = 0 ;
11495 
11496   if ((argc < 1) || (argc > 1)) {
11497     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11498   }
11499   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11500   if (!SWIG_IsOK(res1)) {
11501     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","repos_relpath", 1, self ));
11502   }
11503   arg1 = (struct svn_client_status_t *)(argp1);
11504   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
11505   if (!SWIG_IsOK(res2)) {
11506     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","repos_relpath", 2, argv[0] ));
11507   }
11508   arg2 = (char *)(buf2);
11509   {
11510     apr_size_t len = strlen(arg2) + 1;
11511     char *copied;
11512     if (arg1->repos_relpath) free((char *)arg1->repos_relpath);
11513     copied = malloc(len);
11514     memcpy(copied, arg2, len);
11515     arg1->repos_relpath = copied;
11516   }
11517   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11518   return Qnil;
11519 fail:
11520   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11521   return Qnil;
11522 }
11523 
11524 
11525 SWIGINTERN VALUE
_wrap_svn_client_status_t_repos_relpath_get(int argc,VALUE * argv,VALUE self)11526 _wrap_svn_client_status_t_repos_relpath_get(int argc, VALUE *argv, VALUE self) {
11527   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11528   void *argp1 = 0 ;
11529   int res1 = 0 ;
11530   char *result = 0 ;
11531   VALUE vresult = Qnil;
11532 
11533   if ((argc < 0) || (argc > 0)) {
11534     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11535   }
11536   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11537   if (!SWIG_IsOK(res1)) {
11538     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","repos_relpath", 1, self ));
11539   }
11540   arg1 = (struct svn_client_status_t *)(argp1);
11541   result = (char *) ((arg1)->repos_relpath);
11542   {
11543     if (result) {
11544       vresult = rb_str_new2(result);
11545     } else {
11546       vresult = Qnil;
11547     }
11548   }
11549   return vresult;
11550 fail:
11551   return Qnil;
11552 }
11553 
11554 
11555 SWIGINTERN VALUE
_wrap_svn_client_status_t_revision_set(int argc,VALUE * argv,VALUE self)11556 _wrap_svn_client_status_t_revision_set(int argc, VALUE *argv, VALUE self) {
11557   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11558   svn_revnum_t arg2 ;
11559   void *argp1 = 0 ;
11560   int res1 = 0 ;
11561   long val2 ;
11562   int ecode2 = 0 ;
11563 
11564   if ((argc < 1) || (argc > 1)) {
11565     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11566   }
11567   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11568   if (!SWIG_IsOK(res1)) {
11569     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","revision", 1, self ));
11570   }
11571   arg1 = (struct svn_client_status_t *)(argp1);
11572   ecode2 = SWIG_AsVal_long(argv[0], &val2);
11573   if (!SWIG_IsOK(ecode2)) {
11574     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","revision", 2, argv[0] ));
11575   }
11576   arg2 = (svn_revnum_t)(val2);
11577   if (arg1) (arg1)->revision = arg2;
11578   return Qnil;
11579 fail:
11580   return Qnil;
11581 }
11582 
11583 
11584 SWIGINTERN VALUE
_wrap_svn_client_status_t_revision_get(int argc,VALUE * argv,VALUE self)11585 _wrap_svn_client_status_t_revision_get(int argc, VALUE *argv, VALUE self) {
11586   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11587   void *argp1 = 0 ;
11588   int res1 = 0 ;
11589   svn_revnum_t result;
11590   VALUE vresult = Qnil;
11591 
11592   if ((argc < 0) || (argc > 0)) {
11593     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11594   }
11595   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11596   if (!SWIG_IsOK(res1)) {
11597     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","revision", 1, self ));
11598   }
11599   arg1 = (struct svn_client_status_t *)(argp1);
11600   result = (svn_revnum_t) ((arg1)->revision);
11601   vresult = SWIG_From_long((long)(result));
11602   return vresult;
11603 fail:
11604   return Qnil;
11605 }
11606 
11607 
11608 SWIGINTERN VALUE
_wrap_svn_client_status_t_changed_rev_set(int argc,VALUE * argv,VALUE self)11609 _wrap_svn_client_status_t_changed_rev_set(int argc, VALUE *argv, VALUE self) {
11610   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11611   svn_revnum_t arg2 ;
11612   void *argp1 = 0 ;
11613   int res1 = 0 ;
11614   long val2 ;
11615   int ecode2 = 0 ;
11616 
11617   if ((argc < 1) || (argc > 1)) {
11618     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11619   }
11620   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11621   if (!SWIG_IsOK(res1)) {
11622     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","changed_rev", 1, self ));
11623   }
11624   arg1 = (struct svn_client_status_t *)(argp1);
11625   ecode2 = SWIG_AsVal_long(argv[0], &val2);
11626   if (!SWIG_IsOK(ecode2)) {
11627     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","changed_rev", 2, argv[0] ));
11628   }
11629   arg2 = (svn_revnum_t)(val2);
11630   if (arg1) (arg1)->changed_rev = arg2;
11631   return Qnil;
11632 fail:
11633   return Qnil;
11634 }
11635 
11636 
11637 SWIGINTERN VALUE
_wrap_svn_client_status_t_changed_rev_get(int argc,VALUE * argv,VALUE self)11638 _wrap_svn_client_status_t_changed_rev_get(int argc, VALUE *argv, VALUE self) {
11639   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11640   void *argp1 = 0 ;
11641   int res1 = 0 ;
11642   svn_revnum_t result;
11643   VALUE vresult = Qnil;
11644 
11645   if ((argc < 0) || (argc > 0)) {
11646     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11647   }
11648   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11649   if (!SWIG_IsOK(res1)) {
11650     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","changed_rev", 1, self ));
11651   }
11652   arg1 = (struct svn_client_status_t *)(argp1);
11653   result = (svn_revnum_t) ((arg1)->changed_rev);
11654   vresult = SWIG_From_long((long)(result));
11655   return vresult;
11656 fail:
11657   return Qnil;
11658 }
11659 
11660 
11661 SWIGINTERN VALUE
_wrap_svn_client_status_t_changed_date_set(int argc,VALUE * argv,VALUE self)11662 _wrap_svn_client_status_t_changed_date_set(int argc, VALUE *argv, VALUE self) {
11663   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11664   apr_time_t arg2 ;
11665   void *argp1 = 0 ;
11666   int res1 = 0 ;
11667 
11668   if ((argc < 1) || (argc > 1)) {
11669     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11670   }
11671   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11672   if (!SWIG_IsOK(res1)) {
11673     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","changed_date", 1, self ));
11674   }
11675   arg1 = (struct svn_client_status_t *)(argp1);
11676   {
11677     arg2 = (apr_time_t)NUM2LL(argv[0]);
11678   }
11679   if (arg1) (arg1)->changed_date = arg2;
11680   return Qnil;
11681 fail:
11682   return Qnil;
11683 }
11684 
11685 
11686 SWIGINTERN VALUE
_wrap_svn_client_status_t_changed_date_get(int argc,VALUE * argv,VALUE self)11687 _wrap_svn_client_status_t_changed_date_get(int argc, VALUE *argv, VALUE self) {
11688   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11689   void *argp1 = 0 ;
11690   int res1 = 0 ;
11691   apr_time_t result;
11692   VALUE vresult = Qnil;
11693 
11694   if ((argc < 0) || (argc > 0)) {
11695     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11696   }
11697   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11698   if (!SWIG_IsOK(res1)) {
11699     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","changed_date", 1, self ));
11700   }
11701   arg1 = (struct svn_client_status_t *)(argp1);
11702   result =  ((arg1)->changed_date);
11703   {
11704     vresult = LL2NUM((apr_time_t)(result));
11705   }
11706   return vresult;
11707 fail:
11708   return Qnil;
11709 }
11710 
11711 
11712 SWIGINTERN VALUE
_wrap_svn_client_status_t_changed_author_set(int argc,VALUE * argv,VALUE self)11713 _wrap_svn_client_status_t_changed_author_set(int argc, VALUE *argv, VALUE self) {
11714   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11715   char *arg2 = (char *) 0 ;
11716   void *argp1 = 0 ;
11717   int res1 = 0 ;
11718   int res2 ;
11719   char *buf2 = 0 ;
11720   int alloc2 = 0 ;
11721 
11722   if ((argc < 1) || (argc > 1)) {
11723     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11724   }
11725   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11726   if (!SWIG_IsOK(res1)) {
11727     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","changed_author", 1, self ));
11728   }
11729   arg1 = (struct svn_client_status_t *)(argp1);
11730   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
11731   if (!SWIG_IsOK(res2)) {
11732     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","changed_author", 2, argv[0] ));
11733   }
11734   arg2 = (char *)(buf2);
11735   {
11736     apr_size_t len = strlen(arg2) + 1;
11737     char *copied;
11738     if (arg1->changed_author) free((char *)arg1->changed_author);
11739     copied = malloc(len);
11740     memcpy(copied, arg2, len);
11741     arg1->changed_author = copied;
11742   }
11743   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11744   return Qnil;
11745 fail:
11746   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11747   return Qnil;
11748 }
11749 
11750 
11751 SWIGINTERN VALUE
_wrap_svn_client_status_t_changed_author_get(int argc,VALUE * argv,VALUE self)11752 _wrap_svn_client_status_t_changed_author_get(int argc, VALUE *argv, VALUE self) {
11753   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11754   void *argp1 = 0 ;
11755   int res1 = 0 ;
11756   char *result = 0 ;
11757   VALUE vresult = Qnil;
11758 
11759   if ((argc < 0) || (argc > 0)) {
11760     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11761   }
11762   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11763   if (!SWIG_IsOK(res1)) {
11764     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","changed_author", 1, self ));
11765   }
11766   arg1 = (struct svn_client_status_t *)(argp1);
11767   result = (char *) ((arg1)->changed_author);
11768   {
11769     if (result) {
11770       vresult = rb_str_new2(result);
11771     } else {
11772       vresult = Qnil;
11773     }
11774   }
11775   return vresult;
11776 fail:
11777   return Qnil;
11778 }
11779 
11780 
11781 SWIGINTERN VALUE
_wrap_svn_client_status_t_switched_set(int argc,VALUE * argv,VALUE self)11782 _wrap_svn_client_status_t_switched_set(int argc, VALUE *argv, VALUE self) {
11783   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11784   svn_boolean_t arg2 ;
11785   void *argp1 = 0 ;
11786   int res1 = 0 ;
11787 
11788   if ((argc < 1) || (argc > 1)) {
11789     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11790   }
11791   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11792   if (!SWIG_IsOK(res1)) {
11793     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","switched", 1, self ));
11794   }
11795   arg1 = (struct svn_client_status_t *)(argp1);
11796   arg2 = RTEST(argv[0]);
11797   if (arg1) (arg1)->switched = arg2;
11798   return Qnil;
11799 fail:
11800   return Qnil;
11801 }
11802 
11803 
11804 SWIGINTERN VALUE
_wrap_svn_client_status_t_switched_get(int argc,VALUE * argv,VALUE self)11805 _wrap_svn_client_status_t_switched_get(int argc, VALUE *argv, VALUE self) {
11806   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11807   void *argp1 = 0 ;
11808   int res1 = 0 ;
11809   svn_boolean_t result;
11810   VALUE vresult = Qnil;
11811 
11812   if ((argc < 0) || (argc > 0)) {
11813     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11814   }
11815   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11816   if (!SWIG_IsOK(res1)) {
11817     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","switched", 1, self ));
11818   }
11819   arg1 = (struct svn_client_status_t *)(argp1);
11820   result = (svn_boolean_t) ((arg1)->switched);
11821   vresult = result ? Qtrue : Qfalse;
11822   return vresult;
11823 fail:
11824   return Qnil;
11825 }
11826 
11827 
11828 SWIGINTERN VALUE
_wrap_svn_client_status_t_file_external_set(int argc,VALUE * argv,VALUE self)11829 _wrap_svn_client_status_t_file_external_set(int argc, VALUE *argv, VALUE self) {
11830   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11831   svn_boolean_t arg2 ;
11832   void *argp1 = 0 ;
11833   int res1 = 0 ;
11834 
11835   if ((argc < 1) || (argc > 1)) {
11836     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11837   }
11838   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11839   if (!SWIG_IsOK(res1)) {
11840     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","file_external", 1, self ));
11841   }
11842   arg1 = (struct svn_client_status_t *)(argp1);
11843   arg2 = RTEST(argv[0]);
11844   if (arg1) (arg1)->file_external = arg2;
11845   return Qnil;
11846 fail:
11847   return Qnil;
11848 }
11849 
11850 
11851 SWIGINTERN VALUE
_wrap_svn_client_status_t_file_external_get(int argc,VALUE * argv,VALUE self)11852 _wrap_svn_client_status_t_file_external_get(int argc, VALUE *argv, VALUE self) {
11853   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11854   void *argp1 = 0 ;
11855   int res1 = 0 ;
11856   svn_boolean_t result;
11857   VALUE vresult = Qnil;
11858 
11859   if ((argc < 0) || (argc > 0)) {
11860     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11861   }
11862   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11863   if (!SWIG_IsOK(res1)) {
11864     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","file_external", 1, self ));
11865   }
11866   arg1 = (struct svn_client_status_t *)(argp1);
11867   result = (svn_boolean_t) ((arg1)->file_external);
11868   vresult = result ? Qtrue : Qfalse;
11869   return vresult;
11870 fail:
11871   return Qnil;
11872 }
11873 
11874 
11875 SWIGINTERN VALUE
_wrap_svn_client_status_t_lock_set(int argc,VALUE * argv,VALUE self)11876 _wrap_svn_client_status_t_lock_set(int argc, VALUE *argv, VALUE self) {
11877   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11878   svn_lock_t *arg2 = (svn_lock_t *) 0 ;
11879   void *argp1 = 0 ;
11880   int res1 = 0 ;
11881   void *argp2 = 0 ;
11882   int res2 = 0 ;
11883 
11884   if ((argc < 1) || (argc > 1)) {
11885     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11886   }
11887   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11888   if (!SWIG_IsOK(res1)) {
11889     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","lock", 1, self ));
11890   }
11891   arg1 = (struct svn_client_status_t *)(argp1);
11892   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_lock_t, SWIG_POINTER_DISOWN |  0 );
11893   if (!SWIG_IsOK(res2)) {
11894     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_lock_t const *","lock", 2, argv[0] ));
11895   }
11896   arg2 = (svn_lock_t *)(argp2);
11897   if (arg1) (arg1)->lock = (svn_lock_t const *)arg2;
11898   return Qnil;
11899 fail:
11900   return Qnil;
11901 }
11902 
11903 
11904 SWIGINTERN VALUE
_wrap_svn_client_status_t_lock_get(int argc,VALUE * argv,VALUE self)11905 _wrap_svn_client_status_t_lock_get(int argc, VALUE *argv, VALUE self) {
11906   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11907   void *argp1 = 0 ;
11908   int res1 = 0 ;
11909   svn_lock_t *result = 0 ;
11910   VALUE vresult = Qnil;
11911 
11912   if ((argc < 0) || (argc > 0)) {
11913     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11914   }
11915   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11916   if (!SWIG_IsOK(res1)) {
11917     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","lock", 1, self ));
11918   }
11919   arg1 = (struct svn_client_status_t *)(argp1);
11920   result = (svn_lock_t *) ((arg1)->lock);
11921   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_lock_t, 0 |  0 );
11922   return vresult;
11923 fail:
11924   return Qnil;
11925 }
11926 
11927 
11928 SWIGINTERN VALUE
_wrap_svn_client_status_t_changelist_set(int argc,VALUE * argv,VALUE self)11929 _wrap_svn_client_status_t_changelist_set(int argc, VALUE *argv, VALUE self) {
11930   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11931   char *arg2 = (char *) 0 ;
11932   void *argp1 = 0 ;
11933   int res1 = 0 ;
11934 
11935   if ((argc < 1) || (argc > 1)) {
11936     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11937   }
11938   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11939   if (!SWIG_IsOK(res1)) {
11940     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","changelist", 1, self ));
11941   }
11942   arg1 = (struct svn_client_status_t *)(argp1);
11943   {
11944     arg2 = StringValueCStr(argv[0]);
11945   }
11946   {
11947     apr_size_t len = strlen(arg2) + 1;
11948     char *copied;
11949     if (arg1->changelist) free((char *)arg1->changelist);
11950     copied = malloc(len);
11951     memcpy(copied, arg2, len);
11952     arg1->changelist = copied;
11953   }
11954   return Qnil;
11955 fail:
11956   return Qnil;
11957 }
11958 
11959 
11960 SWIGINTERN VALUE
_wrap_svn_client_status_t_changelist_get(int argc,VALUE * argv,VALUE self)11961 _wrap_svn_client_status_t_changelist_get(int argc, VALUE *argv, VALUE self) {
11962   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11963   void *argp1 = 0 ;
11964   int res1 = 0 ;
11965   char *result = 0 ;
11966   VALUE vresult = Qnil;
11967 
11968   if ((argc < 0) || (argc > 0)) {
11969     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11970   }
11971   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
11972   if (!SWIG_IsOK(res1)) {
11973     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","changelist", 1, self ));
11974   }
11975   arg1 = (struct svn_client_status_t *)(argp1);
11976   result = (char *) ((arg1)->changelist);
11977   {
11978     if (result) {
11979       vresult = rb_str_new2(result);
11980     } else {
11981       vresult = Qnil;
11982     }
11983   }
11984   return vresult;
11985 fail:
11986   return Qnil;
11987 }
11988 
11989 
11990 SWIGINTERN VALUE
_wrap_svn_client_status_t_depth_set(int argc,VALUE * argv,VALUE self)11991 _wrap_svn_client_status_t_depth_set(int argc, VALUE *argv, VALUE self) {
11992   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
11993   svn_depth_t arg2 ;
11994   void *argp1 = 0 ;
11995   int res1 = 0 ;
11996 
11997   if ((argc < 1) || (argc > 1)) {
11998     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11999   }
12000   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12001   if (!SWIG_IsOK(res1)) {
12002     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","depth", 1, self ));
12003   }
12004   arg1 = (struct svn_client_status_t *)(argp1);
12005   {
12006     arg2 = svn_swig_rb_to_depth(argv[0]);
12007   }
12008   if (arg1) (arg1)->depth = arg2;
12009   return Qnil;
12010 fail:
12011   return Qnil;
12012 }
12013 
12014 
12015 SWIGINTERN VALUE
_wrap_svn_client_status_t_depth_get(int argc,VALUE * argv,VALUE self)12016 _wrap_svn_client_status_t_depth_get(int argc, VALUE *argv, VALUE self) {
12017   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
12018   void *argp1 = 0 ;
12019   int res1 = 0 ;
12020   svn_depth_t result;
12021   VALUE vresult = Qnil;
12022 
12023   if ((argc < 0) || (argc > 0)) {
12024     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
12025   }
12026   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12027   if (!SWIG_IsOK(res1)) {
12028     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","depth", 1, self ));
12029   }
12030   arg1 = (struct svn_client_status_t *)(argp1);
12031   result = (svn_depth_t) ((arg1)->depth);
12032   vresult = SWIG_From_int((int)(result));
12033   return vresult;
12034 fail:
12035   return Qnil;
12036 }
12037 
12038 
12039 SWIGINTERN VALUE
_wrap_svn_client_status_t_ood_kind_set(int argc,VALUE * argv,VALUE self)12040 _wrap_svn_client_status_t_ood_kind_set(int argc, VALUE *argv, VALUE self) {
12041   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
12042   svn_node_kind_t arg2 ;
12043   void *argp1 = 0 ;
12044   int res1 = 0 ;
12045   int val2 ;
12046   int ecode2 = 0 ;
12047 
12048   if ((argc < 1) || (argc > 1)) {
12049     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
12050   }
12051   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12052   if (!SWIG_IsOK(res1)) {
12053     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","ood_kind", 1, self ));
12054   }
12055   arg1 = (struct svn_client_status_t *)(argp1);
12056   ecode2 = SWIG_AsVal_int(argv[0], &val2);
12057   if (!SWIG_IsOK(ecode2)) {
12058     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_node_kind_t","ood_kind", 2, argv[0] ));
12059   }
12060   arg2 = (svn_node_kind_t)(val2);
12061   if (arg1) (arg1)->ood_kind = arg2;
12062   return Qnil;
12063 fail:
12064   return Qnil;
12065 }
12066 
12067 
12068 SWIGINTERN VALUE
_wrap_svn_client_status_t_ood_kind_get(int argc,VALUE * argv,VALUE self)12069 _wrap_svn_client_status_t_ood_kind_get(int argc, VALUE *argv, VALUE self) {
12070   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
12071   void *argp1 = 0 ;
12072   int res1 = 0 ;
12073   svn_node_kind_t result;
12074   VALUE vresult = Qnil;
12075 
12076   if ((argc < 0) || (argc > 0)) {
12077     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
12078   }
12079   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12080   if (!SWIG_IsOK(res1)) {
12081     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","ood_kind", 1, self ));
12082   }
12083   arg1 = (struct svn_client_status_t *)(argp1);
12084   result = (svn_node_kind_t) ((arg1)->ood_kind);
12085   vresult = SWIG_From_int((int)(result));
12086   return vresult;
12087 fail:
12088   return Qnil;
12089 }
12090 
12091 
12092 SWIGINTERN VALUE
_wrap_svn_client_status_t_repos_node_status_set(int argc,VALUE * argv,VALUE self)12093 _wrap_svn_client_status_t_repos_node_status_set(int argc, VALUE *argv, VALUE self) {
12094   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
12095   enum svn_wc_status_kind arg2 ;
12096   void *argp1 = 0 ;
12097   int res1 = 0 ;
12098   int val2 ;
12099   int ecode2 = 0 ;
12100 
12101   if ((argc < 1) || (argc > 1)) {
12102     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
12103   }
12104   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12105   if (!SWIG_IsOK(res1)) {
12106     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","repos_node_status", 1, self ));
12107   }
12108   arg1 = (struct svn_client_status_t *)(argp1);
12109   ecode2 = SWIG_AsVal_int(argv[0], &val2);
12110   if (!SWIG_IsOK(ecode2)) {
12111     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "enum svn_wc_status_kind","repos_node_status", 2, argv[0] ));
12112   }
12113   arg2 = (enum svn_wc_status_kind)(val2);
12114   if (arg1) (arg1)->repos_node_status = arg2;
12115   return Qnil;
12116 fail:
12117   return Qnil;
12118 }
12119 
12120 
12121 SWIGINTERN VALUE
_wrap_svn_client_status_t_repos_node_status_get(int argc,VALUE * argv,VALUE self)12122 _wrap_svn_client_status_t_repos_node_status_get(int argc, VALUE *argv, VALUE self) {
12123   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
12124   void *argp1 = 0 ;
12125   int res1 = 0 ;
12126   enum svn_wc_status_kind result;
12127   VALUE vresult = Qnil;
12128 
12129   if ((argc < 0) || (argc > 0)) {
12130     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
12131   }
12132   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12133   if (!SWIG_IsOK(res1)) {
12134     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","repos_node_status", 1, self ));
12135   }
12136   arg1 = (struct svn_client_status_t *)(argp1);
12137   result = (enum svn_wc_status_kind) ((arg1)->repos_node_status);
12138   vresult = SWIG_From_int((int)(result));
12139   return vresult;
12140 fail:
12141   return Qnil;
12142 }
12143 
12144 
12145 SWIGINTERN VALUE
_wrap_svn_client_status_t_repos_text_status_set(int argc,VALUE * argv,VALUE self)12146 _wrap_svn_client_status_t_repos_text_status_set(int argc, VALUE *argv, VALUE self) {
12147   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
12148   enum svn_wc_status_kind arg2 ;
12149   void *argp1 = 0 ;
12150   int res1 = 0 ;
12151   int val2 ;
12152   int ecode2 = 0 ;
12153 
12154   if ((argc < 1) || (argc > 1)) {
12155     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
12156   }
12157   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12158   if (!SWIG_IsOK(res1)) {
12159     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","repos_text_status", 1, self ));
12160   }
12161   arg1 = (struct svn_client_status_t *)(argp1);
12162   ecode2 = SWIG_AsVal_int(argv[0], &val2);
12163   if (!SWIG_IsOK(ecode2)) {
12164     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "enum svn_wc_status_kind","repos_text_status", 2, argv[0] ));
12165   }
12166   arg2 = (enum svn_wc_status_kind)(val2);
12167   if (arg1) (arg1)->repos_text_status = arg2;
12168   return Qnil;
12169 fail:
12170   return Qnil;
12171 }
12172 
12173 
12174 SWIGINTERN VALUE
_wrap_svn_client_status_t_repos_text_status_get(int argc,VALUE * argv,VALUE self)12175 _wrap_svn_client_status_t_repos_text_status_get(int argc, VALUE *argv, VALUE self) {
12176   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
12177   void *argp1 = 0 ;
12178   int res1 = 0 ;
12179   enum svn_wc_status_kind result;
12180   VALUE vresult = Qnil;
12181 
12182   if ((argc < 0) || (argc > 0)) {
12183     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
12184   }
12185   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12186   if (!SWIG_IsOK(res1)) {
12187     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","repos_text_status", 1, self ));
12188   }
12189   arg1 = (struct svn_client_status_t *)(argp1);
12190   result = (enum svn_wc_status_kind) ((arg1)->repos_text_status);
12191   vresult = SWIG_From_int((int)(result));
12192   return vresult;
12193 fail:
12194   return Qnil;
12195 }
12196 
12197 
12198 SWIGINTERN VALUE
_wrap_svn_client_status_t_repos_prop_status_set(int argc,VALUE * argv,VALUE self)12199 _wrap_svn_client_status_t_repos_prop_status_set(int argc, VALUE *argv, VALUE self) {
12200   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
12201   enum svn_wc_status_kind arg2 ;
12202   void *argp1 = 0 ;
12203   int res1 = 0 ;
12204   int val2 ;
12205   int ecode2 = 0 ;
12206 
12207   if ((argc < 1) || (argc > 1)) {
12208     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
12209   }
12210   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12211   if (!SWIG_IsOK(res1)) {
12212     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","repos_prop_status", 1, self ));
12213   }
12214   arg1 = (struct svn_client_status_t *)(argp1);
12215   ecode2 = SWIG_AsVal_int(argv[0], &val2);
12216   if (!SWIG_IsOK(ecode2)) {
12217     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "enum svn_wc_status_kind","repos_prop_status", 2, argv[0] ));
12218   }
12219   arg2 = (enum svn_wc_status_kind)(val2);
12220   if (arg1) (arg1)->repos_prop_status = arg2;
12221   return Qnil;
12222 fail:
12223   return Qnil;
12224 }
12225 
12226 
12227 SWIGINTERN VALUE
_wrap_svn_client_status_t_repos_prop_status_get(int argc,VALUE * argv,VALUE self)12228 _wrap_svn_client_status_t_repos_prop_status_get(int argc, VALUE *argv, VALUE self) {
12229   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
12230   void *argp1 = 0 ;
12231   int res1 = 0 ;
12232   enum svn_wc_status_kind result;
12233   VALUE vresult = Qnil;
12234 
12235   if ((argc < 0) || (argc > 0)) {
12236     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
12237   }
12238   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12239   if (!SWIG_IsOK(res1)) {
12240     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","repos_prop_status", 1, self ));
12241   }
12242   arg1 = (struct svn_client_status_t *)(argp1);
12243   result = (enum svn_wc_status_kind) ((arg1)->repos_prop_status);
12244   vresult = SWIG_From_int((int)(result));
12245   return vresult;
12246 fail:
12247   return Qnil;
12248 }
12249 
12250 
12251 SWIGINTERN VALUE
_wrap_svn_client_status_t_repos_lock_set(int argc,VALUE * argv,VALUE self)12252 _wrap_svn_client_status_t_repos_lock_set(int argc, VALUE *argv, VALUE self) {
12253   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
12254   svn_lock_t *arg2 = (svn_lock_t *) 0 ;
12255   void *argp1 = 0 ;
12256   int res1 = 0 ;
12257   void *argp2 = 0 ;
12258   int res2 = 0 ;
12259 
12260   if ((argc < 1) || (argc > 1)) {
12261     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
12262   }
12263   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12264   if (!SWIG_IsOK(res1)) {
12265     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","repos_lock", 1, self ));
12266   }
12267   arg1 = (struct svn_client_status_t *)(argp1);
12268   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_lock_t, SWIG_POINTER_DISOWN |  0 );
12269   if (!SWIG_IsOK(res2)) {
12270     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_lock_t const *","repos_lock", 2, argv[0] ));
12271   }
12272   arg2 = (svn_lock_t *)(argp2);
12273   if (arg1) (arg1)->repos_lock = (svn_lock_t const *)arg2;
12274   return Qnil;
12275 fail:
12276   return Qnil;
12277 }
12278 
12279 
12280 SWIGINTERN VALUE
_wrap_svn_client_status_t_repos_lock_get(int argc,VALUE * argv,VALUE self)12281 _wrap_svn_client_status_t_repos_lock_get(int argc, VALUE *argv, VALUE self) {
12282   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
12283   void *argp1 = 0 ;
12284   int res1 = 0 ;
12285   svn_lock_t *result = 0 ;
12286   VALUE vresult = Qnil;
12287 
12288   if ((argc < 0) || (argc > 0)) {
12289     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
12290   }
12291   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12292   if (!SWIG_IsOK(res1)) {
12293     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","repos_lock", 1, self ));
12294   }
12295   arg1 = (struct svn_client_status_t *)(argp1);
12296   result = (svn_lock_t *) ((arg1)->repos_lock);
12297   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_lock_t, 0 |  0 );
12298   return vresult;
12299 fail:
12300   return Qnil;
12301 }
12302 
12303 
12304 SWIGINTERN VALUE
_wrap_svn_client_status_t_ood_changed_rev_set(int argc,VALUE * argv,VALUE self)12305 _wrap_svn_client_status_t_ood_changed_rev_set(int argc, VALUE *argv, VALUE self) {
12306   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
12307   svn_revnum_t arg2 ;
12308   void *argp1 = 0 ;
12309   int res1 = 0 ;
12310   long val2 ;
12311   int ecode2 = 0 ;
12312 
12313   if ((argc < 1) || (argc > 1)) {
12314     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
12315   }
12316   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12317   if (!SWIG_IsOK(res1)) {
12318     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","ood_changed_rev", 1, self ));
12319   }
12320   arg1 = (struct svn_client_status_t *)(argp1);
12321   ecode2 = SWIG_AsVal_long(argv[0], &val2);
12322   if (!SWIG_IsOK(ecode2)) {
12323     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","ood_changed_rev", 2, argv[0] ));
12324   }
12325   arg2 = (svn_revnum_t)(val2);
12326   if (arg1) (arg1)->ood_changed_rev = arg2;
12327   return Qnil;
12328 fail:
12329   return Qnil;
12330 }
12331 
12332 
12333 SWIGINTERN VALUE
_wrap_svn_client_status_t_ood_changed_rev_get(int argc,VALUE * argv,VALUE self)12334 _wrap_svn_client_status_t_ood_changed_rev_get(int argc, VALUE *argv, VALUE self) {
12335   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
12336   void *argp1 = 0 ;
12337   int res1 = 0 ;
12338   svn_revnum_t result;
12339   VALUE vresult = Qnil;
12340 
12341   if ((argc < 0) || (argc > 0)) {
12342     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
12343   }
12344   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12345   if (!SWIG_IsOK(res1)) {
12346     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","ood_changed_rev", 1, self ));
12347   }
12348   arg1 = (struct svn_client_status_t *)(argp1);
12349   result = (svn_revnum_t) ((arg1)->ood_changed_rev);
12350   vresult = SWIG_From_long((long)(result));
12351   return vresult;
12352 fail:
12353   return Qnil;
12354 }
12355 
12356 
12357 SWIGINTERN VALUE
_wrap_svn_client_status_t_ood_changed_date_set(int argc,VALUE * argv,VALUE self)12358 _wrap_svn_client_status_t_ood_changed_date_set(int argc, VALUE *argv, VALUE self) {
12359   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
12360   apr_time_t arg2 ;
12361   void *argp1 = 0 ;
12362   int res1 = 0 ;
12363 
12364   if ((argc < 1) || (argc > 1)) {
12365     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
12366   }
12367   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12368   if (!SWIG_IsOK(res1)) {
12369     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","ood_changed_date", 1, self ));
12370   }
12371   arg1 = (struct svn_client_status_t *)(argp1);
12372   {
12373     arg2 = (apr_time_t)NUM2LL(argv[0]);
12374   }
12375   if (arg1) (arg1)->ood_changed_date = arg2;
12376   return Qnil;
12377 fail:
12378   return Qnil;
12379 }
12380 
12381 
12382 SWIGINTERN VALUE
_wrap_svn_client_status_t_ood_changed_date_get(int argc,VALUE * argv,VALUE self)12383 _wrap_svn_client_status_t_ood_changed_date_get(int argc, VALUE *argv, VALUE self) {
12384   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
12385   void *argp1 = 0 ;
12386   int res1 = 0 ;
12387   apr_time_t result;
12388   VALUE vresult = Qnil;
12389 
12390   if ((argc < 0) || (argc > 0)) {
12391     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
12392   }
12393   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12394   if (!SWIG_IsOK(res1)) {
12395     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","ood_changed_date", 1, self ));
12396   }
12397   arg1 = (struct svn_client_status_t *)(argp1);
12398   result =  ((arg1)->ood_changed_date);
12399   {
12400     vresult = LL2NUM((apr_time_t)(result));
12401   }
12402   return vresult;
12403 fail:
12404   return Qnil;
12405 }
12406 
12407 
12408 SWIGINTERN VALUE
_wrap_svn_client_status_t_ood_changed_author_set(int argc,VALUE * argv,VALUE self)12409 _wrap_svn_client_status_t_ood_changed_author_set(int argc, VALUE *argv, VALUE self) {
12410   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
12411   char *arg2 = (char *) 0 ;
12412   void *argp1 = 0 ;
12413   int res1 = 0 ;
12414   int res2 ;
12415   char *buf2 = 0 ;
12416   int alloc2 = 0 ;
12417 
12418   if ((argc < 1) || (argc > 1)) {
12419     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
12420   }
12421   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12422   if (!SWIG_IsOK(res1)) {
12423     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","ood_changed_author", 1, self ));
12424   }
12425   arg1 = (struct svn_client_status_t *)(argp1);
12426   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
12427   if (!SWIG_IsOK(res2)) {
12428     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","ood_changed_author", 2, argv[0] ));
12429   }
12430   arg2 = (char *)(buf2);
12431   {
12432     apr_size_t len = strlen(arg2) + 1;
12433     char *copied;
12434     if (arg1->ood_changed_author) free((char *)arg1->ood_changed_author);
12435     copied = malloc(len);
12436     memcpy(copied, arg2, len);
12437     arg1->ood_changed_author = copied;
12438   }
12439   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12440   return Qnil;
12441 fail:
12442   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12443   return Qnil;
12444 }
12445 
12446 
12447 SWIGINTERN VALUE
_wrap_svn_client_status_t_ood_changed_author_get(int argc,VALUE * argv,VALUE self)12448 _wrap_svn_client_status_t_ood_changed_author_get(int argc, VALUE *argv, VALUE self) {
12449   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
12450   void *argp1 = 0 ;
12451   int res1 = 0 ;
12452   char *result = 0 ;
12453   VALUE vresult = Qnil;
12454 
12455   if ((argc < 0) || (argc > 0)) {
12456     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
12457   }
12458   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12459   if (!SWIG_IsOK(res1)) {
12460     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","ood_changed_author", 1, self ));
12461   }
12462   arg1 = (struct svn_client_status_t *)(argp1);
12463   result = (char *) ((arg1)->ood_changed_author);
12464   {
12465     if (result) {
12466       vresult = rb_str_new2(result);
12467     } else {
12468       vresult = Qnil;
12469     }
12470   }
12471   return vresult;
12472 fail:
12473   return Qnil;
12474 }
12475 
12476 
12477 SWIGINTERN VALUE
_wrap_svn_client_status_t_backwards_compatibility_baton_set(int argc,VALUE * argv,VALUE self)12478 _wrap_svn_client_status_t_backwards_compatibility_baton_set(int argc, VALUE *argv, VALUE self) {
12479   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
12480   void *arg2 = (void *) 0 ;
12481   void *argp1 = 0 ;
12482   int res1 = 0 ;
12483   int res2 ;
12484 
12485   if ((argc < 1) || (argc > 1)) {
12486     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
12487   }
12488   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12489   if (!SWIG_IsOK(res1)) {
12490     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","backwards_compatibility_baton", 1, self ));
12491   }
12492   arg1 = (struct svn_client_status_t *)(argp1);
12493   res2 = SWIG_ConvertPtr(argv[0],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
12494   if (!SWIG_IsOK(res2)) {
12495     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void const *","backwards_compatibility_baton", 2, argv[0] ));
12496   }
12497   if (arg1) (arg1)->backwards_compatibility_baton = (void const *)arg2;
12498   return Qnil;
12499 fail:
12500   return Qnil;
12501 }
12502 
12503 
12504 SWIGINTERN VALUE
_wrap_svn_client_status_t_backwards_compatibility_baton_get(int argc,VALUE * argv,VALUE self)12505 _wrap_svn_client_status_t_backwards_compatibility_baton_get(int argc, VALUE *argv, VALUE self) {
12506   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
12507   void *argp1 = 0 ;
12508   int res1 = 0 ;
12509   void *result = 0 ;
12510   VALUE vresult = Qnil;
12511 
12512   if ((argc < 0) || (argc > 0)) {
12513     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
12514   }
12515   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12516   if (!SWIG_IsOK(res1)) {
12517     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","backwards_compatibility_baton", 1, self ));
12518   }
12519   arg1 = (struct svn_client_status_t *)(argp1);
12520   result = (void *) ((arg1)->backwards_compatibility_baton);
12521   {
12522     char *value = result;
12523     if (value) {
12524       vresult = rb_str_new2(value);
12525     } else {
12526       vresult = Qnil;
12527     }
12528   }
12529   return vresult;
12530 fail:
12531   return Qnil;
12532 }
12533 
12534 
12535 SWIGINTERN VALUE
_wrap_svn_client_status_t_moved_from_abspath_set(int argc,VALUE * argv,VALUE self)12536 _wrap_svn_client_status_t_moved_from_abspath_set(int argc, VALUE *argv, VALUE self) {
12537   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
12538   char *arg2 = (char *) 0 ;
12539   void *argp1 = 0 ;
12540   int res1 = 0 ;
12541   int res2 ;
12542   char *buf2 = 0 ;
12543   int alloc2 = 0 ;
12544 
12545   if ((argc < 1) || (argc > 1)) {
12546     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
12547   }
12548   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12549   if (!SWIG_IsOK(res1)) {
12550     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","moved_from_abspath", 1, self ));
12551   }
12552   arg1 = (struct svn_client_status_t *)(argp1);
12553   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
12554   if (!SWIG_IsOK(res2)) {
12555     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","moved_from_abspath", 2, argv[0] ));
12556   }
12557   arg2 = (char *)(buf2);
12558   {
12559     apr_size_t len = strlen(arg2) + 1;
12560     char *copied;
12561     if (arg1->moved_from_abspath) free((char *)arg1->moved_from_abspath);
12562     copied = malloc(len);
12563     memcpy(copied, arg2, len);
12564     arg1->moved_from_abspath = copied;
12565   }
12566   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12567   return Qnil;
12568 fail:
12569   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12570   return Qnil;
12571 }
12572 
12573 
12574 SWIGINTERN VALUE
_wrap_svn_client_status_t_moved_from_abspath_get(int argc,VALUE * argv,VALUE self)12575 _wrap_svn_client_status_t_moved_from_abspath_get(int argc, VALUE *argv, VALUE self) {
12576   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
12577   void *argp1 = 0 ;
12578   int res1 = 0 ;
12579   char *result = 0 ;
12580   VALUE vresult = Qnil;
12581 
12582   if ((argc < 0) || (argc > 0)) {
12583     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
12584   }
12585   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12586   if (!SWIG_IsOK(res1)) {
12587     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","moved_from_abspath", 1, self ));
12588   }
12589   arg1 = (struct svn_client_status_t *)(argp1);
12590   result = (char *) ((arg1)->moved_from_abspath);
12591   {
12592     if (result) {
12593       vresult = rb_str_new2(result);
12594     } else {
12595       vresult = Qnil;
12596     }
12597   }
12598   return vresult;
12599 fail:
12600   return Qnil;
12601 }
12602 
12603 
12604 SWIGINTERN VALUE
_wrap_svn_client_status_t_moved_to_abspath_set(int argc,VALUE * argv,VALUE self)12605 _wrap_svn_client_status_t_moved_to_abspath_set(int argc, VALUE *argv, VALUE self) {
12606   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
12607   char *arg2 = (char *) 0 ;
12608   void *argp1 = 0 ;
12609   int res1 = 0 ;
12610   int res2 ;
12611   char *buf2 = 0 ;
12612   int alloc2 = 0 ;
12613 
12614   if ((argc < 1) || (argc > 1)) {
12615     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
12616   }
12617   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12618   if (!SWIG_IsOK(res1)) {
12619     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","moved_to_abspath", 1, self ));
12620   }
12621   arg1 = (struct svn_client_status_t *)(argp1);
12622   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
12623   if (!SWIG_IsOK(res2)) {
12624     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","moved_to_abspath", 2, argv[0] ));
12625   }
12626   arg2 = (char *)(buf2);
12627   {
12628     apr_size_t len = strlen(arg2) + 1;
12629     char *copied;
12630     if (arg1->moved_to_abspath) free((char *)arg1->moved_to_abspath);
12631     copied = malloc(len);
12632     memcpy(copied, arg2, len);
12633     arg1->moved_to_abspath = copied;
12634   }
12635   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12636   return Qnil;
12637 fail:
12638   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12639   return Qnil;
12640 }
12641 
12642 
12643 SWIGINTERN VALUE
_wrap_svn_client_status_t_moved_to_abspath_get(int argc,VALUE * argv,VALUE self)12644 _wrap_svn_client_status_t_moved_to_abspath_get(int argc, VALUE *argv, VALUE self) {
12645   struct svn_client_status_t *arg1 = (struct svn_client_status_t *) 0 ;
12646   void *argp1 = 0 ;
12647   int res1 = 0 ;
12648   char *result = 0 ;
12649   VALUE vresult = Qnil;
12650 
12651   if ((argc < 0) || (argc > 0)) {
12652     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
12653   }
12654   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12655   if (!SWIG_IsOK(res1)) {
12656     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_status_t *","moved_to_abspath", 1, self ));
12657   }
12658   arg1 = (struct svn_client_status_t *)(argp1);
12659   result = (char *) ((arg1)->moved_to_abspath);
12660   {
12661     if (result) {
12662       vresult = rb_str_new2(result);
12663     } else {
12664       vresult = Qnil;
12665     }
12666   }
12667   return vresult;
12668 fail:
12669   return Qnil;
12670 }
12671 
12672 
12673 SWIGINTERN VALUE
12674 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_svn_client_status_t_allocate(VALUE self)12675 _wrap_svn_client_status_t_allocate(VALUE self)
12676 #else
12677 _wrap_svn_client_status_t_allocate(int argc, VALUE *argv, VALUE self)
12678 #endif
12679 {
12680   VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_client_status_t);
12681 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
12682   rb_obj_call_init(vresult, argc, argv);
12683 #endif
12684   return vresult;
12685 }
12686 
12687 
12688 SWIGINTERN VALUE
_wrap_new_svn_client_status_t(int argc,VALUE * argv,VALUE self)12689 _wrap_new_svn_client_status_t(int argc, VALUE *argv, VALUE self) {
12690   struct svn_client_status_t *result = 0 ;
12691 
12692   if ((argc < 0) || (argc > 0)) {
12693     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
12694   }
12695   {
12696     result = (struct svn_client_status_t *)calloc(1, sizeof(struct svn_client_status_t));
12697     DATA_PTR(self) = result;
12698 
12699 
12700 
12701   }
12702   return self;
12703 fail:
12704   return Qnil;
12705 }
12706 
12707 
12708 SWIGINTERN void
free_svn_client_status_t(void * self)12709 free_svn_client_status_t(void *self) {
12710     struct svn_client_status_t *arg1 = (struct svn_client_status_t *)self;
12711     free((char *) arg1);
12712 }
12713 
12714 SWIGINTERN VALUE
_wrap_svn_client_status_dup(int argc,VALUE * argv,VALUE self)12715 _wrap_svn_client_status_dup(int argc, VALUE *argv, VALUE self) {
12716   svn_client_status_t *arg1 = (svn_client_status_t *) 0 ;
12717   apr_pool_t *arg2 = (apr_pool_t *) 0 ;
12718   VALUE _global_svn_swig_rb_pool ;
12719   apr_pool_t *_global_pool ;
12720   void *argp1 = 0 ;
12721   int res1 = 0 ;
12722   svn_client_status_t *result = 0 ;
12723   VALUE vresult = Qnil;
12724 
12725   {
12726     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2);
12727     _global_pool = arg2;
12728     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
12729   }
12730   if ((argc < 1) || (argc > 2)) {
12731     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
12732   }
12733   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12734   if (!SWIG_IsOK(res1)) {
12735     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_status_t const *","svn_client_status_dup", 1, argv[0] ));
12736   }
12737   arg1 = (svn_client_status_t *)(argp1);
12738   if (argc > 1) {
12739 
12740   }
12741   {
12742     result = (svn_client_status_t *)svn_client_status_dup((struct svn_client_status_t const *)arg1,arg2);
12743 
12744 
12745 
12746   }
12747   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_client_status_t, 0 |  0 );
12748   {
12749     VALUE target;
12750     target = _global_vresult_address == &vresult ? self : vresult;
12751     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12752     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12753     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12754   }
12755   return vresult;
12756 fail:
12757   {
12758     VALUE target;
12759     target = _global_vresult_address == &vresult ? self : vresult;
12760     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12761     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12762     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12763   }
12764   return Qnil;
12765 }
12766 
12767 
12768 SWIGINTERN VALUE
_wrap_svn_client_status6(int argc,VALUE * argv,VALUE self)12769 _wrap_svn_client_status6(int argc, VALUE *argv, VALUE self) {
12770   svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
12771   svn_client_ctx_t *arg2 = (svn_client_ctx_t *) 0 ;
12772   char *arg3 = (char *) 0 ;
12773   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
12774   svn_depth_t arg5 ;
12775   svn_boolean_t arg6 ;
12776   svn_boolean_t arg7 ;
12777   svn_boolean_t arg8 ;
12778   svn_boolean_t arg9 ;
12779   svn_boolean_t arg10 ;
12780   svn_boolean_t arg11 ;
12781   apr_array_header_t *arg12 = (apr_array_header_t *) 0 ;
12782   svn_client_status_func_t arg13 = (svn_client_status_func_t) 0 ;
12783   void *arg14 = (void *) 0 ;
12784   apr_pool_t *arg15 = (apr_pool_t *) 0 ;
12785   VALUE _global_svn_swig_rb_pool ;
12786   apr_pool_t *_global_pool ;
12787   svn_revnum_t temp1 ;
12788   int res1 = SWIG_TMPOBJ ;
12789   void *argp2 = 0 ;
12790   int res2 = 0 ;
12791   int res3 ;
12792   char *buf3 = 0 ;
12793   int alloc3 = 0 ;
12794   svn_opt_revision_t rev4 ;
12795   int res14 ;
12796   svn_error_t *result = 0 ;
12797   VALUE vresult = Qnil;
12798 
12799   {
12800     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg15);
12801     _global_pool = arg15;
12802     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
12803   }
12804   arg1 = &temp1;
12805   if ((argc < 13) || (argc > 14)) {
12806     rb_raise(rb_eArgError, "wrong # of arguments(%d for 13)",argc); SWIG_fail;
12807   }
12808   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
12809   if (!SWIG_IsOK(res2)) {
12810     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_status6", 2, argv[0] ));
12811   }
12812   arg2 = (svn_client_ctx_t *)(argp2);
12813   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
12814   if (!SWIG_IsOK(res3)) {
12815     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_status6", 3, argv[1] ));
12816   }
12817   arg3 = (char *)(buf3);
12818   {
12819     arg4 = &rev4;
12820     svn_swig_rb_set_revision(&rev4, argv[2]);
12821   }
12822   {
12823     arg5 = svn_swig_rb_to_depth(argv[3]);
12824   }
12825   arg6 = RTEST(argv[4]);
12826   arg7 = RTEST(argv[5]);
12827   arg8 = RTEST(argv[6]);
12828   arg9 = RTEST(argv[7]);
12829   arg10 = RTEST(argv[8]);
12830   arg11 = RTEST(argv[9]);
12831   {
12832     arg12 = (NIL_P(argv[10])) ? NULL :
12833     svn_swig_rb_strings_to_apr_array(argv[10], _global_pool);
12834   }
12835   {
12836     int res = SWIG_ConvertFunctionPtr(argv[11], (void**)(&arg13), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_client_status_t_p_apr_pool_t__p_svn_error_t);
12837     if (!SWIG_IsOK(res)) {
12838       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_status_func_t","svn_client_status6", 13, argv[11] ));
12839     }
12840   }
12841   res14 = SWIG_ConvertPtr(argv[12],SWIG_as_voidptrptr(&arg14), 0, 0);
12842   if (!SWIG_IsOK(res14)) {
12843     SWIG_exception_fail(SWIG_ArgError(res14), Ruby_Format_TypeError( "", "void *","svn_client_status6", 14, argv[12] ));
12844   }
12845   if (argc > 13) {
12846 
12847   }
12848   {
12849     if (!arg4) {
12850       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
12851     }
12852   }
12853   {
12854     result = (svn_error_t *)svn_client_status6(arg1,arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,(apr_array_header_t const *)arg12,arg13,arg14,arg15);
12855 
12856 
12857 
12858   }
12859   {
12860     if (result) {
12861       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12862       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12863       svn_swig_rb_handle_svn_error(result);
12864     }
12865     vresult = Qnil;
12866   }
12867   if (SWIG_IsTmpObj(res1)) {
12868     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg1)));
12869   } else {
12870     int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
12871     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags));
12872   }
12873   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12874   {
12875     VALUE target;
12876     target = _global_vresult_address == &vresult ? self : vresult;
12877     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12878     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12879     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12880   }
12881   return vresult;
12882 fail:
12883   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12884   {
12885     VALUE target;
12886     target = _global_vresult_address == &vresult ? self : vresult;
12887     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12888     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12889     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12890   }
12891   return Qnil;
12892 }
12893 
12894 
12895 SWIGINTERN VALUE
_wrap_svn_client_status5(int argc,VALUE * argv,VALUE self)12896 _wrap_svn_client_status5(int argc, VALUE *argv, VALUE self) {
12897   svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
12898   svn_client_ctx_t *arg2 = (svn_client_ctx_t *) 0 ;
12899   char *arg3 = (char *) 0 ;
12900   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
12901   svn_depth_t arg5 ;
12902   svn_boolean_t arg6 ;
12903   svn_boolean_t arg7 ;
12904   svn_boolean_t arg8 ;
12905   svn_boolean_t arg9 ;
12906   svn_boolean_t arg10 ;
12907   apr_array_header_t *arg11 = (apr_array_header_t *) 0 ;
12908   svn_client_status_func_t arg12 = (svn_client_status_func_t) 0 ;
12909   void *arg13 = (void *) 0 ;
12910   apr_pool_t *arg14 = (apr_pool_t *) 0 ;
12911   VALUE _global_svn_swig_rb_pool ;
12912   apr_pool_t *_global_pool ;
12913   svn_revnum_t temp1 ;
12914   int res1 = SWIG_TMPOBJ ;
12915   void *argp2 = 0 ;
12916   int res2 = 0 ;
12917   int res3 ;
12918   char *buf3 = 0 ;
12919   int alloc3 = 0 ;
12920   svn_opt_revision_t rev4 ;
12921   int res13 ;
12922   svn_error_t *result = 0 ;
12923   VALUE vresult = Qnil;
12924 
12925   {
12926     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg14);
12927     _global_pool = arg14;
12928     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
12929   }
12930   arg1 = &temp1;
12931   if ((argc < 12) || (argc > 13)) {
12932     rb_raise(rb_eArgError, "wrong # of arguments(%d for 12)",argc); SWIG_fail;
12933   }
12934   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
12935   if (!SWIG_IsOK(res2)) {
12936     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_status5", 2, argv[0] ));
12937   }
12938   arg2 = (svn_client_ctx_t *)(argp2);
12939   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
12940   if (!SWIG_IsOK(res3)) {
12941     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_status5", 3, argv[1] ));
12942   }
12943   arg3 = (char *)(buf3);
12944   {
12945     arg4 = &rev4;
12946     svn_swig_rb_set_revision(&rev4, argv[2]);
12947   }
12948   {
12949     arg5 = svn_swig_rb_to_depth(argv[3]);
12950   }
12951   arg6 = RTEST(argv[4]);
12952   arg7 = RTEST(argv[5]);
12953   arg8 = RTEST(argv[6]);
12954   arg9 = RTEST(argv[7]);
12955   arg10 = RTEST(argv[8]);
12956   {
12957     arg11 = (NIL_P(argv[9])) ? NULL :
12958     svn_swig_rb_strings_to_apr_array(argv[9], _global_pool);
12959   }
12960   {
12961     int res = SWIG_ConvertFunctionPtr(argv[10], (void**)(&arg12), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_client_status_t_p_apr_pool_t__p_svn_error_t);
12962     if (!SWIG_IsOK(res)) {
12963       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_status_func_t","svn_client_status5", 12, argv[10] ));
12964     }
12965   }
12966   res13 = SWIG_ConvertPtr(argv[11],SWIG_as_voidptrptr(&arg13), 0, 0);
12967   if (!SWIG_IsOK(res13)) {
12968     SWIG_exception_fail(SWIG_ArgError(res13), Ruby_Format_TypeError( "", "void *","svn_client_status5", 13, argv[11] ));
12969   }
12970   if (argc > 12) {
12971 
12972   }
12973   {
12974     if (!arg4) {
12975       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
12976     }
12977   }
12978   {
12979     result = (svn_error_t *)svn_client_status5(arg1,arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,arg5,arg6,arg7,arg8,arg9,arg10,(apr_array_header_t const *)arg11,arg12,arg13,arg14);
12980 
12981 
12982 
12983   }
12984   {
12985     if (result) {
12986       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12987       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12988       svn_swig_rb_handle_svn_error(result);
12989     }
12990     vresult = Qnil;
12991   }
12992   if (SWIG_IsTmpObj(res1)) {
12993     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg1)));
12994   } else {
12995     int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
12996     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags));
12997   }
12998   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12999   {
13000     VALUE target;
13001     target = _global_vresult_address == &vresult ? self : vresult;
13002     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13003     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13004     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13005   }
13006   return vresult;
13007 fail:
13008   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
13009   {
13010     VALUE target;
13011     target = _global_vresult_address == &vresult ? self : vresult;
13012     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13013     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13014     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13015   }
13016   return Qnil;
13017 }
13018 
13019 
13020 SWIGINTERN VALUE
_wrap_svn_client_status4(int argc,VALUE * argv,VALUE self)13021 _wrap_svn_client_status4(int argc, VALUE *argv, VALUE self) {
13022   svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
13023   char *arg2 = (char *) 0 ;
13024   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
13025   svn_wc_status_func3_t arg4 = (svn_wc_status_func3_t) 0 ;
13026   void *arg5 = (void *) 0 ;
13027   svn_depth_t arg6 ;
13028   svn_boolean_t arg7 ;
13029   svn_boolean_t arg8 ;
13030   svn_boolean_t arg9 ;
13031   svn_boolean_t arg10 ;
13032   apr_array_header_t *arg11 = (apr_array_header_t *) 0 ;
13033   svn_client_ctx_t *arg12 = (svn_client_ctx_t *) 0 ;
13034   apr_pool_t *arg13 = (apr_pool_t *) 0 ;
13035   VALUE _global_svn_swig_rb_pool ;
13036   apr_pool_t *_global_pool ;
13037   svn_revnum_t temp1 ;
13038   int res1 = SWIG_TMPOBJ ;
13039   int res2 ;
13040   char *buf2 = 0 ;
13041   int alloc2 = 0 ;
13042   svn_opt_revision_t rev3 ;
13043   int res5 ;
13044   void *argp12 = 0 ;
13045   int res12 = 0 ;
13046   svn_error_t *result = 0 ;
13047   VALUE vresult = Qnil;
13048 
13049   {
13050     int adjusted_argc = argc;
13051     VALUE *adjusted_argv = argv;
13052 
13053     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
13054       &adjusted_argv);
13055     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
13056       &_global_svn_swig_rb_pool, &arg13);
13057     _global_pool = arg13;
13058     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
13059   }
13060   arg1 = &temp1;
13061   if ((argc < 10) || (argc > 12)) {
13062     rb_raise(rb_eArgError, "wrong # of arguments(%d for 10)",argc); SWIG_fail;
13063   }
13064   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
13065   if (!SWIG_IsOK(res2)) {
13066     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_status4", 2, argv[0] ));
13067   }
13068   arg2 = (char *)(buf2);
13069   {
13070     arg3 = &rev3;
13071     svn_swig_rb_set_revision(&rev3, argv[1]);
13072   }
13073   {
13074     int res = SWIG_ConvertFunctionPtr(argv[2], (void**)(&arg4), SWIGTYPE_p_f_p_void_p_q_const__char_p_svn_wc_status2_t_p_apr_pool_t__p_svn_error_t);
13075     if (!SWIG_IsOK(res)) {
13076       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_wc_status_func3_t","svn_client_status4", 4, argv[2] ));
13077     }
13078   }
13079   res5 = SWIG_ConvertPtr(argv[3],SWIG_as_voidptrptr(&arg5), 0, 0);
13080   if (!SWIG_IsOK(res5)) {
13081     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "void *","svn_client_status4", 5, argv[3] ));
13082   }
13083   {
13084     arg6 = svn_swig_rb_to_depth(argv[4]);
13085   }
13086   arg7 = RTEST(argv[5]);
13087   arg8 = RTEST(argv[6]);
13088   arg9 = RTEST(argv[7]);
13089   arg10 = RTEST(argv[8]);
13090   {
13091     arg11 = (NIL_P(argv[9])) ? NULL :
13092     svn_swig_rb_strings_to_apr_array(argv[9], _global_pool);
13093   }
13094   if (argc > 10) {
13095     res12 = SWIG_ConvertPtr(argv[10], &argp12,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
13096     if (!SWIG_IsOK(res12)) {
13097       SWIG_exception_fail(SWIG_ArgError(res12), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_status4", 12, argv[10] ));
13098     }
13099     arg12 = (svn_client_ctx_t *)(argp12);
13100   }
13101   if (argc > 11) {
13102 
13103   }
13104   {
13105     if (!arg3) {
13106       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
13107     }
13108   }
13109   {
13110     result = (svn_error_t *)svn_client_status4(arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,(apr_array_header_t const *)arg11,arg12,arg13);
13111 
13112 
13113 
13114   }
13115   {
13116     if (result) {
13117       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13118       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13119       svn_swig_rb_handle_svn_error(result);
13120     }
13121     vresult = Qnil;
13122   }
13123   if (SWIG_IsTmpObj(res1)) {
13124     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg1)));
13125   } else {
13126     int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
13127     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags));
13128   }
13129   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13130   {
13131     VALUE target;
13132     target = _global_vresult_address == &vresult ? self : vresult;
13133     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13134     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13135     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13136   }
13137   return vresult;
13138 fail:
13139   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13140   {
13141     VALUE target;
13142     target = _global_vresult_address == &vresult ? self : vresult;
13143     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13144     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13145     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13146   }
13147   return Qnil;
13148 }
13149 
13150 
13151 SWIGINTERN VALUE
_wrap_svn_client_status3(int argc,VALUE * argv,VALUE self)13152 _wrap_svn_client_status3(int argc, VALUE *argv, VALUE self) {
13153   svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
13154   char *arg2 = (char *) 0 ;
13155   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
13156   svn_wc_status_func2_t arg4 = (svn_wc_status_func2_t) 0 ;
13157   void *arg5 = (void *) 0 ;
13158   svn_depth_t arg6 ;
13159   svn_boolean_t arg7 ;
13160   svn_boolean_t arg8 ;
13161   svn_boolean_t arg9 ;
13162   svn_boolean_t arg10 ;
13163   apr_array_header_t *arg11 = (apr_array_header_t *) 0 ;
13164   svn_client_ctx_t *arg12 = (svn_client_ctx_t *) 0 ;
13165   apr_pool_t *arg13 = (apr_pool_t *) 0 ;
13166   VALUE _global_svn_swig_rb_pool ;
13167   apr_pool_t *_global_pool ;
13168   svn_revnum_t temp1 ;
13169   int res1 = SWIG_TMPOBJ ;
13170   int res2 ;
13171   char *buf2 = 0 ;
13172   int alloc2 = 0 ;
13173   svn_opt_revision_t rev3 ;
13174   void *argp12 = 0 ;
13175   int res12 = 0 ;
13176   svn_error_t *result = 0 ;
13177   VALUE vresult = Qnil;
13178 
13179   {
13180     int adjusted_argc = argc;
13181     VALUE *adjusted_argv = argv;
13182 
13183     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
13184       &adjusted_argv);
13185     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
13186       &_global_svn_swig_rb_pool, &arg13);
13187     _global_pool = arg13;
13188     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
13189   }
13190   arg1 = &temp1;
13191   if ((argc < 9) || (argc > 11)) {
13192     rb_raise(rb_eArgError, "wrong # of arguments(%d for 9)",argc); SWIG_fail;
13193   }
13194   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
13195   if (!SWIG_IsOK(res2)) {
13196     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_status3", 2, argv[0] ));
13197   }
13198   arg2 = (char *)(buf2);
13199   {
13200     arg3 = &rev3;
13201     svn_swig_rb_set_revision(&rev3, argv[1]);
13202   }
13203   {
13204     arg4 = (svn_wc_status_func2_t) svn_swig_rb_wc_status_func;
13205     arg5 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
13206   }
13207   {
13208     arg6 = svn_swig_rb_to_depth(argv[3]);
13209   }
13210   arg7 = RTEST(argv[4]);
13211   arg8 = RTEST(argv[5]);
13212   arg9 = RTEST(argv[6]);
13213   arg10 = RTEST(argv[7]);
13214   {
13215     arg11 = (NIL_P(argv[8])) ? NULL :
13216     svn_swig_rb_strings_to_apr_array(argv[8], _global_pool);
13217   }
13218   if (argc > 9) {
13219     res12 = SWIG_ConvertPtr(argv[9], &argp12,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
13220     if (!SWIG_IsOK(res12)) {
13221       SWIG_exception_fail(SWIG_ArgError(res12), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_status3", 12, argv[9] ));
13222     }
13223     arg12 = (svn_client_ctx_t *)(argp12);
13224   }
13225   if (argc > 10) {
13226 
13227   }
13228   {
13229     if (!arg3) {
13230       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
13231     }
13232   }
13233   {
13234     result = (svn_error_t *)svn_client_status3(arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,(apr_array_header_t const *)arg11,arg12,arg13);
13235 
13236 
13237 
13238   }
13239   {
13240     if (result) {
13241       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13242       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13243       svn_swig_rb_handle_svn_error(result);
13244     }
13245     vresult = Qnil;
13246   }
13247   if (SWIG_IsTmpObj(res1)) {
13248     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg1)));
13249   } else {
13250     int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
13251     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags));
13252   }
13253   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13254   {
13255     VALUE target;
13256     target = _global_vresult_address == &vresult ? self : vresult;
13257     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13258     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13259     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13260   }
13261   return vresult;
13262 fail:
13263   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13264   {
13265     VALUE target;
13266     target = _global_vresult_address == &vresult ? self : vresult;
13267     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13268     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13269     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13270   }
13271   return Qnil;
13272 }
13273 
13274 
13275 SWIGINTERN VALUE
_wrap_svn_client_status2(int argc,VALUE * argv,VALUE self)13276 _wrap_svn_client_status2(int argc, VALUE *argv, VALUE self) {
13277   svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
13278   char *arg2 = (char *) 0 ;
13279   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
13280   svn_wc_status_func2_t arg4 = (svn_wc_status_func2_t) 0 ;
13281   void *arg5 = (void *) 0 ;
13282   svn_boolean_t arg6 ;
13283   svn_boolean_t arg7 ;
13284   svn_boolean_t arg8 ;
13285   svn_boolean_t arg9 ;
13286   svn_boolean_t arg10 ;
13287   svn_client_ctx_t *arg11 = (svn_client_ctx_t *) 0 ;
13288   apr_pool_t *arg12 = (apr_pool_t *) 0 ;
13289   VALUE _global_svn_swig_rb_pool ;
13290   apr_pool_t *_global_pool ;
13291   svn_revnum_t temp1 ;
13292   int res1 = SWIG_TMPOBJ ;
13293   int res2 ;
13294   char *buf2 = 0 ;
13295   int alloc2 = 0 ;
13296   svn_opt_revision_t rev3 ;
13297   void *argp11 = 0 ;
13298   int res11 = 0 ;
13299   svn_error_t *result = 0 ;
13300   VALUE vresult = Qnil;
13301 
13302   {
13303     int adjusted_argc = argc;
13304     VALUE *adjusted_argv = argv;
13305 
13306     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
13307       &adjusted_argv);
13308     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
13309       &_global_svn_swig_rb_pool, &arg12);
13310     _global_pool = arg12;
13311     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
13312   }
13313   arg1 = &temp1;
13314   if ((argc < 8) || (argc > 10)) {
13315     rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
13316   }
13317   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
13318   if (!SWIG_IsOK(res2)) {
13319     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_status2", 2, argv[0] ));
13320   }
13321   arg2 = (char *)(buf2);
13322   {
13323     arg3 = &rev3;
13324     svn_swig_rb_set_revision(&rev3, argv[1]);
13325   }
13326   {
13327     arg4 = (svn_wc_status_func2_t) svn_swig_rb_wc_status_func;
13328     arg5 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
13329   }
13330   arg6 = RTEST(argv[3]);
13331   arg7 = RTEST(argv[4]);
13332   arg8 = RTEST(argv[5]);
13333   arg9 = RTEST(argv[6]);
13334   arg10 = RTEST(argv[7]);
13335   if (argc > 8) {
13336     res11 = SWIG_ConvertPtr(argv[8], &argp11,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
13337     if (!SWIG_IsOK(res11)) {
13338       SWIG_exception_fail(SWIG_ArgError(res11), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_status2", 11, argv[8] ));
13339     }
13340     arg11 = (svn_client_ctx_t *)(argp11);
13341   }
13342   if (argc > 9) {
13343 
13344   }
13345   {
13346     if (!arg3) {
13347       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
13348     }
13349   }
13350   {
13351     result = (svn_error_t *)svn_client_status2(arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
13352 
13353 
13354 
13355   }
13356   {
13357     if (result) {
13358       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13359       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13360       svn_swig_rb_handle_svn_error(result);
13361     }
13362     vresult = Qnil;
13363   }
13364   if (SWIG_IsTmpObj(res1)) {
13365     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg1)));
13366   } else {
13367     int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
13368     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags));
13369   }
13370   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13371   {
13372     VALUE target;
13373     target = _global_vresult_address == &vresult ? self : vresult;
13374     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13375     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13376     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13377   }
13378   return vresult;
13379 fail:
13380   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13381   {
13382     VALUE target;
13383     target = _global_vresult_address == &vresult ? self : vresult;
13384     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13385     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13386     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13387   }
13388   return Qnil;
13389 }
13390 
13391 
13392 SWIGINTERN VALUE
_wrap_svn_client_status(int argc,VALUE * argv,VALUE self)13393 _wrap_svn_client_status(int argc, VALUE *argv, VALUE self) {
13394   svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
13395   char *arg2 = (char *) 0 ;
13396   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
13397   svn_wc_status_func_t arg4 = (svn_wc_status_func_t) 0 ;
13398   void *arg5 = (void *) 0 ;
13399   svn_boolean_t arg6 ;
13400   svn_boolean_t arg7 ;
13401   svn_boolean_t arg8 ;
13402   svn_boolean_t arg9 ;
13403   svn_client_ctx_t *arg10 = (svn_client_ctx_t *) 0 ;
13404   apr_pool_t *arg11 = (apr_pool_t *) 0 ;
13405   VALUE _global_svn_swig_rb_pool ;
13406   apr_pool_t *_global_pool ;
13407   svn_revnum_t temp1 ;
13408   int res1 = SWIG_TMPOBJ ;
13409   int res2 ;
13410   char *buf2 = 0 ;
13411   int alloc2 = 0 ;
13412   svn_opt_revision_t rev3 ;
13413   int res5 ;
13414   void *argp10 = 0 ;
13415   int res10 = 0 ;
13416   svn_error_t *result = 0 ;
13417   VALUE vresult = Qnil;
13418 
13419   {
13420     int adjusted_argc = argc;
13421     VALUE *adjusted_argv = argv;
13422 
13423     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
13424       &adjusted_argv);
13425     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
13426       &_global_svn_swig_rb_pool, &arg11);
13427     _global_pool = arg11;
13428     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
13429   }
13430   arg1 = &temp1;
13431   if ((argc < 8) || (argc > 10)) {
13432     rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
13433   }
13434   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
13435   if (!SWIG_IsOK(res2)) {
13436     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_status", 2, argv[0] ));
13437   }
13438   arg2 = (char *)(buf2);
13439   {
13440     arg3 = &rev3;
13441     svn_swig_rb_set_revision(&rev3, argv[1]);
13442   }
13443   {
13444     int res = SWIG_ConvertFunctionPtr(argv[2], (void**)(&arg4), SWIGTYPE_p_f_p_void_p_q_const__char_p_struct_svn_wc_status_t__void);
13445     if (!SWIG_IsOK(res)) {
13446       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_wc_status_func_t","svn_client_status", 4, argv[2] ));
13447     }
13448   }
13449   res5 = SWIG_ConvertPtr(argv[3],SWIG_as_voidptrptr(&arg5), 0, 0);
13450   if (!SWIG_IsOK(res5)) {
13451     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "void *","svn_client_status", 5, argv[3] ));
13452   }
13453   arg6 = RTEST(argv[4]);
13454   arg7 = RTEST(argv[5]);
13455   arg8 = RTEST(argv[6]);
13456   arg9 = RTEST(argv[7]);
13457   if (argc > 8) {
13458     res10 = SWIG_ConvertPtr(argv[8], &argp10,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
13459     if (!SWIG_IsOK(res10)) {
13460       SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_status", 10, argv[8] ));
13461     }
13462     arg10 = (svn_client_ctx_t *)(argp10);
13463   }
13464   if (argc > 9) {
13465 
13466   }
13467   {
13468     result = (svn_error_t *)svn_client_status(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
13469 
13470 
13471 
13472   }
13473   {
13474     if (result) {
13475       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13476       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13477       svn_swig_rb_handle_svn_error(result);
13478     }
13479     vresult = Qnil;
13480   }
13481   if (SWIG_IsTmpObj(res1)) {
13482     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg1)));
13483   } else {
13484     int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
13485     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags));
13486   }
13487   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13488   {
13489     VALUE target;
13490     target = _global_vresult_address == &vresult ? self : vresult;
13491     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13492     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13493     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13494   }
13495   return vresult;
13496 fail:
13497   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13498   {
13499     VALUE target;
13500     target = _global_vresult_address == &vresult ? self : vresult;
13501     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13502     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13503     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13504   }
13505   return Qnil;
13506 }
13507 
13508 
13509 SWIGINTERN VALUE
_wrap_svn_client_log5(int argc,VALUE * argv,VALUE self)13510 _wrap_svn_client_log5(int argc, VALUE *argv, VALUE self) {
13511   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
13512   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
13513   apr_array_header_t *arg3 = (apr_array_header_t *) 0 ;
13514   int arg4 ;
13515   svn_boolean_t arg5 ;
13516   svn_boolean_t arg6 ;
13517   svn_boolean_t arg7 ;
13518   apr_array_header_t *arg8 = (apr_array_header_t *) 0 ;
13519   svn_log_entry_receiver_t arg9 = (svn_log_entry_receiver_t) 0 ;
13520   void *arg10 = (void *) 0 ;
13521   svn_client_ctx_t *arg11 = (svn_client_ctx_t *) 0 ;
13522   apr_pool_t *arg12 = (apr_pool_t *) 0 ;
13523   VALUE _global_svn_swig_rb_pool ;
13524   apr_pool_t *_global_pool ;
13525   svn_opt_revision_t rev2 ;
13526   int val4 ;
13527   int ecode4 = 0 ;
13528   void *argp11 = 0 ;
13529   int res11 = 0 ;
13530   svn_error_t *result = 0 ;
13531   VALUE vresult = Qnil;
13532 
13533   {
13534     int adjusted_argc = argc;
13535     VALUE *adjusted_argv = argv;
13536 
13537     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
13538       &adjusted_argv);
13539     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
13540       &_global_svn_swig_rb_pool, &arg12);
13541     _global_pool = arg12;
13542     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
13543   }
13544   if ((argc < 9) || (argc > 11)) {
13545     rb_raise(rb_eArgError, "wrong # of arguments(%d for 9)",argc); SWIG_fail;
13546   }
13547   {
13548     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
13549   }
13550   {
13551     arg2 = &rev2;
13552     svn_swig_rb_set_revision(&rev2, argv[1]);
13553   }
13554   {
13555     arg3 = svn_swig_rb_array_to_apr_array_revision_range(argv[2], _global_pool);
13556   }
13557   ecode4 = SWIG_AsVal_int(argv[3], &val4);
13558   if (!SWIG_IsOK(ecode4)) {
13559     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","svn_client_log5", 4, argv[3] ));
13560   }
13561   arg4 = (int)(val4);
13562   arg5 = RTEST(argv[4]);
13563   arg6 = RTEST(argv[5]);
13564   arg7 = RTEST(argv[6]);
13565   {
13566     arg8 = (NIL_P(argv[7])) ? NULL :
13567     svn_swig_rb_strings_to_apr_array(argv[7], _global_pool);
13568   }
13569   {
13570     arg9 = (svn_log_entry_receiver_t) svn_swig_rb_log_entry_receiver;
13571     arg10 = (void *)svn_swig_rb_make_baton(argv[8], _global_svn_swig_rb_pool);
13572   }
13573   if (argc > 9) {
13574     res11 = SWIG_ConvertPtr(argv[9], &argp11,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
13575     if (!SWIG_IsOK(res11)) {
13576       SWIG_exception_fail(SWIG_ArgError(res11), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_log5", 11, argv[9] ));
13577     }
13578     arg11 = (svn_client_ctx_t *)(argp11);
13579   }
13580   if (argc > 10) {
13581 
13582   }
13583   {
13584     if (!arg2) {
13585       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
13586     }
13587   }
13588   {
13589     result = (svn_error_t *)svn_client_log5((apr_array_header_t const *)arg1,(struct svn_opt_revision_t const *)arg2,(apr_array_header_t const *)arg3,arg4,arg5,arg6,arg7,(apr_array_header_t const *)arg8,arg9,arg10,arg11,arg12);
13590 
13591 
13592 
13593   }
13594   {
13595     if (result) {
13596       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13597       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13598       svn_swig_rb_handle_svn_error(result);
13599     }
13600     vresult = Qnil;
13601   }
13602   {
13603     VALUE target;
13604     target = _global_vresult_address == &vresult ? self : vresult;
13605     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13606     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13607     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13608   }
13609   return vresult;
13610 fail:
13611   {
13612     VALUE target;
13613     target = _global_vresult_address == &vresult ? self : vresult;
13614     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13615     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13616     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13617   }
13618   return Qnil;
13619 }
13620 
13621 
13622 SWIGINTERN VALUE
_wrap_svn_client_log4(int argc,VALUE * argv,VALUE self)13623 _wrap_svn_client_log4(int argc, VALUE *argv, VALUE self) {
13624   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
13625   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
13626   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
13627   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
13628   int arg5 ;
13629   svn_boolean_t arg6 ;
13630   svn_boolean_t arg7 ;
13631   svn_boolean_t arg8 ;
13632   apr_array_header_t *arg9 = (apr_array_header_t *) 0 ;
13633   svn_log_entry_receiver_t arg10 = (svn_log_entry_receiver_t) 0 ;
13634   void *arg11 = (void *) 0 ;
13635   svn_client_ctx_t *arg12 = (svn_client_ctx_t *) 0 ;
13636   apr_pool_t *arg13 = (apr_pool_t *) 0 ;
13637   VALUE _global_svn_swig_rb_pool ;
13638   apr_pool_t *_global_pool ;
13639   svn_opt_revision_t rev2 ;
13640   svn_opt_revision_t rev3 ;
13641   svn_opt_revision_t rev4 ;
13642   int val5 ;
13643   int ecode5 = 0 ;
13644   void *argp12 = 0 ;
13645   int res12 = 0 ;
13646   svn_error_t *result = 0 ;
13647   VALUE vresult = Qnil;
13648 
13649   {
13650     int adjusted_argc = argc;
13651     VALUE *adjusted_argv = argv;
13652 
13653     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
13654       &adjusted_argv);
13655     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
13656       &_global_svn_swig_rb_pool, &arg13);
13657     _global_pool = arg13;
13658     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
13659   }
13660   if ((argc < 10) || (argc > 12)) {
13661     rb_raise(rb_eArgError, "wrong # of arguments(%d for 10)",argc); SWIG_fail;
13662   }
13663   {
13664     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
13665   }
13666   {
13667     arg2 = &rev2;
13668     svn_swig_rb_set_revision(&rev2, argv[1]);
13669   }
13670   {
13671     arg3 = &rev3;
13672     svn_swig_rb_set_revision(&rev3, argv[2]);
13673   }
13674   {
13675     arg4 = &rev4;
13676     svn_swig_rb_set_revision(&rev4, argv[3]);
13677   }
13678   ecode5 = SWIG_AsVal_int(argv[4], &val5);
13679   if (!SWIG_IsOK(ecode5)) {
13680     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "int","svn_client_log4", 5, argv[4] ));
13681   }
13682   arg5 = (int)(val5);
13683   arg6 = RTEST(argv[5]);
13684   arg7 = RTEST(argv[6]);
13685   arg8 = RTEST(argv[7]);
13686   {
13687     arg9 = (NIL_P(argv[8])) ? NULL :
13688     svn_swig_rb_strings_to_apr_array(argv[8], _global_pool);
13689   }
13690   {
13691     arg10 = (svn_log_entry_receiver_t) svn_swig_rb_log_entry_receiver;
13692     arg11 = (void *)svn_swig_rb_make_baton(argv[9], _global_svn_swig_rb_pool);
13693   }
13694   if (argc > 10) {
13695     res12 = SWIG_ConvertPtr(argv[10], &argp12,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
13696     if (!SWIG_IsOK(res12)) {
13697       SWIG_exception_fail(SWIG_ArgError(res12), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_log4", 12, argv[10] ));
13698     }
13699     arg12 = (svn_client_ctx_t *)(argp12);
13700   }
13701   if (argc > 11) {
13702 
13703   }
13704   {
13705     if (!arg2) {
13706       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
13707     }
13708   }
13709   {
13710     result = (svn_error_t *)svn_client_log4((apr_array_header_t const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,(struct svn_opt_revision_t const *)arg4,arg5,arg6,arg7,arg8,(apr_array_header_t const *)arg9,arg10,arg11,arg12,arg13);
13711 
13712 
13713 
13714   }
13715   {
13716     if (result) {
13717       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13718       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13719       svn_swig_rb_handle_svn_error(result);
13720     }
13721     vresult = Qnil;
13722   }
13723   {
13724     VALUE target;
13725     target = _global_vresult_address == &vresult ? self : vresult;
13726     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13727     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13728     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13729   }
13730   return vresult;
13731 fail:
13732   {
13733     VALUE target;
13734     target = _global_vresult_address == &vresult ? self : vresult;
13735     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13736     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13737     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13738   }
13739   return Qnil;
13740 }
13741 
13742 
13743 SWIGINTERN VALUE
_wrap_svn_client_log3(int argc,VALUE * argv,VALUE self)13744 _wrap_svn_client_log3(int argc, VALUE *argv, VALUE self) {
13745   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
13746   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
13747   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
13748   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
13749   int arg5 ;
13750   svn_boolean_t arg6 ;
13751   svn_boolean_t arg7 ;
13752   svn_log_message_receiver_t arg8 = (svn_log_message_receiver_t) 0 ;
13753   void *arg9 = (void *) 0 ;
13754   svn_client_ctx_t *arg10 = (svn_client_ctx_t *) 0 ;
13755   apr_pool_t *arg11 = (apr_pool_t *) 0 ;
13756   VALUE _global_svn_swig_rb_pool ;
13757   apr_pool_t *_global_pool ;
13758   svn_opt_revision_t rev2 ;
13759   svn_opt_revision_t rev3 ;
13760   svn_opt_revision_t rev4 ;
13761   int val5 ;
13762   int ecode5 = 0 ;
13763   void *argp10 = 0 ;
13764   int res10 = 0 ;
13765   svn_error_t *result = 0 ;
13766   VALUE vresult = Qnil;
13767 
13768   {
13769     int adjusted_argc = argc;
13770     VALUE *adjusted_argv = argv;
13771 
13772     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
13773       &adjusted_argv);
13774     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
13775       &_global_svn_swig_rb_pool, &arg11);
13776     _global_pool = arg11;
13777     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
13778   }
13779   if ((argc < 8) || (argc > 10)) {
13780     rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
13781   }
13782   {
13783     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
13784   }
13785   {
13786     arg2 = &rev2;
13787     svn_swig_rb_set_revision(&rev2, argv[1]);
13788   }
13789   {
13790     arg3 = &rev3;
13791     svn_swig_rb_set_revision(&rev3, argv[2]);
13792   }
13793   {
13794     arg4 = &rev4;
13795     svn_swig_rb_set_revision(&rev4, argv[3]);
13796   }
13797   ecode5 = SWIG_AsVal_int(argv[4], &val5);
13798   if (!SWIG_IsOK(ecode5)) {
13799     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "int","svn_client_log3", 5, argv[4] ));
13800   }
13801   arg5 = (int)(val5);
13802   arg6 = RTEST(argv[5]);
13803   arg7 = RTEST(argv[6]);
13804   {
13805     arg8 = (svn_log_message_receiver_t) svn_swig_rb_log_receiver;
13806     arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
13807   }
13808   if (argc > 8) {
13809     res10 = SWIG_ConvertPtr(argv[8], &argp10,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
13810     if (!SWIG_IsOK(res10)) {
13811       SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_log3", 10, argv[8] ));
13812     }
13813     arg10 = (svn_client_ctx_t *)(argp10);
13814   }
13815   if (argc > 9) {
13816 
13817   }
13818   {
13819     if (!arg2) {
13820       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
13821     }
13822   }
13823   {
13824     result = (svn_error_t *)svn_client_log3((apr_array_header_t const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,(struct svn_opt_revision_t const *)arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
13825 
13826 
13827 
13828   }
13829   {
13830     if (result) {
13831       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13832       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13833       svn_swig_rb_handle_svn_error(result);
13834     }
13835     vresult = Qnil;
13836   }
13837   {
13838     VALUE target;
13839     target = _global_vresult_address == &vresult ? self : vresult;
13840     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13841     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13842     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13843   }
13844   return vresult;
13845 fail:
13846   {
13847     VALUE target;
13848     target = _global_vresult_address == &vresult ? self : vresult;
13849     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13850     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13851     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13852   }
13853   return Qnil;
13854 }
13855 
13856 
13857 SWIGINTERN VALUE
_wrap_svn_client_log2(int argc,VALUE * argv,VALUE self)13858 _wrap_svn_client_log2(int argc, VALUE *argv, VALUE self) {
13859   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
13860   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
13861   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
13862   int arg4 ;
13863   svn_boolean_t arg5 ;
13864   svn_boolean_t arg6 ;
13865   svn_log_message_receiver_t arg7 = (svn_log_message_receiver_t) 0 ;
13866   void *arg8 = (void *) 0 ;
13867   svn_client_ctx_t *arg9 = (svn_client_ctx_t *) 0 ;
13868   apr_pool_t *arg10 = (apr_pool_t *) 0 ;
13869   VALUE _global_svn_swig_rb_pool ;
13870   apr_pool_t *_global_pool ;
13871   svn_opt_revision_t rev2 ;
13872   svn_opt_revision_t rev3 ;
13873   int val4 ;
13874   int ecode4 = 0 ;
13875   void *argp9 = 0 ;
13876   int res9 = 0 ;
13877   svn_error_t *result = 0 ;
13878   VALUE vresult = Qnil;
13879 
13880   {
13881     int adjusted_argc = argc;
13882     VALUE *adjusted_argv = argv;
13883 
13884     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
13885       &adjusted_argv);
13886     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
13887       &_global_svn_swig_rb_pool, &arg10);
13888     _global_pool = arg10;
13889     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
13890   }
13891   if ((argc < 7) || (argc > 9)) {
13892     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
13893   }
13894   {
13895     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
13896   }
13897   {
13898     arg2 = &rev2;
13899     svn_swig_rb_set_revision(&rev2, argv[1]);
13900   }
13901   {
13902     arg3 = &rev3;
13903     svn_swig_rb_set_revision(&rev3, argv[2]);
13904   }
13905   ecode4 = SWIG_AsVal_int(argv[3], &val4);
13906   if (!SWIG_IsOK(ecode4)) {
13907     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","svn_client_log2", 4, argv[3] ));
13908   }
13909   arg4 = (int)(val4);
13910   arg5 = RTEST(argv[4]);
13911   arg6 = RTEST(argv[5]);
13912   {
13913     arg7 = (svn_log_message_receiver_t) svn_swig_rb_log_receiver;
13914     arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
13915   }
13916   if (argc > 7) {
13917     res9 = SWIG_ConvertPtr(argv[7], &argp9,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
13918     if (!SWIG_IsOK(res9)) {
13919       SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_log2", 9, argv[7] ));
13920     }
13921     arg9 = (svn_client_ctx_t *)(argp9);
13922   }
13923   if (argc > 8) {
13924 
13925   }
13926   {
13927     result = (svn_error_t *)svn_client_log2((apr_array_header_t const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
13928 
13929 
13930 
13931   }
13932   {
13933     if (result) {
13934       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13935       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13936       svn_swig_rb_handle_svn_error(result);
13937     }
13938     vresult = Qnil;
13939   }
13940   {
13941     VALUE target;
13942     target = _global_vresult_address == &vresult ? self : vresult;
13943     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13944     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13945     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13946   }
13947   return vresult;
13948 fail:
13949   {
13950     VALUE target;
13951     target = _global_vresult_address == &vresult ? self : vresult;
13952     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13953     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13954     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13955   }
13956   return Qnil;
13957 }
13958 
13959 
13960 SWIGINTERN VALUE
_wrap_svn_client_log(int argc,VALUE * argv,VALUE self)13961 _wrap_svn_client_log(int argc, VALUE *argv, VALUE self) {
13962   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
13963   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
13964   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
13965   svn_boolean_t arg4 ;
13966   svn_boolean_t arg5 ;
13967   svn_log_message_receiver_t arg6 = (svn_log_message_receiver_t) 0 ;
13968   void *arg7 = (void *) 0 ;
13969   svn_client_ctx_t *arg8 = (svn_client_ctx_t *) 0 ;
13970   apr_pool_t *arg9 = (apr_pool_t *) 0 ;
13971   VALUE _global_svn_swig_rb_pool ;
13972   apr_pool_t *_global_pool ;
13973   svn_opt_revision_t rev2 ;
13974   svn_opt_revision_t rev3 ;
13975   void *argp8 = 0 ;
13976   int res8 = 0 ;
13977   svn_error_t *result = 0 ;
13978   VALUE vresult = Qnil;
13979 
13980   {
13981     int adjusted_argc = argc;
13982     VALUE *adjusted_argv = argv;
13983 
13984     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
13985       &adjusted_argv);
13986     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
13987       &_global_svn_swig_rb_pool, &arg9);
13988     _global_pool = arg9;
13989     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
13990   }
13991   if ((argc < 6) || (argc > 8)) {
13992     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
13993   }
13994   {
13995     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
13996   }
13997   {
13998     arg2 = &rev2;
13999     svn_swig_rb_set_revision(&rev2, argv[1]);
14000   }
14001   {
14002     arg3 = &rev3;
14003     svn_swig_rb_set_revision(&rev3, argv[2]);
14004   }
14005   arg4 = RTEST(argv[3]);
14006   arg5 = RTEST(argv[4]);
14007   {
14008     arg6 = (svn_log_message_receiver_t) svn_swig_rb_log_receiver;
14009     arg7 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
14010   }
14011   if (argc > 6) {
14012     res8 = SWIG_ConvertPtr(argv[6], &argp8,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
14013     if (!SWIG_IsOK(res8)) {
14014       SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_log", 8, argv[6] ));
14015     }
14016     arg8 = (svn_client_ctx_t *)(argp8);
14017   }
14018   if (argc > 7) {
14019 
14020   }
14021   {
14022     result = (svn_error_t *)svn_client_log((apr_array_header_t const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9);
14023 
14024 
14025 
14026   }
14027   {
14028     if (result) {
14029       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14030       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14031       svn_swig_rb_handle_svn_error(result);
14032     }
14033     vresult = Qnil;
14034   }
14035   {
14036     VALUE target;
14037     target = _global_vresult_address == &vresult ? self : vresult;
14038     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14039     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14040     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14041   }
14042   return vresult;
14043 fail:
14044   {
14045     VALUE target;
14046     target = _global_vresult_address == &vresult ? self : vresult;
14047     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14048     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14049     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14050   }
14051   return Qnil;
14052 }
14053 
14054 
14055 SWIGINTERN VALUE
_wrap_svn_client_blame6(int argc,VALUE * argv,VALUE self)14056 _wrap_svn_client_blame6(int argc, VALUE *argv, VALUE self) {
14057   svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
14058   svn_revnum_t *arg2 = (svn_revnum_t *) 0 ;
14059   char *arg3 = (char *) 0 ;
14060   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
14061   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
14062   svn_opt_revision_t *arg6 = (svn_opt_revision_t *) 0 ;
14063   svn_diff_file_options_t *arg7 = (svn_diff_file_options_t *) 0 ;
14064   svn_boolean_t arg8 ;
14065   svn_boolean_t arg9 ;
14066   svn_client_blame_receiver4_t arg10 = (svn_client_blame_receiver4_t) 0 ;
14067   void *arg11 = (void *) 0 ;
14068   svn_client_ctx_t *arg12 = (svn_client_ctx_t *) 0 ;
14069   apr_pool_t *arg13 = (apr_pool_t *) 0 ;
14070   VALUE _global_svn_swig_rb_pool ;
14071   apr_pool_t *_global_pool ;
14072   svn_revnum_t temp1 ;
14073   int res1 = SWIG_TMPOBJ ;
14074   svn_revnum_t temp2 ;
14075   int res2 = SWIG_TMPOBJ ;
14076   int res3 ;
14077   char *buf3 = 0 ;
14078   int alloc3 = 0 ;
14079   svn_opt_revision_t rev4 ;
14080   svn_opt_revision_t rev5 ;
14081   svn_opt_revision_t rev6 ;
14082   void *argp7 = 0 ;
14083   int res7 = 0 ;
14084   int res11 ;
14085   void *argp12 = 0 ;
14086   int res12 = 0 ;
14087   svn_error_t *result = 0 ;
14088   VALUE vresult = Qnil;
14089 
14090   {
14091     int adjusted_argc = argc;
14092     VALUE *adjusted_argv = argv;
14093 
14094     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
14095       &adjusted_argv);
14096     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
14097       &_global_svn_swig_rb_pool, &arg13);
14098     _global_pool = arg13;
14099     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
14100   }
14101   arg1 = &temp1;
14102   arg2 = &temp2;
14103   if ((argc < 9) || (argc > 11)) {
14104     rb_raise(rb_eArgError, "wrong # of arguments(%d for 9)",argc); SWIG_fail;
14105   }
14106   res3 = SWIG_AsCharPtrAndSize(argv[0], &buf3, NULL, &alloc3);
14107   if (!SWIG_IsOK(res3)) {
14108     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_blame6", 3, argv[0] ));
14109   }
14110   arg3 = (char *)(buf3);
14111   {
14112     arg4 = &rev4;
14113     svn_swig_rb_set_revision(&rev4, argv[1]);
14114   }
14115   {
14116     arg5 = &rev5;
14117     svn_swig_rb_set_revision(&rev5, argv[2]);
14118   }
14119   {
14120     arg6 = &rev6;
14121     svn_swig_rb_set_revision(&rev6, argv[3]);
14122   }
14123   res7 = SWIG_ConvertPtr(argv[4], &argp7,SWIGTYPE_p_svn_diff_file_options_t, 0 |  0 );
14124   if (!SWIG_IsOK(res7)) {
14125     SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "svn_diff_file_options_t const *","svn_client_blame6", 7, argv[4] ));
14126   }
14127   arg7 = (svn_diff_file_options_t *)(argp7);
14128   arg8 = RTEST(argv[5]);
14129   arg9 = RTEST(argv[6]);
14130   {
14131     int res = SWIG_ConvertFunctionPtr(argv[7], (void**)(&arg10), SWIGTYPE_p_f_p_void_apr_int64_t_svn_revnum_t_p_apr_hash_t_svn_revnum_t_p_apr_hash_t_p_q_const__char_p_q_const__svn_string_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t);
14132     if (!SWIG_IsOK(res)) {
14133       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_blame_receiver4_t","svn_client_blame6", 10, argv[7] ));
14134     }
14135   }
14136   res11 = SWIG_ConvertPtr(argv[8],SWIG_as_voidptrptr(&arg11), 0, 0);
14137   if (!SWIG_IsOK(res11)) {
14138     SWIG_exception_fail(SWIG_ArgError(res11), Ruby_Format_TypeError( "", "void *","svn_client_blame6", 11, argv[8] ));
14139   }
14140   if (argc > 9) {
14141     res12 = SWIG_ConvertPtr(argv[9], &argp12,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
14142     if (!SWIG_IsOK(res12)) {
14143       SWIG_exception_fail(SWIG_ArgError(res12), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_blame6", 12, argv[9] ));
14144     }
14145     arg12 = (svn_client_ctx_t *)(argp12);
14146   }
14147   if (argc > 10) {
14148 
14149   }
14150   {
14151     if (!arg4) {
14152       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
14153     }
14154   }
14155   {
14156     result = (svn_error_t *)svn_client_blame6(arg1,arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_opt_revision_t const *)arg5,(struct svn_opt_revision_t const *)arg6,(struct svn_diff_file_options_t const *)arg7,arg8,arg9,arg10,arg11,arg12,arg13);
14157 
14158 
14159 
14160   }
14161   {
14162     if (result) {
14163       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14164       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14165       svn_swig_rb_handle_svn_error(result);
14166     }
14167     vresult = Qnil;
14168   }
14169   if (SWIG_IsTmpObj(res1)) {
14170     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg1)));
14171   } else {
14172     int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
14173     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags));
14174   }
14175   if (SWIG_IsTmpObj(res2)) {
14176     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg2)));
14177   } else {
14178     int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
14179     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
14180   }
14181   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14182   {
14183     VALUE target;
14184     target = _global_vresult_address == &vresult ? self : vresult;
14185     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14186     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14187     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14188   }
14189   return vresult;
14190 fail:
14191   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14192   {
14193     VALUE target;
14194     target = _global_vresult_address == &vresult ? self : vresult;
14195     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14196     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14197     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14198   }
14199   return Qnil;
14200 }
14201 
14202 
14203 SWIGINTERN VALUE
_wrap_svn_client_blame5(int argc,VALUE * argv,VALUE self)14204 _wrap_svn_client_blame5(int argc, VALUE *argv, VALUE self) {
14205   char *arg1 = (char *) 0 ;
14206   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
14207   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
14208   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
14209   svn_diff_file_options_t *arg5 = (svn_diff_file_options_t *) 0 ;
14210   svn_boolean_t arg6 ;
14211   svn_boolean_t arg7 ;
14212   svn_client_blame_receiver3_t arg8 = (svn_client_blame_receiver3_t) 0 ;
14213   void *arg9 = (void *) 0 ;
14214   svn_client_ctx_t *arg10 = (svn_client_ctx_t *) 0 ;
14215   apr_pool_t *arg11 = (apr_pool_t *) 0 ;
14216   VALUE _global_svn_swig_rb_pool ;
14217   apr_pool_t *_global_pool ;
14218   int res1 ;
14219   char *buf1 = 0 ;
14220   int alloc1 = 0 ;
14221   svn_opt_revision_t rev2 ;
14222   svn_opt_revision_t rev3 ;
14223   svn_opt_revision_t rev4 ;
14224   void *argp5 = 0 ;
14225   int res5 = 0 ;
14226   int res9 ;
14227   void *argp10 = 0 ;
14228   int res10 = 0 ;
14229   svn_error_t *result = 0 ;
14230   VALUE vresult = Qnil;
14231 
14232   {
14233     int adjusted_argc = argc;
14234     VALUE *adjusted_argv = argv;
14235 
14236     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
14237       &adjusted_argv);
14238     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
14239       &_global_svn_swig_rb_pool, &arg11);
14240     _global_pool = arg11;
14241     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
14242   }
14243   if ((argc < 9) || (argc > 11)) {
14244     rb_raise(rb_eArgError, "wrong # of arguments(%d for 9)",argc); SWIG_fail;
14245   }
14246   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
14247   if (!SWIG_IsOK(res1)) {
14248     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_blame5", 1, argv[0] ));
14249   }
14250   arg1 = (char *)(buf1);
14251   {
14252     arg2 = &rev2;
14253     svn_swig_rb_set_revision(&rev2, argv[1]);
14254   }
14255   {
14256     arg3 = &rev3;
14257     svn_swig_rb_set_revision(&rev3, argv[2]);
14258   }
14259   {
14260     arg4 = &rev4;
14261     svn_swig_rb_set_revision(&rev4, argv[3]);
14262   }
14263   res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_svn_diff_file_options_t, 0 |  0 );
14264   if (!SWIG_IsOK(res5)) {
14265     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_diff_file_options_t const *","svn_client_blame5", 5, argv[4] ));
14266   }
14267   arg5 = (svn_diff_file_options_t *)(argp5);
14268   arg6 = RTEST(argv[5]);
14269   arg7 = RTEST(argv[6]);
14270   {
14271     int res = SWIG_ConvertFunctionPtr(argv[7], (void**)(&arg8), SWIGTYPE_p_f_p_void_svn_revnum_t_svn_revnum_t_apr_int64_t_svn_revnum_t_p_apr_hash_t_svn_revnum_t_p_apr_hash_t_p_q_const__char_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t);
14272     if (!SWIG_IsOK(res)) {
14273       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_blame_receiver3_t","svn_client_blame5", 8, argv[7] ));
14274     }
14275   }
14276   res9 = SWIG_ConvertPtr(argv[8],SWIG_as_voidptrptr(&arg9), 0, 0);
14277   if (!SWIG_IsOK(res9)) {
14278     SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "void *","svn_client_blame5", 9, argv[8] ));
14279   }
14280   if (argc > 9) {
14281     res10 = SWIG_ConvertPtr(argv[9], &argp10,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
14282     if (!SWIG_IsOK(res10)) {
14283       SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_blame5", 10, argv[9] ));
14284     }
14285     arg10 = (svn_client_ctx_t *)(argp10);
14286   }
14287   if (argc > 10) {
14288 
14289   }
14290   {
14291     if (!arg2) {
14292       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
14293     }
14294   }
14295   {
14296     result = (svn_error_t *)svn_client_blame5((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_diff_file_options_t const *)arg5,arg6,arg7,arg8,arg9,arg10,arg11);
14297 
14298 
14299 
14300   }
14301   {
14302     if (result) {
14303       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14304       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14305       svn_swig_rb_handle_svn_error(result);
14306     }
14307     vresult = Qnil;
14308   }
14309   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
14310   {
14311     VALUE target;
14312     target = _global_vresult_address == &vresult ? self : vresult;
14313     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14314     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14315     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14316   }
14317   return vresult;
14318 fail:
14319   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
14320   {
14321     VALUE target;
14322     target = _global_vresult_address == &vresult ? self : vresult;
14323     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14324     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14325     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14326   }
14327   return Qnil;
14328 }
14329 
14330 
14331 SWIGINTERN VALUE
_wrap_svn_client_blame4(int argc,VALUE * argv,VALUE self)14332 _wrap_svn_client_blame4(int argc, VALUE *argv, VALUE self) {
14333   char *arg1 = (char *) 0 ;
14334   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
14335   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
14336   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
14337   svn_diff_file_options_t *arg5 = (svn_diff_file_options_t *) 0 ;
14338   svn_boolean_t arg6 ;
14339   svn_boolean_t arg7 ;
14340   svn_client_blame_receiver2_t arg8 = (svn_client_blame_receiver2_t) 0 ;
14341   void *arg9 = (void *) 0 ;
14342   svn_client_ctx_t *arg10 = (svn_client_ctx_t *) 0 ;
14343   apr_pool_t *arg11 = (apr_pool_t *) 0 ;
14344   VALUE _global_svn_swig_rb_pool ;
14345   apr_pool_t *_global_pool ;
14346   int res1 ;
14347   char *buf1 = 0 ;
14348   int alloc1 = 0 ;
14349   svn_opt_revision_t rev2 ;
14350   svn_opt_revision_t rev3 ;
14351   svn_opt_revision_t rev4 ;
14352   void *argp5 = 0 ;
14353   int res5 = 0 ;
14354   int res9 ;
14355   void *argp10 = 0 ;
14356   int res10 = 0 ;
14357   svn_error_t *result = 0 ;
14358   VALUE vresult = Qnil;
14359 
14360   {
14361     int adjusted_argc = argc;
14362     VALUE *adjusted_argv = argv;
14363 
14364     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
14365       &adjusted_argv);
14366     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
14367       &_global_svn_swig_rb_pool, &arg11);
14368     _global_pool = arg11;
14369     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
14370   }
14371   if ((argc < 9) || (argc > 11)) {
14372     rb_raise(rb_eArgError, "wrong # of arguments(%d for 9)",argc); SWIG_fail;
14373   }
14374   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
14375   if (!SWIG_IsOK(res1)) {
14376     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_blame4", 1, argv[0] ));
14377   }
14378   arg1 = (char *)(buf1);
14379   {
14380     arg2 = &rev2;
14381     svn_swig_rb_set_revision(&rev2, argv[1]);
14382   }
14383   {
14384     arg3 = &rev3;
14385     svn_swig_rb_set_revision(&rev3, argv[2]);
14386   }
14387   {
14388     arg4 = &rev4;
14389     svn_swig_rb_set_revision(&rev4, argv[3]);
14390   }
14391   res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_svn_diff_file_options_t, 0 |  0 );
14392   if (!SWIG_IsOK(res5)) {
14393     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_diff_file_options_t const *","svn_client_blame4", 5, argv[4] ));
14394   }
14395   arg5 = (svn_diff_file_options_t *)(argp5);
14396   arg6 = RTEST(argv[5]);
14397   arg7 = RTEST(argv[6]);
14398   {
14399     int res = SWIG_ConvertFunctionPtr(argv[7], (void**)(&arg8), SWIGTYPE_p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t);
14400     if (!SWIG_IsOK(res)) {
14401       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_blame_receiver2_t","svn_client_blame4", 8, argv[7] ));
14402     }
14403   }
14404   res9 = SWIG_ConvertPtr(argv[8],SWIG_as_voidptrptr(&arg9), 0, 0);
14405   if (!SWIG_IsOK(res9)) {
14406     SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "void *","svn_client_blame4", 9, argv[8] ));
14407   }
14408   if (argc > 9) {
14409     res10 = SWIG_ConvertPtr(argv[9], &argp10,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
14410     if (!SWIG_IsOK(res10)) {
14411       SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_blame4", 10, argv[9] ));
14412     }
14413     arg10 = (svn_client_ctx_t *)(argp10);
14414   }
14415   if (argc > 10) {
14416 
14417   }
14418   {
14419     if (!arg2) {
14420       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
14421     }
14422   }
14423   {
14424     result = (svn_error_t *)svn_client_blame4((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_diff_file_options_t const *)arg5,arg6,arg7,arg8,arg9,arg10,arg11);
14425 
14426 
14427 
14428   }
14429   {
14430     if (result) {
14431       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14432       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14433       svn_swig_rb_handle_svn_error(result);
14434     }
14435     vresult = Qnil;
14436   }
14437   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
14438   {
14439     VALUE target;
14440     target = _global_vresult_address == &vresult ? self : vresult;
14441     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14442     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14443     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14444   }
14445   return vresult;
14446 fail:
14447   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
14448   {
14449     VALUE target;
14450     target = _global_vresult_address == &vresult ? self : vresult;
14451     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14452     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14453     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14454   }
14455   return Qnil;
14456 }
14457 
14458 
14459 SWIGINTERN VALUE
_wrap_svn_client_blame3(int argc,VALUE * argv,VALUE self)14460 _wrap_svn_client_blame3(int argc, VALUE *argv, VALUE self) {
14461   char *arg1 = (char *) 0 ;
14462   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
14463   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
14464   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
14465   svn_diff_file_options_t *arg5 = (svn_diff_file_options_t *) 0 ;
14466   svn_boolean_t arg6 ;
14467   svn_client_blame_receiver_t arg7 = (svn_client_blame_receiver_t) 0 ;
14468   void *arg8 = (void *) 0 ;
14469   svn_client_ctx_t *arg9 = (svn_client_ctx_t *) 0 ;
14470   apr_pool_t *arg10 = (apr_pool_t *) 0 ;
14471   VALUE _global_svn_swig_rb_pool ;
14472   apr_pool_t *_global_pool ;
14473   int res1 ;
14474   char *buf1 = 0 ;
14475   int alloc1 = 0 ;
14476   svn_opt_revision_t rev2 ;
14477   svn_opt_revision_t rev3 ;
14478   svn_opt_revision_t rev4 ;
14479   void *argp5 = 0 ;
14480   int res5 = 0 ;
14481   void *argp9 = 0 ;
14482   int res9 = 0 ;
14483   svn_error_t *result = 0 ;
14484   VALUE vresult = Qnil;
14485 
14486   {
14487     int adjusted_argc = argc;
14488     VALUE *adjusted_argv = argv;
14489 
14490     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
14491       &adjusted_argv);
14492     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
14493       &_global_svn_swig_rb_pool, &arg10);
14494     _global_pool = arg10;
14495     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
14496   }
14497   if ((argc < 7) || (argc > 9)) {
14498     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
14499   }
14500   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
14501   if (!SWIG_IsOK(res1)) {
14502     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_blame3", 1, argv[0] ));
14503   }
14504   arg1 = (char *)(buf1);
14505   {
14506     arg2 = &rev2;
14507     svn_swig_rb_set_revision(&rev2, argv[1]);
14508   }
14509   {
14510     arg3 = &rev3;
14511     svn_swig_rb_set_revision(&rev3, argv[2]);
14512   }
14513   {
14514     arg4 = &rev4;
14515     svn_swig_rb_set_revision(&rev4, argv[3]);
14516   }
14517   res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_svn_diff_file_options_t, 0 |  0 );
14518   if (!SWIG_IsOK(res5)) {
14519     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_diff_file_options_t const *","svn_client_blame3", 5, argv[4] ));
14520   }
14521   arg5 = (svn_diff_file_options_t *)(argp5);
14522   arg6 = RTEST(argv[5]);
14523   {
14524     arg7 = (svn_client_blame_receiver_t) svn_swig_rb_client_blame_receiver_func;
14525     arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
14526   }
14527   if (argc > 7) {
14528     res9 = SWIG_ConvertPtr(argv[7], &argp9,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
14529     if (!SWIG_IsOK(res9)) {
14530       SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_blame3", 9, argv[7] ));
14531     }
14532     arg9 = (svn_client_ctx_t *)(argp9);
14533   }
14534   if (argc > 8) {
14535 
14536   }
14537   {
14538     if (!arg2) {
14539       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
14540     }
14541   }
14542   {
14543     result = (svn_error_t *)svn_client_blame3((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_diff_file_options_t const *)arg5,arg6,arg7,arg8,arg9,arg10);
14544 
14545 
14546 
14547   }
14548   {
14549     if (result) {
14550       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14551       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14552       svn_swig_rb_handle_svn_error(result);
14553     }
14554     vresult = Qnil;
14555   }
14556   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
14557   {
14558     VALUE target;
14559     target = _global_vresult_address == &vresult ? self : vresult;
14560     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14561     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14562     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14563   }
14564   return vresult;
14565 fail:
14566   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
14567   {
14568     VALUE target;
14569     target = _global_vresult_address == &vresult ? self : vresult;
14570     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14571     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14572     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14573   }
14574   return Qnil;
14575 }
14576 
14577 
14578 SWIGINTERN VALUE
_wrap_svn_client_blame2(int argc,VALUE * argv,VALUE self)14579 _wrap_svn_client_blame2(int argc, VALUE *argv, VALUE self) {
14580   char *arg1 = (char *) 0 ;
14581   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
14582   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
14583   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
14584   svn_client_blame_receiver_t arg5 = (svn_client_blame_receiver_t) 0 ;
14585   void *arg6 = (void *) 0 ;
14586   svn_client_ctx_t *arg7 = (svn_client_ctx_t *) 0 ;
14587   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
14588   VALUE _global_svn_swig_rb_pool ;
14589   apr_pool_t *_global_pool ;
14590   int res1 ;
14591   char *buf1 = 0 ;
14592   int alloc1 = 0 ;
14593   svn_opt_revision_t rev2 ;
14594   svn_opt_revision_t rev3 ;
14595   svn_opt_revision_t rev4 ;
14596   void *argp7 = 0 ;
14597   int res7 = 0 ;
14598   svn_error_t *result = 0 ;
14599   VALUE vresult = Qnil;
14600 
14601   {
14602     int adjusted_argc = argc;
14603     VALUE *adjusted_argv = argv;
14604 
14605     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
14606       &adjusted_argv);
14607     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
14608       &_global_svn_swig_rb_pool, &arg8);
14609     _global_pool = arg8;
14610     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
14611   }
14612   if ((argc < 5) || (argc > 7)) {
14613     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
14614   }
14615   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
14616   if (!SWIG_IsOK(res1)) {
14617     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_blame2", 1, argv[0] ));
14618   }
14619   arg1 = (char *)(buf1);
14620   {
14621     arg2 = &rev2;
14622     svn_swig_rb_set_revision(&rev2, argv[1]);
14623   }
14624   {
14625     arg3 = &rev3;
14626     svn_swig_rb_set_revision(&rev3, argv[2]);
14627   }
14628   {
14629     arg4 = &rev4;
14630     svn_swig_rb_set_revision(&rev4, argv[3]);
14631   }
14632   {
14633     arg5 = (svn_client_blame_receiver_t) svn_swig_rb_client_blame_receiver_func;
14634     arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
14635   }
14636   if (argc > 5) {
14637     res7 = SWIG_ConvertPtr(argv[5], &argp7,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
14638     if (!SWIG_IsOK(res7)) {
14639       SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_blame2", 7, argv[5] ));
14640     }
14641     arg7 = (svn_client_ctx_t *)(argp7);
14642   }
14643   if (argc > 6) {
14644 
14645   }
14646   {
14647     if (!arg2) {
14648       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
14649     }
14650   }
14651   {
14652     result = (svn_error_t *)svn_client_blame2((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,(struct svn_opt_revision_t const *)arg4,arg5,arg6,arg7,arg8);
14653 
14654 
14655 
14656   }
14657   {
14658     if (result) {
14659       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14660       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14661       svn_swig_rb_handle_svn_error(result);
14662     }
14663     vresult = Qnil;
14664   }
14665   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
14666   {
14667     VALUE target;
14668     target = _global_vresult_address == &vresult ? self : vresult;
14669     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14670     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14671     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14672   }
14673   return vresult;
14674 fail:
14675   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
14676   {
14677     VALUE target;
14678     target = _global_vresult_address == &vresult ? self : vresult;
14679     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14680     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14681     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14682   }
14683   return Qnil;
14684 }
14685 
14686 
14687 SWIGINTERN VALUE
_wrap_svn_client_blame(int argc,VALUE * argv,VALUE self)14688 _wrap_svn_client_blame(int argc, VALUE *argv, VALUE self) {
14689   char *arg1 = (char *) 0 ;
14690   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
14691   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
14692   svn_client_blame_receiver_t arg4 = (svn_client_blame_receiver_t) 0 ;
14693   void *arg5 = (void *) 0 ;
14694   svn_client_ctx_t *arg6 = (svn_client_ctx_t *) 0 ;
14695   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
14696   VALUE _global_svn_swig_rb_pool ;
14697   apr_pool_t *_global_pool ;
14698   int res1 ;
14699   char *buf1 = 0 ;
14700   int alloc1 = 0 ;
14701   svn_opt_revision_t rev2 ;
14702   svn_opt_revision_t rev3 ;
14703   void *argp6 = 0 ;
14704   int res6 = 0 ;
14705   svn_error_t *result = 0 ;
14706   VALUE vresult = Qnil;
14707 
14708   {
14709     int adjusted_argc = argc;
14710     VALUE *adjusted_argv = argv;
14711 
14712     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
14713       &adjusted_argv);
14714     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
14715       &_global_svn_swig_rb_pool, &arg7);
14716     _global_pool = arg7;
14717     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
14718   }
14719   if ((argc < 4) || (argc > 6)) {
14720     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
14721   }
14722   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
14723   if (!SWIG_IsOK(res1)) {
14724     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_blame", 1, argv[0] ));
14725   }
14726   arg1 = (char *)(buf1);
14727   {
14728     arg2 = &rev2;
14729     svn_swig_rb_set_revision(&rev2, argv[1]);
14730   }
14731   {
14732     arg3 = &rev3;
14733     svn_swig_rb_set_revision(&rev3, argv[2]);
14734   }
14735   {
14736     arg4 = (svn_client_blame_receiver_t) svn_swig_rb_client_blame_receiver_func;
14737     arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
14738   }
14739   if (argc > 4) {
14740     res6 = SWIG_ConvertPtr(argv[4], &argp6,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
14741     if (!SWIG_IsOK(res6)) {
14742       SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_blame", 6, argv[4] ));
14743     }
14744     arg6 = (svn_client_ctx_t *)(argp6);
14745   }
14746   if (argc > 5) {
14747 
14748   }
14749   {
14750     result = (svn_error_t *)svn_client_blame((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,arg5,arg6,arg7);
14751 
14752 
14753 
14754   }
14755   {
14756     if (result) {
14757       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14758       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14759       svn_swig_rb_handle_svn_error(result);
14760     }
14761     vresult = Qnil;
14762   }
14763   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
14764   {
14765     VALUE target;
14766     target = _global_vresult_address == &vresult ? self : vresult;
14767     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14768     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14769     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14770   }
14771   return vresult;
14772 fail:
14773   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
14774   {
14775     VALUE target;
14776     target = _global_vresult_address == &vresult ? self : vresult;
14777     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14778     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14779     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14780   }
14781   return Qnil;
14782 }
14783 
14784 
14785 SWIGINTERN VALUE
_wrap_svn_client_diff7(int argc,VALUE * argv,VALUE self)14786 _wrap_svn_client_diff7(int argc, VALUE *argv, VALUE self) {
14787   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
14788   char *arg2 = (char *) 0 ;
14789   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
14790   char *arg4 = (char *) 0 ;
14791   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
14792   char *arg6 = (char *) 0 ;
14793   svn_depth_t arg7 ;
14794   svn_boolean_t arg8 ;
14795   svn_boolean_t arg9 ;
14796   svn_boolean_t arg10 ;
14797   svn_boolean_t arg11 ;
14798   svn_boolean_t arg12 ;
14799   svn_boolean_t arg13 ;
14800   svn_boolean_t arg14 ;
14801   svn_boolean_t arg15 ;
14802   svn_boolean_t arg16 ;
14803   char *arg17 = (char *) 0 ;
14804   svn_stream_t *arg18 = (svn_stream_t *) 0 ;
14805   svn_stream_t *arg19 = (svn_stream_t *) 0 ;
14806   apr_array_header_t *arg20 = (apr_array_header_t *) 0 ;
14807   svn_client_ctx_t *arg21 = (svn_client_ctx_t *) 0 ;
14808   apr_pool_t *arg22 = (apr_pool_t *) 0 ;
14809   VALUE _global_svn_swig_rb_pool ;
14810   apr_pool_t *_global_pool ;
14811   int res2 ;
14812   char *buf2 = 0 ;
14813   int alloc2 = 0 ;
14814   svn_opt_revision_t rev3 ;
14815   int res4 ;
14816   char *buf4 = 0 ;
14817   int alloc4 = 0 ;
14818   svn_opt_revision_t rev5 ;
14819   void *argp21 = 0 ;
14820   int res21 = 0 ;
14821   svn_error_t *result = 0 ;
14822   VALUE vresult = Qnil;
14823 
14824   {
14825     int adjusted_argc = argc;
14826     VALUE *adjusted_argv = argv;
14827 
14828     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
14829       &adjusted_argv);
14830     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
14831       &_global_svn_swig_rb_pool, &arg22);
14832     _global_pool = arg22;
14833     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
14834   }
14835   if ((argc < 20) || (argc > 22)) {
14836     rb_raise(rb_eArgError, "wrong # of arguments(%d for 20)",argc); SWIG_fail;
14837   }
14838   {
14839     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
14840   }
14841   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
14842   if (!SWIG_IsOK(res2)) {
14843     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_diff7", 2, argv[1] ));
14844   }
14845   arg2 = (char *)(buf2);
14846   {
14847     arg3 = &rev3;
14848     svn_swig_rb_set_revision(&rev3, argv[2]);
14849   }
14850   res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
14851   if (!SWIG_IsOK(res4)) {
14852     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_diff7", 4, argv[3] ));
14853   }
14854   arg4 = (char *)(buf4);
14855   {
14856     arg5 = &rev5;
14857     svn_swig_rb_set_revision(&rev5, argv[4]);
14858   }
14859   {
14860     if (NIL_P(argv[5])) {
14861       arg6 = NULL;
14862     } else {
14863       arg6 = StringValuePtr(argv[5]);
14864     }
14865   }
14866   {
14867     arg7 = svn_swig_rb_to_depth(argv[6]);
14868   }
14869   arg8 = RTEST(argv[7]);
14870   arg9 = RTEST(argv[8]);
14871   arg10 = RTEST(argv[9]);
14872   arg11 = RTEST(argv[10]);
14873   arg12 = RTEST(argv[11]);
14874   arg13 = RTEST(argv[12]);
14875   arg14 = RTEST(argv[13]);
14876   arg15 = RTEST(argv[14]);
14877   arg16 = RTEST(argv[15]);
14878   {
14879     arg17 = NULL;
14880 
14881     if (NIL_P(argv[16])) {
14882 
14883     } else if (TYPE(argv[16]) == T_FIXNUM) {
14884       arg17 = (char *)NUM2INT(argv[16]);
14885       if (!(arg17 == APR_LOCALE_CHARSET || arg17 == APR_DEFAULT_CHARSET)) {
14886         arg17 = NULL;
14887       }
14888     } else {
14889       arg17 = StringValuePtr(argv[16]);
14890     }
14891 
14892     if (!arg17) {
14893       arg17 = (char *)APR_LOCALE_CHARSET;
14894     }
14895   }
14896   {
14897     arg18 = svn_swig_rb_make_stream(argv[17]);
14898   }
14899   {
14900     arg19 = svn_swig_rb_make_stream(argv[18]);
14901   }
14902   {
14903     arg20 = (NIL_P(argv[19])) ? NULL :
14904     svn_swig_rb_strings_to_apr_array(argv[19], _global_pool);
14905   }
14906   if (argc > 20) {
14907     res21 = SWIG_ConvertPtr(argv[20], &argp21,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
14908     if (!SWIG_IsOK(res21)) {
14909       SWIG_exception_fail(SWIG_ArgError(res21), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_diff7", 21, argv[20] ));
14910     }
14911     arg21 = (svn_client_ctx_t *)(argp21);
14912   }
14913   if (argc > 21) {
14914 
14915   }
14916   {
14917     result = (svn_error_t *)svn_client_diff7((apr_array_header_t const *)arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,(char const *)arg4,(struct svn_opt_revision_t const *)arg5,(char const *)arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,(char const *)arg17,arg18,arg19,(apr_array_header_t const *)arg20,arg21,arg22);
14918 
14919 
14920 
14921   }
14922   {
14923     if (result) {
14924       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14925       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14926       svn_swig_rb_handle_svn_error(result);
14927     }
14928     vresult = Qnil;
14929   }
14930   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14931   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
14932   {
14933     VALUE target;
14934     target = _global_vresult_address == &vresult ? self : vresult;
14935     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14936     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14937     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14938   }
14939   return vresult;
14940 fail:
14941   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14942   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
14943   {
14944     VALUE target;
14945     target = _global_vresult_address == &vresult ? self : vresult;
14946     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14947     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14948     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14949   }
14950   return Qnil;
14951 }
14952 
14953 
14954 SWIGINTERN VALUE
_wrap_svn_client_diff6(int argc,VALUE * argv,VALUE self)14955 _wrap_svn_client_diff6(int argc, VALUE *argv, VALUE self) {
14956   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
14957   char *arg2 = (char *) 0 ;
14958   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
14959   char *arg4 = (char *) 0 ;
14960   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
14961   char *arg6 = (char *) 0 ;
14962   svn_depth_t arg7 ;
14963   svn_boolean_t arg8 ;
14964   svn_boolean_t arg9 ;
14965   svn_boolean_t arg10 ;
14966   svn_boolean_t arg11 ;
14967   svn_boolean_t arg12 ;
14968   svn_boolean_t arg13 ;
14969   svn_boolean_t arg14 ;
14970   svn_boolean_t arg15 ;
14971   char *arg16 = (char *) 0 ;
14972   svn_stream_t *arg17 = (svn_stream_t *) 0 ;
14973   svn_stream_t *arg18 = (svn_stream_t *) 0 ;
14974   apr_array_header_t *arg19 = (apr_array_header_t *) 0 ;
14975   svn_client_ctx_t *arg20 = (svn_client_ctx_t *) 0 ;
14976   apr_pool_t *arg21 = (apr_pool_t *) 0 ;
14977   VALUE _global_svn_swig_rb_pool ;
14978   apr_pool_t *_global_pool ;
14979   int res2 ;
14980   char *buf2 = 0 ;
14981   int alloc2 = 0 ;
14982   svn_opt_revision_t rev3 ;
14983   int res4 ;
14984   char *buf4 = 0 ;
14985   int alloc4 = 0 ;
14986   svn_opt_revision_t rev5 ;
14987   void *argp20 = 0 ;
14988   int res20 = 0 ;
14989   svn_error_t *result = 0 ;
14990   VALUE vresult = Qnil;
14991 
14992   {
14993     int adjusted_argc = argc;
14994     VALUE *adjusted_argv = argv;
14995 
14996     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
14997       &adjusted_argv);
14998     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
14999       &_global_svn_swig_rb_pool, &arg21);
15000     _global_pool = arg21;
15001     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
15002   }
15003   if ((argc < 19) || (argc > 21)) {
15004     rb_raise(rb_eArgError, "wrong # of arguments(%d for 19)",argc); SWIG_fail;
15005   }
15006   {
15007     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
15008   }
15009   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
15010   if (!SWIG_IsOK(res2)) {
15011     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_diff6", 2, argv[1] ));
15012   }
15013   arg2 = (char *)(buf2);
15014   {
15015     arg3 = &rev3;
15016     svn_swig_rb_set_revision(&rev3, argv[2]);
15017   }
15018   res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
15019   if (!SWIG_IsOK(res4)) {
15020     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_diff6", 4, argv[3] ));
15021   }
15022   arg4 = (char *)(buf4);
15023   {
15024     arg5 = &rev5;
15025     svn_swig_rb_set_revision(&rev5, argv[4]);
15026   }
15027   {
15028     if (NIL_P(argv[5])) {
15029       arg6 = NULL;
15030     } else {
15031       arg6 = StringValuePtr(argv[5]);
15032     }
15033   }
15034   {
15035     arg7 = svn_swig_rb_to_depth(argv[6]);
15036   }
15037   arg8 = RTEST(argv[7]);
15038   arg9 = RTEST(argv[8]);
15039   arg10 = RTEST(argv[9]);
15040   arg11 = RTEST(argv[10]);
15041   arg12 = RTEST(argv[11]);
15042   arg13 = RTEST(argv[12]);
15043   arg14 = RTEST(argv[13]);
15044   arg15 = RTEST(argv[14]);
15045   {
15046     arg16 = NULL;
15047 
15048     if (NIL_P(argv[15])) {
15049 
15050     } else if (TYPE(argv[15]) == T_FIXNUM) {
15051       arg16 = (char *)NUM2INT(argv[15]);
15052       if (!(arg16 == APR_LOCALE_CHARSET || arg16 == APR_DEFAULT_CHARSET)) {
15053         arg16 = NULL;
15054       }
15055     } else {
15056       arg16 = StringValuePtr(argv[15]);
15057     }
15058 
15059     if (!arg16) {
15060       arg16 = (char *)APR_LOCALE_CHARSET;
15061     }
15062   }
15063   {
15064     arg17 = svn_swig_rb_make_stream(argv[16]);
15065   }
15066   {
15067     arg18 = svn_swig_rb_make_stream(argv[17]);
15068   }
15069   {
15070     arg19 = (NIL_P(argv[18])) ? NULL :
15071     svn_swig_rb_strings_to_apr_array(argv[18], _global_pool);
15072   }
15073   if (argc > 19) {
15074     res20 = SWIG_ConvertPtr(argv[19], &argp20,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
15075     if (!SWIG_IsOK(res20)) {
15076       SWIG_exception_fail(SWIG_ArgError(res20), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_diff6", 20, argv[19] ));
15077     }
15078     arg20 = (svn_client_ctx_t *)(argp20);
15079   }
15080   if (argc > 20) {
15081 
15082   }
15083   {
15084     result = (svn_error_t *)svn_client_diff6((apr_array_header_t const *)arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,(char const *)arg4,(struct svn_opt_revision_t const *)arg5,(char const *)arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,(char const *)arg16,arg17,arg18,(apr_array_header_t const *)arg19,arg20,arg21);
15085 
15086 
15087 
15088   }
15089   {
15090     if (result) {
15091       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15092       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15093       svn_swig_rb_handle_svn_error(result);
15094     }
15095     vresult = Qnil;
15096   }
15097   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15098   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
15099   {
15100     VALUE target;
15101     target = _global_vresult_address == &vresult ? self : vresult;
15102     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15103     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15104     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15105   }
15106   return vresult;
15107 fail:
15108   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15109   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
15110   {
15111     VALUE target;
15112     target = _global_vresult_address == &vresult ? self : vresult;
15113     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15114     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15115     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15116   }
15117   return Qnil;
15118 }
15119 
15120 
15121 SWIGINTERN VALUE
_wrap_svn_client_diff5(int argc,VALUE * argv,VALUE self)15122 _wrap_svn_client_diff5(int argc, VALUE *argv, VALUE self) {
15123   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
15124   char *arg2 = (char *) 0 ;
15125   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
15126   char *arg4 = (char *) 0 ;
15127   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
15128   char *arg6 = (char *) 0 ;
15129   svn_depth_t arg7 ;
15130   svn_boolean_t arg8 ;
15131   svn_boolean_t arg9 ;
15132   svn_boolean_t arg10 ;
15133   svn_boolean_t arg11 ;
15134   svn_boolean_t arg12 ;
15135   char *arg13 = (char *) 0 ;
15136   apr_file_t *arg14 = (apr_file_t *) 0 ;
15137   apr_file_t *arg15 = (apr_file_t *) 0 ;
15138   apr_array_header_t *arg16 = (apr_array_header_t *) 0 ;
15139   svn_client_ctx_t *arg17 = (svn_client_ctx_t *) 0 ;
15140   apr_pool_t *arg18 = (apr_pool_t *) 0 ;
15141   VALUE _global_svn_swig_rb_pool ;
15142   apr_pool_t *_global_pool ;
15143   int res2 ;
15144   char *buf2 = 0 ;
15145   int alloc2 = 0 ;
15146   svn_opt_revision_t rev3 ;
15147   int res4 ;
15148   char *buf4 = 0 ;
15149   int alloc4 = 0 ;
15150   svn_opt_revision_t rev5 ;
15151   void *argp17 = 0 ;
15152   int res17 = 0 ;
15153   svn_error_t *result = 0 ;
15154   VALUE vresult = Qnil;
15155 
15156   {
15157     int adjusted_argc = argc;
15158     VALUE *adjusted_argv = argv;
15159 
15160     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
15161       &adjusted_argv);
15162     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
15163       &_global_svn_swig_rb_pool, &arg18);
15164     _global_pool = arg18;
15165     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
15166   }
15167   if ((argc < 16) || (argc > 18)) {
15168     rb_raise(rb_eArgError, "wrong # of arguments(%d for 16)",argc); SWIG_fail;
15169   }
15170   {
15171     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
15172   }
15173   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
15174   if (!SWIG_IsOK(res2)) {
15175     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_diff5", 2, argv[1] ));
15176   }
15177   arg2 = (char *)(buf2);
15178   {
15179     arg3 = &rev3;
15180     svn_swig_rb_set_revision(&rev3, argv[2]);
15181   }
15182   res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
15183   if (!SWIG_IsOK(res4)) {
15184     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_diff5", 4, argv[3] ));
15185   }
15186   arg4 = (char *)(buf4);
15187   {
15188     arg5 = &rev5;
15189     svn_swig_rb_set_revision(&rev5, argv[4]);
15190   }
15191   {
15192     if (NIL_P(argv[5])) {
15193       arg6 = NULL;
15194     } else {
15195       arg6 = StringValuePtr(argv[5]);
15196     }
15197   }
15198   {
15199     arg7 = svn_swig_rb_to_depth(argv[6]);
15200   }
15201   arg8 = RTEST(argv[7]);
15202   arg9 = RTEST(argv[8]);
15203   arg10 = RTEST(argv[9]);
15204   arg11 = RTEST(argv[10]);
15205   arg12 = RTEST(argv[11]);
15206   {
15207     arg13 = NULL;
15208 
15209     if (NIL_P(argv[12])) {
15210 
15211     } else if (TYPE(argv[12]) == T_FIXNUM) {
15212       arg13 = (char *)NUM2INT(argv[12]);
15213       if (!(arg13 == APR_LOCALE_CHARSET || arg13 == APR_DEFAULT_CHARSET)) {
15214         arg13 = NULL;
15215       }
15216     } else {
15217       arg13 = StringValuePtr(argv[12]);
15218     }
15219 
15220     if (!arg13) {
15221       arg13 = (char *)APR_LOCALE_CHARSET;
15222     }
15223   }
15224   {
15225     arg14 = svn_swig_rb_make_file(argv[13], _global_pool);
15226   }
15227   {
15228     arg15 = svn_swig_rb_make_file(argv[14], _global_pool);
15229   }
15230   {
15231     arg16 = (NIL_P(argv[15])) ? NULL :
15232     svn_swig_rb_strings_to_apr_array(argv[15], _global_pool);
15233   }
15234   if (argc > 16) {
15235     res17 = SWIG_ConvertPtr(argv[16], &argp17,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
15236     if (!SWIG_IsOK(res17)) {
15237       SWIG_exception_fail(SWIG_ArgError(res17), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_diff5", 17, argv[16] ));
15238     }
15239     arg17 = (svn_client_ctx_t *)(argp17);
15240   }
15241   if (argc > 17) {
15242 
15243   }
15244   {
15245     result = (svn_error_t *)svn_client_diff5((apr_array_header_t const *)arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,(char const *)arg4,(struct svn_opt_revision_t const *)arg5,(char const *)arg6,arg7,arg8,arg9,arg10,arg11,arg12,(char const *)arg13,arg14,arg15,(apr_array_header_t const *)arg16,arg17,arg18);
15246 
15247 
15248 
15249   }
15250   {
15251     if (result) {
15252       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15253       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15254       svn_swig_rb_handle_svn_error(result);
15255     }
15256     vresult = Qnil;
15257   }
15258   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15259   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
15260   {
15261     VALUE target;
15262     target = _global_vresult_address == &vresult ? self : vresult;
15263     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15264     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15265     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15266   }
15267   return vresult;
15268 fail:
15269   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15270   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
15271   {
15272     VALUE target;
15273     target = _global_vresult_address == &vresult ? self : vresult;
15274     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15275     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15276     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15277   }
15278   return Qnil;
15279 }
15280 
15281 
15282 SWIGINTERN VALUE
_wrap_svn_client_diff4(int argc,VALUE * argv,VALUE self)15283 _wrap_svn_client_diff4(int argc, VALUE *argv, VALUE self) {
15284   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
15285   char *arg2 = (char *) 0 ;
15286   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
15287   char *arg4 = (char *) 0 ;
15288   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
15289   char *arg6 = (char *) 0 ;
15290   svn_depth_t arg7 ;
15291   svn_boolean_t arg8 ;
15292   svn_boolean_t arg9 ;
15293   svn_boolean_t arg10 ;
15294   char *arg11 = (char *) 0 ;
15295   apr_file_t *arg12 = (apr_file_t *) 0 ;
15296   apr_file_t *arg13 = (apr_file_t *) 0 ;
15297   apr_array_header_t *arg14 = (apr_array_header_t *) 0 ;
15298   svn_client_ctx_t *arg15 = (svn_client_ctx_t *) 0 ;
15299   apr_pool_t *arg16 = (apr_pool_t *) 0 ;
15300   VALUE _global_svn_swig_rb_pool ;
15301   apr_pool_t *_global_pool ;
15302   int res2 ;
15303   char *buf2 = 0 ;
15304   int alloc2 = 0 ;
15305   svn_opt_revision_t rev3 ;
15306   int res4 ;
15307   char *buf4 = 0 ;
15308   int alloc4 = 0 ;
15309   svn_opt_revision_t rev5 ;
15310   void *argp15 = 0 ;
15311   int res15 = 0 ;
15312   svn_error_t *result = 0 ;
15313   VALUE vresult = Qnil;
15314 
15315   {
15316     int adjusted_argc = argc;
15317     VALUE *adjusted_argv = argv;
15318 
15319     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
15320       &adjusted_argv);
15321     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
15322       &_global_svn_swig_rb_pool, &arg16);
15323     _global_pool = arg16;
15324     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
15325   }
15326   if ((argc < 14) || (argc > 16)) {
15327     rb_raise(rb_eArgError, "wrong # of arguments(%d for 14)",argc); SWIG_fail;
15328   }
15329   {
15330     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
15331   }
15332   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
15333   if (!SWIG_IsOK(res2)) {
15334     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_diff4", 2, argv[1] ));
15335   }
15336   arg2 = (char *)(buf2);
15337   {
15338     arg3 = &rev3;
15339     svn_swig_rb_set_revision(&rev3, argv[2]);
15340   }
15341   res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
15342   if (!SWIG_IsOK(res4)) {
15343     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_diff4", 4, argv[3] ));
15344   }
15345   arg4 = (char *)(buf4);
15346   {
15347     arg5 = &rev5;
15348     svn_swig_rb_set_revision(&rev5, argv[4]);
15349   }
15350   {
15351     if (NIL_P(argv[5])) {
15352       arg6 = NULL;
15353     } else {
15354       arg6 = StringValuePtr(argv[5]);
15355     }
15356   }
15357   {
15358     arg7 = svn_swig_rb_to_depth(argv[6]);
15359   }
15360   arg8 = RTEST(argv[7]);
15361   arg9 = RTEST(argv[8]);
15362   arg10 = RTEST(argv[9]);
15363   {
15364     arg11 = NULL;
15365 
15366     if (NIL_P(argv[10])) {
15367 
15368     } else if (TYPE(argv[10]) == T_FIXNUM) {
15369       arg11 = (char *)NUM2INT(argv[10]);
15370       if (!(arg11 == APR_LOCALE_CHARSET || arg11 == APR_DEFAULT_CHARSET)) {
15371         arg11 = NULL;
15372       }
15373     } else {
15374       arg11 = StringValuePtr(argv[10]);
15375     }
15376 
15377     if (!arg11) {
15378       arg11 = (char *)APR_LOCALE_CHARSET;
15379     }
15380   }
15381   {
15382     arg12 = svn_swig_rb_make_file(argv[11], _global_pool);
15383   }
15384   {
15385     arg13 = svn_swig_rb_make_file(argv[12], _global_pool);
15386   }
15387   {
15388     arg14 = (NIL_P(argv[13])) ? NULL :
15389     svn_swig_rb_strings_to_apr_array(argv[13], _global_pool);
15390   }
15391   if (argc > 14) {
15392     res15 = SWIG_ConvertPtr(argv[14], &argp15,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
15393     if (!SWIG_IsOK(res15)) {
15394       SWIG_exception_fail(SWIG_ArgError(res15), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_diff4", 15, argv[14] ));
15395     }
15396     arg15 = (svn_client_ctx_t *)(argp15);
15397   }
15398   if (argc > 15) {
15399 
15400   }
15401   {
15402     result = (svn_error_t *)svn_client_diff4((apr_array_header_t const *)arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,(char const *)arg4,(struct svn_opt_revision_t const *)arg5,(char const *)arg6,arg7,arg8,arg9,arg10,(char const *)arg11,arg12,arg13,(apr_array_header_t const *)arg14,arg15,arg16);
15403 
15404 
15405 
15406   }
15407   {
15408     if (result) {
15409       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15410       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15411       svn_swig_rb_handle_svn_error(result);
15412     }
15413     vresult = Qnil;
15414   }
15415   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15416   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
15417   {
15418     VALUE target;
15419     target = _global_vresult_address == &vresult ? self : vresult;
15420     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15421     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15422     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15423   }
15424   return vresult;
15425 fail:
15426   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15427   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
15428   {
15429     VALUE target;
15430     target = _global_vresult_address == &vresult ? self : vresult;
15431     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15432     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15433     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15434   }
15435   return Qnil;
15436 }
15437 
15438 
15439 SWIGINTERN VALUE
_wrap_svn_client_diff3(int argc,VALUE * argv,VALUE self)15440 _wrap_svn_client_diff3(int argc, VALUE *argv, VALUE self) {
15441   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
15442   char *arg2 = (char *) 0 ;
15443   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
15444   char *arg4 = (char *) 0 ;
15445   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
15446   svn_boolean_t arg6 ;
15447   svn_boolean_t arg7 ;
15448   svn_boolean_t arg8 ;
15449   svn_boolean_t arg9 ;
15450   char *arg10 = (char *) 0 ;
15451   apr_file_t *arg11 = (apr_file_t *) 0 ;
15452   apr_file_t *arg12 = (apr_file_t *) 0 ;
15453   svn_client_ctx_t *arg13 = (svn_client_ctx_t *) 0 ;
15454   apr_pool_t *arg14 = (apr_pool_t *) 0 ;
15455   VALUE _global_svn_swig_rb_pool ;
15456   apr_pool_t *_global_pool ;
15457   int res2 ;
15458   char *buf2 = 0 ;
15459   int alloc2 = 0 ;
15460   svn_opt_revision_t rev3 ;
15461   int res4 ;
15462   char *buf4 = 0 ;
15463   int alloc4 = 0 ;
15464   svn_opt_revision_t rev5 ;
15465   void *argp13 = 0 ;
15466   int res13 = 0 ;
15467   svn_error_t *result = 0 ;
15468   VALUE vresult = Qnil;
15469 
15470   {
15471     int adjusted_argc = argc;
15472     VALUE *adjusted_argv = argv;
15473 
15474     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
15475       &adjusted_argv);
15476     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
15477       &_global_svn_swig_rb_pool, &arg14);
15478     _global_pool = arg14;
15479     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
15480   }
15481   if ((argc < 12) || (argc > 14)) {
15482     rb_raise(rb_eArgError, "wrong # of arguments(%d for 12)",argc); SWIG_fail;
15483   }
15484   {
15485     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
15486   }
15487   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
15488   if (!SWIG_IsOK(res2)) {
15489     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_diff3", 2, argv[1] ));
15490   }
15491   arg2 = (char *)(buf2);
15492   {
15493     arg3 = &rev3;
15494     svn_swig_rb_set_revision(&rev3, argv[2]);
15495   }
15496   res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
15497   if (!SWIG_IsOK(res4)) {
15498     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_diff3", 4, argv[3] ));
15499   }
15500   arg4 = (char *)(buf4);
15501   {
15502     arg5 = &rev5;
15503     svn_swig_rb_set_revision(&rev5, argv[4]);
15504   }
15505   arg6 = RTEST(argv[5]);
15506   arg7 = RTEST(argv[6]);
15507   arg8 = RTEST(argv[7]);
15508   arg9 = RTEST(argv[8]);
15509   {
15510     arg10 = NULL;
15511 
15512     if (NIL_P(argv[9])) {
15513 
15514     } else if (TYPE(argv[9]) == T_FIXNUM) {
15515       arg10 = (char *)NUM2INT(argv[9]);
15516       if (!(arg10 == APR_LOCALE_CHARSET || arg10 == APR_DEFAULT_CHARSET)) {
15517         arg10 = NULL;
15518       }
15519     } else {
15520       arg10 = StringValuePtr(argv[9]);
15521     }
15522 
15523     if (!arg10) {
15524       arg10 = (char *)APR_LOCALE_CHARSET;
15525     }
15526   }
15527   {
15528     arg11 = svn_swig_rb_make_file(argv[10], _global_pool);
15529   }
15530   {
15531     arg12 = svn_swig_rb_make_file(argv[11], _global_pool);
15532   }
15533   if (argc > 12) {
15534     res13 = SWIG_ConvertPtr(argv[12], &argp13,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
15535     if (!SWIG_IsOK(res13)) {
15536       SWIG_exception_fail(SWIG_ArgError(res13), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_diff3", 13, argv[12] ));
15537     }
15538     arg13 = (svn_client_ctx_t *)(argp13);
15539   }
15540   if (argc > 13) {
15541 
15542   }
15543   {
15544     result = (svn_error_t *)svn_client_diff3((apr_array_header_t const *)arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,(char const *)arg4,(struct svn_opt_revision_t const *)arg5,arg6,arg7,arg8,arg9,(char const *)arg10,arg11,arg12,arg13,arg14);
15545 
15546 
15547 
15548   }
15549   {
15550     if (result) {
15551       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15552       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15553       svn_swig_rb_handle_svn_error(result);
15554     }
15555     vresult = Qnil;
15556   }
15557   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15558   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
15559   {
15560     VALUE target;
15561     target = _global_vresult_address == &vresult ? self : vresult;
15562     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15563     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15564     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15565   }
15566   return vresult;
15567 fail:
15568   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15569   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
15570   {
15571     VALUE target;
15572     target = _global_vresult_address == &vresult ? self : vresult;
15573     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15574     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15575     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15576   }
15577   return Qnil;
15578 }
15579 
15580 
15581 SWIGINTERN VALUE
_wrap_svn_client_diff2(int argc,VALUE * argv,VALUE self)15582 _wrap_svn_client_diff2(int argc, VALUE *argv, VALUE self) {
15583   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
15584   char *arg2 = (char *) 0 ;
15585   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
15586   char *arg4 = (char *) 0 ;
15587   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
15588   svn_boolean_t arg6 ;
15589   svn_boolean_t arg7 ;
15590   svn_boolean_t arg8 ;
15591   svn_boolean_t arg9 ;
15592   apr_file_t *arg10 = (apr_file_t *) 0 ;
15593   apr_file_t *arg11 = (apr_file_t *) 0 ;
15594   svn_client_ctx_t *arg12 = (svn_client_ctx_t *) 0 ;
15595   apr_pool_t *arg13 = (apr_pool_t *) 0 ;
15596   VALUE _global_svn_swig_rb_pool ;
15597   apr_pool_t *_global_pool ;
15598   int res2 ;
15599   char *buf2 = 0 ;
15600   int alloc2 = 0 ;
15601   svn_opt_revision_t rev3 ;
15602   int res4 ;
15603   char *buf4 = 0 ;
15604   int alloc4 = 0 ;
15605   svn_opt_revision_t rev5 ;
15606   void *argp12 = 0 ;
15607   int res12 = 0 ;
15608   svn_error_t *result = 0 ;
15609   VALUE vresult = Qnil;
15610 
15611   {
15612     int adjusted_argc = argc;
15613     VALUE *adjusted_argv = argv;
15614 
15615     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
15616       &adjusted_argv);
15617     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
15618       &_global_svn_swig_rb_pool, &arg13);
15619     _global_pool = arg13;
15620     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
15621   }
15622   if ((argc < 11) || (argc > 13)) {
15623     rb_raise(rb_eArgError, "wrong # of arguments(%d for 11)",argc); SWIG_fail;
15624   }
15625   {
15626     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
15627   }
15628   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
15629   if (!SWIG_IsOK(res2)) {
15630     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_diff2", 2, argv[1] ));
15631   }
15632   arg2 = (char *)(buf2);
15633   {
15634     arg3 = &rev3;
15635     svn_swig_rb_set_revision(&rev3, argv[2]);
15636   }
15637   res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
15638   if (!SWIG_IsOK(res4)) {
15639     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_diff2", 4, argv[3] ));
15640   }
15641   arg4 = (char *)(buf4);
15642   {
15643     arg5 = &rev5;
15644     svn_swig_rb_set_revision(&rev5, argv[4]);
15645   }
15646   arg6 = RTEST(argv[5]);
15647   arg7 = RTEST(argv[6]);
15648   arg8 = RTEST(argv[7]);
15649   arg9 = RTEST(argv[8]);
15650   {
15651     arg10 = svn_swig_rb_make_file(argv[9], _global_pool);
15652   }
15653   {
15654     arg11 = svn_swig_rb_make_file(argv[10], _global_pool);
15655   }
15656   if (argc > 11) {
15657     res12 = SWIG_ConvertPtr(argv[11], &argp12,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
15658     if (!SWIG_IsOK(res12)) {
15659       SWIG_exception_fail(SWIG_ArgError(res12), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_diff2", 12, argv[11] ));
15660     }
15661     arg12 = (svn_client_ctx_t *)(argp12);
15662   }
15663   if (argc > 12) {
15664 
15665   }
15666   {
15667     result = (svn_error_t *)svn_client_diff2((apr_array_header_t const *)arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,(char const *)arg4,(struct svn_opt_revision_t const *)arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
15668 
15669 
15670 
15671   }
15672   {
15673     if (result) {
15674       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15675       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15676       svn_swig_rb_handle_svn_error(result);
15677     }
15678     vresult = Qnil;
15679   }
15680   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15681   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
15682   {
15683     VALUE target;
15684     target = _global_vresult_address == &vresult ? self : vresult;
15685     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15686     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15687     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15688   }
15689   return vresult;
15690 fail:
15691   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15692   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
15693   {
15694     VALUE target;
15695     target = _global_vresult_address == &vresult ? self : vresult;
15696     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15697     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15698     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15699   }
15700   return Qnil;
15701 }
15702 
15703 
15704 SWIGINTERN VALUE
_wrap_svn_client_diff(int argc,VALUE * argv,VALUE self)15705 _wrap_svn_client_diff(int argc, VALUE *argv, VALUE self) {
15706   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
15707   char *arg2 = (char *) 0 ;
15708   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
15709   char *arg4 = (char *) 0 ;
15710   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
15711   svn_boolean_t arg6 ;
15712   svn_boolean_t arg7 ;
15713   svn_boolean_t arg8 ;
15714   apr_file_t *arg9 = (apr_file_t *) 0 ;
15715   apr_file_t *arg10 = (apr_file_t *) 0 ;
15716   svn_client_ctx_t *arg11 = (svn_client_ctx_t *) 0 ;
15717   apr_pool_t *arg12 = (apr_pool_t *) 0 ;
15718   VALUE _global_svn_swig_rb_pool ;
15719   apr_pool_t *_global_pool ;
15720   int res2 ;
15721   char *buf2 = 0 ;
15722   int alloc2 = 0 ;
15723   svn_opt_revision_t rev3 ;
15724   int res4 ;
15725   char *buf4 = 0 ;
15726   int alloc4 = 0 ;
15727   svn_opt_revision_t rev5 ;
15728   void *argp11 = 0 ;
15729   int res11 = 0 ;
15730   svn_error_t *result = 0 ;
15731   VALUE vresult = Qnil;
15732 
15733   {
15734     int adjusted_argc = argc;
15735     VALUE *adjusted_argv = argv;
15736 
15737     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
15738       &adjusted_argv);
15739     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
15740       &_global_svn_swig_rb_pool, &arg12);
15741     _global_pool = arg12;
15742     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
15743   }
15744   if ((argc < 10) || (argc > 12)) {
15745     rb_raise(rb_eArgError, "wrong # of arguments(%d for 10)",argc); SWIG_fail;
15746   }
15747   {
15748     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
15749   }
15750   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
15751   if (!SWIG_IsOK(res2)) {
15752     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_diff", 2, argv[1] ));
15753   }
15754   arg2 = (char *)(buf2);
15755   {
15756     arg3 = &rev3;
15757     svn_swig_rb_set_revision(&rev3, argv[2]);
15758   }
15759   res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
15760   if (!SWIG_IsOK(res4)) {
15761     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_diff", 4, argv[3] ));
15762   }
15763   arg4 = (char *)(buf4);
15764   {
15765     arg5 = &rev5;
15766     svn_swig_rb_set_revision(&rev5, argv[4]);
15767   }
15768   arg6 = RTEST(argv[5]);
15769   arg7 = RTEST(argv[6]);
15770   arg8 = RTEST(argv[7]);
15771   {
15772     arg9 = svn_swig_rb_make_file(argv[8], _global_pool);
15773   }
15774   {
15775     arg10 = svn_swig_rb_make_file(argv[9], _global_pool);
15776   }
15777   if (argc > 10) {
15778     res11 = SWIG_ConvertPtr(argv[10], &argp11,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
15779     if (!SWIG_IsOK(res11)) {
15780       SWIG_exception_fail(SWIG_ArgError(res11), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_diff", 11, argv[10] ));
15781     }
15782     arg11 = (svn_client_ctx_t *)(argp11);
15783   }
15784   if (argc > 11) {
15785 
15786   }
15787   {
15788     result = (svn_error_t *)svn_client_diff((apr_array_header_t const *)arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,(char const *)arg4,(struct svn_opt_revision_t const *)arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
15789 
15790 
15791 
15792   }
15793   {
15794     if (result) {
15795       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15796       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15797       svn_swig_rb_handle_svn_error(result);
15798     }
15799     vresult = Qnil;
15800   }
15801   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15802   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
15803   {
15804     VALUE target;
15805     target = _global_vresult_address == &vresult ? self : vresult;
15806     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15807     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15808     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15809   }
15810   return vresult;
15811 fail:
15812   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15813   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
15814   {
15815     VALUE target;
15816     target = _global_vresult_address == &vresult ? self : vresult;
15817     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15818     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15819     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15820   }
15821   return Qnil;
15822 }
15823 
15824 
15825 SWIGINTERN VALUE
_wrap_svn_client_diff_peg7(int argc,VALUE * argv,VALUE self)15826 _wrap_svn_client_diff_peg7(int argc, VALUE *argv, VALUE self) {
15827   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
15828   char *arg2 = (char *) 0 ;
15829   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
15830   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
15831   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
15832   char *arg6 = (char *) 0 ;
15833   svn_depth_t arg7 ;
15834   svn_boolean_t arg8 ;
15835   svn_boolean_t arg9 ;
15836   svn_boolean_t arg10 ;
15837   svn_boolean_t arg11 ;
15838   svn_boolean_t arg12 ;
15839   svn_boolean_t arg13 ;
15840   svn_boolean_t arg14 ;
15841   svn_boolean_t arg15 ;
15842   svn_boolean_t arg16 ;
15843   char *arg17 = (char *) 0 ;
15844   svn_stream_t *arg18 = (svn_stream_t *) 0 ;
15845   svn_stream_t *arg19 = (svn_stream_t *) 0 ;
15846   apr_array_header_t *arg20 = (apr_array_header_t *) 0 ;
15847   svn_client_ctx_t *arg21 = (svn_client_ctx_t *) 0 ;
15848   apr_pool_t *arg22 = (apr_pool_t *) 0 ;
15849   VALUE _global_svn_swig_rb_pool ;
15850   apr_pool_t *_global_pool ;
15851   int res2 ;
15852   char *buf2 = 0 ;
15853   int alloc2 = 0 ;
15854   svn_opt_revision_t rev3 ;
15855   svn_opt_revision_t rev4 ;
15856   svn_opt_revision_t rev5 ;
15857   void *argp21 = 0 ;
15858   int res21 = 0 ;
15859   svn_error_t *result = 0 ;
15860   VALUE vresult = Qnil;
15861 
15862   {
15863     int adjusted_argc = argc;
15864     VALUE *adjusted_argv = argv;
15865 
15866     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
15867       &adjusted_argv);
15868     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
15869       &_global_svn_swig_rb_pool, &arg22);
15870     _global_pool = arg22;
15871     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
15872   }
15873   if ((argc < 20) || (argc > 22)) {
15874     rb_raise(rb_eArgError, "wrong # of arguments(%d for 20)",argc); SWIG_fail;
15875   }
15876   {
15877     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
15878   }
15879   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
15880   if (!SWIG_IsOK(res2)) {
15881     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_diff_peg7", 2, argv[1] ));
15882   }
15883   arg2 = (char *)(buf2);
15884   {
15885     arg3 = &rev3;
15886     svn_swig_rb_set_revision(&rev3, argv[2]);
15887   }
15888   {
15889     arg4 = &rev4;
15890     svn_swig_rb_set_revision(&rev4, argv[3]);
15891   }
15892   {
15893     arg5 = &rev5;
15894     svn_swig_rb_set_revision(&rev5, argv[4]);
15895   }
15896   {
15897     if (NIL_P(argv[5])) {
15898       arg6 = NULL;
15899     } else {
15900       arg6 = StringValuePtr(argv[5]);
15901     }
15902   }
15903   {
15904     arg7 = svn_swig_rb_to_depth(argv[6]);
15905   }
15906   arg8 = RTEST(argv[7]);
15907   arg9 = RTEST(argv[8]);
15908   arg10 = RTEST(argv[9]);
15909   arg11 = RTEST(argv[10]);
15910   arg12 = RTEST(argv[11]);
15911   arg13 = RTEST(argv[12]);
15912   arg14 = RTEST(argv[13]);
15913   arg15 = RTEST(argv[14]);
15914   arg16 = RTEST(argv[15]);
15915   {
15916     arg17 = NULL;
15917 
15918     if (NIL_P(argv[16])) {
15919 
15920     } else if (TYPE(argv[16]) == T_FIXNUM) {
15921       arg17 = (char *)NUM2INT(argv[16]);
15922       if (!(arg17 == APR_LOCALE_CHARSET || arg17 == APR_DEFAULT_CHARSET)) {
15923         arg17 = NULL;
15924       }
15925     } else {
15926       arg17 = StringValuePtr(argv[16]);
15927     }
15928 
15929     if (!arg17) {
15930       arg17 = (char *)APR_LOCALE_CHARSET;
15931     }
15932   }
15933   {
15934     arg18 = svn_swig_rb_make_stream(argv[17]);
15935   }
15936   {
15937     arg19 = svn_swig_rb_make_stream(argv[18]);
15938   }
15939   {
15940     arg20 = (NIL_P(argv[19])) ? NULL :
15941     svn_swig_rb_strings_to_apr_array(argv[19], _global_pool);
15942   }
15943   if (argc > 20) {
15944     res21 = SWIG_ConvertPtr(argv[20], &argp21,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
15945     if (!SWIG_IsOK(res21)) {
15946       SWIG_exception_fail(SWIG_ArgError(res21), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_diff_peg7", 21, argv[20] ));
15947     }
15948     arg21 = (svn_client_ctx_t *)(argp21);
15949   }
15950   if (argc > 21) {
15951 
15952   }
15953   {
15954     if (!arg3) {
15955       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
15956     }
15957   }
15958   {
15959     result = (svn_error_t *)svn_client_diff_peg7((apr_array_header_t const *)arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_opt_revision_t const *)arg5,(char const *)arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,(char const *)arg17,arg18,arg19,(apr_array_header_t const *)arg20,arg21,arg22);
15960 
15961 
15962 
15963   }
15964   {
15965     if (result) {
15966       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15967       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15968       svn_swig_rb_handle_svn_error(result);
15969     }
15970     vresult = Qnil;
15971   }
15972   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15973   {
15974     VALUE target;
15975     target = _global_vresult_address == &vresult ? self : vresult;
15976     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15977     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15978     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15979   }
15980   return vresult;
15981 fail:
15982   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15983   {
15984     VALUE target;
15985     target = _global_vresult_address == &vresult ? self : vresult;
15986     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15987     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15988     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15989   }
15990   return Qnil;
15991 }
15992 
15993 
15994 SWIGINTERN VALUE
_wrap_svn_client_diff_peg6(int argc,VALUE * argv,VALUE self)15995 _wrap_svn_client_diff_peg6(int argc, VALUE *argv, VALUE self) {
15996   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
15997   char *arg2 = (char *) 0 ;
15998   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
15999   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
16000   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
16001   char *arg6 = (char *) 0 ;
16002   svn_depth_t arg7 ;
16003   svn_boolean_t arg8 ;
16004   svn_boolean_t arg9 ;
16005   svn_boolean_t arg10 ;
16006   svn_boolean_t arg11 ;
16007   svn_boolean_t arg12 ;
16008   svn_boolean_t arg13 ;
16009   svn_boolean_t arg14 ;
16010   svn_boolean_t arg15 ;
16011   char *arg16 = (char *) 0 ;
16012   svn_stream_t *arg17 = (svn_stream_t *) 0 ;
16013   svn_stream_t *arg18 = (svn_stream_t *) 0 ;
16014   apr_array_header_t *arg19 = (apr_array_header_t *) 0 ;
16015   svn_client_ctx_t *arg20 = (svn_client_ctx_t *) 0 ;
16016   apr_pool_t *arg21 = (apr_pool_t *) 0 ;
16017   VALUE _global_svn_swig_rb_pool ;
16018   apr_pool_t *_global_pool ;
16019   int res2 ;
16020   char *buf2 = 0 ;
16021   int alloc2 = 0 ;
16022   svn_opt_revision_t rev3 ;
16023   svn_opt_revision_t rev4 ;
16024   svn_opt_revision_t rev5 ;
16025   void *argp20 = 0 ;
16026   int res20 = 0 ;
16027   svn_error_t *result = 0 ;
16028   VALUE vresult = Qnil;
16029 
16030   {
16031     int adjusted_argc = argc;
16032     VALUE *adjusted_argv = argv;
16033 
16034     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
16035       &adjusted_argv);
16036     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
16037       &_global_svn_swig_rb_pool, &arg21);
16038     _global_pool = arg21;
16039     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
16040   }
16041   if ((argc < 19) || (argc > 21)) {
16042     rb_raise(rb_eArgError, "wrong # of arguments(%d for 19)",argc); SWIG_fail;
16043   }
16044   {
16045     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
16046   }
16047   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
16048   if (!SWIG_IsOK(res2)) {
16049     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_diff_peg6", 2, argv[1] ));
16050   }
16051   arg2 = (char *)(buf2);
16052   {
16053     arg3 = &rev3;
16054     svn_swig_rb_set_revision(&rev3, argv[2]);
16055   }
16056   {
16057     arg4 = &rev4;
16058     svn_swig_rb_set_revision(&rev4, argv[3]);
16059   }
16060   {
16061     arg5 = &rev5;
16062     svn_swig_rb_set_revision(&rev5, argv[4]);
16063   }
16064   {
16065     if (NIL_P(argv[5])) {
16066       arg6 = NULL;
16067     } else {
16068       arg6 = StringValuePtr(argv[5]);
16069     }
16070   }
16071   {
16072     arg7 = svn_swig_rb_to_depth(argv[6]);
16073   }
16074   arg8 = RTEST(argv[7]);
16075   arg9 = RTEST(argv[8]);
16076   arg10 = RTEST(argv[9]);
16077   arg11 = RTEST(argv[10]);
16078   arg12 = RTEST(argv[11]);
16079   arg13 = RTEST(argv[12]);
16080   arg14 = RTEST(argv[13]);
16081   arg15 = RTEST(argv[14]);
16082   {
16083     arg16 = NULL;
16084 
16085     if (NIL_P(argv[15])) {
16086 
16087     } else if (TYPE(argv[15]) == T_FIXNUM) {
16088       arg16 = (char *)NUM2INT(argv[15]);
16089       if (!(arg16 == APR_LOCALE_CHARSET || arg16 == APR_DEFAULT_CHARSET)) {
16090         arg16 = NULL;
16091       }
16092     } else {
16093       arg16 = StringValuePtr(argv[15]);
16094     }
16095 
16096     if (!arg16) {
16097       arg16 = (char *)APR_LOCALE_CHARSET;
16098     }
16099   }
16100   {
16101     arg17 = svn_swig_rb_make_stream(argv[16]);
16102   }
16103   {
16104     arg18 = svn_swig_rb_make_stream(argv[17]);
16105   }
16106   {
16107     arg19 = (NIL_P(argv[18])) ? NULL :
16108     svn_swig_rb_strings_to_apr_array(argv[18], _global_pool);
16109   }
16110   if (argc > 19) {
16111     res20 = SWIG_ConvertPtr(argv[19], &argp20,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
16112     if (!SWIG_IsOK(res20)) {
16113       SWIG_exception_fail(SWIG_ArgError(res20), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_diff_peg6", 20, argv[19] ));
16114     }
16115     arg20 = (svn_client_ctx_t *)(argp20);
16116   }
16117   if (argc > 20) {
16118 
16119   }
16120   {
16121     if (!arg3) {
16122       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
16123     }
16124   }
16125   {
16126     result = (svn_error_t *)svn_client_diff_peg6((apr_array_header_t const *)arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_opt_revision_t const *)arg5,(char const *)arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,(char const *)arg16,arg17,arg18,(apr_array_header_t const *)arg19,arg20,arg21);
16127 
16128 
16129 
16130   }
16131   {
16132     if (result) {
16133       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16134       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16135       svn_swig_rb_handle_svn_error(result);
16136     }
16137     vresult = Qnil;
16138   }
16139   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16140   {
16141     VALUE target;
16142     target = _global_vresult_address == &vresult ? self : vresult;
16143     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
16144     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16145     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16146   }
16147   return vresult;
16148 fail:
16149   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16150   {
16151     VALUE target;
16152     target = _global_vresult_address == &vresult ? self : vresult;
16153     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
16154     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16155     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16156   }
16157   return Qnil;
16158 }
16159 
16160 
16161 SWIGINTERN VALUE
_wrap_svn_client_diff_peg5(int argc,VALUE * argv,VALUE self)16162 _wrap_svn_client_diff_peg5(int argc, VALUE *argv, VALUE self) {
16163   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
16164   char *arg2 = (char *) 0 ;
16165   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
16166   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
16167   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
16168   char *arg6 = (char *) 0 ;
16169   svn_depth_t arg7 ;
16170   svn_boolean_t arg8 ;
16171   svn_boolean_t arg9 ;
16172   svn_boolean_t arg10 ;
16173   svn_boolean_t arg11 ;
16174   svn_boolean_t arg12 ;
16175   char *arg13 = (char *) 0 ;
16176   apr_file_t *arg14 = (apr_file_t *) 0 ;
16177   apr_file_t *arg15 = (apr_file_t *) 0 ;
16178   apr_array_header_t *arg16 = (apr_array_header_t *) 0 ;
16179   svn_client_ctx_t *arg17 = (svn_client_ctx_t *) 0 ;
16180   apr_pool_t *arg18 = (apr_pool_t *) 0 ;
16181   VALUE _global_svn_swig_rb_pool ;
16182   apr_pool_t *_global_pool ;
16183   int res2 ;
16184   char *buf2 = 0 ;
16185   int alloc2 = 0 ;
16186   svn_opt_revision_t rev3 ;
16187   svn_opt_revision_t rev4 ;
16188   svn_opt_revision_t rev5 ;
16189   void *argp17 = 0 ;
16190   int res17 = 0 ;
16191   svn_error_t *result = 0 ;
16192   VALUE vresult = Qnil;
16193 
16194   {
16195     int adjusted_argc = argc;
16196     VALUE *adjusted_argv = argv;
16197 
16198     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
16199       &adjusted_argv);
16200     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
16201       &_global_svn_swig_rb_pool, &arg18);
16202     _global_pool = arg18;
16203     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
16204   }
16205   if ((argc < 16) || (argc > 18)) {
16206     rb_raise(rb_eArgError, "wrong # of arguments(%d for 16)",argc); SWIG_fail;
16207   }
16208   {
16209     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
16210   }
16211   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
16212   if (!SWIG_IsOK(res2)) {
16213     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_diff_peg5", 2, argv[1] ));
16214   }
16215   arg2 = (char *)(buf2);
16216   {
16217     arg3 = &rev3;
16218     svn_swig_rb_set_revision(&rev3, argv[2]);
16219   }
16220   {
16221     arg4 = &rev4;
16222     svn_swig_rb_set_revision(&rev4, argv[3]);
16223   }
16224   {
16225     arg5 = &rev5;
16226     svn_swig_rb_set_revision(&rev5, argv[4]);
16227   }
16228   {
16229     if (NIL_P(argv[5])) {
16230       arg6 = NULL;
16231     } else {
16232       arg6 = StringValuePtr(argv[5]);
16233     }
16234   }
16235   {
16236     arg7 = svn_swig_rb_to_depth(argv[6]);
16237   }
16238   arg8 = RTEST(argv[7]);
16239   arg9 = RTEST(argv[8]);
16240   arg10 = RTEST(argv[9]);
16241   arg11 = RTEST(argv[10]);
16242   arg12 = RTEST(argv[11]);
16243   {
16244     arg13 = NULL;
16245 
16246     if (NIL_P(argv[12])) {
16247 
16248     } else if (TYPE(argv[12]) == T_FIXNUM) {
16249       arg13 = (char *)NUM2INT(argv[12]);
16250       if (!(arg13 == APR_LOCALE_CHARSET || arg13 == APR_DEFAULT_CHARSET)) {
16251         arg13 = NULL;
16252       }
16253     } else {
16254       arg13 = StringValuePtr(argv[12]);
16255     }
16256 
16257     if (!arg13) {
16258       arg13 = (char *)APR_LOCALE_CHARSET;
16259     }
16260   }
16261   {
16262     arg14 = svn_swig_rb_make_file(argv[13], _global_pool);
16263   }
16264   {
16265     arg15 = svn_swig_rb_make_file(argv[14], _global_pool);
16266   }
16267   {
16268     arg16 = (NIL_P(argv[15])) ? NULL :
16269     svn_swig_rb_strings_to_apr_array(argv[15], _global_pool);
16270   }
16271   if (argc > 16) {
16272     res17 = SWIG_ConvertPtr(argv[16], &argp17,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
16273     if (!SWIG_IsOK(res17)) {
16274       SWIG_exception_fail(SWIG_ArgError(res17), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_diff_peg5", 17, argv[16] ));
16275     }
16276     arg17 = (svn_client_ctx_t *)(argp17);
16277   }
16278   if (argc > 17) {
16279 
16280   }
16281   {
16282     if (!arg3) {
16283       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
16284     }
16285   }
16286   {
16287     result = (svn_error_t *)svn_client_diff_peg5((apr_array_header_t const *)arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_opt_revision_t const *)arg5,(char const *)arg6,arg7,arg8,arg9,arg10,arg11,arg12,(char const *)arg13,arg14,arg15,(apr_array_header_t const *)arg16,arg17,arg18);
16288 
16289 
16290 
16291   }
16292   {
16293     if (result) {
16294       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16295       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16296       svn_swig_rb_handle_svn_error(result);
16297     }
16298     vresult = Qnil;
16299   }
16300   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16301   {
16302     VALUE target;
16303     target = _global_vresult_address == &vresult ? self : vresult;
16304     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
16305     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16306     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16307   }
16308   return vresult;
16309 fail:
16310   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16311   {
16312     VALUE target;
16313     target = _global_vresult_address == &vresult ? self : vresult;
16314     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
16315     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16316     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16317   }
16318   return Qnil;
16319 }
16320 
16321 
16322 SWIGINTERN VALUE
_wrap_svn_client_diff_peg4(int argc,VALUE * argv,VALUE self)16323 _wrap_svn_client_diff_peg4(int argc, VALUE *argv, VALUE self) {
16324   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
16325   char *arg2 = (char *) 0 ;
16326   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
16327   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
16328   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
16329   char *arg6 = (char *) 0 ;
16330   svn_depth_t arg7 ;
16331   svn_boolean_t arg8 ;
16332   svn_boolean_t arg9 ;
16333   svn_boolean_t arg10 ;
16334   char *arg11 = (char *) 0 ;
16335   apr_file_t *arg12 = (apr_file_t *) 0 ;
16336   apr_file_t *arg13 = (apr_file_t *) 0 ;
16337   apr_array_header_t *arg14 = (apr_array_header_t *) 0 ;
16338   svn_client_ctx_t *arg15 = (svn_client_ctx_t *) 0 ;
16339   apr_pool_t *arg16 = (apr_pool_t *) 0 ;
16340   VALUE _global_svn_swig_rb_pool ;
16341   apr_pool_t *_global_pool ;
16342   int res2 ;
16343   char *buf2 = 0 ;
16344   int alloc2 = 0 ;
16345   svn_opt_revision_t rev3 ;
16346   svn_opt_revision_t rev4 ;
16347   svn_opt_revision_t rev5 ;
16348   void *argp15 = 0 ;
16349   int res15 = 0 ;
16350   svn_error_t *result = 0 ;
16351   VALUE vresult = Qnil;
16352 
16353   {
16354     int adjusted_argc = argc;
16355     VALUE *adjusted_argv = argv;
16356 
16357     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
16358       &adjusted_argv);
16359     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
16360       &_global_svn_swig_rb_pool, &arg16);
16361     _global_pool = arg16;
16362     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
16363   }
16364   if ((argc < 14) || (argc > 16)) {
16365     rb_raise(rb_eArgError, "wrong # of arguments(%d for 14)",argc); SWIG_fail;
16366   }
16367   {
16368     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
16369   }
16370   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
16371   if (!SWIG_IsOK(res2)) {
16372     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_diff_peg4", 2, argv[1] ));
16373   }
16374   arg2 = (char *)(buf2);
16375   {
16376     arg3 = &rev3;
16377     svn_swig_rb_set_revision(&rev3, argv[2]);
16378   }
16379   {
16380     arg4 = &rev4;
16381     svn_swig_rb_set_revision(&rev4, argv[3]);
16382   }
16383   {
16384     arg5 = &rev5;
16385     svn_swig_rb_set_revision(&rev5, argv[4]);
16386   }
16387   {
16388     if (NIL_P(argv[5])) {
16389       arg6 = NULL;
16390     } else {
16391       arg6 = StringValuePtr(argv[5]);
16392     }
16393   }
16394   {
16395     arg7 = svn_swig_rb_to_depth(argv[6]);
16396   }
16397   arg8 = RTEST(argv[7]);
16398   arg9 = RTEST(argv[8]);
16399   arg10 = RTEST(argv[9]);
16400   {
16401     arg11 = NULL;
16402 
16403     if (NIL_P(argv[10])) {
16404 
16405     } else if (TYPE(argv[10]) == T_FIXNUM) {
16406       arg11 = (char *)NUM2INT(argv[10]);
16407       if (!(arg11 == APR_LOCALE_CHARSET || arg11 == APR_DEFAULT_CHARSET)) {
16408         arg11 = NULL;
16409       }
16410     } else {
16411       arg11 = StringValuePtr(argv[10]);
16412     }
16413 
16414     if (!arg11) {
16415       arg11 = (char *)APR_LOCALE_CHARSET;
16416     }
16417   }
16418   {
16419     arg12 = svn_swig_rb_make_file(argv[11], _global_pool);
16420   }
16421   {
16422     arg13 = svn_swig_rb_make_file(argv[12], _global_pool);
16423   }
16424   {
16425     arg14 = (NIL_P(argv[13])) ? NULL :
16426     svn_swig_rb_strings_to_apr_array(argv[13], _global_pool);
16427   }
16428   if (argc > 14) {
16429     res15 = SWIG_ConvertPtr(argv[14], &argp15,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
16430     if (!SWIG_IsOK(res15)) {
16431       SWIG_exception_fail(SWIG_ArgError(res15), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_diff_peg4", 15, argv[14] ));
16432     }
16433     arg15 = (svn_client_ctx_t *)(argp15);
16434   }
16435   if (argc > 15) {
16436 
16437   }
16438   {
16439     if (!arg3) {
16440       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
16441     }
16442   }
16443   {
16444     result = (svn_error_t *)svn_client_diff_peg4((apr_array_header_t const *)arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_opt_revision_t const *)arg5,(char const *)arg6,arg7,arg8,arg9,arg10,(char const *)arg11,arg12,arg13,(apr_array_header_t const *)arg14,arg15,arg16);
16445 
16446 
16447 
16448   }
16449   {
16450     if (result) {
16451       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16452       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16453       svn_swig_rb_handle_svn_error(result);
16454     }
16455     vresult = Qnil;
16456   }
16457   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16458   {
16459     VALUE target;
16460     target = _global_vresult_address == &vresult ? self : vresult;
16461     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
16462     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16463     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16464   }
16465   return vresult;
16466 fail:
16467   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16468   {
16469     VALUE target;
16470     target = _global_vresult_address == &vresult ? self : vresult;
16471     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
16472     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16473     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16474   }
16475   return Qnil;
16476 }
16477 
16478 
16479 SWIGINTERN VALUE
_wrap_svn_client_diff_peg3(int argc,VALUE * argv,VALUE self)16480 _wrap_svn_client_diff_peg3(int argc, VALUE *argv, VALUE self) {
16481   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
16482   char *arg2 = (char *) 0 ;
16483   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
16484   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
16485   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
16486   svn_boolean_t arg6 ;
16487   svn_boolean_t arg7 ;
16488   svn_boolean_t arg8 ;
16489   svn_boolean_t arg9 ;
16490   char *arg10 = (char *) 0 ;
16491   apr_file_t *arg11 = (apr_file_t *) 0 ;
16492   apr_file_t *arg12 = (apr_file_t *) 0 ;
16493   svn_client_ctx_t *arg13 = (svn_client_ctx_t *) 0 ;
16494   apr_pool_t *arg14 = (apr_pool_t *) 0 ;
16495   VALUE _global_svn_swig_rb_pool ;
16496   apr_pool_t *_global_pool ;
16497   int res2 ;
16498   char *buf2 = 0 ;
16499   int alloc2 = 0 ;
16500   svn_opt_revision_t rev3 ;
16501   svn_opt_revision_t rev4 ;
16502   svn_opt_revision_t rev5 ;
16503   void *argp13 = 0 ;
16504   int res13 = 0 ;
16505   svn_error_t *result = 0 ;
16506   VALUE vresult = Qnil;
16507 
16508   {
16509     int adjusted_argc = argc;
16510     VALUE *adjusted_argv = argv;
16511 
16512     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
16513       &adjusted_argv);
16514     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
16515       &_global_svn_swig_rb_pool, &arg14);
16516     _global_pool = arg14;
16517     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
16518   }
16519   if ((argc < 12) || (argc > 14)) {
16520     rb_raise(rb_eArgError, "wrong # of arguments(%d for 12)",argc); SWIG_fail;
16521   }
16522   {
16523     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
16524   }
16525   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
16526   if (!SWIG_IsOK(res2)) {
16527     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_diff_peg3", 2, argv[1] ));
16528   }
16529   arg2 = (char *)(buf2);
16530   {
16531     arg3 = &rev3;
16532     svn_swig_rb_set_revision(&rev3, argv[2]);
16533   }
16534   {
16535     arg4 = &rev4;
16536     svn_swig_rb_set_revision(&rev4, argv[3]);
16537   }
16538   {
16539     arg5 = &rev5;
16540     svn_swig_rb_set_revision(&rev5, argv[4]);
16541   }
16542   arg6 = RTEST(argv[5]);
16543   arg7 = RTEST(argv[6]);
16544   arg8 = RTEST(argv[7]);
16545   arg9 = RTEST(argv[8]);
16546   {
16547     arg10 = NULL;
16548 
16549     if (NIL_P(argv[9])) {
16550 
16551     } else if (TYPE(argv[9]) == T_FIXNUM) {
16552       arg10 = (char *)NUM2INT(argv[9]);
16553       if (!(arg10 == APR_LOCALE_CHARSET || arg10 == APR_DEFAULT_CHARSET)) {
16554         arg10 = NULL;
16555       }
16556     } else {
16557       arg10 = StringValuePtr(argv[9]);
16558     }
16559 
16560     if (!arg10) {
16561       arg10 = (char *)APR_LOCALE_CHARSET;
16562     }
16563   }
16564   {
16565     arg11 = svn_swig_rb_make_file(argv[10], _global_pool);
16566   }
16567   {
16568     arg12 = svn_swig_rb_make_file(argv[11], _global_pool);
16569   }
16570   if (argc > 12) {
16571     res13 = SWIG_ConvertPtr(argv[12], &argp13,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
16572     if (!SWIG_IsOK(res13)) {
16573       SWIG_exception_fail(SWIG_ArgError(res13), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_diff_peg3", 13, argv[12] ));
16574     }
16575     arg13 = (svn_client_ctx_t *)(argp13);
16576   }
16577   if (argc > 13) {
16578 
16579   }
16580   {
16581     if (!arg3) {
16582       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
16583     }
16584   }
16585   {
16586     result = (svn_error_t *)svn_client_diff_peg3((apr_array_header_t const *)arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_opt_revision_t const *)arg5,arg6,arg7,arg8,arg9,(char const *)arg10,arg11,arg12,arg13,arg14);
16587 
16588 
16589 
16590   }
16591   {
16592     if (result) {
16593       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16594       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16595       svn_swig_rb_handle_svn_error(result);
16596     }
16597     vresult = Qnil;
16598   }
16599   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16600   {
16601     VALUE target;
16602     target = _global_vresult_address == &vresult ? self : vresult;
16603     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
16604     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16605     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16606   }
16607   return vresult;
16608 fail:
16609   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16610   {
16611     VALUE target;
16612     target = _global_vresult_address == &vresult ? self : vresult;
16613     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
16614     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16615     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16616   }
16617   return Qnil;
16618 }
16619 
16620 
16621 SWIGINTERN VALUE
_wrap_svn_client_diff_peg2(int argc,VALUE * argv,VALUE self)16622 _wrap_svn_client_diff_peg2(int argc, VALUE *argv, VALUE self) {
16623   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
16624   char *arg2 = (char *) 0 ;
16625   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
16626   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
16627   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
16628   svn_boolean_t arg6 ;
16629   svn_boolean_t arg7 ;
16630   svn_boolean_t arg8 ;
16631   svn_boolean_t arg9 ;
16632   apr_file_t *arg10 = (apr_file_t *) 0 ;
16633   apr_file_t *arg11 = (apr_file_t *) 0 ;
16634   svn_client_ctx_t *arg12 = (svn_client_ctx_t *) 0 ;
16635   apr_pool_t *arg13 = (apr_pool_t *) 0 ;
16636   VALUE _global_svn_swig_rb_pool ;
16637   apr_pool_t *_global_pool ;
16638   int res2 ;
16639   char *buf2 = 0 ;
16640   int alloc2 = 0 ;
16641   svn_opt_revision_t rev3 ;
16642   svn_opt_revision_t rev4 ;
16643   svn_opt_revision_t rev5 ;
16644   void *argp12 = 0 ;
16645   int res12 = 0 ;
16646   svn_error_t *result = 0 ;
16647   VALUE vresult = Qnil;
16648 
16649   {
16650     int adjusted_argc = argc;
16651     VALUE *adjusted_argv = argv;
16652 
16653     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
16654       &adjusted_argv);
16655     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
16656       &_global_svn_swig_rb_pool, &arg13);
16657     _global_pool = arg13;
16658     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
16659   }
16660   if ((argc < 11) || (argc > 13)) {
16661     rb_raise(rb_eArgError, "wrong # of arguments(%d for 11)",argc); SWIG_fail;
16662   }
16663   {
16664     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
16665   }
16666   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
16667   if (!SWIG_IsOK(res2)) {
16668     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_diff_peg2", 2, argv[1] ));
16669   }
16670   arg2 = (char *)(buf2);
16671   {
16672     arg3 = &rev3;
16673     svn_swig_rb_set_revision(&rev3, argv[2]);
16674   }
16675   {
16676     arg4 = &rev4;
16677     svn_swig_rb_set_revision(&rev4, argv[3]);
16678   }
16679   {
16680     arg5 = &rev5;
16681     svn_swig_rb_set_revision(&rev5, argv[4]);
16682   }
16683   arg6 = RTEST(argv[5]);
16684   arg7 = RTEST(argv[6]);
16685   arg8 = RTEST(argv[7]);
16686   arg9 = RTEST(argv[8]);
16687   {
16688     arg10 = svn_swig_rb_make_file(argv[9], _global_pool);
16689   }
16690   {
16691     arg11 = svn_swig_rb_make_file(argv[10], _global_pool);
16692   }
16693   if (argc > 11) {
16694     res12 = SWIG_ConvertPtr(argv[11], &argp12,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
16695     if (!SWIG_IsOK(res12)) {
16696       SWIG_exception_fail(SWIG_ArgError(res12), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_diff_peg2", 12, argv[11] ));
16697     }
16698     arg12 = (svn_client_ctx_t *)(argp12);
16699   }
16700   if (argc > 12) {
16701 
16702   }
16703   {
16704     if (!arg3) {
16705       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
16706     }
16707   }
16708   {
16709     result = (svn_error_t *)svn_client_diff_peg2((apr_array_header_t const *)arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_opt_revision_t const *)arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
16710 
16711 
16712 
16713   }
16714   {
16715     if (result) {
16716       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16717       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16718       svn_swig_rb_handle_svn_error(result);
16719     }
16720     vresult = Qnil;
16721   }
16722   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16723   {
16724     VALUE target;
16725     target = _global_vresult_address == &vresult ? self : vresult;
16726     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
16727     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16728     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16729   }
16730   return vresult;
16731 fail:
16732   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16733   {
16734     VALUE target;
16735     target = _global_vresult_address == &vresult ? self : vresult;
16736     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
16737     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16738     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16739   }
16740   return Qnil;
16741 }
16742 
16743 
16744 SWIGINTERN VALUE
_wrap_svn_client_diff_peg(int argc,VALUE * argv,VALUE self)16745 _wrap_svn_client_diff_peg(int argc, VALUE *argv, VALUE self) {
16746   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
16747   char *arg2 = (char *) 0 ;
16748   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
16749   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
16750   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
16751   svn_boolean_t arg6 ;
16752   svn_boolean_t arg7 ;
16753   svn_boolean_t arg8 ;
16754   apr_file_t *arg9 = (apr_file_t *) 0 ;
16755   apr_file_t *arg10 = (apr_file_t *) 0 ;
16756   svn_client_ctx_t *arg11 = (svn_client_ctx_t *) 0 ;
16757   apr_pool_t *arg12 = (apr_pool_t *) 0 ;
16758   VALUE _global_svn_swig_rb_pool ;
16759   apr_pool_t *_global_pool ;
16760   int res2 ;
16761   char *buf2 = 0 ;
16762   int alloc2 = 0 ;
16763   svn_opt_revision_t rev3 ;
16764   svn_opt_revision_t rev4 ;
16765   svn_opt_revision_t rev5 ;
16766   void *argp11 = 0 ;
16767   int res11 = 0 ;
16768   svn_error_t *result = 0 ;
16769   VALUE vresult = Qnil;
16770 
16771   {
16772     int adjusted_argc = argc;
16773     VALUE *adjusted_argv = argv;
16774 
16775     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
16776       &adjusted_argv);
16777     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
16778       &_global_svn_swig_rb_pool, &arg12);
16779     _global_pool = arg12;
16780     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
16781   }
16782   if ((argc < 10) || (argc > 12)) {
16783     rb_raise(rb_eArgError, "wrong # of arguments(%d for 10)",argc); SWIG_fail;
16784   }
16785   {
16786     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
16787   }
16788   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
16789   if (!SWIG_IsOK(res2)) {
16790     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_diff_peg", 2, argv[1] ));
16791   }
16792   arg2 = (char *)(buf2);
16793   {
16794     arg3 = &rev3;
16795     svn_swig_rb_set_revision(&rev3, argv[2]);
16796   }
16797   {
16798     arg4 = &rev4;
16799     svn_swig_rb_set_revision(&rev4, argv[3]);
16800   }
16801   {
16802     arg5 = &rev5;
16803     svn_swig_rb_set_revision(&rev5, argv[4]);
16804   }
16805   arg6 = RTEST(argv[5]);
16806   arg7 = RTEST(argv[6]);
16807   arg8 = RTEST(argv[7]);
16808   {
16809     arg9 = svn_swig_rb_make_file(argv[8], _global_pool);
16810   }
16811   {
16812     arg10 = svn_swig_rb_make_file(argv[9], _global_pool);
16813   }
16814   if (argc > 10) {
16815     res11 = SWIG_ConvertPtr(argv[10], &argp11,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
16816     if (!SWIG_IsOK(res11)) {
16817       SWIG_exception_fail(SWIG_ArgError(res11), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_diff_peg", 11, argv[10] ));
16818     }
16819     arg11 = (svn_client_ctx_t *)(argp11);
16820   }
16821   if (argc > 11) {
16822 
16823   }
16824   {
16825     if (!arg3) {
16826       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
16827     }
16828   }
16829   {
16830     result = (svn_error_t *)svn_client_diff_peg((apr_array_header_t const *)arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_opt_revision_t const *)arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
16831 
16832 
16833 
16834   }
16835   {
16836     if (result) {
16837       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16838       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16839       svn_swig_rb_handle_svn_error(result);
16840     }
16841     vresult = Qnil;
16842   }
16843   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16844   {
16845     VALUE target;
16846     target = _global_vresult_address == &vresult ? self : vresult;
16847     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
16848     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16849     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16850   }
16851   return vresult;
16852 fail:
16853   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16854   {
16855     VALUE target;
16856     target = _global_vresult_address == &vresult ? self : vresult;
16857     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
16858     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16859     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16860   }
16861   return Qnil;
16862 }
16863 
16864 
16865 SWIGINTERN VALUE
_wrap_svn_client_diff_summarize2(int argc,VALUE * argv,VALUE self)16866 _wrap_svn_client_diff_summarize2(int argc, VALUE *argv, VALUE self) {
16867   char *arg1 = (char *) 0 ;
16868   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
16869   char *arg3 = (char *) 0 ;
16870   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
16871   svn_depth_t arg5 ;
16872   svn_boolean_t arg6 ;
16873   apr_array_header_t *arg7 = (apr_array_header_t *) 0 ;
16874   svn_client_diff_summarize_func_t arg8 = (svn_client_diff_summarize_func_t) 0 ;
16875   void *arg9 = (void *) 0 ;
16876   svn_client_ctx_t *arg10 = (svn_client_ctx_t *) 0 ;
16877   apr_pool_t *arg11 = (apr_pool_t *) 0 ;
16878   VALUE _global_svn_swig_rb_pool ;
16879   apr_pool_t *_global_pool ;
16880   int res1 ;
16881   char *buf1 = 0 ;
16882   int alloc1 = 0 ;
16883   svn_opt_revision_t rev2 ;
16884   int res3 ;
16885   char *buf3 = 0 ;
16886   int alloc3 = 0 ;
16887   svn_opt_revision_t rev4 ;
16888   void *argp10 = 0 ;
16889   int res10 = 0 ;
16890   svn_error_t *result = 0 ;
16891   VALUE vresult = Qnil;
16892 
16893   {
16894     int adjusted_argc = argc;
16895     VALUE *adjusted_argv = argv;
16896 
16897     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
16898       &adjusted_argv);
16899     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
16900       &_global_svn_swig_rb_pool, &arg11);
16901     _global_pool = arg11;
16902     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
16903   }
16904   if ((argc < 8) || (argc > 10)) {
16905     rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
16906   }
16907   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
16908   if (!SWIG_IsOK(res1)) {
16909     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_diff_summarize2", 1, argv[0] ));
16910   }
16911   arg1 = (char *)(buf1);
16912   {
16913     arg2 = &rev2;
16914     svn_swig_rb_set_revision(&rev2, argv[1]);
16915   }
16916   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
16917   if (!SWIG_IsOK(res3)) {
16918     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_diff_summarize2", 3, argv[2] ));
16919   }
16920   arg3 = (char *)(buf3);
16921   {
16922     arg4 = &rev4;
16923     svn_swig_rb_set_revision(&rev4, argv[3]);
16924   }
16925   {
16926     arg5 = svn_swig_rb_to_depth(argv[4]);
16927   }
16928   arg6 = RTEST(argv[5]);
16929   {
16930     arg7 = (NIL_P(argv[6])) ? NULL :
16931     svn_swig_rb_strings_to_apr_array(argv[6], _global_pool);
16932   }
16933   {
16934     arg8 = (svn_client_diff_summarize_func_t) svn_swig_rb_client_diff_summarize_func;
16935     arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
16936   }
16937   if (argc > 8) {
16938     res10 = SWIG_ConvertPtr(argv[8], &argp10,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
16939     if (!SWIG_IsOK(res10)) {
16940       SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_diff_summarize2", 10, argv[8] ));
16941     }
16942     arg10 = (svn_client_ctx_t *)(argp10);
16943   }
16944   if (argc > 9) {
16945 
16946   }
16947   {
16948     result = (svn_error_t *)svn_client_diff_summarize2((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,arg5,arg6,(apr_array_header_t const *)arg7,arg8,arg9,arg10,arg11);
16949 
16950 
16951 
16952   }
16953   {
16954     if (result) {
16955       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16956       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16957       svn_swig_rb_handle_svn_error(result);
16958     }
16959     vresult = Qnil;
16960   }
16961   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
16962   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
16963   {
16964     VALUE target;
16965     target = _global_vresult_address == &vresult ? self : vresult;
16966     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
16967     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16968     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16969   }
16970   return vresult;
16971 fail:
16972   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
16973   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
16974   {
16975     VALUE target;
16976     target = _global_vresult_address == &vresult ? self : vresult;
16977     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
16978     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16979     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16980   }
16981   return Qnil;
16982 }
16983 
16984 
16985 SWIGINTERN VALUE
_wrap_svn_client_diff_summarize(int argc,VALUE * argv,VALUE self)16986 _wrap_svn_client_diff_summarize(int argc, VALUE *argv, VALUE self) {
16987   char *arg1 = (char *) 0 ;
16988   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
16989   char *arg3 = (char *) 0 ;
16990   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
16991   svn_boolean_t arg5 ;
16992   svn_boolean_t arg6 ;
16993   svn_client_diff_summarize_func_t arg7 = (svn_client_diff_summarize_func_t) 0 ;
16994   void *arg8 = (void *) 0 ;
16995   svn_client_ctx_t *arg9 = (svn_client_ctx_t *) 0 ;
16996   apr_pool_t *arg10 = (apr_pool_t *) 0 ;
16997   VALUE _global_svn_swig_rb_pool ;
16998   apr_pool_t *_global_pool ;
16999   int res1 ;
17000   char *buf1 = 0 ;
17001   int alloc1 = 0 ;
17002   svn_opt_revision_t rev2 ;
17003   int res3 ;
17004   char *buf3 = 0 ;
17005   int alloc3 = 0 ;
17006   svn_opt_revision_t rev4 ;
17007   void *argp9 = 0 ;
17008   int res9 = 0 ;
17009   svn_error_t *result = 0 ;
17010   VALUE vresult = Qnil;
17011 
17012   {
17013     int adjusted_argc = argc;
17014     VALUE *adjusted_argv = argv;
17015 
17016     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
17017       &adjusted_argv);
17018     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
17019       &_global_svn_swig_rb_pool, &arg10);
17020     _global_pool = arg10;
17021     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
17022   }
17023   if ((argc < 7) || (argc > 9)) {
17024     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
17025   }
17026   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
17027   if (!SWIG_IsOK(res1)) {
17028     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_diff_summarize", 1, argv[0] ));
17029   }
17030   arg1 = (char *)(buf1);
17031   {
17032     arg2 = &rev2;
17033     svn_swig_rb_set_revision(&rev2, argv[1]);
17034   }
17035   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
17036   if (!SWIG_IsOK(res3)) {
17037     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_diff_summarize", 3, argv[2] ));
17038   }
17039   arg3 = (char *)(buf3);
17040   {
17041     arg4 = &rev4;
17042     svn_swig_rb_set_revision(&rev4, argv[3]);
17043   }
17044   arg5 = RTEST(argv[4]);
17045   arg6 = RTEST(argv[5]);
17046   {
17047     arg7 = (svn_client_diff_summarize_func_t) svn_swig_rb_client_diff_summarize_func;
17048     arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
17049   }
17050   if (argc > 7) {
17051     res9 = SWIG_ConvertPtr(argv[7], &argp9,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
17052     if (!SWIG_IsOK(res9)) {
17053       SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_diff_summarize", 9, argv[7] ));
17054     }
17055     arg9 = (svn_client_ctx_t *)(argp9);
17056   }
17057   if (argc > 8) {
17058 
17059   }
17060   {
17061     result = (svn_error_t *)svn_client_diff_summarize((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,arg5,arg6,arg7,arg8,arg9,arg10);
17062 
17063 
17064 
17065   }
17066   {
17067     if (result) {
17068       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
17069       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
17070       svn_swig_rb_handle_svn_error(result);
17071     }
17072     vresult = Qnil;
17073   }
17074   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
17075   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
17076   {
17077     VALUE target;
17078     target = _global_vresult_address == &vresult ? self : vresult;
17079     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
17080     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
17081     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
17082   }
17083   return vresult;
17084 fail:
17085   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
17086   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
17087   {
17088     VALUE target;
17089     target = _global_vresult_address == &vresult ? self : vresult;
17090     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
17091     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
17092     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
17093   }
17094   return Qnil;
17095 }
17096 
17097 
17098 SWIGINTERN VALUE
_wrap_svn_client_diff_summarize_peg2(int argc,VALUE * argv,VALUE self)17099 _wrap_svn_client_diff_summarize_peg2(int argc, VALUE *argv, VALUE self) {
17100   char *arg1 = (char *) 0 ;
17101   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
17102   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
17103   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
17104   svn_depth_t arg5 ;
17105   svn_boolean_t arg6 ;
17106   apr_array_header_t *arg7 = (apr_array_header_t *) 0 ;
17107   svn_client_diff_summarize_func_t arg8 = (svn_client_diff_summarize_func_t) 0 ;
17108   void *arg9 = (void *) 0 ;
17109   svn_client_ctx_t *arg10 = (svn_client_ctx_t *) 0 ;
17110   apr_pool_t *arg11 = (apr_pool_t *) 0 ;
17111   VALUE _global_svn_swig_rb_pool ;
17112   apr_pool_t *_global_pool ;
17113   int res1 ;
17114   char *buf1 = 0 ;
17115   int alloc1 = 0 ;
17116   svn_opt_revision_t rev2 ;
17117   svn_opt_revision_t rev3 ;
17118   svn_opt_revision_t rev4 ;
17119   void *argp10 = 0 ;
17120   int res10 = 0 ;
17121   svn_error_t *result = 0 ;
17122   VALUE vresult = Qnil;
17123 
17124   {
17125     int adjusted_argc = argc;
17126     VALUE *adjusted_argv = argv;
17127 
17128     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
17129       &adjusted_argv);
17130     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
17131       &_global_svn_swig_rb_pool, &arg11);
17132     _global_pool = arg11;
17133     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
17134   }
17135   if ((argc < 8) || (argc > 10)) {
17136     rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
17137   }
17138   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
17139   if (!SWIG_IsOK(res1)) {
17140     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_diff_summarize_peg2", 1, argv[0] ));
17141   }
17142   arg1 = (char *)(buf1);
17143   {
17144     arg2 = &rev2;
17145     svn_swig_rb_set_revision(&rev2, argv[1]);
17146   }
17147   {
17148     arg3 = &rev3;
17149     svn_swig_rb_set_revision(&rev3, argv[2]);
17150   }
17151   {
17152     arg4 = &rev4;
17153     svn_swig_rb_set_revision(&rev4, argv[3]);
17154   }
17155   {
17156     arg5 = svn_swig_rb_to_depth(argv[4]);
17157   }
17158   arg6 = RTEST(argv[5]);
17159   {
17160     arg7 = (NIL_P(argv[6])) ? NULL :
17161     svn_swig_rb_strings_to_apr_array(argv[6], _global_pool);
17162   }
17163   {
17164     arg8 = (svn_client_diff_summarize_func_t) svn_swig_rb_client_diff_summarize_func;
17165     arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
17166   }
17167   if (argc > 8) {
17168     res10 = SWIG_ConvertPtr(argv[8], &argp10,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
17169     if (!SWIG_IsOK(res10)) {
17170       SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_diff_summarize_peg2", 10, argv[8] ));
17171     }
17172     arg10 = (svn_client_ctx_t *)(argp10);
17173   }
17174   if (argc > 9) {
17175 
17176   }
17177   {
17178     if (!arg2) {
17179       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
17180     }
17181   }
17182   {
17183     result = (svn_error_t *)svn_client_diff_summarize_peg2((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,(struct svn_opt_revision_t const *)arg4,arg5,arg6,(apr_array_header_t const *)arg7,arg8,arg9,arg10,arg11);
17184 
17185 
17186 
17187   }
17188   {
17189     if (result) {
17190       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
17191       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
17192       svn_swig_rb_handle_svn_error(result);
17193     }
17194     vresult = Qnil;
17195   }
17196   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
17197   {
17198     VALUE target;
17199     target = _global_vresult_address == &vresult ? self : vresult;
17200     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
17201     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
17202     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
17203   }
17204   return vresult;
17205 fail:
17206   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
17207   {
17208     VALUE target;
17209     target = _global_vresult_address == &vresult ? self : vresult;
17210     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
17211     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
17212     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
17213   }
17214   return Qnil;
17215 }
17216 
17217 
17218 SWIGINTERN VALUE
_wrap_svn_client_diff_summarize_peg(int argc,VALUE * argv,VALUE self)17219 _wrap_svn_client_diff_summarize_peg(int argc, VALUE *argv, VALUE self) {
17220   char *arg1 = (char *) 0 ;
17221   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
17222   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
17223   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
17224   svn_boolean_t arg5 ;
17225   svn_boolean_t arg6 ;
17226   svn_client_diff_summarize_func_t arg7 = (svn_client_diff_summarize_func_t) 0 ;
17227   void *arg8 = (void *) 0 ;
17228   svn_client_ctx_t *arg9 = (svn_client_ctx_t *) 0 ;
17229   apr_pool_t *arg10 = (apr_pool_t *) 0 ;
17230   VALUE _global_svn_swig_rb_pool ;
17231   apr_pool_t *_global_pool ;
17232   int res1 ;
17233   char *buf1 = 0 ;
17234   int alloc1 = 0 ;
17235   svn_opt_revision_t rev2 ;
17236   svn_opt_revision_t rev3 ;
17237   svn_opt_revision_t rev4 ;
17238   void *argp9 = 0 ;
17239   int res9 = 0 ;
17240   svn_error_t *result = 0 ;
17241   VALUE vresult = Qnil;
17242 
17243   {
17244     int adjusted_argc = argc;
17245     VALUE *adjusted_argv = argv;
17246 
17247     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
17248       &adjusted_argv);
17249     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
17250       &_global_svn_swig_rb_pool, &arg10);
17251     _global_pool = arg10;
17252     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
17253   }
17254   if ((argc < 7) || (argc > 9)) {
17255     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
17256   }
17257   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
17258   if (!SWIG_IsOK(res1)) {
17259     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_diff_summarize_peg", 1, argv[0] ));
17260   }
17261   arg1 = (char *)(buf1);
17262   {
17263     arg2 = &rev2;
17264     svn_swig_rb_set_revision(&rev2, argv[1]);
17265   }
17266   {
17267     arg3 = &rev3;
17268     svn_swig_rb_set_revision(&rev3, argv[2]);
17269   }
17270   {
17271     arg4 = &rev4;
17272     svn_swig_rb_set_revision(&rev4, argv[3]);
17273   }
17274   arg5 = RTEST(argv[4]);
17275   arg6 = RTEST(argv[5]);
17276   {
17277     arg7 = (svn_client_diff_summarize_func_t) svn_swig_rb_client_diff_summarize_func;
17278     arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
17279   }
17280   if (argc > 7) {
17281     res9 = SWIG_ConvertPtr(argv[7], &argp9,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
17282     if (!SWIG_IsOK(res9)) {
17283       SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_diff_summarize_peg", 9, argv[7] ));
17284     }
17285     arg9 = (svn_client_ctx_t *)(argp9);
17286   }
17287   if (argc > 8) {
17288 
17289   }
17290   {
17291     if (!arg2) {
17292       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
17293     }
17294   }
17295   {
17296     result = (svn_error_t *)svn_client_diff_summarize_peg((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,(struct svn_opt_revision_t const *)arg4,arg5,arg6,arg7,arg8,arg9,arg10);
17297 
17298 
17299 
17300   }
17301   {
17302     if (result) {
17303       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
17304       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
17305       svn_swig_rb_handle_svn_error(result);
17306     }
17307     vresult = Qnil;
17308   }
17309   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
17310   {
17311     VALUE target;
17312     target = _global_vresult_address == &vresult ? self : vresult;
17313     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
17314     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
17315     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
17316   }
17317   return vresult;
17318 fail:
17319   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
17320   {
17321     VALUE target;
17322     target = _global_vresult_address == &vresult ? self : vresult;
17323     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
17324     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
17325     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
17326   }
17327   return Qnil;
17328 }
17329 
17330 
17331 SWIGINTERN VALUE
_wrap_svn_client_get_merging_summary(int argc,VALUE * argv,VALUE self)17332 _wrap_svn_client_get_merging_summary(int argc, VALUE *argv, VALUE self) {
17333   svn_boolean_t *arg1 = (svn_boolean_t *) 0 ;
17334   char **arg2 = (char **) 0 ;
17335   svn_revnum_t *arg3 = (svn_revnum_t *) 0 ;
17336   char **arg4 = (char **) 0 ;
17337   svn_revnum_t *arg5 = (svn_revnum_t *) 0 ;
17338   char **arg6 = (char **) 0 ;
17339   svn_revnum_t *arg7 = (svn_revnum_t *) 0 ;
17340   char **arg8 = (char **) 0 ;
17341   svn_revnum_t *arg9 = (svn_revnum_t *) 0 ;
17342   char **arg10 = (char **) 0 ;
17343   char *arg11 = (char *) 0 ;
17344   svn_opt_revision_t *arg12 = (svn_opt_revision_t *) 0 ;
17345   char *arg13 = (char *) 0 ;
17346   svn_opt_revision_t *arg14 = (svn_opt_revision_t *) 0 ;
17347   svn_client_ctx_t *arg15 = (svn_client_ctx_t *) 0 ;
17348   apr_pool_t *arg16 = (apr_pool_t *) 0 ;
17349   apr_pool_t *arg17 = (apr_pool_t *) 0 ;
17350   VALUE _global_svn_swig_rb_pool ;
17351   apr_pool_t *_global_pool ;
17352   svn_boolean_t temp1 ;
17353   char *temp2 ;
17354   svn_revnum_t temp3 ;
17355   int res3 = SWIG_TMPOBJ ;
17356   char *temp4 ;
17357   svn_revnum_t temp5 ;
17358   int res5 = SWIG_TMPOBJ ;
17359   char *temp6 ;
17360   svn_revnum_t temp7 ;
17361   int res7 = SWIG_TMPOBJ ;
17362   char *temp8 ;
17363   svn_revnum_t temp9 ;
17364   int res9 = SWIG_TMPOBJ ;
17365   char *temp10 ;
17366   int res11 ;
17367   char *buf11 = 0 ;
17368   int alloc11 = 0 ;
17369   svn_opt_revision_t rev12 ;
17370   int res13 ;
17371   char *buf13 = 0 ;
17372   int alloc13 = 0 ;
17373   svn_opt_revision_t rev14 ;
17374   void *argp15 = 0 ;
17375   int res15 = 0 ;
17376   svn_error_t *result = 0 ;
17377   VALUE vresult = Qnil;
17378 
17379   {
17380     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg16);
17381     _global_pool = arg16;
17382     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
17383   }
17384   {
17385     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg17);
17386     _global_pool = arg17;
17387     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
17388   }
17389   arg1 = &temp1;
17390   arg2 = &temp2;
17391   arg3 = &temp3;
17392   arg4 = &temp4;
17393   arg5 = &temp5;
17394   arg6 = &temp6;
17395   arg7 = &temp7;
17396   arg8 = &temp8;
17397   arg9 = &temp9;
17398   arg10 = &temp10;
17399   if ((argc < 5) || (argc > 7)) {
17400     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
17401   }
17402   res11 = SWIG_AsCharPtrAndSize(argv[0], &buf11, NULL, &alloc11);
17403   if (!SWIG_IsOK(res11)) {
17404     SWIG_exception_fail(SWIG_ArgError(res11), Ruby_Format_TypeError( "", "char const *","svn_client_get_merging_summary", 11, argv[0] ));
17405   }
17406   arg11 = (char *)(buf11);
17407   {
17408     arg12 = &rev12;
17409     svn_swig_rb_set_revision(&rev12, argv[1]);
17410   }
17411   res13 = SWIG_AsCharPtrAndSize(argv[2], &buf13, NULL, &alloc13);
17412   if (!SWIG_IsOK(res13)) {
17413     SWIG_exception_fail(SWIG_ArgError(res13), Ruby_Format_TypeError( "", "char const *","svn_client_get_merging_summary", 13, argv[2] ));
17414   }
17415   arg13 = (char *)(buf13);
17416   {
17417     arg14 = &rev14;
17418     svn_swig_rb_set_revision(&rev14, argv[3]);
17419   }
17420   res15 = SWIG_ConvertPtr(argv[4], &argp15,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
17421   if (!SWIG_IsOK(res15)) {
17422     SWIG_exception_fail(SWIG_ArgError(res15), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_get_merging_summary", 15, argv[4] ));
17423   }
17424   arg15 = (svn_client_ctx_t *)(argp15);
17425   if (argc > 5) {
17426 
17427   }
17428   if (argc > 6) {
17429 
17430   }
17431   {
17432     result = (svn_error_t *)svn_client_get_merging_summary(arg1,(char const **)arg2,arg3,(char const **)arg4,arg5,(char const **)arg6,arg7,(char const **)arg8,arg9,(char const **)arg10,(char const *)arg11,(struct svn_opt_revision_t const *)arg12,(char const *)arg13,(struct svn_opt_revision_t const *)arg14,arg15,arg16,arg17);
17433 
17434 
17435 
17436   }
17437   {
17438     if (result) {
17439       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
17440       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
17441       svn_swig_rb_handle_svn_error(result);
17442     }
17443     vresult = Qnil;
17444   }
17445   {
17446     vresult = SWIG_Ruby_AppendOutput(vresult, *arg1 ? Qtrue : Qfalse);
17447   }
17448   {
17449     if (*arg2) {
17450       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg2));
17451     } else {
17452       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
17453     }
17454   }
17455   if (SWIG_IsTmpObj(res3)) {
17456     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg3)));
17457   } else {
17458     int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
17459     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
17460   }
17461   {
17462     if (*arg4) {
17463       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg4));
17464     } else {
17465       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
17466     }
17467   }
17468   if (SWIG_IsTmpObj(res5)) {
17469     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg5)));
17470   } else {
17471     int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
17472     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_long, new_flags));
17473   }
17474   {
17475     if (*arg6) {
17476       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg6));
17477     } else {
17478       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
17479     }
17480   }
17481   if (SWIG_IsTmpObj(res7)) {
17482     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg7)));
17483   } else {
17484     int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
17485     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg7), SWIGTYPE_p_long, new_flags));
17486   }
17487   {
17488     if (*arg8) {
17489       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg8));
17490     } else {
17491       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
17492     }
17493   }
17494   if (SWIG_IsTmpObj(res9)) {
17495     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg9)));
17496   } else {
17497     int new_flags = SWIG_IsNewObj(res9) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
17498     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg9), SWIGTYPE_p_long, new_flags));
17499   }
17500   {
17501     if (*arg10) {
17502       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg10));
17503     } else {
17504       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
17505     }
17506   }
17507   if (alloc11 == SWIG_NEWOBJ) free((char*)buf11);
17508   if (alloc13 == SWIG_NEWOBJ) free((char*)buf13);
17509   {
17510     VALUE target;
17511     target = _global_vresult_address == &vresult ? self : vresult;
17512     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
17513     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
17514     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
17515   }
17516   {
17517     VALUE target;
17518     target = _global_vresult_address == &vresult ? self : vresult;
17519     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
17520     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
17521     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
17522   }
17523   return vresult;
17524 fail:
17525   if (alloc11 == SWIG_NEWOBJ) free((char*)buf11);
17526   if (alloc13 == SWIG_NEWOBJ) free((char*)buf13);
17527   {
17528     VALUE target;
17529     target = _global_vresult_address == &vresult ? self : vresult;
17530     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
17531     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
17532     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
17533   }
17534   {
17535     VALUE target;
17536     target = _global_vresult_address == &vresult ? self : vresult;
17537     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
17538     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
17539     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
17540   }
17541   return Qnil;
17542 }
17543 
17544 
17545 SWIGINTERN VALUE
_wrap_svn_client_merge5(int argc,VALUE * argv,VALUE self)17546 _wrap_svn_client_merge5(int argc, VALUE *argv, VALUE self) {
17547   char *arg1 = (char *) 0 ;
17548   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
17549   char *arg3 = (char *) 0 ;
17550   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
17551   char *arg5 = (char *) 0 ;
17552   svn_depth_t arg6 ;
17553   svn_boolean_t arg7 ;
17554   svn_boolean_t arg8 ;
17555   svn_boolean_t arg9 ;
17556   svn_boolean_t arg10 ;
17557   svn_boolean_t arg11 ;
17558   svn_boolean_t arg12 ;
17559   apr_array_header_t *arg13 = (apr_array_header_t *) 0 ;
17560   svn_client_ctx_t *arg14 = (svn_client_ctx_t *) 0 ;
17561   apr_pool_t *arg15 = (apr_pool_t *) 0 ;
17562   VALUE _global_svn_swig_rb_pool ;
17563   apr_pool_t *_global_pool ;
17564   int res1 ;
17565   char *buf1 = 0 ;
17566   int alloc1 = 0 ;
17567   svn_opt_revision_t rev2 ;
17568   int res3 ;
17569   char *buf3 = 0 ;
17570   int alloc3 = 0 ;
17571   svn_opt_revision_t rev4 ;
17572   int res5 ;
17573   char *buf5 = 0 ;
17574   int alloc5 = 0 ;
17575   void *argp14 = 0 ;
17576   int res14 = 0 ;
17577   svn_error_t *result = 0 ;
17578   VALUE vresult = Qnil;
17579 
17580   {
17581     int adjusted_argc = argc;
17582     VALUE *adjusted_argv = argv;
17583 
17584     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
17585       &adjusted_argv);
17586     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
17587       &_global_svn_swig_rb_pool, &arg15);
17588     _global_pool = arg15;
17589     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
17590   }
17591   if ((argc < 13) || (argc > 15)) {
17592     rb_raise(rb_eArgError, "wrong # of arguments(%d for 13)",argc); SWIG_fail;
17593   }
17594   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
17595   if (!SWIG_IsOK(res1)) {
17596     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_merge5", 1, argv[0] ));
17597   }
17598   arg1 = (char *)(buf1);
17599   {
17600     arg2 = &rev2;
17601     svn_swig_rb_set_revision(&rev2, argv[1]);
17602   }
17603   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
17604   if (!SWIG_IsOK(res3)) {
17605     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_merge5", 3, argv[2] ));
17606   }
17607   arg3 = (char *)(buf3);
17608   {
17609     arg4 = &rev4;
17610     svn_swig_rb_set_revision(&rev4, argv[3]);
17611   }
17612   res5 = SWIG_AsCharPtrAndSize(argv[4], &buf5, NULL, &alloc5);
17613   if (!SWIG_IsOK(res5)) {
17614     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_client_merge5", 5, argv[4] ));
17615   }
17616   arg5 = (char *)(buf5);
17617   {
17618     arg6 = svn_swig_rb_to_depth(argv[5]);
17619   }
17620   arg7 = RTEST(argv[6]);
17621   arg8 = RTEST(argv[7]);
17622   arg9 = RTEST(argv[8]);
17623   arg10 = RTEST(argv[9]);
17624   arg11 = RTEST(argv[10]);
17625   arg12 = RTEST(argv[11]);
17626   {
17627     if (NIL_P(argv[12])) {
17628       arg13 = NULL;
17629     } else {
17630       VALUE rb_pool;
17631       apr_pool_t *pool;
17632 
17633       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &pool);
17634       arg13 = svn_swig_rb_to_apr_array_prop(argv[12], pool);
17635     }
17636   }
17637   if (argc > 13) {
17638     res14 = SWIG_ConvertPtr(argv[13], &argp14,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
17639     if (!SWIG_IsOK(res14)) {
17640       SWIG_exception_fail(SWIG_ArgError(res14), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_merge5", 14, argv[13] ));
17641     }
17642     arg14 = (svn_client_ctx_t *)(argp14);
17643   }
17644   if (argc > 14) {
17645 
17646   }
17647   {
17648     result = (svn_error_t *)svn_client_merge5((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,(char const *)arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,(apr_array_header_t const *)arg13,arg14,arg15);
17649 
17650 
17651 
17652   }
17653   {
17654     if (result) {
17655       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
17656       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
17657       svn_swig_rb_handle_svn_error(result);
17658     }
17659     vresult = Qnil;
17660   }
17661   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
17662   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
17663   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
17664   {
17665     VALUE target;
17666     target = _global_vresult_address == &vresult ? self : vresult;
17667     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
17668     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
17669     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
17670   }
17671   return vresult;
17672 fail:
17673   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
17674   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
17675   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
17676   {
17677     VALUE target;
17678     target = _global_vresult_address == &vresult ? self : vresult;
17679     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
17680     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
17681     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
17682   }
17683   return Qnil;
17684 }
17685 
17686 
17687 SWIGINTERN VALUE
_wrap_svn_client_merge4(int argc,VALUE * argv,VALUE self)17688 _wrap_svn_client_merge4(int argc, VALUE *argv, VALUE self) {
17689   char *arg1 = (char *) 0 ;
17690   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
17691   char *arg3 = (char *) 0 ;
17692   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
17693   char *arg5 = (char *) 0 ;
17694   svn_depth_t arg6 ;
17695   svn_boolean_t arg7 ;
17696   svn_boolean_t arg8 ;
17697   svn_boolean_t arg9 ;
17698   svn_boolean_t arg10 ;
17699   svn_boolean_t arg11 ;
17700   apr_array_header_t *arg12 = (apr_array_header_t *) 0 ;
17701   svn_client_ctx_t *arg13 = (svn_client_ctx_t *) 0 ;
17702   apr_pool_t *arg14 = (apr_pool_t *) 0 ;
17703   VALUE _global_svn_swig_rb_pool ;
17704   apr_pool_t *_global_pool ;
17705   int res1 ;
17706   char *buf1 = 0 ;
17707   int alloc1 = 0 ;
17708   svn_opt_revision_t rev2 ;
17709   int res3 ;
17710   char *buf3 = 0 ;
17711   int alloc3 = 0 ;
17712   svn_opt_revision_t rev4 ;
17713   int res5 ;
17714   char *buf5 = 0 ;
17715   int alloc5 = 0 ;
17716   void *argp13 = 0 ;
17717   int res13 = 0 ;
17718   svn_error_t *result = 0 ;
17719   VALUE vresult = Qnil;
17720 
17721   {
17722     int adjusted_argc = argc;
17723     VALUE *adjusted_argv = argv;
17724 
17725     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
17726       &adjusted_argv);
17727     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
17728       &_global_svn_swig_rb_pool, &arg14);
17729     _global_pool = arg14;
17730     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
17731   }
17732   if ((argc < 12) || (argc > 14)) {
17733     rb_raise(rb_eArgError, "wrong # of arguments(%d for 12)",argc); SWIG_fail;
17734   }
17735   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
17736   if (!SWIG_IsOK(res1)) {
17737     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_merge4", 1, argv[0] ));
17738   }
17739   arg1 = (char *)(buf1);
17740   {
17741     arg2 = &rev2;
17742     svn_swig_rb_set_revision(&rev2, argv[1]);
17743   }
17744   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
17745   if (!SWIG_IsOK(res3)) {
17746     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_merge4", 3, argv[2] ));
17747   }
17748   arg3 = (char *)(buf3);
17749   {
17750     arg4 = &rev4;
17751     svn_swig_rb_set_revision(&rev4, argv[3]);
17752   }
17753   res5 = SWIG_AsCharPtrAndSize(argv[4], &buf5, NULL, &alloc5);
17754   if (!SWIG_IsOK(res5)) {
17755     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_client_merge4", 5, argv[4] ));
17756   }
17757   arg5 = (char *)(buf5);
17758   {
17759     arg6 = svn_swig_rb_to_depth(argv[5]);
17760   }
17761   arg7 = RTEST(argv[6]);
17762   arg8 = RTEST(argv[7]);
17763   arg9 = RTEST(argv[8]);
17764   arg10 = RTEST(argv[9]);
17765   arg11 = RTEST(argv[10]);
17766   {
17767     if (NIL_P(argv[11])) {
17768       arg12 = NULL;
17769     } else {
17770       VALUE rb_pool;
17771       apr_pool_t *pool;
17772 
17773       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &pool);
17774       arg12 = svn_swig_rb_to_apr_array_prop(argv[11], pool);
17775     }
17776   }
17777   if (argc > 12) {
17778     res13 = SWIG_ConvertPtr(argv[12], &argp13,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
17779     if (!SWIG_IsOK(res13)) {
17780       SWIG_exception_fail(SWIG_ArgError(res13), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_merge4", 13, argv[12] ));
17781     }
17782     arg13 = (svn_client_ctx_t *)(argp13);
17783   }
17784   if (argc > 13) {
17785 
17786   }
17787   {
17788     result = (svn_error_t *)svn_client_merge4((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,(char const *)arg5,arg6,arg7,arg8,arg9,arg10,arg11,(apr_array_header_t const *)arg12,arg13,arg14);
17789 
17790 
17791 
17792   }
17793   {
17794     if (result) {
17795       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
17796       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
17797       svn_swig_rb_handle_svn_error(result);
17798     }
17799     vresult = Qnil;
17800   }
17801   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
17802   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
17803   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
17804   {
17805     VALUE target;
17806     target = _global_vresult_address == &vresult ? self : vresult;
17807     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
17808     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
17809     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
17810   }
17811   return vresult;
17812 fail:
17813   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
17814   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
17815   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
17816   {
17817     VALUE target;
17818     target = _global_vresult_address == &vresult ? self : vresult;
17819     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
17820     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
17821     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
17822   }
17823   return Qnil;
17824 }
17825 
17826 
17827 SWIGINTERN VALUE
_wrap_svn_client_merge3(int argc,VALUE * argv,VALUE self)17828 _wrap_svn_client_merge3(int argc, VALUE *argv, VALUE self) {
17829   char *arg1 = (char *) 0 ;
17830   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
17831   char *arg3 = (char *) 0 ;
17832   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
17833   char *arg5 = (char *) 0 ;
17834   svn_depth_t arg6 ;
17835   svn_boolean_t arg7 ;
17836   svn_boolean_t arg8 ;
17837   svn_boolean_t arg9 ;
17838   svn_boolean_t arg10 ;
17839   apr_array_header_t *arg11 = (apr_array_header_t *) 0 ;
17840   svn_client_ctx_t *arg12 = (svn_client_ctx_t *) 0 ;
17841   apr_pool_t *arg13 = (apr_pool_t *) 0 ;
17842   VALUE _global_svn_swig_rb_pool ;
17843   apr_pool_t *_global_pool ;
17844   int res1 ;
17845   char *buf1 = 0 ;
17846   int alloc1 = 0 ;
17847   svn_opt_revision_t rev2 ;
17848   int res3 ;
17849   char *buf3 = 0 ;
17850   int alloc3 = 0 ;
17851   svn_opt_revision_t rev4 ;
17852   int res5 ;
17853   char *buf5 = 0 ;
17854   int alloc5 = 0 ;
17855   void *argp12 = 0 ;
17856   int res12 = 0 ;
17857   svn_error_t *result = 0 ;
17858   VALUE vresult = Qnil;
17859 
17860   {
17861     int adjusted_argc = argc;
17862     VALUE *adjusted_argv = argv;
17863 
17864     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
17865       &adjusted_argv);
17866     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
17867       &_global_svn_swig_rb_pool, &arg13);
17868     _global_pool = arg13;
17869     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
17870   }
17871   if ((argc < 11) || (argc > 13)) {
17872     rb_raise(rb_eArgError, "wrong # of arguments(%d for 11)",argc); SWIG_fail;
17873   }
17874   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
17875   if (!SWIG_IsOK(res1)) {
17876     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_merge3", 1, argv[0] ));
17877   }
17878   arg1 = (char *)(buf1);
17879   {
17880     arg2 = &rev2;
17881     svn_swig_rb_set_revision(&rev2, argv[1]);
17882   }
17883   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
17884   if (!SWIG_IsOK(res3)) {
17885     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_merge3", 3, argv[2] ));
17886   }
17887   arg3 = (char *)(buf3);
17888   {
17889     arg4 = &rev4;
17890     svn_swig_rb_set_revision(&rev4, argv[3]);
17891   }
17892   res5 = SWIG_AsCharPtrAndSize(argv[4], &buf5, NULL, &alloc5);
17893   if (!SWIG_IsOK(res5)) {
17894     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_client_merge3", 5, argv[4] ));
17895   }
17896   arg5 = (char *)(buf5);
17897   {
17898     arg6 = svn_swig_rb_to_depth(argv[5]);
17899   }
17900   arg7 = RTEST(argv[6]);
17901   arg8 = RTEST(argv[7]);
17902   arg9 = RTEST(argv[8]);
17903   arg10 = RTEST(argv[9]);
17904   {
17905     if (NIL_P(argv[10])) {
17906       arg11 = NULL;
17907     } else {
17908       VALUE rb_pool;
17909       apr_pool_t *pool;
17910 
17911       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &pool);
17912       arg11 = svn_swig_rb_to_apr_array_prop(argv[10], pool);
17913     }
17914   }
17915   if (argc > 11) {
17916     res12 = SWIG_ConvertPtr(argv[11], &argp12,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
17917     if (!SWIG_IsOK(res12)) {
17918       SWIG_exception_fail(SWIG_ArgError(res12), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_merge3", 12, argv[11] ));
17919     }
17920     arg12 = (svn_client_ctx_t *)(argp12);
17921   }
17922   if (argc > 12) {
17923 
17924   }
17925   {
17926     result = (svn_error_t *)svn_client_merge3((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,(char const *)arg5,arg6,arg7,arg8,arg9,arg10,(apr_array_header_t const *)arg11,arg12,arg13);
17927 
17928 
17929 
17930   }
17931   {
17932     if (result) {
17933       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
17934       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
17935       svn_swig_rb_handle_svn_error(result);
17936     }
17937     vresult = Qnil;
17938   }
17939   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
17940   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
17941   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
17942   {
17943     VALUE target;
17944     target = _global_vresult_address == &vresult ? self : vresult;
17945     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
17946     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
17947     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
17948   }
17949   return vresult;
17950 fail:
17951   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
17952   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
17953   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
17954   {
17955     VALUE target;
17956     target = _global_vresult_address == &vresult ? self : vresult;
17957     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
17958     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
17959     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
17960   }
17961   return Qnil;
17962 }
17963 
17964 
17965 SWIGINTERN VALUE
_wrap_svn_client_merge2(int argc,VALUE * argv,VALUE self)17966 _wrap_svn_client_merge2(int argc, VALUE *argv, VALUE self) {
17967   char *arg1 = (char *) 0 ;
17968   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
17969   char *arg3 = (char *) 0 ;
17970   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
17971   char *arg5 = (char *) 0 ;
17972   svn_boolean_t arg6 ;
17973   svn_boolean_t arg7 ;
17974   svn_boolean_t arg8 ;
17975   svn_boolean_t arg9 ;
17976   apr_array_header_t *arg10 = (apr_array_header_t *) 0 ;
17977   svn_client_ctx_t *arg11 = (svn_client_ctx_t *) 0 ;
17978   apr_pool_t *arg12 = (apr_pool_t *) 0 ;
17979   VALUE _global_svn_swig_rb_pool ;
17980   apr_pool_t *_global_pool ;
17981   int res1 ;
17982   char *buf1 = 0 ;
17983   int alloc1 = 0 ;
17984   svn_opt_revision_t rev2 ;
17985   int res3 ;
17986   char *buf3 = 0 ;
17987   int alloc3 = 0 ;
17988   svn_opt_revision_t rev4 ;
17989   int res5 ;
17990   char *buf5 = 0 ;
17991   int alloc5 = 0 ;
17992   void *argp11 = 0 ;
17993   int res11 = 0 ;
17994   svn_error_t *result = 0 ;
17995   VALUE vresult = Qnil;
17996 
17997   {
17998     int adjusted_argc = argc;
17999     VALUE *adjusted_argv = argv;
18000 
18001     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
18002       &adjusted_argv);
18003     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
18004       &_global_svn_swig_rb_pool, &arg12);
18005     _global_pool = arg12;
18006     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
18007   }
18008   if ((argc < 10) || (argc > 12)) {
18009     rb_raise(rb_eArgError, "wrong # of arguments(%d for 10)",argc); SWIG_fail;
18010   }
18011   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
18012   if (!SWIG_IsOK(res1)) {
18013     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_merge2", 1, argv[0] ));
18014   }
18015   arg1 = (char *)(buf1);
18016   {
18017     arg2 = &rev2;
18018     svn_swig_rb_set_revision(&rev2, argv[1]);
18019   }
18020   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
18021   if (!SWIG_IsOK(res3)) {
18022     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_merge2", 3, argv[2] ));
18023   }
18024   arg3 = (char *)(buf3);
18025   {
18026     arg4 = &rev4;
18027     svn_swig_rb_set_revision(&rev4, argv[3]);
18028   }
18029   res5 = SWIG_AsCharPtrAndSize(argv[4], &buf5, NULL, &alloc5);
18030   if (!SWIG_IsOK(res5)) {
18031     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_client_merge2", 5, argv[4] ));
18032   }
18033   arg5 = (char *)(buf5);
18034   arg6 = RTEST(argv[5]);
18035   arg7 = RTEST(argv[6]);
18036   arg8 = RTEST(argv[7]);
18037   arg9 = RTEST(argv[8]);
18038   {
18039     if (NIL_P(argv[9])) {
18040       arg10 = NULL;
18041     } else {
18042       VALUE rb_pool;
18043       apr_pool_t *pool;
18044 
18045       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &pool);
18046       arg10 = svn_swig_rb_to_apr_array_prop(argv[9], pool);
18047     }
18048   }
18049   if (argc > 10) {
18050     res11 = SWIG_ConvertPtr(argv[10], &argp11,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
18051     if (!SWIG_IsOK(res11)) {
18052       SWIG_exception_fail(SWIG_ArgError(res11), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_merge2", 11, argv[10] ));
18053     }
18054     arg11 = (svn_client_ctx_t *)(argp11);
18055   }
18056   if (argc > 11) {
18057 
18058   }
18059   {
18060     result = (svn_error_t *)svn_client_merge2((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,(char const *)arg5,arg6,arg7,arg8,arg9,(apr_array_header_t const *)arg10,arg11,arg12);
18061 
18062 
18063 
18064   }
18065   {
18066     if (result) {
18067       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
18068       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
18069       svn_swig_rb_handle_svn_error(result);
18070     }
18071     vresult = Qnil;
18072   }
18073   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18074   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
18075   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
18076   {
18077     VALUE target;
18078     target = _global_vresult_address == &vresult ? self : vresult;
18079     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
18080     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
18081     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
18082   }
18083   return vresult;
18084 fail:
18085   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18086   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
18087   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
18088   {
18089     VALUE target;
18090     target = _global_vresult_address == &vresult ? self : vresult;
18091     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
18092     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
18093     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
18094   }
18095   return Qnil;
18096 }
18097 
18098 
18099 SWIGINTERN VALUE
_wrap_svn_client_merge(int argc,VALUE * argv,VALUE self)18100 _wrap_svn_client_merge(int argc, VALUE *argv, VALUE self) {
18101   char *arg1 = (char *) 0 ;
18102   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
18103   char *arg3 = (char *) 0 ;
18104   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
18105   char *arg5 = (char *) 0 ;
18106   svn_boolean_t arg6 ;
18107   svn_boolean_t arg7 ;
18108   svn_boolean_t arg8 ;
18109   svn_boolean_t arg9 ;
18110   svn_client_ctx_t *arg10 = (svn_client_ctx_t *) 0 ;
18111   apr_pool_t *arg11 = (apr_pool_t *) 0 ;
18112   VALUE _global_svn_swig_rb_pool ;
18113   apr_pool_t *_global_pool ;
18114   int res1 ;
18115   char *buf1 = 0 ;
18116   int alloc1 = 0 ;
18117   svn_opt_revision_t rev2 ;
18118   int res3 ;
18119   char *buf3 = 0 ;
18120   int alloc3 = 0 ;
18121   svn_opt_revision_t rev4 ;
18122   int res5 ;
18123   char *buf5 = 0 ;
18124   int alloc5 = 0 ;
18125   void *argp10 = 0 ;
18126   int res10 = 0 ;
18127   svn_error_t *result = 0 ;
18128   VALUE vresult = Qnil;
18129 
18130   {
18131     int adjusted_argc = argc;
18132     VALUE *adjusted_argv = argv;
18133 
18134     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
18135       &adjusted_argv);
18136     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
18137       &_global_svn_swig_rb_pool, &arg11);
18138     _global_pool = arg11;
18139     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
18140   }
18141   if ((argc < 9) || (argc > 11)) {
18142     rb_raise(rb_eArgError, "wrong # of arguments(%d for 9)",argc); SWIG_fail;
18143   }
18144   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
18145   if (!SWIG_IsOK(res1)) {
18146     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_merge", 1, argv[0] ));
18147   }
18148   arg1 = (char *)(buf1);
18149   {
18150     arg2 = &rev2;
18151     svn_swig_rb_set_revision(&rev2, argv[1]);
18152   }
18153   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
18154   if (!SWIG_IsOK(res3)) {
18155     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_merge", 3, argv[2] ));
18156   }
18157   arg3 = (char *)(buf3);
18158   {
18159     arg4 = &rev4;
18160     svn_swig_rb_set_revision(&rev4, argv[3]);
18161   }
18162   res5 = SWIG_AsCharPtrAndSize(argv[4], &buf5, NULL, &alloc5);
18163   if (!SWIG_IsOK(res5)) {
18164     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_client_merge", 5, argv[4] ));
18165   }
18166   arg5 = (char *)(buf5);
18167   arg6 = RTEST(argv[5]);
18168   arg7 = RTEST(argv[6]);
18169   arg8 = RTEST(argv[7]);
18170   arg9 = RTEST(argv[8]);
18171   if (argc > 9) {
18172     res10 = SWIG_ConvertPtr(argv[9], &argp10,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
18173     if (!SWIG_IsOK(res10)) {
18174       SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_merge", 10, argv[9] ));
18175     }
18176     arg10 = (svn_client_ctx_t *)(argp10);
18177   }
18178   if (argc > 10) {
18179 
18180   }
18181   {
18182     result = (svn_error_t *)svn_client_merge((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,(char const *)arg5,arg6,arg7,arg8,arg9,arg10,arg11);
18183 
18184 
18185 
18186   }
18187   {
18188     if (result) {
18189       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
18190       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
18191       svn_swig_rb_handle_svn_error(result);
18192     }
18193     vresult = Qnil;
18194   }
18195   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18196   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
18197   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
18198   {
18199     VALUE target;
18200     target = _global_vresult_address == &vresult ? self : vresult;
18201     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
18202     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
18203     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
18204   }
18205   return vresult;
18206 fail:
18207   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18208   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
18209   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
18210   {
18211     VALUE target;
18212     target = _global_vresult_address == &vresult ? self : vresult;
18213     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
18214     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
18215     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
18216   }
18217   return Qnil;
18218 }
18219 
18220 
18221 SWIGINTERN VALUE
_wrap_svn_client_merge_reintegrate(int argc,VALUE * argv,VALUE self)18222 _wrap_svn_client_merge_reintegrate(int argc, VALUE *argv, VALUE self) {
18223   char *arg1 = (char *) 0 ;
18224   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
18225   char *arg3 = (char *) 0 ;
18226   svn_boolean_t arg4 ;
18227   apr_array_header_t *arg5 = (apr_array_header_t *) 0 ;
18228   svn_client_ctx_t *arg6 = (svn_client_ctx_t *) 0 ;
18229   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
18230   VALUE _global_svn_swig_rb_pool ;
18231   apr_pool_t *_global_pool ;
18232   int res1 ;
18233   char *buf1 = 0 ;
18234   int alloc1 = 0 ;
18235   svn_opt_revision_t rev2 ;
18236   int res3 ;
18237   char *buf3 = 0 ;
18238   int alloc3 = 0 ;
18239   void *argp6 = 0 ;
18240   int res6 = 0 ;
18241   svn_error_t *result = 0 ;
18242   VALUE vresult = Qnil;
18243 
18244   {
18245     int adjusted_argc = argc;
18246     VALUE *adjusted_argv = argv;
18247 
18248     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
18249       &adjusted_argv);
18250     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
18251       &_global_svn_swig_rb_pool, &arg7);
18252     _global_pool = arg7;
18253     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
18254   }
18255   if ((argc < 5) || (argc > 7)) {
18256     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
18257   }
18258   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
18259   if (!SWIG_IsOK(res1)) {
18260     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_merge_reintegrate", 1, argv[0] ));
18261   }
18262   arg1 = (char *)(buf1);
18263   {
18264     arg2 = &rev2;
18265     svn_swig_rb_set_revision(&rev2, argv[1]);
18266   }
18267   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
18268   if (!SWIG_IsOK(res3)) {
18269     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_merge_reintegrate", 3, argv[2] ));
18270   }
18271   arg3 = (char *)(buf3);
18272   arg4 = RTEST(argv[3]);
18273   {
18274     if (NIL_P(argv[4])) {
18275       arg5 = NULL;
18276     } else {
18277       VALUE rb_pool;
18278       apr_pool_t *pool;
18279 
18280       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &pool);
18281       arg5 = svn_swig_rb_to_apr_array_prop(argv[4], pool);
18282     }
18283   }
18284   if (argc > 5) {
18285     res6 = SWIG_ConvertPtr(argv[5], &argp6,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
18286     if (!SWIG_IsOK(res6)) {
18287       SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_merge_reintegrate", 6, argv[5] ));
18288     }
18289     arg6 = (svn_client_ctx_t *)(argp6);
18290   }
18291   if (argc > 6) {
18292 
18293   }
18294   {
18295     result = (svn_error_t *)svn_client_merge_reintegrate((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(char const *)arg3,arg4,(apr_array_header_t const *)arg5,arg6,arg7);
18296 
18297 
18298 
18299   }
18300   {
18301     if (result) {
18302       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
18303       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
18304       svn_swig_rb_handle_svn_error(result);
18305     }
18306     vresult = Qnil;
18307   }
18308   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18309   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
18310   {
18311     VALUE target;
18312     target = _global_vresult_address == &vresult ? self : vresult;
18313     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
18314     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
18315     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
18316   }
18317   return vresult;
18318 fail:
18319   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18320   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
18321   {
18322     VALUE target;
18323     target = _global_vresult_address == &vresult ? self : vresult;
18324     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
18325     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
18326     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
18327   }
18328   return Qnil;
18329 }
18330 
18331 
18332 SWIGINTERN VALUE
_wrap_svn_client_merge_peg5(int argc,VALUE * argv,VALUE self)18333 _wrap_svn_client_merge_peg5(int argc, VALUE *argv, VALUE self) {
18334   char *arg1 = (char *) 0 ;
18335   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
18336   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
18337   char *arg4 = (char *) 0 ;
18338   svn_depth_t arg5 ;
18339   svn_boolean_t arg6 ;
18340   svn_boolean_t arg7 ;
18341   svn_boolean_t arg8 ;
18342   svn_boolean_t arg9 ;
18343   svn_boolean_t arg10 ;
18344   svn_boolean_t arg11 ;
18345   apr_array_header_t *arg12 = (apr_array_header_t *) 0 ;
18346   svn_client_ctx_t *arg13 = (svn_client_ctx_t *) 0 ;
18347   apr_pool_t *arg14 = (apr_pool_t *) 0 ;
18348   VALUE _global_svn_swig_rb_pool ;
18349   apr_pool_t *_global_pool ;
18350   int res1 ;
18351   char *buf1 = 0 ;
18352   int alloc1 = 0 ;
18353   svn_opt_revision_t rev3 ;
18354   int res4 ;
18355   char *buf4 = 0 ;
18356   int alloc4 = 0 ;
18357   void *argp13 = 0 ;
18358   int res13 = 0 ;
18359   svn_error_t *result = 0 ;
18360   VALUE vresult = Qnil;
18361 
18362   {
18363     int adjusted_argc = argc;
18364     VALUE *adjusted_argv = argv;
18365 
18366     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
18367       &adjusted_argv);
18368     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
18369       &_global_svn_swig_rb_pool, &arg14);
18370     _global_pool = arg14;
18371     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
18372   }
18373   if ((argc < 12) || (argc > 14)) {
18374     rb_raise(rb_eArgError, "wrong # of arguments(%d for 12)",argc); SWIG_fail;
18375   }
18376   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
18377   if (!SWIG_IsOK(res1)) {
18378     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_merge_peg5", 1, argv[0] ));
18379   }
18380   arg1 = (char *)(buf1);
18381   {
18382     arg2 = svn_swig_rb_array_to_apr_array_revision_range(argv[1], _global_pool);
18383   }
18384   {
18385     arg3 = &rev3;
18386     svn_swig_rb_set_revision(&rev3, argv[2]);
18387   }
18388   res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
18389   if (!SWIG_IsOK(res4)) {
18390     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_merge_peg5", 4, argv[3] ));
18391   }
18392   arg4 = (char *)(buf4);
18393   {
18394     arg5 = svn_swig_rb_to_depth(argv[4]);
18395   }
18396   arg6 = RTEST(argv[5]);
18397   arg7 = RTEST(argv[6]);
18398   arg8 = RTEST(argv[7]);
18399   arg9 = RTEST(argv[8]);
18400   arg10 = RTEST(argv[9]);
18401   arg11 = RTEST(argv[10]);
18402   {
18403     if (NIL_P(argv[11])) {
18404       arg12 = NULL;
18405     } else {
18406       VALUE rb_pool;
18407       apr_pool_t *pool;
18408 
18409       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &pool);
18410       arg12 = svn_swig_rb_to_apr_array_prop(argv[11], pool);
18411     }
18412   }
18413   if (argc > 12) {
18414     res13 = SWIG_ConvertPtr(argv[12], &argp13,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
18415     if (!SWIG_IsOK(res13)) {
18416       SWIG_exception_fail(SWIG_ArgError(res13), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_merge_peg5", 13, argv[12] ));
18417     }
18418     arg13 = (svn_client_ctx_t *)(argp13);
18419   }
18420   if (argc > 13) {
18421 
18422   }
18423   {
18424     result = (svn_error_t *)svn_client_merge_peg5((char const *)arg1,(apr_array_header_t const *)arg2,(struct svn_opt_revision_t const *)arg3,(char const *)arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,(apr_array_header_t const *)arg12,arg13,arg14);
18425 
18426 
18427 
18428   }
18429   {
18430     if (result) {
18431       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
18432       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
18433       svn_swig_rb_handle_svn_error(result);
18434     }
18435     vresult = Qnil;
18436   }
18437   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18438   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
18439   {
18440     VALUE target;
18441     target = _global_vresult_address == &vresult ? self : vresult;
18442     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
18443     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
18444     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
18445   }
18446   return vresult;
18447 fail:
18448   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18449   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
18450   {
18451     VALUE target;
18452     target = _global_vresult_address == &vresult ? self : vresult;
18453     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
18454     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
18455     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
18456   }
18457   return Qnil;
18458 }
18459 
18460 
18461 SWIGINTERN VALUE
_wrap_svn_client_merge_peg4(int argc,VALUE * argv,VALUE self)18462 _wrap_svn_client_merge_peg4(int argc, VALUE *argv, VALUE self) {
18463   char *arg1 = (char *) 0 ;
18464   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
18465   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
18466   char *arg4 = (char *) 0 ;
18467   svn_depth_t arg5 ;
18468   svn_boolean_t arg6 ;
18469   svn_boolean_t arg7 ;
18470   svn_boolean_t arg8 ;
18471   svn_boolean_t arg9 ;
18472   svn_boolean_t arg10 ;
18473   apr_array_header_t *arg11 = (apr_array_header_t *) 0 ;
18474   svn_client_ctx_t *arg12 = (svn_client_ctx_t *) 0 ;
18475   apr_pool_t *arg13 = (apr_pool_t *) 0 ;
18476   VALUE _global_svn_swig_rb_pool ;
18477   apr_pool_t *_global_pool ;
18478   int res1 ;
18479   char *buf1 = 0 ;
18480   int alloc1 = 0 ;
18481   svn_opt_revision_t rev3 ;
18482   int res4 ;
18483   char *buf4 = 0 ;
18484   int alloc4 = 0 ;
18485   void *argp12 = 0 ;
18486   int res12 = 0 ;
18487   svn_error_t *result = 0 ;
18488   VALUE vresult = Qnil;
18489 
18490   {
18491     int adjusted_argc = argc;
18492     VALUE *adjusted_argv = argv;
18493 
18494     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
18495       &adjusted_argv);
18496     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
18497       &_global_svn_swig_rb_pool, &arg13);
18498     _global_pool = arg13;
18499     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
18500   }
18501   if ((argc < 11) || (argc > 13)) {
18502     rb_raise(rb_eArgError, "wrong # of arguments(%d for 11)",argc); SWIG_fail;
18503   }
18504   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
18505   if (!SWIG_IsOK(res1)) {
18506     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_merge_peg4", 1, argv[0] ));
18507   }
18508   arg1 = (char *)(buf1);
18509   {
18510     arg2 = svn_swig_rb_array_to_apr_array_revision_range(argv[1], _global_pool);
18511   }
18512   {
18513     arg3 = &rev3;
18514     svn_swig_rb_set_revision(&rev3, argv[2]);
18515   }
18516   res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
18517   if (!SWIG_IsOK(res4)) {
18518     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_merge_peg4", 4, argv[3] ));
18519   }
18520   arg4 = (char *)(buf4);
18521   {
18522     arg5 = svn_swig_rb_to_depth(argv[4]);
18523   }
18524   arg6 = RTEST(argv[5]);
18525   arg7 = RTEST(argv[6]);
18526   arg8 = RTEST(argv[7]);
18527   arg9 = RTEST(argv[8]);
18528   arg10 = RTEST(argv[9]);
18529   {
18530     if (NIL_P(argv[10])) {
18531       arg11 = NULL;
18532     } else {
18533       VALUE rb_pool;
18534       apr_pool_t *pool;
18535 
18536       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &pool);
18537       arg11 = svn_swig_rb_to_apr_array_prop(argv[10], pool);
18538     }
18539   }
18540   if (argc > 11) {
18541     res12 = SWIG_ConvertPtr(argv[11], &argp12,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
18542     if (!SWIG_IsOK(res12)) {
18543       SWIG_exception_fail(SWIG_ArgError(res12), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_merge_peg4", 12, argv[11] ));
18544     }
18545     arg12 = (svn_client_ctx_t *)(argp12);
18546   }
18547   if (argc > 12) {
18548 
18549   }
18550   {
18551     result = (svn_error_t *)svn_client_merge_peg4((char const *)arg1,(apr_array_header_t const *)arg2,(struct svn_opt_revision_t const *)arg3,(char const *)arg4,arg5,arg6,arg7,arg8,arg9,arg10,(apr_array_header_t const *)arg11,arg12,arg13);
18552 
18553 
18554 
18555   }
18556   {
18557     if (result) {
18558       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
18559       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
18560       svn_swig_rb_handle_svn_error(result);
18561     }
18562     vresult = Qnil;
18563   }
18564   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18565   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
18566   {
18567     VALUE target;
18568     target = _global_vresult_address == &vresult ? self : vresult;
18569     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
18570     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
18571     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
18572   }
18573   return vresult;
18574 fail:
18575   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18576   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
18577   {
18578     VALUE target;
18579     target = _global_vresult_address == &vresult ? self : vresult;
18580     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
18581     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
18582     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
18583   }
18584   return Qnil;
18585 }
18586 
18587 
18588 SWIGINTERN VALUE
_wrap_svn_client_merge_peg3(int argc,VALUE * argv,VALUE self)18589 _wrap_svn_client_merge_peg3(int argc, VALUE *argv, VALUE self) {
18590   char *arg1 = (char *) 0 ;
18591   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
18592   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
18593   char *arg4 = (char *) 0 ;
18594   svn_depth_t arg5 ;
18595   svn_boolean_t arg6 ;
18596   svn_boolean_t arg7 ;
18597   svn_boolean_t arg8 ;
18598   svn_boolean_t arg9 ;
18599   apr_array_header_t *arg10 = (apr_array_header_t *) 0 ;
18600   svn_client_ctx_t *arg11 = (svn_client_ctx_t *) 0 ;
18601   apr_pool_t *arg12 = (apr_pool_t *) 0 ;
18602   VALUE _global_svn_swig_rb_pool ;
18603   apr_pool_t *_global_pool ;
18604   int res1 ;
18605   char *buf1 = 0 ;
18606   int alloc1 = 0 ;
18607   svn_opt_revision_t rev3 ;
18608   int res4 ;
18609   char *buf4 = 0 ;
18610   int alloc4 = 0 ;
18611   void *argp11 = 0 ;
18612   int res11 = 0 ;
18613   svn_error_t *result = 0 ;
18614   VALUE vresult = Qnil;
18615 
18616   {
18617     int adjusted_argc = argc;
18618     VALUE *adjusted_argv = argv;
18619 
18620     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
18621       &adjusted_argv);
18622     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
18623       &_global_svn_swig_rb_pool, &arg12);
18624     _global_pool = arg12;
18625     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
18626   }
18627   if ((argc < 10) || (argc > 12)) {
18628     rb_raise(rb_eArgError, "wrong # of arguments(%d for 10)",argc); SWIG_fail;
18629   }
18630   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
18631   if (!SWIG_IsOK(res1)) {
18632     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_merge_peg3", 1, argv[0] ));
18633   }
18634   arg1 = (char *)(buf1);
18635   {
18636     arg2 = svn_swig_rb_array_to_apr_array_revision_range(argv[1], _global_pool);
18637   }
18638   {
18639     arg3 = &rev3;
18640     svn_swig_rb_set_revision(&rev3, argv[2]);
18641   }
18642   res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
18643   if (!SWIG_IsOK(res4)) {
18644     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_merge_peg3", 4, argv[3] ));
18645   }
18646   arg4 = (char *)(buf4);
18647   {
18648     arg5 = svn_swig_rb_to_depth(argv[4]);
18649   }
18650   arg6 = RTEST(argv[5]);
18651   arg7 = RTEST(argv[6]);
18652   arg8 = RTEST(argv[7]);
18653   arg9 = RTEST(argv[8]);
18654   {
18655     if (NIL_P(argv[9])) {
18656       arg10 = NULL;
18657     } else {
18658       VALUE rb_pool;
18659       apr_pool_t *pool;
18660 
18661       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &pool);
18662       arg10 = svn_swig_rb_to_apr_array_prop(argv[9], pool);
18663     }
18664   }
18665   if (argc > 10) {
18666     res11 = SWIG_ConvertPtr(argv[10], &argp11,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
18667     if (!SWIG_IsOK(res11)) {
18668       SWIG_exception_fail(SWIG_ArgError(res11), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_merge_peg3", 11, argv[10] ));
18669     }
18670     arg11 = (svn_client_ctx_t *)(argp11);
18671   }
18672   if (argc > 11) {
18673 
18674   }
18675   {
18676     if (!arg3) {
18677       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
18678     }
18679   }
18680   {
18681     result = (svn_error_t *)svn_client_merge_peg3((char const *)arg1,(apr_array_header_t const *)arg2,(struct svn_opt_revision_t const *)arg3,(char const *)arg4,arg5,arg6,arg7,arg8,arg9,(apr_array_header_t const *)arg10,arg11,arg12);
18682 
18683 
18684 
18685   }
18686   {
18687     if (result) {
18688       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
18689       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
18690       svn_swig_rb_handle_svn_error(result);
18691     }
18692     vresult = Qnil;
18693   }
18694   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18695   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
18696   {
18697     VALUE target;
18698     target = _global_vresult_address == &vresult ? self : vresult;
18699     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
18700     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
18701     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
18702   }
18703   return vresult;
18704 fail:
18705   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18706   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
18707   {
18708     VALUE target;
18709     target = _global_vresult_address == &vresult ? self : vresult;
18710     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
18711     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
18712     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
18713   }
18714   return Qnil;
18715 }
18716 
18717 
18718 SWIGINTERN VALUE
_wrap_svn_client_merge_peg2(int argc,VALUE * argv,VALUE self)18719 _wrap_svn_client_merge_peg2(int argc, VALUE *argv, VALUE self) {
18720   char *arg1 = (char *) 0 ;
18721   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
18722   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
18723   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
18724   char *arg5 = (char *) 0 ;
18725   svn_boolean_t arg6 ;
18726   svn_boolean_t arg7 ;
18727   svn_boolean_t arg8 ;
18728   svn_boolean_t arg9 ;
18729   apr_array_header_t *arg10 = (apr_array_header_t *) 0 ;
18730   svn_client_ctx_t *arg11 = (svn_client_ctx_t *) 0 ;
18731   apr_pool_t *arg12 = (apr_pool_t *) 0 ;
18732   VALUE _global_svn_swig_rb_pool ;
18733   apr_pool_t *_global_pool ;
18734   int res1 ;
18735   char *buf1 = 0 ;
18736   int alloc1 = 0 ;
18737   svn_opt_revision_t rev2 ;
18738   svn_opt_revision_t rev3 ;
18739   svn_opt_revision_t rev4 ;
18740   int res5 ;
18741   char *buf5 = 0 ;
18742   int alloc5 = 0 ;
18743   void *argp11 = 0 ;
18744   int res11 = 0 ;
18745   svn_error_t *result = 0 ;
18746   VALUE vresult = Qnil;
18747 
18748   {
18749     int adjusted_argc = argc;
18750     VALUE *adjusted_argv = argv;
18751 
18752     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
18753       &adjusted_argv);
18754     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
18755       &_global_svn_swig_rb_pool, &arg12);
18756     _global_pool = arg12;
18757     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
18758   }
18759   if ((argc < 10) || (argc > 12)) {
18760     rb_raise(rb_eArgError, "wrong # of arguments(%d for 10)",argc); SWIG_fail;
18761   }
18762   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
18763   if (!SWIG_IsOK(res1)) {
18764     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_merge_peg2", 1, argv[0] ));
18765   }
18766   arg1 = (char *)(buf1);
18767   {
18768     arg2 = &rev2;
18769     svn_swig_rb_set_revision(&rev2, argv[1]);
18770   }
18771   {
18772     arg3 = &rev3;
18773     svn_swig_rb_set_revision(&rev3, argv[2]);
18774   }
18775   {
18776     arg4 = &rev4;
18777     svn_swig_rb_set_revision(&rev4, argv[3]);
18778   }
18779   res5 = SWIG_AsCharPtrAndSize(argv[4], &buf5, NULL, &alloc5);
18780   if (!SWIG_IsOK(res5)) {
18781     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_client_merge_peg2", 5, argv[4] ));
18782   }
18783   arg5 = (char *)(buf5);
18784   arg6 = RTEST(argv[5]);
18785   arg7 = RTEST(argv[6]);
18786   arg8 = RTEST(argv[7]);
18787   arg9 = RTEST(argv[8]);
18788   {
18789     if (NIL_P(argv[9])) {
18790       arg10 = NULL;
18791     } else {
18792       VALUE rb_pool;
18793       apr_pool_t *pool;
18794 
18795       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &pool);
18796       arg10 = svn_swig_rb_to_apr_array_prop(argv[9], pool);
18797     }
18798   }
18799   if (argc > 10) {
18800     res11 = SWIG_ConvertPtr(argv[10], &argp11,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
18801     if (!SWIG_IsOK(res11)) {
18802       SWIG_exception_fail(SWIG_ArgError(res11), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_merge_peg2", 11, argv[10] ));
18803     }
18804     arg11 = (svn_client_ctx_t *)(argp11);
18805   }
18806   if (argc > 11) {
18807 
18808   }
18809   {
18810     if (!arg4) {
18811       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
18812     }
18813   }
18814   {
18815     result = (svn_error_t *)svn_client_merge_peg2((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,(struct svn_opt_revision_t const *)arg4,(char const *)arg5,arg6,arg7,arg8,arg9,(apr_array_header_t const *)arg10,arg11,arg12);
18816 
18817 
18818 
18819   }
18820   {
18821     if (result) {
18822       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
18823       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
18824       svn_swig_rb_handle_svn_error(result);
18825     }
18826     vresult = Qnil;
18827   }
18828   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18829   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
18830   {
18831     VALUE target;
18832     target = _global_vresult_address == &vresult ? self : vresult;
18833     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
18834     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
18835     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
18836   }
18837   return vresult;
18838 fail:
18839   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18840   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
18841   {
18842     VALUE target;
18843     target = _global_vresult_address == &vresult ? self : vresult;
18844     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
18845     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
18846     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
18847   }
18848   return Qnil;
18849 }
18850 
18851 
18852 SWIGINTERN VALUE
_wrap_svn_client_merge_peg(int argc,VALUE * argv,VALUE self)18853 _wrap_svn_client_merge_peg(int argc, VALUE *argv, VALUE self) {
18854   char *arg1 = (char *) 0 ;
18855   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
18856   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
18857   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
18858   char *arg5 = (char *) 0 ;
18859   svn_boolean_t arg6 ;
18860   svn_boolean_t arg7 ;
18861   svn_boolean_t arg8 ;
18862   svn_boolean_t arg9 ;
18863   svn_client_ctx_t *arg10 = (svn_client_ctx_t *) 0 ;
18864   apr_pool_t *arg11 = (apr_pool_t *) 0 ;
18865   VALUE _global_svn_swig_rb_pool ;
18866   apr_pool_t *_global_pool ;
18867   int res1 ;
18868   char *buf1 = 0 ;
18869   int alloc1 = 0 ;
18870   svn_opt_revision_t rev2 ;
18871   svn_opt_revision_t rev3 ;
18872   svn_opt_revision_t rev4 ;
18873   int res5 ;
18874   char *buf5 = 0 ;
18875   int alloc5 = 0 ;
18876   void *argp10 = 0 ;
18877   int res10 = 0 ;
18878   svn_error_t *result = 0 ;
18879   VALUE vresult = Qnil;
18880 
18881   {
18882     int adjusted_argc = argc;
18883     VALUE *adjusted_argv = argv;
18884 
18885     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
18886       &adjusted_argv);
18887     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
18888       &_global_svn_swig_rb_pool, &arg11);
18889     _global_pool = arg11;
18890     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
18891   }
18892   if ((argc < 9) || (argc > 11)) {
18893     rb_raise(rb_eArgError, "wrong # of arguments(%d for 9)",argc); SWIG_fail;
18894   }
18895   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
18896   if (!SWIG_IsOK(res1)) {
18897     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_merge_peg", 1, argv[0] ));
18898   }
18899   arg1 = (char *)(buf1);
18900   {
18901     arg2 = &rev2;
18902     svn_swig_rb_set_revision(&rev2, argv[1]);
18903   }
18904   {
18905     arg3 = &rev3;
18906     svn_swig_rb_set_revision(&rev3, argv[2]);
18907   }
18908   {
18909     arg4 = &rev4;
18910     svn_swig_rb_set_revision(&rev4, argv[3]);
18911   }
18912   res5 = SWIG_AsCharPtrAndSize(argv[4], &buf5, NULL, &alloc5);
18913   if (!SWIG_IsOK(res5)) {
18914     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_client_merge_peg", 5, argv[4] ));
18915   }
18916   arg5 = (char *)(buf5);
18917   arg6 = RTEST(argv[5]);
18918   arg7 = RTEST(argv[6]);
18919   arg8 = RTEST(argv[7]);
18920   arg9 = RTEST(argv[8]);
18921   if (argc > 9) {
18922     res10 = SWIG_ConvertPtr(argv[9], &argp10,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
18923     if (!SWIG_IsOK(res10)) {
18924       SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_merge_peg", 10, argv[9] ));
18925     }
18926     arg10 = (svn_client_ctx_t *)(argp10);
18927   }
18928   if (argc > 10) {
18929 
18930   }
18931   {
18932     if (!arg4) {
18933       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
18934     }
18935   }
18936   {
18937     result = (svn_error_t *)svn_client_merge_peg((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,(struct svn_opt_revision_t const *)arg4,(char const *)arg5,arg6,arg7,arg8,arg9,arg10,arg11);
18938 
18939 
18940 
18941   }
18942   {
18943     if (result) {
18944       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
18945       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
18946       svn_swig_rb_handle_svn_error(result);
18947     }
18948     vresult = Qnil;
18949   }
18950   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18951   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
18952   {
18953     VALUE target;
18954     target = _global_vresult_address == &vresult ? self : vresult;
18955     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
18956     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
18957     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
18958   }
18959   return vresult;
18960 fail:
18961   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18962   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
18963   {
18964     VALUE target;
18965     target = _global_vresult_address == &vresult ? self : vresult;
18966     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
18967     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
18968     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
18969   }
18970   return Qnil;
18971 }
18972 
18973 
18974 SWIGINTERN VALUE
_wrap_svn_client_suggest_merge_sources(int argc,VALUE * argv,VALUE self)18975 _wrap_svn_client_suggest_merge_sources(int argc, VALUE *argv, VALUE self) {
18976   apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
18977   char *arg2 = (char *) 0 ;
18978   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
18979   svn_client_ctx_t *arg4 = (svn_client_ctx_t *) 0 ;
18980   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
18981   VALUE _global_svn_swig_rb_pool ;
18982   apr_pool_t *_global_pool ;
18983   apr_array_header_t *temp1 ;
18984   int res2 ;
18985   char *buf2 = 0 ;
18986   int alloc2 = 0 ;
18987   svn_opt_revision_t rev3 ;
18988   void *argp4 = 0 ;
18989   int res4 = 0 ;
18990   svn_error_t *result = 0 ;
18991   VALUE vresult = Qnil;
18992 
18993   {
18994     int adjusted_argc = argc;
18995     VALUE *adjusted_argv = argv;
18996 
18997     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
18998       &adjusted_argv);
18999     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
19000       &_global_svn_swig_rb_pool, &arg5);
19001     _global_pool = arg5;
19002     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
19003   }
19004   arg1 = &temp1;
19005   if ((argc < 2) || (argc > 4)) {
19006     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
19007   }
19008   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
19009   if (!SWIG_IsOK(res2)) {
19010     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_suggest_merge_sources", 2, argv[0] ));
19011   }
19012   arg2 = (char *)(buf2);
19013   {
19014     arg3 = &rev3;
19015     svn_swig_rb_set_revision(&rev3, argv[1]);
19016   }
19017   if (argc > 2) {
19018     res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
19019     if (!SWIG_IsOK(res4)) {
19020       SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_suggest_merge_sources", 4, argv[2] ));
19021     }
19022     arg4 = (svn_client_ctx_t *)(argp4);
19023   }
19024   if (argc > 3) {
19025 
19026   }
19027   {
19028     if (!arg3) {
19029       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
19030     }
19031   }
19032   {
19033     result = (svn_error_t *)svn_client_suggest_merge_sources(arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,arg5);
19034 
19035 
19036 
19037   }
19038   {
19039     if (result) {
19040       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19041       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19042       svn_swig_rb_handle_svn_error(result);
19043     }
19044     vresult = Qnil;
19045   }
19046   {
19047     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_array_to_array_string(*arg1));
19048   }
19049   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19050   {
19051     VALUE target;
19052     target = _global_vresult_address == &vresult ? self : vresult;
19053     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
19054     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19055     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19056   }
19057   return vresult;
19058 fail:
19059   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19060   {
19061     VALUE target;
19062     target = _global_vresult_address == &vresult ? self : vresult;
19063     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
19064     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19065     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19066   }
19067   return Qnil;
19068 }
19069 
19070 
19071 SWIGINTERN VALUE
_wrap_svn_client_mergeinfo_get_merged(int argc,VALUE * argv,VALUE self)19072 _wrap_svn_client_mergeinfo_get_merged(int argc, VALUE *argv, VALUE self) {
19073   apr_hash_t **arg1 = (apr_hash_t **) 0 ;
19074   char *arg2 = (char *) 0 ;
19075   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
19076   svn_client_ctx_t *arg4 = (svn_client_ctx_t *) 0 ;
19077   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
19078   VALUE _global_svn_swig_rb_pool ;
19079   apr_pool_t *_global_pool ;
19080   apr_hash_t *temp1 ;
19081   int res2 ;
19082   char *buf2 = 0 ;
19083   int alloc2 = 0 ;
19084   svn_opt_revision_t rev3 ;
19085   void *argp4 = 0 ;
19086   int res4 = 0 ;
19087   svn_error_t *result = 0 ;
19088   VALUE vresult = Qnil;
19089 
19090   {
19091     int adjusted_argc = argc;
19092     VALUE *adjusted_argv = argv;
19093 
19094     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
19095       &adjusted_argv);
19096     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
19097       &_global_svn_swig_rb_pool, &arg5);
19098     _global_pool = arg5;
19099     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
19100   }
19101   arg1 = &temp1;
19102   if ((argc < 2) || (argc > 4)) {
19103     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
19104   }
19105   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
19106   if (!SWIG_IsOK(res2)) {
19107     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_mergeinfo_get_merged", 2, argv[0] ));
19108   }
19109   arg2 = (char *)(buf2);
19110   {
19111     arg3 = &rev3;
19112     svn_swig_rb_set_revision(&rev3, argv[1]);
19113   }
19114   if (argc > 2) {
19115     res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
19116     if (!SWIG_IsOK(res4)) {
19117       SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_mergeinfo_get_merged", 4, argv[2] ));
19118     }
19119     arg4 = (svn_client_ctx_t *)(argp4);
19120   }
19121   if (argc > 3) {
19122 
19123   }
19124   {
19125     if (!arg3) {
19126       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
19127     }
19128   }
19129   {
19130     result = (svn_error_t *)svn_client_mergeinfo_get_merged(arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,arg5);
19131 
19132 
19133 
19134   }
19135   {
19136     if (result) {
19137       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19138       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19139       svn_swig_rb_handle_svn_error(result);
19140     }
19141     vresult = Qnil;
19142   }
19143   {
19144     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_merge_range(*arg1));
19145   }
19146   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19147   {
19148     VALUE target;
19149     target = _global_vresult_address == &vresult ? self : vresult;
19150     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
19151     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19152     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19153   }
19154   return vresult;
19155 fail:
19156   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19157   {
19158     VALUE target;
19159     target = _global_vresult_address == &vresult ? self : vresult;
19160     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
19161     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19162     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19163   }
19164   return Qnil;
19165 }
19166 
19167 
19168 SWIGINTERN VALUE
_wrap_svn_client_mergeinfo_log2(int argc,VALUE * argv,VALUE self)19169 _wrap_svn_client_mergeinfo_log2(int argc, VALUE *argv, VALUE self) {
19170   svn_boolean_t arg1 ;
19171   char *arg2 = (char *) 0 ;
19172   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
19173   char *arg4 = (char *) 0 ;
19174   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
19175   svn_opt_revision_t *arg6 = (svn_opt_revision_t *) 0 ;
19176   svn_opt_revision_t *arg7 = (svn_opt_revision_t *) 0 ;
19177   svn_log_entry_receiver_t arg8 = (svn_log_entry_receiver_t) 0 ;
19178   void *arg9 = (void *) 0 ;
19179   svn_boolean_t arg10 ;
19180   svn_depth_t arg11 ;
19181   apr_array_header_t *arg12 = (apr_array_header_t *) 0 ;
19182   svn_client_ctx_t *arg13 = (svn_client_ctx_t *) 0 ;
19183   apr_pool_t *arg14 = (apr_pool_t *) 0 ;
19184   VALUE _global_svn_swig_rb_pool ;
19185   apr_pool_t *_global_pool ;
19186   int res2 ;
19187   char *buf2 = 0 ;
19188   int alloc2 = 0 ;
19189   svn_opt_revision_t rev3 ;
19190   int res4 ;
19191   char *buf4 = 0 ;
19192   int alloc4 = 0 ;
19193   svn_opt_revision_t rev5 ;
19194   svn_opt_revision_t rev6 ;
19195   svn_opt_revision_t rev7 ;
19196   void *argp13 = 0 ;
19197   int res13 = 0 ;
19198   svn_error_t *result = 0 ;
19199   VALUE vresult = Qnil;
19200 
19201   {
19202     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg14);
19203     _global_pool = arg14;
19204     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
19205   }
19206   if ((argc < 12) || (argc > 13)) {
19207     rb_raise(rb_eArgError, "wrong # of arguments(%d for 12)",argc); SWIG_fail;
19208   }
19209   arg1 = RTEST(argv[0]);
19210   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
19211   if (!SWIG_IsOK(res2)) {
19212     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_mergeinfo_log2", 2, argv[1] ));
19213   }
19214   arg2 = (char *)(buf2);
19215   {
19216     arg3 = &rev3;
19217     svn_swig_rb_set_revision(&rev3, argv[2]);
19218   }
19219   res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
19220   if (!SWIG_IsOK(res4)) {
19221     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_mergeinfo_log2", 4, argv[3] ));
19222   }
19223   arg4 = (char *)(buf4);
19224   {
19225     arg5 = &rev5;
19226     svn_swig_rb_set_revision(&rev5, argv[4]);
19227   }
19228   {
19229     arg6 = &rev6;
19230     svn_swig_rb_set_revision(&rev6, argv[5]);
19231   }
19232   {
19233     arg7 = &rev7;
19234     svn_swig_rb_set_revision(&rev7, argv[6]);
19235   }
19236   {
19237     arg8 = (svn_log_entry_receiver_t) svn_swig_rb_log_entry_receiver;
19238     arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
19239   }
19240   arg10 = RTEST(argv[8]);
19241   {
19242     arg11 = svn_swig_rb_to_depth(argv[9]);
19243   }
19244   {
19245     arg12 = (NIL_P(argv[10])) ? NULL :
19246     svn_swig_rb_strings_to_apr_array(argv[10], _global_pool);
19247   }
19248   res13 = SWIG_ConvertPtr(argv[11], &argp13,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
19249   if (!SWIG_IsOK(res13)) {
19250     SWIG_exception_fail(SWIG_ArgError(res13), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_mergeinfo_log2", 13, argv[11] ));
19251   }
19252   arg13 = (svn_client_ctx_t *)(argp13);
19253   if (argc > 12) {
19254 
19255   }
19256   {
19257     result = (svn_error_t *)svn_client_mergeinfo_log2(arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,(char const *)arg4,(struct svn_opt_revision_t const *)arg5,(struct svn_opt_revision_t const *)arg6,(struct svn_opt_revision_t const *)arg7,arg8,arg9,arg10,arg11,(apr_array_header_t const *)arg12,arg13,arg14);
19258 
19259 
19260 
19261   }
19262   {
19263     if (result) {
19264       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19265       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19266       svn_swig_rb_handle_svn_error(result);
19267     }
19268     vresult = Qnil;
19269   }
19270   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19271   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
19272   {
19273     VALUE target;
19274     target = _global_vresult_address == &vresult ? self : vresult;
19275     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
19276     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19277     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19278   }
19279   return vresult;
19280 fail:
19281   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19282   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
19283   {
19284     VALUE target;
19285     target = _global_vresult_address == &vresult ? self : vresult;
19286     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
19287     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19288     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19289   }
19290   return Qnil;
19291 }
19292 
19293 
19294 SWIGINTERN VALUE
_wrap_svn_client_mergeinfo_log(int argc,VALUE * argv,VALUE self)19295 _wrap_svn_client_mergeinfo_log(int argc, VALUE *argv, VALUE self) {
19296   svn_boolean_t arg1 ;
19297   char *arg2 = (char *) 0 ;
19298   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
19299   char *arg4 = (char *) 0 ;
19300   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
19301   svn_log_entry_receiver_t arg6 = (svn_log_entry_receiver_t) 0 ;
19302   void *arg7 = (void *) 0 ;
19303   svn_boolean_t arg8 ;
19304   svn_depth_t arg9 ;
19305   apr_array_header_t *arg10 = (apr_array_header_t *) 0 ;
19306   svn_client_ctx_t *arg11 = (svn_client_ctx_t *) 0 ;
19307   apr_pool_t *arg12 = (apr_pool_t *) 0 ;
19308   VALUE _global_svn_swig_rb_pool ;
19309   apr_pool_t *_global_pool ;
19310   int res2 ;
19311   char *buf2 = 0 ;
19312   int alloc2 = 0 ;
19313   svn_opt_revision_t rev3 ;
19314   int res4 ;
19315   char *buf4 = 0 ;
19316   int alloc4 = 0 ;
19317   svn_opt_revision_t rev5 ;
19318   void *argp11 = 0 ;
19319   int res11 = 0 ;
19320   svn_error_t *result = 0 ;
19321   VALUE vresult = Qnil;
19322 
19323   {
19324     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg12);
19325     _global_pool = arg12;
19326     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
19327   }
19328   if ((argc < 10) || (argc > 11)) {
19329     rb_raise(rb_eArgError, "wrong # of arguments(%d for 10)",argc); SWIG_fail;
19330   }
19331   arg1 = RTEST(argv[0]);
19332   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
19333   if (!SWIG_IsOK(res2)) {
19334     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_mergeinfo_log", 2, argv[1] ));
19335   }
19336   arg2 = (char *)(buf2);
19337   {
19338     arg3 = &rev3;
19339     svn_swig_rb_set_revision(&rev3, argv[2]);
19340   }
19341   res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
19342   if (!SWIG_IsOK(res4)) {
19343     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_mergeinfo_log", 4, argv[3] ));
19344   }
19345   arg4 = (char *)(buf4);
19346   {
19347     arg5 = &rev5;
19348     svn_swig_rb_set_revision(&rev5, argv[4]);
19349   }
19350   {
19351     arg6 = (svn_log_entry_receiver_t) svn_swig_rb_log_entry_receiver;
19352     arg7 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
19353   }
19354   arg8 = RTEST(argv[6]);
19355   {
19356     arg9 = svn_swig_rb_to_depth(argv[7]);
19357   }
19358   {
19359     arg10 = (NIL_P(argv[8])) ? NULL :
19360     svn_swig_rb_strings_to_apr_array(argv[8], _global_pool);
19361   }
19362   res11 = SWIG_ConvertPtr(argv[9], &argp11,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
19363   if (!SWIG_IsOK(res11)) {
19364     SWIG_exception_fail(SWIG_ArgError(res11), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_mergeinfo_log", 11, argv[9] ));
19365   }
19366   arg11 = (svn_client_ctx_t *)(argp11);
19367   if (argc > 10) {
19368 
19369   }
19370   {
19371     result = (svn_error_t *)svn_client_mergeinfo_log(arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,(char const *)arg4,(struct svn_opt_revision_t const *)arg5,arg6,arg7,arg8,arg9,(apr_array_header_t const *)arg10,arg11,arg12);
19372 
19373 
19374 
19375   }
19376   {
19377     if (result) {
19378       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19379       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19380       svn_swig_rb_handle_svn_error(result);
19381     }
19382     vresult = Qnil;
19383   }
19384   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19385   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
19386   {
19387     VALUE target;
19388     target = _global_vresult_address == &vresult ? self : vresult;
19389     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
19390     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19391     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19392   }
19393   return vresult;
19394 fail:
19395   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19396   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
19397   {
19398     VALUE target;
19399     target = _global_vresult_address == &vresult ? self : vresult;
19400     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
19401     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19402     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19403   }
19404   return Qnil;
19405 }
19406 
19407 
19408 SWIGINTERN VALUE
_wrap_svn_client_mergeinfo_log_merged(int argc,VALUE * argv,VALUE self)19409 _wrap_svn_client_mergeinfo_log_merged(int argc, VALUE *argv, VALUE self) {
19410   char *arg1 = (char *) 0 ;
19411   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
19412   char *arg3 = (char *) 0 ;
19413   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
19414   svn_log_entry_receiver_t arg5 = (svn_log_entry_receiver_t) 0 ;
19415   void *arg6 = (void *) 0 ;
19416   svn_boolean_t arg7 ;
19417   apr_array_header_t *arg8 = (apr_array_header_t *) 0 ;
19418   svn_client_ctx_t *arg9 = (svn_client_ctx_t *) 0 ;
19419   apr_pool_t *arg10 = (apr_pool_t *) 0 ;
19420   VALUE _global_svn_swig_rb_pool ;
19421   apr_pool_t *_global_pool ;
19422   int res1 ;
19423   char *buf1 = 0 ;
19424   int alloc1 = 0 ;
19425   svn_opt_revision_t rev2 ;
19426   int res3 ;
19427   char *buf3 = 0 ;
19428   int alloc3 = 0 ;
19429   svn_opt_revision_t rev4 ;
19430   void *argp9 = 0 ;
19431   int res9 = 0 ;
19432   svn_error_t *result = 0 ;
19433   VALUE vresult = Qnil;
19434 
19435   {
19436     int adjusted_argc = argc;
19437     VALUE *adjusted_argv = argv;
19438 
19439     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
19440       &adjusted_argv);
19441     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
19442       &_global_svn_swig_rb_pool, &arg10);
19443     _global_pool = arg10;
19444     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
19445   }
19446   if ((argc < 7) || (argc > 9)) {
19447     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
19448   }
19449   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
19450   if (!SWIG_IsOK(res1)) {
19451     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_mergeinfo_log_merged", 1, argv[0] ));
19452   }
19453   arg1 = (char *)(buf1);
19454   {
19455     arg2 = &rev2;
19456     svn_swig_rb_set_revision(&rev2, argv[1]);
19457   }
19458   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
19459   if (!SWIG_IsOK(res3)) {
19460     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_mergeinfo_log_merged", 3, argv[2] ));
19461   }
19462   arg3 = (char *)(buf3);
19463   {
19464     arg4 = &rev4;
19465     svn_swig_rb_set_revision(&rev4, argv[3]);
19466   }
19467   {
19468     arg5 = (svn_log_entry_receiver_t) svn_swig_rb_log_entry_receiver;
19469     arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
19470   }
19471   arg7 = RTEST(argv[5]);
19472   {
19473     arg8 = (NIL_P(argv[6])) ? NULL :
19474     svn_swig_rb_strings_to_apr_array(argv[6], _global_pool);
19475   }
19476   if (argc > 7) {
19477     res9 = SWIG_ConvertPtr(argv[7], &argp9,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
19478     if (!SWIG_IsOK(res9)) {
19479       SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_mergeinfo_log_merged", 9, argv[7] ));
19480     }
19481     arg9 = (svn_client_ctx_t *)(argp9);
19482   }
19483   if (argc > 8) {
19484 
19485   }
19486   {
19487     if (!arg2) {
19488       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
19489     }
19490   }
19491   {
19492     result = (svn_error_t *)svn_client_mergeinfo_log_merged((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,arg5,arg6,arg7,(apr_array_header_t const *)arg8,arg9,arg10);
19493 
19494 
19495 
19496   }
19497   {
19498     if (result) {
19499       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19500       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19501       svn_swig_rb_handle_svn_error(result);
19502     }
19503     vresult = Qnil;
19504   }
19505   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
19506   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
19507   {
19508     VALUE target;
19509     target = _global_vresult_address == &vresult ? self : vresult;
19510     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
19511     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19512     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19513   }
19514   return vresult;
19515 fail:
19516   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
19517   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
19518   {
19519     VALUE target;
19520     target = _global_vresult_address == &vresult ? self : vresult;
19521     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
19522     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19523     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19524   }
19525   return Qnil;
19526 }
19527 
19528 
19529 SWIGINTERN VALUE
_wrap_svn_client_mergeinfo_log_eligible(int argc,VALUE * argv,VALUE self)19530 _wrap_svn_client_mergeinfo_log_eligible(int argc, VALUE *argv, VALUE self) {
19531   char *arg1 = (char *) 0 ;
19532   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
19533   char *arg3 = (char *) 0 ;
19534   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
19535   svn_log_entry_receiver_t arg5 = (svn_log_entry_receiver_t) 0 ;
19536   void *arg6 = (void *) 0 ;
19537   svn_boolean_t arg7 ;
19538   apr_array_header_t *arg8 = (apr_array_header_t *) 0 ;
19539   svn_client_ctx_t *arg9 = (svn_client_ctx_t *) 0 ;
19540   apr_pool_t *arg10 = (apr_pool_t *) 0 ;
19541   VALUE _global_svn_swig_rb_pool ;
19542   apr_pool_t *_global_pool ;
19543   int res1 ;
19544   char *buf1 = 0 ;
19545   int alloc1 = 0 ;
19546   svn_opt_revision_t rev2 ;
19547   int res3 ;
19548   char *buf3 = 0 ;
19549   int alloc3 = 0 ;
19550   svn_opt_revision_t rev4 ;
19551   void *argp9 = 0 ;
19552   int res9 = 0 ;
19553   svn_error_t *result = 0 ;
19554   VALUE vresult = Qnil;
19555 
19556   {
19557     int adjusted_argc = argc;
19558     VALUE *adjusted_argv = argv;
19559 
19560     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
19561       &adjusted_argv);
19562     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
19563       &_global_svn_swig_rb_pool, &arg10);
19564     _global_pool = arg10;
19565     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
19566   }
19567   if ((argc < 7) || (argc > 9)) {
19568     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
19569   }
19570   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
19571   if (!SWIG_IsOK(res1)) {
19572     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_mergeinfo_log_eligible", 1, argv[0] ));
19573   }
19574   arg1 = (char *)(buf1);
19575   {
19576     arg2 = &rev2;
19577     svn_swig_rb_set_revision(&rev2, argv[1]);
19578   }
19579   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
19580   if (!SWIG_IsOK(res3)) {
19581     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_mergeinfo_log_eligible", 3, argv[2] ));
19582   }
19583   arg3 = (char *)(buf3);
19584   {
19585     arg4 = &rev4;
19586     svn_swig_rb_set_revision(&rev4, argv[3]);
19587   }
19588   {
19589     arg5 = (svn_log_entry_receiver_t) svn_swig_rb_log_entry_receiver;
19590     arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
19591   }
19592   arg7 = RTEST(argv[5]);
19593   {
19594     arg8 = (NIL_P(argv[6])) ? NULL :
19595     svn_swig_rb_strings_to_apr_array(argv[6], _global_pool);
19596   }
19597   if (argc > 7) {
19598     res9 = SWIG_ConvertPtr(argv[7], &argp9,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
19599     if (!SWIG_IsOK(res9)) {
19600       SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_mergeinfo_log_eligible", 9, argv[7] ));
19601     }
19602     arg9 = (svn_client_ctx_t *)(argp9);
19603   }
19604   if (argc > 8) {
19605 
19606   }
19607   {
19608     if (!arg2) {
19609       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
19610     }
19611   }
19612   {
19613     result = (svn_error_t *)svn_client_mergeinfo_log_eligible((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,arg5,arg6,arg7,(apr_array_header_t const *)arg8,arg9,arg10);
19614 
19615 
19616 
19617   }
19618   {
19619     if (result) {
19620       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19621       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19622       svn_swig_rb_handle_svn_error(result);
19623     }
19624     vresult = Qnil;
19625   }
19626   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
19627   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
19628   {
19629     VALUE target;
19630     target = _global_vresult_address == &vresult ? self : vresult;
19631     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
19632     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19633     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19634   }
19635   return vresult;
19636 fail:
19637   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
19638   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
19639   {
19640     VALUE target;
19641     target = _global_vresult_address == &vresult ? self : vresult;
19642     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
19643     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19644     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19645   }
19646   return Qnil;
19647 }
19648 
19649 
19650 SWIGINTERN VALUE
_wrap_svn_client_vacuum(int argc,VALUE * argv,VALUE self)19651 _wrap_svn_client_vacuum(int argc, VALUE *argv, VALUE self) {
19652   char *arg1 = (char *) 0 ;
19653   svn_boolean_t arg2 ;
19654   svn_boolean_t arg3 ;
19655   svn_boolean_t arg4 ;
19656   svn_boolean_t arg5 ;
19657   svn_boolean_t arg6 ;
19658   svn_client_ctx_t *arg7 = (svn_client_ctx_t *) 0 ;
19659   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
19660   VALUE _global_svn_swig_rb_pool ;
19661   apr_pool_t *_global_pool ;
19662   int res1 ;
19663   char *buf1 = 0 ;
19664   int alloc1 = 0 ;
19665   void *argp7 = 0 ;
19666   int res7 = 0 ;
19667   svn_error_t *result = 0 ;
19668   VALUE vresult = Qnil;
19669 
19670   {
19671     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8);
19672     _global_pool = arg8;
19673     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
19674   }
19675   if ((argc < 7) || (argc > 8)) {
19676     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
19677   }
19678   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
19679   if (!SWIG_IsOK(res1)) {
19680     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_vacuum", 1, argv[0] ));
19681   }
19682   arg1 = (char *)(buf1);
19683   arg2 = RTEST(argv[1]);
19684   arg3 = RTEST(argv[2]);
19685   arg4 = RTEST(argv[3]);
19686   arg5 = RTEST(argv[4]);
19687   arg6 = RTEST(argv[5]);
19688   res7 = SWIG_ConvertPtr(argv[6], &argp7,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
19689   if (!SWIG_IsOK(res7)) {
19690     SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_vacuum", 7, argv[6] ));
19691   }
19692   arg7 = (svn_client_ctx_t *)(argp7);
19693   if (argc > 7) {
19694 
19695   }
19696   {
19697     result = (svn_error_t *)svn_client_vacuum((char const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
19698 
19699 
19700 
19701   }
19702   {
19703     if (result) {
19704       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19705       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19706       svn_swig_rb_handle_svn_error(result);
19707     }
19708     vresult = Qnil;
19709   }
19710   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
19711   {
19712     VALUE target;
19713     target = _global_vresult_address == &vresult ? self : vresult;
19714     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
19715     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19716     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19717   }
19718   return vresult;
19719 fail:
19720   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
19721   {
19722     VALUE target;
19723     target = _global_vresult_address == &vresult ? self : vresult;
19724     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
19725     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19726     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19727   }
19728   return Qnil;
19729 }
19730 
19731 
19732 SWIGINTERN VALUE
_wrap_svn_client_cleanup2(int argc,VALUE * argv,VALUE self)19733 _wrap_svn_client_cleanup2(int argc, VALUE *argv, VALUE self) {
19734   char *arg1 = (char *) 0 ;
19735   svn_boolean_t arg2 ;
19736   svn_boolean_t arg3 ;
19737   svn_boolean_t arg4 ;
19738   svn_boolean_t arg5 ;
19739   svn_boolean_t arg6 ;
19740   svn_client_ctx_t *arg7 = (svn_client_ctx_t *) 0 ;
19741   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
19742   VALUE _global_svn_swig_rb_pool ;
19743   apr_pool_t *_global_pool ;
19744   int res1 ;
19745   char *buf1 = 0 ;
19746   int alloc1 = 0 ;
19747   void *argp7 = 0 ;
19748   int res7 = 0 ;
19749   svn_error_t *result = 0 ;
19750   VALUE vresult = Qnil;
19751 
19752   {
19753     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8);
19754     _global_pool = arg8;
19755     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
19756   }
19757   if ((argc < 7) || (argc > 8)) {
19758     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
19759   }
19760   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
19761   if (!SWIG_IsOK(res1)) {
19762     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_cleanup2", 1, argv[0] ));
19763   }
19764   arg1 = (char *)(buf1);
19765   arg2 = RTEST(argv[1]);
19766   arg3 = RTEST(argv[2]);
19767   arg4 = RTEST(argv[3]);
19768   arg5 = RTEST(argv[4]);
19769   arg6 = RTEST(argv[5]);
19770   res7 = SWIG_ConvertPtr(argv[6], &argp7,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
19771   if (!SWIG_IsOK(res7)) {
19772     SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_cleanup2", 7, argv[6] ));
19773   }
19774   arg7 = (svn_client_ctx_t *)(argp7);
19775   if (argc > 7) {
19776 
19777   }
19778   {
19779     result = (svn_error_t *)svn_client_cleanup2((char const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
19780 
19781 
19782 
19783   }
19784   {
19785     if (result) {
19786       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19787       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19788       svn_swig_rb_handle_svn_error(result);
19789     }
19790     vresult = Qnil;
19791   }
19792   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
19793   {
19794     VALUE target;
19795     target = _global_vresult_address == &vresult ? self : vresult;
19796     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
19797     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19798     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19799   }
19800   return vresult;
19801 fail:
19802   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
19803   {
19804     VALUE target;
19805     target = _global_vresult_address == &vresult ? self : vresult;
19806     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
19807     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19808     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19809   }
19810   return Qnil;
19811 }
19812 
19813 
19814 SWIGINTERN VALUE
_wrap_svn_client_cleanup(int argc,VALUE * argv,VALUE self)19815 _wrap_svn_client_cleanup(int argc, VALUE *argv, VALUE self) {
19816   char *arg1 = (char *) 0 ;
19817   svn_client_ctx_t *arg2 = (svn_client_ctx_t *) 0 ;
19818   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
19819   VALUE _global_svn_swig_rb_pool ;
19820   apr_pool_t *_global_pool ;
19821   int res1 ;
19822   char *buf1 = 0 ;
19823   int alloc1 = 0 ;
19824   void *argp2 = 0 ;
19825   int res2 = 0 ;
19826   svn_error_t *result = 0 ;
19827   VALUE vresult = Qnil;
19828 
19829   {
19830     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
19831     _global_pool = arg3;
19832     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
19833   }
19834   if ((argc < 2) || (argc > 3)) {
19835     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
19836   }
19837   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
19838   if (!SWIG_IsOK(res1)) {
19839     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_cleanup", 1, argv[0] ));
19840   }
19841   arg1 = (char *)(buf1);
19842   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
19843   if (!SWIG_IsOK(res2)) {
19844     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_cleanup", 2, argv[1] ));
19845   }
19846   arg2 = (svn_client_ctx_t *)(argp2);
19847   if (argc > 2) {
19848 
19849   }
19850   {
19851     result = (svn_error_t *)svn_client_cleanup((char const *)arg1,arg2,arg3);
19852 
19853 
19854 
19855   }
19856   {
19857     if (result) {
19858       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19859       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19860       svn_swig_rb_handle_svn_error(result);
19861     }
19862     vresult = Qnil;
19863   }
19864   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
19865   {
19866     VALUE target;
19867     target = _global_vresult_address == &vresult ? self : vresult;
19868     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
19869     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19870     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19871   }
19872   return vresult;
19873 fail:
19874   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
19875   {
19876     VALUE target;
19877     target = _global_vresult_address == &vresult ? self : vresult;
19878     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
19879     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19880     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19881   }
19882   return Qnil;
19883 }
19884 
19885 
19886 SWIGINTERN VALUE
_wrap_svn_client_upgrade(int argc,VALUE * argv,VALUE self)19887 _wrap_svn_client_upgrade(int argc, VALUE *argv, VALUE self) {
19888   char *arg1 = (char *) 0 ;
19889   svn_client_ctx_t *arg2 = (svn_client_ctx_t *) 0 ;
19890   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
19891   VALUE _global_svn_swig_rb_pool ;
19892   apr_pool_t *_global_pool ;
19893   int res1 ;
19894   char *buf1 = 0 ;
19895   int alloc1 = 0 ;
19896   void *argp2 = 0 ;
19897   int res2 = 0 ;
19898   svn_error_t *result = 0 ;
19899   VALUE vresult = Qnil;
19900 
19901   {
19902     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
19903     _global_pool = arg3;
19904     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
19905   }
19906   if ((argc < 2) || (argc > 3)) {
19907     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
19908   }
19909   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
19910   if (!SWIG_IsOK(res1)) {
19911     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_upgrade", 1, argv[0] ));
19912   }
19913   arg1 = (char *)(buf1);
19914   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
19915   if (!SWIG_IsOK(res2)) {
19916     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_upgrade", 2, argv[1] ));
19917   }
19918   arg2 = (svn_client_ctx_t *)(argp2);
19919   if (argc > 2) {
19920 
19921   }
19922   {
19923     result = (svn_error_t *)svn_client_upgrade((char const *)arg1,arg2,arg3);
19924 
19925 
19926 
19927   }
19928   {
19929     if (result) {
19930       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19931       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19932       svn_swig_rb_handle_svn_error(result);
19933     }
19934     vresult = Qnil;
19935   }
19936   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
19937   {
19938     VALUE target;
19939     target = _global_vresult_address == &vresult ? self : vresult;
19940     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
19941     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19942     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19943   }
19944   return vresult;
19945 fail:
19946   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
19947   {
19948     VALUE target;
19949     target = _global_vresult_address == &vresult ? self : vresult;
19950     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
19951     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
19952     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
19953   }
19954   return Qnil;
19955 }
19956 
19957 
19958 SWIGINTERN VALUE
_wrap_svn_client_relocate2(int argc,VALUE * argv,VALUE self)19959 _wrap_svn_client_relocate2(int argc, VALUE *argv, VALUE self) {
19960   char *arg1 = (char *) 0 ;
19961   char *arg2 = (char *) 0 ;
19962   char *arg3 = (char *) 0 ;
19963   svn_boolean_t arg4 ;
19964   svn_client_ctx_t *arg5 = (svn_client_ctx_t *) 0 ;
19965   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
19966   VALUE _global_svn_swig_rb_pool ;
19967   apr_pool_t *_global_pool ;
19968   int res1 ;
19969   char *buf1 = 0 ;
19970   int alloc1 = 0 ;
19971   int res2 ;
19972   char *buf2 = 0 ;
19973   int alloc2 = 0 ;
19974   int res3 ;
19975   char *buf3 = 0 ;
19976   int alloc3 = 0 ;
19977   void *argp5 = 0 ;
19978   int res5 = 0 ;
19979   svn_error_t *result = 0 ;
19980   VALUE vresult = Qnil;
19981 
19982   {
19983     int adjusted_argc = argc;
19984     VALUE *adjusted_argv = argv;
19985 
19986     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
19987       &adjusted_argv);
19988     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
19989       &_global_svn_swig_rb_pool, &arg6);
19990     _global_pool = arg6;
19991     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
19992   }
19993   if ((argc < 4) || (argc > 6)) {
19994     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
19995   }
19996   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
19997   if (!SWIG_IsOK(res1)) {
19998     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_relocate2", 1, argv[0] ));
19999   }
20000   arg1 = (char *)(buf1);
20001   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
20002   if (!SWIG_IsOK(res2)) {
20003     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_relocate2", 2, argv[1] ));
20004   }
20005   arg2 = (char *)(buf2);
20006   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
20007   if (!SWIG_IsOK(res3)) {
20008     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_relocate2", 3, argv[2] ));
20009   }
20010   arg3 = (char *)(buf3);
20011   arg4 = RTEST(argv[3]);
20012   if (argc > 4) {
20013     res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
20014     if (!SWIG_IsOK(res5)) {
20015       SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_relocate2", 5, argv[4] ));
20016     }
20017     arg5 = (svn_client_ctx_t *)(argp5);
20018   }
20019   if (argc > 5) {
20020 
20021   }
20022   {
20023     result = (svn_error_t *)svn_client_relocate2((char const *)arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6);
20024 
20025 
20026 
20027   }
20028   {
20029     if (result) {
20030       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20031       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20032       svn_swig_rb_handle_svn_error(result);
20033     }
20034     vresult = Qnil;
20035   }
20036   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
20037   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20038   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
20039   {
20040     VALUE target;
20041     target = _global_vresult_address == &vresult ? self : vresult;
20042     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20043     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20044     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20045   }
20046   return vresult;
20047 fail:
20048   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
20049   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20050   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
20051   {
20052     VALUE target;
20053     target = _global_vresult_address == &vresult ? self : vresult;
20054     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20055     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20056     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20057   }
20058   return Qnil;
20059 }
20060 
20061 
20062 SWIGINTERN VALUE
_wrap_svn_client_relocate(int argc,VALUE * argv,VALUE self)20063 _wrap_svn_client_relocate(int argc, VALUE *argv, VALUE self) {
20064   char *arg1 = (char *) 0 ;
20065   char *arg2 = (char *) 0 ;
20066   char *arg3 = (char *) 0 ;
20067   svn_boolean_t arg4 ;
20068   svn_client_ctx_t *arg5 = (svn_client_ctx_t *) 0 ;
20069   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
20070   VALUE _global_svn_swig_rb_pool ;
20071   apr_pool_t *_global_pool ;
20072   int res1 ;
20073   char *buf1 = 0 ;
20074   int alloc1 = 0 ;
20075   int res2 ;
20076   char *buf2 = 0 ;
20077   int alloc2 = 0 ;
20078   int res3 ;
20079   char *buf3 = 0 ;
20080   int alloc3 = 0 ;
20081   void *argp5 = 0 ;
20082   int res5 = 0 ;
20083   svn_error_t *result = 0 ;
20084   VALUE vresult = Qnil;
20085 
20086   {
20087     int adjusted_argc = argc;
20088     VALUE *adjusted_argv = argv;
20089 
20090     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
20091       &adjusted_argv);
20092     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
20093       &_global_svn_swig_rb_pool, &arg6);
20094     _global_pool = arg6;
20095     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
20096   }
20097   if ((argc < 4) || (argc > 6)) {
20098     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
20099   }
20100   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
20101   if (!SWIG_IsOK(res1)) {
20102     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_relocate", 1, argv[0] ));
20103   }
20104   arg1 = (char *)(buf1);
20105   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
20106   if (!SWIG_IsOK(res2)) {
20107     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_relocate", 2, argv[1] ));
20108   }
20109   arg2 = (char *)(buf2);
20110   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
20111   if (!SWIG_IsOK(res3)) {
20112     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_relocate", 3, argv[2] ));
20113   }
20114   arg3 = (char *)(buf3);
20115   arg4 = RTEST(argv[3]);
20116   if (argc > 4) {
20117     res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
20118     if (!SWIG_IsOK(res5)) {
20119       SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_relocate", 5, argv[4] ));
20120     }
20121     arg5 = (svn_client_ctx_t *)(argp5);
20122   }
20123   if (argc > 5) {
20124 
20125   }
20126   {
20127     result = (svn_error_t *)svn_client_relocate((char const *)arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6);
20128 
20129 
20130 
20131   }
20132   {
20133     if (result) {
20134       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20135       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20136       svn_swig_rb_handle_svn_error(result);
20137     }
20138     vresult = Qnil;
20139   }
20140   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
20141   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20142   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
20143   {
20144     VALUE target;
20145     target = _global_vresult_address == &vresult ? self : vresult;
20146     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20147     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20148     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20149   }
20150   return vresult;
20151 fail:
20152   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
20153   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20154   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
20155   {
20156     VALUE target;
20157     target = _global_vresult_address == &vresult ? self : vresult;
20158     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20159     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20160     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20161   }
20162   return Qnil;
20163 }
20164 
20165 
20166 SWIGINTERN VALUE
_wrap_svn_client_revert4(int argc,VALUE * argv,VALUE self)20167 _wrap_svn_client_revert4(int argc, VALUE *argv, VALUE self) {
20168   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
20169   svn_depth_t arg2 ;
20170   apr_array_header_t *arg3 = (apr_array_header_t *) 0 ;
20171   svn_boolean_t arg4 ;
20172   svn_boolean_t arg5 ;
20173   svn_boolean_t arg6 ;
20174   svn_client_ctx_t *arg7 = (svn_client_ctx_t *) 0 ;
20175   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
20176   VALUE _global_svn_swig_rb_pool ;
20177   apr_pool_t *_global_pool ;
20178   void *argp7 = 0 ;
20179   int res7 = 0 ;
20180   svn_error_t *result = 0 ;
20181   VALUE vresult = Qnil;
20182 
20183   {
20184     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8);
20185     _global_pool = arg8;
20186     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
20187   }
20188   if ((argc < 7) || (argc > 8)) {
20189     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
20190   }
20191   {
20192     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
20193   }
20194   {
20195     arg2 = svn_swig_rb_to_depth(argv[1]);
20196   }
20197   {
20198     arg3 = (NIL_P(argv[2])) ? NULL :
20199     svn_swig_rb_strings_to_apr_array(argv[2], _global_pool);
20200   }
20201   arg4 = RTEST(argv[3]);
20202   arg5 = RTEST(argv[4]);
20203   arg6 = RTEST(argv[5]);
20204   res7 = SWIG_ConvertPtr(argv[6], &argp7,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
20205   if (!SWIG_IsOK(res7)) {
20206     SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_revert4", 7, argv[6] ));
20207   }
20208   arg7 = (svn_client_ctx_t *)(argp7);
20209   if (argc > 7) {
20210 
20211   }
20212   {
20213     result = (svn_error_t *)svn_client_revert4((apr_array_header_t const *)arg1,arg2,(apr_array_header_t const *)arg3,arg4,arg5,arg6,arg7,arg8);
20214 
20215 
20216 
20217   }
20218   {
20219     if (result) {
20220       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20221       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20222       svn_swig_rb_handle_svn_error(result);
20223     }
20224     vresult = Qnil;
20225   }
20226   {
20227     VALUE target;
20228     target = _global_vresult_address == &vresult ? self : vresult;
20229     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20230     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20231     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20232   }
20233   return vresult;
20234 fail:
20235   {
20236     VALUE target;
20237     target = _global_vresult_address == &vresult ? self : vresult;
20238     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20239     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20240     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20241   }
20242   return Qnil;
20243 }
20244 
20245 
20246 SWIGINTERN VALUE
_wrap_svn_client_revert3(int argc,VALUE * argv,VALUE self)20247 _wrap_svn_client_revert3(int argc, VALUE *argv, VALUE self) {
20248   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
20249   svn_depth_t arg2 ;
20250   apr_array_header_t *arg3 = (apr_array_header_t *) 0 ;
20251   svn_boolean_t arg4 ;
20252   svn_boolean_t arg5 ;
20253   svn_client_ctx_t *arg6 = (svn_client_ctx_t *) 0 ;
20254   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
20255   VALUE _global_svn_swig_rb_pool ;
20256   apr_pool_t *_global_pool ;
20257   void *argp6 = 0 ;
20258   int res6 = 0 ;
20259   svn_error_t *result = 0 ;
20260   VALUE vresult = Qnil;
20261 
20262   {
20263     int adjusted_argc = argc;
20264     VALUE *adjusted_argv = argv;
20265 
20266     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
20267       &adjusted_argv);
20268     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
20269       &_global_svn_swig_rb_pool, &arg7);
20270     _global_pool = arg7;
20271     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
20272   }
20273   if ((argc < 5) || (argc > 7)) {
20274     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
20275   }
20276   {
20277     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
20278   }
20279   {
20280     arg2 = svn_swig_rb_to_depth(argv[1]);
20281   }
20282   {
20283     arg3 = (NIL_P(argv[2])) ? NULL :
20284     svn_swig_rb_strings_to_apr_array(argv[2], _global_pool);
20285   }
20286   arg4 = RTEST(argv[3]);
20287   arg5 = RTEST(argv[4]);
20288   if (argc > 5) {
20289     res6 = SWIG_ConvertPtr(argv[5], &argp6,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
20290     if (!SWIG_IsOK(res6)) {
20291       SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_revert3", 6, argv[5] ));
20292     }
20293     arg6 = (svn_client_ctx_t *)(argp6);
20294   }
20295   if (argc > 6) {
20296 
20297   }
20298   {
20299     result = (svn_error_t *)svn_client_revert3((apr_array_header_t const *)arg1,arg2,(apr_array_header_t const *)arg3,arg4,arg5,arg6,arg7);
20300 
20301 
20302 
20303   }
20304   {
20305     if (result) {
20306       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20307       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20308       svn_swig_rb_handle_svn_error(result);
20309     }
20310     vresult = Qnil;
20311   }
20312   {
20313     VALUE target;
20314     target = _global_vresult_address == &vresult ? self : vresult;
20315     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20316     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20317     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20318   }
20319   return vresult;
20320 fail:
20321   {
20322     VALUE target;
20323     target = _global_vresult_address == &vresult ? self : vresult;
20324     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20325     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20326     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20327   }
20328   return Qnil;
20329 }
20330 
20331 
20332 SWIGINTERN VALUE
_wrap_svn_client_revert2(int argc,VALUE * argv,VALUE self)20333 _wrap_svn_client_revert2(int argc, VALUE *argv, VALUE self) {
20334   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
20335   svn_depth_t arg2 ;
20336   apr_array_header_t *arg3 = (apr_array_header_t *) 0 ;
20337   svn_client_ctx_t *arg4 = (svn_client_ctx_t *) 0 ;
20338   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
20339   VALUE _global_svn_swig_rb_pool ;
20340   apr_pool_t *_global_pool ;
20341   void *argp4 = 0 ;
20342   int res4 = 0 ;
20343   svn_error_t *result = 0 ;
20344   VALUE vresult = Qnil;
20345 
20346   {
20347     int adjusted_argc = argc;
20348     VALUE *adjusted_argv = argv;
20349 
20350     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
20351       &adjusted_argv);
20352     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
20353       &_global_svn_swig_rb_pool, &arg5);
20354     _global_pool = arg5;
20355     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
20356   }
20357   if ((argc < 3) || (argc > 5)) {
20358     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
20359   }
20360   {
20361     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
20362   }
20363   {
20364     arg2 = svn_swig_rb_to_depth(argv[1]);
20365   }
20366   {
20367     arg3 = (NIL_P(argv[2])) ? NULL :
20368     svn_swig_rb_strings_to_apr_array(argv[2], _global_pool);
20369   }
20370   if (argc > 3) {
20371     res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
20372     if (!SWIG_IsOK(res4)) {
20373       SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_revert2", 4, argv[3] ));
20374     }
20375     arg4 = (svn_client_ctx_t *)(argp4);
20376   }
20377   if (argc > 4) {
20378 
20379   }
20380   {
20381     result = (svn_error_t *)svn_client_revert2((apr_array_header_t const *)arg1,arg2,(apr_array_header_t const *)arg3,arg4,arg5);
20382 
20383 
20384 
20385   }
20386   {
20387     if (result) {
20388       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20389       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20390       svn_swig_rb_handle_svn_error(result);
20391     }
20392     vresult = Qnil;
20393   }
20394   {
20395     VALUE target;
20396     target = _global_vresult_address == &vresult ? self : vresult;
20397     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20398     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20399     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20400   }
20401   return vresult;
20402 fail:
20403   {
20404     VALUE target;
20405     target = _global_vresult_address == &vresult ? self : vresult;
20406     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20407     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20408     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20409   }
20410   return Qnil;
20411 }
20412 
20413 
20414 SWIGINTERN VALUE
_wrap_svn_client_revert(int argc,VALUE * argv,VALUE self)20415 _wrap_svn_client_revert(int argc, VALUE *argv, VALUE self) {
20416   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
20417   svn_boolean_t arg2 ;
20418   svn_client_ctx_t *arg3 = (svn_client_ctx_t *) 0 ;
20419   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
20420   VALUE _global_svn_swig_rb_pool ;
20421   apr_pool_t *_global_pool ;
20422   void *argp3 = 0 ;
20423   int res3 = 0 ;
20424   svn_error_t *result = 0 ;
20425   VALUE vresult = Qnil;
20426 
20427   {
20428     int adjusted_argc = argc;
20429     VALUE *adjusted_argv = argv;
20430 
20431     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
20432       &adjusted_argv);
20433     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
20434       &_global_svn_swig_rb_pool, &arg4);
20435     _global_pool = arg4;
20436     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
20437   }
20438   if ((argc < 2) || (argc > 4)) {
20439     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
20440   }
20441   {
20442     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
20443   }
20444   arg2 = RTEST(argv[1]);
20445   if (argc > 2) {
20446     res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
20447     if (!SWIG_IsOK(res3)) {
20448       SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_revert", 3, argv[2] ));
20449     }
20450     arg3 = (svn_client_ctx_t *)(argp3);
20451   }
20452   if (argc > 3) {
20453 
20454   }
20455   {
20456     result = (svn_error_t *)svn_client_revert((apr_array_header_t const *)arg1,arg2,arg3,arg4);
20457 
20458 
20459 
20460   }
20461   {
20462     if (result) {
20463       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20464       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20465       svn_swig_rb_handle_svn_error(result);
20466     }
20467     vresult = Qnil;
20468   }
20469   {
20470     VALUE target;
20471     target = _global_vresult_address == &vresult ? self : vresult;
20472     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20473     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20474     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20475   }
20476   return vresult;
20477 fail:
20478   {
20479     VALUE target;
20480     target = _global_vresult_address == &vresult ? self : vresult;
20481     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20482     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20483     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20484   }
20485   return Qnil;
20486 }
20487 
20488 
20489 SWIGINTERN VALUE
_wrap_svn_client_conflict_option_set_merged_propval(int argc,VALUE * argv,VALUE self)20490 _wrap_svn_client_conflict_option_set_merged_propval(int argc, VALUE *argv, VALUE self) {
20491   svn_client_conflict_option_t *arg1 = (svn_client_conflict_option_t *) 0 ;
20492   svn_string_t *arg2 = (svn_string_t *) 0 ;
20493   void *argp1 = 0 ;
20494   int res1 = 0 ;
20495   svn_string_t value2 ;
20496 
20497   if ((argc < 2) || (argc > 2)) {
20498     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
20499   }
20500   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_option_t, 0 |  0 );
20501   if (!SWIG_IsOK(res1)) {
20502     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_option_t *","svn_client_conflict_option_set_merged_propval", 1, argv[0] ));
20503   }
20504   arg1 = (svn_client_conflict_option_t *)(argp1);
20505   {
20506     if (NIL_P(argv[1])) {
20507       arg2 = NULL;
20508     } else {
20509       value2.data = StringValuePtr(argv[1]);
20510       value2.len = RSTRING_LEN(argv[1]);
20511       arg2 = &value2;
20512     }
20513   }
20514   {
20515     svn_client_conflict_option_set_merged_propval(arg1,(struct svn_string_t const *)arg2);
20516 
20517 
20518 
20519   }
20520   return Qnil;
20521 fail:
20522   return Qnil;
20523 }
20524 
20525 
20526 SWIGINTERN VALUE
_wrap_svn_client_conflict_option_get_moved_to_repos_relpath_candidates2(int argc,VALUE * argv,VALUE self)20527 _wrap_svn_client_conflict_option_get_moved_to_repos_relpath_candidates2(int argc, VALUE *argv, VALUE self) {
20528   apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
20529   svn_client_conflict_option_t *arg2 = (svn_client_conflict_option_t *) 0 ;
20530   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
20531   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
20532   VALUE _global_svn_swig_rb_pool ;
20533   apr_pool_t *_global_pool ;
20534   apr_array_header_t *temp1 ;
20535   void *argp2 = 0 ;
20536   int res2 = 0 ;
20537   svn_error_t *result = 0 ;
20538   VALUE vresult = Qnil;
20539 
20540   {
20541     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
20542     _global_pool = arg3;
20543     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
20544   }
20545   {
20546     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
20547     _global_pool = arg4;
20548     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
20549   }
20550   arg1 = &temp1;
20551   if ((argc < 1) || (argc > 3)) {
20552     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
20553   }
20554   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_client_conflict_option_t, 0 |  0 );
20555   if (!SWIG_IsOK(res2)) {
20556     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_client_conflict_option_t *","svn_client_conflict_option_get_moved_to_repos_relpath_candidates2", 2, argv[0] ));
20557   }
20558   arg2 = (svn_client_conflict_option_t *)(argp2);
20559   if (argc > 1) {
20560 
20561   }
20562   if (argc > 2) {
20563 
20564   }
20565   {
20566     result = (svn_error_t *)svn_client_conflict_option_get_moved_to_repos_relpath_candidates2(arg1,arg2,arg3,arg4);
20567 
20568 
20569 
20570   }
20571   {
20572     if (result) {
20573       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20574       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20575       svn_swig_rb_handle_svn_error(result);
20576     }
20577     vresult = Qnil;
20578   }
20579   {
20580     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_array_to_array_string(*arg1));
20581   }
20582   {
20583     VALUE target;
20584     target = _global_vresult_address == &vresult ? self : vresult;
20585     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20586     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20587     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20588   }
20589   {
20590     VALUE target;
20591     target = _global_vresult_address == &vresult ? self : vresult;
20592     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20593     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20594     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20595   }
20596   return vresult;
20597 fail:
20598   {
20599     VALUE target;
20600     target = _global_vresult_address == &vresult ? self : vresult;
20601     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20602     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20603     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20604   }
20605   {
20606     VALUE target;
20607     target = _global_vresult_address == &vresult ? self : vresult;
20608     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20609     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20610     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20611   }
20612   return Qnil;
20613 }
20614 
20615 
20616 SWIGINTERN VALUE
_wrap_svn_client_conflict_option_get_moved_to_repos_relpath_candidates(int argc,VALUE * argv,VALUE self)20617 _wrap_svn_client_conflict_option_get_moved_to_repos_relpath_candidates(int argc, VALUE *argv, VALUE self) {
20618   apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
20619   svn_client_conflict_option_t *arg2 = (svn_client_conflict_option_t *) 0 ;
20620   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
20621   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
20622   VALUE _global_svn_swig_rb_pool ;
20623   apr_pool_t *_global_pool ;
20624   apr_array_header_t *temp1 ;
20625   void *argp2 = 0 ;
20626   int res2 = 0 ;
20627   svn_error_t *result = 0 ;
20628   VALUE vresult = Qnil;
20629 
20630   {
20631     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
20632     _global_pool = arg3;
20633     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
20634   }
20635   {
20636     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
20637     _global_pool = arg4;
20638     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
20639   }
20640   arg1 = &temp1;
20641   if ((argc < 1) || (argc > 3)) {
20642     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
20643   }
20644   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_client_conflict_option_t, 0 |  0 );
20645   if (!SWIG_IsOK(res2)) {
20646     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_client_conflict_option_t *","svn_client_conflict_option_get_moved_to_repos_relpath_candidates", 2, argv[0] ));
20647   }
20648   arg2 = (svn_client_conflict_option_t *)(argp2);
20649   if (argc > 1) {
20650 
20651   }
20652   if (argc > 2) {
20653 
20654   }
20655   {
20656     result = (svn_error_t *)svn_client_conflict_option_get_moved_to_repos_relpath_candidates(arg1,arg2,arg3,arg4);
20657 
20658 
20659 
20660   }
20661   {
20662     if (result) {
20663       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20664       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20665       svn_swig_rb_handle_svn_error(result);
20666     }
20667     vresult = Qnil;
20668   }
20669   {
20670     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_array_to_array_string(*arg1));
20671   }
20672   {
20673     VALUE target;
20674     target = _global_vresult_address == &vresult ? self : vresult;
20675     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20676     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20677     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20678   }
20679   {
20680     VALUE target;
20681     target = _global_vresult_address == &vresult ? self : vresult;
20682     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20683     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20684     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20685   }
20686   return vresult;
20687 fail:
20688   {
20689     VALUE target;
20690     target = _global_vresult_address == &vresult ? self : vresult;
20691     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20692     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20693     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20694   }
20695   {
20696     VALUE target;
20697     target = _global_vresult_address == &vresult ? self : vresult;
20698     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20699     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20700     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20701   }
20702   return Qnil;
20703 }
20704 
20705 
20706 SWIGINTERN VALUE
_wrap_svn_client_conflict_option_set_moved_to_repos_relpath2(int argc,VALUE * argv,VALUE self)20707 _wrap_svn_client_conflict_option_set_moved_to_repos_relpath2(int argc, VALUE *argv, VALUE self) {
20708   svn_client_conflict_option_t *arg1 = (svn_client_conflict_option_t *) 0 ;
20709   int arg2 ;
20710   svn_client_ctx_t *arg3 = (svn_client_ctx_t *) 0 ;
20711   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
20712   VALUE _global_svn_swig_rb_pool ;
20713   apr_pool_t *_global_pool ;
20714   void *argp1 = 0 ;
20715   int res1 = 0 ;
20716   int val2 ;
20717   int ecode2 = 0 ;
20718   void *argp3 = 0 ;
20719   int res3 = 0 ;
20720   svn_error_t *result = 0 ;
20721   VALUE vresult = Qnil;
20722 
20723   {
20724     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
20725     _global_pool = arg4;
20726     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
20727   }
20728   if ((argc < 3) || (argc > 4)) {
20729     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
20730   }
20731   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_option_t, 0 |  0 );
20732   if (!SWIG_IsOK(res1)) {
20733     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_option_t *","svn_client_conflict_option_set_moved_to_repos_relpath2", 1, argv[0] ));
20734   }
20735   arg1 = (svn_client_conflict_option_t *)(argp1);
20736   ecode2 = SWIG_AsVal_int(argv[1], &val2);
20737   if (!SWIG_IsOK(ecode2)) {
20738     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","svn_client_conflict_option_set_moved_to_repos_relpath2", 2, argv[1] ));
20739   }
20740   arg2 = (int)(val2);
20741   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
20742   if (!SWIG_IsOK(res3)) {
20743     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_conflict_option_set_moved_to_repos_relpath2", 3, argv[2] ));
20744   }
20745   arg3 = (svn_client_ctx_t *)(argp3);
20746   if (argc > 3) {
20747 
20748   }
20749   {
20750     result = (svn_error_t *)svn_client_conflict_option_set_moved_to_repos_relpath2(arg1,arg2,arg3,arg4);
20751 
20752 
20753 
20754   }
20755   {
20756     if (result) {
20757       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20758       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20759       svn_swig_rb_handle_svn_error(result);
20760     }
20761     vresult = Qnil;
20762   }
20763   {
20764     VALUE target;
20765     target = _global_vresult_address == &vresult ? self : vresult;
20766     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20767     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20768     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20769   }
20770   return vresult;
20771 fail:
20772   {
20773     VALUE target;
20774     target = _global_vresult_address == &vresult ? self : vresult;
20775     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20776     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20777     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20778   }
20779   return Qnil;
20780 }
20781 
20782 
20783 SWIGINTERN VALUE
_wrap_svn_client_conflict_option_set_moved_to_repos_relpath(int argc,VALUE * argv,VALUE self)20784 _wrap_svn_client_conflict_option_set_moved_to_repos_relpath(int argc, VALUE *argv, VALUE self) {
20785   svn_client_conflict_option_t *arg1 = (svn_client_conflict_option_t *) 0 ;
20786   int arg2 ;
20787   svn_client_ctx_t *arg3 = (svn_client_ctx_t *) 0 ;
20788   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
20789   VALUE _global_svn_swig_rb_pool ;
20790   apr_pool_t *_global_pool ;
20791   void *argp1 = 0 ;
20792   int res1 = 0 ;
20793   int val2 ;
20794   int ecode2 = 0 ;
20795   void *argp3 = 0 ;
20796   int res3 = 0 ;
20797   svn_error_t *result = 0 ;
20798   VALUE vresult = Qnil;
20799 
20800   {
20801     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
20802     _global_pool = arg4;
20803     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
20804   }
20805   if ((argc < 3) || (argc > 4)) {
20806     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
20807   }
20808   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_option_t, 0 |  0 );
20809   if (!SWIG_IsOK(res1)) {
20810     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_option_t *","svn_client_conflict_option_set_moved_to_repos_relpath", 1, argv[0] ));
20811   }
20812   arg1 = (svn_client_conflict_option_t *)(argp1);
20813   ecode2 = SWIG_AsVal_int(argv[1], &val2);
20814   if (!SWIG_IsOK(ecode2)) {
20815     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","svn_client_conflict_option_set_moved_to_repos_relpath", 2, argv[1] ));
20816   }
20817   arg2 = (int)(val2);
20818   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
20819   if (!SWIG_IsOK(res3)) {
20820     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_conflict_option_set_moved_to_repos_relpath", 3, argv[2] ));
20821   }
20822   arg3 = (svn_client_ctx_t *)(argp3);
20823   if (argc > 3) {
20824 
20825   }
20826   {
20827     result = (svn_error_t *)svn_client_conflict_option_set_moved_to_repos_relpath(arg1,arg2,arg3,arg4);
20828 
20829 
20830 
20831   }
20832   {
20833     if (result) {
20834       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20835       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20836       svn_swig_rb_handle_svn_error(result);
20837     }
20838     vresult = Qnil;
20839   }
20840   {
20841     VALUE target;
20842     target = _global_vresult_address == &vresult ? self : vresult;
20843     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20844     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20845     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20846   }
20847   return vresult;
20848 fail:
20849   {
20850     VALUE target;
20851     target = _global_vresult_address == &vresult ? self : vresult;
20852     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20853     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20854     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20855   }
20856   return Qnil;
20857 }
20858 
20859 
20860 SWIGINTERN VALUE
_wrap_svn_client_conflict_option_get_moved_to_abspath_candidates2(int argc,VALUE * argv,VALUE self)20861 _wrap_svn_client_conflict_option_get_moved_to_abspath_candidates2(int argc, VALUE *argv, VALUE self) {
20862   apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
20863   svn_client_conflict_option_t *arg2 = (svn_client_conflict_option_t *) 0 ;
20864   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
20865   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
20866   VALUE _global_svn_swig_rb_pool ;
20867   apr_pool_t *_global_pool ;
20868   apr_array_header_t *temp1 ;
20869   void *argp2 = 0 ;
20870   int res2 = 0 ;
20871   svn_error_t *result = 0 ;
20872   VALUE vresult = Qnil;
20873 
20874   {
20875     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
20876     _global_pool = arg3;
20877     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
20878   }
20879   {
20880     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
20881     _global_pool = arg4;
20882     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
20883   }
20884   arg1 = &temp1;
20885   if ((argc < 1) || (argc > 3)) {
20886     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
20887   }
20888   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_client_conflict_option_t, 0 |  0 );
20889   if (!SWIG_IsOK(res2)) {
20890     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_client_conflict_option_t *","svn_client_conflict_option_get_moved_to_abspath_candidates2", 2, argv[0] ));
20891   }
20892   arg2 = (svn_client_conflict_option_t *)(argp2);
20893   if (argc > 1) {
20894 
20895   }
20896   if (argc > 2) {
20897 
20898   }
20899   {
20900     result = (svn_error_t *)svn_client_conflict_option_get_moved_to_abspath_candidates2(arg1,arg2,arg3,arg4);
20901 
20902 
20903 
20904   }
20905   {
20906     if (result) {
20907       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20908       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20909       svn_swig_rb_handle_svn_error(result);
20910     }
20911     vresult = Qnil;
20912   }
20913   {
20914     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_array_to_array_string(*arg1));
20915   }
20916   {
20917     VALUE target;
20918     target = _global_vresult_address == &vresult ? self : vresult;
20919     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20920     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20921     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20922   }
20923   {
20924     VALUE target;
20925     target = _global_vresult_address == &vresult ? self : vresult;
20926     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20927     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20928     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20929   }
20930   return vresult;
20931 fail:
20932   {
20933     VALUE target;
20934     target = _global_vresult_address == &vresult ? self : vresult;
20935     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20936     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20937     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20938   }
20939   {
20940     VALUE target;
20941     target = _global_vresult_address == &vresult ? self : vresult;
20942     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
20943     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20944     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20945   }
20946   return Qnil;
20947 }
20948 
20949 
20950 SWIGINTERN VALUE
_wrap_svn_client_conflict_option_get_moved_to_abspath_candidates(int argc,VALUE * argv,VALUE self)20951 _wrap_svn_client_conflict_option_get_moved_to_abspath_candidates(int argc, VALUE *argv, VALUE self) {
20952   apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
20953   svn_client_conflict_option_t *arg2 = (svn_client_conflict_option_t *) 0 ;
20954   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
20955   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
20956   VALUE _global_svn_swig_rb_pool ;
20957   apr_pool_t *_global_pool ;
20958   apr_array_header_t *temp1 ;
20959   void *argp2 = 0 ;
20960   int res2 = 0 ;
20961   svn_error_t *result = 0 ;
20962   VALUE vresult = Qnil;
20963 
20964   {
20965     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
20966     _global_pool = arg3;
20967     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
20968   }
20969   {
20970     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
20971     _global_pool = arg4;
20972     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
20973   }
20974   arg1 = &temp1;
20975   if ((argc < 1) || (argc > 3)) {
20976     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
20977   }
20978   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_client_conflict_option_t, 0 |  0 );
20979   if (!SWIG_IsOK(res2)) {
20980     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_client_conflict_option_t *","svn_client_conflict_option_get_moved_to_abspath_candidates", 2, argv[0] ));
20981   }
20982   arg2 = (svn_client_conflict_option_t *)(argp2);
20983   if (argc > 1) {
20984 
20985   }
20986   if (argc > 2) {
20987 
20988   }
20989   {
20990     result = (svn_error_t *)svn_client_conflict_option_get_moved_to_abspath_candidates(arg1,arg2,arg3,arg4);
20991 
20992 
20993 
20994   }
20995   {
20996     if (result) {
20997       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
20998       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
20999       svn_swig_rb_handle_svn_error(result);
21000     }
21001     vresult = Qnil;
21002   }
21003   {
21004     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_array_to_array_string(*arg1));
21005   }
21006   {
21007     VALUE target;
21008     target = _global_vresult_address == &vresult ? self : vresult;
21009     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21010     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21011     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21012   }
21013   {
21014     VALUE target;
21015     target = _global_vresult_address == &vresult ? self : vresult;
21016     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21017     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21018     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21019   }
21020   return vresult;
21021 fail:
21022   {
21023     VALUE target;
21024     target = _global_vresult_address == &vresult ? self : vresult;
21025     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21026     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21027     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21028   }
21029   {
21030     VALUE target;
21031     target = _global_vresult_address == &vresult ? self : vresult;
21032     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21033     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21034     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21035   }
21036   return Qnil;
21037 }
21038 
21039 
21040 SWIGINTERN VALUE
_wrap_svn_client_conflict_option_set_moved_to_abspath2(int argc,VALUE * argv,VALUE self)21041 _wrap_svn_client_conflict_option_set_moved_to_abspath2(int argc, VALUE *argv, VALUE self) {
21042   svn_client_conflict_option_t *arg1 = (svn_client_conflict_option_t *) 0 ;
21043   int arg2 ;
21044   svn_client_ctx_t *arg3 = (svn_client_ctx_t *) 0 ;
21045   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
21046   VALUE _global_svn_swig_rb_pool ;
21047   apr_pool_t *_global_pool ;
21048   void *argp1 = 0 ;
21049   int res1 = 0 ;
21050   int val2 ;
21051   int ecode2 = 0 ;
21052   void *argp3 = 0 ;
21053   int res3 = 0 ;
21054   svn_error_t *result = 0 ;
21055   VALUE vresult = Qnil;
21056 
21057   {
21058     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
21059     _global_pool = arg4;
21060     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
21061   }
21062   if ((argc < 3) || (argc > 4)) {
21063     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
21064   }
21065   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_option_t, 0 |  0 );
21066   if (!SWIG_IsOK(res1)) {
21067     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_option_t *","svn_client_conflict_option_set_moved_to_abspath2", 1, argv[0] ));
21068   }
21069   arg1 = (svn_client_conflict_option_t *)(argp1);
21070   ecode2 = SWIG_AsVal_int(argv[1], &val2);
21071   if (!SWIG_IsOK(ecode2)) {
21072     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","svn_client_conflict_option_set_moved_to_abspath2", 2, argv[1] ));
21073   }
21074   arg2 = (int)(val2);
21075   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
21076   if (!SWIG_IsOK(res3)) {
21077     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_conflict_option_set_moved_to_abspath2", 3, argv[2] ));
21078   }
21079   arg3 = (svn_client_ctx_t *)(argp3);
21080   if (argc > 3) {
21081 
21082   }
21083   {
21084     result = (svn_error_t *)svn_client_conflict_option_set_moved_to_abspath2(arg1,arg2,arg3,arg4);
21085 
21086 
21087 
21088   }
21089   {
21090     if (result) {
21091       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21092       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21093       svn_swig_rb_handle_svn_error(result);
21094     }
21095     vresult = Qnil;
21096   }
21097   {
21098     VALUE target;
21099     target = _global_vresult_address == &vresult ? self : vresult;
21100     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21101     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21102     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21103   }
21104   return vresult;
21105 fail:
21106   {
21107     VALUE target;
21108     target = _global_vresult_address == &vresult ? self : vresult;
21109     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21110     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21111     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21112   }
21113   return Qnil;
21114 }
21115 
21116 
21117 SWIGINTERN VALUE
_wrap_svn_client_conflict_option_set_moved_to_abspath(int argc,VALUE * argv,VALUE self)21118 _wrap_svn_client_conflict_option_set_moved_to_abspath(int argc, VALUE *argv, VALUE self) {
21119   svn_client_conflict_option_t *arg1 = (svn_client_conflict_option_t *) 0 ;
21120   int arg2 ;
21121   svn_client_ctx_t *arg3 = (svn_client_ctx_t *) 0 ;
21122   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
21123   VALUE _global_svn_swig_rb_pool ;
21124   apr_pool_t *_global_pool ;
21125   void *argp1 = 0 ;
21126   int res1 = 0 ;
21127   int val2 ;
21128   int ecode2 = 0 ;
21129   void *argp3 = 0 ;
21130   int res3 = 0 ;
21131   svn_error_t *result = 0 ;
21132   VALUE vresult = Qnil;
21133 
21134   {
21135     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
21136     _global_pool = arg4;
21137     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
21138   }
21139   if ((argc < 3) || (argc > 4)) {
21140     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
21141   }
21142   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_option_t, 0 |  0 );
21143   if (!SWIG_IsOK(res1)) {
21144     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_option_t *","svn_client_conflict_option_set_moved_to_abspath", 1, argv[0] ));
21145   }
21146   arg1 = (svn_client_conflict_option_t *)(argp1);
21147   ecode2 = SWIG_AsVal_int(argv[1], &val2);
21148   if (!SWIG_IsOK(ecode2)) {
21149     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","svn_client_conflict_option_set_moved_to_abspath", 2, argv[1] ));
21150   }
21151   arg2 = (int)(val2);
21152   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
21153   if (!SWIG_IsOK(res3)) {
21154     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_conflict_option_set_moved_to_abspath", 3, argv[2] ));
21155   }
21156   arg3 = (svn_client_ctx_t *)(argp3);
21157   if (argc > 3) {
21158 
21159   }
21160   {
21161     result = (svn_error_t *)svn_client_conflict_option_set_moved_to_abspath(arg1,arg2,arg3,arg4);
21162 
21163 
21164 
21165   }
21166   {
21167     if (result) {
21168       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21169       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21170       svn_swig_rb_handle_svn_error(result);
21171     }
21172     vresult = Qnil;
21173   }
21174   {
21175     VALUE target;
21176     target = _global_vresult_address == &vresult ? self : vresult;
21177     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21178     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21179     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21180   }
21181   return vresult;
21182 fail:
21183   {
21184     VALUE target;
21185     target = _global_vresult_address == &vresult ? self : vresult;
21186     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21187     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21188     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21189   }
21190   return Qnil;
21191 }
21192 
21193 
21194 SWIGINTERN VALUE
_wrap_svn_client_conflict_option_find_by_id(int argc,VALUE * argv,VALUE self)21195 _wrap_svn_client_conflict_option_find_by_id(int argc, VALUE *argv, VALUE self) {
21196   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
21197   svn_client_conflict_option_id_t arg2 ;
21198   void *argp1 = 0 ;
21199   int res1 = 0 ;
21200   int val2 ;
21201   int ecode2 = 0 ;
21202   svn_client_conflict_option_t *result = 0 ;
21203   VALUE vresult = Qnil;
21204 
21205   if ((argc < 2) || (argc > 2)) {
21206     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
21207   }
21208   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_apr_array_header_t, 0 |  0 );
21209   if (!SWIG_IsOK(res1)) {
21210     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "apr_array_header_t *","svn_client_conflict_option_find_by_id", 1, argv[0] ));
21211   }
21212   arg1 = (apr_array_header_t *)(argp1);
21213   ecode2 = SWIG_AsVal_int(argv[1], &val2);
21214   if (!SWIG_IsOK(ecode2)) {
21215     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_client_conflict_option_id_t","svn_client_conflict_option_find_by_id", 2, argv[1] ));
21216   }
21217   arg2 = (svn_client_conflict_option_id_t)(val2);
21218   {
21219     result = (svn_client_conflict_option_t *)svn_client_conflict_option_find_by_id(arg1,arg2);
21220 
21221 
21222 
21223   }
21224   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_client_conflict_option_t, 0 |  0 );
21225   return vresult;
21226 fail:
21227   return Qnil;
21228 }
21229 
21230 
21231 SWIGINTERN VALUE
_wrap_svn_client_conflict_get(int argc,VALUE * argv,VALUE self)21232 _wrap_svn_client_conflict_get(int argc, VALUE *argv, VALUE self) {
21233   svn_client_conflict_t **arg1 = (svn_client_conflict_t **) 0 ;
21234   char *arg2 = (char *) 0 ;
21235   svn_client_ctx_t *arg3 = (svn_client_ctx_t *) 0 ;
21236   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
21237   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
21238   VALUE _global_svn_swig_rb_pool ;
21239   apr_pool_t *_global_pool ;
21240   svn_client_conflict_t *temp1 ;
21241   int res2 ;
21242   char *buf2 = 0 ;
21243   int alloc2 = 0 ;
21244   void *argp3 = 0 ;
21245   int res3 = 0 ;
21246   svn_error_t *result = 0 ;
21247   VALUE vresult = Qnil;
21248 
21249   {
21250     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
21251     _global_pool = arg4;
21252     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
21253   }
21254   {
21255     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
21256     _global_pool = arg5;
21257     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
21258   }
21259   arg1 = &temp1;
21260   if ((argc < 2) || (argc > 4)) {
21261     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
21262   }
21263   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
21264   if (!SWIG_IsOK(res2)) {
21265     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_conflict_get", 2, argv[0] ));
21266   }
21267   arg2 = (char *)(buf2);
21268   res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
21269   if (!SWIG_IsOK(res3)) {
21270     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_conflict_get", 3, argv[1] ));
21271   }
21272   arg3 = (svn_client_ctx_t *)(argp3);
21273   if (argc > 2) {
21274 
21275   }
21276   if (argc > 3) {
21277 
21278   }
21279   {
21280     result = (svn_error_t *)svn_client_conflict_get(arg1,(char const *)arg2,arg3,arg4,arg5);
21281 
21282 
21283 
21284   }
21285   {
21286     if (result) {
21287       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21288       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21289       svn_swig_rb_handle_svn_error(result);
21290     }
21291     vresult = Qnil;
21292   }
21293   {
21294     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_client_conflict_t, 0));
21295   }
21296   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
21297   {
21298     VALUE target;
21299     target = _global_vresult_address == &vresult ? self : vresult;
21300     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21301     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21302     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21303   }
21304   {
21305     VALUE target;
21306     target = _global_vresult_address == &vresult ? self : vresult;
21307     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21308     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21309     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21310   }
21311   return vresult;
21312 fail:
21313   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
21314   {
21315     VALUE target;
21316     target = _global_vresult_address == &vresult ? self : vresult;
21317     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21318     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21319     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21320   }
21321   {
21322     VALUE target;
21323     target = _global_vresult_address == &vresult ? self : vresult;
21324     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21325     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21326     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21327   }
21328   return Qnil;
21329 }
21330 
21331 
21332 SWIGINTERN VALUE
_wrap_svn_client_conflict_walk(int argc,VALUE * argv,VALUE self)21333 _wrap_svn_client_conflict_walk(int argc, VALUE *argv, VALUE self) {
21334   char *arg1 = (char *) 0 ;
21335   svn_depth_t arg2 ;
21336   svn_client_conflict_walk_func_t arg3 = (svn_client_conflict_walk_func_t) 0 ;
21337   void *arg4 = (void *) 0 ;
21338   svn_client_ctx_t *arg5 = (svn_client_ctx_t *) 0 ;
21339   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
21340   VALUE _global_svn_swig_rb_pool ;
21341   apr_pool_t *_global_pool ;
21342   int res1 ;
21343   char *buf1 = 0 ;
21344   int alloc1 = 0 ;
21345   int res4 ;
21346   void *argp5 = 0 ;
21347   int res5 = 0 ;
21348   svn_error_t *result = 0 ;
21349   VALUE vresult = Qnil;
21350 
21351   {
21352     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
21353     _global_pool = arg6;
21354     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
21355   }
21356   if ((argc < 5) || (argc > 6)) {
21357     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
21358   }
21359   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
21360   if (!SWIG_IsOK(res1)) {
21361     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_conflict_walk", 1, argv[0] ));
21362   }
21363   arg1 = (char *)(buf1);
21364   {
21365     arg2 = svn_swig_rb_to_depth(argv[1]);
21366   }
21367   {
21368     int res = SWIG_ConvertFunctionPtr(argv[2], (void**)(&arg3), SWIGTYPE_p_f_p_void_p_svn_client_conflict_t_p_apr_pool_t__p_svn_error_t);
21369     if (!SWIG_IsOK(res)) {
21370       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_conflict_walk_func_t","svn_client_conflict_walk", 3, argv[2] ));
21371     }
21372   }
21373   res4 = SWIG_ConvertPtr(argv[3],SWIG_as_voidptrptr(&arg4), 0, 0);
21374   if (!SWIG_IsOK(res4)) {
21375     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","svn_client_conflict_walk", 4, argv[3] ));
21376   }
21377   res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
21378   if (!SWIG_IsOK(res5)) {
21379     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_conflict_walk", 5, argv[4] ));
21380   }
21381   arg5 = (svn_client_ctx_t *)(argp5);
21382   if (argc > 5) {
21383 
21384   }
21385   {
21386     result = (svn_error_t *)svn_client_conflict_walk((char const *)arg1,arg2,arg3,arg4,arg5,arg6);
21387 
21388 
21389 
21390   }
21391   {
21392     if (result) {
21393       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21394       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21395       svn_swig_rb_handle_svn_error(result);
21396     }
21397     vresult = Qnil;
21398   }
21399   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
21400   {
21401     VALUE target;
21402     target = _global_vresult_address == &vresult ? self : vresult;
21403     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21404     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21405     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21406   }
21407   return vresult;
21408 fail:
21409   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
21410   {
21411     VALUE target;
21412     target = _global_vresult_address == &vresult ? self : vresult;
21413     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21414     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21415     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21416   }
21417   return Qnil;
21418 }
21419 
21420 
21421 SWIGINTERN VALUE
_wrap_svn_client_conflict_get_conflicted(int argc,VALUE * argv,VALUE self)21422 _wrap_svn_client_conflict_get_conflicted(int argc, VALUE *argv, VALUE self) {
21423   svn_boolean_t *arg1 = (svn_boolean_t *) 0 ;
21424   apr_array_header_t **arg2 = (apr_array_header_t **) 0 ;
21425   svn_boolean_t *arg3 = (svn_boolean_t *) 0 ;
21426   svn_client_conflict_t *arg4 = (svn_client_conflict_t *) 0 ;
21427   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
21428   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
21429   VALUE _global_svn_swig_rb_pool ;
21430   apr_pool_t *_global_pool ;
21431   svn_boolean_t temp1 ;
21432   apr_array_header_t *temp2 ;
21433   svn_boolean_t temp3 ;
21434   void *argp4 = 0 ;
21435   int res4 = 0 ;
21436   svn_error_t *result = 0 ;
21437   VALUE vresult = Qnil;
21438 
21439   {
21440     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
21441     _global_pool = arg5;
21442     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
21443   }
21444   {
21445     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
21446     _global_pool = arg6;
21447     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
21448   }
21449   arg1 = &temp1;
21450   arg2 = &temp2;
21451   arg3 = &temp3;
21452   if ((argc < 1) || (argc > 3)) {
21453     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
21454   }
21455   res4 = SWIG_ConvertPtr(argv[0], &argp4,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
21456   if (!SWIG_IsOK(res4)) {
21457     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_get_conflicted", 4, argv[0] ));
21458   }
21459   arg4 = (svn_client_conflict_t *)(argp4);
21460   if (argc > 1) {
21461 
21462   }
21463   if (argc > 2) {
21464 
21465   }
21466   {
21467     result = (svn_error_t *)svn_client_conflict_get_conflicted(arg1,arg2,arg3,arg4,arg5,arg6);
21468 
21469 
21470 
21471   }
21472   {
21473     if (result) {
21474       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21475       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21476       svn_swig_rb_handle_svn_error(result);
21477     }
21478     vresult = Qnil;
21479   }
21480   {
21481     vresult = SWIG_Ruby_AppendOutput(vresult, *arg1 ? Qtrue : Qfalse);
21482   }
21483   {
21484     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_array_to_array_string(*arg2));
21485   }
21486   {
21487     vresult = SWIG_Ruby_AppendOutput(vresult, *arg3 ? Qtrue : Qfalse);
21488   }
21489   {
21490     VALUE target;
21491     target = _global_vresult_address == &vresult ? self : vresult;
21492     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21493     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21494     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21495   }
21496   {
21497     VALUE target;
21498     target = _global_vresult_address == &vresult ? self : vresult;
21499     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21500     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21501     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21502   }
21503   return vresult;
21504 fail:
21505   {
21506     VALUE target;
21507     target = _global_vresult_address == &vresult ? self : vresult;
21508     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21509     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21510     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21511   }
21512   {
21513     VALUE target;
21514     target = _global_vresult_address == &vresult ? self : vresult;
21515     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21516     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21517     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21518   }
21519   return Qnil;
21520 }
21521 
21522 
21523 SWIGINTERN VALUE
_wrap_svn_client_conflict_prop_get_description(int argc,VALUE * argv,VALUE self)21524 _wrap_svn_client_conflict_prop_get_description(int argc, VALUE *argv, VALUE self) {
21525   char **arg1 = (char **) 0 ;
21526   svn_client_conflict_t *arg2 = (svn_client_conflict_t *) 0 ;
21527   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
21528   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
21529   VALUE _global_svn_swig_rb_pool ;
21530   apr_pool_t *_global_pool ;
21531   char *temp1 ;
21532   void *argp2 = 0 ;
21533   int res2 = 0 ;
21534   svn_error_t *result = 0 ;
21535   VALUE vresult = Qnil;
21536 
21537   {
21538     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
21539     _global_pool = arg3;
21540     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
21541   }
21542   {
21543     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
21544     _global_pool = arg4;
21545     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
21546   }
21547   arg1 = &temp1;
21548   if ((argc < 1) || (argc > 3)) {
21549     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
21550   }
21551   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
21552   if (!SWIG_IsOK(res2)) {
21553     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_prop_get_description", 2, argv[0] ));
21554   }
21555   arg2 = (svn_client_conflict_t *)(argp2);
21556   if (argc > 1) {
21557 
21558   }
21559   if (argc > 2) {
21560 
21561   }
21562   {
21563     result = (svn_error_t *)svn_client_conflict_prop_get_description((char const **)arg1,arg2,arg3,arg4);
21564 
21565 
21566 
21567   }
21568   {
21569     if (result) {
21570       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21571       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21572       svn_swig_rb_handle_svn_error(result);
21573     }
21574     vresult = Qnil;
21575   }
21576   {
21577     if (*arg1) {
21578       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg1));
21579     } else {
21580       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
21581     }
21582   }
21583   {
21584     VALUE target;
21585     target = _global_vresult_address == &vresult ? self : vresult;
21586     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21587     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21588     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21589   }
21590   {
21591     VALUE target;
21592     target = _global_vresult_address == &vresult ? self : vresult;
21593     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21594     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21595     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21596   }
21597   return vresult;
21598 fail:
21599   {
21600     VALUE target;
21601     target = _global_vresult_address == &vresult ? self : vresult;
21602     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21603     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21604     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21605   }
21606   {
21607     VALUE target;
21608     target = _global_vresult_address == &vresult ? self : vresult;
21609     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21610     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21611     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21612   }
21613   return Qnil;
21614 }
21615 
21616 
21617 SWIGINTERN VALUE
_wrap_svn_client_conflict_tree_get_description(int argc,VALUE * argv,VALUE self)21618 _wrap_svn_client_conflict_tree_get_description(int argc, VALUE *argv, VALUE self) {
21619   char **arg1 = (char **) 0 ;
21620   char **arg2 = (char **) 0 ;
21621   svn_client_conflict_t *arg3 = (svn_client_conflict_t *) 0 ;
21622   svn_client_ctx_t *arg4 = (svn_client_ctx_t *) 0 ;
21623   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
21624   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
21625   VALUE _global_svn_swig_rb_pool ;
21626   apr_pool_t *_global_pool ;
21627   char *temp1 ;
21628   char *temp2 ;
21629   void *argp3 = 0 ;
21630   int res3 = 0 ;
21631   void *argp4 = 0 ;
21632   int res4 = 0 ;
21633   svn_error_t *result = 0 ;
21634   VALUE vresult = Qnil;
21635 
21636   {
21637     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
21638     _global_pool = arg5;
21639     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
21640   }
21641   {
21642     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
21643     _global_pool = arg6;
21644     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
21645   }
21646   arg1 = &temp1;
21647   arg2 = &temp2;
21648   if ((argc < 2) || (argc > 4)) {
21649     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
21650   }
21651   res3 = SWIG_ConvertPtr(argv[0], &argp3,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
21652   if (!SWIG_IsOK(res3)) {
21653     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_tree_get_description", 3, argv[0] ));
21654   }
21655   arg3 = (svn_client_conflict_t *)(argp3);
21656   res4 = SWIG_ConvertPtr(argv[1], &argp4,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
21657   if (!SWIG_IsOK(res4)) {
21658     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_conflict_tree_get_description", 4, argv[1] ));
21659   }
21660   arg4 = (svn_client_ctx_t *)(argp4);
21661   if (argc > 2) {
21662 
21663   }
21664   if (argc > 3) {
21665 
21666   }
21667   {
21668     result = (svn_error_t *)svn_client_conflict_tree_get_description((char const **)arg1,(char const **)arg2,arg3,arg4,arg5,arg6);
21669 
21670 
21671 
21672   }
21673   {
21674     if (result) {
21675       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21676       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21677       svn_swig_rb_handle_svn_error(result);
21678     }
21679     vresult = Qnil;
21680   }
21681   {
21682     if (*arg1) {
21683       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg1));
21684     } else {
21685       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
21686     }
21687   }
21688   {
21689     if (*arg2) {
21690       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg2));
21691     } else {
21692       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
21693     }
21694   }
21695   {
21696     VALUE target;
21697     target = _global_vresult_address == &vresult ? self : vresult;
21698     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21699     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21700     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21701   }
21702   {
21703     VALUE target;
21704     target = _global_vresult_address == &vresult ? self : vresult;
21705     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21706     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21707     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21708   }
21709   return vresult;
21710 fail:
21711   {
21712     VALUE target;
21713     target = _global_vresult_address == &vresult ? self : vresult;
21714     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21715     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21716     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21717   }
21718   {
21719     VALUE target;
21720     target = _global_vresult_address == &vresult ? self : vresult;
21721     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21722     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21723     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21724   }
21725   return Qnil;
21726 }
21727 
21728 
21729 SWIGINTERN VALUE
_wrap_svn_client_conflict_text_get_resolution_options(int argc,VALUE * argv,VALUE self)21730 _wrap_svn_client_conflict_text_get_resolution_options(int argc, VALUE *argv, VALUE self) {
21731   apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
21732   svn_client_conflict_t *arg2 = (svn_client_conflict_t *) 0 ;
21733   svn_client_ctx_t *arg3 = (svn_client_ctx_t *) 0 ;
21734   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
21735   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
21736   VALUE _global_svn_swig_rb_pool ;
21737   apr_pool_t *_global_pool ;
21738   apr_array_header_t *temp1 ;
21739   void *argp2 = 0 ;
21740   int res2 = 0 ;
21741   void *argp3 = 0 ;
21742   int res3 = 0 ;
21743   svn_error_t *result = 0 ;
21744   VALUE vresult = Qnil;
21745 
21746   {
21747     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
21748     _global_pool = arg4;
21749     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
21750   }
21751   {
21752     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
21753     _global_pool = arg5;
21754     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
21755   }
21756   arg1 = &temp1;
21757   if ((argc < 2) || (argc > 4)) {
21758     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
21759   }
21760   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
21761   if (!SWIG_IsOK(res2)) {
21762     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_text_get_resolution_options", 2, argv[0] ));
21763   }
21764   arg2 = (svn_client_conflict_t *)(argp2);
21765   res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
21766   if (!SWIG_IsOK(res3)) {
21767     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_conflict_text_get_resolution_options", 3, argv[1] ));
21768   }
21769   arg3 = (svn_client_ctx_t *)(argp3);
21770   if (argc > 2) {
21771 
21772   }
21773   if (argc > 3) {
21774 
21775   }
21776   {
21777     result = (svn_error_t *)svn_client_conflict_text_get_resolution_options(arg1,arg2,arg3,arg4,arg5);
21778 
21779 
21780 
21781   }
21782   {
21783     if (result) {
21784       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21785       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21786       svn_swig_rb_handle_svn_error(result);
21787     }
21788     vresult = Qnil;
21789   }
21790   {
21791     /* FIXME: Missing argout typemap: svn_client_conflict_text_get_resolution_options arg 1 (apr_array_header_t **) */
21792 
21793 
21794 
21795 
21796     SWIG_exception(SWIG_ValueError, "svn_client_conflict_text_get_resolution_options is not implemented yet");
21797 
21798   }
21799   {
21800     VALUE target;
21801     target = _global_vresult_address == &vresult ? self : vresult;
21802     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21803     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21804     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21805   }
21806   {
21807     VALUE target;
21808     target = _global_vresult_address == &vresult ? self : vresult;
21809     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21810     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21811     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21812   }
21813   return vresult;
21814 fail:
21815   {
21816     VALUE target;
21817     target = _global_vresult_address == &vresult ? self : vresult;
21818     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21819     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21820     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21821   }
21822   {
21823     VALUE target;
21824     target = _global_vresult_address == &vresult ? self : vresult;
21825     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21826     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21827     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21828   }
21829   return Qnil;
21830 }
21831 
21832 
21833 SWIGINTERN VALUE
_wrap_svn_client_conflict_prop_get_resolution_options(int argc,VALUE * argv,VALUE self)21834 _wrap_svn_client_conflict_prop_get_resolution_options(int argc, VALUE *argv, VALUE self) {
21835   apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
21836   svn_client_conflict_t *arg2 = (svn_client_conflict_t *) 0 ;
21837   svn_client_ctx_t *arg3 = (svn_client_ctx_t *) 0 ;
21838   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
21839   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
21840   VALUE _global_svn_swig_rb_pool ;
21841   apr_pool_t *_global_pool ;
21842   apr_array_header_t *temp1 ;
21843   void *argp2 = 0 ;
21844   int res2 = 0 ;
21845   void *argp3 = 0 ;
21846   int res3 = 0 ;
21847   svn_error_t *result = 0 ;
21848   VALUE vresult = Qnil;
21849 
21850   {
21851     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
21852     _global_pool = arg4;
21853     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
21854   }
21855   {
21856     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
21857     _global_pool = arg5;
21858     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
21859   }
21860   arg1 = &temp1;
21861   if ((argc < 2) || (argc > 4)) {
21862     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
21863   }
21864   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
21865   if (!SWIG_IsOK(res2)) {
21866     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_prop_get_resolution_options", 2, argv[0] ));
21867   }
21868   arg2 = (svn_client_conflict_t *)(argp2);
21869   res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
21870   if (!SWIG_IsOK(res3)) {
21871     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_conflict_prop_get_resolution_options", 3, argv[1] ));
21872   }
21873   arg3 = (svn_client_ctx_t *)(argp3);
21874   if (argc > 2) {
21875 
21876   }
21877   if (argc > 3) {
21878 
21879   }
21880   {
21881     result = (svn_error_t *)svn_client_conflict_prop_get_resolution_options(arg1,arg2,arg3,arg4,arg5);
21882 
21883 
21884 
21885   }
21886   {
21887     if (result) {
21888       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21889       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21890       svn_swig_rb_handle_svn_error(result);
21891     }
21892     vresult = Qnil;
21893   }
21894   {
21895     /* FIXME: Missing argout typemap: svn_client_conflict_prop_get_resolution_options arg 1 (apr_array_header_t **) */
21896 
21897 
21898 
21899 
21900     SWIG_exception(SWIG_ValueError, "svn_client_conflict_prop_get_resolution_options is not implemented yet");
21901 
21902   }
21903   {
21904     VALUE target;
21905     target = _global_vresult_address == &vresult ? self : vresult;
21906     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21907     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21908     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21909   }
21910   {
21911     VALUE target;
21912     target = _global_vresult_address == &vresult ? self : vresult;
21913     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21914     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21915     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21916   }
21917   return vresult;
21918 fail:
21919   {
21920     VALUE target;
21921     target = _global_vresult_address == &vresult ? self : vresult;
21922     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21923     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21924     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21925   }
21926   {
21927     VALUE target;
21928     target = _global_vresult_address == &vresult ? self : vresult;
21929     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
21930     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21931     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21932   }
21933   return Qnil;
21934 }
21935 
21936 
21937 SWIGINTERN VALUE
_wrap_svn_client_conflict_tree_get_resolution_options(int argc,VALUE * argv,VALUE self)21938 _wrap_svn_client_conflict_tree_get_resolution_options(int argc, VALUE *argv, VALUE self) {
21939   apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
21940   svn_client_conflict_t *arg2 = (svn_client_conflict_t *) 0 ;
21941   svn_client_ctx_t *arg3 = (svn_client_ctx_t *) 0 ;
21942   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
21943   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
21944   VALUE _global_svn_swig_rb_pool ;
21945   apr_pool_t *_global_pool ;
21946   apr_array_header_t *temp1 ;
21947   void *argp2 = 0 ;
21948   int res2 = 0 ;
21949   void *argp3 = 0 ;
21950   int res3 = 0 ;
21951   svn_error_t *result = 0 ;
21952   VALUE vresult = Qnil;
21953 
21954   {
21955     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
21956     _global_pool = arg4;
21957     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
21958   }
21959   {
21960     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
21961     _global_pool = arg5;
21962     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
21963   }
21964   arg1 = &temp1;
21965   if ((argc < 2) || (argc > 4)) {
21966     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
21967   }
21968   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
21969   if (!SWIG_IsOK(res2)) {
21970     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_tree_get_resolution_options", 2, argv[0] ));
21971   }
21972   arg2 = (svn_client_conflict_t *)(argp2);
21973   res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
21974   if (!SWIG_IsOK(res3)) {
21975     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_conflict_tree_get_resolution_options", 3, argv[1] ));
21976   }
21977   arg3 = (svn_client_ctx_t *)(argp3);
21978   if (argc > 2) {
21979 
21980   }
21981   if (argc > 3) {
21982 
21983   }
21984   {
21985     result = (svn_error_t *)svn_client_conflict_tree_get_resolution_options(arg1,arg2,arg3,arg4,arg5);
21986 
21987 
21988 
21989   }
21990   {
21991     if (result) {
21992       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
21993       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
21994       svn_swig_rb_handle_svn_error(result);
21995     }
21996     vresult = Qnil;
21997   }
21998   {
21999     /* FIXME: Missing argout typemap: svn_client_conflict_tree_get_resolution_options arg 1 (apr_array_header_t **) */
22000 
22001 
22002 
22003 
22004     SWIG_exception(SWIG_ValueError, "svn_client_conflict_tree_get_resolution_options is not implemented yet");
22005 
22006   }
22007   {
22008     VALUE target;
22009     target = _global_vresult_address == &vresult ? self : vresult;
22010     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22011     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22012     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22013   }
22014   {
22015     VALUE target;
22016     target = _global_vresult_address == &vresult ? self : vresult;
22017     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22018     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22019     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22020   }
22021   return vresult;
22022 fail:
22023   {
22024     VALUE target;
22025     target = _global_vresult_address == &vresult ? self : vresult;
22026     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22027     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22028     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22029   }
22030   {
22031     VALUE target;
22032     target = _global_vresult_address == &vresult ? self : vresult;
22033     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22034     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22035     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22036   }
22037   return Qnil;
22038 }
22039 
22040 
22041 SWIGINTERN VALUE
_wrap_svn_client_conflict_tree_get_details(int argc,VALUE * argv,VALUE self)22042 _wrap_svn_client_conflict_tree_get_details(int argc, VALUE *argv, VALUE self) {
22043   svn_client_conflict_t *arg1 = (svn_client_conflict_t *) 0 ;
22044   svn_client_ctx_t *arg2 = (svn_client_ctx_t *) 0 ;
22045   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
22046   VALUE _global_svn_swig_rb_pool ;
22047   apr_pool_t *_global_pool ;
22048   void *argp1 = 0 ;
22049   int res1 = 0 ;
22050   void *argp2 = 0 ;
22051   int res2 = 0 ;
22052   svn_error_t *result = 0 ;
22053   VALUE vresult = Qnil;
22054 
22055   {
22056     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
22057     _global_pool = arg3;
22058     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
22059   }
22060   if ((argc < 2) || (argc > 3)) {
22061     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
22062   }
22063   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
22064   if (!SWIG_IsOK(res1)) {
22065     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_tree_get_details", 1, argv[0] ));
22066   }
22067   arg1 = (svn_client_conflict_t *)(argp1);
22068   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
22069   if (!SWIG_IsOK(res2)) {
22070     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_conflict_tree_get_details", 2, argv[1] ));
22071   }
22072   arg2 = (svn_client_ctx_t *)(argp2);
22073   if (argc > 2) {
22074 
22075   }
22076   {
22077     result = (svn_error_t *)svn_client_conflict_tree_get_details(arg1,arg2,arg3);
22078 
22079 
22080 
22081   }
22082   {
22083     if (result) {
22084       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22085       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22086       svn_swig_rb_handle_svn_error(result);
22087     }
22088     vresult = Qnil;
22089   }
22090   {
22091     VALUE target;
22092     target = _global_vresult_address == &vresult ? self : vresult;
22093     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22094     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22095     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22096   }
22097   return vresult;
22098 fail:
22099   {
22100     VALUE target;
22101     target = _global_vresult_address == &vresult ? self : vresult;
22102     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22103     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22104     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22105   }
22106   return Qnil;
22107 }
22108 
22109 
22110 SWIGINTERN VALUE
_wrap_svn_client_conflict_option_get_id(int argc,VALUE * argv,VALUE self)22111 _wrap_svn_client_conflict_option_get_id(int argc, VALUE *argv, VALUE self) {
22112   svn_client_conflict_option_t *arg1 = (svn_client_conflict_option_t *) 0 ;
22113   void *argp1 = 0 ;
22114   int res1 = 0 ;
22115   svn_client_conflict_option_id_t result;
22116   VALUE vresult = Qnil;
22117 
22118   if ((argc < 1) || (argc > 1)) {
22119     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22120   }
22121   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_option_t, 0 |  0 );
22122   if (!SWIG_IsOK(res1)) {
22123     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_option_t *","svn_client_conflict_option_get_id", 1, argv[0] ));
22124   }
22125   arg1 = (svn_client_conflict_option_t *)(argp1);
22126   {
22127     result = (svn_client_conflict_option_id_t)svn_client_conflict_option_get_id(arg1);
22128 
22129 
22130 
22131   }
22132   vresult = SWIG_From_int((int)(result));
22133   return vresult;
22134 fail:
22135   return Qnil;
22136 }
22137 
22138 
22139 SWIGINTERN VALUE
_wrap_svn_client_conflict_option_get_label(int argc,VALUE * argv,VALUE self)22140 _wrap_svn_client_conflict_option_get_label(int argc, VALUE *argv, VALUE self) {
22141   svn_client_conflict_option_t *arg1 = (svn_client_conflict_option_t *) 0 ;
22142   apr_pool_t *arg2 = (apr_pool_t *) 0 ;
22143   VALUE _global_svn_swig_rb_pool ;
22144   apr_pool_t *_global_pool ;
22145   void *argp1 = 0 ;
22146   int res1 = 0 ;
22147   char *result = 0 ;
22148   VALUE vresult = Qnil;
22149 
22150   {
22151     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2);
22152     _global_pool = arg2;
22153     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
22154   }
22155   if ((argc < 1) || (argc > 2)) {
22156     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22157   }
22158   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_option_t, 0 |  0 );
22159   if (!SWIG_IsOK(res1)) {
22160     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_option_t *","svn_client_conflict_option_get_label", 1, argv[0] ));
22161   }
22162   arg1 = (svn_client_conflict_option_t *)(argp1);
22163   if (argc > 1) {
22164 
22165   }
22166   {
22167     result = (char *)svn_client_conflict_option_get_label(arg1,arg2);
22168 
22169 
22170 
22171   }
22172   {
22173     if (result) {
22174       vresult = rb_str_new2(result);
22175     } else {
22176       vresult = Qnil;
22177     }
22178   }
22179   {
22180     VALUE target;
22181     target = _global_vresult_address == &vresult ? self : vresult;
22182     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22183     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22184     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22185   }
22186   return vresult;
22187 fail:
22188   {
22189     VALUE target;
22190     target = _global_vresult_address == &vresult ? self : vresult;
22191     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22192     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22193     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22194   }
22195   return Qnil;
22196 }
22197 
22198 
22199 SWIGINTERN VALUE
_wrap_svn_client_conflict_option_get_description(int argc,VALUE * argv,VALUE self)22200 _wrap_svn_client_conflict_option_get_description(int argc, VALUE *argv, VALUE self) {
22201   svn_client_conflict_option_t *arg1 = (svn_client_conflict_option_t *) 0 ;
22202   apr_pool_t *arg2 = (apr_pool_t *) 0 ;
22203   VALUE _global_svn_swig_rb_pool ;
22204   apr_pool_t *_global_pool ;
22205   void *argp1 = 0 ;
22206   int res1 = 0 ;
22207   char *result = 0 ;
22208   VALUE vresult = Qnil;
22209 
22210   {
22211     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2);
22212     _global_pool = arg2;
22213     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
22214   }
22215   if ((argc < 1) || (argc > 2)) {
22216     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22217   }
22218   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_option_t, 0 |  0 );
22219   if (!SWIG_IsOK(res1)) {
22220     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_option_t *","svn_client_conflict_option_get_description", 1, argv[0] ));
22221   }
22222   arg1 = (svn_client_conflict_option_t *)(argp1);
22223   if (argc > 1) {
22224 
22225   }
22226   {
22227     result = (char *)svn_client_conflict_option_get_description(arg1,arg2);
22228 
22229 
22230 
22231   }
22232   {
22233     if (result) {
22234       vresult = rb_str_new2(result);
22235     } else {
22236       vresult = Qnil;
22237     }
22238   }
22239   {
22240     VALUE target;
22241     target = _global_vresult_address == &vresult ? self : vresult;
22242     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22243     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22244     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22245   }
22246   return vresult;
22247 fail:
22248   {
22249     VALUE target;
22250     target = _global_vresult_address == &vresult ? self : vresult;
22251     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22252     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22253     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22254   }
22255   return Qnil;
22256 }
22257 
22258 
22259 SWIGINTERN VALUE
_wrap_svn_client_conflict_get_recommended_option_id(int argc,VALUE * argv,VALUE self)22260 _wrap_svn_client_conflict_get_recommended_option_id(int argc, VALUE *argv, VALUE self) {
22261   svn_client_conflict_t *arg1 = (svn_client_conflict_t *) 0 ;
22262   void *argp1 = 0 ;
22263   int res1 = 0 ;
22264   svn_client_conflict_option_id_t result;
22265   VALUE vresult = Qnil;
22266 
22267   if ((argc < 1) || (argc > 1)) {
22268     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22269   }
22270   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
22271   if (!SWIG_IsOK(res1)) {
22272     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_get_recommended_option_id", 1, argv[0] ));
22273   }
22274   arg1 = (svn_client_conflict_t *)(argp1);
22275   {
22276     result = (svn_client_conflict_option_id_t)svn_client_conflict_get_recommended_option_id(arg1);
22277 
22278 
22279 
22280   }
22281   vresult = SWIG_From_int((int)(result));
22282   return vresult;
22283 fail:
22284   return Qnil;
22285 }
22286 
22287 
22288 SWIGINTERN VALUE
_wrap_svn_client_conflict_get_local_abspath(int argc,VALUE * argv,VALUE self)22289 _wrap_svn_client_conflict_get_local_abspath(int argc, VALUE *argv, VALUE self) {
22290   svn_client_conflict_t *arg1 = (svn_client_conflict_t *) 0 ;
22291   void *argp1 = 0 ;
22292   int res1 = 0 ;
22293   char *result = 0 ;
22294   VALUE vresult = Qnil;
22295 
22296   if ((argc < 1) || (argc > 1)) {
22297     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22298   }
22299   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
22300   if (!SWIG_IsOK(res1)) {
22301     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_get_local_abspath", 1, argv[0] ));
22302   }
22303   arg1 = (svn_client_conflict_t *)(argp1);
22304   {
22305     result = (char *)svn_client_conflict_get_local_abspath(arg1);
22306 
22307 
22308 
22309   }
22310   {
22311     if (result) {
22312       vresult = rb_str_new2(result);
22313     } else {
22314       vresult = Qnil;
22315     }
22316   }
22317   return vresult;
22318 fail:
22319   return Qnil;
22320 }
22321 
22322 
22323 SWIGINTERN VALUE
_wrap_svn_client_conflict_get_operation(int argc,VALUE * argv,VALUE self)22324 _wrap_svn_client_conflict_get_operation(int argc, VALUE *argv, VALUE self) {
22325   svn_client_conflict_t *arg1 = (svn_client_conflict_t *) 0 ;
22326   void *argp1 = 0 ;
22327   int res1 = 0 ;
22328   svn_wc_operation_t result;
22329   VALUE vresult = Qnil;
22330 
22331   if ((argc < 1) || (argc > 1)) {
22332     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22333   }
22334   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
22335   if (!SWIG_IsOK(res1)) {
22336     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_get_operation", 1, argv[0] ));
22337   }
22338   arg1 = (svn_client_conflict_t *)(argp1);
22339   {
22340     result = (svn_wc_operation_t)svn_client_conflict_get_operation(arg1);
22341 
22342 
22343 
22344   }
22345   vresult = SWIG_From_int((int)(result));
22346   return vresult;
22347 fail:
22348   return Qnil;
22349 }
22350 
22351 
22352 SWIGINTERN VALUE
_wrap_svn_client_conflict_get_incoming_change(int argc,VALUE * argv,VALUE self)22353 _wrap_svn_client_conflict_get_incoming_change(int argc, VALUE *argv, VALUE self) {
22354   svn_client_conflict_t *arg1 = (svn_client_conflict_t *) 0 ;
22355   void *argp1 = 0 ;
22356   int res1 = 0 ;
22357   svn_wc_conflict_action_t result;
22358   VALUE vresult = Qnil;
22359 
22360   if ((argc < 1) || (argc > 1)) {
22361     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22362   }
22363   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
22364   if (!SWIG_IsOK(res1)) {
22365     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_get_incoming_change", 1, argv[0] ));
22366   }
22367   arg1 = (svn_client_conflict_t *)(argp1);
22368   {
22369     result = (svn_wc_conflict_action_t)svn_client_conflict_get_incoming_change(arg1);
22370 
22371 
22372 
22373   }
22374   vresult = SWIG_From_int((int)(result));
22375   return vresult;
22376 fail:
22377   return Qnil;
22378 }
22379 
22380 
22381 SWIGINTERN VALUE
_wrap_svn_client_conflict_get_local_change(int argc,VALUE * argv,VALUE self)22382 _wrap_svn_client_conflict_get_local_change(int argc, VALUE *argv, VALUE self) {
22383   svn_client_conflict_t *arg1 = (svn_client_conflict_t *) 0 ;
22384   void *argp1 = 0 ;
22385   int res1 = 0 ;
22386   svn_wc_conflict_reason_t result;
22387   VALUE vresult = Qnil;
22388 
22389   if ((argc < 1) || (argc > 1)) {
22390     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22391   }
22392   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
22393   if (!SWIG_IsOK(res1)) {
22394     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_get_local_change", 1, argv[0] ));
22395   }
22396   arg1 = (svn_client_conflict_t *)(argp1);
22397   {
22398     result = (svn_wc_conflict_reason_t)svn_client_conflict_get_local_change(arg1);
22399 
22400 
22401 
22402   }
22403   vresult = SWIG_From_int((int)(result));
22404   return vresult;
22405 fail:
22406   return Qnil;
22407 }
22408 
22409 
22410 SWIGINTERN VALUE
_wrap_svn_client_conflict_get_repos_info(int argc,VALUE * argv,VALUE self)22411 _wrap_svn_client_conflict_get_repos_info(int argc, VALUE *argv, VALUE self) {
22412   char **arg1 = (char **) 0 ;
22413   char **arg2 = (char **) 0 ;
22414   svn_client_conflict_t *arg3 = (svn_client_conflict_t *) 0 ;
22415   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
22416   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
22417   VALUE _global_svn_swig_rb_pool ;
22418   apr_pool_t *_global_pool ;
22419   char *temp1 ;
22420   char *temp2 ;
22421   void *argp3 = 0 ;
22422   int res3 = 0 ;
22423   svn_error_t *result = 0 ;
22424   VALUE vresult = Qnil;
22425 
22426   {
22427     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
22428     _global_pool = arg4;
22429     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
22430   }
22431   {
22432     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
22433     _global_pool = arg5;
22434     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
22435   }
22436   arg1 = &temp1;
22437   arg2 = &temp2;
22438   if ((argc < 1) || (argc > 3)) {
22439     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22440   }
22441   res3 = SWIG_ConvertPtr(argv[0], &argp3,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
22442   if (!SWIG_IsOK(res3)) {
22443     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_get_repos_info", 3, argv[0] ));
22444   }
22445   arg3 = (svn_client_conflict_t *)(argp3);
22446   if (argc > 1) {
22447 
22448   }
22449   if (argc > 2) {
22450 
22451   }
22452   {
22453     result = (svn_error_t *)svn_client_conflict_get_repos_info((char const **)arg1,(char const **)arg2,arg3,arg4,arg5);
22454 
22455 
22456 
22457   }
22458   {
22459     if (result) {
22460       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22461       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22462       svn_swig_rb_handle_svn_error(result);
22463     }
22464     vresult = Qnil;
22465   }
22466   {
22467     if (*arg1) {
22468       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg1));
22469     } else {
22470       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
22471     }
22472   }
22473   {
22474     if (*arg2) {
22475       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg2));
22476     } else {
22477       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
22478     }
22479   }
22480   {
22481     VALUE target;
22482     target = _global_vresult_address == &vresult ? self : vresult;
22483     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22484     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22485     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22486   }
22487   {
22488     VALUE target;
22489     target = _global_vresult_address == &vresult ? self : vresult;
22490     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22491     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22492     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22493   }
22494   return vresult;
22495 fail:
22496   {
22497     VALUE target;
22498     target = _global_vresult_address == &vresult ? self : vresult;
22499     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22500     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22501     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22502   }
22503   {
22504     VALUE target;
22505     target = _global_vresult_address == &vresult ? self : vresult;
22506     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22507     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22508     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22509   }
22510   return Qnil;
22511 }
22512 
22513 
22514 SWIGINTERN VALUE
_wrap_svn_client_conflict_get_incoming_old_repos_location(int argc,VALUE * argv,VALUE self)22515 _wrap_svn_client_conflict_get_incoming_old_repos_location(int argc, VALUE *argv, VALUE self) {
22516   char **arg1 = (char **) 0 ;
22517   svn_revnum_t *arg2 = (svn_revnum_t *) 0 ;
22518   svn_node_kind_t *arg3 = (svn_node_kind_t *) 0 ;
22519   svn_client_conflict_t *arg4 = (svn_client_conflict_t *) 0 ;
22520   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
22521   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
22522   VALUE _global_svn_swig_rb_pool ;
22523   apr_pool_t *_global_pool ;
22524   char *temp1 ;
22525   svn_revnum_t temp2 ;
22526   int res2 = SWIG_TMPOBJ ;
22527   svn_node_kind_t temp3 ;
22528   int res3 = SWIG_TMPOBJ ;
22529   void *argp4 = 0 ;
22530   int res4 = 0 ;
22531   svn_error_t *result = 0 ;
22532   VALUE vresult = Qnil;
22533 
22534   {
22535     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
22536     _global_pool = arg5;
22537     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
22538   }
22539   {
22540     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
22541     _global_pool = arg6;
22542     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
22543   }
22544   arg1 = &temp1;
22545   arg2 = &temp2;
22546   arg3 = &temp3;
22547   if ((argc < 1) || (argc > 3)) {
22548     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22549   }
22550   res4 = SWIG_ConvertPtr(argv[0], &argp4,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
22551   if (!SWIG_IsOK(res4)) {
22552     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_get_incoming_old_repos_location", 4, argv[0] ));
22553   }
22554   arg4 = (svn_client_conflict_t *)(argp4);
22555   if (argc > 1) {
22556 
22557   }
22558   if (argc > 2) {
22559 
22560   }
22561   {
22562     result = (svn_error_t *)svn_client_conflict_get_incoming_old_repos_location((char const **)arg1,arg2,arg3,arg4,arg5,arg6);
22563 
22564 
22565 
22566   }
22567   {
22568     if (result) {
22569       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22570       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22571       svn_swig_rb_handle_svn_error(result);
22572     }
22573     vresult = Qnil;
22574   }
22575   {
22576     if (*arg1) {
22577       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg1));
22578     } else {
22579       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
22580     }
22581   }
22582   if (SWIG_IsTmpObj(res2)) {
22583     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg2)));
22584   } else {
22585     int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
22586     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
22587   }
22588   if (SWIG_IsTmpObj(res3)) {
22589     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg3)));
22590   } else {
22591     int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
22592     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_svn_node_kind_t, new_flags));
22593   }
22594   {
22595     VALUE target;
22596     target = _global_vresult_address == &vresult ? self : vresult;
22597     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22598     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22599     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22600   }
22601   {
22602     VALUE target;
22603     target = _global_vresult_address == &vresult ? self : vresult;
22604     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22605     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22606     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22607   }
22608   return vresult;
22609 fail:
22610   {
22611     VALUE target;
22612     target = _global_vresult_address == &vresult ? self : vresult;
22613     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22614     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22615     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22616   }
22617   {
22618     VALUE target;
22619     target = _global_vresult_address == &vresult ? self : vresult;
22620     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22621     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22622     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22623   }
22624   return Qnil;
22625 }
22626 
22627 
22628 SWIGINTERN VALUE
_wrap_svn_client_conflict_get_incoming_new_repos_location(int argc,VALUE * argv,VALUE self)22629 _wrap_svn_client_conflict_get_incoming_new_repos_location(int argc, VALUE *argv, VALUE self) {
22630   char **arg1 = (char **) 0 ;
22631   svn_revnum_t *arg2 = (svn_revnum_t *) 0 ;
22632   svn_node_kind_t *arg3 = (svn_node_kind_t *) 0 ;
22633   svn_client_conflict_t *arg4 = (svn_client_conflict_t *) 0 ;
22634   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
22635   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
22636   VALUE _global_svn_swig_rb_pool ;
22637   apr_pool_t *_global_pool ;
22638   char *temp1 ;
22639   svn_revnum_t temp2 ;
22640   int res2 = SWIG_TMPOBJ ;
22641   svn_node_kind_t temp3 ;
22642   int res3 = SWIG_TMPOBJ ;
22643   void *argp4 = 0 ;
22644   int res4 = 0 ;
22645   svn_error_t *result = 0 ;
22646   VALUE vresult = Qnil;
22647 
22648   {
22649     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
22650     _global_pool = arg5;
22651     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
22652   }
22653   {
22654     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
22655     _global_pool = arg6;
22656     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
22657   }
22658   arg1 = &temp1;
22659   arg2 = &temp2;
22660   arg3 = &temp3;
22661   if ((argc < 1) || (argc > 3)) {
22662     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22663   }
22664   res4 = SWIG_ConvertPtr(argv[0], &argp4,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
22665   if (!SWIG_IsOK(res4)) {
22666     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_get_incoming_new_repos_location", 4, argv[0] ));
22667   }
22668   arg4 = (svn_client_conflict_t *)(argp4);
22669   if (argc > 1) {
22670 
22671   }
22672   if (argc > 2) {
22673 
22674   }
22675   {
22676     result = (svn_error_t *)svn_client_conflict_get_incoming_new_repos_location((char const **)arg1,arg2,arg3,arg4,arg5,arg6);
22677 
22678 
22679 
22680   }
22681   {
22682     if (result) {
22683       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22684       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22685       svn_swig_rb_handle_svn_error(result);
22686     }
22687     vresult = Qnil;
22688   }
22689   {
22690     if (*arg1) {
22691       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg1));
22692     } else {
22693       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
22694     }
22695   }
22696   if (SWIG_IsTmpObj(res2)) {
22697     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg2)));
22698   } else {
22699     int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
22700     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
22701   }
22702   if (SWIG_IsTmpObj(res3)) {
22703     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg3)));
22704   } else {
22705     int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
22706     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_svn_node_kind_t, new_flags));
22707   }
22708   {
22709     VALUE target;
22710     target = _global_vresult_address == &vresult ? self : vresult;
22711     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22712     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22713     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22714   }
22715   {
22716     VALUE target;
22717     target = _global_vresult_address == &vresult ? self : vresult;
22718     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22719     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22720     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22721   }
22722   return vresult;
22723 fail:
22724   {
22725     VALUE target;
22726     target = _global_vresult_address == &vresult ? self : vresult;
22727     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22728     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22729     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22730   }
22731   {
22732     VALUE target;
22733     target = _global_vresult_address == &vresult ? self : vresult;
22734     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22735     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22736     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22737   }
22738   return Qnil;
22739 }
22740 
22741 
22742 SWIGINTERN VALUE
_wrap_svn_client_conflict_tree_get_victim_node_kind(int argc,VALUE * argv,VALUE self)22743 _wrap_svn_client_conflict_tree_get_victim_node_kind(int argc, VALUE *argv, VALUE self) {
22744   svn_client_conflict_t *arg1 = (svn_client_conflict_t *) 0 ;
22745   void *argp1 = 0 ;
22746   int res1 = 0 ;
22747   svn_node_kind_t result;
22748   VALUE vresult = Qnil;
22749 
22750   if ((argc < 1) || (argc > 1)) {
22751     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22752   }
22753   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
22754   if (!SWIG_IsOK(res1)) {
22755     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_tree_get_victim_node_kind", 1, argv[0] ));
22756   }
22757   arg1 = (svn_client_conflict_t *)(argp1);
22758   {
22759     result = (svn_node_kind_t)svn_client_conflict_tree_get_victim_node_kind(arg1);
22760 
22761 
22762 
22763   }
22764   vresult = SWIG_From_int((int)(result));
22765   return vresult;
22766 fail:
22767   return Qnil;
22768 }
22769 
22770 
22771 SWIGINTERN VALUE
_wrap_svn_client_conflict_tree_resolve(int argc,VALUE * argv,VALUE self)22772 _wrap_svn_client_conflict_tree_resolve(int argc, VALUE *argv, VALUE self) {
22773   svn_client_conflict_t *arg1 = (svn_client_conflict_t *) 0 ;
22774   svn_client_conflict_option_t *arg2 = (svn_client_conflict_option_t *) 0 ;
22775   svn_client_ctx_t *arg3 = (svn_client_ctx_t *) 0 ;
22776   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
22777   VALUE _global_svn_swig_rb_pool ;
22778   apr_pool_t *_global_pool ;
22779   void *argp1 = 0 ;
22780   int res1 = 0 ;
22781   void *argp2 = 0 ;
22782   int res2 = 0 ;
22783   void *argp3 = 0 ;
22784   int res3 = 0 ;
22785   svn_error_t *result = 0 ;
22786   VALUE vresult = Qnil;
22787 
22788   {
22789     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
22790     _global_pool = arg4;
22791     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
22792   }
22793   if ((argc < 3) || (argc > 4)) {
22794     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
22795   }
22796   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
22797   if (!SWIG_IsOK(res1)) {
22798     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_tree_resolve", 1, argv[0] ));
22799   }
22800   arg1 = (svn_client_conflict_t *)(argp1);
22801   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_svn_client_conflict_option_t, 0 |  0 );
22802   if (!SWIG_IsOK(res2)) {
22803     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_client_conflict_option_t *","svn_client_conflict_tree_resolve", 2, argv[1] ));
22804   }
22805   arg2 = (svn_client_conflict_option_t *)(argp2);
22806   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
22807   if (!SWIG_IsOK(res3)) {
22808     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_conflict_tree_resolve", 3, argv[2] ));
22809   }
22810   arg3 = (svn_client_ctx_t *)(argp3);
22811   if (argc > 3) {
22812 
22813   }
22814   {
22815     result = (svn_error_t *)svn_client_conflict_tree_resolve(arg1,arg2,arg3,arg4);
22816 
22817 
22818 
22819   }
22820   {
22821     if (result) {
22822       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22823       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22824       svn_swig_rb_handle_svn_error(result);
22825     }
22826     vresult = Qnil;
22827   }
22828   {
22829     VALUE target;
22830     target = _global_vresult_address == &vresult ? self : vresult;
22831     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22832     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22833     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22834   }
22835   return vresult;
22836 fail:
22837   {
22838     VALUE target;
22839     target = _global_vresult_address == &vresult ? self : vresult;
22840     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22841     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22842     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22843   }
22844   return Qnil;
22845 }
22846 
22847 
22848 SWIGINTERN VALUE
_wrap_svn_client_conflict_tree_resolve_by_id(int argc,VALUE * argv,VALUE self)22849 _wrap_svn_client_conflict_tree_resolve_by_id(int argc, VALUE *argv, VALUE self) {
22850   svn_client_conflict_t *arg1 = (svn_client_conflict_t *) 0 ;
22851   svn_client_conflict_option_id_t arg2 ;
22852   svn_client_ctx_t *arg3 = (svn_client_ctx_t *) 0 ;
22853   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
22854   VALUE _global_svn_swig_rb_pool ;
22855   apr_pool_t *_global_pool ;
22856   void *argp1 = 0 ;
22857   int res1 = 0 ;
22858   int val2 ;
22859   int ecode2 = 0 ;
22860   void *argp3 = 0 ;
22861   int res3 = 0 ;
22862   svn_error_t *result = 0 ;
22863   VALUE vresult = Qnil;
22864 
22865   {
22866     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
22867     _global_pool = arg4;
22868     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
22869   }
22870   if ((argc < 3) || (argc > 4)) {
22871     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
22872   }
22873   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
22874   if (!SWIG_IsOK(res1)) {
22875     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_tree_resolve_by_id", 1, argv[0] ));
22876   }
22877   arg1 = (svn_client_conflict_t *)(argp1);
22878   ecode2 = SWIG_AsVal_int(argv[1], &val2);
22879   if (!SWIG_IsOK(ecode2)) {
22880     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_client_conflict_option_id_t","svn_client_conflict_tree_resolve_by_id", 2, argv[1] ));
22881   }
22882   arg2 = (svn_client_conflict_option_id_t)(val2);
22883   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
22884   if (!SWIG_IsOK(res3)) {
22885     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_conflict_tree_resolve_by_id", 3, argv[2] ));
22886   }
22887   arg3 = (svn_client_ctx_t *)(argp3);
22888   if (argc > 3) {
22889 
22890   }
22891   {
22892     result = (svn_error_t *)svn_client_conflict_tree_resolve_by_id(arg1,arg2,arg3,arg4);
22893 
22894 
22895 
22896   }
22897   {
22898     if (result) {
22899       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22900       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22901       svn_swig_rb_handle_svn_error(result);
22902     }
22903     vresult = Qnil;
22904   }
22905   {
22906     VALUE target;
22907     target = _global_vresult_address == &vresult ? self : vresult;
22908     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22909     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22910     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22911   }
22912   return vresult;
22913 fail:
22914   {
22915     VALUE target;
22916     target = _global_vresult_address == &vresult ? self : vresult;
22917     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
22918     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
22919     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
22920   }
22921   return Qnil;
22922 }
22923 
22924 
22925 SWIGINTERN VALUE
_wrap_svn_client_conflict_tree_get_resolution(int argc,VALUE * argv,VALUE self)22926 _wrap_svn_client_conflict_tree_get_resolution(int argc, VALUE *argv, VALUE self) {
22927   svn_client_conflict_t *arg1 = (svn_client_conflict_t *) 0 ;
22928   void *argp1 = 0 ;
22929   int res1 = 0 ;
22930   svn_client_conflict_option_id_t result;
22931   VALUE vresult = Qnil;
22932 
22933   if ((argc < 1) || (argc > 1)) {
22934     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22935   }
22936   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
22937   if (!SWIG_IsOK(res1)) {
22938     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_tree_get_resolution", 1, argv[0] ));
22939   }
22940   arg1 = (svn_client_conflict_t *)(argp1);
22941   {
22942     result = (svn_client_conflict_option_id_t)svn_client_conflict_tree_get_resolution(arg1);
22943 
22944 
22945 
22946   }
22947   vresult = SWIG_From_int((int)(result));
22948   return vresult;
22949 fail:
22950   return Qnil;
22951 }
22952 
22953 
22954 SWIGINTERN VALUE
_wrap_svn_client_conflict_prop_get_reject_abspath(int argc,VALUE * argv,VALUE self)22955 _wrap_svn_client_conflict_prop_get_reject_abspath(int argc, VALUE *argv, VALUE self) {
22956   svn_client_conflict_t *arg1 = (svn_client_conflict_t *) 0 ;
22957   void *argp1 = 0 ;
22958   int res1 = 0 ;
22959   char *result = 0 ;
22960   VALUE vresult = Qnil;
22961 
22962   if ((argc < 1) || (argc > 1)) {
22963     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22964   }
22965   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
22966   if (!SWIG_IsOK(res1)) {
22967     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_prop_get_reject_abspath", 1, argv[0] ));
22968   }
22969   arg1 = (svn_client_conflict_t *)(argp1);
22970   {
22971     result = (char *)svn_client_conflict_prop_get_reject_abspath(arg1);
22972 
22973 
22974 
22975   }
22976   {
22977     if (result) {
22978       vresult = rb_str_new2(result);
22979     } else {
22980       vresult = Qnil;
22981     }
22982   }
22983   return vresult;
22984 fail:
22985   return Qnil;
22986 }
22987 
22988 
22989 SWIGINTERN VALUE
_wrap_svn_client_conflict_prop_get_propvals(int argc,VALUE * argv,VALUE self)22990 _wrap_svn_client_conflict_prop_get_propvals(int argc, VALUE *argv, VALUE self) {
22991   svn_string_t **arg1 = (svn_string_t **) 0 ;
22992   svn_string_t **arg2 = (svn_string_t **) 0 ;
22993   svn_string_t **arg3 = (svn_string_t **) 0 ;
22994   svn_string_t **arg4 = (svn_string_t **) 0 ;
22995   svn_client_conflict_t *arg5 = (svn_client_conflict_t *) 0 ;
22996   char *arg6 = (char *) 0 ;
22997   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
22998   VALUE _global_svn_swig_rb_pool ;
22999   apr_pool_t *_global_pool ;
23000   svn_string_t *temp1 ;
23001   svn_string_t *temp2 ;
23002   svn_string_t *temp3 ;
23003   svn_string_t *temp4 ;
23004   void *argp5 = 0 ;
23005   int res5 = 0 ;
23006   int res6 ;
23007   char *buf6 = 0 ;
23008   int alloc6 = 0 ;
23009   svn_error_t *result = 0 ;
23010   VALUE vresult = Qnil;
23011 
23012   {
23013     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7);
23014     _global_pool = arg7;
23015     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
23016   }
23017   arg1 = &temp1;
23018   arg2 = &temp2;
23019   arg3 = &temp3;
23020   arg4 = &temp4;
23021   if ((argc < 2) || (argc > 3)) {
23022     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
23023   }
23024   res5 = SWIG_ConvertPtr(argv[0], &argp5,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
23025   if (!SWIG_IsOK(res5)) {
23026     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_prop_get_propvals", 5, argv[0] ));
23027   }
23028   arg5 = (svn_client_conflict_t *)(argp5);
23029   res6 = SWIG_AsCharPtrAndSize(argv[1], &buf6, NULL, &alloc6);
23030   if (!SWIG_IsOK(res6)) {
23031     SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "char const *","svn_client_conflict_prop_get_propvals", 6, argv[1] ));
23032   }
23033   arg6 = (char *)(buf6);
23034   if (argc > 2) {
23035 
23036   }
23037   {
23038     result = (svn_error_t *)svn_client_conflict_prop_get_propvals((struct svn_string_t const **)arg1,(struct svn_string_t const **)arg2,(struct svn_string_t const **)arg3,(struct svn_string_t const **)arg4,arg5,(char const *)arg6,arg7);
23039 
23040 
23041 
23042   }
23043   {
23044     if (result) {
23045       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23046       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23047       svn_swig_rb_handle_svn_error(result);
23048     }
23049     vresult = Qnil;
23050   }
23051   {
23052     if (*arg1) {
23053       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new((*arg1)->data, (*arg1)->len));
23054     } else {
23055       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
23056     }
23057   }
23058   {
23059     if (*arg2) {
23060       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new((*arg2)->data, (*arg2)->len));
23061     } else {
23062       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
23063     }
23064   }
23065   {
23066     if (*arg3) {
23067       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new((*arg3)->data, (*arg3)->len));
23068     } else {
23069       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
23070     }
23071   }
23072   {
23073     if (*arg4) {
23074       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new((*arg4)->data, (*arg4)->len));
23075     } else {
23076       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
23077     }
23078   }
23079   if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
23080   {
23081     VALUE target;
23082     target = _global_vresult_address == &vresult ? self : vresult;
23083     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
23084     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23085     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23086   }
23087   return vresult;
23088 fail:
23089   if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
23090   {
23091     VALUE target;
23092     target = _global_vresult_address == &vresult ? self : vresult;
23093     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
23094     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23095     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23096   }
23097   return Qnil;
23098 }
23099 
23100 
23101 SWIGINTERN VALUE
_wrap_svn_client_conflict_prop_resolve(int argc,VALUE * argv,VALUE self)23102 _wrap_svn_client_conflict_prop_resolve(int argc, VALUE *argv, VALUE self) {
23103   svn_client_conflict_t *arg1 = (svn_client_conflict_t *) 0 ;
23104   char *arg2 = (char *) 0 ;
23105   svn_client_conflict_option_t *arg3 = (svn_client_conflict_option_t *) 0 ;
23106   svn_client_ctx_t *arg4 = (svn_client_ctx_t *) 0 ;
23107   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
23108   VALUE _global_svn_swig_rb_pool ;
23109   apr_pool_t *_global_pool ;
23110   void *argp1 = 0 ;
23111   int res1 = 0 ;
23112   int res2 ;
23113   char *buf2 = 0 ;
23114   int alloc2 = 0 ;
23115   void *argp3 = 0 ;
23116   int res3 = 0 ;
23117   void *argp4 = 0 ;
23118   int res4 = 0 ;
23119   svn_error_t *result = 0 ;
23120   VALUE vresult = Qnil;
23121 
23122   {
23123     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
23124     _global_pool = arg5;
23125     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
23126   }
23127   if ((argc < 4) || (argc > 5)) {
23128     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
23129   }
23130   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
23131   if (!SWIG_IsOK(res1)) {
23132     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_prop_resolve", 1, argv[0] ));
23133   }
23134   arg1 = (svn_client_conflict_t *)(argp1);
23135   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
23136   if (!SWIG_IsOK(res2)) {
23137     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_conflict_prop_resolve", 2, argv[1] ));
23138   }
23139   arg2 = (char *)(buf2);
23140   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_svn_client_conflict_option_t, 0 |  0 );
23141   if (!SWIG_IsOK(res3)) {
23142     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_conflict_option_t *","svn_client_conflict_prop_resolve", 3, argv[2] ));
23143   }
23144   arg3 = (svn_client_conflict_option_t *)(argp3);
23145   res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
23146   if (!SWIG_IsOK(res4)) {
23147     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_conflict_prop_resolve", 4, argv[3] ));
23148   }
23149   arg4 = (svn_client_ctx_t *)(argp4);
23150   if (argc > 4) {
23151 
23152   }
23153   {
23154     result = (svn_error_t *)svn_client_conflict_prop_resolve(arg1,(char const *)arg2,arg3,arg4,arg5);
23155 
23156 
23157 
23158   }
23159   {
23160     if (result) {
23161       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23162       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23163       svn_swig_rb_handle_svn_error(result);
23164     }
23165     vresult = Qnil;
23166   }
23167   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23168   {
23169     VALUE target;
23170     target = _global_vresult_address == &vresult ? self : vresult;
23171     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
23172     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23173     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23174   }
23175   return vresult;
23176 fail:
23177   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23178   {
23179     VALUE target;
23180     target = _global_vresult_address == &vresult ? self : vresult;
23181     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
23182     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23183     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23184   }
23185   return Qnil;
23186 }
23187 
23188 
23189 SWIGINTERN VALUE
_wrap_svn_client_conflict_prop_resolve_by_id(int argc,VALUE * argv,VALUE self)23190 _wrap_svn_client_conflict_prop_resolve_by_id(int argc, VALUE *argv, VALUE self) {
23191   svn_client_conflict_t *arg1 = (svn_client_conflict_t *) 0 ;
23192   char *arg2 = (char *) 0 ;
23193   svn_client_conflict_option_id_t arg3 ;
23194   svn_client_ctx_t *arg4 = (svn_client_ctx_t *) 0 ;
23195   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
23196   VALUE _global_svn_swig_rb_pool ;
23197   apr_pool_t *_global_pool ;
23198   void *argp1 = 0 ;
23199   int res1 = 0 ;
23200   int res2 ;
23201   char *buf2 = 0 ;
23202   int alloc2 = 0 ;
23203   int val3 ;
23204   int ecode3 = 0 ;
23205   void *argp4 = 0 ;
23206   int res4 = 0 ;
23207   svn_error_t *result = 0 ;
23208   VALUE vresult = Qnil;
23209 
23210   {
23211     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
23212     _global_pool = arg5;
23213     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
23214   }
23215   if ((argc < 4) || (argc > 5)) {
23216     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
23217   }
23218   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
23219   if (!SWIG_IsOK(res1)) {
23220     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_prop_resolve_by_id", 1, argv[0] ));
23221   }
23222   arg1 = (svn_client_conflict_t *)(argp1);
23223   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
23224   if (!SWIG_IsOK(res2)) {
23225     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_conflict_prop_resolve_by_id", 2, argv[1] ));
23226   }
23227   arg2 = (char *)(buf2);
23228   ecode3 = SWIG_AsVal_int(argv[2], &val3);
23229   if (!SWIG_IsOK(ecode3)) {
23230     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "svn_client_conflict_option_id_t","svn_client_conflict_prop_resolve_by_id", 3, argv[2] ));
23231   }
23232   arg3 = (svn_client_conflict_option_id_t)(val3);
23233   res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
23234   if (!SWIG_IsOK(res4)) {
23235     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_conflict_prop_resolve_by_id", 4, argv[3] ));
23236   }
23237   arg4 = (svn_client_ctx_t *)(argp4);
23238   if (argc > 4) {
23239 
23240   }
23241   {
23242     result = (svn_error_t *)svn_client_conflict_prop_resolve_by_id(arg1,(char const *)arg2,arg3,arg4,arg5);
23243 
23244 
23245 
23246   }
23247   {
23248     if (result) {
23249       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23250       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23251       svn_swig_rb_handle_svn_error(result);
23252     }
23253     vresult = Qnil;
23254   }
23255   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23256   {
23257     VALUE target;
23258     target = _global_vresult_address == &vresult ? self : vresult;
23259     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
23260     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23261     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23262   }
23263   return vresult;
23264 fail:
23265   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23266   {
23267     VALUE target;
23268     target = _global_vresult_address == &vresult ? self : vresult;
23269     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
23270     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23271     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23272   }
23273   return Qnil;
23274 }
23275 
23276 
23277 SWIGINTERN VALUE
_wrap_svn_client_conflict_prop_get_resolution(int argc,VALUE * argv,VALUE self)23278 _wrap_svn_client_conflict_prop_get_resolution(int argc, VALUE *argv, VALUE self) {
23279   svn_client_conflict_t *arg1 = (svn_client_conflict_t *) 0 ;
23280   char *arg2 = (char *) 0 ;
23281   void *argp1 = 0 ;
23282   int res1 = 0 ;
23283   int res2 ;
23284   char *buf2 = 0 ;
23285   int alloc2 = 0 ;
23286   svn_client_conflict_option_id_t result;
23287   VALUE vresult = Qnil;
23288 
23289   if ((argc < 2) || (argc > 2)) {
23290     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
23291   }
23292   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
23293   if (!SWIG_IsOK(res1)) {
23294     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_prop_get_resolution", 1, argv[0] ));
23295   }
23296   arg1 = (svn_client_conflict_t *)(argp1);
23297   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
23298   if (!SWIG_IsOK(res2)) {
23299     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_conflict_prop_get_resolution", 2, argv[1] ));
23300   }
23301   arg2 = (char *)(buf2);
23302   {
23303     result = (svn_client_conflict_option_id_t)svn_client_conflict_prop_get_resolution(arg1,(char const *)arg2);
23304 
23305 
23306 
23307   }
23308   vresult = SWIG_From_int((int)(result));
23309   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23310   return vresult;
23311 fail:
23312   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23313   return Qnil;
23314 }
23315 
23316 
23317 SWIGINTERN VALUE
_wrap_svn_client_conflict_text_get_mime_type(int argc,VALUE * argv,VALUE self)23318 _wrap_svn_client_conflict_text_get_mime_type(int argc, VALUE *argv, VALUE self) {
23319   svn_client_conflict_t *arg1 = (svn_client_conflict_t *) 0 ;
23320   void *argp1 = 0 ;
23321   int res1 = 0 ;
23322   char *result = 0 ;
23323   VALUE vresult = Qnil;
23324 
23325   if ((argc < 1) || (argc > 1)) {
23326     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
23327   }
23328   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
23329   if (!SWIG_IsOK(res1)) {
23330     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_text_get_mime_type", 1, argv[0] ));
23331   }
23332   arg1 = (svn_client_conflict_t *)(argp1);
23333   {
23334     result = (char *)svn_client_conflict_text_get_mime_type(arg1);
23335 
23336 
23337 
23338   }
23339   {
23340     if (result) {
23341       vresult = rb_str_new2(result);
23342     } else {
23343       vresult = Qnil;
23344     }
23345   }
23346   return vresult;
23347 fail:
23348   return Qnil;
23349 }
23350 
23351 
23352 SWIGINTERN VALUE
_wrap_svn_client_conflict_text_get_contents(int argc,VALUE * argv,VALUE self)23353 _wrap_svn_client_conflict_text_get_contents(int argc, VALUE *argv, VALUE self) {
23354   char **arg1 = (char **) 0 ;
23355   char **arg2 = (char **) 0 ;
23356   char **arg3 = (char **) 0 ;
23357   char **arg4 = (char **) 0 ;
23358   svn_client_conflict_t *arg5 = (svn_client_conflict_t *) 0 ;
23359   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
23360   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
23361   VALUE _global_svn_swig_rb_pool ;
23362   apr_pool_t *_global_pool ;
23363   char *temp1 ;
23364   char *temp2 ;
23365   char *temp3 ;
23366   char *temp4 ;
23367   void *argp5 = 0 ;
23368   int res5 = 0 ;
23369   svn_error_t *result = 0 ;
23370   VALUE vresult = Qnil;
23371 
23372   {
23373     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
23374     _global_pool = arg6;
23375     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
23376   }
23377   {
23378     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7);
23379     _global_pool = arg7;
23380     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
23381   }
23382   arg1 = &temp1;
23383   arg2 = &temp2;
23384   arg3 = &temp3;
23385   arg4 = &temp4;
23386   if ((argc < 1) || (argc > 3)) {
23387     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
23388   }
23389   res5 = SWIG_ConvertPtr(argv[0], &argp5,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
23390   if (!SWIG_IsOK(res5)) {
23391     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_text_get_contents", 5, argv[0] ));
23392   }
23393   arg5 = (svn_client_conflict_t *)(argp5);
23394   if (argc > 1) {
23395 
23396   }
23397   if (argc > 2) {
23398 
23399   }
23400   {
23401     result = (svn_error_t *)svn_client_conflict_text_get_contents((char const **)arg1,(char const **)arg2,(char const **)arg3,(char const **)arg4,arg5,arg6,arg7);
23402 
23403 
23404 
23405   }
23406   {
23407     if (result) {
23408       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23409       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23410       svn_swig_rb_handle_svn_error(result);
23411     }
23412     vresult = Qnil;
23413   }
23414   {
23415     if (*arg1) {
23416       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg1));
23417     } else {
23418       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
23419     }
23420   }
23421   {
23422     if (*arg2) {
23423       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg2));
23424     } else {
23425       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
23426     }
23427   }
23428   {
23429     if (*arg3) {
23430       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg3));
23431     } else {
23432       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
23433     }
23434   }
23435   {
23436     if (*arg4) {
23437       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg4));
23438     } else {
23439       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
23440     }
23441   }
23442   {
23443     VALUE target;
23444     target = _global_vresult_address == &vresult ? self : vresult;
23445     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
23446     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23447     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23448   }
23449   {
23450     VALUE target;
23451     target = _global_vresult_address == &vresult ? self : vresult;
23452     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
23453     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23454     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23455   }
23456   return vresult;
23457 fail:
23458   {
23459     VALUE target;
23460     target = _global_vresult_address == &vresult ? self : vresult;
23461     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
23462     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23463     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23464   }
23465   {
23466     VALUE target;
23467     target = _global_vresult_address == &vresult ? self : vresult;
23468     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
23469     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23470     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23471   }
23472   return Qnil;
23473 }
23474 
23475 
23476 SWIGINTERN VALUE
_wrap_svn_client_conflict_text_resolve(int argc,VALUE * argv,VALUE self)23477 _wrap_svn_client_conflict_text_resolve(int argc, VALUE *argv, VALUE self) {
23478   svn_client_conflict_t *arg1 = (svn_client_conflict_t *) 0 ;
23479   svn_client_conflict_option_t *arg2 = (svn_client_conflict_option_t *) 0 ;
23480   svn_client_ctx_t *arg3 = (svn_client_ctx_t *) 0 ;
23481   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
23482   VALUE _global_svn_swig_rb_pool ;
23483   apr_pool_t *_global_pool ;
23484   void *argp1 = 0 ;
23485   int res1 = 0 ;
23486   void *argp2 = 0 ;
23487   int res2 = 0 ;
23488   void *argp3 = 0 ;
23489   int res3 = 0 ;
23490   svn_error_t *result = 0 ;
23491   VALUE vresult = Qnil;
23492 
23493   {
23494     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
23495     _global_pool = arg4;
23496     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
23497   }
23498   if ((argc < 3) || (argc > 4)) {
23499     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
23500   }
23501   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
23502   if (!SWIG_IsOK(res1)) {
23503     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_text_resolve", 1, argv[0] ));
23504   }
23505   arg1 = (svn_client_conflict_t *)(argp1);
23506   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_svn_client_conflict_option_t, 0 |  0 );
23507   if (!SWIG_IsOK(res2)) {
23508     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_client_conflict_option_t *","svn_client_conflict_text_resolve", 2, argv[1] ));
23509   }
23510   arg2 = (svn_client_conflict_option_t *)(argp2);
23511   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
23512   if (!SWIG_IsOK(res3)) {
23513     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_conflict_text_resolve", 3, argv[2] ));
23514   }
23515   arg3 = (svn_client_ctx_t *)(argp3);
23516   if (argc > 3) {
23517 
23518   }
23519   {
23520     result = (svn_error_t *)svn_client_conflict_text_resolve(arg1,arg2,arg3,arg4);
23521 
23522 
23523 
23524   }
23525   {
23526     if (result) {
23527       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23528       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23529       svn_swig_rb_handle_svn_error(result);
23530     }
23531     vresult = Qnil;
23532   }
23533   {
23534     VALUE target;
23535     target = _global_vresult_address == &vresult ? self : vresult;
23536     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
23537     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23538     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23539   }
23540   return vresult;
23541 fail:
23542   {
23543     VALUE target;
23544     target = _global_vresult_address == &vresult ? self : vresult;
23545     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
23546     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23547     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23548   }
23549   return Qnil;
23550 }
23551 
23552 
23553 SWIGINTERN VALUE
_wrap_svn_client_conflict_text_resolve_by_id(int argc,VALUE * argv,VALUE self)23554 _wrap_svn_client_conflict_text_resolve_by_id(int argc, VALUE *argv, VALUE self) {
23555   svn_client_conflict_t *arg1 = (svn_client_conflict_t *) 0 ;
23556   svn_client_conflict_option_id_t arg2 ;
23557   svn_client_ctx_t *arg3 = (svn_client_ctx_t *) 0 ;
23558   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
23559   VALUE _global_svn_swig_rb_pool ;
23560   apr_pool_t *_global_pool ;
23561   void *argp1 = 0 ;
23562   int res1 = 0 ;
23563   int val2 ;
23564   int ecode2 = 0 ;
23565   void *argp3 = 0 ;
23566   int res3 = 0 ;
23567   svn_error_t *result = 0 ;
23568   VALUE vresult = Qnil;
23569 
23570   {
23571     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
23572     _global_pool = arg4;
23573     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
23574   }
23575   if ((argc < 3) || (argc > 4)) {
23576     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
23577   }
23578   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
23579   if (!SWIG_IsOK(res1)) {
23580     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_text_resolve_by_id", 1, argv[0] ));
23581   }
23582   arg1 = (svn_client_conflict_t *)(argp1);
23583   ecode2 = SWIG_AsVal_int(argv[1], &val2);
23584   if (!SWIG_IsOK(ecode2)) {
23585     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_client_conflict_option_id_t","svn_client_conflict_text_resolve_by_id", 2, argv[1] ));
23586   }
23587   arg2 = (svn_client_conflict_option_id_t)(val2);
23588   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
23589   if (!SWIG_IsOK(res3)) {
23590     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_conflict_text_resolve_by_id", 3, argv[2] ));
23591   }
23592   arg3 = (svn_client_ctx_t *)(argp3);
23593   if (argc > 3) {
23594 
23595   }
23596   {
23597     result = (svn_error_t *)svn_client_conflict_text_resolve_by_id(arg1,arg2,arg3,arg4);
23598 
23599 
23600 
23601   }
23602   {
23603     if (result) {
23604       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23605       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23606       svn_swig_rb_handle_svn_error(result);
23607     }
23608     vresult = Qnil;
23609   }
23610   {
23611     VALUE target;
23612     target = _global_vresult_address == &vresult ? self : vresult;
23613     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
23614     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23615     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23616   }
23617   return vresult;
23618 fail:
23619   {
23620     VALUE target;
23621     target = _global_vresult_address == &vresult ? self : vresult;
23622     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
23623     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23624     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23625   }
23626   return Qnil;
23627 }
23628 
23629 
23630 SWIGINTERN VALUE
_wrap_svn_client_conflict_text_get_resolution(int argc,VALUE * argv,VALUE self)23631 _wrap_svn_client_conflict_text_get_resolution(int argc, VALUE *argv, VALUE self) {
23632   svn_client_conflict_t *arg1 = (svn_client_conflict_t *) 0 ;
23633   void *argp1 = 0 ;
23634   int res1 = 0 ;
23635   svn_client_conflict_option_id_t result;
23636   VALUE vresult = Qnil;
23637 
23638   if ((argc < 1) || (argc > 1)) {
23639     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
23640   }
23641   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
23642   if (!SWIG_IsOK(res1)) {
23643     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_conflict_text_get_resolution", 1, argv[0] ));
23644   }
23645   arg1 = (svn_client_conflict_t *)(argp1);
23646   {
23647     result = (svn_client_conflict_option_id_t)svn_client_conflict_text_get_resolution(arg1);
23648 
23649 
23650 
23651   }
23652   vresult = SWIG_From_int((int)(result));
23653   return vresult;
23654 fail:
23655   return Qnil;
23656 }
23657 
23658 
23659 SWIGINTERN VALUE
_wrap_svn_client_resolved(int argc,VALUE * argv,VALUE self)23660 _wrap_svn_client_resolved(int argc, VALUE *argv, VALUE self) {
23661   char *arg1 = (char *) 0 ;
23662   svn_boolean_t arg2 ;
23663   svn_client_ctx_t *arg3 = (svn_client_ctx_t *) 0 ;
23664   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
23665   VALUE _global_svn_swig_rb_pool ;
23666   apr_pool_t *_global_pool ;
23667   int res1 ;
23668   char *buf1 = 0 ;
23669   int alloc1 = 0 ;
23670   void *argp3 = 0 ;
23671   int res3 = 0 ;
23672   svn_error_t *result = 0 ;
23673   VALUE vresult = Qnil;
23674 
23675   {
23676     int adjusted_argc = argc;
23677     VALUE *adjusted_argv = argv;
23678 
23679     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
23680       &adjusted_argv);
23681     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
23682       &_global_svn_swig_rb_pool, &arg4);
23683     _global_pool = arg4;
23684     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
23685   }
23686   if ((argc < 2) || (argc > 4)) {
23687     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
23688   }
23689   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
23690   if (!SWIG_IsOK(res1)) {
23691     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_resolved", 1, argv[0] ));
23692   }
23693   arg1 = (char *)(buf1);
23694   arg2 = RTEST(argv[1]);
23695   if (argc > 2) {
23696     res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
23697     if (!SWIG_IsOK(res3)) {
23698       SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_resolved", 3, argv[2] ));
23699     }
23700     arg3 = (svn_client_ctx_t *)(argp3);
23701   }
23702   if (argc > 3) {
23703 
23704   }
23705   {
23706     result = (svn_error_t *)svn_client_resolved((char const *)arg1,arg2,arg3,arg4);
23707 
23708 
23709 
23710   }
23711   {
23712     if (result) {
23713       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23714       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23715       svn_swig_rb_handle_svn_error(result);
23716     }
23717     vresult = Qnil;
23718   }
23719   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
23720   {
23721     VALUE target;
23722     target = _global_vresult_address == &vresult ? self : vresult;
23723     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
23724     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23725     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23726   }
23727   return vresult;
23728 fail:
23729   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
23730   {
23731     VALUE target;
23732     target = _global_vresult_address == &vresult ? self : vresult;
23733     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
23734     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23735     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23736   }
23737   return Qnil;
23738 }
23739 
23740 
23741 SWIGINTERN VALUE
_wrap_svn_client_resolve(int argc,VALUE * argv,VALUE self)23742 _wrap_svn_client_resolve(int argc, VALUE *argv, VALUE self) {
23743   char *arg1 = (char *) 0 ;
23744   svn_depth_t arg2 ;
23745   svn_wc_conflict_choice_t arg3 ;
23746   svn_client_ctx_t *arg4 = (svn_client_ctx_t *) 0 ;
23747   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
23748   VALUE _global_svn_swig_rb_pool ;
23749   apr_pool_t *_global_pool ;
23750   int res1 ;
23751   char *buf1 = 0 ;
23752   int alloc1 = 0 ;
23753   int val3 ;
23754   int ecode3 = 0 ;
23755   void *argp4 = 0 ;
23756   int res4 = 0 ;
23757   svn_error_t *result = 0 ;
23758   VALUE vresult = Qnil;
23759 
23760   {
23761     int adjusted_argc = argc;
23762     VALUE *adjusted_argv = argv;
23763 
23764     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
23765       &adjusted_argv);
23766     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
23767       &_global_svn_swig_rb_pool, &arg5);
23768     _global_pool = arg5;
23769     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
23770   }
23771   if ((argc < 3) || (argc > 5)) {
23772     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
23773   }
23774   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
23775   if (!SWIG_IsOK(res1)) {
23776     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_resolve", 1, argv[0] ));
23777   }
23778   arg1 = (char *)(buf1);
23779   {
23780     arg2 = svn_swig_rb_to_depth(argv[1]);
23781   }
23782   ecode3 = SWIG_AsVal_int(argv[2], &val3);
23783   if (!SWIG_IsOK(ecode3)) {
23784     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "svn_wc_conflict_choice_t","svn_client_resolve", 3, argv[2] ));
23785   }
23786   arg3 = (svn_wc_conflict_choice_t)(val3);
23787   if (argc > 3) {
23788     res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
23789     if (!SWIG_IsOK(res4)) {
23790       SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_resolve", 4, argv[3] ));
23791     }
23792     arg4 = (svn_client_ctx_t *)(argp4);
23793   }
23794   if (argc > 4) {
23795 
23796   }
23797   {
23798     result = (svn_error_t *)svn_client_resolve((char const *)arg1,arg2,arg3,arg4,arg5);
23799 
23800 
23801 
23802   }
23803   {
23804     if (result) {
23805       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23806       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23807       svn_swig_rb_handle_svn_error(result);
23808     }
23809     vresult = Qnil;
23810   }
23811   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
23812   {
23813     VALUE target;
23814     target = _global_vresult_address == &vresult ? self : vresult;
23815     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
23816     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23817     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23818   }
23819   return vresult;
23820 fail:
23821   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
23822   {
23823     VALUE target;
23824     target = _global_vresult_address == &vresult ? self : vresult;
23825     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
23826     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23827     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23828   }
23829   return Qnil;
23830 }
23831 
23832 
23833 static swig_class SwigClassSvn_client_copy_source_t;
23834 
23835 SWIGINTERN VALUE
23836 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_svn_client_copy_source_t_allocate(VALUE self)23837 _wrap_svn_client_copy_source_t_allocate(VALUE self)
23838 #else
23839 _wrap_svn_client_copy_source_t_allocate(int argc, VALUE *argv, VALUE self)
23840 #endif
23841 {
23842   VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_client_copy_source_t);
23843 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
23844   rb_obj_call_init(vresult, argc, argv);
23845 #endif
23846   return vresult;
23847 }
23848 
23849 
23850 SWIGINTERN VALUE
_wrap_new_svn_client_copy_source_t(int argc,VALUE * argv,VALUE self)23851 _wrap_new_svn_client_copy_source_t(int argc, VALUE *argv, VALUE self) {
23852   char *arg1 = (char *) 0 ;
23853   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
23854   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
23855   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
23856   VALUE _global_svn_swig_rb_pool ;
23857   apr_pool_t *_global_pool ;
23858   int res1 ;
23859   char *buf1 = 0 ;
23860   int alloc1 = 0 ;
23861   svn_opt_revision_t rev2 ;
23862   svn_opt_revision_t rev3 ;
23863   struct svn_client_copy_source_t *result = 0 ;
23864 
23865   {
23866     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
23867     _global_pool = arg4;
23868     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
23869   }
23870   if ((argc < 3) || (argc > 4)) {
23871     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
23872   }
23873   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
23874   if (!SWIG_IsOK(res1)) {
23875     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_copy_source_t", 1, argv[0] ));
23876   }
23877   arg1 = (char *)(buf1);
23878   {
23879     arg2 = &rev2;
23880     svn_swig_rb_set_revision(&rev2, argv[1]);
23881   }
23882   {
23883     arg3 = &rev3;
23884     svn_swig_rb_set_revision(&rev3, argv[2]);
23885   }
23886   if (argc > 3) {
23887 
23888   }
23889   {
23890     result = (struct svn_client_copy_source_t *)new_svn_client_copy_source_t((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4);
23891     DATA_PTR(self) = result;
23892 
23893 
23894 
23895   }
23896   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
23897   {
23898     VALUE target;
23899     target = _global_vresult_address == &vresult ? self : vresult;
23900     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
23901     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23902     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23903   }
23904   return self;
23905 fail:
23906   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
23907   {
23908     VALUE target;
23909     target = _global_vresult_address == &vresult ? self : vresult;
23910     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
23911     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
23912     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
23913   }
23914   return Qnil;
23915 }
23916 
23917 
delete_svn_client_copy_source_t(struct svn_client_copy_source_t * self)23918 SWIGINTERN void delete_svn_client_copy_source_t(struct svn_client_copy_source_t *self){
23919   }
23920 SWIGINTERN void
free_svn_client_copy_source_t(void * self)23921 free_svn_client_copy_source_t(void *self) {
23922     struct svn_client_copy_source_t *arg1 = (struct svn_client_copy_source_t *)self;
23923     delete_svn_client_copy_source_t(arg1);
23924 }
23925 
23926 SWIGINTERN VALUE
_wrap_svn_client_copy_source_t_path(int argc,VALUE * argv,VALUE self)23927 _wrap_svn_client_copy_source_t_path(int argc, VALUE *argv, VALUE self) {
23928   struct svn_client_copy_source_t *arg1 = (struct svn_client_copy_source_t *) 0 ;
23929   void *argp1 = 0 ;
23930   int res1 = 0 ;
23931   char *result = 0 ;
23932   VALUE vresult = Qnil;
23933 
23934   if ((argc < 0) || (argc > 0)) {
23935     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
23936   }
23937   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_copy_source_t, 0 |  0 );
23938   if (!SWIG_IsOK(res1)) {
23939     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_copy_source_t *","_path", 1, self ));
23940   }
23941   arg1 = (struct svn_client_copy_source_t *)(argp1);
23942   {
23943     result = (char *)svn_client_copy_source_t__path(arg1);
23944 
23945 
23946 
23947   }
23948   {
23949     if (result) {
23950       vresult = rb_str_new2(result);
23951     } else {
23952       vresult = Qnil;
23953     }
23954   }
23955   return vresult;
23956 fail:
23957   return Qnil;
23958 }
23959 
23960 
23961 SWIGINTERN VALUE
_wrap_svn_client_copy_source_t_revision(int argc,VALUE * argv,VALUE self)23962 _wrap_svn_client_copy_source_t_revision(int argc, VALUE *argv, VALUE self) {
23963   struct svn_client_copy_source_t *arg1 = (struct svn_client_copy_source_t *) 0 ;
23964   void *argp1 = 0 ;
23965   int res1 = 0 ;
23966   svn_opt_revision_t *result = 0 ;
23967   VALUE vresult = Qnil;
23968 
23969   if ((argc < 0) || (argc > 0)) {
23970     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
23971   }
23972   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_copy_source_t, 0 |  0 );
23973   if (!SWIG_IsOK(res1)) {
23974     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_copy_source_t *","_revision", 1, self ));
23975   }
23976   arg1 = (struct svn_client_copy_source_t *)(argp1);
23977   {
23978     result = (svn_opt_revision_t *)svn_client_copy_source_t__revision(arg1);
23979 
23980 
23981 
23982   }
23983   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_opt_revision_t, 0 |  0 );
23984   return vresult;
23985 fail:
23986   return Qnil;
23987 }
23988 
23989 
23990 SWIGINTERN VALUE
_wrap_svn_client_copy_source_t_peg_revision(int argc,VALUE * argv,VALUE self)23991 _wrap_svn_client_copy_source_t_peg_revision(int argc, VALUE *argv, VALUE self) {
23992   struct svn_client_copy_source_t *arg1 = (struct svn_client_copy_source_t *) 0 ;
23993   void *argp1 = 0 ;
23994   int res1 = 0 ;
23995   svn_opt_revision_t *result = 0 ;
23996   VALUE vresult = Qnil;
23997 
23998   if ((argc < 0) || (argc > 0)) {
23999     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
24000   }
24001   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_copy_source_t, 0 |  0 );
24002   if (!SWIG_IsOK(res1)) {
24003     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_copy_source_t *","_peg_revision", 1, self ));
24004   }
24005   arg1 = (struct svn_client_copy_source_t *)(argp1);
24006   {
24007     result = (svn_opt_revision_t *)svn_client_copy_source_t__peg_revision(arg1);
24008 
24009 
24010 
24011   }
24012   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_opt_revision_t, 0 |  0 );
24013   return vresult;
24014 fail:
24015   return Qnil;
24016 }
24017 
24018 
24019 SWIGINTERN VALUE
_wrap_svn_client_copy7(int argc,VALUE * argv,VALUE self)24020 _wrap_svn_client_copy7(int argc, VALUE *argv, VALUE self) {
24021   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
24022   char *arg2 = (char *) 0 ;
24023   svn_boolean_t arg3 ;
24024   svn_boolean_t arg4 ;
24025   svn_boolean_t arg5 ;
24026   svn_boolean_t arg6 ;
24027   svn_boolean_t arg7 ;
24028   apr_hash_t *arg8 = (apr_hash_t *) 0 ;
24029   apr_hash_t *arg9 = (apr_hash_t *) 0 ;
24030   svn_commit_callback2_t arg10 = (svn_commit_callback2_t) 0 ;
24031   void *arg11 = (void *) 0 ;
24032   svn_client_ctx_t *arg12 = (svn_client_ctx_t *) 0 ;
24033   apr_pool_t *arg13 = (apr_pool_t *) 0 ;
24034   VALUE _global_svn_swig_rb_pool ;
24035   apr_pool_t *_global_pool ;
24036   int res2 ;
24037   char *buf2 = 0 ;
24038   int alloc2 = 0 ;
24039   void *argp8 = 0 ;
24040   int res8 = 0 ;
24041   void *argp12 = 0 ;
24042   int res12 = 0 ;
24043   svn_error_t *result = 0 ;
24044   VALUE vresult = Qnil;
24045 
24046   {
24047     int adjusted_argc = argc;
24048     VALUE *adjusted_argv = argv;
24049 
24050     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
24051       &adjusted_argv);
24052     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
24053       &_global_svn_swig_rb_pool, &arg13);
24054     _global_pool = arg13;
24055     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
24056   }
24057   if ((argc < 10) || (argc > 12)) {
24058     rb_raise(rb_eArgError, "wrong # of arguments(%d for 10)",argc); SWIG_fail;
24059   }
24060   {
24061     arg1 = svn_swig_rb_array_to_apr_array_copy_source(argv[0], _global_pool);
24062   }
24063   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
24064   if (!SWIG_IsOK(res2)) {
24065     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_copy7", 2, argv[1] ));
24066   }
24067   arg2 = (char *)(buf2);
24068   arg3 = RTEST(argv[2]);
24069   arg4 = RTEST(argv[3]);
24070   arg5 = RTEST(argv[4]);
24071   arg6 = RTEST(argv[5]);
24072   arg7 = RTEST(argv[6]);
24073   res8 = SWIG_ConvertPtr(argv[7], &argp8,SWIGTYPE_p_apr_hash_t, 0 |  0 );
24074   if (!SWIG_IsOK(res8)) {
24075     SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "apr_hash_t const *","svn_client_copy7", 8, argv[7] ));
24076   }
24077   arg8 = (apr_hash_t *)(argp8);
24078   {
24079     VALUE rb_pool = Qnil;
24080     if (!_global_pool) {
24081       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
24082       svn_swig_rb_push_pool(rb_pool);
24083     }
24084     arg9 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[8], _global_pool);
24085     _global_pool = NULL;
24086     if (!NIL_P(rb_pool)) {
24087       if (NIL_P(arg9)) {
24088         svn_swig_rb_destroy_pool(rb_pool);
24089       } else {
24090         svn_swig_rb_set_pool_for_no_swig_type(argv[8], rb_pool);
24091       }
24092       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24093     }
24094   }
24095   {
24096     arg10 = svn_swig_rb_commit_callback2;
24097     arg11 = (void *)svn_swig_rb_make_baton(argv[9], _global_svn_swig_rb_pool);
24098   }
24099   if (argc > 10) {
24100     res12 = SWIG_ConvertPtr(argv[10], &argp12,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
24101     if (!SWIG_IsOK(res12)) {
24102       SWIG_exception_fail(SWIG_ArgError(res12), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_copy7", 12, argv[10] ));
24103     }
24104     arg12 = (svn_client_ctx_t *)(argp12);
24105   }
24106   if (argc > 11) {
24107 
24108   }
24109   {
24110     result = (svn_error_t *)svn_client_copy7((apr_array_header_t const *)arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7,(apr_hash_t const *)arg8,(apr_hash_t const *)arg9,arg10,arg11,arg12,arg13);
24111 
24112 
24113 
24114   }
24115   {
24116     if (result) {
24117       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
24118       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24119       svn_swig_rb_handle_svn_error(result);
24120     }
24121     vresult = Qnil;
24122   }
24123   {
24124     svn_swig_rb_set_baton(vresult, (VALUE)arg11);
24125   }
24126   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24127   {
24128     VALUE target;
24129     target = _global_vresult_address == &vresult ? self : vresult;
24130     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
24131     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
24132     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24133   }
24134   return vresult;
24135 fail:
24136   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24137   {
24138     VALUE target;
24139     target = _global_vresult_address == &vresult ? self : vresult;
24140     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
24141     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
24142     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24143   }
24144   return Qnil;
24145 }
24146 
24147 
24148 SWIGINTERN VALUE
_wrap_svn_client_copy6(int argc,VALUE * argv,VALUE self)24149 _wrap_svn_client_copy6(int argc, VALUE *argv, VALUE self) {
24150   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
24151   char *arg2 = (char *) 0 ;
24152   svn_boolean_t arg3 ;
24153   svn_boolean_t arg4 ;
24154   svn_boolean_t arg5 ;
24155   apr_hash_t *arg6 = (apr_hash_t *) 0 ;
24156   svn_commit_callback2_t arg7 = (svn_commit_callback2_t) 0 ;
24157   void *arg8 = (void *) 0 ;
24158   svn_client_ctx_t *arg9 = (svn_client_ctx_t *) 0 ;
24159   apr_pool_t *arg10 = (apr_pool_t *) 0 ;
24160   VALUE _global_svn_swig_rb_pool ;
24161   apr_pool_t *_global_pool ;
24162   int res2 ;
24163   char *buf2 = 0 ;
24164   int alloc2 = 0 ;
24165   void *argp9 = 0 ;
24166   int res9 = 0 ;
24167   svn_error_t *result = 0 ;
24168   VALUE vresult = Qnil;
24169 
24170   {
24171     int adjusted_argc = argc;
24172     VALUE *adjusted_argv = argv;
24173 
24174     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
24175       &adjusted_argv);
24176     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
24177       &_global_svn_swig_rb_pool, &arg10);
24178     _global_pool = arg10;
24179     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
24180   }
24181   if ((argc < 7) || (argc > 9)) {
24182     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
24183   }
24184   {
24185     arg1 = svn_swig_rb_array_to_apr_array_copy_source(argv[0], _global_pool);
24186   }
24187   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
24188   if (!SWIG_IsOK(res2)) {
24189     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_copy6", 2, argv[1] ));
24190   }
24191   arg2 = (char *)(buf2);
24192   arg3 = RTEST(argv[2]);
24193   arg4 = RTEST(argv[3]);
24194   arg5 = RTEST(argv[4]);
24195   {
24196     VALUE rb_pool = Qnil;
24197     if (!_global_pool) {
24198       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
24199       svn_swig_rb_push_pool(rb_pool);
24200     }
24201     arg6 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[5], _global_pool);
24202     _global_pool = NULL;
24203     if (!NIL_P(rb_pool)) {
24204       if (NIL_P(arg6)) {
24205         svn_swig_rb_destroy_pool(rb_pool);
24206       } else {
24207         svn_swig_rb_set_pool_for_no_swig_type(argv[5], rb_pool);
24208       }
24209       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24210     }
24211   }
24212   {
24213     arg7 = svn_swig_rb_commit_callback2;
24214     arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
24215   }
24216   if (argc > 7) {
24217     res9 = SWIG_ConvertPtr(argv[7], &argp9,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
24218     if (!SWIG_IsOK(res9)) {
24219       SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_copy6", 9, argv[7] ));
24220     }
24221     arg9 = (svn_client_ctx_t *)(argp9);
24222   }
24223   if (argc > 8) {
24224 
24225   }
24226   {
24227     result = (svn_error_t *)svn_client_copy6((apr_array_header_t const *)arg1,(char const *)arg2,arg3,arg4,arg5,(apr_hash_t const *)arg6,arg7,arg8,arg9,arg10);
24228 
24229 
24230 
24231   }
24232   {
24233     if (result) {
24234       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
24235       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24236       svn_swig_rb_handle_svn_error(result);
24237     }
24238     vresult = Qnil;
24239   }
24240   {
24241     svn_swig_rb_set_baton(vresult, (VALUE)arg8);
24242   }
24243   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24244   {
24245     VALUE target;
24246     target = _global_vresult_address == &vresult ? self : vresult;
24247     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
24248     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
24249     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24250   }
24251   return vresult;
24252 fail:
24253   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24254   {
24255     VALUE target;
24256     target = _global_vresult_address == &vresult ? self : vresult;
24257     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
24258     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
24259     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24260   }
24261   return Qnil;
24262 }
24263 
24264 
24265 SWIGINTERN VALUE
_wrap_svn_client_copy5(int argc,VALUE * argv,VALUE self)24266 _wrap_svn_client_copy5(int argc, VALUE *argv, VALUE self) {
24267   svn_commit_info_t **arg1 = (svn_commit_info_t **) 0 ;
24268   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
24269   char *arg3 = (char *) 0 ;
24270   svn_boolean_t arg4 ;
24271   svn_boolean_t arg5 ;
24272   svn_boolean_t arg6 ;
24273   apr_hash_t *arg7 = (apr_hash_t *) 0 ;
24274   svn_client_ctx_t *arg8 = (svn_client_ctx_t *) 0 ;
24275   apr_pool_t *arg9 = (apr_pool_t *) 0 ;
24276   VALUE _global_svn_swig_rb_pool ;
24277   apr_pool_t *_global_pool ;
24278   svn_commit_info_t *temp1 = NULL ;
24279   int res3 ;
24280   char *buf3 = 0 ;
24281   int alloc3 = 0 ;
24282   void *argp8 = 0 ;
24283   int res8 = 0 ;
24284   svn_error_t *result = 0 ;
24285   VALUE vresult = Qnil;
24286 
24287   {
24288     int adjusted_argc = argc;
24289     VALUE *adjusted_argv = argv;
24290 
24291     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
24292       &adjusted_argv);
24293     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
24294       &_global_svn_swig_rb_pool, &arg9);
24295     _global_pool = arg9;
24296     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
24297   }
24298   arg1 = &temp1;
24299   if ((argc < 6) || (argc > 8)) {
24300     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
24301   }
24302   {
24303     arg2 = svn_swig_rb_array_to_apr_array_copy_source(argv[0], _global_pool);
24304   }
24305   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
24306   if (!SWIG_IsOK(res3)) {
24307     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_copy5", 3, argv[1] ));
24308   }
24309   arg3 = (char *)(buf3);
24310   arg4 = RTEST(argv[2]);
24311   arg5 = RTEST(argv[3]);
24312   arg6 = RTEST(argv[4]);
24313   {
24314     VALUE rb_pool = Qnil;
24315     if (!_global_pool) {
24316       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
24317       svn_swig_rb_push_pool(rb_pool);
24318     }
24319     arg7 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[5], _global_pool);
24320     _global_pool = NULL;
24321     if (!NIL_P(rb_pool)) {
24322       if (NIL_P(arg7)) {
24323         svn_swig_rb_destroy_pool(rb_pool);
24324       } else {
24325         svn_swig_rb_set_pool_for_no_swig_type(argv[5], rb_pool);
24326       }
24327       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24328     }
24329   }
24330   if (argc > 6) {
24331     res8 = SWIG_ConvertPtr(argv[6], &argp8,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
24332     if (!SWIG_IsOK(res8)) {
24333       SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_copy5", 8, argv[6] ));
24334     }
24335     arg8 = (svn_client_ctx_t *)(argp8);
24336   }
24337   if (argc > 7) {
24338 
24339   }
24340   {
24341     result = (svn_error_t *)svn_client_copy5(arg1,(apr_array_header_t const *)arg2,(char const *)arg3,arg4,arg5,arg6,(apr_hash_t const *)arg7,arg8,arg9);
24342 
24343 
24344 
24345   }
24346   {
24347     if (result) {
24348       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
24349       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24350       svn_swig_rb_handle_svn_error(result);
24351     }
24352     vresult = Qnil;
24353   }
24354   {
24355     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_commit_info_t, 0));
24356   }
24357   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
24358   {
24359     VALUE target;
24360     target = _global_vresult_address == &vresult ? self : vresult;
24361     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
24362     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
24363     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24364   }
24365   return vresult;
24366 fail:
24367   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
24368   {
24369     VALUE target;
24370     target = _global_vresult_address == &vresult ? self : vresult;
24371     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
24372     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
24373     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24374   }
24375   return Qnil;
24376 }
24377 
24378 
24379 SWIGINTERN VALUE
_wrap_svn_client_copy4(int argc,VALUE * argv,VALUE self)24380 _wrap_svn_client_copy4(int argc, VALUE *argv, VALUE self) {
24381   svn_commit_info_t **arg1 = (svn_commit_info_t **) 0 ;
24382   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
24383   char *arg3 = (char *) 0 ;
24384   svn_boolean_t arg4 ;
24385   svn_boolean_t arg5 ;
24386   apr_hash_t *arg6 = (apr_hash_t *) 0 ;
24387   svn_client_ctx_t *arg7 = (svn_client_ctx_t *) 0 ;
24388   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
24389   VALUE _global_svn_swig_rb_pool ;
24390   apr_pool_t *_global_pool ;
24391   svn_commit_info_t *temp1 = NULL ;
24392   int res3 ;
24393   char *buf3 = 0 ;
24394   int alloc3 = 0 ;
24395   void *argp7 = 0 ;
24396   int res7 = 0 ;
24397   svn_error_t *result = 0 ;
24398   VALUE vresult = Qnil;
24399 
24400   {
24401     int adjusted_argc = argc;
24402     VALUE *adjusted_argv = argv;
24403 
24404     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
24405       &adjusted_argv);
24406     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
24407       &_global_svn_swig_rb_pool, &arg8);
24408     _global_pool = arg8;
24409     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
24410   }
24411   arg1 = &temp1;
24412   if ((argc < 5) || (argc > 7)) {
24413     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
24414   }
24415   {
24416     arg2 = svn_swig_rb_array_to_apr_array_copy_source(argv[0], _global_pool);
24417   }
24418   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
24419   if (!SWIG_IsOK(res3)) {
24420     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_copy4", 3, argv[1] ));
24421   }
24422   arg3 = (char *)(buf3);
24423   arg4 = RTEST(argv[2]);
24424   arg5 = RTEST(argv[3]);
24425   {
24426     VALUE rb_pool = Qnil;
24427     if (!_global_pool) {
24428       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
24429       svn_swig_rb_push_pool(rb_pool);
24430     }
24431     arg6 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[4], _global_pool);
24432     _global_pool = NULL;
24433     if (!NIL_P(rb_pool)) {
24434       if (NIL_P(arg6)) {
24435         svn_swig_rb_destroy_pool(rb_pool);
24436       } else {
24437         svn_swig_rb_set_pool_for_no_swig_type(argv[4], rb_pool);
24438       }
24439       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24440     }
24441   }
24442   if (argc > 5) {
24443     res7 = SWIG_ConvertPtr(argv[5], &argp7,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
24444     if (!SWIG_IsOK(res7)) {
24445       SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_copy4", 7, argv[5] ));
24446     }
24447     arg7 = (svn_client_ctx_t *)(argp7);
24448   }
24449   if (argc > 6) {
24450 
24451   }
24452   {
24453     result = (svn_error_t *)svn_client_copy4(arg1,(apr_array_header_t const *)arg2,(char const *)arg3,arg4,arg5,(apr_hash_t const *)arg6,arg7,arg8);
24454 
24455 
24456 
24457   }
24458   {
24459     if (result) {
24460       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
24461       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24462       svn_swig_rb_handle_svn_error(result);
24463     }
24464     vresult = Qnil;
24465   }
24466   {
24467     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_commit_info_t, 0));
24468   }
24469   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
24470   {
24471     VALUE target;
24472     target = _global_vresult_address == &vresult ? self : vresult;
24473     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
24474     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
24475     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24476   }
24477   return vresult;
24478 fail:
24479   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
24480   {
24481     VALUE target;
24482     target = _global_vresult_address == &vresult ? self : vresult;
24483     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
24484     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
24485     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24486   }
24487   return Qnil;
24488 }
24489 
24490 
24491 SWIGINTERN VALUE
_wrap_svn_client_copy3(int argc,VALUE * argv,VALUE self)24492 _wrap_svn_client_copy3(int argc, VALUE *argv, VALUE self) {
24493   svn_commit_info_t **arg1 = (svn_commit_info_t **) 0 ;
24494   char *arg2 = (char *) 0 ;
24495   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
24496   char *arg4 = (char *) 0 ;
24497   svn_client_ctx_t *arg5 = (svn_client_ctx_t *) 0 ;
24498   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
24499   VALUE _global_svn_swig_rb_pool ;
24500   apr_pool_t *_global_pool ;
24501   svn_commit_info_t *temp1 = NULL ;
24502   int res2 ;
24503   char *buf2 = 0 ;
24504   int alloc2 = 0 ;
24505   svn_opt_revision_t rev3 ;
24506   int res4 ;
24507   char *buf4 = 0 ;
24508   int alloc4 = 0 ;
24509   void *argp5 = 0 ;
24510   int res5 = 0 ;
24511   svn_error_t *result = 0 ;
24512   VALUE vresult = Qnil;
24513 
24514   {
24515     int adjusted_argc = argc;
24516     VALUE *adjusted_argv = argv;
24517 
24518     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
24519       &adjusted_argv);
24520     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
24521       &_global_svn_swig_rb_pool, &arg6);
24522     _global_pool = arg6;
24523     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
24524   }
24525   arg1 = &temp1;
24526   if ((argc < 3) || (argc > 5)) {
24527     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
24528   }
24529   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
24530   if (!SWIG_IsOK(res2)) {
24531     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_copy3", 2, argv[0] ));
24532   }
24533   arg2 = (char *)(buf2);
24534   {
24535     arg3 = &rev3;
24536     svn_swig_rb_set_revision(&rev3, argv[1]);
24537   }
24538   res4 = SWIG_AsCharPtrAndSize(argv[2], &buf4, NULL, &alloc4);
24539   if (!SWIG_IsOK(res4)) {
24540     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_copy3", 4, argv[2] ));
24541   }
24542   arg4 = (char *)(buf4);
24543   if (argc > 3) {
24544     res5 = SWIG_ConvertPtr(argv[3], &argp5,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
24545     if (!SWIG_IsOK(res5)) {
24546       SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_copy3", 5, argv[3] ));
24547     }
24548     arg5 = (svn_client_ctx_t *)(argp5);
24549   }
24550   if (argc > 4) {
24551 
24552   }
24553   {
24554     result = (svn_error_t *)svn_client_copy3(arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,(char const *)arg4,arg5,arg6);
24555 
24556 
24557 
24558   }
24559   {
24560     if (result) {
24561       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
24562       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24563       svn_swig_rb_handle_svn_error(result);
24564     }
24565     vresult = Qnil;
24566   }
24567   {
24568     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_commit_info_t, 0));
24569   }
24570   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24571   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
24572   {
24573     VALUE target;
24574     target = _global_vresult_address == &vresult ? self : vresult;
24575     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
24576     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
24577     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24578   }
24579   return vresult;
24580 fail:
24581   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24582   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
24583   {
24584     VALUE target;
24585     target = _global_vresult_address == &vresult ? self : vresult;
24586     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
24587     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
24588     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24589   }
24590   return Qnil;
24591 }
24592 
24593 
24594 SWIGINTERN VALUE
_wrap_svn_client_copy2(int argc,VALUE * argv,VALUE self)24595 _wrap_svn_client_copy2(int argc, VALUE *argv, VALUE self) {
24596   svn_commit_info_t **arg1 = (svn_commit_info_t **) 0 ;
24597   char *arg2 = (char *) 0 ;
24598   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
24599   char *arg4 = (char *) 0 ;
24600   svn_client_ctx_t *arg5 = (svn_client_ctx_t *) 0 ;
24601   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
24602   VALUE _global_svn_swig_rb_pool ;
24603   apr_pool_t *_global_pool ;
24604   svn_commit_info_t *temp1 = NULL ;
24605   int res2 ;
24606   char *buf2 = 0 ;
24607   int alloc2 = 0 ;
24608   svn_opt_revision_t rev3 ;
24609   int res4 ;
24610   char *buf4 = 0 ;
24611   int alloc4 = 0 ;
24612   void *argp5 = 0 ;
24613   int res5 = 0 ;
24614   svn_error_t *result = 0 ;
24615   VALUE vresult = Qnil;
24616 
24617   {
24618     int adjusted_argc = argc;
24619     VALUE *adjusted_argv = argv;
24620 
24621     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
24622       &adjusted_argv);
24623     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
24624       &_global_svn_swig_rb_pool, &arg6);
24625     _global_pool = arg6;
24626     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
24627   }
24628   arg1 = &temp1;
24629   if ((argc < 3) || (argc > 5)) {
24630     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
24631   }
24632   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
24633   if (!SWIG_IsOK(res2)) {
24634     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_copy2", 2, argv[0] ));
24635   }
24636   arg2 = (char *)(buf2);
24637   {
24638     arg3 = &rev3;
24639     svn_swig_rb_set_revision(&rev3, argv[1]);
24640   }
24641   res4 = SWIG_AsCharPtrAndSize(argv[2], &buf4, NULL, &alloc4);
24642   if (!SWIG_IsOK(res4)) {
24643     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_copy2", 4, argv[2] ));
24644   }
24645   arg4 = (char *)(buf4);
24646   if (argc > 3) {
24647     res5 = SWIG_ConvertPtr(argv[3], &argp5,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
24648     if (!SWIG_IsOK(res5)) {
24649       SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_copy2", 5, argv[3] ));
24650     }
24651     arg5 = (svn_client_ctx_t *)(argp5);
24652   }
24653   if (argc > 4) {
24654 
24655   }
24656   {
24657     result = (svn_error_t *)svn_client_copy2(arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,(char const *)arg4,arg5,arg6);
24658 
24659 
24660 
24661   }
24662   {
24663     if (result) {
24664       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
24665       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24666       svn_swig_rb_handle_svn_error(result);
24667     }
24668     vresult = Qnil;
24669   }
24670   {
24671     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_commit_info_t, 0));
24672   }
24673   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24674   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
24675   {
24676     VALUE target;
24677     target = _global_vresult_address == &vresult ? self : vresult;
24678     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
24679     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
24680     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24681   }
24682   return vresult;
24683 fail:
24684   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24685   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
24686   {
24687     VALUE target;
24688     target = _global_vresult_address == &vresult ? self : vresult;
24689     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
24690     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
24691     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24692   }
24693   return Qnil;
24694 }
24695 
24696 
24697 SWIGINTERN VALUE
_wrap_svn_client_copy(int argc,VALUE * argv,VALUE self)24698 _wrap_svn_client_copy(int argc, VALUE *argv, VALUE self) {
24699   svn_client_commit_info_t **arg1 = (svn_client_commit_info_t **) 0 ;
24700   char *arg2 = (char *) 0 ;
24701   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
24702   char *arg4 = (char *) 0 ;
24703   svn_client_ctx_t *arg5 = (svn_client_ctx_t *) 0 ;
24704   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
24705   VALUE _global_svn_swig_rb_pool ;
24706   apr_pool_t *_global_pool ;
24707   svn_client_commit_info_t *temp1 = NULL ;
24708   int res2 ;
24709   char *buf2 = 0 ;
24710   int alloc2 = 0 ;
24711   svn_opt_revision_t rev3 ;
24712   int res4 ;
24713   char *buf4 = 0 ;
24714   int alloc4 = 0 ;
24715   void *argp5 = 0 ;
24716   int res5 = 0 ;
24717   svn_error_t *result = 0 ;
24718   VALUE vresult = Qnil;
24719 
24720   {
24721     int adjusted_argc = argc;
24722     VALUE *adjusted_argv = argv;
24723 
24724     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
24725       &adjusted_argv);
24726     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
24727       &_global_svn_swig_rb_pool, &arg6);
24728     _global_pool = arg6;
24729     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
24730   }
24731   arg1 = &temp1;
24732   if ((argc < 3) || (argc > 5)) {
24733     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
24734   }
24735   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
24736   if (!SWIG_IsOK(res2)) {
24737     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_copy", 2, argv[0] ));
24738   }
24739   arg2 = (char *)(buf2);
24740   {
24741     arg3 = &rev3;
24742     svn_swig_rb_set_revision(&rev3, argv[1]);
24743   }
24744   res4 = SWIG_AsCharPtrAndSize(argv[2], &buf4, NULL, &alloc4);
24745   if (!SWIG_IsOK(res4)) {
24746     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_copy", 4, argv[2] ));
24747   }
24748   arg4 = (char *)(buf4);
24749   if (argc > 3) {
24750     res5 = SWIG_ConvertPtr(argv[3], &argp5,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
24751     if (!SWIG_IsOK(res5)) {
24752       SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_copy", 5, argv[3] ));
24753     }
24754     arg5 = (svn_client_ctx_t *)(argp5);
24755   }
24756   if (argc > 4) {
24757 
24758   }
24759   {
24760     result = (svn_error_t *)svn_client_copy(arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,(char const *)arg4,arg5,arg6);
24761 
24762 
24763 
24764   }
24765   {
24766     if (result) {
24767       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
24768       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24769       svn_swig_rb_handle_svn_error(result);
24770     }
24771     vresult = Qnil;
24772   }
24773   {
24774     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_client_commit_info_t, 0));
24775   }
24776   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24777   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
24778   {
24779     VALUE target;
24780     target = _global_vresult_address == &vresult ? self : vresult;
24781     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
24782     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
24783     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24784   }
24785   return vresult;
24786 fail:
24787   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24788   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
24789   {
24790     VALUE target;
24791     target = _global_vresult_address == &vresult ? self : vresult;
24792     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
24793     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
24794     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24795   }
24796   return Qnil;
24797 }
24798 
24799 
24800 SWIGINTERN VALUE
_wrap_svn_client_move7(int argc,VALUE * argv,VALUE self)24801 _wrap_svn_client_move7(int argc, VALUE *argv, VALUE self) {
24802   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
24803   char *arg2 = (char *) 0 ;
24804   svn_boolean_t arg3 ;
24805   svn_boolean_t arg4 ;
24806   svn_boolean_t arg5 ;
24807   svn_boolean_t arg6 ;
24808   apr_hash_t *arg7 = (apr_hash_t *) 0 ;
24809   svn_commit_callback2_t arg8 = (svn_commit_callback2_t) 0 ;
24810   void *arg9 = (void *) 0 ;
24811   svn_client_ctx_t *arg10 = (svn_client_ctx_t *) 0 ;
24812   apr_pool_t *arg11 = (apr_pool_t *) 0 ;
24813   VALUE _global_svn_swig_rb_pool ;
24814   apr_pool_t *_global_pool ;
24815   int res2 ;
24816   char *buf2 = 0 ;
24817   int alloc2 = 0 ;
24818   void *argp10 = 0 ;
24819   int res10 = 0 ;
24820   svn_error_t *result = 0 ;
24821   VALUE vresult = Qnil;
24822 
24823   {
24824     int adjusted_argc = argc;
24825     VALUE *adjusted_argv = argv;
24826 
24827     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
24828       &adjusted_argv);
24829     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
24830       &_global_svn_swig_rb_pool, &arg11);
24831     _global_pool = arg11;
24832     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
24833   }
24834   if ((argc < 8) || (argc > 10)) {
24835     rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
24836   }
24837   {
24838     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
24839   }
24840   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
24841   if (!SWIG_IsOK(res2)) {
24842     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_move7", 2, argv[1] ));
24843   }
24844   arg2 = (char *)(buf2);
24845   arg3 = RTEST(argv[2]);
24846   arg4 = RTEST(argv[3]);
24847   arg5 = RTEST(argv[4]);
24848   arg6 = RTEST(argv[5]);
24849   {
24850     VALUE rb_pool = Qnil;
24851     if (!_global_pool) {
24852       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
24853       svn_swig_rb_push_pool(rb_pool);
24854     }
24855     arg7 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[6], _global_pool);
24856     _global_pool = NULL;
24857     if (!NIL_P(rb_pool)) {
24858       if (NIL_P(arg7)) {
24859         svn_swig_rb_destroy_pool(rb_pool);
24860       } else {
24861         svn_swig_rb_set_pool_for_no_swig_type(argv[6], rb_pool);
24862       }
24863       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24864     }
24865   }
24866   {
24867     arg8 = svn_swig_rb_commit_callback2;
24868     arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
24869   }
24870   if (argc > 8) {
24871     res10 = SWIG_ConvertPtr(argv[8], &argp10,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
24872     if (!SWIG_IsOK(res10)) {
24873       SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_move7", 10, argv[8] ));
24874     }
24875     arg10 = (svn_client_ctx_t *)(argp10);
24876   }
24877   if (argc > 9) {
24878 
24879   }
24880   {
24881     result = (svn_error_t *)svn_client_move7((apr_array_header_t const *)arg1,(char const *)arg2,arg3,arg4,arg5,arg6,(apr_hash_t const *)arg7,arg8,arg9,arg10,arg11);
24882 
24883 
24884 
24885   }
24886   {
24887     if (result) {
24888       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
24889       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24890       svn_swig_rb_handle_svn_error(result);
24891     }
24892     vresult = Qnil;
24893   }
24894   {
24895     svn_swig_rb_set_baton(vresult, (VALUE)arg9);
24896   }
24897   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24898   {
24899     VALUE target;
24900     target = _global_vresult_address == &vresult ? self : vresult;
24901     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
24902     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
24903     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24904   }
24905   return vresult;
24906 fail:
24907   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24908   {
24909     VALUE target;
24910     target = _global_vresult_address == &vresult ? self : vresult;
24911     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
24912     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
24913     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24914   }
24915   return Qnil;
24916 }
24917 
24918 
24919 SWIGINTERN VALUE
_wrap_svn_client_move6(int argc,VALUE * argv,VALUE self)24920 _wrap_svn_client_move6(int argc, VALUE *argv, VALUE self) {
24921   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
24922   char *arg2 = (char *) 0 ;
24923   svn_boolean_t arg3 ;
24924   svn_boolean_t arg4 ;
24925   apr_hash_t *arg5 = (apr_hash_t *) 0 ;
24926   svn_commit_callback2_t arg6 = (svn_commit_callback2_t) 0 ;
24927   void *arg7 = (void *) 0 ;
24928   svn_client_ctx_t *arg8 = (svn_client_ctx_t *) 0 ;
24929   apr_pool_t *arg9 = (apr_pool_t *) 0 ;
24930   VALUE _global_svn_swig_rb_pool ;
24931   apr_pool_t *_global_pool ;
24932   int res2 ;
24933   char *buf2 = 0 ;
24934   int alloc2 = 0 ;
24935   void *argp8 = 0 ;
24936   int res8 = 0 ;
24937   svn_error_t *result = 0 ;
24938   VALUE vresult = Qnil;
24939 
24940   {
24941     int adjusted_argc = argc;
24942     VALUE *adjusted_argv = argv;
24943 
24944     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
24945       &adjusted_argv);
24946     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
24947       &_global_svn_swig_rb_pool, &arg9);
24948     _global_pool = arg9;
24949     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
24950   }
24951   if ((argc < 6) || (argc > 8)) {
24952     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
24953   }
24954   {
24955     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
24956   }
24957   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
24958   if (!SWIG_IsOK(res2)) {
24959     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_move6", 2, argv[1] ));
24960   }
24961   arg2 = (char *)(buf2);
24962   arg3 = RTEST(argv[2]);
24963   arg4 = RTEST(argv[3]);
24964   {
24965     VALUE rb_pool = Qnil;
24966     if (!_global_pool) {
24967       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
24968       svn_swig_rb_push_pool(rb_pool);
24969     }
24970     arg5 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[4], _global_pool);
24971     _global_pool = NULL;
24972     if (!NIL_P(rb_pool)) {
24973       if (NIL_P(arg5)) {
24974         svn_swig_rb_destroy_pool(rb_pool);
24975       } else {
24976         svn_swig_rb_set_pool_for_no_swig_type(argv[4], rb_pool);
24977       }
24978       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
24979     }
24980   }
24981   {
24982     arg6 = svn_swig_rb_commit_callback2;
24983     arg7 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
24984   }
24985   if (argc > 6) {
24986     res8 = SWIG_ConvertPtr(argv[6], &argp8,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
24987     if (!SWIG_IsOK(res8)) {
24988       SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_move6", 8, argv[6] ));
24989     }
24990     arg8 = (svn_client_ctx_t *)(argp8);
24991   }
24992   if (argc > 7) {
24993 
24994   }
24995   {
24996     result = (svn_error_t *)svn_client_move6((apr_array_header_t const *)arg1,(char const *)arg2,arg3,arg4,(apr_hash_t const *)arg5,arg6,arg7,arg8,arg9);
24997 
24998 
24999 
25000   }
25001   {
25002     if (result) {
25003       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25004       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25005       svn_swig_rb_handle_svn_error(result);
25006     }
25007     vresult = Qnil;
25008   }
25009   {
25010     svn_swig_rb_set_baton(vresult, (VALUE)arg7);
25011   }
25012   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25013   {
25014     VALUE target;
25015     target = _global_vresult_address == &vresult ? self : vresult;
25016     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
25017     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25018     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25019   }
25020   return vresult;
25021 fail:
25022   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25023   {
25024     VALUE target;
25025     target = _global_vresult_address == &vresult ? self : vresult;
25026     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
25027     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25028     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25029   }
25030   return Qnil;
25031 }
25032 
25033 
25034 SWIGINTERN VALUE
_wrap_svn_client_move5(int argc,VALUE * argv,VALUE self)25035 _wrap_svn_client_move5(int argc, VALUE *argv, VALUE self) {
25036   svn_commit_info_t **arg1 = (svn_commit_info_t **) 0 ;
25037   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
25038   char *arg3 = (char *) 0 ;
25039   svn_boolean_t arg4 ;
25040   svn_boolean_t arg5 ;
25041   svn_boolean_t arg6 ;
25042   apr_hash_t *arg7 = (apr_hash_t *) 0 ;
25043   svn_client_ctx_t *arg8 = (svn_client_ctx_t *) 0 ;
25044   apr_pool_t *arg9 = (apr_pool_t *) 0 ;
25045   VALUE _global_svn_swig_rb_pool ;
25046   apr_pool_t *_global_pool ;
25047   svn_commit_info_t *temp1 = NULL ;
25048   int res3 ;
25049   char *buf3 = 0 ;
25050   int alloc3 = 0 ;
25051   void *argp8 = 0 ;
25052   int res8 = 0 ;
25053   svn_error_t *result = 0 ;
25054   VALUE vresult = Qnil;
25055 
25056   {
25057     int adjusted_argc = argc;
25058     VALUE *adjusted_argv = argv;
25059 
25060     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
25061       &adjusted_argv);
25062     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
25063       &_global_svn_swig_rb_pool, &arg9);
25064     _global_pool = arg9;
25065     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
25066   }
25067   arg1 = &temp1;
25068   if ((argc < 6) || (argc > 8)) {
25069     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
25070   }
25071   {
25072     arg2 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
25073   }
25074   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
25075   if (!SWIG_IsOK(res3)) {
25076     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_move5", 3, argv[1] ));
25077   }
25078   arg3 = (char *)(buf3);
25079   arg4 = RTEST(argv[2]);
25080   arg5 = RTEST(argv[3]);
25081   arg6 = RTEST(argv[4]);
25082   {
25083     VALUE rb_pool = Qnil;
25084     if (!_global_pool) {
25085       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
25086       svn_swig_rb_push_pool(rb_pool);
25087     }
25088     arg7 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[5], _global_pool);
25089     _global_pool = NULL;
25090     if (!NIL_P(rb_pool)) {
25091       if (NIL_P(arg7)) {
25092         svn_swig_rb_destroy_pool(rb_pool);
25093       } else {
25094         svn_swig_rb_set_pool_for_no_swig_type(argv[5], rb_pool);
25095       }
25096       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25097     }
25098   }
25099   if (argc > 6) {
25100     res8 = SWIG_ConvertPtr(argv[6], &argp8,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
25101     if (!SWIG_IsOK(res8)) {
25102       SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_move5", 8, argv[6] ));
25103     }
25104     arg8 = (svn_client_ctx_t *)(argp8);
25105   }
25106   if (argc > 7) {
25107 
25108   }
25109   {
25110     result = (svn_error_t *)svn_client_move5(arg1,(apr_array_header_t const *)arg2,(char const *)arg3,arg4,arg5,arg6,(apr_hash_t const *)arg7,arg8,arg9);
25111 
25112 
25113 
25114   }
25115   {
25116     if (result) {
25117       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25118       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25119       svn_swig_rb_handle_svn_error(result);
25120     }
25121     vresult = Qnil;
25122   }
25123   {
25124     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_commit_info_t, 0));
25125   }
25126   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
25127   {
25128     VALUE target;
25129     target = _global_vresult_address == &vresult ? self : vresult;
25130     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
25131     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25132     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25133   }
25134   return vresult;
25135 fail:
25136   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
25137   {
25138     VALUE target;
25139     target = _global_vresult_address == &vresult ? self : vresult;
25140     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
25141     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25142     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25143   }
25144   return Qnil;
25145 }
25146 
25147 
25148 SWIGINTERN VALUE
_wrap_svn_client_move4(int argc,VALUE * argv,VALUE self)25149 _wrap_svn_client_move4(int argc, VALUE *argv, VALUE self) {
25150   svn_commit_info_t **arg1 = (svn_commit_info_t **) 0 ;
25151   char *arg2 = (char *) 0 ;
25152   char *arg3 = (char *) 0 ;
25153   svn_boolean_t arg4 ;
25154   svn_client_ctx_t *arg5 = (svn_client_ctx_t *) 0 ;
25155   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
25156   VALUE _global_svn_swig_rb_pool ;
25157   apr_pool_t *_global_pool ;
25158   svn_commit_info_t *temp1 = NULL ;
25159   int res2 ;
25160   char *buf2 = 0 ;
25161   int alloc2 = 0 ;
25162   int res3 ;
25163   char *buf3 = 0 ;
25164   int alloc3 = 0 ;
25165   void *argp5 = 0 ;
25166   int res5 = 0 ;
25167   svn_error_t *result = 0 ;
25168   VALUE vresult = Qnil;
25169 
25170   {
25171     int adjusted_argc = argc;
25172     VALUE *adjusted_argv = argv;
25173 
25174     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
25175       &adjusted_argv);
25176     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
25177       &_global_svn_swig_rb_pool, &arg6);
25178     _global_pool = arg6;
25179     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
25180   }
25181   arg1 = &temp1;
25182   if ((argc < 3) || (argc > 5)) {
25183     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
25184   }
25185   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
25186   if (!SWIG_IsOK(res2)) {
25187     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_move4", 2, argv[0] ));
25188   }
25189   arg2 = (char *)(buf2);
25190   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
25191   if (!SWIG_IsOK(res3)) {
25192     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_move4", 3, argv[1] ));
25193   }
25194   arg3 = (char *)(buf3);
25195   arg4 = RTEST(argv[2]);
25196   if (argc > 3) {
25197     res5 = SWIG_ConvertPtr(argv[3], &argp5,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
25198     if (!SWIG_IsOK(res5)) {
25199       SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_move4", 5, argv[3] ));
25200     }
25201     arg5 = (svn_client_ctx_t *)(argp5);
25202   }
25203   if (argc > 4) {
25204 
25205   }
25206   {
25207     result = (svn_error_t *)svn_client_move4(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6);
25208 
25209 
25210 
25211   }
25212   {
25213     if (result) {
25214       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25215       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25216       svn_swig_rb_handle_svn_error(result);
25217     }
25218     vresult = Qnil;
25219   }
25220   {
25221     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_commit_info_t, 0));
25222   }
25223   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25224   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
25225   {
25226     VALUE target;
25227     target = _global_vresult_address == &vresult ? self : vresult;
25228     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
25229     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25230     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25231   }
25232   return vresult;
25233 fail:
25234   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25235   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
25236   {
25237     VALUE target;
25238     target = _global_vresult_address == &vresult ? self : vresult;
25239     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
25240     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25241     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25242   }
25243   return Qnil;
25244 }
25245 
25246 
25247 SWIGINTERN VALUE
_wrap_svn_client_move3(int argc,VALUE * argv,VALUE self)25248 _wrap_svn_client_move3(int argc, VALUE *argv, VALUE self) {
25249   svn_commit_info_t **arg1 = (svn_commit_info_t **) 0 ;
25250   char *arg2 = (char *) 0 ;
25251   char *arg3 = (char *) 0 ;
25252   svn_boolean_t arg4 ;
25253   svn_client_ctx_t *arg5 = (svn_client_ctx_t *) 0 ;
25254   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
25255   VALUE _global_svn_swig_rb_pool ;
25256   apr_pool_t *_global_pool ;
25257   svn_commit_info_t *temp1 = NULL ;
25258   int res2 ;
25259   char *buf2 = 0 ;
25260   int alloc2 = 0 ;
25261   int res3 ;
25262   char *buf3 = 0 ;
25263   int alloc3 = 0 ;
25264   void *argp5 = 0 ;
25265   int res5 = 0 ;
25266   svn_error_t *result = 0 ;
25267   VALUE vresult = Qnil;
25268 
25269   {
25270     int adjusted_argc = argc;
25271     VALUE *adjusted_argv = argv;
25272 
25273     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
25274       &adjusted_argv);
25275     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
25276       &_global_svn_swig_rb_pool, &arg6);
25277     _global_pool = arg6;
25278     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
25279   }
25280   arg1 = &temp1;
25281   if ((argc < 3) || (argc > 5)) {
25282     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
25283   }
25284   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
25285   if (!SWIG_IsOK(res2)) {
25286     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_move3", 2, argv[0] ));
25287   }
25288   arg2 = (char *)(buf2);
25289   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
25290   if (!SWIG_IsOK(res3)) {
25291     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_move3", 3, argv[1] ));
25292   }
25293   arg3 = (char *)(buf3);
25294   arg4 = RTEST(argv[2]);
25295   if (argc > 3) {
25296     res5 = SWIG_ConvertPtr(argv[3], &argp5,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
25297     if (!SWIG_IsOK(res5)) {
25298       SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_move3", 5, argv[3] ));
25299     }
25300     arg5 = (svn_client_ctx_t *)(argp5);
25301   }
25302   if (argc > 4) {
25303 
25304   }
25305   {
25306     result = (svn_error_t *)svn_client_move3(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6);
25307 
25308 
25309 
25310   }
25311   {
25312     if (result) {
25313       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25314       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25315       svn_swig_rb_handle_svn_error(result);
25316     }
25317     vresult = Qnil;
25318   }
25319   {
25320     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_commit_info_t, 0));
25321   }
25322   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25323   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
25324   {
25325     VALUE target;
25326     target = _global_vresult_address == &vresult ? self : vresult;
25327     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
25328     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25329     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25330   }
25331   return vresult;
25332 fail:
25333   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25334   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
25335   {
25336     VALUE target;
25337     target = _global_vresult_address == &vresult ? self : vresult;
25338     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
25339     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25340     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25341   }
25342   return Qnil;
25343 }
25344 
25345 
25346 SWIGINTERN VALUE
_wrap_svn_client_move2(int argc,VALUE * argv,VALUE self)25347 _wrap_svn_client_move2(int argc, VALUE *argv, VALUE self) {
25348   svn_client_commit_info_t **arg1 = (svn_client_commit_info_t **) 0 ;
25349   char *arg2 = (char *) 0 ;
25350   char *arg3 = (char *) 0 ;
25351   svn_boolean_t arg4 ;
25352   svn_client_ctx_t *arg5 = (svn_client_ctx_t *) 0 ;
25353   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
25354   VALUE _global_svn_swig_rb_pool ;
25355   apr_pool_t *_global_pool ;
25356   svn_client_commit_info_t *temp1 = NULL ;
25357   int res2 ;
25358   char *buf2 = 0 ;
25359   int alloc2 = 0 ;
25360   int res3 ;
25361   char *buf3 = 0 ;
25362   int alloc3 = 0 ;
25363   void *argp5 = 0 ;
25364   int res5 = 0 ;
25365   svn_error_t *result = 0 ;
25366   VALUE vresult = Qnil;
25367 
25368   {
25369     int adjusted_argc = argc;
25370     VALUE *adjusted_argv = argv;
25371 
25372     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
25373       &adjusted_argv);
25374     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
25375       &_global_svn_swig_rb_pool, &arg6);
25376     _global_pool = arg6;
25377     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
25378   }
25379   arg1 = &temp1;
25380   if ((argc < 3) || (argc > 5)) {
25381     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
25382   }
25383   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
25384   if (!SWIG_IsOK(res2)) {
25385     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_move2", 2, argv[0] ));
25386   }
25387   arg2 = (char *)(buf2);
25388   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
25389   if (!SWIG_IsOK(res3)) {
25390     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_move2", 3, argv[1] ));
25391   }
25392   arg3 = (char *)(buf3);
25393   arg4 = RTEST(argv[2]);
25394   if (argc > 3) {
25395     res5 = SWIG_ConvertPtr(argv[3], &argp5,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
25396     if (!SWIG_IsOK(res5)) {
25397       SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_move2", 5, argv[3] ));
25398     }
25399     arg5 = (svn_client_ctx_t *)(argp5);
25400   }
25401   if (argc > 4) {
25402 
25403   }
25404   {
25405     result = (svn_error_t *)svn_client_move2(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6);
25406 
25407 
25408 
25409   }
25410   {
25411     if (result) {
25412       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25413       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25414       svn_swig_rb_handle_svn_error(result);
25415     }
25416     vresult = Qnil;
25417   }
25418   {
25419     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_client_commit_info_t, 0));
25420   }
25421   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25422   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
25423   {
25424     VALUE target;
25425     target = _global_vresult_address == &vresult ? self : vresult;
25426     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
25427     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25428     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25429   }
25430   return vresult;
25431 fail:
25432   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25433   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
25434   {
25435     VALUE target;
25436     target = _global_vresult_address == &vresult ? self : vresult;
25437     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
25438     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25439     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25440   }
25441   return Qnil;
25442 }
25443 
25444 
25445 SWIGINTERN VALUE
_wrap_svn_client_move(int argc,VALUE * argv,VALUE self)25446 _wrap_svn_client_move(int argc, VALUE *argv, VALUE self) {
25447   svn_client_commit_info_t **arg1 = (svn_client_commit_info_t **) 0 ;
25448   char *arg2 = (char *) 0 ;
25449   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
25450   char *arg4 = (char *) 0 ;
25451   svn_boolean_t arg5 ;
25452   svn_client_ctx_t *arg6 = (svn_client_ctx_t *) 0 ;
25453   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
25454   VALUE _global_svn_swig_rb_pool ;
25455   apr_pool_t *_global_pool ;
25456   svn_client_commit_info_t *temp1 = NULL ;
25457   int res2 ;
25458   char *buf2 = 0 ;
25459   int alloc2 = 0 ;
25460   svn_opt_revision_t rev3 ;
25461   int res4 ;
25462   char *buf4 = 0 ;
25463   int alloc4 = 0 ;
25464   void *argp6 = 0 ;
25465   int res6 = 0 ;
25466   svn_error_t *result = 0 ;
25467   VALUE vresult = Qnil;
25468 
25469   {
25470     int adjusted_argc = argc;
25471     VALUE *adjusted_argv = argv;
25472 
25473     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
25474       &adjusted_argv);
25475     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
25476       &_global_svn_swig_rb_pool, &arg7);
25477     _global_pool = arg7;
25478     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
25479   }
25480   arg1 = &temp1;
25481   if ((argc < 4) || (argc > 6)) {
25482     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
25483   }
25484   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
25485   if (!SWIG_IsOK(res2)) {
25486     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_move", 2, argv[0] ));
25487   }
25488   arg2 = (char *)(buf2);
25489   {
25490     arg3 = &rev3;
25491     svn_swig_rb_set_revision(&rev3, argv[1]);
25492   }
25493   res4 = SWIG_AsCharPtrAndSize(argv[2], &buf4, NULL, &alloc4);
25494   if (!SWIG_IsOK(res4)) {
25495     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_move", 4, argv[2] ));
25496   }
25497   arg4 = (char *)(buf4);
25498   arg5 = RTEST(argv[3]);
25499   if (argc > 4) {
25500     res6 = SWIG_ConvertPtr(argv[4], &argp6,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
25501     if (!SWIG_IsOK(res6)) {
25502       SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_move", 6, argv[4] ));
25503     }
25504     arg6 = (svn_client_ctx_t *)(argp6);
25505   }
25506   if (argc > 5) {
25507 
25508   }
25509   {
25510     result = (svn_error_t *)svn_client_move(arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,(char const *)arg4,arg5,arg6,arg7);
25511 
25512 
25513 
25514   }
25515   {
25516     if (result) {
25517       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25518       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25519       svn_swig_rb_handle_svn_error(result);
25520     }
25521     vresult = Qnil;
25522   }
25523   {
25524     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_client_commit_info_t, 0));
25525   }
25526   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25527   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
25528   {
25529     VALUE target;
25530     target = _global_vresult_address == &vresult ? self : vresult;
25531     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
25532     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25533     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25534   }
25535   return vresult;
25536 fail:
25537   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25538   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
25539   {
25540     VALUE target;
25541     target = _global_vresult_address == &vresult ? self : vresult;
25542     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
25543     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25544     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25545   }
25546   return Qnil;
25547 }
25548 
25549 
25550 SWIGINTERN VALUE
_wrap_svn_client_propset_remote(int argc,VALUE * argv,VALUE self)25551 _wrap_svn_client_propset_remote(int argc, VALUE *argv, VALUE self) {
25552   char *arg1 = (char *) 0 ;
25553   svn_string_t *arg2 = (svn_string_t *) 0 ;
25554   char *arg3 = (char *) 0 ;
25555   svn_boolean_t arg4 ;
25556   svn_revnum_t arg5 ;
25557   apr_hash_t *arg6 = (apr_hash_t *) 0 ;
25558   svn_commit_callback2_t arg7 = (svn_commit_callback2_t) 0 ;
25559   void *arg8 = (void *) 0 ;
25560   svn_client_ctx_t *arg9 = (svn_client_ctx_t *) 0 ;
25561   apr_pool_t *arg10 = (apr_pool_t *) 0 ;
25562   VALUE _global_svn_swig_rb_pool ;
25563   apr_pool_t *_global_pool ;
25564   int res1 ;
25565   char *buf1 = 0 ;
25566   int alloc1 = 0 ;
25567   svn_string_t value2 ;
25568   int res3 ;
25569   char *buf3 = 0 ;
25570   int alloc3 = 0 ;
25571   long val5 ;
25572   int ecode5 = 0 ;
25573   void *argp9 = 0 ;
25574   int res9 = 0 ;
25575   svn_error_t *result = 0 ;
25576   VALUE vresult = Qnil;
25577 
25578   {
25579     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg10);
25580     _global_pool = arg10;
25581     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
25582   }
25583   if ((argc < 8) || (argc > 9)) {
25584     rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
25585   }
25586   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
25587   if (!SWIG_IsOK(res1)) {
25588     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_propset_remote", 1, argv[0] ));
25589   }
25590   arg1 = (char *)(buf1);
25591   {
25592     if (NIL_P(argv[1])) {
25593       arg2 = NULL;
25594     } else {
25595       value2.data = StringValuePtr(argv[1]);
25596       value2.len = RSTRING_LEN(argv[1]);
25597       arg2 = &value2;
25598     }
25599   }
25600   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
25601   if (!SWIG_IsOK(res3)) {
25602     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_propset_remote", 3, argv[2] ));
25603   }
25604   arg3 = (char *)(buf3);
25605   arg4 = RTEST(argv[3]);
25606   ecode5 = SWIG_AsVal_long(argv[4], &val5);
25607   if (!SWIG_IsOK(ecode5)) {
25608     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "svn_revnum_t","svn_client_propset_remote", 5, argv[4] ));
25609   }
25610   arg5 = (svn_revnum_t)(val5);
25611   {
25612     VALUE rb_pool = Qnil;
25613     if (!_global_pool) {
25614       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
25615       svn_swig_rb_push_pool(rb_pool);
25616     }
25617     arg6 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[5], _global_pool);
25618     _global_pool = NULL;
25619     if (!NIL_P(rb_pool)) {
25620       if (NIL_P(arg6)) {
25621         svn_swig_rb_destroy_pool(rb_pool);
25622       } else {
25623         svn_swig_rb_set_pool_for_no_swig_type(argv[5], rb_pool);
25624       }
25625       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25626     }
25627   }
25628   {
25629     arg7 = svn_swig_rb_commit_callback2;
25630     arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
25631   }
25632   res9 = SWIG_ConvertPtr(argv[7], &argp9,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
25633   if (!SWIG_IsOK(res9)) {
25634     SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_propset_remote", 9, argv[7] ));
25635   }
25636   arg9 = (svn_client_ctx_t *)(argp9);
25637   if (argc > 8) {
25638 
25639   }
25640   {
25641     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);
25642 
25643 
25644 
25645   }
25646   {
25647     if (result) {
25648       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25649       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25650       svn_swig_rb_handle_svn_error(result);
25651     }
25652     vresult = Qnil;
25653   }
25654   {
25655     svn_swig_rb_set_baton(vresult, (VALUE)arg8);
25656   }
25657   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
25658   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
25659   {
25660     VALUE target;
25661     target = _global_vresult_address == &vresult ? self : vresult;
25662     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
25663     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25664     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25665   }
25666   return vresult;
25667 fail:
25668   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
25669   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
25670   {
25671     VALUE target;
25672     target = _global_vresult_address == &vresult ? self : vresult;
25673     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
25674     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25675     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25676   }
25677   return Qnil;
25678 }
25679 
25680 
25681 SWIGINTERN VALUE
_wrap_svn_client_propset_local(int argc,VALUE * argv,VALUE self)25682 _wrap_svn_client_propset_local(int argc, VALUE *argv, VALUE self) {
25683   char *arg1 = (char *) 0 ;
25684   svn_string_t *arg2 = (svn_string_t *) 0 ;
25685   apr_array_header_t *arg3 = (apr_array_header_t *) 0 ;
25686   svn_depth_t arg4 ;
25687   svn_boolean_t arg5 ;
25688   apr_array_header_t *arg6 = (apr_array_header_t *) 0 ;
25689   svn_client_ctx_t *arg7 = (svn_client_ctx_t *) 0 ;
25690   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
25691   VALUE _global_svn_swig_rb_pool ;
25692   apr_pool_t *_global_pool ;
25693   int res1 ;
25694   char *buf1 = 0 ;
25695   int alloc1 = 0 ;
25696   svn_string_t value2 ;
25697   void *argp7 = 0 ;
25698   int res7 = 0 ;
25699   svn_error_t *result = 0 ;
25700   VALUE vresult = Qnil;
25701 
25702   {
25703     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8);
25704     _global_pool = arg8;
25705     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
25706   }
25707   if ((argc < 7) || (argc > 8)) {
25708     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
25709   }
25710   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
25711   if (!SWIG_IsOK(res1)) {
25712     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_propset_local", 1, argv[0] ));
25713   }
25714   arg1 = (char *)(buf1);
25715   {
25716     if (NIL_P(argv[1])) {
25717       arg2 = NULL;
25718     } else {
25719       value2.data = StringValuePtr(argv[1]);
25720       value2.len = RSTRING_LEN(argv[1]);
25721       arg2 = &value2;
25722     }
25723   }
25724   {
25725     arg3 = svn_swig_rb_strings_to_apr_array(argv[2], _global_pool);
25726   }
25727   {
25728     arg4 = svn_swig_rb_to_depth(argv[3]);
25729   }
25730   arg5 = RTEST(argv[4]);
25731   {
25732     arg6 = (NIL_P(argv[5])) ? NULL :
25733     svn_swig_rb_strings_to_apr_array(argv[5], _global_pool);
25734   }
25735   res7 = SWIG_ConvertPtr(argv[6], &argp7,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
25736   if (!SWIG_IsOK(res7)) {
25737     SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_propset_local", 7, argv[6] ));
25738   }
25739   arg7 = (svn_client_ctx_t *)(argp7);
25740   if (argc > 7) {
25741 
25742   }
25743   {
25744     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);
25745 
25746 
25747 
25748   }
25749   {
25750     if (result) {
25751       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25752       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25753       svn_swig_rb_handle_svn_error(result);
25754     }
25755     vresult = Qnil;
25756   }
25757   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
25758   {
25759     VALUE target;
25760     target = _global_vresult_address == &vresult ? self : vresult;
25761     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
25762     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25763     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25764   }
25765   return vresult;
25766 fail:
25767   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
25768   {
25769     VALUE target;
25770     target = _global_vresult_address == &vresult ? self : vresult;
25771     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
25772     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25773     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25774   }
25775   return Qnil;
25776 }
25777 
25778 
25779 SWIGINTERN VALUE
_wrap_svn_client_propset3(int argc,VALUE * argv,VALUE self)25780 _wrap_svn_client_propset3(int argc, VALUE *argv, VALUE self) {
25781   svn_commit_info_t **arg1 = (svn_commit_info_t **) 0 ;
25782   char *arg2 = (char *) 0 ;
25783   svn_string_t *arg3 = (svn_string_t *) 0 ;
25784   char *arg4 = (char *) 0 ;
25785   svn_depth_t arg5 ;
25786   svn_boolean_t arg6 ;
25787   svn_revnum_t arg7 ;
25788   apr_array_header_t *arg8 = (apr_array_header_t *) 0 ;
25789   apr_hash_t *arg9 = (apr_hash_t *) 0 ;
25790   svn_client_ctx_t *arg10 = (svn_client_ctx_t *) 0 ;
25791   apr_pool_t *arg11 = (apr_pool_t *) 0 ;
25792   VALUE _global_svn_swig_rb_pool ;
25793   apr_pool_t *_global_pool ;
25794   svn_commit_info_t *temp1 = NULL ;
25795   int res2 ;
25796   char *buf2 = 0 ;
25797   int alloc2 = 0 ;
25798   svn_string_t value3 ;
25799   int res4 ;
25800   char *buf4 = 0 ;
25801   int alloc4 = 0 ;
25802   long val7 ;
25803   int ecode7 = 0 ;
25804   void *argp10 = 0 ;
25805   int res10 = 0 ;
25806   svn_error_t *result = 0 ;
25807   VALUE vresult = Qnil;
25808 
25809   {
25810     int adjusted_argc = argc;
25811     VALUE *adjusted_argv = argv;
25812 
25813     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
25814       &adjusted_argv);
25815     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
25816       &_global_svn_swig_rb_pool, &arg11);
25817     _global_pool = arg11;
25818     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
25819   }
25820   arg1 = &temp1;
25821   if ((argc < 8) || (argc > 10)) {
25822     rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
25823   }
25824   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
25825   if (!SWIG_IsOK(res2)) {
25826     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_propset3", 2, argv[0] ));
25827   }
25828   arg2 = (char *)(buf2);
25829   {
25830     if (NIL_P(argv[1])) {
25831       arg3 = NULL;
25832     } else {
25833       value3.data = StringValuePtr(argv[1]);
25834       value3.len = RSTRING_LEN(argv[1]);
25835       arg3 = &value3;
25836     }
25837   }
25838   res4 = SWIG_AsCharPtrAndSize(argv[2], &buf4, NULL, &alloc4);
25839   if (!SWIG_IsOK(res4)) {
25840     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_propset3", 4, argv[2] ));
25841   }
25842   arg4 = (char *)(buf4);
25843   {
25844     arg5 = svn_swig_rb_to_depth(argv[3]);
25845   }
25846   arg6 = RTEST(argv[4]);
25847   ecode7 = SWIG_AsVal_long(argv[5], &val7);
25848   if (!SWIG_IsOK(ecode7)) {
25849     SWIG_exception_fail(SWIG_ArgError(ecode7), Ruby_Format_TypeError( "", "svn_revnum_t","svn_client_propset3", 7, argv[5] ));
25850   }
25851   arg7 = (svn_revnum_t)(val7);
25852   {
25853     arg8 = (NIL_P(argv[6])) ? NULL :
25854     svn_swig_rb_strings_to_apr_array(argv[6], _global_pool);
25855   }
25856   {
25857     VALUE rb_pool = Qnil;
25858     if (!_global_pool) {
25859       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
25860       svn_swig_rb_push_pool(rb_pool);
25861     }
25862     arg9 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[7], _global_pool);
25863     _global_pool = NULL;
25864     if (!NIL_P(rb_pool)) {
25865       if (NIL_P(arg9)) {
25866         svn_swig_rb_destroy_pool(rb_pool);
25867       } else {
25868         svn_swig_rb_set_pool_for_no_swig_type(argv[7], rb_pool);
25869       }
25870       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25871     }
25872   }
25873   if (argc > 8) {
25874     res10 = SWIG_ConvertPtr(argv[8], &argp10,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
25875     if (!SWIG_IsOK(res10)) {
25876       SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_propset3", 10, argv[8] ));
25877     }
25878     arg10 = (svn_client_ctx_t *)(argp10);
25879   }
25880   if (argc > 9) {
25881 
25882   }
25883   {
25884     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);
25885 
25886 
25887 
25888   }
25889   {
25890     if (result) {
25891       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25892       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25893       svn_swig_rb_handle_svn_error(result);
25894     }
25895     vresult = Qnil;
25896   }
25897   {
25898     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_commit_info_t, 0));
25899   }
25900   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25901   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
25902   {
25903     VALUE target;
25904     target = _global_vresult_address == &vresult ? self : vresult;
25905     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
25906     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25907     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25908   }
25909   return vresult;
25910 fail:
25911   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25912   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
25913   {
25914     VALUE target;
25915     target = _global_vresult_address == &vresult ? self : vresult;
25916     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
25917     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
25918     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
25919   }
25920   return Qnil;
25921 }
25922 
25923 
25924 SWIGINTERN VALUE
_wrap_svn_client_propset2(int argc,VALUE * argv,VALUE self)25925 _wrap_svn_client_propset2(int argc, VALUE *argv, VALUE self) {
25926   char *arg1 = (char *) 0 ;
25927   svn_string_t *arg2 = (svn_string_t *) 0 ;
25928   char *arg3 = (char *) 0 ;
25929   svn_boolean_t arg4 ;
25930   svn_boolean_t arg5 ;
25931   svn_client_ctx_t *arg6 = (svn_client_ctx_t *) 0 ;
25932   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
25933   VALUE _global_svn_swig_rb_pool ;
25934   apr_pool_t *_global_pool ;
25935   int res1 ;
25936   char *buf1 = 0 ;
25937   int alloc1 = 0 ;
25938   svn_string_t value2 ;
25939   int res3 ;
25940   char *buf3 = 0 ;
25941   int alloc3 = 0 ;
25942   void *argp6 = 0 ;
25943   int res6 = 0 ;
25944   svn_error_t *result = 0 ;
25945   VALUE vresult = Qnil;
25946 
25947   {
25948     int adjusted_argc = argc;
25949     VALUE *adjusted_argv = argv;
25950 
25951     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
25952       &adjusted_argv);
25953     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
25954       &_global_svn_swig_rb_pool, &arg7);
25955     _global_pool = arg7;
25956     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
25957   }
25958   if ((argc < 5) || (argc > 7)) {
25959     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
25960   }
25961   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
25962   if (!SWIG_IsOK(res1)) {
25963     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_propset2", 1, argv[0] ));
25964   }
25965   arg1 = (char *)(buf1);
25966   {
25967     if (NIL_P(argv[1])) {
25968       arg2 = NULL;
25969     } else {
25970       value2.data = StringValuePtr(argv[1]);
25971       value2.len = RSTRING_LEN(argv[1]);
25972       arg2 = &value2;
25973     }
25974   }
25975   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
25976   if (!SWIG_IsOK(res3)) {
25977     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_propset2", 3, argv[2] ));
25978   }
25979   arg3 = (char *)(buf3);
25980   arg4 = RTEST(argv[3]);
25981   arg5 = RTEST(argv[4]);
25982   if (argc > 5) {
25983     res6 = SWIG_ConvertPtr(argv[5], &argp6,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
25984     if (!SWIG_IsOK(res6)) {
25985       SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_propset2", 6, argv[5] ));
25986     }
25987     arg6 = (svn_client_ctx_t *)(argp6);
25988   }
25989   if (argc > 6) {
25990 
25991   }
25992   {
25993     result = (svn_error_t *)svn_client_propset2((char const *)arg1,(struct svn_string_t const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7);
25994 
25995 
25996 
25997   }
25998   {
25999     if (result) {
26000       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26001       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26002       svn_swig_rb_handle_svn_error(result);
26003     }
26004     vresult = Qnil;
26005   }
26006   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
26007   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
26008   {
26009     VALUE target;
26010     target = _global_vresult_address == &vresult ? self : vresult;
26011     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
26012     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26013     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26014   }
26015   return vresult;
26016 fail:
26017   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
26018   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
26019   {
26020     VALUE target;
26021     target = _global_vresult_address == &vresult ? self : vresult;
26022     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
26023     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26024     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26025   }
26026   return Qnil;
26027 }
26028 
26029 
26030 SWIGINTERN VALUE
_wrap_svn_client_propset(int argc,VALUE * argv,VALUE self)26031 _wrap_svn_client_propset(int argc, VALUE *argv, VALUE self) {
26032   char *arg1 = (char *) 0 ;
26033   svn_string_t *arg2 = (svn_string_t *) 0 ;
26034   char *arg3 = (char *) 0 ;
26035   svn_boolean_t arg4 ;
26036   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
26037   VALUE _global_svn_swig_rb_pool ;
26038   apr_pool_t *_global_pool ;
26039   int res1 ;
26040   char *buf1 = 0 ;
26041   int alloc1 = 0 ;
26042   svn_string_t value2 ;
26043   int res3 ;
26044   char *buf3 = 0 ;
26045   int alloc3 = 0 ;
26046   svn_error_t *result = 0 ;
26047   VALUE vresult = Qnil;
26048 
26049   {
26050     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
26051     _global_pool = arg5;
26052     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
26053   }
26054   if ((argc < 4) || (argc > 5)) {
26055     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
26056   }
26057   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
26058   if (!SWIG_IsOK(res1)) {
26059     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_propset", 1, argv[0] ));
26060   }
26061   arg1 = (char *)(buf1);
26062   {
26063     if (NIL_P(argv[1])) {
26064       arg2 = NULL;
26065     } else {
26066       value2.data = StringValuePtr(argv[1]);
26067       value2.len = RSTRING_LEN(argv[1]);
26068       arg2 = &value2;
26069     }
26070   }
26071   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
26072   if (!SWIG_IsOK(res3)) {
26073     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_propset", 3, argv[2] ));
26074   }
26075   arg3 = (char *)(buf3);
26076   arg4 = RTEST(argv[3]);
26077   if (argc > 4) {
26078 
26079   }
26080   {
26081     result = (svn_error_t *)svn_client_propset((char const *)arg1,(struct svn_string_t const *)arg2,(char const *)arg3,arg4,arg5);
26082 
26083 
26084 
26085   }
26086   {
26087     if (result) {
26088       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26089       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26090       svn_swig_rb_handle_svn_error(result);
26091     }
26092     vresult = Qnil;
26093   }
26094   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
26095   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
26096   {
26097     VALUE target;
26098     target = _global_vresult_address == &vresult ? self : vresult;
26099     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
26100     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26101     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26102   }
26103   return vresult;
26104 fail:
26105   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
26106   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
26107   {
26108     VALUE target;
26109     target = _global_vresult_address == &vresult ? self : vresult;
26110     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
26111     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26112     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26113   }
26114   return Qnil;
26115 }
26116 
26117 
26118 SWIGINTERN VALUE
_wrap_svn_client_revprop_set2(int argc,VALUE * argv,VALUE self)26119 _wrap_svn_client_revprop_set2(int argc, VALUE *argv, VALUE self) {
26120   char *arg1 = (char *) 0 ;
26121   svn_string_t *arg2 = (svn_string_t *) 0 ;
26122   svn_string_t *arg3 = (svn_string_t *) 0 ;
26123   char *arg4 = (char *) 0 ;
26124   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
26125   svn_revnum_t *arg6 = (svn_revnum_t *) 0 ;
26126   svn_boolean_t arg7 ;
26127   svn_client_ctx_t *arg8 = (svn_client_ctx_t *) 0 ;
26128   apr_pool_t *arg9 = (apr_pool_t *) 0 ;
26129   VALUE _global_svn_swig_rb_pool ;
26130   apr_pool_t *_global_pool ;
26131   int res1 ;
26132   char *buf1 = 0 ;
26133   int alloc1 = 0 ;
26134   svn_string_t value2 ;
26135   svn_string_t value3 ;
26136   int res4 ;
26137   char *buf4 = 0 ;
26138   int alloc4 = 0 ;
26139   svn_opt_revision_t rev5 ;
26140   svn_revnum_t temp6 ;
26141   int res6 = SWIG_TMPOBJ ;
26142   void *argp8 = 0 ;
26143   int res8 = 0 ;
26144   svn_error_t *result = 0 ;
26145   VALUE vresult = Qnil;
26146 
26147   {
26148     int adjusted_argc = argc;
26149     VALUE *adjusted_argv = argv;
26150 
26151     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
26152       &adjusted_argv);
26153     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
26154       &_global_svn_swig_rb_pool, &arg9);
26155     _global_pool = arg9;
26156     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
26157   }
26158   arg6 = &temp6;
26159   if ((argc < 6) || (argc > 8)) {
26160     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
26161   }
26162   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
26163   if (!SWIG_IsOK(res1)) {
26164     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_revprop_set2", 1, argv[0] ));
26165   }
26166   arg1 = (char *)(buf1);
26167   {
26168     if (NIL_P(argv[1])) {
26169       arg2 = NULL;
26170     } else {
26171       value2.data = StringValuePtr(argv[1]);
26172       value2.len = RSTRING_LEN(argv[1]);
26173       arg2 = &value2;
26174     }
26175   }
26176   {
26177     if (NIL_P(argv[2])) {
26178       arg3 = NULL;
26179     } else {
26180       value3.data = StringValuePtr(argv[2]);
26181       value3.len = RSTRING_LEN(argv[2]);
26182       arg3 = &value3;
26183     }
26184   }
26185   res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
26186   if (!SWIG_IsOK(res4)) {
26187     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_revprop_set2", 4, argv[3] ));
26188   }
26189   arg4 = (char *)(buf4);
26190   {
26191     arg5 = &rev5;
26192     svn_swig_rb_set_revision(&rev5, argv[4]);
26193   }
26194   arg7 = RTEST(argv[5]);
26195   if (argc > 6) {
26196     res8 = SWIG_ConvertPtr(argv[6], &argp8,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
26197     if (!SWIG_IsOK(res8)) {
26198       SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_revprop_set2", 8, argv[6] ));
26199     }
26200     arg8 = (svn_client_ctx_t *)(argp8);
26201   }
26202   if (argc > 7) {
26203 
26204   }
26205   {
26206     if (!arg5) {
26207       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
26208     }
26209   }
26210   {
26211     result = (svn_error_t *)svn_client_revprop_set2((char const *)arg1,(struct svn_string_t const *)arg2,(struct svn_string_t const *)arg3,(char const *)arg4,(struct svn_opt_revision_t const *)arg5,arg6,arg7,arg8,arg9);
26212 
26213 
26214 
26215   }
26216   {
26217     if (result) {
26218       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26219       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26220       svn_swig_rb_handle_svn_error(result);
26221     }
26222     vresult = Qnil;
26223   }
26224   if (SWIG_IsTmpObj(res6)) {
26225     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg6)));
26226   } else {
26227     int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
26228     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_long, new_flags));
26229   }
26230   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
26231   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
26232   {
26233     VALUE target;
26234     target = _global_vresult_address == &vresult ? self : vresult;
26235     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
26236     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26237     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26238   }
26239   return vresult;
26240 fail:
26241   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
26242   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
26243   {
26244     VALUE target;
26245     target = _global_vresult_address == &vresult ? self : vresult;
26246     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
26247     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26248     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26249   }
26250   return Qnil;
26251 }
26252 
26253 
26254 SWIGINTERN VALUE
_wrap_svn_client_revprop_set(int argc,VALUE * argv,VALUE self)26255 _wrap_svn_client_revprop_set(int argc, VALUE *argv, VALUE self) {
26256   char *arg1 = (char *) 0 ;
26257   svn_string_t *arg2 = (svn_string_t *) 0 ;
26258   char *arg3 = (char *) 0 ;
26259   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
26260   svn_revnum_t *arg5 = (svn_revnum_t *) 0 ;
26261   svn_boolean_t arg6 ;
26262   svn_client_ctx_t *arg7 = (svn_client_ctx_t *) 0 ;
26263   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
26264   VALUE _global_svn_swig_rb_pool ;
26265   apr_pool_t *_global_pool ;
26266   int res1 ;
26267   char *buf1 = 0 ;
26268   int alloc1 = 0 ;
26269   svn_string_t value2 ;
26270   int res3 ;
26271   char *buf3 = 0 ;
26272   int alloc3 = 0 ;
26273   svn_opt_revision_t rev4 ;
26274   svn_revnum_t temp5 ;
26275   int res5 = SWIG_TMPOBJ ;
26276   void *argp7 = 0 ;
26277   int res7 = 0 ;
26278   svn_error_t *result = 0 ;
26279   VALUE vresult = Qnil;
26280 
26281   {
26282     int adjusted_argc = argc;
26283     VALUE *adjusted_argv = argv;
26284 
26285     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
26286       &adjusted_argv);
26287     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
26288       &_global_svn_swig_rb_pool, &arg8);
26289     _global_pool = arg8;
26290     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
26291   }
26292   arg5 = &temp5;
26293   if ((argc < 5) || (argc > 7)) {
26294     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
26295   }
26296   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
26297   if (!SWIG_IsOK(res1)) {
26298     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_revprop_set", 1, argv[0] ));
26299   }
26300   arg1 = (char *)(buf1);
26301   {
26302     if (NIL_P(argv[1])) {
26303       arg2 = NULL;
26304     } else {
26305       value2.data = StringValuePtr(argv[1]);
26306       value2.len = RSTRING_LEN(argv[1]);
26307       arg2 = &value2;
26308     }
26309   }
26310   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
26311   if (!SWIG_IsOK(res3)) {
26312     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_revprop_set", 3, argv[2] ));
26313   }
26314   arg3 = (char *)(buf3);
26315   {
26316     arg4 = &rev4;
26317     svn_swig_rb_set_revision(&rev4, argv[3]);
26318   }
26319   arg6 = RTEST(argv[4]);
26320   if (argc > 5) {
26321     res7 = SWIG_ConvertPtr(argv[5], &argp7,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
26322     if (!SWIG_IsOK(res7)) {
26323       SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_revprop_set", 7, argv[5] ));
26324     }
26325     arg7 = (svn_client_ctx_t *)(argp7);
26326   }
26327   if (argc > 6) {
26328 
26329   }
26330   {
26331     if (!arg4) {
26332       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
26333     }
26334   }
26335   {
26336     result = (svn_error_t *)svn_client_revprop_set((char const *)arg1,(struct svn_string_t const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,arg5,arg6,arg7,arg8);
26337 
26338 
26339 
26340   }
26341   {
26342     if (result) {
26343       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26344       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26345       svn_swig_rb_handle_svn_error(result);
26346     }
26347     vresult = Qnil;
26348   }
26349   if (SWIG_IsTmpObj(res5)) {
26350     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg5)));
26351   } else {
26352     int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
26353     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_long, new_flags));
26354   }
26355   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
26356   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
26357   {
26358     VALUE target;
26359     target = _global_vresult_address == &vresult ? self : vresult;
26360     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
26361     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26362     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26363   }
26364   return vresult;
26365 fail:
26366   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
26367   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
26368   {
26369     VALUE target;
26370     target = _global_vresult_address == &vresult ? self : vresult;
26371     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
26372     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26373     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26374   }
26375   return Qnil;
26376 }
26377 
26378 
26379 SWIGINTERN VALUE
_wrap_svn_client_propget5(int argc,VALUE * argv,VALUE self)26380 _wrap_svn_client_propget5(int argc, VALUE *argv, VALUE self) {
26381   apr_hash_t **arg1 = (apr_hash_t **) 0 ;
26382   apr_array_header_t **arg2 = (apr_array_header_t **) 0 ;
26383   char *arg3 = (char *) 0 ;
26384   char *arg4 = (char *) 0 ;
26385   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
26386   svn_opt_revision_t *arg6 = (svn_opt_revision_t *) 0 ;
26387   svn_revnum_t *arg7 = (svn_revnum_t *) 0 ;
26388   svn_depth_t arg8 ;
26389   apr_array_header_t *arg9 = (apr_array_header_t *) 0 ;
26390   svn_client_ctx_t *arg10 = (svn_client_ctx_t *) 0 ;
26391   apr_pool_t *arg11 = (apr_pool_t *) 0 ;
26392   apr_pool_t *arg12 = (apr_pool_t *) 0 ;
26393   VALUE _global_svn_swig_rb_pool ;
26394   apr_pool_t *_global_pool ;
26395   apr_hash_t *temp1 ;
26396   apr_array_header_t *temp2 ;
26397   int res3 ;
26398   char *buf3 = 0 ;
26399   int alloc3 = 0 ;
26400   int res4 ;
26401   char *buf4 = 0 ;
26402   int alloc4 = 0 ;
26403   svn_opt_revision_t rev5 ;
26404   svn_opt_revision_t rev6 ;
26405   svn_revnum_t temp7 ;
26406   int res7 = SWIG_TMPOBJ ;
26407   void *argp10 = 0 ;
26408   int res10 = 0 ;
26409   svn_error_t *result = 0 ;
26410   VALUE vresult = Qnil;
26411 
26412   {
26413     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg11);
26414     _global_pool = arg11;
26415     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
26416   }
26417   {
26418     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg12);
26419     _global_pool = arg12;
26420     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
26421   }
26422   arg1 = &temp1;
26423   arg2 = &temp2;
26424   arg7 = &temp7;
26425   if ((argc < 7) || (argc > 9)) {
26426     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
26427   }
26428   res3 = SWIG_AsCharPtrAndSize(argv[0], &buf3, NULL, &alloc3);
26429   if (!SWIG_IsOK(res3)) {
26430     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_propget5", 3, argv[0] ));
26431   }
26432   arg3 = (char *)(buf3);
26433   res4 = SWIG_AsCharPtrAndSize(argv[1], &buf4, NULL, &alloc4);
26434   if (!SWIG_IsOK(res4)) {
26435     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_propget5", 4, argv[1] ));
26436   }
26437   arg4 = (char *)(buf4);
26438   {
26439     arg5 = &rev5;
26440     svn_swig_rb_set_revision(&rev5, argv[2]);
26441   }
26442   {
26443     arg6 = &rev6;
26444     svn_swig_rb_set_revision(&rev6, argv[3]);
26445   }
26446   {
26447     arg8 = svn_swig_rb_to_depth(argv[4]);
26448   }
26449   {
26450     arg9 = (NIL_P(argv[5])) ? NULL :
26451     svn_swig_rb_strings_to_apr_array(argv[5], _global_pool);
26452   }
26453   res10 = SWIG_ConvertPtr(argv[6], &argp10,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
26454   if (!SWIG_IsOK(res10)) {
26455     SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_propget5", 10, argv[6] ));
26456   }
26457   arg10 = (svn_client_ctx_t *)(argp10);
26458   if (argc > 7) {
26459 
26460   }
26461   if (argc > 8) {
26462 
26463   }
26464   {
26465     if (!arg5) {
26466       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
26467     }
26468   }
26469   {
26470     if (!arg6) {
26471       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
26472     }
26473   }
26474   {
26475     result = (svn_error_t *)svn_client_propget5(arg1,arg2,(char const *)arg3,(char const *)arg4,(struct svn_opt_revision_t const *)arg5,(struct svn_opt_revision_t const *)arg6,arg7,arg8,(apr_array_header_t const *)arg9,arg10,arg11,arg12);
26476 
26477 
26478 
26479   }
26480   {
26481     if (result) {
26482       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26483       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26484       svn_swig_rb_handle_svn_error(result);
26485     }
26486     vresult = Qnil;
26487   }
26488   {
26489     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_svn_string(*arg1));
26490   }
26491   {
26492     /* FIXME: Missing argout typemap: svn_client_propget5 arg 2 (apr_array_header_t **) */
26493 
26494 
26495 
26496 
26497     SWIG_exception(SWIG_ValueError, "svn_client_propget5 is not implemented yet");
26498 
26499   }
26500   if (SWIG_IsTmpObj(res7)) {
26501     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg7)));
26502   } else {
26503     int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
26504     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg7), SWIGTYPE_p_long, new_flags));
26505   }
26506   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
26507   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
26508   {
26509     VALUE target;
26510     target = _global_vresult_address == &vresult ? self : vresult;
26511     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
26512     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26513     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26514   }
26515   {
26516     VALUE target;
26517     target = _global_vresult_address == &vresult ? self : vresult;
26518     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
26519     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26520     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26521   }
26522   return vresult;
26523 fail:
26524   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
26525   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
26526   {
26527     VALUE target;
26528     target = _global_vresult_address == &vresult ? self : vresult;
26529     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
26530     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26531     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26532   }
26533   {
26534     VALUE target;
26535     target = _global_vresult_address == &vresult ? self : vresult;
26536     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
26537     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26538     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26539   }
26540   return Qnil;
26541 }
26542 
26543 
26544 SWIGINTERN VALUE
_wrap_svn_client_propget4(int argc,VALUE * argv,VALUE self)26545 _wrap_svn_client_propget4(int argc, VALUE *argv, VALUE self) {
26546   apr_hash_t **arg1 = (apr_hash_t **) 0 ;
26547   char *arg2 = (char *) 0 ;
26548   char *arg3 = (char *) 0 ;
26549   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
26550   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
26551   svn_revnum_t *arg6 = (svn_revnum_t *) 0 ;
26552   svn_depth_t arg7 ;
26553   apr_array_header_t *arg8 = (apr_array_header_t *) 0 ;
26554   svn_client_ctx_t *arg9 = (svn_client_ctx_t *) 0 ;
26555   apr_pool_t *arg10 = (apr_pool_t *) 0 ;
26556   apr_pool_t *arg11 = (apr_pool_t *) 0 ;
26557   VALUE _global_svn_swig_rb_pool ;
26558   apr_pool_t *_global_pool ;
26559   apr_hash_t *temp1 ;
26560   int res2 ;
26561   char *buf2 = 0 ;
26562   int alloc2 = 0 ;
26563   int res3 ;
26564   char *buf3 = 0 ;
26565   int alloc3 = 0 ;
26566   svn_opt_revision_t rev4 ;
26567   svn_opt_revision_t rev5 ;
26568   svn_revnum_t temp6 ;
26569   int res6 = SWIG_TMPOBJ ;
26570   void *argp9 = 0 ;
26571   int res9 = 0 ;
26572   svn_error_t *result = 0 ;
26573   VALUE vresult = Qnil;
26574 
26575   {
26576     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg10);
26577     _global_pool = arg10;
26578     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
26579   }
26580   {
26581     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg11);
26582     _global_pool = arg11;
26583     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
26584   }
26585   arg1 = &temp1;
26586   arg6 = &temp6;
26587   if ((argc < 7) || (argc > 9)) {
26588     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
26589   }
26590   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
26591   if (!SWIG_IsOK(res2)) {
26592     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_propget4", 2, argv[0] ));
26593   }
26594   arg2 = (char *)(buf2);
26595   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
26596   if (!SWIG_IsOK(res3)) {
26597     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_propget4", 3, argv[1] ));
26598   }
26599   arg3 = (char *)(buf3);
26600   {
26601     arg4 = &rev4;
26602     svn_swig_rb_set_revision(&rev4, argv[2]);
26603   }
26604   {
26605     arg5 = &rev5;
26606     svn_swig_rb_set_revision(&rev5, argv[3]);
26607   }
26608   {
26609     arg7 = svn_swig_rb_to_depth(argv[4]);
26610   }
26611   {
26612     arg8 = (NIL_P(argv[5])) ? NULL :
26613     svn_swig_rb_strings_to_apr_array(argv[5], _global_pool);
26614   }
26615   res9 = SWIG_ConvertPtr(argv[6], &argp9,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
26616   if (!SWIG_IsOK(res9)) {
26617     SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_propget4", 9, argv[6] ));
26618   }
26619   arg9 = (svn_client_ctx_t *)(argp9);
26620   if (argc > 7) {
26621 
26622   }
26623   if (argc > 8) {
26624 
26625   }
26626   {
26627     if (!arg4) {
26628       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
26629     }
26630   }
26631   {
26632     if (!arg5) {
26633       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
26634     }
26635   }
26636   {
26637     result = (svn_error_t *)svn_client_propget4(arg1,(char const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_opt_revision_t const *)arg5,arg6,arg7,(apr_array_header_t const *)arg8,arg9,arg10,arg11);
26638 
26639 
26640 
26641   }
26642   {
26643     if (result) {
26644       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26645       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26646       svn_swig_rb_handle_svn_error(result);
26647     }
26648     vresult = Qnil;
26649   }
26650   {
26651     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_svn_string(*arg1));
26652   }
26653   if (SWIG_IsTmpObj(res6)) {
26654     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg6)));
26655   } else {
26656     int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
26657     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_long, new_flags));
26658   }
26659   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26660   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
26661   {
26662     VALUE target;
26663     target = _global_vresult_address == &vresult ? self : vresult;
26664     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
26665     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26666     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26667   }
26668   {
26669     VALUE target;
26670     target = _global_vresult_address == &vresult ? self : vresult;
26671     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
26672     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26673     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26674   }
26675   return vresult;
26676 fail:
26677   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26678   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
26679   {
26680     VALUE target;
26681     target = _global_vresult_address == &vresult ? self : vresult;
26682     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
26683     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26684     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26685   }
26686   {
26687     VALUE target;
26688     target = _global_vresult_address == &vresult ? self : vresult;
26689     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
26690     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26691     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26692   }
26693   return Qnil;
26694 }
26695 
26696 
26697 SWIGINTERN VALUE
_wrap_svn_client_propget3(int argc,VALUE * argv,VALUE self)26698 _wrap_svn_client_propget3(int argc, VALUE *argv, VALUE self) {
26699   apr_hash_t **arg1 = (apr_hash_t **) 0 ;
26700   char *arg2 = (char *) 0 ;
26701   char *arg3 = (char *) 0 ;
26702   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
26703   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
26704   svn_revnum_t *arg6 = (svn_revnum_t *) 0 ;
26705   svn_depth_t arg7 ;
26706   apr_array_header_t *arg8 = (apr_array_header_t *) 0 ;
26707   svn_client_ctx_t *arg9 = (svn_client_ctx_t *) 0 ;
26708   apr_pool_t *arg10 = (apr_pool_t *) 0 ;
26709   VALUE _global_svn_swig_rb_pool ;
26710   apr_pool_t *_global_pool ;
26711   apr_hash_t *temp1 ;
26712   int res2 ;
26713   char *buf2 = 0 ;
26714   int alloc2 = 0 ;
26715   int res3 ;
26716   char *buf3 = 0 ;
26717   int alloc3 = 0 ;
26718   svn_opt_revision_t rev4 ;
26719   svn_opt_revision_t rev5 ;
26720   svn_revnum_t temp6 ;
26721   int res6 = SWIG_TMPOBJ ;
26722   void *argp9 = 0 ;
26723   int res9 = 0 ;
26724   svn_error_t *result = 0 ;
26725   VALUE vresult = Qnil;
26726 
26727   {
26728     int adjusted_argc = argc;
26729     VALUE *adjusted_argv = argv;
26730 
26731     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
26732       &adjusted_argv);
26733     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
26734       &_global_svn_swig_rb_pool, &arg10);
26735     _global_pool = arg10;
26736     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
26737   }
26738   arg1 = &temp1;
26739   arg6 = &temp6;
26740   if ((argc < 6) || (argc > 8)) {
26741     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
26742   }
26743   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
26744   if (!SWIG_IsOK(res2)) {
26745     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_propget3", 2, argv[0] ));
26746   }
26747   arg2 = (char *)(buf2);
26748   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
26749   if (!SWIG_IsOK(res3)) {
26750     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_propget3", 3, argv[1] ));
26751   }
26752   arg3 = (char *)(buf3);
26753   {
26754     arg4 = &rev4;
26755     svn_swig_rb_set_revision(&rev4, argv[2]);
26756   }
26757   {
26758     arg5 = &rev5;
26759     svn_swig_rb_set_revision(&rev5, argv[3]);
26760   }
26761   {
26762     arg7 = svn_swig_rb_to_depth(argv[4]);
26763   }
26764   {
26765     arg8 = (NIL_P(argv[5])) ? NULL :
26766     svn_swig_rb_strings_to_apr_array(argv[5], _global_pool);
26767   }
26768   if (argc > 6) {
26769     res9 = SWIG_ConvertPtr(argv[6], &argp9,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
26770     if (!SWIG_IsOK(res9)) {
26771       SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_propget3", 9, argv[6] ));
26772     }
26773     arg9 = (svn_client_ctx_t *)(argp9);
26774   }
26775   if (argc > 7) {
26776 
26777   }
26778   {
26779     if (!arg4) {
26780       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
26781     }
26782   }
26783   {
26784     if (!arg5) {
26785       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
26786     }
26787   }
26788   {
26789     result = (svn_error_t *)svn_client_propget3(arg1,(char const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_opt_revision_t const *)arg5,arg6,arg7,(apr_array_header_t const *)arg8,arg9,arg10);
26790 
26791 
26792 
26793   }
26794   {
26795     if (result) {
26796       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26797       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26798       svn_swig_rb_handle_svn_error(result);
26799     }
26800     vresult = Qnil;
26801   }
26802   {
26803     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_svn_string(*arg1));
26804   }
26805   if (SWIG_IsTmpObj(res6)) {
26806     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg6)));
26807   } else {
26808     int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
26809     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_long, new_flags));
26810   }
26811   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26812   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
26813   {
26814     VALUE target;
26815     target = _global_vresult_address == &vresult ? self : vresult;
26816     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
26817     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26818     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26819   }
26820   return vresult;
26821 fail:
26822   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26823   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
26824   {
26825     VALUE target;
26826     target = _global_vresult_address == &vresult ? self : vresult;
26827     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
26828     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26829     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26830   }
26831   return Qnil;
26832 }
26833 
26834 
26835 SWIGINTERN VALUE
_wrap_svn_client_propget2(int argc,VALUE * argv,VALUE self)26836 _wrap_svn_client_propget2(int argc, VALUE *argv, VALUE self) {
26837   apr_hash_t **arg1 = (apr_hash_t **) 0 ;
26838   char *arg2 = (char *) 0 ;
26839   char *arg3 = (char *) 0 ;
26840   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
26841   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
26842   svn_boolean_t arg6 ;
26843   svn_client_ctx_t *arg7 = (svn_client_ctx_t *) 0 ;
26844   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
26845   VALUE _global_svn_swig_rb_pool ;
26846   apr_pool_t *_global_pool ;
26847   apr_hash_t *temp1 ;
26848   int res2 ;
26849   char *buf2 = 0 ;
26850   int alloc2 = 0 ;
26851   int res3 ;
26852   char *buf3 = 0 ;
26853   int alloc3 = 0 ;
26854   svn_opt_revision_t rev4 ;
26855   svn_opt_revision_t rev5 ;
26856   void *argp7 = 0 ;
26857   int res7 = 0 ;
26858   svn_error_t *result = 0 ;
26859   VALUE vresult = Qnil;
26860 
26861   {
26862     int adjusted_argc = argc;
26863     VALUE *adjusted_argv = argv;
26864 
26865     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
26866       &adjusted_argv);
26867     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
26868       &_global_svn_swig_rb_pool, &arg8);
26869     _global_pool = arg8;
26870     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
26871   }
26872   arg1 = &temp1;
26873   if ((argc < 5) || (argc > 7)) {
26874     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
26875   }
26876   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
26877   if (!SWIG_IsOK(res2)) {
26878     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_propget2", 2, argv[0] ));
26879   }
26880   arg2 = (char *)(buf2);
26881   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
26882   if (!SWIG_IsOK(res3)) {
26883     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_propget2", 3, argv[1] ));
26884   }
26885   arg3 = (char *)(buf3);
26886   {
26887     arg4 = &rev4;
26888     svn_swig_rb_set_revision(&rev4, argv[2]);
26889   }
26890   {
26891     arg5 = &rev5;
26892     svn_swig_rb_set_revision(&rev5, argv[3]);
26893   }
26894   arg6 = RTEST(argv[4]);
26895   if (argc > 5) {
26896     res7 = SWIG_ConvertPtr(argv[5], &argp7,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
26897     if (!SWIG_IsOK(res7)) {
26898       SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_propget2", 7, argv[5] ));
26899     }
26900     arg7 = (svn_client_ctx_t *)(argp7);
26901   }
26902   if (argc > 6) {
26903 
26904   }
26905   {
26906     if (!arg4) {
26907       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
26908     }
26909   }
26910   {
26911     if (!arg5) {
26912       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
26913     }
26914   }
26915   {
26916     result = (svn_error_t *)svn_client_propget2(arg1,(char const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_opt_revision_t const *)arg5,arg6,arg7,arg8);
26917 
26918 
26919 
26920   }
26921   {
26922     if (result) {
26923       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26924       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26925       svn_swig_rb_handle_svn_error(result);
26926     }
26927     vresult = Qnil;
26928   }
26929   {
26930     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_svn_string(*arg1));
26931   }
26932   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26933   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
26934   {
26935     VALUE target;
26936     target = _global_vresult_address == &vresult ? self : vresult;
26937     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
26938     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26939     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26940   }
26941   return vresult;
26942 fail:
26943   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26944   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
26945   {
26946     VALUE target;
26947     target = _global_vresult_address == &vresult ? self : vresult;
26948     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
26949     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
26950     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
26951   }
26952   return Qnil;
26953 }
26954 
26955 
26956 SWIGINTERN VALUE
_wrap_svn_client_propget(int argc,VALUE * argv,VALUE self)26957 _wrap_svn_client_propget(int argc, VALUE *argv, VALUE self) {
26958   apr_hash_t **arg1 = (apr_hash_t **) 0 ;
26959   char *arg2 = (char *) 0 ;
26960   char *arg3 = (char *) 0 ;
26961   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
26962   svn_boolean_t arg5 ;
26963   svn_client_ctx_t *arg6 = (svn_client_ctx_t *) 0 ;
26964   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
26965   VALUE _global_svn_swig_rb_pool ;
26966   apr_pool_t *_global_pool ;
26967   apr_hash_t *temp1 ;
26968   int res2 ;
26969   char *buf2 = 0 ;
26970   int alloc2 = 0 ;
26971   int res3 ;
26972   char *buf3 = 0 ;
26973   int alloc3 = 0 ;
26974   svn_opt_revision_t rev4 ;
26975   void *argp6 = 0 ;
26976   int res6 = 0 ;
26977   svn_error_t *result = 0 ;
26978   VALUE vresult = Qnil;
26979 
26980   {
26981     int adjusted_argc = argc;
26982     VALUE *adjusted_argv = argv;
26983 
26984     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
26985       &adjusted_argv);
26986     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
26987       &_global_svn_swig_rb_pool, &arg7);
26988     _global_pool = arg7;
26989     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
26990   }
26991   arg1 = &temp1;
26992   if ((argc < 4) || (argc > 6)) {
26993     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
26994   }
26995   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
26996   if (!SWIG_IsOK(res2)) {
26997     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_propget", 2, argv[0] ));
26998   }
26999   arg2 = (char *)(buf2);
27000   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
27001   if (!SWIG_IsOK(res3)) {
27002     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_propget", 3, argv[1] ));
27003   }
27004   arg3 = (char *)(buf3);
27005   {
27006     arg4 = &rev4;
27007     svn_swig_rb_set_revision(&rev4, argv[2]);
27008   }
27009   arg5 = RTEST(argv[3]);
27010   if (argc > 4) {
27011     res6 = SWIG_ConvertPtr(argv[4], &argp6,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
27012     if (!SWIG_IsOK(res6)) {
27013       SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_propget", 6, argv[4] ));
27014     }
27015     arg6 = (svn_client_ctx_t *)(argp6);
27016   }
27017   if (argc > 5) {
27018 
27019   }
27020   {
27021     if (!arg4) {
27022       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
27023     }
27024   }
27025   {
27026     result = (svn_error_t *)svn_client_propget(arg1,(char const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,arg5,arg6,arg7);
27027 
27028 
27029 
27030   }
27031   {
27032     if (result) {
27033       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27034       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27035       svn_swig_rb_handle_svn_error(result);
27036     }
27037     vresult = Qnil;
27038   }
27039   {
27040     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_svn_string(*arg1));
27041   }
27042   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
27043   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
27044   {
27045     VALUE target;
27046     target = _global_vresult_address == &vresult ? self : vresult;
27047     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
27048     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27049     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27050   }
27051   return vresult;
27052 fail:
27053   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
27054   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
27055   {
27056     VALUE target;
27057     target = _global_vresult_address == &vresult ? self : vresult;
27058     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
27059     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27060     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27061   }
27062   return Qnil;
27063 }
27064 
27065 
27066 SWIGINTERN VALUE
_wrap_svn_client_revprop_get(int argc,VALUE * argv,VALUE self)27067 _wrap_svn_client_revprop_get(int argc, VALUE *argv, VALUE self) {
27068   char *arg1 = (char *) 0 ;
27069   svn_string_t **arg2 = (svn_string_t **) 0 ;
27070   char *arg3 = (char *) 0 ;
27071   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
27072   svn_revnum_t *arg5 = (svn_revnum_t *) 0 ;
27073   svn_client_ctx_t *arg6 = (svn_client_ctx_t *) 0 ;
27074   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
27075   VALUE _global_svn_swig_rb_pool ;
27076   apr_pool_t *_global_pool ;
27077   int res1 ;
27078   char *buf1 = 0 ;
27079   int alloc1 = 0 ;
27080   svn_string_t *temp2 ;
27081   int res3 ;
27082   char *buf3 = 0 ;
27083   int alloc3 = 0 ;
27084   svn_opt_revision_t rev4 ;
27085   svn_revnum_t temp5 ;
27086   int res5 = SWIG_TMPOBJ ;
27087   void *argp6 = 0 ;
27088   int res6 = 0 ;
27089   svn_error_t *result = 0 ;
27090   VALUE vresult = Qnil;
27091 
27092   {
27093     int adjusted_argc = argc;
27094     VALUE *adjusted_argv = argv;
27095 
27096     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
27097       &adjusted_argv);
27098     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
27099       &_global_svn_swig_rb_pool, &arg7);
27100     _global_pool = arg7;
27101     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
27102   }
27103   arg2 = &temp2;
27104   arg5 = &temp5;
27105   if ((argc < 3) || (argc > 5)) {
27106     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
27107   }
27108   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
27109   if (!SWIG_IsOK(res1)) {
27110     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_revprop_get", 1, argv[0] ));
27111   }
27112   arg1 = (char *)(buf1);
27113   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
27114   if (!SWIG_IsOK(res3)) {
27115     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_revprop_get", 3, argv[1] ));
27116   }
27117   arg3 = (char *)(buf3);
27118   {
27119     arg4 = &rev4;
27120     svn_swig_rb_set_revision(&rev4, argv[2]);
27121   }
27122   if (argc > 3) {
27123     res6 = SWIG_ConvertPtr(argv[3], &argp6,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
27124     if (!SWIG_IsOK(res6)) {
27125       SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_revprop_get", 6, argv[3] ));
27126     }
27127     arg6 = (svn_client_ctx_t *)(argp6);
27128   }
27129   if (argc > 4) {
27130 
27131   }
27132   {
27133     if (!arg4) {
27134       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
27135     }
27136   }
27137   {
27138     result = (svn_error_t *)svn_client_revprop_get((char const *)arg1,arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,arg5,arg6,arg7);
27139 
27140 
27141 
27142   }
27143   {
27144     if (result) {
27145       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27146       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27147       svn_swig_rb_handle_svn_error(result);
27148     }
27149     vresult = Qnil;
27150   }
27151   {
27152     if (*arg2) {
27153       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new((*arg2)->data, (*arg2)->len));
27154     } else {
27155       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
27156     }
27157   }
27158   if (SWIG_IsTmpObj(res5)) {
27159     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg5)));
27160   } else {
27161     int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
27162     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_long, new_flags));
27163   }
27164   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
27165   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
27166   {
27167     VALUE target;
27168     target = _global_vresult_address == &vresult ? self : vresult;
27169     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
27170     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27171     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27172   }
27173   return vresult;
27174 fail:
27175   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
27176   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
27177   {
27178     VALUE target;
27179     target = _global_vresult_address == &vresult ? self : vresult;
27180     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
27181     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27182     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27183   }
27184   return Qnil;
27185 }
27186 
27187 
27188 SWIGINTERN VALUE
_wrap_svn_client_proplist4(int argc,VALUE * argv,VALUE self)27189 _wrap_svn_client_proplist4(int argc, VALUE *argv, VALUE self) {
27190   char *arg1 = (char *) 0 ;
27191   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
27192   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
27193   svn_depth_t arg4 ;
27194   apr_array_header_t *arg5 = (apr_array_header_t *) 0 ;
27195   svn_boolean_t arg6 ;
27196   svn_proplist_receiver2_t arg7 = (svn_proplist_receiver2_t) 0 ;
27197   void *arg8 = (void *) 0 ;
27198   svn_client_ctx_t *arg9 = (svn_client_ctx_t *) 0 ;
27199   apr_pool_t *arg10 = (apr_pool_t *) 0 ;
27200   VALUE _global_svn_swig_rb_pool ;
27201   apr_pool_t *_global_pool ;
27202   int res1 ;
27203   char *buf1 = 0 ;
27204   int alloc1 = 0 ;
27205   svn_opt_revision_t rev2 ;
27206   svn_opt_revision_t rev3 ;
27207   int res8 ;
27208   void *argp9 = 0 ;
27209   int res9 = 0 ;
27210   svn_error_t *result = 0 ;
27211   VALUE vresult = Qnil;
27212 
27213   {
27214     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg10);
27215     _global_pool = arg10;
27216     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
27217   }
27218   if ((argc < 9) || (argc > 10)) {
27219     rb_raise(rb_eArgError, "wrong # of arguments(%d for 9)",argc); SWIG_fail;
27220   }
27221   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
27222   if (!SWIG_IsOK(res1)) {
27223     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_proplist4", 1, argv[0] ));
27224   }
27225   arg1 = (char *)(buf1);
27226   {
27227     arg2 = &rev2;
27228     svn_swig_rb_set_revision(&rev2, argv[1]);
27229   }
27230   {
27231     arg3 = &rev3;
27232     svn_swig_rb_set_revision(&rev3, argv[2]);
27233   }
27234   {
27235     arg4 = svn_swig_rb_to_depth(argv[3]);
27236   }
27237   {
27238     arg5 = (NIL_P(argv[4])) ? NULL :
27239     svn_swig_rb_strings_to_apr_array(argv[4], _global_pool);
27240   }
27241   arg6 = RTEST(argv[5]);
27242   {
27243     int res = SWIG_ConvertFunctionPtr(argv[6], (void**)(&arg7), SWIGTYPE_p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t);
27244     if (!SWIG_IsOK(res)) {
27245       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_proplist_receiver2_t","svn_client_proplist4", 7, argv[6] ));
27246     }
27247   }
27248   res8 = SWIG_ConvertPtr(argv[7],SWIG_as_voidptrptr(&arg8), 0, 0);
27249   if (!SWIG_IsOK(res8)) {
27250     SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "void *","svn_client_proplist4", 8, argv[7] ));
27251   }
27252   res9 = SWIG_ConvertPtr(argv[8], &argp9,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
27253   if (!SWIG_IsOK(res9)) {
27254     SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_proplist4", 9, argv[8] ));
27255   }
27256   arg9 = (svn_client_ctx_t *)(argp9);
27257   if (argc > 9) {
27258 
27259   }
27260   {
27261     if (!arg2) {
27262       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
27263     }
27264   }
27265   {
27266     if (!arg3) {
27267       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
27268     }
27269   }
27270   {
27271     result = (svn_error_t *)svn_client_proplist4((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,(apr_array_header_t const *)arg5,arg6,arg7,arg8,arg9,arg10);
27272 
27273 
27274 
27275   }
27276   {
27277     if (result) {
27278       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27279       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27280       svn_swig_rb_handle_svn_error(result);
27281     }
27282     vresult = Qnil;
27283   }
27284   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
27285   {
27286     VALUE target;
27287     target = _global_vresult_address == &vresult ? self : vresult;
27288     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
27289     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27290     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27291   }
27292   return vresult;
27293 fail:
27294   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
27295   {
27296     VALUE target;
27297     target = _global_vresult_address == &vresult ? self : vresult;
27298     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
27299     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27300     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27301   }
27302   return Qnil;
27303 }
27304 
27305 
27306 SWIGINTERN VALUE
_wrap_svn_client_proplist3(int argc,VALUE * argv,VALUE self)27307 _wrap_svn_client_proplist3(int argc, VALUE *argv, VALUE self) {
27308   char *arg1 = (char *) 0 ;
27309   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
27310   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
27311   svn_depth_t arg4 ;
27312   apr_array_header_t *arg5 = (apr_array_header_t *) 0 ;
27313   svn_proplist_receiver_t arg6 = (svn_proplist_receiver_t) 0 ;
27314   void *arg7 = (void *) 0 ;
27315   svn_client_ctx_t *arg8 = (svn_client_ctx_t *) 0 ;
27316   apr_pool_t *arg9 = (apr_pool_t *) 0 ;
27317   VALUE _global_svn_swig_rb_pool ;
27318   apr_pool_t *_global_pool ;
27319   int res1 ;
27320   char *buf1 = 0 ;
27321   int alloc1 = 0 ;
27322   svn_opt_revision_t rev2 ;
27323   svn_opt_revision_t rev3 ;
27324   void *argp8 = 0 ;
27325   int res8 = 0 ;
27326   svn_error_t *result = 0 ;
27327   VALUE vresult = Qnil;
27328 
27329   {
27330     int adjusted_argc = argc;
27331     VALUE *adjusted_argv = argv;
27332 
27333     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
27334       &adjusted_argv);
27335     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
27336       &_global_svn_swig_rb_pool, &arg9);
27337     _global_pool = arg9;
27338     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
27339   }
27340   if ((argc < 6) || (argc > 8)) {
27341     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
27342   }
27343   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
27344   if (!SWIG_IsOK(res1)) {
27345     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_proplist3", 1, argv[0] ));
27346   }
27347   arg1 = (char *)(buf1);
27348   {
27349     arg2 = &rev2;
27350     svn_swig_rb_set_revision(&rev2, argv[1]);
27351   }
27352   {
27353     arg3 = &rev3;
27354     svn_swig_rb_set_revision(&rev3, argv[2]);
27355   }
27356   {
27357     arg4 = svn_swig_rb_to_depth(argv[3]);
27358   }
27359   {
27360     arg5 = (NIL_P(argv[4])) ? NULL :
27361     svn_swig_rb_strings_to_apr_array(argv[4], _global_pool);
27362   }
27363   {
27364     arg6 = (svn_proplist_receiver_t) svn_swig_rb_proplist_receiver;
27365     arg7 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
27366   }
27367   if (argc > 6) {
27368     res8 = SWIG_ConvertPtr(argv[6], &argp8,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
27369     if (!SWIG_IsOK(res8)) {
27370       SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_proplist3", 8, argv[6] ));
27371     }
27372     arg8 = (svn_client_ctx_t *)(argp8);
27373   }
27374   if (argc > 7) {
27375 
27376   }
27377   {
27378     if (!arg2) {
27379       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
27380     }
27381   }
27382   {
27383     if (!arg3) {
27384       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
27385     }
27386   }
27387   {
27388     result = (svn_error_t *)svn_client_proplist3((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,(apr_array_header_t const *)arg5,arg6,arg7,arg8,arg9);
27389 
27390 
27391 
27392   }
27393   {
27394     if (result) {
27395       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27396       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27397       svn_swig_rb_handle_svn_error(result);
27398     }
27399     vresult = Qnil;
27400   }
27401   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
27402   {
27403     VALUE target;
27404     target = _global_vresult_address == &vresult ? self : vresult;
27405     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
27406     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27407     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27408   }
27409   return vresult;
27410 fail:
27411   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
27412   {
27413     VALUE target;
27414     target = _global_vresult_address == &vresult ? self : vresult;
27415     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
27416     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27417     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27418   }
27419   return Qnil;
27420 }
27421 
27422 
27423 SWIGINTERN VALUE
_wrap_svn_client_proplist2(int argc,VALUE * argv,VALUE self)27424 _wrap_svn_client_proplist2(int argc, VALUE *argv, VALUE self) {
27425   apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
27426   char *arg2 = (char *) 0 ;
27427   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
27428   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
27429   svn_boolean_t arg5 ;
27430   svn_client_ctx_t *arg6 = (svn_client_ctx_t *) 0 ;
27431   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
27432   VALUE _global_svn_swig_rb_pool ;
27433   apr_pool_t *_global_pool ;
27434   apr_array_header_t *temp1 ;
27435   int res2 ;
27436   char *buf2 = 0 ;
27437   int alloc2 = 0 ;
27438   svn_opt_revision_t rev3 ;
27439   svn_opt_revision_t rev4 ;
27440   void *argp6 = 0 ;
27441   int res6 = 0 ;
27442   svn_error_t *result = 0 ;
27443   VALUE vresult = Qnil;
27444 
27445   {
27446     int adjusted_argc = argc;
27447     VALUE *adjusted_argv = argv;
27448 
27449     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
27450       &adjusted_argv);
27451     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
27452       &_global_svn_swig_rb_pool, &arg7);
27453     _global_pool = arg7;
27454     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
27455   }
27456   arg1 = &temp1;
27457   if ((argc < 4) || (argc > 6)) {
27458     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
27459   }
27460   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
27461   if (!SWIG_IsOK(res2)) {
27462     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_proplist2", 2, argv[0] ));
27463   }
27464   arg2 = (char *)(buf2);
27465   {
27466     arg3 = &rev3;
27467     svn_swig_rb_set_revision(&rev3, argv[1]);
27468   }
27469   {
27470     arg4 = &rev4;
27471     svn_swig_rb_set_revision(&rev4, argv[2]);
27472   }
27473   arg5 = RTEST(argv[3]);
27474   if (argc > 4) {
27475     res6 = SWIG_ConvertPtr(argv[4], &argp6,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
27476     if (!SWIG_IsOK(res6)) {
27477       SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_proplist2", 6, argv[4] ));
27478     }
27479     arg6 = (svn_client_ctx_t *)(argp6);
27480   }
27481   if (argc > 5) {
27482 
27483   }
27484   {
27485     if (!arg3) {
27486       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
27487     }
27488   }
27489   {
27490     if (!arg4) {
27491       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
27492     }
27493   }
27494   {
27495     result = (svn_error_t *)svn_client_proplist2(arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,(struct svn_opt_revision_t const *)arg4,arg5,arg6,arg7);
27496 
27497 
27498 
27499   }
27500   {
27501     if (result) {
27502       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27503       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27504       svn_swig_rb_handle_svn_error(result);
27505     }
27506     vresult = Qnil;
27507   }
27508   {
27509     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_array_to_array_proplist_item(*arg1));
27510   }
27511   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
27512   {
27513     VALUE target;
27514     target = _global_vresult_address == &vresult ? self : vresult;
27515     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
27516     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27517     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27518   }
27519   return vresult;
27520 fail:
27521   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
27522   {
27523     VALUE target;
27524     target = _global_vresult_address == &vresult ? self : vresult;
27525     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
27526     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27527     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27528   }
27529   return Qnil;
27530 }
27531 
27532 
27533 SWIGINTERN VALUE
_wrap_svn_client_proplist(int argc,VALUE * argv,VALUE self)27534 _wrap_svn_client_proplist(int argc, VALUE *argv, VALUE self) {
27535   apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
27536   char *arg2 = (char *) 0 ;
27537   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
27538   svn_boolean_t arg4 ;
27539   svn_client_ctx_t *arg5 = (svn_client_ctx_t *) 0 ;
27540   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
27541   VALUE _global_svn_swig_rb_pool ;
27542   apr_pool_t *_global_pool ;
27543   apr_array_header_t *temp1 ;
27544   int res2 ;
27545   char *buf2 = 0 ;
27546   int alloc2 = 0 ;
27547   svn_opt_revision_t rev3 ;
27548   void *argp5 = 0 ;
27549   int res5 = 0 ;
27550   svn_error_t *result = 0 ;
27551   VALUE vresult = Qnil;
27552 
27553   {
27554     int adjusted_argc = argc;
27555     VALUE *adjusted_argv = argv;
27556 
27557     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
27558       &adjusted_argv);
27559     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
27560       &_global_svn_swig_rb_pool, &arg6);
27561     _global_pool = arg6;
27562     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
27563   }
27564   arg1 = &temp1;
27565   if ((argc < 3) || (argc > 5)) {
27566     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
27567   }
27568   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
27569   if (!SWIG_IsOK(res2)) {
27570     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_proplist", 2, argv[0] ));
27571   }
27572   arg2 = (char *)(buf2);
27573   {
27574     arg3 = &rev3;
27575     svn_swig_rb_set_revision(&rev3, argv[1]);
27576   }
27577   arg4 = RTEST(argv[2]);
27578   if (argc > 3) {
27579     res5 = SWIG_ConvertPtr(argv[3], &argp5,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
27580     if (!SWIG_IsOK(res5)) {
27581       SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_proplist", 5, argv[3] ));
27582     }
27583     arg5 = (svn_client_ctx_t *)(argp5);
27584   }
27585   if (argc > 4) {
27586 
27587   }
27588   {
27589     if (!arg3) {
27590       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
27591     }
27592   }
27593   {
27594     result = (svn_error_t *)svn_client_proplist(arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,arg5,arg6);
27595 
27596 
27597 
27598   }
27599   {
27600     if (result) {
27601       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27602       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27603       svn_swig_rb_handle_svn_error(result);
27604     }
27605     vresult = Qnil;
27606   }
27607   {
27608     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_array_to_array_proplist_item(*arg1));
27609   }
27610   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
27611   {
27612     VALUE target;
27613     target = _global_vresult_address == &vresult ? self : vresult;
27614     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
27615     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27616     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27617   }
27618   return vresult;
27619 fail:
27620   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
27621   {
27622     VALUE target;
27623     target = _global_vresult_address == &vresult ? self : vresult;
27624     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
27625     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27626     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27627   }
27628   return Qnil;
27629 }
27630 
27631 
27632 SWIGINTERN VALUE
_wrap_svn_client_revprop_list(int argc,VALUE * argv,VALUE self)27633 _wrap_svn_client_revprop_list(int argc, VALUE *argv, VALUE self) {
27634   apr_hash_t **arg1 = (apr_hash_t **) 0 ;
27635   char *arg2 = (char *) 0 ;
27636   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
27637   svn_revnum_t *arg4 = (svn_revnum_t *) 0 ;
27638   svn_client_ctx_t *arg5 = (svn_client_ctx_t *) 0 ;
27639   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
27640   VALUE _global_svn_swig_rb_pool ;
27641   apr_pool_t *_global_pool ;
27642   apr_hash_t *temp1 ;
27643   int res2 ;
27644   char *buf2 = 0 ;
27645   int alloc2 = 0 ;
27646   svn_opt_revision_t rev3 ;
27647   svn_revnum_t temp4 ;
27648   int res4 = SWIG_TMPOBJ ;
27649   void *argp5 = 0 ;
27650   int res5 = 0 ;
27651   svn_error_t *result = 0 ;
27652   VALUE vresult = Qnil;
27653 
27654   {
27655     int adjusted_argc = argc;
27656     VALUE *adjusted_argv = argv;
27657 
27658     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
27659       &adjusted_argv);
27660     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
27661       &_global_svn_swig_rb_pool, &arg6);
27662     _global_pool = arg6;
27663     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
27664   }
27665   arg1 = &temp1;
27666   arg4 = &temp4;
27667   if ((argc < 2) || (argc > 4)) {
27668     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
27669   }
27670   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
27671   if (!SWIG_IsOK(res2)) {
27672     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_revprop_list", 2, argv[0] ));
27673   }
27674   arg2 = (char *)(buf2);
27675   {
27676     arg3 = &rev3;
27677     svn_swig_rb_set_revision(&rev3, argv[1]);
27678   }
27679   if (argc > 2) {
27680     res5 = SWIG_ConvertPtr(argv[2], &argp5,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
27681     if (!SWIG_IsOK(res5)) {
27682       SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_revprop_list", 5, argv[2] ));
27683     }
27684     arg5 = (svn_client_ctx_t *)(argp5);
27685   }
27686   if (argc > 3) {
27687 
27688   }
27689   {
27690     if (!arg3) {
27691       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
27692     }
27693   }
27694   {
27695     result = (svn_error_t *)svn_client_revprop_list(arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,arg5,arg6);
27696 
27697 
27698 
27699   }
27700   {
27701     if (result) {
27702       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27703       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27704       svn_swig_rb_handle_svn_error(result);
27705     }
27706     vresult = Qnil;
27707   }
27708   {
27709     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_svn_string(*arg1));
27710   }
27711   if (SWIG_IsTmpObj(res4)) {
27712     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg4)));
27713   } else {
27714     int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
27715     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
27716   }
27717   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
27718   {
27719     VALUE target;
27720     target = _global_vresult_address == &vresult ? self : vresult;
27721     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
27722     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27723     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27724   }
27725   return vresult;
27726 fail:
27727   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
27728   {
27729     VALUE target;
27730     target = _global_vresult_address == &vresult ? self : vresult;
27731     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
27732     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27733     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27734   }
27735   return Qnil;
27736 }
27737 
27738 
27739 SWIGINTERN VALUE
_wrap_svn_client_export5(int argc,VALUE * argv,VALUE self)27740 _wrap_svn_client_export5(int argc, VALUE *argv, VALUE self) {
27741   svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
27742   char *arg2 = (char *) 0 ;
27743   char *arg3 = (char *) 0 ;
27744   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
27745   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
27746   svn_boolean_t arg6 ;
27747   svn_boolean_t arg7 ;
27748   svn_boolean_t arg8 ;
27749   svn_depth_t arg9 ;
27750   char *arg10 = (char *) 0 ;
27751   svn_client_ctx_t *arg11 = (svn_client_ctx_t *) 0 ;
27752   apr_pool_t *arg12 = (apr_pool_t *) 0 ;
27753   VALUE _global_svn_swig_rb_pool ;
27754   apr_pool_t *_global_pool ;
27755   svn_revnum_t temp1 ;
27756   int res1 = SWIG_TMPOBJ ;
27757   int res2 ;
27758   char *buf2 = 0 ;
27759   int alloc2 = 0 ;
27760   int res3 ;
27761   char *buf3 = 0 ;
27762   int alloc3 = 0 ;
27763   svn_opt_revision_t rev4 ;
27764   svn_opt_revision_t rev5 ;
27765   void *argp11 = 0 ;
27766   int res11 = 0 ;
27767   svn_error_t *result = 0 ;
27768   VALUE vresult = Qnil;
27769 
27770   {
27771     int adjusted_argc = argc;
27772     VALUE *adjusted_argv = argv;
27773 
27774     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
27775       &adjusted_argv);
27776     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
27777       &_global_svn_swig_rb_pool, &arg12);
27778     _global_pool = arg12;
27779     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
27780   }
27781   arg1 = &temp1;
27782   if ((argc < 9) || (argc > 11)) {
27783     rb_raise(rb_eArgError, "wrong # of arguments(%d for 9)",argc); SWIG_fail;
27784   }
27785   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
27786   if (!SWIG_IsOK(res2)) {
27787     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_export5", 2, argv[0] ));
27788   }
27789   arg2 = (char *)(buf2);
27790   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
27791   if (!SWIG_IsOK(res3)) {
27792     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_export5", 3, argv[1] ));
27793   }
27794   arg3 = (char *)(buf3);
27795   {
27796     arg4 = &rev4;
27797     svn_swig_rb_set_revision(&rev4, argv[2]);
27798   }
27799   {
27800     arg5 = &rev5;
27801     svn_swig_rb_set_revision(&rev5, argv[3]);
27802   }
27803   arg6 = RTEST(argv[4]);
27804   arg7 = RTEST(argv[5]);
27805   arg8 = RTEST(argv[6]);
27806   {
27807     arg9 = svn_swig_rb_to_depth(argv[7]);
27808   }
27809   {
27810     if (NIL_P(argv[8])) {
27811       arg10 = NULL;
27812     } else {
27813       arg10 = StringValuePtr(argv[8]);
27814     }
27815   }
27816   if (argc > 9) {
27817     res11 = SWIG_ConvertPtr(argv[9], &argp11,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
27818     if (!SWIG_IsOK(res11)) {
27819       SWIG_exception_fail(SWIG_ArgError(res11), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_export5", 11, argv[9] ));
27820     }
27821     arg11 = (svn_client_ctx_t *)(argp11);
27822   }
27823   if (argc > 10) {
27824 
27825   }
27826   {
27827     if (!arg4) {
27828       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
27829     }
27830   }
27831   {
27832     if (!arg5) {
27833       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
27834     }
27835   }
27836   {
27837     result = (svn_error_t *)svn_client_export5(arg1,(char const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_opt_revision_t const *)arg5,arg6,arg7,arg8,arg9,(char const *)arg10,arg11,arg12);
27838 
27839 
27840 
27841   }
27842   {
27843     if (result) {
27844       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27845       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27846       svn_swig_rb_handle_svn_error(result);
27847     }
27848     vresult = Qnil;
27849   }
27850   if (SWIG_IsTmpObj(res1)) {
27851     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg1)));
27852   } else {
27853     int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
27854     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags));
27855   }
27856   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
27857   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
27858   {
27859     VALUE target;
27860     target = _global_vresult_address == &vresult ? self : vresult;
27861     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
27862     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27863     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27864   }
27865   return vresult;
27866 fail:
27867   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
27868   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
27869   {
27870     VALUE target;
27871     target = _global_vresult_address == &vresult ? self : vresult;
27872     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
27873     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27874     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27875   }
27876   return Qnil;
27877 }
27878 
27879 
27880 SWIGINTERN VALUE
_wrap_svn_client_export4(int argc,VALUE * argv,VALUE self)27881 _wrap_svn_client_export4(int argc, VALUE *argv, VALUE self) {
27882   svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
27883   char *arg2 = (char *) 0 ;
27884   char *arg3 = (char *) 0 ;
27885   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
27886   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
27887   svn_boolean_t arg6 ;
27888   svn_boolean_t arg7 ;
27889   svn_depth_t arg8 ;
27890   char *arg9 = (char *) 0 ;
27891   svn_client_ctx_t *arg10 = (svn_client_ctx_t *) 0 ;
27892   apr_pool_t *arg11 = (apr_pool_t *) 0 ;
27893   VALUE _global_svn_swig_rb_pool ;
27894   apr_pool_t *_global_pool ;
27895   svn_revnum_t temp1 ;
27896   int res1 = SWIG_TMPOBJ ;
27897   int res2 ;
27898   char *buf2 = 0 ;
27899   int alloc2 = 0 ;
27900   int res3 ;
27901   char *buf3 = 0 ;
27902   int alloc3 = 0 ;
27903   svn_opt_revision_t rev4 ;
27904   svn_opt_revision_t rev5 ;
27905   void *argp10 = 0 ;
27906   int res10 = 0 ;
27907   svn_error_t *result = 0 ;
27908   VALUE vresult = Qnil;
27909 
27910   {
27911     int adjusted_argc = argc;
27912     VALUE *adjusted_argv = argv;
27913 
27914     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
27915       &adjusted_argv);
27916     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
27917       &_global_svn_swig_rb_pool, &arg11);
27918     _global_pool = arg11;
27919     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
27920   }
27921   arg1 = &temp1;
27922   if ((argc < 8) || (argc > 10)) {
27923     rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
27924   }
27925   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
27926   if (!SWIG_IsOK(res2)) {
27927     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_export4", 2, argv[0] ));
27928   }
27929   arg2 = (char *)(buf2);
27930   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
27931   if (!SWIG_IsOK(res3)) {
27932     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_export4", 3, argv[1] ));
27933   }
27934   arg3 = (char *)(buf3);
27935   {
27936     arg4 = &rev4;
27937     svn_swig_rb_set_revision(&rev4, argv[2]);
27938   }
27939   {
27940     arg5 = &rev5;
27941     svn_swig_rb_set_revision(&rev5, argv[3]);
27942   }
27943   arg6 = RTEST(argv[4]);
27944   arg7 = RTEST(argv[5]);
27945   {
27946     arg8 = svn_swig_rb_to_depth(argv[6]);
27947   }
27948   {
27949     if (NIL_P(argv[7])) {
27950       arg9 = NULL;
27951     } else {
27952       arg9 = StringValuePtr(argv[7]);
27953     }
27954   }
27955   if (argc > 8) {
27956     res10 = SWIG_ConvertPtr(argv[8], &argp10,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
27957     if (!SWIG_IsOK(res10)) {
27958       SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_export4", 10, argv[8] ));
27959     }
27960     arg10 = (svn_client_ctx_t *)(argp10);
27961   }
27962   if (argc > 9) {
27963 
27964   }
27965   {
27966     if (!arg4) {
27967       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
27968     }
27969   }
27970   {
27971     if (!arg5) {
27972       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
27973     }
27974   }
27975   {
27976     result = (svn_error_t *)svn_client_export4(arg1,(char const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_opt_revision_t const *)arg5,arg6,arg7,arg8,(char const *)arg9,arg10,arg11);
27977 
27978 
27979 
27980   }
27981   {
27982     if (result) {
27983       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
27984       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
27985       svn_swig_rb_handle_svn_error(result);
27986     }
27987     vresult = Qnil;
27988   }
27989   if (SWIG_IsTmpObj(res1)) {
27990     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg1)));
27991   } else {
27992     int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
27993     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags));
27994   }
27995   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
27996   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
27997   {
27998     VALUE target;
27999     target = _global_vresult_address == &vresult ? self : vresult;
28000     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
28001     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28002     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28003   }
28004   return vresult;
28005 fail:
28006   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28007   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28008   {
28009     VALUE target;
28010     target = _global_vresult_address == &vresult ? self : vresult;
28011     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
28012     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28013     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28014   }
28015   return Qnil;
28016 }
28017 
28018 
28019 SWIGINTERN VALUE
_wrap_svn_client_export3(int argc,VALUE * argv,VALUE self)28020 _wrap_svn_client_export3(int argc, VALUE *argv, VALUE self) {
28021   svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
28022   char *arg2 = (char *) 0 ;
28023   char *arg3 = (char *) 0 ;
28024   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
28025   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
28026   svn_boolean_t arg6 ;
28027   svn_boolean_t arg7 ;
28028   svn_boolean_t arg8 ;
28029   char *arg9 = (char *) 0 ;
28030   svn_client_ctx_t *arg10 = (svn_client_ctx_t *) 0 ;
28031   apr_pool_t *arg11 = (apr_pool_t *) 0 ;
28032   VALUE _global_svn_swig_rb_pool ;
28033   apr_pool_t *_global_pool ;
28034   svn_revnum_t temp1 ;
28035   int res1 = SWIG_TMPOBJ ;
28036   int res2 ;
28037   char *buf2 = 0 ;
28038   int alloc2 = 0 ;
28039   int res3 ;
28040   char *buf3 = 0 ;
28041   int alloc3 = 0 ;
28042   svn_opt_revision_t rev4 ;
28043   svn_opt_revision_t rev5 ;
28044   void *argp10 = 0 ;
28045   int res10 = 0 ;
28046   svn_error_t *result = 0 ;
28047   VALUE vresult = Qnil;
28048 
28049   {
28050     int adjusted_argc = argc;
28051     VALUE *adjusted_argv = argv;
28052 
28053     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
28054       &adjusted_argv);
28055     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
28056       &_global_svn_swig_rb_pool, &arg11);
28057     _global_pool = arg11;
28058     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
28059   }
28060   arg1 = &temp1;
28061   if ((argc < 8) || (argc > 10)) {
28062     rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
28063   }
28064   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
28065   if (!SWIG_IsOK(res2)) {
28066     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_export3", 2, argv[0] ));
28067   }
28068   arg2 = (char *)(buf2);
28069   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
28070   if (!SWIG_IsOK(res3)) {
28071     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_export3", 3, argv[1] ));
28072   }
28073   arg3 = (char *)(buf3);
28074   {
28075     arg4 = &rev4;
28076     svn_swig_rb_set_revision(&rev4, argv[2]);
28077   }
28078   {
28079     arg5 = &rev5;
28080     svn_swig_rb_set_revision(&rev5, argv[3]);
28081   }
28082   arg6 = RTEST(argv[4]);
28083   arg7 = RTEST(argv[5]);
28084   arg8 = RTEST(argv[6]);
28085   {
28086     if (NIL_P(argv[7])) {
28087       arg9 = NULL;
28088     } else {
28089       arg9 = StringValuePtr(argv[7]);
28090     }
28091   }
28092   if (argc > 8) {
28093     res10 = SWIG_ConvertPtr(argv[8], &argp10,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
28094     if (!SWIG_IsOK(res10)) {
28095       SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_export3", 10, argv[8] ));
28096     }
28097     arg10 = (svn_client_ctx_t *)(argp10);
28098   }
28099   if (argc > 9) {
28100 
28101   }
28102   {
28103     if (!arg4) {
28104       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
28105     }
28106   }
28107   {
28108     if (!arg5) {
28109       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
28110     }
28111   }
28112   {
28113     result = (svn_error_t *)svn_client_export3(arg1,(char const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_opt_revision_t const *)arg5,arg6,arg7,arg8,(char const *)arg9,arg10,arg11);
28114 
28115 
28116 
28117   }
28118   {
28119     if (result) {
28120       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28121       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28122       svn_swig_rb_handle_svn_error(result);
28123     }
28124     vresult = Qnil;
28125   }
28126   if (SWIG_IsTmpObj(res1)) {
28127     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg1)));
28128   } else {
28129     int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
28130     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags));
28131   }
28132   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28133   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28134   {
28135     VALUE target;
28136     target = _global_vresult_address == &vresult ? self : vresult;
28137     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
28138     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28139     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28140   }
28141   return vresult;
28142 fail:
28143   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28144   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28145   {
28146     VALUE target;
28147     target = _global_vresult_address == &vresult ? self : vresult;
28148     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
28149     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28150     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28151   }
28152   return Qnil;
28153 }
28154 
28155 
28156 SWIGINTERN VALUE
_wrap_svn_client_export2(int argc,VALUE * argv,VALUE self)28157 _wrap_svn_client_export2(int argc, VALUE *argv, VALUE self) {
28158   svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
28159   char *arg2 = (char *) 0 ;
28160   char *arg3 = (char *) 0 ;
28161   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
28162   svn_boolean_t arg5 ;
28163   char *arg6 = (char *) 0 ;
28164   svn_client_ctx_t *arg7 = (svn_client_ctx_t *) 0 ;
28165   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
28166   VALUE _global_svn_swig_rb_pool ;
28167   apr_pool_t *_global_pool ;
28168   svn_revnum_t temp1 ;
28169   int res1 = SWIG_TMPOBJ ;
28170   int res2 ;
28171   char *buf2 = 0 ;
28172   int alloc2 = 0 ;
28173   int res3 ;
28174   char *buf3 = 0 ;
28175   int alloc3 = 0 ;
28176   svn_opt_revision_t rev4 ;
28177   void *argp7 = 0 ;
28178   int res7 = 0 ;
28179   svn_error_t *result = 0 ;
28180   VALUE vresult = Qnil;
28181 
28182   {
28183     int adjusted_argc = argc;
28184     VALUE *adjusted_argv = argv;
28185 
28186     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
28187       &adjusted_argv);
28188     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
28189       &_global_svn_swig_rb_pool, &arg8);
28190     _global_pool = arg8;
28191     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
28192   }
28193   arg1 = &temp1;
28194   if ((argc < 5) || (argc > 7)) {
28195     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
28196   }
28197   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
28198   if (!SWIG_IsOK(res2)) {
28199     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_export2", 2, argv[0] ));
28200   }
28201   arg2 = (char *)(buf2);
28202   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
28203   if (!SWIG_IsOK(res3)) {
28204     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_export2", 3, argv[1] ));
28205   }
28206   arg3 = (char *)(buf3);
28207   {
28208     arg4 = &rev4;
28209     svn_swig_rb_set_revision(&rev4, argv[2]);
28210   }
28211   arg5 = RTEST(argv[3]);
28212   {
28213     if (NIL_P(argv[4])) {
28214       arg6 = NULL;
28215     } else {
28216       arg6 = StringValuePtr(argv[4]);
28217     }
28218   }
28219   if (argc > 5) {
28220     res7 = SWIG_ConvertPtr(argv[5], &argp7,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
28221     if (!SWIG_IsOK(res7)) {
28222       SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_export2", 7, argv[5] ));
28223     }
28224     arg7 = (svn_client_ctx_t *)(argp7);
28225   }
28226   if (argc > 6) {
28227 
28228   }
28229   {
28230     result = (svn_error_t *)svn_client_export2(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,(char const *)arg6,arg7,arg8);
28231 
28232 
28233 
28234   }
28235   {
28236     if (result) {
28237       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28238       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28239       svn_swig_rb_handle_svn_error(result);
28240     }
28241     vresult = Qnil;
28242   }
28243   if (SWIG_IsTmpObj(res1)) {
28244     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg1)));
28245   } else {
28246     int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
28247     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags));
28248   }
28249   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28250   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28251   {
28252     VALUE target;
28253     target = _global_vresult_address == &vresult ? self : vresult;
28254     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
28255     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28256     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28257   }
28258   return vresult;
28259 fail:
28260   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28261   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28262   {
28263     VALUE target;
28264     target = _global_vresult_address == &vresult ? self : vresult;
28265     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
28266     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28267     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28268   }
28269   return Qnil;
28270 }
28271 
28272 
28273 SWIGINTERN VALUE
_wrap_svn_client_export(int argc,VALUE * argv,VALUE self)28274 _wrap_svn_client_export(int argc, VALUE *argv, VALUE self) {
28275   svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
28276   char *arg2 = (char *) 0 ;
28277   char *arg3 = (char *) 0 ;
28278   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
28279   svn_boolean_t arg5 ;
28280   svn_client_ctx_t *arg6 = (svn_client_ctx_t *) 0 ;
28281   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
28282   VALUE _global_svn_swig_rb_pool ;
28283   apr_pool_t *_global_pool ;
28284   svn_revnum_t temp1 ;
28285   int res1 = SWIG_TMPOBJ ;
28286   int res2 ;
28287   char *buf2 = 0 ;
28288   int alloc2 = 0 ;
28289   int res3 ;
28290   char *buf3 = 0 ;
28291   int alloc3 = 0 ;
28292   svn_opt_revision_t rev4 ;
28293   void *argp6 = 0 ;
28294   int res6 = 0 ;
28295   svn_error_t *result = 0 ;
28296   VALUE vresult = Qnil;
28297 
28298   {
28299     int adjusted_argc = argc;
28300     VALUE *adjusted_argv = argv;
28301 
28302     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
28303       &adjusted_argv);
28304     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
28305       &_global_svn_swig_rb_pool, &arg7);
28306     _global_pool = arg7;
28307     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
28308   }
28309   arg1 = &temp1;
28310   if ((argc < 4) || (argc > 6)) {
28311     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
28312   }
28313   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
28314   if (!SWIG_IsOK(res2)) {
28315     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_export", 2, argv[0] ));
28316   }
28317   arg2 = (char *)(buf2);
28318   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
28319   if (!SWIG_IsOK(res3)) {
28320     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_export", 3, argv[1] ));
28321   }
28322   arg3 = (char *)(buf3);
28323   {
28324     arg4 = &rev4;
28325     svn_swig_rb_set_revision(&rev4, argv[2]);
28326   }
28327   arg5 = RTEST(argv[3]);
28328   if (argc > 4) {
28329     res6 = SWIG_ConvertPtr(argv[4], &argp6,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
28330     if (!SWIG_IsOK(res6)) {
28331       SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_export", 6, argv[4] ));
28332     }
28333     arg6 = (svn_client_ctx_t *)(argp6);
28334   }
28335   if (argc > 5) {
28336 
28337   }
28338   {
28339     result = (svn_error_t *)svn_client_export(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7);
28340 
28341 
28342 
28343   }
28344   {
28345     if (result) {
28346       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28347       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28348       svn_swig_rb_handle_svn_error(result);
28349     }
28350     vresult = Qnil;
28351   }
28352   if (SWIG_IsTmpObj(res1)) {
28353     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg1)));
28354   } else {
28355     int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
28356     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags));
28357   }
28358   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28359   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28360   {
28361     VALUE target;
28362     target = _global_vresult_address == &vresult ? self : vresult;
28363     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
28364     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28365     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28366   }
28367   return vresult;
28368 fail:
28369   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28370   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28371   {
28372     VALUE target;
28373     target = _global_vresult_address == &vresult ? self : vresult;
28374     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
28375     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28376     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28377   }
28378   return Qnil;
28379 }
28380 
28381 
28382 SWIGINTERN VALUE
_wrap_svn_client_list4(int argc,VALUE * argv,VALUE self)28383 _wrap_svn_client_list4(int argc, VALUE *argv, VALUE self) {
28384   char *arg1 = (char *) 0 ;
28385   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
28386   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
28387   apr_array_header_t *arg4 = (apr_array_header_t *) 0 ;
28388   svn_depth_t arg5 ;
28389   apr_uint32_t arg6 ;
28390   svn_boolean_t arg7 ;
28391   svn_boolean_t arg8 ;
28392   svn_client_list_func2_t arg9 = (svn_client_list_func2_t) 0 ;
28393   void *arg10 = (void *) 0 ;
28394   svn_client_ctx_t *arg11 = (svn_client_ctx_t *) 0 ;
28395   apr_pool_t *arg12 = (apr_pool_t *) 0 ;
28396   VALUE _global_svn_swig_rb_pool ;
28397   apr_pool_t *_global_pool ;
28398   int res1 ;
28399   char *buf1 = 0 ;
28400   int alloc1 = 0 ;
28401   svn_opt_revision_t rev2 ;
28402   svn_opt_revision_t rev3 ;
28403   void *argp4 = 0 ;
28404   int res4 = 0 ;
28405   unsigned long val6 ;
28406   int ecode6 = 0 ;
28407   int res10 ;
28408   void *argp11 = 0 ;
28409   int res11 = 0 ;
28410   svn_error_t *result = 0 ;
28411   VALUE vresult = Qnil;
28412 
28413   {
28414     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg12);
28415     _global_pool = arg12;
28416     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
28417   }
28418   if ((argc < 11) || (argc > 12)) {
28419     rb_raise(rb_eArgError, "wrong # of arguments(%d for 11)",argc); SWIG_fail;
28420   }
28421   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
28422   if (!SWIG_IsOK(res1)) {
28423     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_list4", 1, argv[0] ));
28424   }
28425   arg1 = (char *)(buf1);
28426   {
28427     arg2 = &rev2;
28428     svn_swig_rb_set_revision(&rev2, argv[1]);
28429   }
28430   {
28431     arg3 = &rev3;
28432     svn_swig_rb_set_revision(&rev3, argv[2]);
28433   }
28434   res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_apr_array_header_t, 0 |  0 );
28435   if (!SWIG_IsOK(res4)) {
28436     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "apr_array_header_t const *","svn_client_list4", 4, argv[3] ));
28437   }
28438   arg4 = (apr_array_header_t *)(argp4);
28439   {
28440     arg5 = svn_swig_rb_to_depth(argv[4]);
28441   }
28442   ecode6 = SWIG_AsVal_unsigned_SS_long(argv[5], &val6);
28443   if (!SWIG_IsOK(ecode6)) {
28444     SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "apr_uint32_t","svn_client_list4", 6, argv[5] ));
28445   }
28446   arg6 = (apr_uint32_t)(val6);
28447   arg7 = RTEST(argv[6]);
28448   arg8 = RTEST(argv[7]);
28449   {
28450     int res = SWIG_ConvertFunctionPtr(argv[8], (void**)(&arg9), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_dirent_t_p_q_const__svn_lock_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t);
28451     if (!SWIG_IsOK(res)) {
28452       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_list_func2_t","svn_client_list4", 9, argv[8] ));
28453     }
28454   }
28455   res10 = SWIG_ConvertPtr(argv[9],SWIG_as_voidptrptr(&arg10), 0, 0);
28456   if (!SWIG_IsOK(res10)) {
28457     SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "void *","svn_client_list4", 10, argv[9] ));
28458   }
28459   res11 = SWIG_ConvertPtr(argv[10], &argp11,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
28460   if (!SWIG_IsOK(res11)) {
28461     SWIG_exception_fail(SWIG_ArgError(res11), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_list4", 11, argv[10] ));
28462   }
28463   arg11 = (svn_client_ctx_t *)(argp11);
28464   if (argc > 11) {
28465 
28466   }
28467   {
28468     if (!arg2) {
28469       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
28470     }
28471   }
28472   {
28473     if (!arg3) {
28474       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
28475     }
28476   }
28477   {
28478     result = (svn_error_t *)svn_client_list4((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,(apr_array_header_t const *)arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
28479 
28480 
28481 
28482   }
28483   {
28484     if (result) {
28485       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28486       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28487       svn_swig_rb_handle_svn_error(result);
28488     }
28489     vresult = Qnil;
28490   }
28491   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
28492   {
28493     VALUE target;
28494     target = _global_vresult_address == &vresult ? self : vresult;
28495     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
28496     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28497     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28498   }
28499   return vresult;
28500 fail:
28501   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
28502   {
28503     VALUE target;
28504     target = _global_vresult_address == &vresult ? self : vresult;
28505     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
28506     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28507     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28508   }
28509   return Qnil;
28510 }
28511 
28512 
28513 SWIGINTERN VALUE
_wrap_svn_client_list3(int argc,VALUE * argv,VALUE self)28514 _wrap_svn_client_list3(int argc, VALUE *argv, VALUE self) {
28515   char *arg1 = (char *) 0 ;
28516   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
28517   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
28518   svn_depth_t arg4 ;
28519   apr_uint32_t arg5 ;
28520   svn_boolean_t arg6 ;
28521   svn_boolean_t arg7 ;
28522   svn_client_list_func2_t arg8 = (svn_client_list_func2_t) 0 ;
28523   void *arg9 = (void *) 0 ;
28524   svn_client_ctx_t *arg10 = (svn_client_ctx_t *) 0 ;
28525   apr_pool_t *arg11 = (apr_pool_t *) 0 ;
28526   VALUE _global_svn_swig_rb_pool ;
28527   apr_pool_t *_global_pool ;
28528   int res1 ;
28529   char *buf1 = 0 ;
28530   int alloc1 = 0 ;
28531   svn_opt_revision_t rev2 ;
28532   svn_opt_revision_t rev3 ;
28533   unsigned long val5 ;
28534   int ecode5 = 0 ;
28535   int res9 ;
28536   void *argp10 = 0 ;
28537   int res10 = 0 ;
28538   svn_error_t *result = 0 ;
28539   VALUE vresult = Qnil;
28540 
28541   {
28542     int adjusted_argc = argc;
28543     VALUE *adjusted_argv = argv;
28544 
28545     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
28546       &adjusted_argv);
28547     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
28548       &_global_svn_swig_rb_pool, &arg11);
28549     _global_pool = arg11;
28550     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
28551   }
28552   if ((argc < 9) || (argc > 11)) {
28553     rb_raise(rb_eArgError, "wrong # of arguments(%d for 9)",argc); SWIG_fail;
28554   }
28555   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
28556   if (!SWIG_IsOK(res1)) {
28557     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_list3", 1, argv[0] ));
28558   }
28559   arg1 = (char *)(buf1);
28560   {
28561     arg2 = &rev2;
28562     svn_swig_rb_set_revision(&rev2, argv[1]);
28563   }
28564   {
28565     arg3 = &rev3;
28566     svn_swig_rb_set_revision(&rev3, argv[2]);
28567   }
28568   {
28569     arg4 = svn_swig_rb_to_depth(argv[3]);
28570   }
28571   ecode5 = SWIG_AsVal_unsigned_SS_long(argv[4], &val5);
28572   if (!SWIG_IsOK(ecode5)) {
28573     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "apr_uint32_t","svn_client_list3", 5, argv[4] ));
28574   }
28575   arg5 = (apr_uint32_t)(val5);
28576   arg6 = RTEST(argv[5]);
28577   arg7 = RTEST(argv[6]);
28578   {
28579     int res = SWIG_ConvertFunctionPtr(argv[7], (void**)(&arg8), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_dirent_t_p_q_const__svn_lock_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t);
28580     if (!SWIG_IsOK(res)) {
28581       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_list_func2_t","svn_client_list3", 8, argv[7] ));
28582     }
28583   }
28584   res9 = SWIG_ConvertPtr(argv[8],SWIG_as_voidptrptr(&arg9), 0, 0);
28585   if (!SWIG_IsOK(res9)) {
28586     SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "void *","svn_client_list3", 9, argv[8] ));
28587   }
28588   if (argc > 9) {
28589     res10 = SWIG_ConvertPtr(argv[9], &argp10,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
28590     if (!SWIG_IsOK(res10)) {
28591       SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_list3", 10, argv[9] ));
28592     }
28593     arg10 = (svn_client_ctx_t *)(argp10);
28594   }
28595   if (argc > 10) {
28596 
28597   }
28598   {
28599     if (!arg2) {
28600       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
28601     }
28602   }
28603   {
28604     if (!arg3) {
28605       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
28606     }
28607   }
28608   {
28609     result = (svn_error_t *)svn_client_list3((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
28610 
28611 
28612 
28613   }
28614   {
28615     if (result) {
28616       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28617       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28618       svn_swig_rb_handle_svn_error(result);
28619     }
28620     vresult = Qnil;
28621   }
28622   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
28623   {
28624     VALUE target;
28625     target = _global_vresult_address == &vresult ? self : vresult;
28626     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
28627     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28628     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28629   }
28630   return vresult;
28631 fail:
28632   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
28633   {
28634     VALUE target;
28635     target = _global_vresult_address == &vresult ? self : vresult;
28636     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
28637     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28638     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28639   }
28640   return Qnil;
28641 }
28642 
28643 
28644 SWIGINTERN VALUE
_wrap_svn_client_list2(int argc,VALUE * argv,VALUE self)28645 _wrap_svn_client_list2(int argc, VALUE *argv, VALUE self) {
28646   char *arg1 = (char *) 0 ;
28647   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
28648   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
28649   svn_depth_t arg4 ;
28650   apr_uint32_t arg5 ;
28651   svn_boolean_t arg6 ;
28652   svn_client_list_func_t arg7 = (svn_client_list_func_t) 0 ;
28653   void *arg8 = (void *) 0 ;
28654   svn_client_ctx_t *arg9 = (svn_client_ctx_t *) 0 ;
28655   apr_pool_t *arg10 = (apr_pool_t *) 0 ;
28656   VALUE _global_svn_swig_rb_pool ;
28657   apr_pool_t *_global_pool ;
28658   int res1 ;
28659   char *buf1 = 0 ;
28660   int alloc1 = 0 ;
28661   svn_opt_revision_t rev2 ;
28662   svn_opt_revision_t rev3 ;
28663   unsigned long val5 ;
28664   int ecode5 = 0 ;
28665   void *argp9 = 0 ;
28666   int res9 = 0 ;
28667   svn_error_t *result = 0 ;
28668   VALUE vresult = Qnil;
28669 
28670   {
28671     int adjusted_argc = argc;
28672     VALUE *adjusted_argv = argv;
28673 
28674     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
28675       &adjusted_argv);
28676     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
28677       &_global_svn_swig_rb_pool, &arg10);
28678     _global_pool = arg10;
28679     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
28680   }
28681   if ((argc < 7) || (argc > 9)) {
28682     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
28683   }
28684   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
28685   if (!SWIG_IsOK(res1)) {
28686     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_list2", 1, argv[0] ));
28687   }
28688   arg1 = (char *)(buf1);
28689   {
28690     arg2 = &rev2;
28691     svn_swig_rb_set_revision(&rev2, argv[1]);
28692   }
28693   {
28694     arg3 = &rev3;
28695     svn_swig_rb_set_revision(&rev3, argv[2]);
28696   }
28697   {
28698     arg4 = svn_swig_rb_to_depth(argv[3]);
28699   }
28700   ecode5 = SWIG_AsVal_unsigned_SS_long(argv[4], &val5);
28701   if (!SWIG_IsOK(ecode5)) {
28702     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "apr_uint32_t","svn_client_list2", 5, argv[4] ));
28703   }
28704   arg5 = (apr_uint32_t)(val5);
28705   arg6 = RTEST(argv[5]);
28706   {
28707     arg7 = (svn_client_list_func_t) svn_swig_rb_client_list_func;
28708     arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
28709   }
28710   if (argc > 7) {
28711     res9 = SWIG_ConvertPtr(argv[7], &argp9,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
28712     if (!SWIG_IsOK(res9)) {
28713       SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_list2", 9, argv[7] ));
28714     }
28715     arg9 = (svn_client_ctx_t *)(argp9);
28716   }
28717   if (argc > 8) {
28718 
28719   }
28720   {
28721     if (!arg2) {
28722       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
28723     }
28724   }
28725   {
28726     if (!arg3) {
28727       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
28728     }
28729   }
28730   {
28731     result = (svn_error_t *)svn_client_list2((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
28732 
28733 
28734 
28735   }
28736   {
28737     if (result) {
28738       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28739       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28740       svn_swig_rb_handle_svn_error(result);
28741     }
28742     vresult = Qnil;
28743   }
28744   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
28745   {
28746     VALUE target;
28747     target = _global_vresult_address == &vresult ? self : vresult;
28748     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
28749     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28750     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28751   }
28752   return vresult;
28753 fail:
28754   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
28755   {
28756     VALUE target;
28757     target = _global_vresult_address == &vresult ? self : vresult;
28758     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
28759     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28760     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28761   }
28762   return Qnil;
28763 }
28764 
28765 
28766 SWIGINTERN VALUE
_wrap_svn_client_list(int argc,VALUE * argv,VALUE self)28767 _wrap_svn_client_list(int argc, VALUE *argv, VALUE self) {
28768   char *arg1 = (char *) 0 ;
28769   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
28770   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
28771   svn_boolean_t arg4 ;
28772   apr_uint32_t arg5 ;
28773   svn_boolean_t arg6 ;
28774   svn_client_list_func_t arg7 = (svn_client_list_func_t) 0 ;
28775   void *arg8 = (void *) 0 ;
28776   svn_client_ctx_t *arg9 = (svn_client_ctx_t *) 0 ;
28777   apr_pool_t *arg10 = (apr_pool_t *) 0 ;
28778   VALUE _global_svn_swig_rb_pool ;
28779   apr_pool_t *_global_pool ;
28780   int res1 ;
28781   char *buf1 = 0 ;
28782   int alloc1 = 0 ;
28783   svn_opt_revision_t rev2 ;
28784   svn_opt_revision_t rev3 ;
28785   unsigned long val5 ;
28786   int ecode5 = 0 ;
28787   void *argp9 = 0 ;
28788   int res9 = 0 ;
28789   svn_error_t *result = 0 ;
28790   VALUE vresult = Qnil;
28791 
28792   {
28793     int adjusted_argc = argc;
28794     VALUE *adjusted_argv = argv;
28795 
28796     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
28797       &adjusted_argv);
28798     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
28799       &_global_svn_swig_rb_pool, &arg10);
28800     _global_pool = arg10;
28801     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
28802   }
28803   if ((argc < 7) || (argc > 9)) {
28804     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
28805   }
28806   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
28807   if (!SWIG_IsOK(res1)) {
28808     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_list", 1, argv[0] ));
28809   }
28810   arg1 = (char *)(buf1);
28811   {
28812     arg2 = &rev2;
28813     svn_swig_rb_set_revision(&rev2, argv[1]);
28814   }
28815   {
28816     arg3 = &rev3;
28817     svn_swig_rb_set_revision(&rev3, argv[2]);
28818   }
28819   arg4 = RTEST(argv[3]);
28820   ecode5 = SWIG_AsVal_unsigned_SS_long(argv[4], &val5);
28821   if (!SWIG_IsOK(ecode5)) {
28822     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "apr_uint32_t","svn_client_list", 5, argv[4] ));
28823   }
28824   arg5 = (apr_uint32_t)(val5);
28825   arg6 = RTEST(argv[5]);
28826   {
28827     arg7 = (svn_client_list_func_t) svn_swig_rb_client_list_func;
28828     arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
28829   }
28830   if (argc > 7) {
28831     res9 = SWIG_ConvertPtr(argv[7], &argp9,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
28832     if (!SWIG_IsOK(res9)) {
28833       SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_list", 9, argv[7] ));
28834     }
28835     arg9 = (svn_client_ctx_t *)(argp9);
28836   }
28837   if (argc > 8) {
28838 
28839   }
28840   {
28841     if (!arg2) {
28842       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
28843     }
28844   }
28845   {
28846     if (!arg3) {
28847       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
28848     }
28849   }
28850   {
28851     result = (svn_error_t *)svn_client_list((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
28852 
28853 
28854 
28855   }
28856   {
28857     if (result) {
28858       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28859       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28860       svn_swig_rb_handle_svn_error(result);
28861     }
28862     vresult = Qnil;
28863   }
28864   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
28865   {
28866     VALUE target;
28867     target = _global_vresult_address == &vresult ? self : vresult;
28868     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
28869     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28870     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28871   }
28872   return vresult;
28873 fail:
28874   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
28875   {
28876     VALUE target;
28877     target = _global_vresult_address == &vresult ? self : vresult;
28878     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
28879     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28880     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28881   }
28882   return Qnil;
28883 }
28884 
28885 
28886 SWIGINTERN VALUE
_wrap_svn_client_ls3(int argc,VALUE * argv,VALUE self)28887 _wrap_svn_client_ls3(int argc, VALUE *argv, VALUE self) {
28888   apr_hash_t **arg1 = (apr_hash_t **) 0 ;
28889   apr_hash_t **arg2 = (apr_hash_t **) 0 ;
28890   char *arg3 = (char *) 0 ;
28891   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
28892   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
28893   svn_boolean_t arg6 ;
28894   svn_client_ctx_t *arg7 = (svn_client_ctx_t *) 0 ;
28895   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
28896   VALUE _global_svn_swig_rb_pool ;
28897   apr_pool_t *_global_pool ;
28898   apr_hash_t *temp1 ;
28899   apr_hash_t *temp2 ;
28900   int res3 ;
28901   char *buf3 = 0 ;
28902   int alloc3 = 0 ;
28903   svn_opt_revision_t rev4 ;
28904   svn_opt_revision_t rev5 ;
28905   void *argp7 = 0 ;
28906   int res7 = 0 ;
28907   svn_error_t *result = 0 ;
28908   VALUE vresult = Qnil;
28909 
28910   {
28911     int adjusted_argc = argc;
28912     VALUE *adjusted_argv = argv;
28913 
28914     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
28915       &adjusted_argv);
28916     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
28917       &_global_svn_swig_rb_pool, &arg8);
28918     _global_pool = arg8;
28919     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
28920   }
28921   arg1 = &temp1;
28922   arg2 = &temp2;
28923   if ((argc < 4) || (argc > 6)) {
28924     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
28925   }
28926   res3 = SWIG_AsCharPtrAndSize(argv[0], &buf3, NULL, &alloc3);
28927   if (!SWIG_IsOK(res3)) {
28928     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_ls3", 3, argv[0] ));
28929   }
28930   arg3 = (char *)(buf3);
28931   {
28932     arg4 = &rev4;
28933     svn_swig_rb_set_revision(&rev4, argv[1]);
28934   }
28935   {
28936     arg5 = &rev5;
28937     svn_swig_rb_set_revision(&rev5, argv[2]);
28938   }
28939   arg6 = RTEST(argv[3]);
28940   if (argc > 4) {
28941     res7 = SWIG_ConvertPtr(argv[4], &argp7,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
28942     if (!SWIG_IsOK(res7)) {
28943       SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_ls3", 7, argv[4] ));
28944     }
28945     arg7 = (svn_client_ctx_t *)(argp7);
28946   }
28947   if (argc > 5) {
28948 
28949   }
28950   {
28951     if (!arg4) {
28952       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
28953     }
28954   }
28955   {
28956     if (!arg5) {
28957       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
28958     }
28959   }
28960   {
28961     result = (svn_error_t *)svn_client_ls3(arg1,arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_opt_revision_t const *)arg5,arg6,arg7,arg8);
28962 
28963 
28964 
28965   }
28966   {
28967     if (result) {
28968       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28969       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28970       svn_swig_rb_handle_svn_error(result);
28971     }
28972     vresult = Qnil;
28973   }
28974   {
28975     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_swig_type(*arg1,
28976         "svn_dirent_t *"))
28977 
28978     ;
28979   }
28980   {
28981     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_swig_type(*arg2,
28982         "svn_lock_t *"))
28983 
28984     ;
28985   }
28986   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28987   {
28988     VALUE target;
28989     target = _global_vresult_address == &vresult ? self : vresult;
28990     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
28991     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
28992     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
28993   }
28994   return vresult;
28995 fail:
28996   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28997   {
28998     VALUE target;
28999     target = _global_vresult_address == &vresult ? self : vresult;
29000     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
29001     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29002     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29003   }
29004   return Qnil;
29005 }
29006 
29007 
29008 SWIGINTERN VALUE
_wrap_svn_client_ls2(int argc,VALUE * argv,VALUE self)29009 _wrap_svn_client_ls2(int argc, VALUE *argv, VALUE self) {
29010   apr_hash_t **arg1 = (apr_hash_t **) 0 ;
29011   char *arg2 = (char *) 0 ;
29012   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
29013   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
29014   svn_boolean_t arg5 ;
29015   svn_client_ctx_t *arg6 = (svn_client_ctx_t *) 0 ;
29016   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
29017   VALUE _global_svn_swig_rb_pool ;
29018   apr_pool_t *_global_pool ;
29019   apr_hash_t *temp1 ;
29020   int res2 ;
29021   char *buf2 = 0 ;
29022   int alloc2 = 0 ;
29023   svn_opt_revision_t rev3 ;
29024   svn_opt_revision_t rev4 ;
29025   void *argp6 = 0 ;
29026   int res6 = 0 ;
29027   svn_error_t *result = 0 ;
29028   VALUE vresult = Qnil;
29029 
29030   {
29031     int adjusted_argc = argc;
29032     VALUE *adjusted_argv = argv;
29033 
29034     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
29035       &adjusted_argv);
29036     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
29037       &_global_svn_swig_rb_pool, &arg7);
29038     _global_pool = arg7;
29039     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
29040   }
29041   arg1 = &temp1;
29042   if ((argc < 4) || (argc > 6)) {
29043     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
29044   }
29045   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
29046   if (!SWIG_IsOK(res2)) {
29047     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_ls2", 2, argv[0] ));
29048   }
29049   arg2 = (char *)(buf2);
29050   {
29051     arg3 = &rev3;
29052     svn_swig_rb_set_revision(&rev3, argv[1]);
29053   }
29054   {
29055     arg4 = &rev4;
29056     svn_swig_rb_set_revision(&rev4, argv[2]);
29057   }
29058   arg5 = RTEST(argv[3]);
29059   if (argc > 4) {
29060     res6 = SWIG_ConvertPtr(argv[4], &argp6,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
29061     if (!SWIG_IsOK(res6)) {
29062       SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_ls2", 6, argv[4] ));
29063     }
29064     arg6 = (svn_client_ctx_t *)(argp6);
29065   }
29066   if (argc > 5) {
29067 
29068   }
29069   {
29070     if (!arg3) {
29071       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
29072     }
29073   }
29074   {
29075     if (!arg4) {
29076       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
29077     }
29078   }
29079   {
29080     result = (svn_error_t *)svn_client_ls2(arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,(struct svn_opt_revision_t const *)arg4,arg5,arg6,arg7);
29081 
29082 
29083 
29084   }
29085   {
29086     if (result) {
29087       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29088       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29089       svn_swig_rb_handle_svn_error(result);
29090     }
29091     vresult = Qnil;
29092   }
29093   {
29094     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_swig_type(*arg1,
29095         "svn_dirent_t *"))
29096 
29097     ;
29098   }
29099   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
29100   {
29101     VALUE target;
29102     target = _global_vresult_address == &vresult ? self : vresult;
29103     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
29104     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29105     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29106   }
29107   return vresult;
29108 fail:
29109   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
29110   {
29111     VALUE target;
29112     target = _global_vresult_address == &vresult ? self : vresult;
29113     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
29114     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29115     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29116   }
29117   return Qnil;
29118 }
29119 
29120 
29121 SWIGINTERN VALUE
_wrap_svn_client_ls(int argc,VALUE * argv,VALUE self)29122 _wrap_svn_client_ls(int argc, VALUE *argv, VALUE self) {
29123   apr_hash_t **arg1 = (apr_hash_t **) 0 ;
29124   char *arg2 = (char *) 0 ;
29125   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
29126   svn_boolean_t arg4 ;
29127   svn_client_ctx_t *arg5 = (svn_client_ctx_t *) 0 ;
29128   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
29129   VALUE _global_svn_swig_rb_pool ;
29130   apr_pool_t *_global_pool ;
29131   apr_hash_t *temp1 ;
29132   int res2 ;
29133   char *buf2 = 0 ;
29134   int alloc2 = 0 ;
29135   svn_opt_revision_t rev3 ;
29136   void *argp5 = 0 ;
29137   int res5 = 0 ;
29138   svn_error_t *result = 0 ;
29139   VALUE vresult = Qnil;
29140 
29141   {
29142     int adjusted_argc = argc;
29143     VALUE *adjusted_argv = argv;
29144 
29145     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
29146       &adjusted_argv);
29147     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
29148       &_global_svn_swig_rb_pool, &arg6);
29149     _global_pool = arg6;
29150     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
29151   }
29152   arg1 = &temp1;
29153   if ((argc < 3) || (argc > 5)) {
29154     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
29155   }
29156   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
29157   if (!SWIG_IsOK(res2)) {
29158     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_ls", 2, argv[0] ));
29159   }
29160   arg2 = (char *)(buf2);
29161   {
29162     arg3 = &rev3;
29163     svn_swig_rb_set_revision(&rev3, argv[1]);
29164   }
29165   arg4 = RTEST(argv[2]);
29166   if (argc > 3) {
29167     res5 = SWIG_ConvertPtr(argv[3], &argp5,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
29168     if (!SWIG_IsOK(res5)) {
29169       SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_ls", 5, argv[3] ));
29170     }
29171     arg5 = (svn_client_ctx_t *)(argp5);
29172   }
29173   if (argc > 4) {
29174 
29175   }
29176   {
29177     result = (svn_error_t *)svn_client_ls(arg1,(char const *)arg2,arg3,arg4,arg5,arg6);
29178 
29179 
29180 
29181   }
29182   {
29183     if (result) {
29184       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29185       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29186       svn_swig_rb_handle_svn_error(result);
29187     }
29188     vresult = Qnil;
29189   }
29190   {
29191     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_swig_type(*arg1,
29192         "svn_dirent_t *"))
29193 
29194     ;
29195   }
29196   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
29197   {
29198     VALUE target;
29199     target = _global_vresult_address == &vresult ? self : vresult;
29200     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
29201     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29202     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29203   }
29204   return vresult;
29205 fail:
29206   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
29207   {
29208     VALUE target;
29209     target = _global_vresult_address == &vresult ? self : vresult;
29210     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
29211     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29212     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29213   }
29214   return Qnil;
29215 }
29216 
29217 
29218 SWIGINTERN VALUE
_wrap_svn_client_cat3(int argc,VALUE * argv,VALUE self)29219 _wrap_svn_client_cat3(int argc, VALUE *argv, VALUE self) {
29220   apr_hash_t **arg1 = (apr_hash_t **) 0 ;
29221   svn_stream_t *arg2 = (svn_stream_t *) 0 ;
29222   char *arg3 = (char *) 0 ;
29223   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
29224   svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
29225   svn_boolean_t arg6 ;
29226   svn_client_ctx_t *arg7 = (svn_client_ctx_t *) 0 ;
29227   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
29228   apr_pool_t *arg9 = (apr_pool_t *) 0 ;
29229   VALUE _global_svn_swig_rb_pool ;
29230   apr_pool_t *_global_pool ;
29231   apr_hash_t *temp1 ;
29232   int res3 ;
29233   char *buf3 = 0 ;
29234   int alloc3 = 0 ;
29235   svn_opt_revision_t rev4 ;
29236   svn_opt_revision_t rev5 ;
29237   void *argp7 = 0 ;
29238   int res7 = 0 ;
29239   svn_error_t *result = 0 ;
29240   VALUE vresult = Qnil;
29241 
29242   {
29243     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8);
29244     _global_pool = arg8;
29245     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
29246   }
29247   {
29248     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg9);
29249     _global_pool = arg9;
29250     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
29251   }
29252   arg1 = &temp1;
29253   if ((argc < 6) || (argc > 8)) {
29254     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
29255   }
29256   {
29257     arg2 = svn_swig_rb_make_stream(argv[0]);
29258   }
29259   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
29260   if (!SWIG_IsOK(res3)) {
29261     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_cat3", 3, argv[1] ));
29262   }
29263   arg3 = (char *)(buf3);
29264   {
29265     arg4 = &rev4;
29266     svn_swig_rb_set_revision(&rev4, argv[2]);
29267   }
29268   {
29269     arg5 = &rev5;
29270     svn_swig_rb_set_revision(&rev5, argv[3]);
29271   }
29272   arg6 = RTEST(argv[4]);
29273   res7 = SWIG_ConvertPtr(argv[5], &argp7,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
29274   if (!SWIG_IsOK(res7)) {
29275     SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_cat3", 7, argv[5] ));
29276   }
29277   arg7 = (svn_client_ctx_t *)(argp7);
29278   if (argc > 6) {
29279 
29280   }
29281   if (argc > 7) {
29282 
29283   }
29284   {
29285     if (!arg4) {
29286       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
29287     }
29288   }
29289   {
29290     if (!arg5) {
29291       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
29292     }
29293   }
29294   {
29295     result = (svn_error_t *)svn_client_cat3(arg1,arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_opt_revision_t const *)arg5,arg6,arg7,arg8,arg9);
29296 
29297 
29298 
29299   }
29300   {
29301     if (result) {
29302       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29303       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29304       svn_swig_rb_handle_svn_error(result);
29305     }
29306     vresult = Qnil;
29307   }
29308   {
29309     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_svn_string(*arg1));
29310   }
29311   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
29312   {
29313     VALUE target;
29314     target = _global_vresult_address == &vresult ? self : vresult;
29315     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
29316     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29317     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29318   }
29319   {
29320     VALUE target;
29321     target = _global_vresult_address == &vresult ? self : vresult;
29322     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
29323     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29324     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29325   }
29326   return vresult;
29327 fail:
29328   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
29329   {
29330     VALUE target;
29331     target = _global_vresult_address == &vresult ? self : vresult;
29332     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
29333     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29334     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29335   }
29336   {
29337     VALUE target;
29338     target = _global_vresult_address == &vresult ? self : vresult;
29339     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
29340     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29341     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29342   }
29343   return Qnil;
29344 }
29345 
29346 
29347 SWIGINTERN VALUE
_wrap_svn_client_cat2(int argc,VALUE * argv,VALUE self)29348 _wrap_svn_client_cat2(int argc, VALUE *argv, VALUE self) {
29349   svn_stream_t *arg1 = (svn_stream_t *) 0 ;
29350   char *arg2 = (char *) 0 ;
29351   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
29352   svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
29353   svn_client_ctx_t *arg5 = (svn_client_ctx_t *) 0 ;
29354   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
29355   VALUE _global_svn_swig_rb_pool ;
29356   apr_pool_t *_global_pool ;
29357   int res2 ;
29358   char *buf2 = 0 ;
29359   int alloc2 = 0 ;
29360   svn_opt_revision_t rev3 ;
29361   svn_opt_revision_t rev4 ;
29362   void *argp5 = 0 ;
29363   int res5 = 0 ;
29364   svn_error_t *result = 0 ;
29365   VALUE vresult = Qnil;
29366 
29367   {
29368     int adjusted_argc = argc;
29369     VALUE *adjusted_argv = argv;
29370 
29371     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
29372       &adjusted_argv);
29373     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
29374       &_global_svn_swig_rb_pool, &arg6);
29375     _global_pool = arg6;
29376     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
29377   }
29378   if ((argc < 4) || (argc > 6)) {
29379     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
29380   }
29381   {
29382     arg1 = svn_swig_rb_make_stream(argv[0]);
29383   }
29384   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
29385   if (!SWIG_IsOK(res2)) {
29386     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_cat2", 2, argv[1] ));
29387   }
29388   arg2 = (char *)(buf2);
29389   {
29390     arg3 = &rev3;
29391     svn_swig_rb_set_revision(&rev3, argv[2]);
29392   }
29393   {
29394     arg4 = &rev4;
29395     svn_swig_rb_set_revision(&rev4, argv[3]);
29396   }
29397   if (argc > 4) {
29398     res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
29399     if (!SWIG_IsOK(res5)) {
29400       SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_cat2", 5, argv[4] ));
29401     }
29402     arg5 = (svn_client_ctx_t *)(argp5);
29403   }
29404   if (argc > 5) {
29405 
29406   }
29407   {
29408     if (!arg3) {
29409       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
29410     }
29411   }
29412   {
29413     if (!arg4) {
29414       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
29415     }
29416   }
29417   {
29418     result = (svn_error_t *)svn_client_cat2(arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,(struct svn_opt_revision_t const *)arg4,arg5,arg6);
29419 
29420 
29421 
29422   }
29423   {
29424     if (result) {
29425       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29426       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29427       svn_swig_rb_handle_svn_error(result);
29428     }
29429     vresult = Qnil;
29430   }
29431   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
29432   {
29433     VALUE target;
29434     target = _global_vresult_address == &vresult ? self : vresult;
29435     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
29436     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29437     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29438   }
29439   return vresult;
29440 fail:
29441   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
29442   {
29443     VALUE target;
29444     target = _global_vresult_address == &vresult ? self : vresult;
29445     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
29446     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29447     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29448   }
29449   return Qnil;
29450 }
29451 
29452 
29453 SWIGINTERN VALUE
_wrap_svn_client_cat(int argc,VALUE * argv,VALUE self)29454 _wrap_svn_client_cat(int argc, VALUE *argv, VALUE self) {
29455   svn_stream_t *arg1 = (svn_stream_t *) 0 ;
29456   char *arg2 = (char *) 0 ;
29457   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
29458   svn_client_ctx_t *arg4 = (svn_client_ctx_t *) 0 ;
29459   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
29460   VALUE _global_svn_swig_rb_pool ;
29461   apr_pool_t *_global_pool ;
29462   int res2 ;
29463   char *buf2 = 0 ;
29464   int alloc2 = 0 ;
29465   svn_opt_revision_t rev3 ;
29466   void *argp4 = 0 ;
29467   int res4 = 0 ;
29468   svn_error_t *result = 0 ;
29469   VALUE vresult = Qnil;
29470 
29471   {
29472     int adjusted_argc = argc;
29473     VALUE *adjusted_argv = argv;
29474 
29475     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
29476       &adjusted_argv);
29477     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
29478       &_global_svn_swig_rb_pool, &arg5);
29479     _global_pool = arg5;
29480     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
29481   }
29482   if ((argc < 3) || (argc > 5)) {
29483     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
29484   }
29485   {
29486     arg1 = svn_swig_rb_make_stream(argv[0]);
29487   }
29488   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
29489   if (!SWIG_IsOK(res2)) {
29490     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_cat", 2, argv[1] ));
29491   }
29492   arg2 = (char *)(buf2);
29493   {
29494     arg3 = &rev3;
29495     svn_swig_rb_set_revision(&rev3, argv[2]);
29496   }
29497   if (argc > 3) {
29498     res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
29499     if (!SWIG_IsOK(res4)) {
29500       SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_cat", 4, argv[3] ));
29501     }
29502     arg4 = (svn_client_ctx_t *)(argp4);
29503   }
29504   if (argc > 4) {
29505 
29506   }
29507   {
29508     if (!arg3) {
29509       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
29510     }
29511   }
29512   {
29513     result = (svn_error_t *)svn_client_cat(arg1,(char const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,arg5);
29514 
29515 
29516 
29517   }
29518   {
29519     if (result) {
29520       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29521       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29522       svn_swig_rb_handle_svn_error(result);
29523     }
29524     vresult = Qnil;
29525   }
29526   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
29527   {
29528     VALUE target;
29529     target = _global_vresult_address == &vresult ? self : vresult;
29530     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
29531     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29532     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29533   }
29534   return vresult;
29535 fail:
29536   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
29537   {
29538     VALUE target;
29539     target = _global_vresult_address == &vresult ? self : vresult;
29540     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
29541     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29542     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29543   }
29544   return Qnil;
29545 }
29546 
29547 
29548 SWIGINTERN VALUE
_wrap_svn_client_add_to_changelist(int argc,VALUE * argv,VALUE self)29549 _wrap_svn_client_add_to_changelist(int argc, VALUE *argv, VALUE self) {
29550   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
29551   char *arg2 = (char *) 0 ;
29552   svn_depth_t arg3 ;
29553   apr_array_header_t *arg4 = (apr_array_header_t *) 0 ;
29554   svn_client_ctx_t *arg5 = (svn_client_ctx_t *) 0 ;
29555   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
29556   VALUE _global_svn_swig_rb_pool ;
29557   apr_pool_t *_global_pool ;
29558   void *argp5 = 0 ;
29559   int res5 = 0 ;
29560   svn_error_t *result = 0 ;
29561   VALUE vresult = Qnil;
29562 
29563   {
29564     int adjusted_argc = argc;
29565     VALUE *adjusted_argv = argv;
29566 
29567     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
29568       &adjusted_argv);
29569     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
29570       &_global_svn_swig_rb_pool, &arg6);
29571     _global_pool = arg6;
29572     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
29573   }
29574   if ((argc < 4) || (argc > 6)) {
29575     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
29576   }
29577   {
29578     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
29579   }
29580   {
29581     arg2 = StringValueCStr(argv[1]);
29582   }
29583   {
29584     arg3 = svn_swig_rb_to_depth(argv[2]);
29585   }
29586   {
29587     arg4 = (NIL_P(argv[3])) ? NULL :
29588     svn_swig_rb_strings_to_apr_array(argv[3], _global_pool);
29589   }
29590   if (argc > 4) {
29591     res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
29592     if (!SWIG_IsOK(res5)) {
29593       SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_add_to_changelist", 5, argv[4] ));
29594     }
29595     arg5 = (svn_client_ctx_t *)(argp5);
29596   }
29597   if (argc > 5) {
29598 
29599   }
29600   {
29601     result = (svn_error_t *)svn_client_add_to_changelist((apr_array_header_t const *)arg1,(char const *)arg2,arg3,(apr_array_header_t const *)arg4,arg5,arg6);
29602 
29603 
29604 
29605   }
29606   {
29607     if (result) {
29608       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29609       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29610       svn_swig_rb_handle_svn_error(result);
29611     }
29612     vresult = Qnil;
29613   }
29614   {
29615     VALUE target;
29616     target = _global_vresult_address == &vresult ? self : vresult;
29617     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
29618     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29619     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29620   }
29621   return vresult;
29622 fail:
29623   {
29624     VALUE target;
29625     target = _global_vresult_address == &vresult ? self : vresult;
29626     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
29627     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29628     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29629   }
29630   return Qnil;
29631 }
29632 
29633 
29634 SWIGINTERN VALUE
_wrap_svn_client_remove_from_changelists(int argc,VALUE * argv,VALUE self)29635 _wrap_svn_client_remove_from_changelists(int argc, VALUE *argv, VALUE self) {
29636   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
29637   svn_depth_t arg2 ;
29638   apr_array_header_t *arg3 = (apr_array_header_t *) 0 ;
29639   svn_client_ctx_t *arg4 = (svn_client_ctx_t *) 0 ;
29640   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
29641   VALUE _global_svn_swig_rb_pool ;
29642   apr_pool_t *_global_pool ;
29643   void *argp4 = 0 ;
29644   int res4 = 0 ;
29645   svn_error_t *result = 0 ;
29646   VALUE vresult = Qnil;
29647 
29648   {
29649     int adjusted_argc = argc;
29650     VALUE *adjusted_argv = argv;
29651 
29652     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
29653       &adjusted_argv);
29654     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
29655       &_global_svn_swig_rb_pool, &arg5);
29656     _global_pool = arg5;
29657     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
29658   }
29659   if ((argc < 3) || (argc > 5)) {
29660     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
29661   }
29662   {
29663     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
29664   }
29665   {
29666     arg2 = svn_swig_rb_to_depth(argv[1]);
29667   }
29668   {
29669     arg3 = (NIL_P(argv[2])) ? NULL :
29670     svn_swig_rb_strings_to_apr_array(argv[2], _global_pool);
29671   }
29672   if (argc > 3) {
29673     res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
29674     if (!SWIG_IsOK(res4)) {
29675       SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_remove_from_changelists", 4, argv[3] ));
29676     }
29677     arg4 = (svn_client_ctx_t *)(argp4);
29678   }
29679   if (argc > 4) {
29680 
29681   }
29682   {
29683     result = (svn_error_t *)svn_client_remove_from_changelists((apr_array_header_t const *)arg1,arg2,(apr_array_header_t const *)arg3,arg4,arg5);
29684 
29685 
29686 
29687   }
29688   {
29689     if (result) {
29690       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29691       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29692       svn_swig_rb_handle_svn_error(result);
29693     }
29694     vresult = Qnil;
29695   }
29696   {
29697     VALUE target;
29698     target = _global_vresult_address == &vresult ? self : vresult;
29699     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
29700     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29701     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29702   }
29703   return vresult;
29704 fail:
29705   {
29706     VALUE target;
29707     target = _global_vresult_address == &vresult ? self : vresult;
29708     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
29709     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29710     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29711   }
29712   return Qnil;
29713 }
29714 
29715 
29716 SWIGINTERN VALUE
_wrap_svn_client_get_changelists(int argc,VALUE * argv,VALUE self)29717 _wrap_svn_client_get_changelists(int argc, VALUE *argv, VALUE self) {
29718   char *arg1 = (char *) 0 ;
29719   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
29720   svn_depth_t arg3 ;
29721   svn_changelist_receiver_t arg4 = (svn_changelist_receiver_t) 0 ;
29722   void *arg5 = (void *) 0 ;
29723   svn_client_ctx_t *arg6 = (svn_client_ctx_t *) 0 ;
29724   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
29725   VALUE _global_svn_swig_rb_pool ;
29726   apr_pool_t *_global_pool ;
29727   int res1 ;
29728   char *buf1 = 0 ;
29729   int alloc1 = 0 ;
29730   void *argp6 = 0 ;
29731   int res6 = 0 ;
29732   svn_error_t *result = 0 ;
29733   VALUE vresult = Qnil;
29734 
29735   {
29736     int adjusted_argc = argc;
29737     VALUE *adjusted_argv = argv;
29738 
29739     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
29740       &adjusted_argv);
29741     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
29742       &_global_svn_swig_rb_pool, &arg7);
29743     _global_pool = arg7;
29744     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
29745   }
29746   if ((argc < 4) || (argc > 6)) {
29747     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
29748   }
29749   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
29750   if (!SWIG_IsOK(res1)) {
29751     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_get_changelists", 1, argv[0] ));
29752   }
29753   arg1 = (char *)(buf1);
29754   {
29755     arg2 = (NIL_P(argv[1])) ? NULL :
29756     svn_swig_rb_strings_to_apr_array(argv[1], _global_pool);
29757   }
29758   {
29759     arg3 = svn_swig_rb_to_depth(argv[2]);
29760   }
29761   {
29762     arg4 = (svn_changelist_receiver_t) svn_swig_rb_changelist_receiver;
29763     arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
29764   }
29765   if (argc > 4) {
29766     res6 = SWIG_ConvertPtr(argv[4], &argp6,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
29767     if (!SWIG_IsOK(res6)) {
29768       SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_get_changelists", 6, argv[4] ));
29769     }
29770     arg6 = (svn_client_ctx_t *)(argp6);
29771   }
29772   if (argc > 5) {
29773 
29774   }
29775   {
29776     result = (svn_error_t *)svn_client_get_changelists((char const *)arg1,(apr_array_header_t const *)arg2,arg3,arg4,arg5,arg6,arg7);
29777 
29778 
29779 
29780   }
29781   {
29782     if (result) {
29783       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29784       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29785       svn_swig_rb_handle_svn_error(result);
29786     }
29787     vresult = Qnil;
29788   }
29789   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
29790   {
29791     VALUE target;
29792     target = _global_vresult_address == &vresult ? self : vresult;
29793     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
29794     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29795     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29796   }
29797   return vresult;
29798 fail:
29799   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
29800   {
29801     VALUE target;
29802     target = _global_vresult_address == &vresult ? self : vresult;
29803     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
29804     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29805     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29806   }
29807   return Qnil;
29808 }
29809 
29810 
29811 SWIGINTERN VALUE
_wrap_svn_client_lock(int argc,VALUE * argv,VALUE self)29812 _wrap_svn_client_lock(int argc, VALUE *argv, VALUE self) {
29813   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
29814   char *arg2 = (char *) 0 ;
29815   svn_boolean_t arg3 ;
29816   svn_client_ctx_t *arg4 = (svn_client_ctx_t *) 0 ;
29817   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
29818   VALUE _global_svn_swig_rb_pool ;
29819   apr_pool_t *_global_pool ;
29820   void *argp4 = 0 ;
29821   int res4 = 0 ;
29822   svn_error_t *result = 0 ;
29823   VALUE vresult = Qnil;
29824 
29825   {
29826     int adjusted_argc = argc;
29827     VALUE *adjusted_argv = argv;
29828 
29829     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
29830       &adjusted_argv);
29831     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
29832       &_global_svn_swig_rb_pool, &arg5);
29833     _global_pool = arg5;
29834     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
29835   }
29836   if ((argc < 3) || (argc > 5)) {
29837     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
29838   }
29839   {
29840     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
29841   }
29842   {
29843     if (NIL_P(argv[1])) {
29844       arg2 = NULL;
29845     } else {
29846       arg2 = StringValuePtr(argv[1]);
29847     }
29848   }
29849   arg3 = RTEST(argv[2]);
29850   if (argc > 3) {
29851     res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
29852     if (!SWIG_IsOK(res4)) {
29853       SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_lock", 4, argv[3] ));
29854     }
29855     arg4 = (svn_client_ctx_t *)(argp4);
29856   }
29857   if (argc > 4) {
29858 
29859   }
29860   {
29861     result = (svn_error_t *)svn_client_lock((apr_array_header_t const *)arg1,(char const *)arg2,arg3,arg4,arg5);
29862 
29863 
29864 
29865   }
29866   {
29867     if (result) {
29868       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29869       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29870       svn_swig_rb_handle_svn_error(result);
29871     }
29872     vresult = Qnil;
29873   }
29874   {
29875     VALUE target;
29876     target = _global_vresult_address == &vresult ? self : vresult;
29877     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
29878     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29879     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29880   }
29881   return vresult;
29882 fail:
29883   {
29884     VALUE target;
29885     target = _global_vresult_address == &vresult ? self : vresult;
29886     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
29887     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29888     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29889   }
29890   return Qnil;
29891 }
29892 
29893 
29894 SWIGINTERN VALUE
_wrap_svn_client_unlock(int argc,VALUE * argv,VALUE self)29895 _wrap_svn_client_unlock(int argc, VALUE *argv, VALUE self) {
29896   apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
29897   svn_boolean_t arg2 ;
29898   svn_client_ctx_t *arg3 = (svn_client_ctx_t *) 0 ;
29899   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
29900   VALUE _global_svn_swig_rb_pool ;
29901   apr_pool_t *_global_pool ;
29902   void *argp3 = 0 ;
29903   int res3 = 0 ;
29904   svn_error_t *result = 0 ;
29905   VALUE vresult = Qnil;
29906 
29907   {
29908     int adjusted_argc = argc;
29909     VALUE *adjusted_argv = argv;
29910 
29911     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
29912       &adjusted_argv);
29913     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
29914       &_global_svn_swig_rb_pool, &arg4);
29915     _global_pool = arg4;
29916     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
29917   }
29918   if ((argc < 2) || (argc > 4)) {
29919     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
29920   }
29921   {
29922     arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
29923   }
29924   arg2 = RTEST(argv[1]);
29925   if (argc > 2) {
29926     res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
29927     if (!SWIG_IsOK(res3)) {
29928       SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_unlock", 3, argv[2] ));
29929     }
29930     arg3 = (svn_client_ctx_t *)(argp3);
29931   }
29932   if (argc > 3) {
29933 
29934   }
29935   {
29936     result = (svn_error_t *)svn_client_unlock((apr_array_header_t const *)arg1,arg2,arg3,arg4);
29937 
29938 
29939 
29940   }
29941   {
29942     if (result) {
29943       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29944       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29945       svn_swig_rb_handle_svn_error(result);
29946     }
29947     vresult = Qnil;
29948   }
29949   {
29950     VALUE target;
29951     target = _global_vresult_address == &vresult ? self : vresult;
29952     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
29953     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29954     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29955   }
29956   return vresult;
29957 fail:
29958   {
29959     VALUE target;
29960     target = _global_vresult_address == &vresult ? self : vresult;
29961     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
29962     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
29963     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
29964   }
29965   return Qnil;
29966 }
29967 
29968 
29969 static swig_class SwigClassSvn_info_t;
29970 
29971 SWIGINTERN VALUE
_wrap_svn_info_t_URL_set(int argc,VALUE * argv,VALUE self)29972 _wrap_svn_info_t_URL_set(int argc, VALUE *argv, VALUE self) {
29973   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
29974   char *arg2 = (char *) 0 ;
29975   void *argp1 = 0 ;
29976   int res1 = 0 ;
29977   int res2 ;
29978   char *buf2 = 0 ;
29979   int alloc2 = 0 ;
29980 
29981   if ((argc < 1) || (argc > 1)) {
29982     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
29983   }
29984   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
29985   if (!SWIG_IsOK(res1)) {
29986     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","URL", 1, self ));
29987   }
29988   arg1 = (struct svn_info_t *)(argp1);
29989   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
29990   if (!SWIG_IsOK(res2)) {
29991     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","URL", 2, argv[0] ));
29992   }
29993   arg2 = (char *)(buf2);
29994   {
29995     apr_size_t len = strlen(arg2) + 1;
29996     char *copied;
29997     if (arg1->URL) free((char *)arg1->URL);
29998     copied = malloc(len);
29999     memcpy(copied, arg2, len);
30000     arg1->URL = copied;
30001   }
30002   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30003   return Qnil;
30004 fail:
30005   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30006   return Qnil;
30007 }
30008 
30009 
30010 SWIGINTERN VALUE
_wrap_svn_info_t_URL_get(int argc,VALUE * argv,VALUE self)30011 _wrap_svn_info_t_URL_get(int argc, VALUE *argv, VALUE self) {
30012   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30013   void *argp1 = 0 ;
30014   int res1 = 0 ;
30015   char *result = 0 ;
30016   VALUE vresult = Qnil;
30017 
30018   if ((argc < 0) || (argc > 0)) {
30019     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30020   }
30021   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30022   if (!SWIG_IsOK(res1)) {
30023     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","URL", 1, self ));
30024   }
30025   arg1 = (struct svn_info_t *)(argp1);
30026   result = (char *) ((arg1)->URL);
30027   {
30028     if (result) {
30029       vresult = rb_str_new2(result);
30030     } else {
30031       vresult = Qnil;
30032     }
30033   }
30034   return vresult;
30035 fail:
30036   return Qnil;
30037 }
30038 
30039 
30040 SWIGINTERN VALUE
_wrap_svn_info_t_rev_set(int argc,VALUE * argv,VALUE self)30041 _wrap_svn_info_t_rev_set(int argc, VALUE *argv, VALUE self) {
30042   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30043   svn_revnum_t arg2 ;
30044   void *argp1 = 0 ;
30045   int res1 = 0 ;
30046   long val2 ;
30047   int ecode2 = 0 ;
30048 
30049   if ((argc < 1) || (argc > 1)) {
30050     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30051   }
30052   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30053   if (!SWIG_IsOK(res1)) {
30054     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","rev", 1, self ));
30055   }
30056   arg1 = (struct svn_info_t *)(argp1);
30057   ecode2 = SWIG_AsVal_long(argv[0], &val2);
30058   if (!SWIG_IsOK(ecode2)) {
30059     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","rev", 2, argv[0] ));
30060   }
30061   arg2 = (svn_revnum_t)(val2);
30062   if (arg1) (arg1)->rev = arg2;
30063   return Qnil;
30064 fail:
30065   return Qnil;
30066 }
30067 
30068 
30069 SWIGINTERN VALUE
_wrap_svn_info_t_rev_get(int argc,VALUE * argv,VALUE self)30070 _wrap_svn_info_t_rev_get(int argc, VALUE *argv, VALUE self) {
30071   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30072   void *argp1 = 0 ;
30073   int res1 = 0 ;
30074   svn_revnum_t result;
30075   VALUE vresult = Qnil;
30076 
30077   if ((argc < 0) || (argc > 0)) {
30078     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30079   }
30080   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30081   if (!SWIG_IsOK(res1)) {
30082     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","rev", 1, self ));
30083   }
30084   arg1 = (struct svn_info_t *)(argp1);
30085   result = (svn_revnum_t) ((arg1)->rev);
30086   vresult = SWIG_From_long((long)(result));
30087   return vresult;
30088 fail:
30089   return Qnil;
30090 }
30091 
30092 
30093 SWIGINTERN VALUE
_wrap_svn_info_t_kind_set(int argc,VALUE * argv,VALUE self)30094 _wrap_svn_info_t_kind_set(int argc, VALUE *argv, VALUE self) {
30095   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30096   svn_node_kind_t arg2 ;
30097   void *argp1 = 0 ;
30098   int res1 = 0 ;
30099   int val2 ;
30100   int ecode2 = 0 ;
30101 
30102   if ((argc < 1) || (argc > 1)) {
30103     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30104   }
30105   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30106   if (!SWIG_IsOK(res1)) {
30107     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","kind", 1, self ));
30108   }
30109   arg1 = (struct svn_info_t *)(argp1);
30110   ecode2 = SWIG_AsVal_int(argv[0], &val2);
30111   if (!SWIG_IsOK(ecode2)) {
30112     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_node_kind_t","kind", 2, argv[0] ));
30113   }
30114   arg2 = (svn_node_kind_t)(val2);
30115   if (arg1) (arg1)->kind = arg2;
30116   return Qnil;
30117 fail:
30118   return Qnil;
30119 }
30120 
30121 
30122 SWIGINTERN VALUE
_wrap_svn_info_t_kind_get(int argc,VALUE * argv,VALUE self)30123 _wrap_svn_info_t_kind_get(int argc, VALUE *argv, VALUE self) {
30124   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30125   void *argp1 = 0 ;
30126   int res1 = 0 ;
30127   svn_node_kind_t result;
30128   VALUE vresult = Qnil;
30129 
30130   if ((argc < 0) || (argc > 0)) {
30131     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30132   }
30133   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30134   if (!SWIG_IsOK(res1)) {
30135     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","kind", 1, self ));
30136   }
30137   arg1 = (struct svn_info_t *)(argp1);
30138   result = (svn_node_kind_t) ((arg1)->kind);
30139   vresult = SWIG_From_int((int)(result));
30140   return vresult;
30141 fail:
30142   return Qnil;
30143 }
30144 
30145 
30146 SWIGINTERN VALUE
_wrap_svn_info_t_repos_root_URL_set(int argc,VALUE * argv,VALUE self)30147 _wrap_svn_info_t_repos_root_URL_set(int argc, VALUE *argv, VALUE self) {
30148   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30149   char *arg2 = (char *) 0 ;
30150   void *argp1 = 0 ;
30151   int res1 = 0 ;
30152   int res2 ;
30153   char *buf2 = 0 ;
30154   int alloc2 = 0 ;
30155 
30156   if ((argc < 1) || (argc > 1)) {
30157     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30158   }
30159   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30160   if (!SWIG_IsOK(res1)) {
30161     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","repos_root_URL", 1, self ));
30162   }
30163   arg1 = (struct svn_info_t *)(argp1);
30164   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
30165   if (!SWIG_IsOK(res2)) {
30166     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","repos_root_URL", 2, argv[0] ));
30167   }
30168   arg2 = (char *)(buf2);
30169   {
30170     apr_size_t len = strlen(arg2) + 1;
30171     char *copied;
30172     if (arg1->repos_root_URL) free((char *)arg1->repos_root_URL);
30173     copied = malloc(len);
30174     memcpy(copied, arg2, len);
30175     arg1->repos_root_URL = copied;
30176   }
30177   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30178   return Qnil;
30179 fail:
30180   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30181   return Qnil;
30182 }
30183 
30184 
30185 SWIGINTERN VALUE
_wrap_svn_info_t_repos_root_URL_get(int argc,VALUE * argv,VALUE self)30186 _wrap_svn_info_t_repos_root_URL_get(int argc, VALUE *argv, VALUE self) {
30187   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30188   void *argp1 = 0 ;
30189   int res1 = 0 ;
30190   char *result = 0 ;
30191   VALUE vresult = Qnil;
30192 
30193   if ((argc < 0) || (argc > 0)) {
30194     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30195   }
30196   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30197   if (!SWIG_IsOK(res1)) {
30198     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","repos_root_URL", 1, self ));
30199   }
30200   arg1 = (struct svn_info_t *)(argp1);
30201   result = (char *) ((arg1)->repos_root_URL);
30202   {
30203     if (result) {
30204       vresult = rb_str_new2(result);
30205     } else {
30206       vresult = Qnil;
30207     }
30208   }
30209   return vresult;
30210 fail:
30211   return Qnil;
30212 }
30213 
30214 
30215 SWIGINTERN VALUE
_wrap_svn_info_t_repos_UUID_set(int argc,VALUE * argv,VALUE self)30216 _wrap_svn_info_t_repos_UUID_set(int argc, VALUE *argv, VALUE self) {
30217   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30218   char *arg2 = (char *) 0 ;
30219   void *argp1 = 0 ;
30220   int res1 = 0 ;
30221   int res2 ;
30222   char *buf2 = 0 ;
30223   int alloc2 = 0 ;
30224 
30225   if ((argc < 1) || (argc > 1)) {
30226     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30227   }
30228   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30229   if (!SWIG_IsOK(res1)) {
30230     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","repos_UUID", 1, self ));
30231   }
30232   arg1 = (struct svn_info_t *)(argp1);
30233   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
30234   if (!SWIG_IsOK(res2)) {
30235     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","repos_UUID", 2, argv[0] ));
30236   }
30237   arg2 = (char *)(buf2);
30238   {
30239     apr_size_t len = strlen(arg2) + 1;
30240     char *copied;
30241     if (arg1->repos_UUID) free((char *)arg1->repos_UUID);
30242     copied = malloc(len);
30243     memcpy(copied, arg2, len);
30244     arg1->repos_UUID = copied;
30245   }
30246   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30247   return Qnil;
30248 fail:
30249   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30250   return Qnil;
30251 }
30252 
30253 
30254 SWIGINTERN VALUE
_wrap_svn_info_t_repos_UUID_get(int argc,VALUE * argv,VALUE self)30255 _wrap_svn_info_t_repos_UUID_get(int argc, VALUE *argv, VALUE self) {
30256   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30257   void *argp1 = 0 ;
30258   int res1 = 0 ;
30259   char *result = 0 ;
30260   VALUE vresult = Qnil;
30261 
30262   if ((argc < 0) || (argc > 0)) {
30263     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30264   }
30265   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30266   if (!SWIG_IsOK(res1)) {
30267     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","repos_UUID", 1, self ));
30268   }
30269   arg1 = (struct svn_info_t *)(argp1);
30270   result = (char *) ((arg1)->repos_UUID);
30271   {
30272     if (result) {
30273       vresult = rb_str_new2(result);
30274     } else {
30275       vresult = Qnil;
30276     }
30277   }
30278   return vresult;
30279 fail:
30280   return Qnil;
30281 }
30282 
30283 
30284 SWIGINTERN VALUE
_wrap_svn_info_t_last_changed_rev_set(int argc,VALUE * argv,VALUE self)30285 _wrap_svn_info_t_last_changed_rev_set(int argc, VALUE *argv, VALUE self) {
30286   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30287   svn_revnum_t arg2 ;
30288   void *argp1 = 0 ;
30289   int res1 = 0 ;
30290   long val2 ;
30291   int ecode2 = 0 ;
30292 
30293   if ((argc < 1) || (argc > 1)) {
30294     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30295   }
30296   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30297   if (!SWIG_IsOK(res1)) {
30298     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","last_changed_rev", 1, self ));
30299   }
30300   arg1 = (struct svn_info_t *)(argp1);
30301   ecode2 = SWIG_AsVal_long(argv[0], &val2);
30302   if (!SWIG_IsOK(ecode2)) {
30303     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","last_changed_rev", 2, argv[0] ));
30304   }
30305   arg2 = (svn_revnum_t)(val2);
30306   if (arg1) (arg1)->last_changed_rev = arg2;
30307   return Qnil;
30308 fail:
30309   return Qnil;
30310 }
30311 
30312 
30313 SWIGINTERN VALUE
_wrap_svn_info_t_last_changed_rev_get(int argc,VALUE * argv,VALUE self)30314 _wrap_svn_info_t_last_changed_rev_get(int argc, VALUE *argv, VALUE self) {
30315   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30316   void *argp1 = 0 ;
30317   int res1 = 0 ;
30318   svn_revnum_t result;
30319   VALUE vresult = Qnil;
30320 
30321   if ((argc < 0) || (argc > 0)) {
30322     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30323   }
30324   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30325   if (!SWIG_IsOK(res1)) {
30326     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","last_changed_rev", 1, self ));
30327   }
30328   arg1 = (struct svn_info_t *)(argp1);
30329   result = (svn_revnum_t) ((arg1)->last_changed_rev);
30330   vresult = SWIG_From_long((long)(result));
30331   return vresult;
30332 fail:
30333   return Qnil;
30334 }
30335 
30336 
30337 SWIGINTERN VALUE
_wrap_svn_info_t_last_changed_date_set(int argc,VALUE * argv,VALUE self)30338 _wrap_svn_info_t_last_changed_date_set(int argc, VALUE *argv, VALUE self) {
30339   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30340   apr_time_t arg2 ;
30341   void *argp1 = 0 ;
30342   int res1 = 0 ;
30343 
30344   if ((argc < 1) || (argc > 1)) {
30345     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30346   }
30347   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30348   if (!SWIG_IsOK(res1)) {
30349     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","last_changed_date", 1, self ));
30350   }
30351   arg1 = (struct svn_info_t *)(argp1);
30352   {
30353     arg2 = (apr_time_t)NUM2LL(argv[0]);
30354   }
30355   if (arg1) (arg1)->last_changed_date = arg2;
30356   return Qnil;
30357 fail:
30358   return Qnil;
30359 }
30360 
30361 
30362 SWIGINTERN VALUE
_wrap_svn_info_t_last_changed_date_get(int argc,VALUE * argv,VALUE self)30363 _wrap_svn_info_t_last_changed_date_get(int argc, VALUE *argv, VALUE self) {
30364   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30365   void *argp1 = 0 ;
30366   int res1 = 0 ;
30367   apr_time_t result;
30368   VALUE vresult = Qnil;
30369 
30370   if ((argc < 0) || (argc > 0)) {
30371     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30372   }
30373   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30374   if (!SWIG_IsOK(res1)) {
30375     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","last_changed_date", 1, self ));
30376   }
30377   arg1 = (struct svn_info_t *)(argp1);
30378   result =  ((arg1)->last_changed_date);
30379   {
30380     vresult = LL2NUM((apr_time_t)(result));
30381   }
30382   return vresult;
30383 fail:
30384   return Qnil;
30385 }
30386 
30387 
30388 SWIGINTERN VALUE
_wrap_svn_info_t_last_changed_author_set(int argc,VALUE * argv,VALUE self)30389 _wrap_svn_info_t_last_changed_author_set(int argc, VALUE *argv, VALUE self) {
30390   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30391   char *arg2 = (char *) 0 ;
30392   void *argp1 = 0 ;
30393   int res1 = 0 ;
30394   int res2 ;
30395   char *buf2 = 0 ;
30396   int alloc2 = 0 ;
30397 
30398   if ((argc < 1) || (argc > 1)) {
30399     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30400   }
30401   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30402   if (!SWIG_IsOK(res1)) {
30403     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","last_changed_author", 1, self ));
30404   }
30405   arg1 = (struct svn_info_t *)(argp1);
30406   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
30407   if (!SWIG_IsOK(res2)) {
30408     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","last_changed_author", 2, argv[0] ));
30409   }
30410   arg2 = (char *)(buf2);
30411   {
30412     apr_size_t len = strlen(arg2) + 1;
30413     char *copied;
30414     if (arg1->last_changed_author) free((char *)arg1->last_changed_author);
30415     copied = malloc(len);
30416     memcpy(copied, arg2, len);
30417     arg1->last_changed_author = copied;
30418   }
30419   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30420   return Qnil;
30421 fail:
30422   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30423   return Qnil;
30424 }
30425 
30426 
30427 SWIGINTERN VALUE
_wrap_svn_info_t_last_changed_author_get(int argc,VALUE * argv,VALUE self)30428 _wrap_svn_info_t_last_changed_author_get(int argc, VALUE *argv, VALUE self) {
30429   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30430   void *argp1 = 0 ;
30431   int res1 = 0 ;
30432   char *result = 0 ;
30433   VALUE vresult = Qnil;
30434 
30435   if ((argc < 0) || (argc > 0)) {
30436     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30437   }
30438   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30439   if (!SWIG_IsOK(res1)) {
30440     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","last_changed_author", 1, self ));
30441   }
30442   arg1 = (struct svn_info_t *)(argp1);
30443   result = (char *) ((arg1)->last_changed_author);
30444   {
30445     if (result) {
30446       vresult = rb_str_new2(result);
30447     } else {
30448       vresult = Qnil;
30449     }
30450   }
30451   return vresult;
30452 fail:
30453   return Qnil;
30454 }
30455 
30456 
30457 SWIGINTERN VALUE
_wrap_svn_info_t_lock_set(int argc,VALUE * argv,VALUE self)30458 _wrap_svn_info_t_lock_set(int argc, VALUE *argv, VALUE self) {
30459   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30460   svn_lock_t *arg2 = (svn_lock_t *) 0 ;
30461   void *argp1 = 0 ;
30462   int res1 = 0 ;
30463   void *argp2 = 0 ;
30464   int res2 = 0 ;
30465 
30466   if ((argc < 1) || (argc > 1)) {
30467     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30468   }
30469   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30470   if (!SWIG_IsOK(res1)) {
30471     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","lock", 1, self ));
30472   }
30473   arg1 = (struct svn_info_t *)(argp1);
30474   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_lock_t, SWIG_POINTER_DISOWN |  0 );
30475   if (!SWIG_IsOK(res2)) {
30476     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_lock_t *","lock", 2, argv[0] ));
30477   }
30478   arg2 = (svn_lock_t *)(argp2);
30479   if (arg1) (arg1)->lock = arg2;
30480   return Qnil;
30481 fail:
30482   return Qnil;
30483 }
30484 
30485 
30486 SWIGINTERN VALUE
_wrap_svn_info_t_lock_get(int argc,VALUE * argv,VALUE self)30487 _wrap_svn_info_t_lock_get(int argc, VALUE *argv, VALUE self) {
30488   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30489   void *argp1 = 0 ;
30490   int res1 = 0 ;
30491   svn_lock_t *result = 0 ;
30492   VALUE vresult = Qnil;
30493 
30494   if ((argc < 0) || (argc > 0)) {
30495     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30496   }
30497   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30498   if (!SWIG_IsOK(res1)) {
30499     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","lock", 1, self ));
30500   }
30501   arg1 = (struct svn_info_t *)(argp1);
30502   result = (svn_lock_t *) ((arg1)->lock);
30503   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_lock_t, 0 |  0 );
30504   return vresult;
30505 fail:
30506   return Qnil;
30507 }
30508 
30509 
30510 SWIGINTERN VALUE
_wrap_svn_info_t_has_wc_info_set(int argc,VALUE * argv,VALUE self)30511 _wrap_svn_info_t_has_wc_info_set(int argc, VALUE *argv, VALUE self) {
30512   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30513   svn_boolean_t arg2 ;
30514   void *argp1 = 0 ;
30515   int res1 = 0 ;
30516 
30517   if ((argc < 1) || (argc > 1)) {
30518     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30519   }
30520   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30521   if (!SWIG_IsOK(res1)) {
30522     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","has_wc_info", 1, self ));
30523   }
30524   arg1 = (struct svn_info_t *)(argp1);
30525   arg2 = RTEST(argv[0]);
30526   if (arg1) (arg1)->has_wc_info = arg2;
30527   return Qnil;
30528 fail:
30529   return Qnil;
30530 }
30531 
30532 
30533 SWIGINTERN VALUE
_wrap_svn_info_t_has_wc_info_get(int argc,VALUE * argv,VALUE self)30534 _wrap_svn_info_t_has_wc_info_get(int argc, VALUE *argv, VALUE self) {
30535   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30536   void *argp1 = 0 ;
30537   int res1 = 0 ;
30538   svn_boolean_t result;
30539   VALUE vresult = Qnil;
30540 
30541   if ((argc < 0) || (argc > 0)) {
30542     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30543   }
30544   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30545   if (!SWIG_IsOK(res1)) {
30546     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","has_wc_info", 1, self ));
30547   }
30548   arg1 = (struct svn_info_t *)(argp1);
30549   result = (svn_boolean_t) ((arg1)->has_wc_info);
30550   vresult = result ? Qtrue : Qfalse;
30551   return vresult;
30552 fail:
30553   return Qnil;
30554 }
30555 
30556 
30557 SWIGINTERN VALUE
_wrap_svn_info_t_schedule_set(int argc,VALUE * argv,VALUE self)30558 _wrap_svn_info_t_schedule_set(int argc, VALUE *argv, VALUE self) {
30559   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30560   svn_wc_schedule_t arg2 ;
30561   void *argp1 = 0 ;
30562   int res1 = 0 ;
30563   int val2 ;
30564   int ecode2 = 0 ;
30565 
30566   if ((argc < 1) || (argc > 1)) {
30567     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30568   }
30569   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30570   if (!SWIG_IsOK(res1)) {
30571     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","schedule", 1, self ));
30572   }
30573   arg1 = (struct svn_info_t *)(argp1);
30574   ecode2 = SWIG_AsVal_int(argv[0], &val2);
30575   if (!SWIG_IsOK(ecode2)) {
30576     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_wc_schedule_t","schedule", 2, argv[0] ));
30577   }
30578   arg2 = (svn_wc_schedule_t)(val2);
30579   if (arg1) (arg1)->schedule = arg2;
30580   return Qnil;
30581 fail:
30582   return Qnil;
30583 }
30584 
30585 
30586 SWIGINTERN VALUE
_wrap_svn_info_t_schedule_get(int argc,VALUE * argv,VALUE self)30587 _wrap_svn_info_t_schedule_get(int argc, VALUE *argv, VALUE self) {
30588   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30589   void *argp1 = 0 ;
30590   int res1 = 0 ;
30591   svn_wc_schedule_t result;
30592   VALUE vresult = Qnil;
30593 
30594   if ((argc < 0) || (argc > 0)) {
30595     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30596   }
30597   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30598   if (!SWIG_IsOK(res1)) {
30599     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","schedule", 1, self ));
30600   }
30601   arg1 = (struct svn_info_t *)(argp1);
30602   result = (svn_wc_schedule_t) ((arg1)->schedule);
30603   vresult = SWIG_From_int((int)(result));
30604   return vresult;
30605 fail:
30606   return Qnil;
30607 }
30608 
30609 
30610 SWIGINTERN VALUE
_wrap_svn_info_t_copyfrom_url_set(int argc,VALUE * argv,VALUE self)30611 _wrap_svn_info_t_copyfrom_url_set(int argc, VALUE *argv, VALUE self) {
30612   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30613   char *arg2 = (char *) 0 ;
30614   void *argp1 = 0 ;
30615   int res1 = 0 ;
30616 
30617   if ((argc < 1) || (argc > 1)) {
30618     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30619   }
30620   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30621   if (!SWIG_IsOK(res1)) {
30622     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","copyfrom_url", 1, self ));
30623   }
30624   arg1 = (struct svn_info_t *)(argp1);
30625   {
30626     if (NIL_P(argv[0])) {
30627       arg2 = NULL;
30628     } else {
30629       arg2 = StringValuePtr(argv[0]);
30630     }
30631   }
30632   {
30633     apr_size_t len = strlen(arg2) + 1;
30634     char *copied;
30635     if (arg1->copyfrom_url) free((char *)arg1->copyfrom_url);
30636     copied = malloc(len);
30637     memcpy(copied, arg2, len);
30638     arg1->copyfrom_url = copied;
30639   }
30640   return Qnil;
30641 fail:
30642   return Qnil;
30643 }
30644 
30645 
30646 SWIGINTERN VALUE
_wrap_svn_info_t_copyfrom_url_get(int argc,VALUE * argv,VALUE self)30647 _wrap_svn_info_t_copyfrom_url_get(int argc, VALUE *argv, VALUE self) {
30648   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30649   void *argp1 = 0 ;
30650   int res1 = 0 ;
30651   char *result = 0 ;
30652   VALUE vresult = Qnil;
30653 
30654   if ((argc < 0) || (argc > 0)) {
30655     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30656   }
30657   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30658   if (!SWIG_IsOK(res1)) {
30659     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","copyfrom_url", 1, self ));
30660   }
30661   arg1 = (struct svn_info_t *)(argp1);
30662   result = (char *) ((arg1)->copyfrom_url);
30663   {
30664     if (result) {
30665       vresult = rb_str_new2(result);
30666     } else {
30667       vresult = Qnil;
30668     }
30669   }
30670   return vresult;
30671 fail:
30672   return Qnil;
30673 }
30674 
30675 
30676 SWIGINTERN VALUE
_wrap_svn_info_t_copyfrom_rev_set(int argc,VALUE * argv,VALUE self)30677 _wrap_svn_info_t_copyfrom_rev_set(int argc, VALUE *argv, VALUE self) {
30678   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30679   svn_revnum_t arg2 ;
30680   void *argp1 = 0 ;
30681   int res1 = 0 ;
30682   long val2 ;
30683   int ecode2 = 0 ;
30684 
30685   if ((argc < 1) || (argc > 1)) {
30686     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30687   }
30688   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30689   if (!SWIG_IsOK(res1)) {
30690     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","copyfrom_rev", 1, self ));
30691   }
30692   arg1 = (struct svn_info_t *)(argp1);
30693   ecode2 = SWIG_AsVal_long(argv[0], &val2);
30694   if (!SWIG_IsOK(ecode2)) {
30695     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","copyfrom_rev", 2, argv[0] ));
30696   }
30697   arg2 = (svn_revnum_t)(val2);
30698   if (arg1) (arg1)->copyfrom_rev = arg2;
30699   return Qnil;
30700 fail:
30701   return Qnil;
30702 }
30703 
30704 
30705 SWIGINTERN VALUE
_wrap_svn_info_t_copyfrom_rev_get(int argc,VALUE * argv,VALUE self)30706 _wrap_svn_info_t_copyfrom_rev_get(int argc, VALUE *argv, VALUE self) {
30707   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30708   void *argp1 = 0 ;
30709   int res1 = 0 ;
30710   svn_revnum_t result;
30711   VALUE vresult = Qnil;
30712 
30713   if ((argc < 0) || (argc > 0)) {
30714     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30715   }
30716   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30717   if (!SWIG_IsOK(res1)) {
30718     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","copyfrom_rev", 1, self ));
30719   }
30720   arg1 = (struct svn_info_t *)(argp1);
30721   result = (svn_revnum_t) ((arg1)->copyfrom_rev);
30722   vresult = SWIG_From_long((long)(result));
30723   return vresult;
30724 fail:
30725   return Qnil;
30726 }
30727 
30728 
30729 SWIGINTERN VALUE
_wrap_svn_info_t_text_time_set(int argc,VALUE * argv,VALUE self)30730 _wrap_svn_info_t_text_time_set(int argc, VALUE *argv, VALUE self) {
30731   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30732   apr_time_t arg2 ;
30733   void *argp1 = 0 ;
30734   int res1 = 0 ;
30735 
30736   if ((argc < 1) || (argc > 1)) {
30737     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30738   }
30739   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30740   if (!SWIG_IsOK(res1)) {
30741     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","text_time", 1, self ));
30742   }
30743   arg1 = (struct svn_info_t *)(argp1);
30744   {
30745     arg2 = (apr_time_t)NUM2LL(argv[0]);
30746   }
30747   if (arg1) (arg1)->text_time = arg2;
30748   return Qnil;
30749 fail:
30750   return Qnil;
30751 }
30752 
30753 
30754 SWIGINTERN VALUE
_wrap_svn_info_t_text_time_get(int argc,VALUE * argv,VALUE self)30755 _wrap_svn_info_t_text_time_get(int argc, VALUE *argv, VALUE self) {
30756   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30757   void *argp1 = 0 ;
30758   int res1 = 0 ;
30759   apr_time_t result;
30760   VALUE vresult = Qnil;
30761 
30762   if ((argc < 0) || (argc > 0)) {
30763     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30764   }
30765   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30766   if (!SWIG_IsOK(res1)) {
30767     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","text_time", 1, self ));
30768   }
30769   arg1 = (struct svn_info_t *)(argp1);
30770   result =  ((arg1)->text_time);
30771   {
30772     vresult = LL2NUM((apr_time_t)(result));
30773   }
30774   return vresult;
30775 fail:
30776   return Qnil;
30777 }
30778 
30779 
30780 SWIGINTERN VALUE
_wrap_svn_info_t_prop_time_set(int argc,VALUE * argv,VALUE self)30781 _wrap_svn_info_t_prop_time_set(int argc, VALUE *argv, VALUE self) {
30782   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30783   apr_time_t arg2 ;
30784   void *argp1 = 0 ;
30785   int res1 = 0 ;
30786 
30787   if ((argc < 1) || (argc > 1)) {
30788     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30789   }
30790   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30791   if (!SWIG_IsOK(res1)) {
30792     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","prop_time", 1, self ));
30793   }
30794   arg1 = (struct svn_info_t *)(argp1);
30795   {
30796     arg2 = (apr_time_t)NUM2LL(argv[0]);
30797   }
30798   if (arg1) (arg1)->prop_time = arg2;
30799   return Qnil;
30800 fail:
30801   return Qnil;
30802 }
30803 
30804 
30805 SWIGINTERN VALUE
_wrap_svn_info_t_prop_time_get(int argc,VALUE * argv,VALUE self)30806 _wrap_svn_info_t_prop_time_get(int argc, VALUE *argv, VALUE self) {
30807   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30808   void *argp1 = 0 ;
30809   int res1 = 0 ;
30810   apr_time_t result;
30811   VALUE vresult = Qnil;
30812 
30813   if ((argc < 0) || (argc > 0)) {
30814     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30815   }
30816   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30817   if (!SWIG_IsOK(res1)) {
30818     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","prop_time", 1, self ));
30819   }
30820   arg1 = (struct svn_info_t *)(argp1);
30821   result =  ((arg1)->prop_time);
30822   {
30823     vresult = LL2NUM((apr_time_t)(result));
30824   }
30825   return vresult;
30826 fail:
30827   return Qnil;
30828 }
30829 
30830 
30831 SWIGINTERN VALUE
_wrap_svn_info_t_checksum_set(int argc,VALUE * argv,VALUE self)30832 _wrap_svn_info_t_checksum_set(int argc, VALUE *argv, VALUE self) {
30833   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30834   char *arg2 = (char *) 0 ;
30835   void *argp1 = 0 ;
30836   int res1 = 0 ;
30837   int res2 ;
30838   char *buf2 = 0 ;
30839   int alloc2 = 0 ;
30840 
30841   if ((argc < 1) || (argc > 1)) {
30842     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30843   }
30844   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30845   if (!SWIG_IsOK(res1)) {
30846     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","checksum", 1, self ));
30847   }
30848   arg1 = (struct svn_info_t *)(argp1);
30849   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
30850   if (!SWIG_IsOK(res2)) {
30851     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","checksum", 2, argv[0] ));
30852   }
30853   arg2 = (char *)(buf2);
30854   {
30855     apr_size_t len = strlen(arg2) + 1;
30856     char *copied;
30857     if (arg1->checksum) free((char *)arg1->checksum);
30858     copied = malloc(len);
30859     memcpy(copied, arg2, len);
30860     arg1->checksum = copied;
30861   }
30862   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30863   return Qnil;
30864 fail:
30865   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30866   return Qnil;
30867 }
30868 
30869 
30870 SWIGINTERN VALUE
_wrap_svn_info_t_checksum_get(int argc,VALUE * argv,VALUE self)30871 _wrap_svn_info_t_checksum_get(int argc, VALUE *argv, VALUE self) {
30872   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30873   void *argp1 = 0 ;
30874   int res1 = 0 ;
30875   char *result = 0 ;
30876   VALUE vresult = Qnil;
30877 
30878   if ((argc < 0) || (argc > 0)) {
30879     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30880   }
30881   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30882   if (!SWIG_IsOK(res1)) {
30883     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","checksum", 1, self ));
30884   }
30885   arg1 = (struct svn_info_t *)(argp1);
30886   result = (char *) ((arg1)->checksum);
30887   {
30888     if (result) {
30889       vresult = rb_str_new2(result);
30890     } else {
30891       vresult = Qnil;
30892     }
30893   }
30894   return vresult;
30895 fail:
30896   return Qnil;
30897 }
30898 
30899 
30900 SWIGINTERN VALUE
_wrap_svn_info_t_conflict_old_set(int argc,VALUE * argv,VALUE self)30901 _wrap_svn_info_t_conflict_old_set(int argc, VALUE *argv, VALUE self) {
30902   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30903   char *arg2 = (char *) 0 ;
30904   void *argp1 = 0 ;
30905   int res1 = 0 ;
30906   int res2 ;
30907   char *buf2 = 0 ;
30908   int alloc2 = 0 ;
30909 
30910   if ((argc < 1) || (argc > 1)) {
30911     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30912   }
30913   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30914   if (!SWIG_IsOK(res1)) {
30915     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","conflict_old", 1, self ));
30916   }
30917   arg1 = (struct svn_info_t *)(argp1);
30918   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
30919   if (!SWIG_IsOK(res2)) {
30920     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","conflict_old", 2, argv[0] ));
30921   }
30922   arg2 = (char *)(buf2);
30923   {
30924     apr_size_t len = strlen(arg2) + 1;
30925     char *copied;
30926     if (arg1->conflict_old) free((char *)arg1->conflict_old);
30927     copied = malloc(len);
30928     memcpy(copied, arg2, len);
30929     arg1->conflict_old = copied;
30930   }
30931   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30932   return Qnil;
30933 fail:
30934   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30935   return Qnil;
30936 }
30937 
30938 
30939 SWIGINTERN VALUE
_wrap_svn_info_t_conflict_old_get(int argc,VALUE * argv,VALUE self)30940 _wrap_svn_info_t_conflict_old_get(int argc, VALUE *argv, VALUE self) {
30941   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30942   void *argp1 = 0 ;
30943   int res1 = 0 ;
30944   char *result = 0 ;
30945   VALUE vresult = Qnil;
30946 
30947   if ((argc < 0) || (argc > 0)) {
30948     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30949   }
30950   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30951   if (!SWIG_IsOK(res1)) {
30952     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","conflict_old", 1, self ));
30953   }
30954   arg1 = (struct svn_info_t *)(argp1);
30955   result = (char *) ((arg1)->conflict_old);
30956   {
30957     if (result) {
30958       vresult = rb_str_new2(result);
30959     } else {
30960       vresult = Qnil;
30961     }
30962   }
30963   return vresult;
30964 fail:
30965   return Qnil;
30966 }
30967 
30968 
30969 SWIGINTERN VALUE
_wrap_svn_info_t_conflict_new_set(int argc,VALUE * argv,VALUE self)30970 _wrap_svn_info_t_conflict_new_set(int argc, VALUE *argv, VALUE self) {
30971   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
30972   char *arg2 = (char *) 0 ;
30973   void *argp1 = 0 ;
30974   int res1 = 0 ;
30975   int res2 ;
30976   char *buf2 = 0 ;
30977   int alloc2 = 0 ;
30978 
30979   if ((argc < 1) || (argc > 1)) {
30980     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30981   }
30982   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
30983   if (!SWIG_IsOK(res1)) {
30984     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","conflict_new", 1, self ));
30985   }
30986   arg1 = (struct svn_info_t *)(argp1);
30987   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
30988   if (!SWIG_IsOK(res2)) {
30989     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","conflict_new", 2, argv[0] ));
30990   }
30991   arg2 = (char *)(buf2);
30992   {
30993     apr_size_t len = strlen(arg2) + 1;
30994     char *copied;
30995     if (arg1->conflict_new) free((char *)arg1->conflict_new);
30996     copied = malloc(len);
30997     memcpy(copied, arg2, len);
30998     arg1->conflict_new = copied;
30999   }
31000   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31001   return Qnil;
31002 fail:
31003   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31004   return Qnil;
31005 }
31006 
31007 
31008 SWIGINTERN VALUE
_wrap_svn_info_t_conflict_new_get(int argc,VALUE * argv,VALUE self)31009 _wrap_svn_info_t_conflict_new_get(int argc, VALUE *argv, VALUE self) {
31010   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
31011   void *argp1 = 0 ;
31012   int res1 = 0 ;
31013   char *result = 0 ;
31014   VALUE vresult = Qnil;
31015 
31016   if ((argc < 0) || (argc > 0)) {
31017     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
31018   }
31019   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
31020   if (!SWIG_IsOK(res1)) {
31021     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","conflict_new", 1, self ));
31022   }
31023   arg1 = (struct svn_info_t *)(argp1);
31024   result = (char *) ((arg1)->conflict_new);
31025   {
31026     if (result) {
31027       vresult = rb_str_new2(result);
31028     } else {
31029       vresult = Qnil;
31030     }
31031   }
31032   return vresult;
31033 fail:
31034   return Qnil;
31035 }
31036 
31037 
31038 SWIGINTERN VALUE
_wrap_svn_info_t_conflict_wrk_set(int argc,VALUE * argv,VALUE self)31039 _wrap_svn_info_t_conflict_wrk_set(int argc, VALUE *argv, VALUE self) {
31040   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
31041   char *arg2 = (char *) 0 ;
31042   void *argp1 = 0 ;
31043   int res1 = 0 ;
31044   int res2 ;
31045   char *buf2 = 0 ;
31046   int alloc2 = 0 ;
31047 
31048   if ((argc < 1) || (argc > 1)) {
31049     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
31050   }
31051   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
31052   if (!SWIG_IsOK(res1)) {
31053     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","conflict_wrk", 1, self ));
31054   }
31055   arg1 = (struct svn_info_t *)(argp1);
31056   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
31057   if (!SWIG_IsOK(res2)) {
31058     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","conflict_wrk", 2, argv[0] ));
31059   }
31060   arg2 = (char *)(buf2);
31061   {
31062     apr_size_t len = strlen(arg2) + 1;
31063     char *copied;
31064     if (arg1->conflict_wrk) free((char *)arg1->conflict_wrk);
31065     copied = malloc(len);
31066     memcpy(copied, arg2, len);
31067     arg1->conflict_wrk = copied;
31068   }
31069   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31070   return Qnil;
31071 fail:
31072   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31073   return Qnil;
31074 }
31075 
31076 
31077 SWIGINTERN VALUE
_wrap_svn_info_t_conflict_wrk_get(int argc,VALUE * argv,VALUE self)31078 _wrap_svn_info_t_conflict_wrk_get(int argc, VALUE *argv, VALUE self) {
31079   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
31080   void *argp1 = 0 ;
31081   int res1 = 0 ;
31082   char *result = 0 ;
31083   VALUE vresult = Qnil;
31084 
31085   if ((argc < 0) || (argc > 0)) {
31086     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
31087   }
31088   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
31089   if (!SWIG_IsOK(res1)) {
31090     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","conflict_wrk", 1, self ));
31091   }
31092   arg1 = (struct svn_info_t *)(argp1);
31093   result = (char *) ((arg1)->conflict_wrk);
31094   {
31095     if (result) {
31096       vresult = rb_str_new2(result);
31097     } else {
31098       vresult = Qnil;
31099     }
31100   }
31101   return vresult;
31102 fail:
31103   return Qnil;
31104 }
31105 
31106 
31107 SWIGINTERN VALUE
_wrap_svn_info_t_prejfile_set(int argc,VALUE * argv,VALUE self)31108 _wrap_svn_info_t_prejfile_set(int argc, VALUE *argv, VALUE self) {
31109   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
31110   char *arg2 = (char *) 0 ;
31111   void *argp1 = 0 ;
31112   int res1 = 0 ;
31113   int res2 ;
31114   char *buf2 = 0 ;
31115   int alloc2 = 0 ;
31116 
31117   if ((argc < 1) || (argc > 1)) {
31118     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
31119   }
31120   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
31121   if (!SWIG_IsOK(res1)) {
31122     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","prejfile", 1, self ));
31123   }
31124   arg1 = (struct svn_info_t *)(argp1);
31125   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
31126   if (!SWIG_IsOK(res2)) {
31127     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","prejfile", 2, argv[0] ));
31128   }
31129   arg2 = (char *)(buf2);
31130   {
31131     apr_size_t len = strlen(arg2) + 1;
31132     char *copied;
31133     if (arg1->prejfile) free((char *)arg1->prejfile);
31134     copied = malloc(len);
31135     memcpy(copied, arg2, len);
31136     arg1->prejfile = copied;
31137   }
31138   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31139   return Qnil;
31140 fail:
31141   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31142   return Qnil;
31143 }
31144 
31145 
31146 SWIGINTERN VALUE
_wrap_svn_info_t_prejfile_get(int argc,VALUE * argv,VALUE self)31147 _wrap_svn_info_t_prejfile_get(int argc, VALUE *argv, VALUE self) {
31148   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
31149   void *argp1 = 0 ;
31150   int res1 = 0 ;
31151   char *result = 0 ;
31152   VALUE vresult = Qnil;
31153 
31154   if ((argc < 0) || (argc > 0)) {
31155     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
31156   }
31157   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
31158   if (!SWIG_IsOK(res1)) {
31159     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","prejfile", 1, self ));
31160   }
31161   arg1 = (struct svn_info_t *)(argp1);
31162   result = (char *) ((arg1)->prejfile);
31163   {
31164     if (result) {
31165       vresult = rb_str_new2(result);
31166     } else {
31167       vresult = Qnil;
31168     }
31169   }
31170   return vresult;
31171 fail:
31172   return Qnil;
31173 }
31174 
31175 
31176 SWIGINTERN VALUE
_wrap_svn_info_t_changelist_set(int argc,VALUE * argv,VALUE self)31177 _wrap_svn_info_t_changelist_set(int argc, VALUE *argv, VALUE self) {
31178   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
31179   char *arg2 = (char *) 0 ;
31180   void *argp1 = 0 ;
31181   int res1 = 0 ;
31182 
31183   if ((argc < 1) || (argc > 1)) {
31184     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
31185   }
31186   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
31187   if (!SWIG_IsOK(res1)) {
31188     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","changelist", 1, self ));
31189   }
31190   arg1 = (struct svn_info_t *)(argp1);
31191   {
31192     arg2 = StringValueCStr(argv[0]);
31193   }
31194   {
31195     apr_size_t len = strlen(arg2) + 1;
31196     char *copied;
31197     if (arg1->changelist) free((char *)arg1->changelist);
31198     copied = malloc(len);
31199     memcpy(copied, arg2, len);
31200     arg1->changelist = copied;
31201   }
31202   return Qnil;
31203 fail:
31204   return Qnil;
31205 }
31206 
31207 
31208 SWIGINTERN VALUE
_wrap_svn_info_t_changelist_get(int argc,VALUE * argv,VALUE self)31209 _wrap_svn_info_t_changelist_get(int argc, VALUE *argv, VALUE self) {
31210   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
31211   void *argp1 = 0 ;
31212   int res1 = 0 ;
31213   char *result = 0 ;
31214   VALUE vresult = Qnil;
31215 
31216   if ((argc < 0) || (argc > 0)) {
31217     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
31218   }
31219   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
31220   if (!SWIG_IsOK(res1)) {
31221     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","changelist", 1, self ));
31222   }
31223   arg1 = (struct svn_info_t *)(argp1);
31224   result = (char *) ((arg1)->changelist);
31225   {
31226     if (result) {
31227       vresult = rb_str_new2(result);
31228     } else {
31229       vresult = Qnil;
31230     }
31231   }
31232   return vresult;
31233 fail:
31234   return Qnil;
31235 }
31236 
31237 
31238 SWIGINTERN VALUE
_wrap_svn_info_t_depth_set(int argc,VALUE * argv,VALUE self)31239 _wrap_svn_info_t_depth_set(int argc, VALUE *argv, VALUE self) {
31240   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
31241   svn_depth_t arg2 ;
31242   void *argp1 = 0 ;
31243   int res1 = 0 ;
31244 
31245   if ((argc < 1) || (argc > 1)) {
31246     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
31247   }
31248   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
31249   if (!SWIG_IsOK(res1)) {
31250     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","depth", 1, self ));
31251   }
31252   arg1 = (struct svn_info_t *)(argp1);
31253   {
31254     arg2 = svn_swig_rb_to_depth(argv[0]);
31255   }
31256   if (arg1) (arg1)->depth = arg2;
31257   return Qnil;
31258 fail:
31259   return Qnil;
31260 }
31261 
31262 
31263 SWIGINTERN VALUE
_wrap_svn_info_t_depth_get(int argc,VALUE * argv,VALUE self)31264 _wrap_svn_info_t_depth_get(int argc, VALUE *argv, VALUE self) {
31265   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
31266   void *argp1 = 0 ;
31267   int res1 = 0 ;
31268   svn_depth_t result;
31269   VALUE vresult = Qnil;
31270 
31271   if ((argc < 0) || (argc > 0)) {
31272     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
31273   }
31274   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
31275   if (!SWIG_IsOK(res1)) {
31276     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","depth", 1, self ));
31277   }
31278   arg1 = (struct svn_info_t *)(argp1);
31279   result = (svn_depth_t) ((arg1)->depth);
31280   vresult = SWIG_From_int((int)(result));
31281   return vresult;
31282 fail:
31283   return Qnil;
31284 }
31285 
31286 
31287 SWIGINTERN VALUE
_wrap_svn_info_t_working_size_set(int argc,VALUE * argv,VALUE self)31288 _wrap_svn_info_t_working_size_set(int argc, VALUE *argv, VALUE self) {
31289   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
31290   apr_size_t arg2 ;
31291   void *argp1 = 0 ;
31292   int res1 = 0 ;
31293   unsigned long val2 ;
31294   int ecode2 = 0 ;
31295 
31296   if ((argc < 1) || (argc > 1)) {
31297     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
31298   }
31299   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
31300   if (!SWIG_IsOK(res1)) {
31301     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","working_size", 1, self ));
31302   }
31303   arg1 = (struct svn_info_t *)(argp1);
31304   ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
31305   if (!SWIG_IsOK(ecode2)) {
31306     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "apr_size_t","working_size", 2, argv[0] ));
31307   }
31308   arg2 = (apr_size_t)(val2);
31309   if (arg1) (arg1)->working_size = arg2;
31310   return Qnil;
31311 fail:
31312   return Qnil;
31313 }
31314 
31315 
31316 SWIGINTERN VALUE
_wrap_svn_info_t_working_size_get(int argc,VALUE * argv,VALUE self)31317 _wrap_svn_info_t_working_size_get(int argc, VALUE *argv, VALUE self) {
31318   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
31319   void *argp1 = 0 ;
31320   int res1 = 0 ;
31321   apr_size_t result;
31322   VALUE vresult = Qnil;
31323 
31324   if ((argc < 0) || (argc > 0)) {
31325     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
31326   }
31327   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
31328   if (!SWIG_IsOK(res1)) {
31329     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","working_size", 1, self ));
31330   }
31331   arg1 = (struct svn_info_t *)(argp1);
31332   result =  ((arg1)->working_size);
31333   vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
31334   return vresult;
31335 fail:
31336   return Qnil;
31337 }
31338 
31339 
31340 
31341 /*
31342   Document-method: Svn::Ext::Client::svn_info_t.size
31343 
31344   call-seq:
31345     size -> apr_size_t
31346 
31347 Size or Length of the svn_info_t.
31348 */
31349 
31350 /*
31351   Document-method: Svn::Ext::Client::svn_info_t.size=
31352 
31353   call-seq:
31354     size=(x) -> apr_size_t
31355 
31356 Size or Length of the svn_info_t.
31357 */
31358 SWIGINTERN VALUE
_wrap_svn_info_t_size_set(int argc,VALUE * argv,VALUE self)31359 _wrap_svn_info_t_size_set(int argc, VALUE *argv, VALUE self) {
31360   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
31361   apr_size_t arg2 ;
31362   void *argp1 = 0 ;
31363   int res1 = 0 ;
31364   unsigned long val2 ;
31365   int ecode2 = 0 ;
31366 
31367   if ((argc < 1) || (argc > 1)) {
31368     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
31369   }
31370   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
31371   if (!SWIG_IsOK(res1)) {
31372     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","size", 1, self ));
31373   }
31374   arg1 = (struct svn_info_t *)(argp1);
31375   ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
31376   if (!SWIG_IsOK(ecode2)) {
31377     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "apr_size_t","size", 2, argv[0] ));
31378   }
31379   arg2 = (apr_size_t)(val2);
31380   if (arg1) (arg1)->size = arg2;
31381   return Qnil;
31382 fail:
31383   return Qnil;
31384 }
31385 
31386 
31387 SWIGINTERN VALUE
_wrap_svn_info_t_size_get(int argc,VALUE * argv,VALUE self)31388 _wrap_svn_info_t_size_get(int argc, VALUE *argv, VALUE self) {
31389   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
31390   void *argp1 = 0 ;
31391   int res1 = 0 ;
31392   apr_size_t result;
31393   VALUE vresult = Qnil;
31394 
31395   if ((argc < 0) || (argc > 0)) {
31396     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
31397   }
31398   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
31399   if (!SWIG_IsOK(res1)) {
31400     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","size", 1, self ));
31401   }
31402   arg1 = (struct svn_info_t *)(argp1);
31403   result =  ((arg1)->size);
31404   vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
31405   return vresult;
31406 fail:
31407   return Qnil;
31408 }
31409 
31410 
31411 SWIGINTERN VALUE
_wrap_svn_info_t_size64_set(int argc,VALUE * argv,VALUE self)31412 _wrap_svn_info_t_size64_set(int argc, VALUE *argv, VALUE self) {
31413   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
31414   svn_filesize_t arg2 ;
31415   void *argp1 = 0 ;
31416   int res1 = 0 ;
31417 
31418   if ((argc < 1) || (argc > 1)) {
31419     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
31420   }
31421   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
31422   if (!SWIG_IsOK(res1)) {
31423     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","size64", 1, self ));
31424   }
31425   arg1 = (struct svn_info_t *)(argp1);
31426   {
31427     arg2 = (svn_filesize_t)NUM2LL(argv[0]);
31428   }
31429   if (arg1) (arg1)->size64 = arg2;
31430   return Qnil;
31431 fail:
31432   return Qnil;
31433 }
31434 
31435 
31436 SWIGINTERN VALUE
_wrap_svn_info_t_size64_get(int argc,VALUE * argv,VALUE self)31437 _wrap_svn_info_t_size64_get(int argc, VALUE *argv, VALUE self) {
31438   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
31439   void *argp1 = 0 ;
31440   int res1 = 0 ;
31441   svn_filesize_t result;
31442   VALUE vresult = Qnil;
31443 
31444   if ((argc < 0) || (argc > 0)) {
31445     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
31446   }
31447   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
31448   if (!SWIG_IsOK(res1)) {
31449     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","size64", 1, self ));
31450   }
31451   arg1 = (struct svn_info_t *)(argp1);
31452   result =  ((arg1)->size64);
31453   {
31454     vresult = LL2NUM((svn_filesize_t)(result));
31455   }
31456   return vresult;
31457 fail:
31458   return Qnil;
31459 }
31460 
31461 
31462 SWIGINTERN VALUE
_wrap_svn_info_t_working_size64_set(int argc,VALUE * argv,VALUE self)31463 _wrap_svn_info_t_working_size64_set(int argc, VALUE *argv, VALUE self) {
31464   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
31465   svn_filesize_t arg2 ;
31466   void *argp1 = 0 ;
31467   int res1 = 0 ;
31468 
31469   if ((argc < 1) || (argc > 1)) {
31470     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
31471   }
31472   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
31473   if (!SWIG_IsOK(res1)) {
31474     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","working_size64", 1, self ));
31475   }
31476   arg1 = (struct svn_info_t *)(argp1);
31477   {
31478     arg2 = (svn_filesize_t)NUM2LL(argv[0]);
31479   }
31480   if (arg1) (arg1)->working_size64 = arg2;
31481   return Qnil;
31482 fail:
31483   return Qnil;
31484 }
31485 
31486 
31487 SWIGINTERN VALUE
_wrap_svn_info_t_working_size64_get(int argc,VALUE * argv,VALUE self)31488 _wrap_svn_info_t_working_size64_get(int argc, VALUE *argv, VALUE self) {
31489   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
31490   void *argp1 = 0 ;
31491   int res1 = 0 ;
31492   svn_filesize_t result;
31493   VALUE vresult = Qnil;
31494 
31495   if ((argc < 0) || (argc > 0)) {
31496     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
31497   }
31498   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
31499   if (!SWIG_IsOK(res1)) {
31500     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","working_size64", 1, self ));
31501   }
31502   arg1 = (struct svn_info_t *)(argp1);
31503   result =  ((arg1)->working_size64);
31504   {
31505     vresult = LL2NUM((svn_filesize_t)(result));
31506   }
31507   return vresult;
31508 fail:
31509   return Qnil;
31510 }
31511 
31512 
31513 SWIGINTERN VALUE
_wrap_svn_info_t_tree_conflict_set(int argc,VALUE * argv,VALUE self)31514 _wrap_svn_info_t_tree_conflict_set(int argc, VALUE *argv, VALUE self) {
31515   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
31516   svn_wc_conflict_description_t *arg2 = (svn_wc_conflict_description_t *) 0 ;
31517   void *argp1 = 0 ;
31518   int res1 = 0 ;
31519   void *argp2 = 0 ;
31520   int res2 = 0 ;
31521 
31522   if ((argc < 1) || (argc > 1)) {
31523     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
31524   }
31525   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
31526   if (!SWIG_IsOK(res1)) {
31527     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","tree_conflict", 1, self ));
31528   }
31529   arg1 = (struct svn_info_t *)(argp1);
31530   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_wc_conflict_description_t, SWIG_POINTER_DISOWN |  0 );
31531   if (!SWIG_IsOK(res2)) {
31532     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_wc_conflict_description_t *","tree_conflict", 2, argv[0] ));
31533   }
31534   arg2 = (svn_wc_conflict_description_t *)(argp2);
31535   if (arg1) (arg1)->tree_conflict = arg2;
31536   return Qnil;
31537 fail:
31538   return Qnil;
31539 }
31540 
31541 
31542 SWIGINTERN VALUE
_wrap_svn_info_t_tree_conflict_get(int argc,VALUE * argv,VALUE self)31543 _wrap_svn_info_t_tree_conflict_get(int argc, VALUE *argv, VALUE self) {
31544   struct svn_info_t *arg1 = (struct svn_info_t *) 0 ;
31545   void *argp1 = 0 ;
31546   int res1 = 0 ;
31547   svn_wc_conflict_description_t *result = 0 ;
31548   VALUE vresult = Qnil;
31549 
31550   if ((argc < 0) || (argc > 0)) {
31551     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
31552   }
31553   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
31554   if (!SWIG_IsOK(res1)) {
31555     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_info_t *","tree_conflict", 1, self ));
31556   }
31557   arg1 = (struct svn_info_t *)(argp1);
31558   result = (svn_wc_conflict_description_t *) ((arg1)->tree_conflict);
31559   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_wc_conflict_description_t, 0 |  0 );
31560   return vresult;
31561 fail:
31562   return Qnil;
31563 }
31564 
31565 
31566 SWIGINTERN VALUE
31567 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_svn_info_t_allocate(VALUE self)31568 _wrap_svn_info_t_allocate(VALUE self)
31569 #else
31570 _wrap_svn_info_t_allocate(int argc, VALUE *argv, VALUE self)
31571 #endif
31572 {
31573   VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_info_t);
31574 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
31575   rb_obj_call_init(vresult, argc, argv);
31576 #endif
31577   return vresult;
31578 }
31579 
31580 
31581 SWIGINTERN VALUE
_wrap_new_svn_info_t(int argc,VALUE * argv,VALUE self)31582 _wrap_new_svn_info_t(int argc, VALUE *argv, VALUE self) {
31583   struct svn_info_t *result = 0 ;
31584 
31585   if ((argc < 0) || (argc > 0)) {
31586     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
31587   }
31588   {
31589     result = (struct svn_info_t *)calloc(1, sizeof(struct svn_info_t));
31590     DATA_PTR(self) = result;
31591 
31592 
31593 
31594   }
31595   return self;
31596 fail:
31597   return Qnil;
31598 }
31599 
31600 
31601 SWIGINTERN void
free_svn_info_t(void * self)31602 free_svn_info_t(void *self) {
31603     struct svn_info_t *arg1 = (struct svn_info_t *)self;
31604     free((char *) arg1);
31605 }
31606 
31607 SWIGINTERN VALUE
_wrap_svn_info_dup(int argc,VALUE * argv,VALUE self)31608 _wrap_svn_info_dup(int argc, VALUE *argv, VALUE self) {
31609   svn_info_t *arg1 = (svn_info_t *) 0 ;
31610   apr_pool_t *arg2 = (apr_pool_t *) 0 ;
31611   VALUE _global_svn_swig_rb_pool ;
31612   apr_pool_t *_global_pool ;
31613   void *argp1 = 0 ;
31614   int res1 = 0 ;
31615   svn_info_t *result = 0 ;
31616   VALUE vresult = Qnil;
31617 
31618   {
31619     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2);
31620     _global_pool = arg2;
31621     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
31622   }
31623   if ((argc < 1) || (argc > 2)) {
31624     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
31625   }
31626   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_info_t, 0 |  0 );
31627   if (!SWIG_IsOK(res1)) {
31628     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_info_t const *","svn_info_dup", 1, argv[0] ));
31629   }
31630   arg1 = (svn_info_t *)(argp1);
31631   if (argc > 1) {
31632 
31633   }
31634   {
31635     result = (svn_info_t *)svn_info_dup((struct svn_info_t const *)arg1,arg2);
31636 
31637 
31638 
31639   }
31640   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_info_t, 0 |  0 );
31641   {
31642     VALUE target;
31643     target = _global_vresult_address == &vresult ? self : vresult;
31644     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
31645     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
31646     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
31647   }
31648   return vresult;
31649 fail:
31650   {
31651     VALUE target;
31652     target = _global_vresult_address == &vresult ? self : vresult;
31653     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
31654     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
31655     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
31656   }
31657   return Qnil;
31658 }
31659 
31660 
31661 static swig_class SwigClassSvn_client_info2_t;
31662 
31663 SWIGINTERN VALUE
_wrap_svn_client_info2_t_URL_set(int argc,VALUE * argv,VALUE self)31664 _wrap_svn_client_info2_t_URL_set(int argc, VALUE *argv, VALUE self) {
31665   struct svn_client_info2_t *arg1 = (struct svn_client_info2_t *) 0 ;
31666   char *arg2 = (char *) 0 ;
31667   void *argp1 = 0 ;
31668   int res1 = 0 ;
31669   int res2 ;
31670   char *buf2 = 0 ;
31671   int alloc2 = 0 ;
31672 
31673   if ((argc < 1) || (argc > 1)) {
31674     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
31675   }
31676   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
31677   if (!SWIG_IsOK(res1)) {
31678     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_info2_t *","URL", 1, self ));
31679   }
31680   arg1 = (struct svn_client_info2_t *)(argp1);
31681   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
31682   if (!SWIG_IsOK(res2)) {
31683     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","URL", 2, argv[0] ));
31684   }
31685   arg2 = (char *)(buf2);
31686   {
31687     apr_size_t len = strlen(arg2) + 1;
31688     char *copied;
31689     if (arg1->URL) free((char *)arg1->URL);
31690     copied = malloc(len);
31691     memcpy(copied, arg2, len);
31692     arg1->URL = copied;
31693   }
31694   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31695   return Qnil;
31696 fail:
31697   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31698   return Qnil;
31699 }
31700 
31701 
31702 SWIGINTERN VALUE
_wrap_svn_client_info2_t_URL_get(int argc,VALUE * argv,VALUE self)31703 _wrap_svn_client_info2_t_URL_get(int argc, VALUE *argv, VALUE self) {
31704   struct svn_client_info2_t *arg1 = (struct svn_client_info2_t *) 0 ;
31705   void *argp1 = 0 ;
31706   int res1 = 0 ;
31707   char *result = 0 ;
31708   VALUE vresult = Qnil;
31709 
31710   if ((argc < 0) || (argc > 0)) {
31711     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
31712   }
31713   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
31714   if (!SWIG_IsOK(res1)) {
31715     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_info2_t *","URL", 1, self ));
31716   }
31717   arg1 = (struct svn_client_info2_t *)(argp1);
31718   result = (char *) ((arg1)->URL);
31719   {
31720     if (result) {
31721       vresult = rb_str_new2(result);
31722     } else {
31723       vresult = Qnil;
31724     }
31725   }
31726   return vresult;
31727 fail:
31728   return Qnil;
31729 }
31730 
31731 
31732 SWIGINTERN VALUE
_wrap_svn_client_info2_t_rev_set(int argc,VALUE * argv,VALUE self)31733 _wrap_svn_client_info2_t_rev_set(int argc, VALUE *argv, VALUE self) {
31734   struct svn_client_info2_t *arg1 = (struct svn_client_info2_t *) 0 ;
31735   svn_revnum_t arg2 ;
31736   void *argp1 = 0 ;
31737   int res1 = 0 ;
31738   long val2 ;
31739   int ecode2 = 0 ;
31740 
31741   if ((argc < 1) || (argc > 1)) {
31742     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
31743   }
31744   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
31745   if (!SWIG_IsOK(res1)) {
31746     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_info2_t *","rev", 1, self ));
31747   }
31748   arg1 = (struct svn_client_info2_t *)(argp1);
31749   ecode2 = SWIG_AsVal_long(argv[0], &val2);
31750   if (!SWIG_IsOK(ecode2)) {
31751     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","rev", 2, argv[0] ));
31752   }
31753   arg2 = (svn_revnum_t)(val2);
31754   if (arg1) (arg1)->rev = arg2;
31755   return Qnil;
31756 fail:
31757   return Qnil;
31758 }
31759 
31760 
31761 SWIGINTERN VALUE
_wrap_svn_client_info2_t_rev_get(int argc,VALUE * argv,VALUE self)31762 _wrap_svn_client_info2_t_rev_get(int argc, VALUE *argv, VALUE self) {
31763   struct svn_client_info2_t *arg1 = (struct svn_client_info2_t *) 0 ;
31764   void *argp1 = 0 ;
31765   int res1 = 0 ;
31766   svn_revnum_t result;
31767   VALUE vresult = Qnil;
31768 
31769   if ((argc < 0) || (argc > 0)) {
31770     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
31771   }
31772   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
31773   if (!SWIG_IsOK(res1)) {
31774     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_info2_t *","rev", 1, self ));
31775   }
31776   arg1 = (struct svn_client_info2_t *)(argp1);
31777   result = (svn_revnum_t) ((arg1)->rev);
31778   vresult = SWIG_From_long((long)(result));
31779   return vresult;
31780 fail:
31781   return Qnil;
31782 }
31783 
31784 
31785 SWIGINTERN VALUE
_wrap_svn_client_info2_t_repos_root_URL_set(int argc,VALUE * argv,VALUE self)31786 _wrap_svn_client_info2_t_repos_root_URL_set(int argc, VALUE *argv, VALUE self) {
31787   struct svn_client_info2_t *arg1 = (struct svn_client_info2_t *) 0 ;
31788   char *arg2 = (char *) 0 ;
31789   void *argp1 = 0 ;
31790   int res1 = 0 ;
31791   int res2 ;
31792   char *buf2 = 0 ;
31793   int alloc2 = 0 ;
31794 
31795   if ((argc < 1) || (argc > 1)) {
31796     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
31797   }
31798   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
31799   if (!SWIG_IsOK(res1)) {
31800     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_info2_t *","repos_root_URL", 1, self ));
31801   }
31802   arg1 = (struct svn_client_info2_t *)(argp1);
31803   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
31804   if (!SWIG_IsOK(res2)) {
31805     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","repos_root_URL", 2, argv[0] ));
31806   }
31807   arg2 = (char *)(buf2);
31808   {
31809     apr_size_t len = strlen(arg2) + 1;
31810     char *copied;
31811     if (arg1->repos_root_URL) free((char *)arg1->repos_root_URL);
31812     copied = malloc(len);
31813     memcpy(copied, arg2, len);
31814     arg1->repos_root_URL = copied;
31815   }
31816   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31817   return Qnil;
31818 fail:
31819   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31820   return Qnil;
31821 }
31822 
31823 
31824 SWIGINTERN VALUE
_wrap_svn_client_info2_t_repos_root_URL_get(int argc,VALUE * argv,VALUE self)31825 _wrap_svn_client_info2_t_repos_root_URL_get(int argc, VALUE *argv, VALUE self) {
31826   struct svn_client_info2_t *arg1 = (struct svn_client_info2_t *) 0 ;
31827   void *argp1 = 0 ;
31828   int res1 = 0 ;
31829   char *result = 0 ;
31830   VALUE vresult = Qnil;
31831 
31832   if ((argc < 0) || (argc > 0)) {
31833     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
31834   }
31835   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
31836   if (!SWIG_IsOK(res1)) {
31837     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_info2_t *","repos_root_URL", 1, self ));
31838   }
31839   arg1 = (struct svn_client_info2_t *)(argp1);
31840   result = (char *) ((arg1)->repos_root_URL);
31841   {
31842     if (result) {
31843       vresult = rb_str_new2(result);
31844     } else {
31845       vresult = Qnil;
31846     }
31847   }
31848   return vresult;
31849 fail:
31850   return Qnil;
31851 }
31852 
31853 
31854 SWIGINTERN VALUE
_wrap_svn_client_info2_t_repos_UUID_set(int argc,VALUE * argv,VALUE self)31855 _wrap_svn_client_info2_t_repos_UUID_set(int argc, VALUE *argv, VALUE self) {
31856   struct svn_client_info2_t *arg1 = (struct svn_client_info2_t *) 0 ;
31857   char *arg2 = (char *) 0 ;
31858   void *argp1 = 0 ;
31859   int res1 = 0 ;
31860   int res2 ;
31861   char *buf2 = 0 ;
31862   int alloc2 = 0 ;
31863 
31864   if ((argc < 1) || (argc > 1)) {
31865     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
31866   }
31867   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
31868   if (!SWIG_IsOK(res1)) {
31869     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_info2_t *","repos_UUID", 1, self ));
31870   }
31871   arg1 = (struct svn_client_info2_t *)(argp1);
31872   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
31873   if (!SWIG_IsOK(res2)) {
31874     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","repos_UUID", 2, argv[0] ));
31875   }
31876   arg2 = (char *)(buf2);
31877   {
31878     apr_size_t len = strlen(arg2) + 1;
31879     char *copied;
31880     if (arg1->repos_UUID) free((char *)arg1->repos_UUID);
31881     copied = malloc(len);
31882     memcpy(copied, arg2, len);
31883     arg1->repos_UUID = copied;
31884   }
31885   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31886   return Qnil;
31887 fail:
31888   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31889   return Qnil;
31890 }
31891 
31892 
31893 SWIGINTERN VALUE
_wrap_svn_client_info2_t_repos_UUID_get(int argc,VALUE * argv,VALUE self)31894 _wrap_svn_client_info2_t_repos_UUID_get(int argc, VALUE *argv, VALUE self) {
31895   struct svn_client_info2_t *arg1 = (struct svn_client_info2_t *) 0 ;
31896   void *argp1 = 0 ;
31897   int res1 = 0 ;
31898   char *result = 0 ;
31899   VALUE vresult = Qnil;
31900 
31901   if ((argc < 0) || (argc > 0)) {
31902     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
31903   }
31904   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
31905   if (!SWIG_IsOK(res1)) {
31906     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_info2_t *","repos_UUID", 1, self ));
31907   }
31908   arg1 = (struct svn_client_info2_t *)(argp1);
31909   result = (char *) ((arg1)->repos_UUID);
31910   {
31911     if (result) {
31912       vresult = rb_str_new2(result);
31913     } else {
31914       vresult = Qnil;
31915     }
31916   }
31917   return vresult;
31918 fail:
31919   return Qnil;
31920 }
31921 
31922 
31923 SWIGINTERN VALUE
_wrap_svn_client_info2_t_kind_set(int argc,VALUE * argv,VALUE self)31924 _wrap_svn_client_info2_t_kind_set(int argc, VALUE *argv, VALUE self) {
31925   struct svn_client_info2_t *arg1 = (struct svn_client_info2_t *) 0 ;
31926   svn_node_kind_t arg2 ;
31927   void *argp1 = 0 ;
31928   int res1 = 0 ;
31929   int val2 ;
31930   int ecode2 = 0 ;
31931 
31932   if ((argc < 1) || (argc > 1)) {
31933     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
31934   }
31935   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
31936   if (!SWIG_IsOK(res1)) {
31937     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_info2_t *","kind", 1, self ));
31938   }
31939   arg1 = (struct svn_client_info2_t *)(argp1);
31940   ecode2 = SWIG_AsVal_int(argv[0], &val2);
31941   if (!SWIG_IsOK(ecode2)) {
31942     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_node_kind_t","kind", 2, argv[0] ));
31943   }
31944   arg2 = (svn_node_kind_t)(val2);
31945   if (arg1) (arg1)->kind = arg2;
31946   return Qnil;
31947 fail:
31948   return Qnil;
31949 }
31950 
31951 
31952 SWIGINTERN VALUE
_wrap_svn_client_info2_t_kind_get(int argc,VALUE * argv,VALUE self)31953 _wrap_svn_client_info2_t_kind_get(int argc, VALUE *argv, VALUE self) {
31954   struct svn_client_info2_t *arg1 = (struct svn_client_info2_t *) 0 ;
31955   void *argp1 = 0 ;
31956   int res1 = 0 ;
31957   svn_node_kind_t result;
31958   VALUE vresult = Qnil;
31959 
31960   if ((argc < 0) || (argc > 0)) {
31961     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
31962   }
31963   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
31964   if (!SWIG_IsOK(res1)) {
31965     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_info2_t *","kind", 1, self ));
31966   }
31967   arg1 = (struct svn_client_info2_t *)(argp1);
31968   result = (svn_node_kind_t) ((arg1)->kind);
31969   vresult = SWIG_From_int((int)(result));
31970   return vresult;
31971 fail:
31972   return Qnil;
31973 }
31974 
31975 
31976 
31977 /*
31978   Document-method: Svn::Ext::Client::svn_client_info2_t.size
31979 
31980   call-seq:
31981     size -> svn_filesize_t
31982 
31983 Size or Length of the svn_client_info2_t.
31984 */
31985 
31986 /*
31987   Document-method: Svn::Ext::Client::svn_client_info2_t.size=
31988 
31989   call-seq:
31990     size=(x) -> svn_filesize_t
31991 
31992 Size or Length of the svn_client_info2_t.
31993 */
31994 SWIGINTERN VALUE
_wrap_svn_client_info2_t_size_set(int argc,VALUE * argv,VALUE self)31995 _wrap_svn_client_info2_t_size_set(int argc, VALUE *argv, VALUE self) {
31996   struct svn_client_info2_t *arg1 = (struct svn_client_info2_t *) 0 ;
31997   svn_filesize_t arg2 ;
31998   void *argp1 = 0 ;
31999   int res1 = 0 ;
32000 
32001   if ((argc < 1) || (argc > 1)) {
32002     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
32003   }
32004   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
32005   if (!SWIG_IsOK(res1)) {
32006     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_info2_t *","size", 1, self ));
32007   }
32008   arg1 = (struct svn_client_info2_t *)(argp1);
32009   {
32010     arg2 = (svn_filesize_t)NUM2LL(argv[0]);
32011   }
32012   if (arg1) (arg1)->size = arg2;
32013   return Qnil;
32014 fail:
32015   return Qnil;
32016 }
32017 
32018 
32019 SWIGINTERN VALUE
_wrap_svn_client_info2_t_size_get(int argc,VALUE * argv,VALUE self)32020 _wrap_svn_client_info2_t_size_get(int argc, VALUE *argv, VALUE self) {
32021   struct svn_client_info2_t *arg1 = (struct svn_client_info2_t *) 0 ;
32022   void *argp1 = 0 ;
32023   int res1 = 0 ;
32024   svn_filesize_t result;
32025   VALUE vresult = Qnil;
32026 
32027   if ((argc < 0) || (argc > 0)) {
32028     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
32029   }
32030   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
32031   if (!SWIG_IsOK(res1)) {
32032     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_info2_t *","size", 1, self ));
32033   }
32034   arg1 = (struct svn_client_info2_t *)(argp1);
32035   result =  ((arg1)->size);
32036   {
32037     vresult = LL2NUM((svn_filesize_t)(result));
32038   }
32039   return vresult;
32040 fail:
32041   return Qnil;
32042 }
32043 
32044 
32045 SWIGINTERN VALUE
_wrap_svn_client_info2_t_last_changed_rev_set(int argc,VALUE * argv,VALUE self)32046 _wrap_svn_client_info2_t_last_changed_rev_set(int argc, VALUE *argv, VALUE self) {
32047   struct svn_client_info2_t *arg1 = (struct svn_client_info2_t *) 0 ;
32048   svn_revnum_t arg2 ;
32049   void *argp1 = 0 ;
32050   int res1 = 0 ;
32051   long val2 ;
32052   int ecode2 = 0 ;
32053 
32054   if ((argc < 1) || (argc > 1)) {
32055     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
32056   }
32057   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
32058   if (!SWIG_IsOK(res1)) {
32059     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_info2_t *","last_changed_rev", 1, self ));
32060   }
32061   arg1 = (struct svn_client_info2_t *)(argp1);
32062   ecode2 = SWIG_AsVal_long(argv[0], &val2);
32063   if (!SWIG_IsOK(ecode2)) {
32064     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","last_changed_rev", 2, argv[0] ));
32065   }
32066   arg2 = (svn_revnum_t)(val2);
32067   if (arg1) (arg1)->last_changed_rev = arg2;
32068   return Qnil;
32069 fail:
32070   return Qnil;
32071 }
32072 
32073 
32074 SWIGINTERN VALUE
_wrap_svn_client_info2_t_last_changed_rev_get(int argc,VALUE * argv,VALUE self)32075 _wrap_svn_client_info2_t_last_changed_rev_get(int argc, VALUE *argv, VALUE self) {
32076   struct svn_client_info2_t *arg1 = (struct svn_client_info2_t *) 0 ;
32077   void *argp1 = 0 ;
32078   int res1 = 0 ;
32079   svn_revnum_t result;
32080   VALUE vresult = Qnil;
32081 
32082   if ((argc < 0) || (argc > 0)) {
32083     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
32084   }
32085   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
32086   if (!SWIG_IsOK(res1)) {
32087     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_info2_t *","last_changed_rev", 1, self ));
32088   }
32089   arg1 = (struct svn_client_info2_t *)(argp1);
32090   result = (svn_revnum_t) ((arg1)->last_changed_rev);
32091   vresult = SWIG_From_long((long)(result));
32092   return vresult;
32093 fail:
32094   return Qnil;
32095 }
32096 
32097 
32098 SWIGINTERN VALUE
_wrap_svn_client_info2_t_last_changed_date_set(int argc,VALUE * argv,VALUE self)32099 _wrap_svn_client_info2_t_last_changed_date_set(int argc, VALUE *argv, VALUE self) {
32100   struct svn_client_info2_t *arg1 = (struct svn_client_info2_t *) 0 ;
32101   apr_time_t arg2 ;
32102   void *argp1 = 0 ;
32103   int res1 = 0 ;
32104 
32105   if ((argc < 1) || (argc > 1)) {
32106     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
32107   }
32108   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
32109   if (!SWIG_IsOK(res1)) {
32110     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_info2_t *","last_changed_date", 1, self ));
32111   }
32112   arg1 = (struct svn_client_info2_t *)(argp1);
32113   {
32114     arg2 = (apr_time_t)NUM2LL(argv[0]);
32115   }
32116   if (arg1) (arg1)->last_changed_date = arg2;
32117   return Qnil;
32118 fail:
32119   return Qnil;
32120 }
32121 
32122 
32123 SWIGINTERN VALUE
_wrap_svn_client_info2_t_last_changed_date_get(int argc,VALUE * argv,VALUE self)32124 _wrap_svn_client_info2_t_last_changed_date_get(int argc, VALUE *argv, VALUE self) {
32125   struct svn_client_info2_t *arg1 = (struct svn_client_info2_t *) 0 ;
32126   void *argp1 = 0 ;
32127   int res1 = 0 ;
32128   apr_time_t result;
32129   VALUE vresult = Qnil;
32130 
32131   if ((argc < 0) || (argc > 0)) {
32132     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
32133   }
32134   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
32135   if (!SWIG_IsOK(res1)) {
32136     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_info2_t *","last_changed_date", 1, self ));
32137   }
32138   arg1 = (struct svn_client_info2_t *)(argp1);
32139   result =  ((arg1)->last_changed_date);
32140   {
32141     vresult = LL2NUM((apr_time_t)(result));
32142   }
32143   return vresult;
32144 fail:
32145   return Qnil;
32146 }
32147 
32148 
32149 SWIGINTERN VALUE
_wrap_svn_client_info2_t_last_changed_author_set(int argc,VALUE * argv,VALUE self)32150 _wrap_svn_client_info2_t_last_changed_author_set(int argc, VALUE *argv, VALUE self) {
32151   struct svn_client_info2_t *arg1 = (struct svn_client_info2_t *) 0 ;
32152   char *arg2 = (char *) 0 ;
32153   void *argp1 = 0 ;
32154   int res1 = 0 ;
32155   int res2 ;
32156   char *buf2 = 0 ;
32157   int alloc2 = 0 ;
32158 
32159   if ((argc < 1) || (argc > 1)) {
32160     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
32161   }
32162   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
32163   if (!SWIG_IsOK(res1)) {
32164     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_info2_t *","last_changed_author", 1, self ));
32165   }
32166   arg1 = (struct svn_client_info2_t *)(argp1);
32167   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
32168   if (!SWIG_IsOK(res2)) {
32169     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","last_changed_author", 2, argv[0] ));
32170   }
32171   arg2 = (char *)(buf2);
32172   {
32173     apr_size_t len = strlen(arg2) + 1;
32174     char *copied;
32175     if (arg1->last_changed_author) free((char *)arg1->last_changed_author);
32176     copied = malloc(len);
32177     memcpy(copied, arg2, len);
32178     arg1->last_changed_author = copied;
32179   }
32180   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32181   return Qnil;
32182 fail:
32183   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32184   return Qnil;
32185 }
32186 
32187 
32188 SWIGINTERN VALUE
_wrap_svn_client_info2_t_last_changed_author_get(int argc,VALUE * argv,VALUE self)32189 _wrap_svn_client_info2_t_last_changed_author_get(int argc, VALUE *argv, VALUE self) {
32190   struct svn_client_info2_t *arg1 = (struct svn_client_info2_t *) 0 ;
32191   void *argp1 = 0 ;
32192   int res1 = 0 ;
32193   char *result = 0 ;
32194   VALUE vresult = Qnil;
32195 
32196   if ((argc < 0) || (argc > 0)) {
32197     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
32198   }
32199   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
32200   if (!SWIG_IsOK(res1)) {
32201     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_info2_t *","last_changed_author", 1, self ));
32202   }
32203   arg1 = (struct svn_client_info2_t *)(argp1);
32204   result = (char *) ((arg1)->last_changed_author);
32205   {
32206     if (result) {
32207       vresult = rb_str_new2(result);
32208     } else {
32209       vresult = Qnil;
32210     }
32211   }
32212   return vresult;
32213 fail:
32214   return Qnil;
32215 }
32216 
32217 
32218 SWIGINTERN VALUE
_wrap_svn_client_info2_t_lock_set(int argc,VALUE * argv,VALUE self)32219 _wrap_svn_client_info2_t_lock_set(int argc, VALUE *argv, VALUE self) {
32220   struct svn_client_info2_t *arg1 = (struct svn_client_info2_t *) 0 ;
32221   svn_lock_t *arg2 = (svn_lock_t *) 0 ;
32222   void *argp1 = 0 ;
32223   int res1 = 0 ;
32224   void *argp2 = 0 ;
32225   int res2 = 0 ;
32226 
32227   if ((argc < 1) || (argc > 1)) {
32228     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
32229   }
32230   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
32231   if (!SWIG_IsOK(res1)) {
32232     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_info2_t *","lock", 1, self ));
32233   }
32234   arg1 = (struct svn_client_info2_t *)(argp1);
32235   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_lock_t, SWIG_POINTER_DISOWN |  0 );
32236   if (!SWIG_IsOK(res2)) {
32237     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_lock_t const *","lock", 2, argv[0] ));
32238   }
32239   arg2 = (svn_lock_t *)(argp2);
32240   if (arg1) (arg1)->lock = (svn_lock_t const *)arg2;
32241   return Qnil;
32242 fail:
32243   return Qnil;
32244 }
32245 
32246 
32247 SWIGINTERN VALUE
_wrap_svn_client_info2_t_lock_get(int argc,VALUE * argv,VALUE self)32248 _wrap_svn_client_info2_t_lock_get(int argc, VALUE *argv, VALUE self) {
32249   struct svn_client_info2_t *arg1 = (struct svn_client_info2_t *) 0 ;
32250   void *argp1 = 0 ;
32251   int res1 = 0 ;
32252   svn_lock_t *result = 0 ;
32253   VALUE vresult = Qnil;
32254 
32255   if ((argc < 0) || (argc > 0)) {
32256     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
32257   }
32258   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
32259   if (!SWIG_IsOK(res1)) {
32260     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_info2_t *","lock", 1, self ));
32261   }
32262   arg1 = (struct svn_client_info2_t *)(argp1);
32263   result = (svn_lock_t *) ((arg1)->lock);
32264   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_lock_t, 0 |  0 );
32265   return vresult;
32266 fail:
32267   return Qnil;
32268 }
32269 
32270 
32271 SWIGINTERN VALUE
_wrap_svn_client_info2_t_wc_info_set(int argc,VALUE * argv,VALUE self)32272 _wrap_svn_client_info2_t_wc_info_set(int argc, VALUE *argv, VALUE self) {
32273   struct svn_client_info2_t *arg1 = (struct svn_client_info2_t *) 0 ;
32274   svn_wc_info_t *arg2 = (svn_wc_info_t *) 0 ;
32275   void *argp1 = 0 ;
32276   int res1 = 0 ;
32277   void *argp2 = 0 ;
32278   int res2 = 0 ;
32279 
32280   if ((argc < 1) || (argc > 1)) {
32281     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
32282   }
32283   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
32284   if (!SWIG_IsOK(res1)) {
32285     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_info2_t *","wc_info", 1, self ));
32286   }
32287   arg1 = (struct svn_client_info2_t *)(argp1);
32288   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_wc_info_t, SWIG_POINTER_DISOWN |  0 );
32289   if (!SWIG_IsOK(res2)) {
32290     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_wc_info_t const *","wc_info", 2, argv[0] ));
32291   }
32292   arg2 = (svn_wc_info_t *)(argp2);
32293   if (arg1) (arg1)->wc_info = (svn_wc_info_t const *)arg2;
32294   return Qnil;
32295 fail:
32296   return Qnil;
32297 }
32298 
32299 
32300 SWIGINTERN VALUE
_wrap_svn_client_info2_t_wc_info_get(int argc,VALUE * argv,VALUE self)32301 _wrap_svn_client_info2_t_wc_info_get(int argc, VALUE *argv, VALUE self) {
32302   struct svn_client_info2_t *arg1 = (struct svn_client_info2_t *) 0 ;
32303   void *argp1 = 0 ;
32304   int res1 = 0 ;
32305   svn_wc_info_t *result = 0 ;
32306   VALUE vresult = Qnil;
32307 
32308   if ((argc < 0) || (argc > 0)) {
32309     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
32310   }
32311   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
32312   if (!SWIG_IsOK(res1)) {
32313     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_info2_t *","wc_info", 1, self ));
32314   }
32315   arg1 = (struct svn_client_info2_t *)(argp1);
32316   result = (svn_wc_info_t *) ((arg1)->wc_info);
32317   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_wc_info_t, 0 |  0 );
32318   return vresult;
32319 fail:
32320   return Qnil;
32321 }
32322 
32323 
32324 SWIGINTERN VALUE
32325 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_svn_client_info2_t_allocate(VALUE self)32326 _wrap_svn_client_info2_t_allocate(VALUE self)
32327 #else
32328 _wrap_svn_client_info2_t_allocate(int argc, VALUE *argv, VALUE self)
32329 #endif
32330 {
32331   VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_client_info2_t);
32332 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
32333   rb_obj_call_init(vresult, argc, argv);
32334 #endif
32335   return vresult;
32336 }
32337 
32338 
32339 SWIGINTERN VALUE
_wrap_new_svn_client_info2_t(int argc,VALUE * argv,VALUE self)32340 _wrap_new_svn_client_info2_t(int argc, VALUE *argv, VALUE self) {
32341   struct svn_client_info2_t *result = 0 ;
32342 
32343   if ((argc < 0) || (argc > 0)) {
32344     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
32345   }
32346   {
32347     result = (struct svn_client_info2_t *)calloc(1, sizeof(struct svn_client_info2_t));
32348     DATA_PTR(self) = result;
32349 
32350 
32351 
32352   }
32353   return self;
32354 fail:
32355   return Qnil;
32356 }
32357 
32358 
32359 SWIGINTERN void
free_svn_client_info2_t(void * self)32360 free_svn_client_info2_t(void *self) {
32361     struct svn_client_info2_t *arg1 = (struct svn_client_info2_t *)self;
32362     free((char *) arg1);
32363 }
32364 
32365 SWIGINTERN VALUE
_wrap_svn_client_info2_dup(int argc,VALUE * argv,VALUE self)32366 _wrap_svn_client_info2_dup(int argc, VALUE *argv, VALUE self) {
32367   svn_client_info2_t *arg1 = (svn_client_info2_t *) 0 ;
32368   apr_pool_t *arg2 = (apr_pool_t *) 0 ;
32369   VALUE _global_svn_swig_rb_pool ;
32370   apr_pool_t *_global_pool ;
32371   void *argp1 = 0 ;
32372   int res1 = 0 ;
32373   svn_client_info2_t *result = 0 ;
32374   VALUE vresult = Qnil;
32375 
32376   {
32377     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2);
32378     _global_pool = arg2;
32379     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
32380   }
32381   if ((argc < 1) || (argc > 2)) {
32382     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
32383   }
32384   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
32385   if (!SWIG_IsOK(res1)) {
32386     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_info2_t const *","svn_client_info2_dup", 1, argv[0] ));
32387   }
32388   arg1 = (svn_client_info2_t *)(argp1);
32389   if (argc > 1) {
32390 
32391   }
32392   {
32393     result = (svn_client_info2_t *)svn_client_info2_dup((struct svn_client_info2_t const *)arg1,arg2);
32394 
32395 
32396 
32397   }
32398   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
32399   {
32400     VALUE target;
32401     target = _global_vresult_address == &vresult ? self : vresult;
32402     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
32403     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
32404     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
32405   }
32406   return vresult;
32407 fail:
32408   {
32409     VALUE target;
32410     target = _global_vresult_address == &vresult ? self : vresult;
32411     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
32412     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
32413     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
32414   }
32415   return Qnil;
32416 }
32417 
32418 
32419 SWIGINTERN VALUE
_wrap_svn_client_info4(int argc,VALUE * argv,VALUE self)32420 _wrap_svn_client_info4(int argc, VALUE *argv, VALUE self) {
32421   char *arg1 = (char *) 0 ;
32422   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
32423   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
32424   svn_depth_t arg4 ;
32425   svn_boolean_t arg5 ;
32426   svn_boolean_t arg6 ;
32427   svn_boolean_t arg7 ;
32428   apr_array_header_t *arg8 = (apr_array_header_t *) 0 ;
32429   svn_client_info_receiver2_t arg9 = (svn_client_info_receiver2_t) 0 ;
32430   void *arg10 = (void *) 0 ;
32431   svn_client_ctx_t *arg11 = (svn_client_ctx_t *) 0 ;
32432   apr_pool_t *arg12 = (apr_pool_t *) 0 ;
32433   VALUE _global_svn_swig_rb_pool ;
32434   apr_pool_t *_global_pool ;
32435   int res1 ;
32436   char *buf1 = 0 ;
32437   int alloc1 = 0 ;
32438   svn_opt_revision_t rev2 ;
32439   svn_opt_revision_t rev3 ;
32440   int res10 ;
32441   void *argp11 = 0 ;
32442   int res11 = 0 ;
32443   svn_error_t *result = 0 ;
32444   VALUE vresult = Qnil;
32445 
32446   {
32447     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg12);
32448     _global_pool = arg12;
32449     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
32450   }
32451   if ((argc < 11) || (argc > 12)) {
32452     rb_raise(rb_eArgError, "wrong # of arguments(%d for 11)",argc); SWIG_fail;
32453   }
32454   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
32455   if (!SWIG_IsOK(res1)) {
32456     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_info4", 1, argv[0] ));
32457   }
32458   arg1 = (char *)(buf1);
32459   {
32460     arg2 = &rev2;
32461     svn_swig_rb_set_revision(&rev2, argv[1]);
32462   }
32463   {
32464     arg3 = &rev3;
32465     svn_swig_rb_set_revision(&rev3, argv[2]);
32466   }
32467   {
32468     arg4 = svn_swig_rb_to_depth(argv[3]);
32469   }
32470   arg5 = RTEST(argv[4]);
32471   arg6 = RTEST(argv[5]);
32472   arg7 = RTEST(argv[6]);
32473   {
32474     arg8 = (NIL_P(argv[7])) ? NULL :
32475     svn_swig_rb_strings_to_apr_array(argv[7], _global_pool);
32476   }
32477   {
32478     int res = SWIG_ConvertFunctionPtr(argv[8], (void**)(&arg9), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_client_info2_t_p_apr_pool_t__p_svn_error_t);
32479     if (!SWIG_IsOK(res)) {
32480       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_info_receiver2_t","svn_client_info4", 9, argv[8] ));
32481     }
32482   }
32483   res10 = SWIG_ConvertPtr(argv[9],SWIG_as_voidptrptr(&arg10), 0, 0);
32484   if (!SWIG_IsOK(res10)) {
32485     SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "void *","svn_client_info4", 10, argv[9] ));
32486   }
32487   res11 = SWIG_ConvertPtr(argv[10], &argp11,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
32488   if (!SWIG_IsOK(res11)) {
32489     SWIG_exception_fail(SWIG_ArgError(res11), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_info4", 11, argv[10] ));
32490   }
32491   arg11 = (svn_client_ctx_t *)(argp11);
32492   if (argc > 11) {
32493 
32494   }
32495   {
32496     if (!arg2) {
32497       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
32498     }
32499   }
32500   {
32501     if (!arg3) {
32502       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
32503     }
32504   }
32505   {
32506     result = (svn_error_t *)svn_client_info4((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,arg5,arg6,arg7,(apr_array_header_t const *)arg8,arg9,arg10,arg11,arg12);
32507 
32508 
32509 
32510   }
32511   {
32512     if (result) {
32513       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
32514       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
32515       svn_swig_rb_handle_svn_error(result);
32516     }
32517     vresult = Qnil;
32518   }
32519   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
32520   {
32521     VALUE target;
32522     target = _global_vresult_address == &vresult ? self : vresult;
32523     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
32524     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
32525     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
32526   }
32527   return vresult;
32528 fail:
32529   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
32530   {
32531     VALUE target;
32532     target = _global_vresult_address == &vresult ? self : vresult;
32533     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
32534     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
32535     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
32536   }
32537   return Qnil;
32538 }
32539 
32540 
32541 SWIGINTERN VALUE
_wrap_svn_client_info3(int argc,VALUE * argv,VALUE self)32542 _wrap_svn_client_info3(int argc, VALUE *argv, VALUE self) {
32543   char *arg1 = (char *) 0 ;
32544   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
32545   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
32546   svn_depth_t arg4 ;
32547   svn_boolean_t arg5 ;
32548   svn_boolean_t arg6 ;
32549   apr_array_header_t *arg7 = (apr_array_header_t *) 0 ;
32550   svn_client_info_receiver2_t arg8 = (svn_client_info_receiver2_t) 0 ;
32551   void *arg9 = (void *) 0 ;
32552   svn_client_ctx_t *arg10 = (svn_client_ctx_t *) 0 ;
32553   apr_pool_t *arg11 = (apr_pool_t *) 0 ;
32554   VALUE _global_svn_swig_rb_pool ;
32555   apr_pool_t *_global_pool ;
32556   int res1 ;
32557   char *buf1 = 0 ;
32558   int alloc1 = 0 ;
32559   svn_opt_revision_t rev2 ;
32560   svn_opt_revision_t rev3 ;
32561   int res9 ;
32562   void *argp10 = 0 ;
32563   int res10 = 0 ;
32564   svn_error_t *result = 0 ;
32565   VALUE vresult = Qnil;
32566 
32567   {
32568     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg11);
32569     _global_pool = arg11;
32570     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
32571   }
32572   if ((argc < 10) || (argc > 11)) {
32573     rb_raise(rb_eArgError, "wrong # of arguments(%d for 10)",argc); SWIG_fail;
32574   }
32575   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
32576   if (!SWIG_IsOK(res1)) {
32577     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_info3", 1, argv[0] ));
32578   }
32579   arg1 = (char *)(buf1);
32580   {
32581     arg2 = &rev2;
32582     svn_swig_rb_set_revision(&rev2, argv[1]);
32583   }
32584   {
32585     arg3 = &rev3;
32586     svn_swig_rb_set_revision(&rev3, argv[2]);
32587   }
32588   {
32589     arg4 = svn_swig_rb_to_depth(argv[3]);
32590   }
32591   arg5 = RTEST(argv[4]);
32592   arg6 = RTEST(argv[5]);
32593   {
32594     arg7 = (NIL_P(argv[6])) ? NULL :
32595     svn_swig_rb_strings_to_apr_array(argv[6], _global_pool);
32596   }
32597   {
32598     int res = SWIG_ConvertFunctionPtr(argv[7], (void**)(&arg8), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_client_info2_t_p_apr_pool_t__p_svn_error_t);
32599     if (!SWIG_IsOK(res)) {
32600       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_info_receiver2_t","svn_client_info3", 8, argv[7] ));
32601     }
32602   }
32603   res9 = SWIG_ConvertPtr(argv[8],SWIG_as_voidptrptr(&arg9), 0, 0);
32604   if (!SWIG_IsOK(res9)) {
32605     SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "void *","svn_client_info3", 9, argv[8] ));
32606   }
32607   res10 = SWIG_ConvertPtr(argv[9], &argp10,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
32608   if (!SWIG_IsOK(res10)) {
32609     SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_info3", 10, argv[9] ));
32610   }
32611   arg10 = (svn_client_ctx_t *)(argp10);
32612   if (argc > 10) {
32613 
32614   }
32615   {
32616     if (!arg2) {
32617       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
32618     }
32619   }
32620   {
32621     if (!arg3) {
32622       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
32623     }
32624   }
32625   {
32626     result = (svn_error_t *)svn_client_info3((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,arg5,arg6,(apr_array_header_t const *)arg7,arg8,arg9,arg10,arg11);
32627 
32628 
32629 
32630   }
32631   {
32632     if (result) {
32633       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
32634       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
32635       svn_swig_rb_handle_svn_error(result);
32636     }
32637     vresult = Qnil;
32638   }
32639   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
32640   {
32641     VALUE target;
32642     target = _global_vresult_address == &vresult ? self : vresult;
32643     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
32644     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
32645     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
32646   }
32647   return vresult;
32648 fail:
32649   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
32650   {
32651     VALUE target;
32652     target = _global_vresult_address == &vresult ? self : vresult;
32653     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
32654     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
32655     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
32656   }
32657   return Qnil;
32658 }
32659 
32660 
32661 SWIGINTERN VALUE
_wrap_svn_client_info2(int argc,VALUE * argv,VALUE self)32662 _wrap_svn_client_info2(int argc, VALUE *argv, VALUE self) {
32663   char *arg1 = (char *) 0 ;
32664   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
32665   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
32666   svn_info_receiver_t arg4 = (svn_info_receiver_t) 0 ;
32667   void *arg5 = (void *) 0 ;
32668   svn_depth_t arg6 ;
32669   apr_array_header_t *arg7 = (apr_array_header_t *) 0 ;
32670   svn_client_ctx_t *arg8 = (svn_client_ctx_t *) 0 ;
32671   apr_pool_t *arg9 = (apr_pool_t *) 0 ;
32672   VALUE _global_svn_swig_rb_pool ;
32673   apr_pool_t *_global_pool ;
32674   int res1 ;
32675   char *buf1 = 0 ;
32676   int alloc1 = 0 ;
32677   svn_opt_revision_t rev2 ;
32678   svn_opt_revision_t rev3 ;
32679   void *argp8 = 0 ;
32680   int res8 = 0 ;
32681   svn_error_t *result = 0 ;
32682   VALUE vresult = Qnil;
32683 
32684   {
32685     int adjusted_argc = argc;
32686     VALUE *adjusted_argv = argv;
32687 
32688     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
32689       &adjusted_argv);
32690     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
32691       &_global_svn_swig_rb_pool, &arg9);
32692     _global_pool = arg9;
32693     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
32694   }
32695   if ((argc < 6) || (argc > 8)) {
32696     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
32697   }
32698   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
32699   if (!SWIG_IsOK(res1)) {
32700     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_info2", 1, argv[0] ));
32701   }
32702   arg1 = (char *)(buf1);
32703   {
32704     arg2 = &rev2;
32705     svn_swig_rb_set_revision(&rev2, argv[1]);
32706   }
32707   {
32708     arg3 = &rev3;
32709     svn_swig_rb_set_revision(&rev3, argv[2]);
32710   }
32711   {
32712     arg4 = svn_swig_rb_info_receiver;
32713     arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
32714   }
32715   {
32716     arg6 = svn_swig_rb_to_depth(argv[4]);
32717   }
32718   {
32719     arg7 = (NIL_P(argv[5])) ? NULL :
32720     svn_swig_rb_strings_to_apr_array(argv[5], _global_pool);
32721   }
32722   if (argc > 6) {
32723     res8 = SWIG_ConvertPtr(argv[6], &argp8,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
32724     if (!SWIG_IsOK(res8)) {
32725       SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_info2", 8, argv[6] ));
32726     }
32727     arg8 = (svn_client_ctx_t *)(argp8);
32728   }
32729   if (argc > 7) {
32730 
32731   }
32732   {
32733     if (!arg2) {
32734       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
32735     }
32736   }
32737   {
32738     if (!arg3) {
32739       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
32740     }
32741   }
32742   {
32743     result = (svn_error_t *)svn_client_info2((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,arg5,arg6,(apr_array_header_t const *)arg7,arg8,arg9);
32744 
32745 
32746 
32747   }
32748   {
32749     if (result) {
32750       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
32751       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
32752       svn_swig_rb_handle_svn_error(result);
32753     }
32754     vresult = Qnil;
32755   }
32756   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
32757   {
32758     VALUE target;
32759     target = _global_vresult_address == &vresult ? self : vresult;
32760     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
32761     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
32762     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
32763   }
32764   return vresult;
32765 fail:
32766   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
32767   {
32768     VALUE target;
32769     target = _global_vresult_address == &vresult ? self : vresult;
32770     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
32771     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
32772     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
32773   }
32774   return Qnil;
32775 }
32776 
32777 
32778 SWIGINTERN VALUE
_wrap_svn_client_info(int argc,VALUE * argv,VALUE self)32779 _wrap_svn_client_info(int argc, VALUE *argv, VALUE self) {
32780   char *arg1 = (char *) 0 ;
32781   svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
32782   svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
32783   svn_info_receiver_t arg4 = (svn_info_receiver_t) 0 ;
32784   void *arg5 = (void *) 0 ;
32785   svn_boolean_t arg6 ;
32786   svn_client_ctx_t *arg7 = (svn_client_ctx_t *) 0 ;
32787   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
32788   VALUE _global_svn_swig_rb_pool ;
32789   apr_pool_t *_global_pool ;
32790   int res1 ;
32791   char *buf1 = 0 ;
32792   int alloc1 = 0 ;
32793   svn_opt_revision_t rev2 ;
32794   svn_opt_revision_t rev3 ;
32795   void *argp7 = 0 ;
32796   int res7 = 0 ;
32797   svn_error_t *result = 0 ;
32798   VALUE vresult = Qnil;
32799 
32800   {
32801     int adjusted_argc = argc;
32802     VALUE *adjusted_argv = argv;
32803 
32804     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
32805       &adjusted_argv);
32806     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
32807       &_global_svn_swig_rb_pool, &arg8);
32808     _global_pool = arg8;
32809     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
32810   }
32811   if ((argc < 5) || (argc > 7)) {
32812     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
32813   }
32814   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
32815   if (!SWIG_IsOK(res1)) {
32816     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_info", 1, argv[0] ));
32817   }
32818   arg1 = (char *)(buf1);
32819   {
32820     arg2 = &rev2;
32821     svn_swig_rb_set_revision(&rev2, argv[1]);
32822   }
32823   {
32824     arg3 = &rev3;
32825     svn_swig_rb_set_revision(&rev3, argv[2]);
32826   }
32827   {
32828     arg4 = svn_swig_rb_info_receiver;
32829     arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
32830   }
32831   arg6 = RTEST(argv[4]);
32832   if (argc > 5) {
32833     res7 = SWIG_ConvertPtr(argv[5], &argp7,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
32834     if (!SWIG_IsOK(res7)) {
32835       SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_info", 7, argv[5] ));
32836     }
32837     arg7 = (svn_client_ctx_t *)(argp7);
32838   }
32839   if (argc > 6) {
32840 
32841   }
32842   {
32843     if (!arg2) {
32844       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
32845     }
32846   }
32847   {
32848     if (!arg3) {
32849       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
32850     }
32851   }
32852   {
32853     result = (svn_error_t *)svn_client_info((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,arg5,arg6,arg7,arg8);
32854 
32855 
32856 
32857   }
32858   {
32859     if (result) {
32860       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
32861       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
32862       svn_swig_rb_handle_svn_error(result);
32863     }
32864     vresult = Qnil;
32865   }
32866   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
32867   {
32868     VALUE target;
32869     target = _global_vresult_address == &vresult ? self : vresult;
32870     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
32871     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
32872     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
32873   }
32874   return vresult;
32875 fail:
32876   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
32877   {
32878     VALUE target;
32879     target = _global_vresult_address == &vresult ? self : vresult;
32880     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
32881     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
32882     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
32883   }
32884   return Qnil;
32885 }
32886 
32887 
32888 SWIGINTERN VALUE
_wrap_svn_client_get_wc_root(int argc,VALUE * argv,VALUE self)32889 _wrap_svn_client_get_wc_root(int argc, VALUE *argv, VALUE self) {
32890   char **arg1 = (char **) 0 ;
32891   char *arg2 = (char *) 0 ;
32892   svn_client_ctx_t *arg3 = (svn_client_ctx_t *) 0 ;
32893   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
32894   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
32895   VALUE _global_svn_swig_rb_pool ;
32896   apr_pool_t *_global_pool ;
32897   char *temp1 ;
32898   int res2 ;
32899   char *buf2 = 0 ;
32900   int alloc2 = 0 ;
32901   void *argp3 = 0 ;
32902   int res3 = 0 ;
32903   svn_error_t *result = 0 ;
32904   VALUE vresult = Qnil;
32905 
32906   {
32907     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
32908     _global_pool = arg4;
32909     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
32910   }
32911   {
32912     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
32913     _global_pool = arg5;
32914     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
32915   }
32916   arg1 = &temp1;
32917   if ((argc < 2) || (argc > 4)) {
32918     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
32919   }
32920   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
32921   if (!SWIG_IsOK(res2)) {
32922     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_get_wc_root", 2, argv[0] ));
32923   }
32924   arg2 = (char *)(buf2);
32925   res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
32926   if (!SWIG_IsOK(res3)) {
32927     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_get_wc_root", 3, argv[1] ));
32928   }
32929   arg3 = (svn_client_ctx_t *)(argp3);
32930   if (argc > 2) {
32931 
32932   }
32933   if (argc > 3) {
32934 
32935   }
32936   {
32937     result = (svn_error_t *)svn_client_get_wc_root((char const **)arg1,(char const *)arg2,arg3,arg4,arg5);
32938 
32939 
32940 
32941   }
32942   {
32943     if (result) {
32944       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
32945       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
32946       svn_swig_rb_handle_svn_error(result);
32947     }
32948     vresult = Qnil;
32949   }
32950   {
32951     if (*arg1) {
32952       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg1));
32953     } else {
32954       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
32955     }
32956   }
32957   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32958   {
32959     VALUE target;
32960     target = _global_vresult_address == &vresult ? self : vresult;
32961     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
32962     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
32963     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
32964   }
32965   {
32966     VALUE target;
32967     target = _global_vresult_address == &vresult ? self : vresult;
32968     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
32969     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
32970     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
32971   }
32972   return vresult;
32973 fail:
32974   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32975   {
32976     VALUE target;
32977     target = _global_vresult_address == &vresult ? self : vresult;
32978     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
32979     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
32980     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
32981   }
32982   {
32983     VALUE target;
32984     target = _global_vresult_address == &vresult ? self : vresult;
32985     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
32986     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
32987     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
32988   }
32989   return Qnil;
32990 }
32991 
32992 
32993 SWIGINTERN VALUE
_wrap_svn_client_min_max_revisions(int argc,VALUE * argv,VALUE self)32994 _wrap_svn_client_min_max_revisions(int argc, VALUE *argv, VALUE self) {
32995   svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
32996   svn_revnum_t *arg2 = (svn_revnum_t *) 0 ;
32997   char *arg3 = (char *) 0 ;
32998   svn_boolean_t arg4 ;
32999   svn_client_ctx_t *arg5 = (svn_client_ctx_t *) 0 ;
33000   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
33001   VALUE _global_svn_swig_rb_pool ;
33002   apr_pool_t *_global_pool ;
33003   svn_revnum_t temp1 ;
33004   int res1 = SWIG_TMPOBJ ;
33005   svn_revnum_t temp2 ;
33006   int res2 = SWIG_TMPOBJ ;
33007   int res3 ;
33008   char *buf3 = 0 ;
33009   int alloc3 = 0 ;
33010   void *argp5 = 0 ;
33011   int res5 = 0 ;
33012   svn_error_t *result = 0 ;
33013   VALUE vresult = Qnil;
33014 
33015   {
33016     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
33017     _global_pool = arg6;
33018     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
33019   }
33020   arg1 = &temp1;
33021   arg2 = &temp2;
33022   if ((argc < 3) || (argc > 4)) {
33023     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
33024   }
33025   res3 = SWIG_AsCharPtrAndSize(argv[0], &buf3, NULL, &alloc3);
33026   if (!SWIG_IsOK(res3)) {
33027     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_min_max_revisions", 3, argv[0] ));
33028   }
33029   arg3 = (char *)(buf3);
33030   arg4 = RTEST(argv[1]);
33031   res5 = SWIG_ConvertPtr(argv[2], &argp5,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
33032   if (!SWIG_IsOK(res5)) {
33033     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_min_max_revisions", 5, argv[2] ));
33034   }
33035   arg5 = (svn_client_ctx_t *)(argp5);
33036   if (argc > 3) {
33037 
33038   }
33039   {
33040     result = (svn_error_t *)svn_client_min_max_revisions(arg1,arg2,(char const *)arg3,arg4,arg5,arg6);
33041 
33042 
33043 
33044   }
33045   {
33046     if (result) {
33047       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33048       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33049       svn_swig_rb_handle_svn_error(result);
33050     }
33051     vresult = Qnil;
33052   }
33053   if (SWIG_IsTmpObj(res1)) {
33054     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg1)));
33055   } else {
33056     int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
33057     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags));
33058   }
33059   if (SWIG_IsTmpObj(res2)) {
33060     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg2)));
33061   } else {
33062     int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
33063     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
33064   }
33065   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
33066   {
33067     VALUE target;
33068     target = _global_vresult_address == &vresult ? self : vresult;
33069     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33070     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33071     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33072   }
33073   return vresult;
33074 fail:
33075   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
33076   {
33077     VALUE target;
33078     target = _global_vresult_address == &vresult ? self : vresult;
33079     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33080     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33081     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33082   }
33083   return Qnil;
33084 }
33085 
33086 
33087 SWIGINTERN VALUE
_wrap_svn_client_patch(int argc,VALUE * argv,VALUE self)33088 _wrap_svn_client_patch(int argc, VALUE *argv, VALUE self) {
33089   char *arg1 = (char *) 0 ;
33090   char *arg2 = (char *) 0 ;
33091   svn_boolean_t arg3 ;
33092   int arg4 ;
33093   svn_boolean_t arg5 ;
33094   svn_boolean_t arg6 ;
33095   svn_boolean_t arg7 ;
33096   svn_client_patch_func_t arg8 = (svn_client_patch_func_t) 0 ;
33097   void *arg9 = (void *) 0 ;
33098   svn_client_ctx_t *arg10 = (svn_client_ctx_t *) 0 ;
33099   apr_pool_t *arg11 = (apr_pool_t *) 0 ;
33100   VALUE _global_svn_swig_rb_pool ;
33101   apr_pool_t *_global_pool ;
33102   int res1 ;
33103   char *buf1 = 0 ;
33104   int alloc1 = 0 ;
33105   int res2 ;
33106   char *buf2 = 0 ;
33107   int alloc2 = 0 ;
33108   int val4 ;
33109   int ecode4 = 0 ;
33110   int res9 ;
33111   void *argp10 = 0 ;
33112   int res10 = 0 ;
33113   svn_error_t *result = 0 ;
33114   VALUE vresult = Qnil;
33115 
33116   {
33117     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg11);
33118     _global_pool = arg11;
33119     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
33120   }
33121   if ((argc < 10) || (argc > 11)) {
33122     rb_raise(rb_eArgError, "wrong # of arguments(%d for 10)",argc); SWIG_fail;
33123   }
33124   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
33125   if (!SWIG_IsOK(res1)) {
33126     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_patch", 1, argv[0] ));
33127   }
33128   arg1 = (char *)(buf1);
33129   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
33130   if (!SWIG_IsOK(res2)) {
33131     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_patch", 2, argv[1] ));
33132   }
33133   arg2 = (char *)(buf2);
33134   arg3 = RTEST(argv[2]);
33135   ecode4 = SWIG_AsVal_int(argv[3], &val4);
33136   if (!SWIG_IsOK(ecode4)) {
33137     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","svn_client_patch", 4, argv[3] ));
33138   }
33139   arg4 = (int)(val4);
33140   arg5 = RTEST(argv[4]);
33141   arg6 = RTEST(argv[5]);
33142   arg7 = RTEST(argv[6]);
33143   {
33144     int res = SWIG_ConvertFunctionPtr(argv[7], (void**)(&arg8), SWIGTYPE_p_f_p_void_p_svn_boolean_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t);
33145     if (!SWIG_IsOK(res)) {
33146       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_patch_func_t","svn_client_patch", 8, argv[7] ));
33147     }
33148   }
33149   res9 = SWIG_ConvertPtr(argv[8],SWIG_as_voidptrptr(&arg9), 0, 0);
33150   if (!SWIG_IsOK(res9)) {
33151     SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "void *","svn_client_patch", 9, argv[8] ));
33152   }
33153   res10 = SWIG_ConvertPtr(argv[9], &argp10,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
33154   if (!SWIG_IsOK(res10)) {
33155     SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_patch", 10, argv[9] ));
33156   }
33157   arg10 = (svn_client_ctx_t *)(argp10);
33158   if (argc > 10) {
33159 
33160   }
33161   {
33162     result = (svn_error_t *)svn_client_patch((char const *)arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
33163 
33164 
33165 
33166   }
33167   {
33168     if (result) {
33169       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33170       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33171       svn_swig_rb_handle_svn_error(result);
33172     }
33173     vresult = Qnil;
33174   }
33175   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
33176   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33177   {
33178     VALUE target;
33179     target = _global_vresult_address == &vresult ? self : vresult;
33180     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33181     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33182     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33183   }
33184   return vresult;
33185 fail:
33186   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
33187   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33188   {
33189     VALUE target;
33190     target = _global_vresult_address == &vresult ? self : vresult;
33191     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33192     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33193     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33194   }
33195   return Qnil;
33196 }
33197 
33198 
33199 SWIGINTERN VALUE
_wrap_svn_client_url_from_path2(int argc,VALUE * argv,VALUE self)33200 _wrap_svn_client_url_from_path2(int argc, VALUE *argv, VALUE self) {
33201   char **arg1 = (char **) 0 ;
33202   char *arg2 = (char *) 0 ;
33203   svn_client_ctx_t *arg3 = (svn_client_ctx_t *) 0 ;
33204   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
33205   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
33206   VALUE _global_svn_swig_rb_pool ;
33207   apr_pool_t *_global_pool ;
33208   char *temp1 ;
33209   int res2 ;
33210   char *buf2 = 0 ;
33211   int alloc2 = 0 ;
33212   void *argp3 = 0 ;
33213   int res3 = 0 ;
33214   svn_error_t *result = 0 ;
33215   VALUE vresult = Qnil;
33216 
33217   {
33218     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
33219     _global_pool = arg4;
33220     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
33221   }
33222   {
33223     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
33224     _global_pool = arg5;
33225     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
33226   }
33227   arg1 = &temp1;
33228   if ((argc < 2) || (argc > 4)) {
33229     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
33230   }
33231   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
33232   if (!SWIG_IsOK(res2)) {
33233     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_url_from_path2", 2, argv[0] ));
33234   }
33235   arg2 = (char *)(buf2);
33236   res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
33237   if (!SWIG_IsOK(res3)) {
33238     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_url_from_path2", 3, argv[1] ));
33239   }
33240   arg3 = (svn_client_ctx_t *)(argp3);
33241   if (argc > 2) {
33242 
33243   }
33244   if (argc > 3) {
33245 
33246   }
33247   {
33248     result = (svn_error_t *)svn_client_url_from_path2((char const **)arg1,(char const *)arg2,arg3,arg4,arg5);
33249 
33250 
33251 
33252   }
33253   {
33254     if (result) {
33255       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33256       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33257       svn_swig_rb_handle_svn_error(result);
33258     }
33259     vresult = Qnil;
33260   }
33261   {
33262     if (*arg1) {
33263       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg1));
33264     } else {
33265       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
33266     }
33267   }
33268   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33269   {
33270     VALUE target;
33271     target = _global_vresult_address == &vresult ? self : vresult;
33272     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33273     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33274     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33275   }
33276   {
33277     VALUE target;
33278     target = _global_vresult_address == &vresult ? self : vresult;
33279     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33280     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33281     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33282   }
33283   return vresult;
33284 fail:
33285   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33286   {
33287     VALUE target;
33288     target = _global_vresult_address == &vresult ? self : vresult;
33289     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33290     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33291     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33292   }
33293   {
33294     VALUE target;
33295     target = _global_vresult_address == &vresult ? self : vresult;
33296     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33297     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33298     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33299   }
33300   return Qnil;
33301 }
33302 
33303 
33304 SWIGINTERN VALUE
_wrap_svn_client_url_from_path(int argc,VALUE * argv,VALUE self)33305 _wrap_svn_client_url_from_path(int argc, VALUE *argv, VALUE self) {
33306   char **arg1 = (char **) 0 ;
33307   char *arg2 = (char *) 0 ;
33308   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
33309   VALUE _global_svn_swig_rb_pool ;
33310   apr_pool_t *_global_pool ;
33311   char *temp1 ;
33312   int res2 ;
33313   char *buf2 = 0 ;
33314   int alloc2 = 0 ;
33315   svn_error_t *result = 0 ;
33316   VALUE vresult = Qnil;
33317 
33318   {
33319     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
33320     _global_pool = arg3;
33321     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
33322   }
33323   arg1 = &temp1;
33324   if ((argc < 1) || (argc > 2)) {
33325     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
33326   }
33327   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
33328   if (!SWIG_IsOK(res2)) {
33329     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_url_from_path", 2, argv[0] ));
33330   }
33331   arg2 = (char *)(buf2);
33332   if (argc > 1) {
33333 
33334   }
33335   {
33336     result = (svn_error_t *)svn_client_url_from_path((char const **)arg1,(char const *)arg2,arg3);
33337 
33338 
33339 
33340   }
33341   {
33342     if (result) {
33343       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33344       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33345       svn_swig_rb_handle_svn_error(result);
33346     }
33347     vresult = Qnil;
33348   }
33349   {
33350     if (*arg1) {
33351       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg1));
33352     } else {
33353       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
33354     }
33355   }
33356   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33357   {
33358     VALUE target;
33359     target = _global_vresult_address == &vresult ? self : vresult;
33360     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33361     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33362     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33363   }
33364   return vresult;
33365 fail:
33366   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33367   {
33368     VALUE target;
33369     target = _global_vresult_address == &vresult ? self : vresult;
33370     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33371     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33372     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33373   }
33374   return Qnil;
33375 }
33376 
33377 
33378 SWIGINTERN VALUE
_wrap_svn_client_get_repos_root(int argc,VALUE * argv,VALUE self)33379 _wrap_svn_client_get_repos_root(int argc, VALUE *argv, VALUE self) {
33380   char **arg1 = (char **) 0 ;
33381   char **arg2 = (char **) 0 ;
33382   char *arg3 = (char *) 0 ;
33383   svn_client_ctx_t *arg4 = (svn_client_ctx_t *) 0 ;
33384   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
33385   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
33386   VALUE _global_svn_swig_rb_pool ;
33387   apr_pool_t *_global_pool ;
33388   char *temp1 ;
33389   char *temp2 ;
33390   int res3 ;
33391   char *buf3 = 0 ;
33392   int alloc3 = 0 ;
33393   void *argp4 = 0 ;
33394   int res4 = 0 ;
33395   svn_error_t *result = 0 ;
33396   VALUE vresult = Qnil;
33397 
33398   {
33399     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
33400     _global_pool = arg5;
33401     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
33402   }
33403   {
33404     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
33405     _global_pool = arg6;
33406     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
33407   }
33408   arg1 = &temp1;
33409   arg2 = &temp2;
33410   if ((argc < 2) || (argc > 4)) {
33411     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
33412   }
33413   res3 = SWIG_AsCharPtrAndSize(argv[0], &buf3, NULL, &alloc3);
33414   if (!SWIG_IsOK(res3)) {
33415     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_get_repos_root", 3, argv[0] ));
33416   }
33417   arg3 = (char *)(buf3);
33418   res4 = SWIG_ConvertPtr(argv[1], &argp4,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
33419   if (!SWIG_IsOK(res4)) {
33420     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_get_repos_root", 4, argv[1] ));
33421   }
33422   arg4 = (svn_client_ctx_t *)(argp4);
33423   if (argc > 2) {
33424 
33425   }
33426   if (argc > 3) {
33427 
33428   }
33429   {
33430     result = (svn_error_t *)svn_client_get_repos_root((char const **)arg1,(char const **)arg2,(char const *)arg3,arg4,arg5,arg6);
33431 
33432 
33433 
33434   }
33435   {
33436     if (result) {
33437       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33438       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33439       svn_swig_rb_handle_svn_error(result);
33440     }
33441     vresult = Qnil;
33442   }
33443   {
33444     if (*arg1) {
33445       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg1));
33446     } else {
33447       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
33448     }
33449   }
33450   {
33451     if (*arg2) {
33452       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg2));
33453     } else {
33454       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
33455     }
33456   }
33457   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
33458   {
33459     VALUE target;
33460     target = _global_vresult_address == &vresult ? self : vresult;
33461     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33462     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33463     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33464   }
33465   {
33466     VALUE target;
33467     target = _global_vresult_address == &vresult ? self : vresult;
33468     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33469     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33470     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33471   }
33472   return vresult;
33473 fail:
33474   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
33475   {
33476     VALUE target;
33477     target = _global_vresult_address == &vresult ? self : vresult;
33478     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33479     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33480     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33481   }
33482   {
33483     VALUE target;
33484     target = _global_vresult_address == &vresult ? self : vresult;
33485     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33486     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33487     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33488   }
33489   return Qnil;
33490 }
33491 
33492 
33493 SWIGINTERN VALUE
_wrap_svn_client_root_url_from_path(int argc,VALUE * argv,VALUE self)33494 _wrap_svn_client_root_url_from_path(int argc, VALUE *argv, VALUE self) {
33495   char **arg1 = (char **) 0 ;
33496   char *arg2 = (char *) 0 ;
33497   svn_client_ctx_t *arg3 = (svn_client_ctx_t *) 0 ;
33498   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
33499   VALUE _global_svn_swig_rb_pool ;
33500   apr_pool_t *_global_pool ;
33501   char *temp1 ;
33502   int res2 ;
33503   char *buf2 = 0 ;
33504   int alloc2 = 0 ;
33505   void *argp3 = 0 ;
33506   int res3 = 0 ;
33507   svn_error_t *result = 0 ;
33508   VALUE vresult = Qnil;
33509 
33510   {
33511     int adjusted_argc = argc;
33512     VALUE *adjusted_argv = argv;
33513 
33514     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
33515       &adjusted_argv);
33516     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
33517       &_global_svn_swig_rb_pool, &arg4);
33518     _global_pool = arg4;
33519     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
33520   }
33521   arg1 = &temp1;
33522   if ((argc < 1) || (argc > 3)) {
33523     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
33524   }
33525   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
33526   if (!SWIG_IsOK(res2)) {
33527     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_root_url_from_path", 2, argv[0] ));
33528   }
33529   arg2 = (char *)(buf2);
33530   if (argc > 1) {
33531     res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
33532     if (!SWIG_IsOK(res3)) {
33533       SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_root_url_from_path", 3, argv[1] ));
33534     }
33535     arg3 = (svn_client_ctx_t *)(argp3);
33536   }
33537   if (argc > 2) {
33538 
33539   }
33540   {
33541     result = (svn_error_t *)svn_client_root_url_from_path((char const **)arg1,(char const *)arg2,arg3,arg4);
33542 
33543 
33544 
33545   }
33546   {
33547     if (result) {
33548       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33549       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33550       svn_swig_rb_handle_svn_error(result);
33551     }
33552     vresult = Qnil;
33553   }
33554   {
33555     if (*arg1) {
33556       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg1));
33557     } else {
33558       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
33559     }
33560   }
33561   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33562   {
33563     VALUE target;
33564     target = _global_vresult_address == &vresult ? self : vresult;
33565     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33566     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33567     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33568   }
33569   return vresult;
33570 fail:
33571   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33572   {
33573     VALUE target;
33574     target = _global_vresult_address == &vresult ? self : vresult;
33575     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33576     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33577     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33578   }
33579   return Qnil;
33580 }
33581 
33582 
33583 SWIGINTERN VALUE
_wrap_svn_client_uuid_from_url(int argc,VALUE * argv,VALUE self)33584 _wrap_svn_client_uuid_from_url(int argc, VALUE *argv, VALUE self) {
33585   char **arg1 = (char **) 0 ;
33586   char *arg2 = (char *) 0 ;
33587   svn_client_ctx_t *arg3 = (svn_client_ctx_t *) 0 ;
33588   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
33589   VALUE _global_svn_swig_rb_pool ;
33590   apr_pool_t *_global_pool ;
33591   char *temp1 ;
33592   int res2 ;
33593   char *buf2 = 0 ;
33594   int alloc2 = 0 ;
33595   void *argp3 = 0 ;
33596   int res3 = 0 ;
33597   svn_error_t *result = 0 ;
33598   VALUE vresult = Qnil;
33599 
33600   {
33601     int adjusted_argc = argc;
33602     VALUE *adjusted_argv = argv;
33603 
33604     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
33605       &adjusted_argv);
33606     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
33607       &_global_svn_swig_rb_pool, &arg4);
33608     _global_pool = arg4;
33609     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
33610   }
33611   arg1 = &temp1;
33612   if ((argc < 1) || (argc > 3)) {
33613     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
33614   }
33615   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
33616   if (!SWIG_IsOK(res2)) {
33617     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_uuid_from_url", 2, argv[0] ));
33618   }
33619   arg2 = (char *)(buf2);
33620   if (argc > 1) {
33621     res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
33622     if (!SWIG_IsOK(res3)) {
33623       SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_uuid_from_url", 3, argv[1] ));
33624     }
33625     arg3 = (svn_client_ctx_t *)(argp3);
33626   }
33627   if (argc > 2) {
33628 
33629   }
33630   {
33631     result = (svn_error_t *)svn_client_uuid_from_url((char const **)arg1,(char const *)arg2,arg3,arg4);
33632 
33633 
33634 
33635   }
33636   {
33637     if (result) {
33638       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33639       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33640       svn_swig_rb_handle_svn_error(result);
33641     }
33642     vresult = Qnil;
33643   }
33644   {
33645     if (*arg1) {
33646       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg1));
33647     } else {
33648       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
33649     }
33650   }
33651   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33652   {
33653     VALUE target;
33654     target = _global_vresult_address == &vresult ? self : vresult;
33655     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33656     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33657     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33658   }
33659   return vresult;
33660 fail:
33661   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33662   {
33663     VALUE target;
33664     target = _global_vresult_address == &vresult ? self : vresult;
33665     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33666     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33667     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33668   }
33669   return Qnil;
33670 }
33671 
33672 
33673 SWIGINTERN VALUE
_wrap_svn_client_uuid_from_path2(int argc,VALUE * argv,VALUE self)33674 _wrap_svn_client_uuid_from_path2(int argc, VALUE *argv, VALUE self) {
33675   char **arg1 = (char **) 0 ;
33676   char *arg2 = (char *) 0 ;
33677   svn_client_ctx_t *arg3 = (svn_client_ctx_t *) 0 ;
33678   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
33679   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
33680   VALUE _global_svn_swig_rb_pool ;
33681   apr_pool_t *_global_pool ;
33682   char *temp1 ;
33683   int res2 ;
33684   char *buf2 = 0 ;
33685   int alloc2 = 0 ;
33686   void *argp3 = 0 ;
33687   int res3 = 0 ;
33688   svn_error_t *result = 0 ;
33689   VALUE vresult = Qnil;
33690 
33691   {
33692     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
33693     _global_pool = arg4;
33694     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
33695   }
33696   {
33697     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
33698     _global_pool = arg5;
33699     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
33700   }
33701   arg1 = &temp1;
33702   if ((argc < 2) || (argc > 4)) {
33703     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
33704   }
33705   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
33706   if (!SWIG_IsOK(res2)) {
33707     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_uuid_from_path2", 2, argv[0] ));
33708   }
33709   arg2 = (char *)(buf2);
33710   res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
33711   if (!SWIG_IsOK(res3)) {
33712     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_uuid_from_path2", 3, argv[1] ));
33713   }
33714   arg3 = (svn_client_ctx_t *)(argp3);
33715   if (argc > 2) {
33716 
33717   }
33718   if (argc > 3) {
33719 
33720   }
33721   {
33722     result = (svn_error_t *)svn_client_uuid_from_path2((char const **)arg1,(char const *)arg2,arg3,arg4,arg5);
33723 
33724 
33725 
33726   }
33727   {
33728     if (result) {
33729       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33730       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33731       svn_swig_rb_handle_svn_error(result);
33732     }
33733     vresult = Qnil;
33734   }
33735   {
33736     if (*arg1) {
33737       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg1));
33738     } else {
33739       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
33740     }
33741   }
33742   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33743   {
33744     VALUE target;
33745     target = _global_vresult_address == &vresult ? self : vresult;
33746     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33747     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33748     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33749   }
33750   {
33751     VALUE target;
33752     target = _global_vresult_address == &vresult ? self : vresult;
33753     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33754     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33755     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33756   }
33757   return vresult;
33758 fail:
33759   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33760   {
33761     VALUE target;
33762     target = _global_vresult_address == &vresult ? self : vresult;
33763     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33764     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33765     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33766   }
33767   {
33768     VALUE target;
33769     target = _global_vresult_address == &vresult ? self : vresult;
33770     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33771     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33772     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33773   }
33774   return Qnil;
33775 }
33776 
33777 
33778 SWIGINTERN VALUE
_wrap_svn_client_uuid_from_path(int argc,VALUE * argv,VALUE self)33779 _wrap_svn_client_uuid_from_path(int argc, VALUE *argv, VALUE self) {
33780   char **arg1 = (char **) 0 ;
33781   char *arg2 = (char *) 0 ;
33782   svn_wc_adm_access_t *arg3 = (svn_wc_adm_access_t *) 0 ;
33783   svn_client_ctx_t *arg4 = (svn_client_ctx_t *) 0 ;
33784   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
33785   VALUE _global_svn_swig_rb_pool ;
33786   apr_pool_t *_global_pool ;
33787   char *temp1 ;
33788   int res2 ;
33789   char *buf2 = 0 ;
33790   int alloc2 = 0 ;
33791   void *argp3 = 0 ;
33792   int res3 = 0 ;
33793   void *argp4 = 0 ;
33794   int res4 = 0 ;
33795   svn_error_t *result = 0 ;
33796   VALUE vresult = Qnil;
33797 
33798   {
33799     int adjusted_argc = argc;
33800     VALUE *adjusted_argv = argv;
33801 
33802     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
33803       &adjusted_argv);
33804     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
33805       &_global_svn_swig_rb_pool, &arg5);
33806     _global_pool = arg5;
33807     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
33808   }
33809   arg1 = &temp1;
33810   if ((argc < 2) || (argc > 4)) {
33811     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
33812   }
33813   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
33814   if (!SWIG_IsOK(res2)) {
33815     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_uuid_from_path", 2, argv[0] ));
33816   }
33817   arg2 = (char *)(buf2);
33818   res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_svn_wc_adm_access_t, 0 |  0 );
33819   if (!SWIG_IsOK(res3)) {
33820     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_wc_adm_access_t *","svn_client_uuid_from_path", 3, argv[1] ));
33821   }
33822   arg3 = (svn_wc_adm_access_t *)(argp3);
33823   if (argc > 2) {
33824     res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
33825     if (!SWIG_IsOK(res4)) {
33826       SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_uuid_from_path", 4, argv[2] ));
33827     }
33828     arg4 = (svn_client_ctx_t *)(argp4);
33829   }
33830   if (argc > 3) {
33831 
33832   }
33833   {
33834     result = (svn_error_t *)svn_client_uuid_from_path((char const **)arg1,(char const *)arg2,arg3,arg4,arg5);
33835 
33836 
33837 
33838   }
33839   {
33840     if (result) {
33841       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33842       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33843       svn_swig_rb_handle_svn_error(result);
33844     }
33845     vresult = Qnil;
33846   }
33847   {
33848     if (*arg1) {
33849       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg1));
33850     } else {
33851       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
33852     }
33853   }
33854   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33855   {
33856     VALUE target;
33857     target = _global_vresult_address == &vresult ? self : vresult;
33858     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33859     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33860     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33861   }
33862   return vresult;
33863 fail:
33864   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33865   {
33866     VALUE target;
33867     target = _global_vresult_address == &vresult ? self : vresult;
33868     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33869     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33870     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33871   }
33872   return Qnil;
33873 }
33874 
33875 
33876 SWIGINTERN VALUE
_wrap_svn_client_open_ra_session2(int argc,VALUE * argv,VALUE self)33877 _wrap_svn_client_open_ra_session2(int argc, VALUE *argv, VALUE self) {
33878   svn_ra_session_t **arg1 = (svn_ra_session_t **) 0 ;
33879   char *arg2 = (char *) 0 ;
33880   char *arg3 = (char *) 0 ;
33881   svn_client_ctx_t *arg4 = (svn_client_ctx_t *) 0 ;
33882   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
33883   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
33884   VALUE _global_svn_swig_rb_pool ;
33885   apr_pool_t *_global_pool ;
33886   svn_ra_session_t *temp1 ;
33887   int res2 ;
33888   char *buf2 = 0 ;
33889   int alloc2 = 0 ;
33890   int res3 ;
33891   char *buf3 = 0 ;
33892   int alloc3 = 0 ;
33893   void *argp4 = 0 ;
33894   int res4 = 0 ;
33895   svn_error_t *result = 0 ;
33896   VALUE vresult = Qnil;
33897 
33898   {
33899     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
33900     _global_pool = arg5;
33901     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
33902   }
33903   {
33904     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
33905     _global_pool = arg6;
33906     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
33907   }
33908   arg1 = &temp1;
33909   if ((argc < 3) || (argc > 5)) {
33910     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
33911   }
33912   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
33913   if (!SWIG_IsOK(res2)) {
33914     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_open_ra_session2", 2, argv[0] ));
33915   }
33916   arg2 = (char *)(buf2);
33917   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
33918   if (!SWIG_IsOK(res3)) {
33919     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_open_ra_session2", 3, argv[1] ));
33920   }
33921   arg3 = (char *)(buf3);
33922   res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
33923   if (!SWIG_IsOK(res4)) {
33924     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_open_ra_session2", 4, argv[2] ));
33925   }
33926   arg4 = (svn_client_ctx_t *)(argp4);
33927   if (argc > 3) {
33928 
33929   }
33930   if (argc > 4) {
33931 
33932   }
33933   {
33934     result = (svn_error_t *)svn_client_open_ra_session2(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6);
33935 
33936 
33937 
33938   }
33939   {
33940     if (result) {
33941       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33942       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33943       svn_swig_rb_handle_svn_error(result);
33944     }
33945     vresult = Qnil;
33946   }
33947   {
33948     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_ra_session_t, 0));
33949   }
33950   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33951   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
33952   {
33953     VALUE target;
33954     target = _global_vresult_address == &vresult ? self : vresult;
33955     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33956     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33957     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33958   }
33959   {
33960     VALUE target;
33961     target = _global_vresult_address == &vresult ? self : vresult;
33962     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33963     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33964     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33965   }
33966   return vresult;
33967 fail:
33968   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33969   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
33970   {
33971     VALUE target;
33972     target = _global_vresult_address == &vresult ? self : vresult;
33973     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33974     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33975     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33976   }
33977   {
33978     VALUE target;
33979     target = _global_vresult_address == &vresult ? self : vresult;
33980     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
33981     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
33982     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
33983   }
33984   return Qnil;
33985 }
33986 
33987 
33988 SWIGINTERN VALUE
_wrap_svn_client_open_ra_session(int argc,VALUE * argv,VALUE self)33989 _wrap_svn_client_open_ra_session(int argc, VALUE *argv, VALUE self) {
33990   svn_ra_session_t **arg1 = (svn_ra_session_t **) 0 ;
33991   char *arg2 = (char *) 0 ;
33992   svn_client_ctx_t *arg3 = (svn_client_ctx_t *) 0 ;
33993   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
33994   VALUE _global_svn_swig_rb_pool ;
33995   apr_pool_t *_global_pool ;
33996   svn_ra_session_t *temp1 ;
33997   int res2 ;
33998   char *buf2 = 0 ;
33999   int alloc2 = 0 ;
34000   void *argp3 = 0 ;
34001   int res3 = 0 ;
34002   svn_error_t *result = 0 ;
34003   VALUE vresult = Qnil;
34004 
34005   {
34006     int adjusted_argc = argc;
34007     VALUE *adjusted_argv = argv;
34008 
34009     svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
34010       &adjusted_argv);
34011     svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
34012       &_global_svn_swig_rb_pool, &arg4);
34013     _global_pool = arg4;
34014     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
34015   }
34016   arg1 = &temp1;
34017   if ((argc < 1) || (argc > 3)) {
34018     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
34019   }
34020   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
34021   if (!SWIG_IsOK(res2)) {
34022     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_open_ra_session", 2, argv[0] ));
34023   }
34024   arg2 = (char *)(buf2);
34025   if (argc > 1) {
34026     res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
34027     if (!SWIG_IsOK(res3)) {
34028       SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_open_ra_session", 3, argv[1] ));
34029     }
34030     arg3 = (svn_client_ctx_t *)(argp3);
34031   }
34032   if (argc > 2) {
34033 
34034   }
34035   {
34036     result = (svn_error_t *)svn_client_open_ra_session(arg1,(char const *)arg2,arg3,arg4);
34037 
34038 
34039 
34040   }
34041   {
34042     if (result) {
34043       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34044       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34045       svn_swig_rb_handle_svn_error(result);
34046     }
34047     vresult = Qnil;
34048   }
34049   {
34050     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_ra_session_t, 0));
34051   }
34052   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
34053   {
34054     VALUE target;
34055     target = _global_vresult_address == &vresult ? self : vresult;
34056     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
34057     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34058     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34059   }
34060   return vresult;
34061 fail:
34062   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
34063   {
34064     VALUE target;
34065     target = _global_vresult_address == &vresult ? self : vresult;
34066     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
34067     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34068     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34069   }
34070   return Qnil;
34071 }
34072 
34073 
34074 SWIGINTERN VALUE
_wrap_svn_proplist_invoke_receiver2(int argc,VALUE * argv,VALUE self)34075 _wrap_svn_proplist_invoke_receiver2(int argc, VALUE *argv, VALUE self) {
34076   svn_proplist_receiver2_t arg1 = (svn_proplist_receiver2_t) 0 ;
34077   void *arg2 = (void *) 0 ;
34078   char *arg3 = (char *) 0 ;
34079   apr_hash_t *arg4 = (apr_hash_t *) 0 ;
34080   apr_array_header_t *arg5 = (apr_array_header_t *) 0 ;
34081   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
34082   VALUE _global_svn_swig_rb_pool ;
34083   apr_pool_t *_global_pool ;
34084   int res2 ;
34085   int res3 ;
34086   char *buf3 = 0 ;
34087   int alloc3 = 0 ;
34088   void *argp4 = 0 ;
34089   int res4 = 0 ;
34090   void *argp5 = 0 ;
34091   int res5 = 0 ;
34092   svn_error_t *result = 0 ;
34093   VALUE vresult = Qnil;
34094 
34095   {
34096     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
34097     _global_pool = arg6;
34098     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
34099   }
34100   if ((argc < 5) || (argc > 6)) {
34101     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
34102   }
34103   {
34104     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t);
34105     if (!SWIG_IsOK(res)) {
34106       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_proplist_receiver2_t","svn_proplist_invoke_receiver2", 1, argv[0] ));
34107     }
34108   }
34109   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
34110   if (!SWIG_IsOK(res2)) {
34111     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_proplist_invoke_receiver2", 2, argv[1] ));
34112   }
34113   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
34114   if (!SWIG_IsOK(res3)) {
34115     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_proplist_invoke_receiver2", 3, argv[2] ));
34116   }
34117   arg3 = (char *)(buf3);
34118   res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_apr_hash_t, 0 |  0 );
34119   if (!SWIG_IsOK(res4)) {
34120     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "apr_hash_t *","svn_proplist_invoke_receiver2", 4, argv[3] ));
34121   }
34122   arg4 = (apr_hash_t *)(argp4);
34123   res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_apr_array_header_t, 0 |  0 );
34124   if (!SWIG_IsOK(res5)) {
34125     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "apr_array_header_t *","svn_proplist_invoke_receiver2", 5, argv[4] ));
34126   }
34127   arg5 = (apr_array_header_t *)(argp5);
34128   if (argc > 5) {
34129 
34130   }
34131   {
34132     result = (svn_error_t *)svn_proplist_invoke_receiver2(arg1,arg2,(char const *)arg3,arg4,arg5,arg6);
34133 
34134 
34135 
34136   }
34137   {
34138     if (result) {
34139       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34140       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34141       svn_swig_rb_handle_svn_error(result);
34142     }
34143     vresult = Qnil;
34144   }
34145   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
34146   {
34147     VALUE target;
34148     target = _global_vresult_address == &vresult ? self : vresult;
34149     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
34150     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34151     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34152   }
34153   return vresult;
34154 fail:
34155   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
34156   {
34157     VALUE target;
34158     target = _global_vresult_address == &vresult ? self : vresult;
34159     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
34160     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34161     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34162   }
34163   return Qnil;
34164 }
34165 
34166 
34167 SWIGINTERN VALUE
_wrap_svn_proplist_invoke_receiver(int argc,VALUE * argv,VALUE self)34168 _wrap_svn_proplist_invoke_receiver(int argc, VALUE *argv, VALUE self) {
34169   svn_proplist_receiver_t arg1 = (svn_proplist_receiver_t) 0 ;
34170   void *arg2 = (void *) 0 ;
34171   char *arg3 = (char *) 0 ;
34172   apr_hash_t *arg4 = (apr_hash_t *) 0 ;
34173   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
34174   VALUE _global_svn_swig_rb_pool ;
34175   apr_pool_t *_global_pool ;
34176   int res2 ;
34177   int res3 ;
34178   char *buf3 = 0 ;
34179   int alloc3 = 0 ;
34180   void *argp4 = 0 ;
34181   int res4 = 0 ;
34182   svn_error_t *result = 0 ;
34183   VALUE vresult = Qnil;
34184 
34185   {
34186     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
34187     _global_pool = arg5;
34188     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
34189   }
34190   if ((argc < 4) || (argc > 5)) {
34191     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
34192   }
34193   {
34194     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_pool_t__p_svn_error_t);
34195     if (!SWIG_IsOK(res)) {
34196       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_proplist_receiver_t","svn_proplist_invoke_receiver", 1, argv[0] ));
34197     }
34198   }
34199   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
34200   if (!SWIG_IsOK(res2)) {
34201     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_proplist_invoke_receiver", 2, argv[1] ));
34202   }
34203   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
34204   if (!SWIG_IsOK(res3)) {
34205     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_proplist_invoke_receiver", 3, argv[2] ));
34206   }
34207   arg3 = (char *)(buf3);
34208   res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_apr_hash_t, 0 |  0 );
34209   if (!SWIG_IsOK(res4)) {
34210     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "apr_hash_t *","svn_proplist_invoke_receiver", 4, argv[3] ));
34211   }
34212   arg4 = (apr_hash_t *)(argp4);
34213   if (argc > 4) {
34214 
34215   }
34216   {
34217     result = (svn_error_t *)svn_proplist_invoke_receiver(arg1,arg2,(char const *)arg3,arg4,arg5);
34218 
34219 
34220 
34221   }
34222   {
34223     if (result) {
34224       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34225       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34226       svn_swig_rb_handle_svn_error(result);
34227     }
34228     vresult = Qnil;
34229   }
34230   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
34231   {
34232     VALUE target;
34233     target = _global_vresult_address == &vresult ? self : vresult;
34234     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
34235     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34236     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34237   }
34238   return vresult;
34239 fail:
34240   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
34241   {
34242     VALUE target;
34243     target = _global_vresult_address == &vresult ? self : vresult;
34244     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
34245     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34246     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34247   }
34248   return Qnil;
34249 }
34250 
34251 
34252 SWIGINTERN VALUE
_wrap_svn_client_invoke_get_commit_log3(int argc,VALUE * argv,VALUE self)34253 _wrap_svn_client_invoke_get_commit_log3(int argc, VALUE *argv, VALUE self) {
34254   svn_client_get_commit_log3_t arg1 = (svn_client_get_commit_log3_t) 0 ;
34255   char **arg2 = (char **) 0 ;
34256   char **arg3 = (char **) 0 ;
34257   apr_array_header_t *arg4 = (apr_array_header_t *) 0 ;
34258   void *arg5 = (void *) 0 ;
34259   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
34260   VALUE _global_svn_swig_rb_pool ;
34261   apr_pool_t *_global_pool ;
34262   char *temp2 ;
34263   char *temp3 ;
34264   void *argp4 = 0 ;
34265   int res4 = 0 ;
34266   int res5 ;
34267   svn_error_t *result = 0 ;
34268   VALUE vresult = Qnil;
34269 
34270   {
34271     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
34272     _global_pool = arg6;
34273     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
34274   }
34275   arg2 = &temp2;
34276   arg3 = &temp3;
34277   if ((argc < 3) || (argc > 4)) {
34278     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
34279   }
34280   {
34281     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_p_q_const__char_p_p_q_const__char_p_q_const__apr_array_header_t_p_void_p_apr_pool_t__p_svn_error_t);
34282     if (!SWIG_IsOK(res)) {
34283       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_get_commit_log3_t","svn_client_invoke_get_commit_log3", 1, argv[0] ));
34284     }
34285   }
34286   res4 = SWIG_ConvertPtr(argv[1], &argp4,SWIGTYPE_p_apr_array_header_t, 0 |  0 );
34287   if (!SWIG_IsOK(res4)) {
34288     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "apr_array_header_t const *","svn_client_invoke_get_commit_log3", 4, argv[1] ));
34289   }
34290   arg4 = (apr_array_header_t *)(argp4);
34291   res5 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg5), 0, 0);
34292   if (!SWIG_IsOK(res5)) {
34293     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "void *","svn_client_invoke_get_commit_log3", 5, argv[2] ));
34294   }
34295   if (argc > 3) {
34296 
34297   }
34298   {
34299     result = (svn_error_t *)svn_client_invoke_get_commit_log3(arg1,(char const **)arg2,(char const **)arg3,(apr_array_header_t const *)arg4,arg5,arg6);
34300 
34301 
34302 
34303   }
34304   {
34305     if (result) {
34306       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34307       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34308       svn_swig_rb_handle_svn_error(result);
34309     }
34310     vresult = Qnil;
34311   }
34312   {
34313     if (*arg2) {
34314       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg2));
34315     } else {
34316       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
34317     }
34318   }
34319   {
34320     if (*arg3) {
34321       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg3));
34322     } else {
34323       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
34324     }
34325   }
34326   {
34327     VALUE target;
34328     target = _global_vresult_address == &vresult ? self : vresult;
34329     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
34330     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34331     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34332   }
34333   return vresult;
34334 fail:
34335   {
34336     VALUE target;
34337     target = _global_vresult_address == &vresult ? self : vresult;
34338     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
34339     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34340     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34341   }
34342   return Qnil;
34343 }
34344 
34345 
34346 SWIGINTERN VALUE
_wrap_svn_client_invoke_get_commit_log2(int argc,VALUE * argv,VALUE self)34347 _wrap_svn_client_invoke_get_commit_log2(int argc, VALUE *argv, VALUE self) {
34348   svn_client_get_commit_log2_t arg1 = (svn_client_get_commit_log2_t) 0 ;
34349   char **arg2 = (char **) 0 ;
34350   char **arg3 = (char **) 0 ;
34351   apr_array_header_t *arg4 = (apr_array_header_t *) 0 ;
34352   void *arg5 = (void *) 0 ;
34353   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
34354   VALUE _global_svn_swig_rb_pool ;
34355   apr_pool_t *_global_pool ;
34356   char *temp2 ;
34357   char *temp3 ;
34358   void *argp4 = 0 ;
34359   int res4 = 0 ;
34360   int res5 ;
34361   svn_error_t *result = 0 ;
34362   VALUE vresult = Qnil;
34363 
34364   {
34365     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
34366     _global_pool = arg6;
34367     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
34368   }
34369   arg2 = &temp2;
34370   arg3 = &temp3;
34371   if ((argc < 3) || (argc > 4)) {
34372     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
34373   }
34374   {
34375     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_p_q_const__char_p_p_q_const__char_p_q_const__apr_array_header_t_p_void_p_apr_pool_t__p_svn_error_t);
34376     if (!SWIG_IsOK(res)) {
34377       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_get_commit_log2_t","svn_client_invoke_get_commit_log2", 1, argv[0] ));
34378     }
34379   }
34380   res4 = SWIG_ConvertPtr(argv[1], &argp4,SWIGTYPE_p_apr_array_header_t, 0 |  0 );
34381   if (!SWIG_IsOK(res4)) {
34382     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "apr_array_header_t const *","svn_client_invoke_get_commit_log2", 4, argv[1] ));
34383   }
34384   arg4 = (apr_array_header_t *)(argp4);
34385   res5 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg5), 0, 0);
34386   if (!SWIG_IsOK(res5)) {
34387     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "void *","svn_client_invoke_get_commit_log2", 5, argv[2] ));
34388   }
34389   if (argc > 3) {
34390 
34391   }
34392   {
34393     result = (svn_error_t *)svn_client_invoke_get_commit_log2(arg1,(char const **)arg2,(char const **)arg3,(apr_array_header_t const *)arg4,arg5,arg6);
34394 
34395 
34396 
34397   }
34398   {
34399     if (result) {
34400       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34401       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34402       svn_swig_rb_handle_svn_error(result);
34403     }
34404     vresult = Qnil;
34405   }
34406   {
34407     if (*arg2) {
34408       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg2));
34409     } else {
34410       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
34411     }
34412   }
34413   {
34414     if (*arg3) {
34415       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg3));
34416     } else {
34417       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
34418     }
34419   }
34420   {
34421     VALUE target;
34422     target = _global_vresult_address == &vresult ? self : vresult;
34423     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
34424     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34425     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34426   }
34427   return vresult;
34428 fail:
34429   {
34430     VALUE target;
34431     target = _global_vresult_address == &vresult ? self : vresult;
34432     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
34433     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34434     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34435   }
34436   return Qnil;
34437 }
34438 
34439 
34440 SWIGINTERN VALUE
_wrap_svn_client_invoke_get_commit_log(int argc,VALUE * argv,VALUE self)34441 _wrap_svn_client_invoke_get_commit_log(int argc, VALUE *argv, VALUE self) {
34442   svn_client_get_commit_log_t arg1 = (svn_client_get_commit_log_t) 0 ;
34443   char **arg2 = (char **) 0 ;
34444   char **arg3 = (char **) 0 ;
34445   apr_array_header_t *arg4 = (apr_array_header_t *) 0 ;
34446   void *arg5 = (void *) 0 ;
34447   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
34448   VALUE _global_svn_swig_rb_pool ;
34449   apr_pool_t *_global_pool ;
34450   char *temp2 ;
34451   char *temp3 ;
34452   void *argp4 = 0 ;
34453   int res4 = 0 ;
34454   int res5 ;
34455   svn_error_t *result = 0 ;
34456   VALUE vresult = Qnil;
34457 
34458   {
34459     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
34460     _global_pool = arg6;
34461     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
34462   }
34463   arg2 = &temp2;
34464   arg3 = &temp3;
34465   if ((argc < 3) || (argc > 4)) {
34466     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
34467   }
34468   {
34469     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_p_q_const__char_p_p_q_const__char_p_apr_array_header_t_p_void_p_apr_pool_t__p_svn_error_t);
34470     if (!SWIG_IsOK(res)) {
34471       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_get_commit_log_t","svn_client_invoke_get_commit_log", 1, argv[0] ));
34472     }
34473   }
34474   res4 = SWIG_ConvertPtr(argv[1], &argp4,SWIGTYPE_p_apr_array_header_t, 0 |  0 );
34475   if (!SWIG_IsOK(res4)) {
34476     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "apr_array_header_t *","svn_client_invoke_get_commit_log", 4, argv[1] ));
34477   }
34478   arg4 = (apr_array_header_t *)(argp4);
34479   res5 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg5), 0, 0);
34480   if (!SWIG_IsOK(res5)) {
34481     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "void *","svn_client_invoke_get_commit_log", 5, argv[2] ));
34482   }
34483   if (argc > 3) {
34484 
34485   }
34486   {
34487     result = (svn_error_t *)svn_client_invoke_get_commit_log(arg1,(char const **)arg2,(char const **)arg3,arg4,arg5,arg6);
34488 
34489 
34490 
34491   }
34492   {
34493     if (result) {
34494       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34495       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34496       svn_swig_rb_handle_svn_error(result);
34497     }
34498     vresult = Qnil;
34499   }
34500   {
34501     if (*arg2) {
34502       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg2));
34503     } else {
34504       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
34505     }
34506   }
34507   {
34508     if (*arg3) {
34509       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg3));
34510     } else {
34511       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
34512     }
34513   }
34514   {
34515     VALUE target;
34516     target = _global_vresult_address == &vresult ? self : vresult;
34517     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
34518     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34519     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34520   }
34521   return vresult;
34522 fail:
34523   {
34524     VALUE target;
34525     target = _global_vresult_address == &vresult ? self : vresult;
34526     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
34527     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34528     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34529   }
34530   return Qnil;
34531 }
34532 
34533 
34534 SWIGINTERN VALUE
_wrap_svn_client_invoke_blame_receiver4(int argc,VALUE * argv,VALUE self)34535 _wrap_svn_client_invoke_blame_receiver4(int argc, VALUE *argv, VALUE self) {
34536   svn_client_blame_receiver4_t arg1 = (svn_client_blame_receiver4_t) 0 ;
34537   void *arg2 = (void *) 0 ;
34538   apr_int64_t arg3 ;
34539   svn_revnum_t arg4 ;
34540   apr_hash_t *arg5 = (apr_hash_t *) 0 ;
34541   svn_revnum_t arg6 ;
34542   apr_hash_t *arg7 = (apr_hash_t *) 0 ;
34543   char *arg8 = (char *) 0 ;
34544   svn_string_t *arg9 = (svn_string_t *) 0 ;
34545   svn_boolean_t arg10 ;
34546   apr_pool_t *arg11 = (apr_pool_t *) 0 ;
34547   VALUE _global_svn_swig_rb_pool ;
34548   apr_pool_t *_global_pool ;
34549   int res2 ;
34550   long val4 ;
34551   int ecode4 = 0 ;
34552   void *argp5 = 0 ;
34553   int res5 = 0 ;
34554   long val6 ;
34555   int ecode6 = 0 ;
34556   void *argp7 = 0 ;
34557   int res7 = 0 ;
34558   int res8 ;
34559   char *buf8 = 0 ;
34560   int alloc8 = 0 ;
34561   svn_string_t value9 ;
34562   svn_error_t *result = 0 ;
34563   VALUE vresult = Qnil;
34564 
34565   {
34566     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg11);
34567     _global_pool = arg11;
34568     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
34569   }
34570   if ((argc < 10) || (argc > 11)) {
34571     rb_raise(rb_eArgError, "wrong # of arguments(%d for 10)",argc); SWIG_fail;
34572   }
34573   {
34574     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_apr_int64_t_svn_revnum_t_p_apr_hash_t_svn_revnum_t_p_apr_hash_t_p_q_const__char_p_q_const__svn_string_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t);
34575     if (!SWIG_IsOK(res)) {
34576       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_blame_receiver4_t","svn_client_invoke_blame_receiver4", 1, argv[0] ));
34577     }
34578   }
34579   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
34580   if (!SWIG_IsOK(res2)) {
34581     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_client_invoke_blame_receiver4", 2, argv[1] ));
34582   }
34583   {
34584     arg3 = (apr_int64_t)NUM2LL(argv[2]);
34585   }
34586   ecode4 = SWIG_AsVal_long(argv[3], &val4);
34587   if (!SWIG_IsOK(ecode4)) {
34588     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_client_invoke_blame_receiver4", 4, argv[3] ));
34589   }
34590   arg4 = (svn_revnum_t)(val4);
34591   res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_apr_hash_t, 0 |  0 );
34592   if (!SWIG_IsOK(res5)) {
34593     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "apr_hash_t *","svn_client_invoke_blame_receiver4", 5, argv[4] ));
34594   }
34595   arg5 = (apr_hash_t *)(argp5);
34596   ecode6 = SWIG_AsVal_long(argv[5], &val6);
34597   if (!SWIG_IsOK(ecode6)) {
34598     SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "svn_revnum_t","svn_client_invoke_blame_receiver4", 6, argv[5] ));
34599   }
34600   arg6 = (svn_revnum_t)(val6);
34601   res7 = SWIG_ConvertPtr(argv[6], &argp7,SWIGTYPE_p_apr_hash_t, 0 |  0 );
34602   if (!SWIG_IsOK(res7)) {
34603     SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "apr_hash_t *","svn_client_invoke_blame_receiver4", 7, argv[6] ));
34604   }
34605   arg7 = (apr_hash_t *)(argp7);
34606   res8 = SWIG_AsCharPtrAndSize(argv[7], &buf8, NULL, &alloc8);
34607   if (!SWIG_IsOK(res8)) {
34608     SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "char const *","svn_client_invoke_blame_receiver4", 8, argv[7] ));
34609   }
34610   arg8 = (char *)(buf8);
34611   {
34612     if (NIL_P(argv[8])) {
34613       arg9 = NULL;
34614     } else {
34615       value9.data = StringValuePtr(argv[8]);
34616       value9.len = RSTRING_LEN(argv[8]);
34617       arg9 = &value9;
34618     }
34619   }
34620   arg10 = RTEST(argv[9]);
34621   if (argc > 10) {
34622 
34623   }
34624   {
34625     result = (svn_error_t *)svn_client_invoke_blame_receiver4(arg1,arg2,arg3,arg4,arg5,arg6,arg7,(char const *)arg8,(struct svn_string_t const *)arg9,arg10,arg11);
34626 
34627 
34628 
34629   }
34630   {
34631     if (result) {
34632       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34633       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34634       svn_swig_rb_handle_svn_error(result);
34635     }
34636     vresult = Qnil;
34637   }
34638   if (alloc8 == SWIG_NEWOBJ) free((char*)buf8);
34639   {
34640     VALUE target;
34641     target = _global_vresult_address == &vresult ? self : vresult;
34642     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
34643     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34644     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34645   }
34646   return vresult;
34647 fail:
34648   if (alloc8 == SWIG_NEWOBJ) free((char*)buf8);
34649   {
34650     VALUE target;
34651     target = _global_vresult_address == &vresult ? self : vresult;
34652     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
34653     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34654     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34655   }
34656   return Qnil;
34657 }
34658 
34659 
34660 SWIGINTERN VALUE
_wrap_svn_client_invoke_blame_receiver3(int argc,VALUE * argv,VALUE self)34661 _wrap_svn_client_invoke_blame_receiver3(int argc, VALUE *argv, VALUE self) {
34662   svn_client_blame_receiver3_t arg1 = (svn_client_blame_receiver3_t) 0 ;
34663   void *arg2 = (void *) 0 ;
34664   svn_revnum_t arg3 ;
34665   svn_revnum_t arg4 ;
34666   apr_int64_t arg5 ;
34667   svn_revnum_t arg6 ;
34668   apr_hash_t *arg7 = (apr_hash_t *) 0 ;
34669   svn_revnum_t arg8 ;
34670   apr_hash_t *arg9 = (apr_hash_t *) 0 ;
34671   char *arg10 = (char *) 0 ;
34672   char *arg11 = (char *) 0 ;
34673   svn_boolean_t arg12 ;
34674   apr_pool_t *arg13 = (apr_pool_t *) 0 ;
34675   VALUE _global_svn_swig_rb_pool ;
34676   apr_pool_t *_global_pool ;
34677   int res2 ;
34678   long val3 ;
34679   int ecode3 = 0 ;
34680   long val4 ;
34681   int ecode4 = 0 ;
34682   long val6 ;
34683   int ecode6 = 0 ;
34684   void *argp7 = 0 ;
34685   int res7 = 0 ;
34686   long val8 ;
34687   int ecode8 = 0 ;
34688   void *argp9 = 0 ;
34689   int res9 = 0 ;
34690   int res10 ;
34691   char *buf10 = 0 ;
34692   int alloc10 = 0 ;
34693   int res11 ;
34694   char *buf11 = 0 ;
34695   int alloc11 = 0 ;
34696   svn_error_t *result = 0 ;
34697   VALUE vresult = Qnil;
34698 
34699   {
34700     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg13);
34701     _global_pool = arg13;
34702     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
34703   }
34704   if ((argc < 12) || (argc > 13)) {
34705     rb_raise(rb_eArgError, "wrong # of arguments(%d for 12)",argc); SWIG_fail;
34706   }
34707   {
34708     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_svn_revnum_t_svn_revnum_t_apr_int64_t_svn_revnum_t_p_apr_hash_t_svn_revnum_t_p_apr_hash_t_p_q_const__char_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t);
34709     if (!SWIG_IsOK(res)) {
34710       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_blame_receiver3_t","svn_client_invoke_blame_receiver3", 1, argv[0] ));
34711     }
34712   }
34713   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
34714   if (!SWIG_IsOK(res2)) {
34715     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_client_invoke_blame_receiver3", 2, argv[1] ));
34716   }
34717   ecode3 = SWIG_AsVal_long(argv[2], &val3);
34718   if (!SWIG_IsOK(ecode3)) {
34719     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "svn_revnum_t","svn_client_invoke_blame_receiver3", 3, argv[2] ));
34720   }
34721   arg3 = (svn_revnum_t)(val3);
34722   ecode4 = SWIG_AsVal_long(argv[3], &val4);
34723   if (!SWIG_IsOK(ecode4)) {
34724     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_client_invoke_blame_receiver3", 4, argv[3] ));
34725   }
34726   arg4 = (svn_revnum_t)(val4);
34727   {
34728     arg5 = (apr_int64_t)NUM2LL(argv[4]);
34729   }
34730   ecode6 = SWIG_AsVal_long(argv[5], &val6);
34731   if (!SWIG_IsOK(ecode6)) {
34732     SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "svn_revnum_t","svn_client_invoke_blame_receiver3", 6, argv[5] ));
34733   }
34734   arg6 = (svn_revnum_t)(val6);
34735   res7 = SWIG_ConvertPtr(argv[6], &argp7,SWIGTYPE_p_apr_hash_t, 0 |  0 );
34736   if (!SWIG_IsOK(res7)) {
34737     SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "apr_hash_t *","svn_client_invoke_blame_receiver3", 7, argv[6] ));
34738   }
34739   arg7 = (apr_hash_t *)(argp7);
34740   ecode8 = SWIG_AsVal_long(argv[7], &val8);
34741   if (!SWIG_IsOK(ecode8)) {
34742     SWIG_exception_fail(SWIG_ArgError(ecode8), Ruby_Format_TypeError( "", "svn_revnum_t","svn_client_invoke_blame_receiver3", 8, argv[7] ));
34743   }
34744   arg8 = (svn_revnum_t)(val8);
34745   res9 = SWIG_ConvertPtr(argv[8], &argp9,SWIGTYPE_p_apr_hash_t, 0 |  0 );
34746   if (!SWIG_IsOK(res9)) {
34747     SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "apr_hash_t *","svn_client_invoke_blame_receiver3", 9, argv[8] ));
34748   }
34749   arg9 = (apr_hash_t *)(argp9);
34750   res10 = SWIG_AsCharPtrAndSize(argv[9], &buf10, NULL, &alloc10);
34751   if (!SWIG_IsOK(res10)) {
34752     SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "char const *","svn_client_invoke_blame_receiver3", 10, argv[9] ));
34753   }
34754   arg10 = (char *)(buf10);
34755   res11 = SWIG_AsCharPtrAndSize(argv[10], &buf11, NULL, &alloc11);
34756   if (!SWIG_IsOK(res11)) {
34757     SWIG_exception_fail(SWIG_ArgError(res11), Ruby_Format_TypeError( "", "char const *","svn_client_invoke_blame_receiver3", 11, argv[10] ));
34758   }
34759   arg11 = (char *)(buf11);
34760   arg12 = RTEST(argv[11]);
34761   if (argc > 12) {
34762 
34763   }
34764   {
34765     result = (svn_error_t *)svn_client_invoke_blame_receiver3(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,(char const *)arg10,(char const *)arg11,arg12,arg13);
34766 
34767 
34768 
34769   }
34770   {
34771     if (result) {
34772       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34773       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34774       svn_swig_rb_handle_svn_error(result);
34775     }
34776     vresult = Qnil;
34777   }
34778   if (alloc10 == SWIG_NEWOBJ) free((char*)buf10);
34779   if (alloc11 == SWIG_NEWOBJ) free((char*)buf11);
34780   {
34781     VALUE target;
34782     target = _global_vresult_address == &vresult ? self : vresult;
34783     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
34784     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34785     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34786   }
34787   return vresult;
34788 fail:
34789   if (alloc10 == SWIG_NEWOBJ) free((char*)buf10);
34790   if (alloc11 == SWIG_NEWOBJ) free((char*)buf11);
34791   {
34792     VALUE target;
34793     target = _global_vresult_address == &vresult ? self : vresult;
34794     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
34795     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34796     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34797   }
34798   return Qnil;
34799 }
34800 
34801 
34802 SWIGINTERN VALUE
_wrap_svn_client_invoke_blame_receiver2(int argc,VALUE * argv,VALUE self)34803 _wrap_svn_client_invoke_blame_receiver2(int argc, VALUE *argv, VALUE self) {
34804   svn_client_blame_receiver2_t arg1 = (svn_client_blame_receiver2_t) 0 ;
34805   void *arg2 = (void *) 0 ;
34806   apr_int64_t arg3 ;
34807   svn_revnum_t arg4 ;
34808   char *arg5 = (char *) 0 ;
34809   char *arg6 = (char *) 0 ;
34810   svn_revnum_t arg7 ;
34811   char *arg8 = (char *) 0 ;
34812   char *arg9 = (char *) 0 ;
34813   char *arg10 = (char *) 0 ;
34814   char *arg11 = (char *) 0 ;
34815   apr_pool_t *arg12 = (apr_pool_t *) 0 ;
34816   VALUE _global_svn_swig_rb_pool ;
34817   apr_pool_t *_global_pool ;
34818   int res2 ;
34819   long val4 ;
34820   int ecode4 = 0 ;
34821   int res5 ;
34822   char *buf5 = 0 ;
34823   int alloc5 = 0 ;
34824   int res6 ;
34825   char *buf6 = 0 ;
34826   int alloc6 = 0 ;
34827   long val7 ;
34828   int ecode7 = 0 ;
34829   int res8 ;
34830   char *buf8 = 0 ;
34831   int alloc8 = 0 ;
34832   int res9 ;
34833   char *buf9 = 0 ;
34834   int alloc9 = 0 ;
34835   int res10 ;
34836   char *buf10 = 0 ;
34837   int alloc10 = 0 ;
34838   int res11 ;
34839   char *buf11 = 0 ;
34840   int alloc11 = 0 ;
34841   svn_error_t *result = 0 ;
34842   VALUE vresult = Qnil;
34843 
34844   {
34845     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg12);
34846     _global_pool = arg12;
34847     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
34848   }
34849   if ((argc < 11) || (argc > 12)) {
34850     rb_raise(rb_eArgError, "wrong # of arguments(%d for 11)",argc); SWIG_fail;
34851   }
34852   {
34853     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t);
34854     if (!SWIG_IsOK(res)) {
34855       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_blame_receiver2_t","svn_client_invoke_blame_receiver2", 1, argv[0] ));
34856     }
34857   }
34858   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
34859   if (!SWIG_IsOK(res2)) {
34860     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_client_invoke_blame_receiver2", 2, argv[1] ));
34861   }
34862   {
34863     arg3 = (apr_int64_t)NUM2LL(argv[2]);
34864   }
34865   ecode4 = SWIG_AsVal_long(argv[3], &val4);
34866   if (!SWIG_IsOK(ecode4)) {
34867     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_client_invoke_blame_receiver2", 4, argv[3] ));
34868   }
34869   arg4 = (svn_revnum_t)(val4);
34870   res5 = SWIG_AsCharPtrAndSize(argv[4], &buf5, NULL, &alloc5);
34871   if (!SWIG_IsOK(res5)) {
34872     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_client_invoke_blame_receiver2", 5, argv[4] ));
34873   }
34874   arg5 = (char *)(buf5);
34875   res6 = SWIG_AsCharPtrAndSize(argv[5], &buf6, NULL, &alloc6);
34876   if (!SWIG_IsOK(res6)) {
34877     SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "char const *","svn_client_invoke_blame_receiver2", 6, argv[5] ));
34878   }
34879   arg6 = (char *)(buf6);
34880   ecode7 = SWIG_AsVal_long(argv[6], &val7);
34881   if (!SWIG_IsOK(ecode7)) {
34882     SWIG_exception_fail(SWIG_ArgError(ecode7), Ruby_Format_TypeError( "", "svn_revnum_t","svn_client_invoke_blame_receiver2", 7, argv[6] ));
34883   }
34884   arg7 = (svn_revnum_t)(val7);
34885   res8 = SWIG_AsCharPtrAndSize(argv[7], &buf8, NULL, &alloc8);
34886   if (!SWIG_IsOK(res8)) {
34887     SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "char const *","svn_client_invoke_blame_receiver2", 8, argv[7] ));
34888   }
34889   arg8 = (char *)(buf8);
34890   res9 = SWIG_AsCharPtrAndSize(argv[8], &buf9, NULL, &alloc9);
34891   if (!SWIG_IsOK(res9)) {
34892     SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "char const *","svn_client_invoke_blame_receiver2", 9, argv[8] ));
34893   }
34894   arg9 = (char *)(buf9);
34895   res10 = SWIG_AsCharPtrAndSize(argv[9], &buf10, NULL, &alloc10);
34896   if (!SWIG_IsOK(res10)) {
34897     SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "char const *","svn_client_invoke_blame_receiver2", 10, argv[9] ));
34898   }
34899   arg10 = (char *)(buf10);
34900   res11 = SWIG_AsCharPtrAndSize(argv[10], &buf11, NULL, &alloc11);
34901   if (!SWIG_IsOK(res11)) {
34902     SWIG_exception_fail(SWIG_ArgError(res11), Ruby_Format_TypeError( "", "char const *","svn_client_invoke_blame_receiver2", 11, argv[10] ));
34903   }
34904   arg11 = (char *)(buf11);
34905   if (argc > 11) {
34906 
34907   }
34908   {
34909     result = (svn_error_t *)svn_client_invoke_blame_receiver2(arg1,arg2,arg3,arg4,(char const *)arg5,(char const *)arg6,arg7,(char const *)arg8,(char const *)arg9,(char const *)arg10,(char const *)arg11,arg12);
34910 
34911 
34912 
34913   }
34914   {
34915     if (result) {
34916       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34917       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34918       svn_swig_rb_handle_svn_error(result);
34919     }
34920     vresult = Qnil;
34921   }
34922   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
34923   if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
34924   if (alloc8 == SWIG_NEWOBJ) free((char*)buf8);
34925   if (alloc9 == SWIG_NEWOBJ) free((char*)buf9);
34926   if (alloc10 == SWIG_NEWOBJ) free((char*)buf10);
34927   if (alloc11 == SWIG_NEWOBJ) free((char*)buf11);
34928   {
34929     VALUE target;
34930     target = _global_vresult_address == &vresult ? self : vresult;
34931     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
34932     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34933     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34934   }
34935   return vresult;
34936 fail:
34937   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
34938   if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
34939   if (alloc8 == SWIG_NEWOBJ) free((char*)buf8);
34940   if (alloc9 == SWIG_NEWOBJ) free((char*)buf9);
34941   if (alloc10 == SWIG_NEWOBJ) free((char*)buf10);
34942   if (alloc11 == SWIG_NEWOBJ) free((char*)buf11);
34943   {
34944     VALUE target;
34945     target = _global_vresult_address == &vresult ? self : vresult;
34946     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
34947     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
34948     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
34949   }
34950   return Qnil;
34951 }
34952 
34953 
34954 SWIGINTERN VALUE
_wrap_svn_client_invoke_blame_receiver(int argc,VALUE * argv,VALUE self)34955 _wrap_svn_client_invoke_blame_receiver(int argc, VALUE *argv, VALUE self) {
34956   svn_client_blame_receiver_t arg1 = (svn_client_blame_receiver_t) 0 ;
34957   void *arg2 = (void *) 0 ;
34958   apr_int64_t arg3 ;
34959   svn_revnum_t arg4 ;
34960   char *arg5 = (char *) 0 ;
34961   char *arg6 = (char *) 0 ;
34962   char *arg7 = (char *) 0 ;
34963   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
34964   VALUE _global_svn_swig_rb_pool ;
34965   apr_pool_t *_global_pool ;
34966   int res2 ;
34967   long val4 ;
34968   int ecode4 = 0 ;
34969   int res5 ;
34970   char *buf5 = 0 ;
34971   int alloc5 = 0 ;
34972   int res6 ;
34973   char *buf6 = 0 ;
34974   int alloc6 = 0 ;
34975   int res7 ;
34976   char *buf7 = 0 ;
34977   int alloc7 = 0 ;
34978   svn_error_t *result = 0 ;
34979   VALUE vresult = Qnil;
34980 
34981   {
34982     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8);
34983     _global_pool = arg8;
34984     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
34985   }
34986   if ((argc < 7) || (argc > 8)) {
34987     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
34988   }
34989   {
34990     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t);
34991     if (!SWIG_IsOK(res)) {
34992       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_blame_receiver_t","svn_client_invoke_blame_receiver", 1, argv[0] ));
34993     }
34994   }
34995   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
34996   if (!SWIG_IsOK(res2)) {
34997     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_client_invoke_blame_receiver", 2, argv[1] ));
34998   }
34999   {
35000     arg3 = (apr_int64_t)NUM2LL(argv[2]);
35001   }
35002   ecode4 = SWIG_AsVal_long(argv[3], &val4);
35003   if (!SWIG_IsOK(ecode4)) {
35004     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_client_invoke_blame_receiver", 4, argv[3] ));
35005   }
35006   arg4 = (svn_revnum_t)(val4);
35007   res5 = SWIG_AsCharPtrAndSize(argv[4], &buf5, NULL, &alloc5);
35008   if (!SWIG_IsOK(res5)) {
35009     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_client_invoke_blame_receiver", 5, argv[4] ));
35010   }
35011   arg5 = (char *)(buf5);
35012   res6 = SWIG_AsCharPtrAndSize(argv[5], &buf6, NULL, &alloc6);
35013   if (!SWIG_IsOK(res6)) {
35014     SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "char const *","svn_client_invoke_blame_receiver", 6, argv[5] ));
35015   }
35016   arg6 = (char *)(buf6);
35017   res7 = SWIG_AsCharPtrAndSize(argv[6], &buf7, NULL, &alloc7);
35018   if (!SWIG_IsOK(res7)) {
35019     SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "char const *","svn_client_invoke_blame_receiver", 7, argv[6] ));
35020   }
35021   arg7 = (char *)(buf7);
35022   if (argc > 7) {
35023 
35024   }
35025   {
35026     result = (svn_error_t *)svn_client_invoke_blame_receiver(arg1,arg2,arg3,arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,arg8);
35027 
35028 
35029 
35030   }
35031   {
35032     if (result) {
35033       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35034       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35035       svn_swig_rb_handle_svn_error(result);
35036     }
35037     vresult = Qnil;
35038   }
35039   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
35040   if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
35041   if (alloc7 == SWIG_NEWOBJ) free((char*)buf7);
35042   {
35043     VALUE target;
35044     target = _global_vresult_address == &vresult ? self : vresult;
35045     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
35046     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35047     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35048   }
35049   return vresult;
35050 fail:
35051   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
35052   if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
35053   if (alloc7 == SWIG_NEWOBJ) free((char*)buf7);
35054   {
35055     VALUE target;
35056     target = _global_vresult_address == &vresult ? self : vresult;
35057     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
35058     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35059     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35060   }
35061   return Qnil;
35062 }
35063 
35064 
35065 SWIGINTERN VALUE
_wrap_svn_client_invoke_diff_summarize_func(int argc,VALUE * argv,VALUE self)35066 _wrap_svn_client_invoke_diff_summarize_func(int argc, VALUE *argv, VALUE self) {
35067   svn_client_diff_summarize_func_t arg1 = (svn_client_diff_summarize_func_t) 0 ;
35068   svn_client_diff_summarize_t *arg2 = (svn_client_diff_summarize_t *) 0 ;
35069   void *arg3 = (void *) 0 ;
35070   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
35071   VALUE _global_svn_swig_rb_pool ;
35072   apr_pool_t *_global_pool ;
35073   void *argp2 = 0 ;
35074   int res2 = 0 ;
35075   int res3 ;
35076   svn_error_t *result = 0 ;
35077   VALUE vresult = Qnil;
35078 
35079   {
35080     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
35081     _global_pool = arg4;
35082     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
35083   }
35084   if ((argc < 3) || (argc > 4)) {
35085     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
35086   }
35087   {
35088     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_q_const__svn_client_diff_summarize_t_p_void_p_apr_pool_t__p_svn_error_t);
35089     if (!SWIG_IsOK(res)) {
35090       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_diff_summarize_func_t","svn_client_invoke_diff_summarize_func", 1, argv[0] ));
35091     }
35092   }
35093   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_svn_client_diff_summarize_t, 0 |  0 );
35094   if (!SWIG_IsOK(res2)) {
35095     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_client_diff_summarize_t const *","svn_client_invoke_diff_summarize_func", 2, argv[1] ));
35096   }
35097   arg2 = (svn_client_diff_summarize_t *)(argp2);
35098   res3 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg3), 0, 0);
35099   if (!SWIG_IsOK(res3)) {
35100     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "void *","svn_client_invoke_diff_summarize_func", 3, argv[2] ));
35101   }
35102   if (argc > 3) {
35103 
35104   }
35105   {
35106     result = (svn_error_t *)svn_client_invoke_diff_summarize_func(arg1,(struct svn_client_diff_summarize_t const *)arg2,arg3,arg4);
35107 
35108 
35109 
35110   }
35111   {
35112     if (result) {
35113       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35114       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35115       svn_swig_rb_handle_svn_error(result);
35116     }
35117     vresult = Qnil;
35118   }
35119   {
35120     VALUE target;
35121     target = _global_vresult_address == &vresult ? self : vresult;
35122     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
35123     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35124     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35125   }
35126   return vresult;
35127 fail:
35128   {
35129     VALUE target;
35130     target = _global_vresult_address == &vresult ? self : vresult;
35131     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
35132     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35133     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35134   }
35135   return Qnil;
35136 }
35137 
35138 
35139 SWIGINTERN VALUE
_wrap_svn_client_invoke__layout_func(int argc,VALUE * argv,VALUE self)35140 _wrap_svn_client_invoke__layout_func(int argc, VALUE *argv, VALUE self) {
35141   svn_client__layout_func_t arg1 = (svn_client__layout_func_t) 0 ;
35142   void *arg2 = (void *) 0 ;
35143   char *arg3 = (char *) 0 ;
35144   char *arg4 = (char *) 0 ;
35145   svn_boolean_t arg5 ;
35146   svn_boolean_t arg6 ;
35147   char *arg7 = (char *) 0 ;
35148   svn_boolean_t arg8 ;
35149   svn_revnum_t arg9 ;
35150   svn_boolean_t arg10 ;
35151   svn_depth_t arg11 ;
35152   apr_pool_t *arg12 = (apr_pool_t *) 0 ;
35153   VALUE _global_svn_swig_rb_pool ;
35154   apr_pool_t *_global_pool ;
35155   int res2 ;
35156   int res3 ;
35157   char *buf3 = 0 ;
35158   int alloc3 = 0 ;
35159   int res4 ;
35160   char *buf4 = 0 ;
35161   int alloc4 = 0 ;
35162   int res7 ;
35163   char *buf7 = 0 ;
35164   int alloc7 = 0 ;
35165   long val9 ;
35166   int ecode9 = 0 ;
35167   svn_error_t *result = 0 ;
35168   VALUE vresult = Qnil;
35169 
35170   {
35171     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg12);
35172     _global_pool = arg12;
35173     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
35174   }
35175   if ((argc < 11) || (argc > 12)) {
35176     rb_raise(rb_eArgError, "wrong # of arguments(%d for 11)",argc); SWIG_fail;
35177   }
35178   {
35179     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_svn_boolean_t_svn_revnum_t_svn_boolean_t_svn_depth_t_p_apr_pool_t__p_svn_error_t);
35180     if (!SWIG_IsOK(res)) {
35181       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client__layout_func_t","svn_client_invoke__layout_func", 1, argv[0] ));
35182     }
35183   }
35184   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
35185   if (!SWIG_IsOK(res2)) {
35186     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_client_invoke__layout_func", 2, argv[1] ));
35187   }
35188   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
35189   if (!SWIG_IsOK(res3)) {
35190     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_invoke__layout_func", 3, argv[2] ));
35191   }
35192   arg3 = (char *)(buf3);
35193   res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
35194   if (!SWIG_IsOK(res4)) {
35195     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_invoke__layout_func", 4, argv[3] ));
35196   }
35197   arg4 = (char *)(buf4);
35198   arg5 = RTEST(argv[4]);
35199   arg6 = RTEST(argv[5]);
35200   res7 = SWIG_AsCharPtrAndSize(argv[6], &buf7, NULL, &alloc7);
35201   if (!SWIG_IsOK(res7)) {
35202     SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "char const *","svn_client_invoke__layout_func", 7, argv[6] ));
35203   }
35204   arg7 = (char *)(buf7);
35205   arg8 = RTEST(argv[7]);
35206   ecode9 = SWIG_AsVal_long(argv[8], &val9);
35207   if (!SWIG_IsOK(ecode9)) {
35208     SWIG_exception_fail(SWIG_ArgError(ecode9), Ruby_Format_TypeError( "", "svn_revnum_t","svn_client_invoke__layout_func", 9, argv[8] ));
35209   }
35210   arg9 = (svn_revnum_t)(val9);
35211   arg10 = RTEST(argv[9]);
35212   {
35213     arg11 = svn_swig_rb_to_depth(argv[10]);
35214   }
35215   if (argc > 11) {
35216 
35217   }
35218   {
35219     result = (svn_error_t *)svn_client_invoke__layout_func(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5,arg6,(char const *)arg7,arg8,arg9,arg10,arg11,arg12);
35220 
35221 
35222 
35223   }
35224   {
35225     if (result) {
35226       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35227       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35228       svn_swig_rb_handle_svn_error(result);
35229     }
35230     vresult = Qnil;
35231   }
35232   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
35233   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
35234   if (alloc7 == SWIG_NEWOBJ) free((char*)buf7);
35235   {
35236     VALUE target;
35237     target = _global_vresult_address == &vresult ? self : vresult;
35238     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
35239     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35240     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35241   }
35242   return vresult;
35243 fail:
35244   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
35245   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
35246   if (alloc7 == SWIG_NEWOBJ) free((char*)buf7);
35247   {
35248     VALUE target;
35249     target = _global_vresult_address == &vresult ? self : vresult;
35250     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
35251     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35252     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35253   }
35254   return Qnil;
35255 }
35256 
35257 
35258 SWIGINTERN VALUE
_wrap_svn_client_invoke_import_filter_func(int argc,VALUE * argv,VALUE self)35259 _wrap_svn_client_invoke_import_filter_func(int argc, VALUE *argv, VALUE self) {
35260   svn_client_import_filter_func_t arg1 = (svn_client_import_filter_func_t) 0 ;
35261   void *arg2 = (void *) 0 ;
35262   svn_boolean_t *arg3 = (svn_boolean_t *) 0 ;
35263   char *arg4 = (char *) 0 ;
35264   svn_io_dirent2_t *arg5 = (svn_io_dirent2_t *) 0 ;
35265   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
35266   VALUE _global_svn_swig_rb_pool ;
35267   apr_pool_t *_global_pool ;
35268   int res2 ;
35269   svn_boolean_t temp3 ;
35270   int res4 ;
35271   char *buf4 = 0 ;
35272   int alloc4 = 0 ;
35273   void *argp5 = 0 ;
35274   int res5 = 0 ;
35275   svn_error_t *result = 0 ;
35276   VALUE vresult = Qnil;
35277 
35278   {
35279     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
35280     _global_pool = arg6;
35281     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
35282   }
35283   arg3 = &temp3;
35284   if ((argc < 4) || (argc > 5)) {
35285     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
35286   }
35287   {
35288     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_svn_boolean_t_p_q_const__char_p_q_const__svn_io_dirent2_t_p_apr_pool_t__p_svn_error_t);
35289     if (!SWIG_IsOK(res)) {
35290       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_import_filter_func_t","svn_client_invoke_import_filter_func", 1, argv[0] ));
35291     }
35292   }
35293   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
35294   if (!SWIG_IsOK(res2)) {
35295     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_client_invoke_import_filter_func", 2, argv[1] ));
35296   }
35297   res4 = SWIG_AsCharPtrAndSize(argv[2], &buf4, NULL, &alloc4);
35298   if (!SWIG_IsOK(res4)) {
35299     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_invoke_import_filter_func", 4, argv[2] ));
35300   }
35301   arg4 = (char *)(buf4);
35302   res5 = SWIG_ConvertPtr(argv[3], &argp5,SWIGTYPE_p_svn_io_dirent2_t, 0 |  0 );
35303   if (!SWIG_IsOK(res5)) {
35304     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_io_dirent2_t const *","svn_client_invoke_import_filter_func", 5, argv[3] ));
35305   }
35306   arg5 = (svn_io_dirent2_t *)(argp5);
35307   if (argc > 4) {
35308 
35309   }
35310   {
35311     result = (svn_error_t *)svn_client_invoke_import_filter_func(arg1,arg2,arg3,(char const *)arg4,(struct svn_io_dirent2_t const *)arg5,arg6);
35312 
35313 
35314 
35315   }
35316   {
35317     if (result) {
35318       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35319       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35320       svn_swig_rb_handle_svn_error(result);
35321     }
35322     vresult = Qnil;
35323   }
35324   {
35325     vresult = SWIG_Ruby_AppendOutput(vresult, *arg3 ? Qtrue : Qfalse);
35326   }
35327   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
35328   {
35329     VALUE target;
35330     target = _global_vresult_address == &vresult ? self : vresult;
35331     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
35332     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35333     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35334   }
35335   return vresult;
35336 fail:
35337   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
35338   {
35339     VALUE target;
35340     target = _global_vresult_address == &vresult ? self : vresult;
35341     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
35342     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35343     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35344   }
35345   return Qnil;
35346 }
35347 
35348 
35349 SWIGINTERN VALUE
_wrap_svn_client_invoke_status_func(int argc,VALUE * argv,VALUE self)35350 _wrap_svn_client_invoke_status_func(int argc, VALUE *argv, VALUE self) {
35351   svn_client_status_func_t arg1 = (svn_client_status_func_t) 0 ;
35352   void *arg2 = (void *) 0 ;
35353   char *arg3 = (char *) 0 ;
35354   svn_client_status_t *arg4 = (svn_client_status_t *) 0 ;
35355   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
35356   VALUE _global_svn_swig_rb_pool ;
35357   apr_pool_t *_global_pool ;
35358   int res2 ;
35359   int res3 ;
35360   char *buf3 = 0 ;
35361   int alloc3 = 0 ;
35362   void *argp4 = 0 ;
35363   int res4 = 0 ;
35364   svn_error_t *result = 0 ;
35365   VALUE vresult = Qnil;
35366 
35367   {
35368     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
35369     _global_pool = arg5;
35370     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
35371   }
35372   if ((argc < 4) || (argc > 5)) {
35373     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
35374   }
35375   {
35376     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_client_status_t_p_apr_pool_t__p_svn_error_t);
35377     if (!SWIG_IsOK(res)) {
35378       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_status_func_t","svn_client_invoke_status_func", 1, argv[0] ));
35379     }
35380   }
35381   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
35382   if (!SWIG_IsOK(res2)) {
35383     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_client_invoke_status_func", 2, argv[1] ));
35384   }
35385   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
35386   if (!SWIG_IsOK(res3)) {
35387     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_invoke_status_func", 3, argv[2] ));
35388   }
35389   arg3 = (char *)(buf3);
35390   res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_svn_client_status_t, 0 |  0 );
35391   if (!SWIG_IsOK(res4)) {
35392     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_status_t const *","svn_client_invoke_status_func", 4, argv[3] ));
35393   }
35394   arg4 = (svn_client_status_t *)(argp4);
35395   if (argc > 4) {
35396 
35397   }
35398   {
35399     result = (svn_error_t *)svn_client_invoke_status_func(arg1,arg2,(char const *)arg3,(struct svn_client_status_t const *)arg4,arg5);
35400 
35401 
35402 
35403   }
35404   {
35405     if (result) {
35406       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35407       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35408       svn_swig_rb_handle_svn_error(result);
35409     }
35410     vresult = Qnil;
35411   }
35412   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
35413   {
35414     VALUE target;
35415     target = _global_vresult_address == &vresult ? self : vresult;
35416     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
35417     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35418     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35419   }
35420   return vresult;
35421 fail:
35422   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
35423   {
35424     VALUE target;
35425     target = _global_vresult_address == &vresult ? self : vresult;
35426     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
35427     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35428     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35429   }
35430   return Qnil;
35431 }
35432 
35433 
35434 SWIGINTERN VALUE
_wrap_svn_client_invoke_conflict_walk_func(int argc,VALUE * argv,VALUE self)35435 _wrap_svn_client_invoke_conflict_walk_func(int argc, VALUE *argv, VALUE self) {
35436   svn_client_conflict_walk_func_t arg1 = (svn_client_conflict_walk_func_t) 0 ;
35437   void *arg2 = (void *) 0 ;
35438   svn_client_conflict_t *arg3 = (svn_client_conflict_t *) 0 ;
35439   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
35440   VALUE _global_svn_swig_rb_pool ;
35441   apr_pool_t *_global_pool ;
35442   int res2 ;
35443   void *argp3 = 0 ;
35444   int res3 = 0 ;
35445   svn_error_t *result = 0 ;
35446   VALUE vresult = Qnil;
35447 
35448   {
35449     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
35450     _global_pool = arg4;
35451     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
35452   }
35453   if ((argc < 3) || (argc > 4)) {
35454     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
35455   }
35456   {
35457     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_svn_client_conflict_t_p_apr_pool_t__p_svn_error_t);
35458     if (!SWIG_IsOK(res)) {
35459       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_conflict_walk_func_t","svn_client_invoke_conflict_walk_func", 1, argv[0] ));
35460     }
35461   }
35462   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
35463   if (!SWIG_IsOK(res2)) {
35464     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_client_invoke_conflict_walk_func", 2, argv[1] ));
35465   }
35466   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_svn_client_conflict_t, 0 |  0 );
35467   if (!SWIG_IsOK(res3)) {
35468     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_client_conflict_t *","svn_client_invoke_conflict_walk_func", 3, argv[2] ));
35469   }
35470   arg3 = (svn_client_conflict_t *)(argp3);
35471   if (argc > 3) {
35472 
35473   }
35474   {
35475     result = (svn_error_t *)svn_client_invoke_conflict_walk_func(arg1,arg2,arg3,arg4);
35476 
35477 
35478 
35479   }
35480   {
35481     if (result) {
35482       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35483       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35484       svn_swig_rb_handle_svn_error(result);
35485     }
35486     vresult = Qnil;
35487   }
35488   {
35489     VALUE target;
35490     target = _global_vresult_address == &vresult ? self : vresult;
35491     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
35492     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35493     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35494   }
35495   return vresult;
35496 fail:
35497   {
35498     VALUE target;
35499     target = _global_vresult_address == &vresult ? self : vresult;
35500     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
35501     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35502     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35503   }
35504   return Qnil;
35505 }
35506 
35507 
35508 SWIGINTERN VALUE
_wrap_svn_client_invoke_list_func2(int argc,VALUE * argv,VALUE self)35509 _wrap_svn_client_invoke_list_func2(int argc, VALUE *argv, VALUE self) {
35510   svn_client_list_func2_t arg1 = (svn_client_list_func2_t) 0 ;
35511   void *arg2 = (void *) 0 ;
35512   char *arg3 = (char *) 0 ;
35513   svn_dirent_t *arg4 = (svn_dirent_t *) 0 ;
35514   svn_lock_t *arg5 = (svn_lock_t *) 0 ;
35515   char *arg6 = (char *) 0 ;
35516   char *arg7 = (char *) 0 ;
35517   char *arg8 = (char *) 0 ;
35518   apr_pool_t *arg9 = (apr_pool_t *) 0 ;
35519   VALUE _global_svn_swig_rb_pool ;
35520   apr_pool_t *_global_pool ;
35521   int res2 ;
35522   int res3 ;
35523   char *buf3 = 0 ;
35524   int alloc3 = 0 ;
35525   void *argp4 = 0 ;
35526   int res4 = 0 ;
35527   void *argp5 = 0 ;
35528   int res5 = 0 ;
35529   int res6 ;
35530   char *buf6 = 0 ;
35531   int alloc6 = 0 ;
35532   int res7 ;
35533   char *buf7 = 0 ;
35534   int alloc7 = 0 ;
35535   int res8 ;
35536   char *buf8 = 0 ;
35537   int alloc8 = 0 ;
35538   svn_error_t *result = 0 ;
35539   VALUE vresult = Qnil;
35540 
35541   {
35542     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg9);
35543     _global_pool = arg9;
35544     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
35545   }
35546   if ((argc < 8) || (argc > 9)) {
35547     rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
35548   }
35549   {
35550     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_dirent_t_p_q_const__svn_lock_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t);
35551     if (!SWIG_IsOK(res)) {
35552       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_list_func2_t","svn_client_invoke_list_func2", 1, argv[0] ));
35553     }
35554   }
35555   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
35556   if (!SWIG_IsOK(res2)) {
35557     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_client_invoke_list_func2", 2, argv[1] ));
35558   }
35559   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
35560   if (!SWIG_IsOK(res3)) {
35561     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_invoke_list_func2", 3, argv[2] ));
35562   }
35563   arg3 = (char *)(buf3);
35564   res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_svn_dirent_t, 0 |  0 );
35565   if (!SWIG_IsOK(res4)) {
35566     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_dirent_t const *","svn_client_invoke_list_func2", 4, argv[3] ));
35567   }
35568   arg4 = (svn_dirent_t *)(argp4);
35569   res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_svn_lock_t, 0 |  0 );
35570   if (!SWIG_IsOK(res5)) {
35571     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_lock_t const *","svn_client_invoke_list_func2", 5, argv[4] ));
35572   }
35573   arg5 = (svn_lock_t *)(argp5);
35574   res6 = SWIG_AsCharPtrAndSize(argv[5], &buf6, NULL, &alloc6);
35575   if (!SWIG_IsOK(res6)) {
35576     SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "char const *","svn_client_invoke_list_func2", 6, argv[5] ));
35577   }
35578   arg6 = (char *)(buf6);
35579   res7 = SWIG_AsCharPtrAndSize(argv[6], &buf7, NULL, &alloc7);
35580   if (!SWIG_IsOK(res7)) {
35581     SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "char const *","svn_client_invoke_list_func2", 7, argv[6] ));
35582   }
35583   arg7 = (char *)(buf7);
35584   res8 = SWIG_AsCharPtrAndSize(argv[7], &buf8, NULL, &alloc8);
35585   if (!SWIG_IsOK(res8)) {
35586     SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "char const *","svn_client_invoke_list_func2", 8, argv[7] ));
35587   }
35588   arg8 = (char *)(buf8);
35589   if (argc > 8) {
35590 
35591   }
35592   {
35593     result = (svn_error_t *)svn_client_invoke_list_func2(arg1,arg2,(char const *)arg3,(struct svn_dirent_t const *)arg4,(struct svn_lock_t const *)arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,arg9);
35594 
35595 
35596 
35597   }
35598   {
35599     if (result) {
35600       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35601       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35602       svn_swig_rb_handle_svn_error(result);
35603     }
35604     vresult = Qnil;
35605   }
35606   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
35607   if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
35608   if (alloc7 == SWIG_NEWOBJ) free((char*)buf7);
35609   if (alloc8 == SWIG_NEWOBJ) free((char*)buf8);
35610   {
35611     VALUE target;
35612     target = _global_vresult_address == &vresult ? self : vresult;
35613     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
35614     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35615     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35616   }
35617   return vresult;
35618 fail:
35619   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
35620   if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
35621   if (alloc7 == SWIG_NEWOBJ) free((char*)buf7);
35622   if (alloc8 == SWIG_NEWOBJ) free((char*)buf8);
35623   {
35624     VALUE target;
35625     target = _global_vresult_address == &vresult ? self : vresult;
35626     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
35627     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35628     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35629   }
35630   return Qnil;
35631 }
35632 
35633 
35634 SWIGINTERN VALUE
_wrap_svn_client_invoke_list_func(int argc,VALUE * argv,VALUE self)35635 _wrap_svn_client_invoke_list_func(int argc, VALUE *argv, VALUE self) {
35636   svn_client_list_func_t arg1 = (svn_client_list_func_t) 0 ;
35637   void *arg2 = (void *) 0 ;
35638   char *arg3 = (char *) 0 ;
35639   svn_dirent_t *arg4 = (svn_dirent_t *) 0 ;
35640   svn_lock_t *arg5 = (svn_lock_t *) 0 ;
35641   char *arg6 = (char *) 0 ;
35642   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
35643   VALUE _global_svn_swig_rb_pool ;
35644   apr_pool_t *_global_pool ;
35645   int res2 ;
35646   int res3 ;
35647   char *buf3 = 0 ;
35648   int alloc3 = 0 ;
35649   void *argp4 = 0 ;
35650   int res4 = 0 ;
35651   void *argp5 = 0 ;
35652   int res5 = 0 ;
35653   int res6 ;
35654   char *buf6 = 0 ;
35655   int alloc6 = 0 ;
35656   svn_error_t *result = 0 ;
35657   VALUE vresult = Qnil;
35658 
35659   {
35660     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7);
35661     _global_pool = arg7;
35662     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
35663   }
35664   if ((argc < 6) || (argc > 7)) {
35665     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
35666   }
35667   {
35668     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_dirent_t_p_q_const__svn_lock_t_p_q_const__char_p_apr_pool_t__p_svn_error_t);
35669     if (!SWIG_IsOK(res)) {
35670       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_list_func_t","svn_client_invoke_list_func", 1, argv[0] ));
35671     }
35672   }
35673   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
35674   if (!SWIG_IsOK(res2)) {
35675     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_client_invoke_list_func", 2, argv[1] ));
35676   }
35677   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
35678   if (!SWIG_IsOK(res3)) {
35679     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_invoke_list_func", 3, argv[2] ));
35680   }
35681   arg3 = (char *)(buf3);
35682   res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_svn_dirent_t, 0 |  0 );
35683   if (!SWIG_IsOK(res4)) {
35684     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_dirent_t const *","svn_client_invoke_list_func", 4, argv[3] ));
35685   }
35686   arg4 = (svn_dirent_t *)(argp4);
35687   res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_svn_lock_t, 0 |  0 );
35688   if (!SWIG_IsOK(res5)) {
35689     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_lock_t const *","svn_client_invoke_list_func", 5, argv[4] ));
35690   }
35691   arg5 = (svn_lock_t *)(argp5);
35692   res6 = SWIG_AsCharPtrAndSize(argv[5], &buf6, NULL, &alloc6);
35693   if (!SWIG_IsOK(res6)) {
35694     SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "char const *","svn_client_invoke_list_func", 6, argv[5] ));
35695   }
35696   arg6 = (char *)(buf6);
35697   if (argc > 6) {
35698 
35699   }
35700   {
35701     result = (svn_error_t *)svn_client_invoke_list_func(arg1,arg2,(char const *)arg3,(struct svn_dirent_t const *)arg4,(struct svn_lock_t const *)arg5,(char const *)arg6,arg7);
35702 
35703 
35704 
35705   }
35706   {
35707     if (result) {
35708       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35709       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35710       svn_swig_rb_handle_svn_error(result);
35711     }
35712     vresult = Qnil;
35713   }
35714   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
35715   if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
35716   {
35717     VALUE target;
35718     target = _global_vresult_address == &vresult ? self : vresult;
35719     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
35720     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35721     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35722   }
35723   return vresult;
35724 fail:
35725   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
35726   if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
35727   {
35728     VALUE target;
35729     target = _global_vresult_address == &vresult ? self : vresult;
35730     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
35731     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35732     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35733   }
35734   return Qnil;
35735 }
35736 
35737 
35738 SWIGINTERN VALUE
_wrap_svn_info_invoke_receiver(int argc,VALUE * argv,VALUE self)35739 _wrap_svn_info_invoke_receiver(int argc, VALUE *argv, VALUE self) {
35740   svn_info_receiver_t arg1 = (svn_info_receiver_t) 0 ;
35741   void *arg2 = (void *) 0 ;
35742   char *arg3 = (char *) 0 ;
35743   svn_info_t *arg4 = (svn_info_t *) 0 ;
35744   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
35745   VALUE _global_svn_swig_rb_pool ;
35746   apr_pool_t *_global_pool ;
35747   int res2 ;
35748   int res3 ;
35749   char *buf3 = 0 ;
35750   int alloc3 = 0 ;
35751   void *argp4 = 0 ;
35752   int res4 = 0 ;
35753   svn_error_t *result = 0 ;
35754   VALUE vresult = Qnil;
35755 
35756   {
35757     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
35758     _global_pool = arg5;
35759     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
35760   }
35761   if ((argc < 4) || (argc > 5)) {
35762     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
35763   }
35764   {
35765     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_info_t_p_apr_pool_t__p_svn_error_t);
35766     if (!SWIG_IsOK(res)) {
35767       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_info_receiver_t","svn_info_invoke_receiver", 1, argv[0] ));
35768     }
35769   }
35770   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
35771   if (!SWIG_IsOK(res2)) {
35772     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_info_invoke_receiver", 2, argv[1] ));
35773   }
35774   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
35775   if (!SWIG_IsOK(res3)) {
35776     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_info_invoke_receiver", 3, argv[2] ));
35777   }
35778   arg3 = (char *)(buf3);
35779   res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_svn_info_t, 0 |  0 );
35780   if (!SWIG_IsOK(res4)) {
35781     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_info_t const *","svn_info_invoke_receiver", 4, argv[3] ));
35782   }
35783   arg4 = (svn_info_t *)(argp4);
35784   if (argc > 4) {
35785 
35786   }
35787   {
35788     result = (svn_error_t *)svn_info_invoke_receiver(arg1,arg2,(char const *)arg3,(struct svn_info_t const *)arg4,arg5);
35789 
35790 
35791 
35792   }
35793   {
35794     if (result) {
35795       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35796       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35797       svn_swig_rb_handle_svn_error(result);
35798     }
35799     vresult = Qnil;
35800   }
35801   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
35802   {
35803     VALUE target;
35804     target = _global_vresult_address == &vresult ? self : vresult;
35805     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
35806     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35807     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35808   }
35809   return vresult;
35810 fail:
35811   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
35812   {
35813     VALUE target;
35814     target = _global_vresult_address == &vresult ? self : vresult;
35815     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
35816     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35817     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35818   }
35819   return Qnil;
35820 }
35821 
35822 
35823 SWIGINTERN VALUE
_wrap_svn_client_invoke_info_receiver2(int argc,VALUE * argv,VALUE self)35824 _wrap_svn_client_invoke_info_receiver2(int argc, VALUE *argv, VALUE self) {
35825   svn_client_info_receiver2_t arg1 = (svn_client_info_receiver2_t) 0 ;
35826   void *arg2 = (void *) 0 ;
35827   char *arg3 = (char *) 0 ;
35828   svn_client_info2_t *arg4 = (svn_client_info2_t *) 0 ;
35829   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
35830   VALUE _global_svn_swig_rb_pool ;
35831   apr_pool_t *_global_pool ;
35832   int res2 ;
35833   int res3 ;
35834   char *buf3 = 0 ;
35835   int alloc3 = 0 ;
35836   void *argp4 = 0 ;
35837   int res4 = 0 ;
35838   svn_error_t *result = 0 ;
35839   VALUE vresult = Qnil;
35840 
35841   {
35842     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
35843     _global_pool = arg5;
35844     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
35845   }
35846   if ((argc < 4) || (argc > 5)) {
35847     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
35848   }
35849   {
35850     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_client_info2_t_p_apr_pool_t__p_svn_error_t);
35851     if (!SWIG_IsOK(res)) {
35852       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_info_receiver2_t","svn_client_invoke_info_receiver2", 1, argv[0] ));
35853     }
35854   }
35855   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
35856   if (!SWIG_IsOK(res2)) {
35857     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_client_invoke_info_receiver2", 2, argv[1] ));
35858   }
35859   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
35860   if (!SWIG_IsOK(res3)) {
35861     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_invoke_info_receiver2", 3, argv[2] ));
35862   }
35863   arg3 = (char *)(buf3);
35864   res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_svn_client_info2_t, 0 |  0 );
35865   if (!SWIG_IsOK(res4)) {
35866     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_client_info2_t const *","svn_client_invoke_info_receiver2", 4, argv[3] ));
35867   }
35868   arg4 = (svn_client_info2_t *)(argp4);
35869   if (argc > 4) {
35870 
35871   }
35872   {
35873     result = (svn_error_t *)svn_client_invoke_info_receiver2(arg1,arg2,(char const *)arg3,(struct svn_client_info2_t const *)arg4,arg5);
35874 
35875 
35876 
35877   }
35878   {
35879     if (result) {
35880       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35881       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35882       svn_swig_rb_handle_svn_error(result);
35883     }
35884     vresult = Qnil;
35885   }
35886   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
35887   {
35888     VALUE target;
35889     target = _global_vresult_address == &vresult ? self : vresult;
35890     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
35891     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35892     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35893   }
35894   return vresult;
35895 fail:
35896   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
35897   {
35898     VALUE target;
35899     target = _global_vresult_address == &vresult ? self : vresult;
35900     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
35901     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35902     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35903   }
35904   return Qnil;
35905 }
35906 
35907 
35908 SWIGINTERN VALUE
_wrap_svn_client_invoke_patch_func(int argc,VALUE * argv,VALUE self)35909 _wrap_svn_client_invoke_patch_func(int argc, VALUE *argv, VALUE self) {
35910   svn_client_patch_func_t arg1 = (svn_client_patch_func_t) 0 ;
35911   void *arg2 = (void *) 0 ;
35912   svn_boolean_t *arg3 = (svn_boolean_t *) 0 ;
35913   char *arg4 = (char *) 0 ;
35914   char *arg5 = (char *) 0 ;
35915   char *arg6 = (char *) 0 ;
35916   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
35917   VALUE _global_svn_swig_rb_pool ;
35918   apr_pool_t *_global_pool ;
35919   int res2 ;
35920   svn_boolean_t temp3 ;
35921   int res4 ;
35922   char *buf4 = 0 ;
35923   int alloc4 = 0 ;
35924   int res5 ;
35925   char *buf5 = 0 ;
35926   int alloc5 = 0 ;
35927   int res6 ;
35928   char *buf6 = 0 ;
35929   int alloc6 = 0 ;
35930   svn_error_t *result = 0 ;
35931   VALUE vresult = Qnil;
35932 
35933   {
35934     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7);
35935     _global_pool = arg7;
35936     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
35937   }
35938   arg3 = &temp3;
35939   if ((argc < 5) || (argc > 6)) {
35940     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
35941   }
35942   {
35943     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_svn_boolean_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t);
35944     if (!SWIG_IsOK(res)) {
35945       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_patch_func_t","svn_client_invoke_patch_func", 1, argv[0] ));
35946     }
35947   }
35948   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
35949   if (!SWIG_IsOK(res2)) {
35950     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_client_invoke_patch_func", 2, argv[1] ));
35951   }
35952   res4 = SWIG_AsCharPtrAndSize(argv[2], &buf4, NULL, &alloc4);
35953   if (!SWIG_IsOK(res4)) {
35954     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_invoke_patch_func", 4, argv[2] ));
35955   }
35956   arg4 = (char *)(buf4);
35957   res5 = SWIG_AsCharPtrAndSize(argv[3], &buf5, NULL, &alloc5);
35958   if (!SWIG_IsOK(res5)) {
35959     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_client_invoke_patch_func", 5, argv[3] ));
35960   }
35961   arg5 = (char *)(buf5);
35962   res6 = SWIG_AsCharPtrAndSize(argv[4], &buf6, NULL, &alloc6);
35963   if (!SWIG_IsOK(res6)) {
35964     SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "char const *","svn_client_invoke_patch_func", 6, argv[4] ));
35965   }
35966   arg6 = (char *)(buf6);
35967   if (argc > 5) {
35968 
35969   }
35970   {
35971     result = (svn_error_t *)svn_client_invoke_patch_func(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,arg7);
35972 
35973 
35974 
35975   }
35976   {
35977     if (result) {
35978       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35979       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35980       svn_swig_rb_handle_svn_error(result);
35981     }
35982     vresult = Qnil;
35983   }
35984   {
35985     vresult = SWIG_Ruby_AppendOutput(vresult, *arg3 ? Qtrue : Qfalse);
35986   }
35987   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
35988   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
35989   if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
35990   {
35991     VALUE target;
35992     target = _global_vresult_address == &vresult ? self : vresult;
35993     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
35994     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
35995     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
35996   }
35997   return vresult;
35998 fail:
35999   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
36000   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
36001   if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
36002   {
36003     VALUE target;
36004     target = _global_vresult_address == &vresult ? self : vresult;
36005     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
36006     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
36007     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
36008   }
36009   return Qnil;
36010 }
36011 
36012 
36013 SWIGINTERN VALUE
_wrap_svn_client_set_log_msg_func3(int argc,VALUE * argv,VALUE self)36014 _wrap_svn_client_set_log_msg_func3(int argc, VALUE *argv, VALUE self) {
36015   svn_client_ctx_t *arg1 = (svn_client_ctx_t *) 0 ;
36016   svn_client_get_commit_log3_t arg2 = (svn_client_get_commit_log3_t) 0 ;
36017   void *arg3 = (void *) 0 ;
36018   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
36019   VALUE _global_svn_swig_rb_pool ;
36020   apr_pool_t *_global_pool ;
36021   void *argp1 = 0 ;
36022   int res1 = 0 ;
36023   VALUE result;
36024   VALUE vresult = Qnil;
36025 
36026   {
36027     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
36028     _global_pool = arg4;
36029     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
36030   }
36031   if ((argc < 2) || (argc > 3)) {
36032     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
36033   }
36034   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
36035   if (!SWIG_IsOK(res1)) {
36036     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_set_log_msg_func3", 1, argv[0] ));
36037   }
36038   arg1 = (svn_client_ctx_t *)(argp1);
36039   {
36040     arg2 = (svn_client_get_commit_log3_t) svn_swig_rb_get_commit_log_func;
36041     arg3 = (void *)svn_swig_rb_make_baton(argv[1], _global_svn_swig_rb_pool);
36042   }
36043   if (argc > 2) {
36044 
36045   }
36046   {
36047     result = (VALUE)svn_client_set_log_msg_func3(arg1,arg2,arg3,arg4);
36048 
36049 
36050 
36051   }
36052   vresult = result;
36053   {
36054     VALUE target;
36055     target = _global_vresult_address == &vresult ? self : vresult;
36056     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
36057     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
36058     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
36059   }
36060   return vresult;
36061 fail:
36062   {
36063     VALUE target;
36064     target = _global_vresult_address == &vresult ? self : vresult;
36065     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
36066     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
36067     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
36068   }
36069   return Qnil;
36070 }
36071 
36072 
36073 SWIGINTERN VALUE
_wrap_svn_client_set_notify_func2(int argc,VALUE * argv,VALUE self)36074 _wrap_svn_client_set_notify_func2(int argc, VALUE *argv, VALUE self) {
36075   svn_client_ctx_t *arg1 = (svn_client_ctx_t *) 0 ;
36076   svn_wc_notify_func2_t arg2 = (svn_wc_notify_func2_t) 0 ;
36077   void *arg3 = (void *) 0 ;
36078   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
36079   VALUE _global_svn_swig_rb_pool ;
36080   apr_pool_t *_global_pool ;
36081   void *argp1 = 0 ;
36082   int res1 = 0 ;
36083   VALUE result;
36084   VALUE vresult = Qnil;
36085 
36086   {
36087     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
36088     _global_pool = arg4;
36089     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
36090   }
36091   if ((argc < 2) || (argc > 3)) {
36092     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
36093   }
36094   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
36095   if (!SWIG_IsOK(res1)) {
36096     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_set_notify_func2", 1, argv[0] ));
36097   }
36098   arg1 = (svn_client_ctx_t *)(argp1);
36099   {
36100     arg2 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
36101     arg3 = (void *)svn_swig_rb_make_baton(argv[1], _global_svn_swig_rb_pool);
36102   }
36103   if (argc > 2) {
36104 
36105   }
36106   {
36107     result = (VALUE)svn_client_set_notify_func2(arg1,arg2,arg3,arg4);
36108 
36109 
36110 
36111   }
36112   vresult = result;
36113   {
36114     VALUE target;
36115     target = _global_vresult_address == &vresult ? self : vresult;
36116     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
36117     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
36118     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
36119   }
36120   return vresult;
36121 fail:
36122   {
36123     VALUE target;
36124     target = _global_vresult_address == &vresult ? self : vresult;
36125     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
36126     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
36127     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
36128   }
36129   return Qnil;
36130 }
36131 
36132 
36133 SWIGINTERN VALUE
_wrap_svn_client_set_cancel_func(int argc,VALUE * argv,VALUE self)36134 _wrap_svn_client_set_cancel_func(int argc, VALUE *argv, VALUE self) {
36135   svn_client_ctx_t *arg1 = (svn_client_ctx_t *) 0 ;
36136   svn_cancel_func_t arg2 = (svn_cancel_func_t) 0 ;
36137   void *arg3 = (void *) 0 ;
36138   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
36139   VALUE _global_svn_swig_rb_pool ;
36140   apr_pool_t *_global_pool ;
36141   void *argp1 = 0 ;
36142   int res1 = 0 ;
36143   VALUE result;
36144   VALUE vresult = Qnil;
36145 
36146   {
36147     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
36148     _global_pool = arg4;
36149     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
36150   }
36151   if ((argc < 2) || (argc > 3)) {
36152     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
36153   }
36154   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
36155   if (!SWIG_IsOK(res1)) {
36156     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_set_cancel_func", 1, argv[0] ));
36157   }
36158   arg1 = (svn_client_ctx_t *)(argp1);
36159   {
36160     arg2 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
36161     arg3 = (void *)svn_swig_rb_make_baton(argv[1], _global_svn_swig_rb_pool);
36162   }
36163   if (argc > 2) {
36164 
36165   }
36166   {
36167     result = (VALUE)svn_client_set_cancel_func(arg1,arg2,arg3,arg4);
36168 
36169 
36170 
36171   }
36172   vresult = result;
36173   {
36174     svn_swig_rb_set_baton(vresult, (VALUE)arg3);
36175   }
36176   {
36177     VALUE target;
36178     target = _global_vresult_address == &vresult ? self : vresult;
36179     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
36180     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
36181     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
36182   }
36183   return vresult;
36184 fail:
36185   {
36186     VALUE target;
36187     target = _global_vresult_address == &vresult ? self : vresult;
36188     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
36189     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
36190     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
36191   }
36192   return Qnil;
36193 }
36194 
36195 
36196 SWIGINTERN VALUE
_wrap_svn_client_set_config(int argc,VALUE * argv,VALUE self)36197 _wrap_svn_client_set_config(int argc, VALUE *argv, VALUE self) {
36198   svn_client_ctx_t *arg1 = (svn_client_ctx_t *) 0 ;
36199   apr_hash_t *arg2 = (apr_hash_t *) 0 ;
36200   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
36201   VALUE _global_svn_swig_rb_pool ;
36202   apr_pool_t *_global_pool ;
36203   void *argp1 = 0 ;
36204   int res1 = 0 ;
36205   VALUE result;
36206   VALUE vresult = Qnil;
36207 
36208   {
36209     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
36210     _global_pool = arg3;
36211     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
36212   }
36213   if ((argc < 2) || (argc > 3)) {
36214     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
36215   }
36216   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
36217   if (!SWIG_IsOK(res1)) {
36218     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_set_config", 1, argv[0] ));
36219   }
36220   arg1 = (svn_client_ctx_t *)(argp1);
36221   {
36222     if (NIL_P(argv[1])) {
36223       arg2 = NULL;
36224     } else {
36225       arg2 = svn_swig_rb_hash_to_apr_hash_swig_type(argv[1], "svn_config_t *", _global_pool);
36226     }
36227   }
36228   if (argc > 2) {
36229 
36230   }
36231   {
36232     result = (VALUE)svn_client_set_config(arg1,arg2,arg3);
36233 
36234 
36235 
36236   }
36237   vresult = result;
36238   {
36239     VALUE target;
36240     target = _global_vresult_address == &vresult ? self : vresult;
36241     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
36242     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
36243     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
36244   }
36245   return vresult;
36246 fail:
36247   {
36248     VALUE target;
36249     target = _global_vresult_address == &vresult ? self : vresult;
36250     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
36251     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
36252     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
36253   }
36254   return Qnil;
36255 }
36256 
36257 
36258 SWIGINTERN VALUE
_wrap_svn_client_get_config(int argc,VALUE * argv,VALUE self)36259 _wrap_svn_client_get_config(int argc, VALUE *argv, VALUE self) {
36260   svn_client_ctx_t *arg1 = (svn_client_ctx_t *) 0 ;
36261   apr_hash_t **arg2 = (apr_hash_t **) 0 ;
36262   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
36263   VALUE _global_svn_swig_rb_pool ;
36264   apr_pool_t *_global_pool ;
36265   void *argp1 = 0 ;
36266   int res1 = 0 ;
36267   apr_hash_t *temp2 ;
36268   svn_error_t *result = 0 ;
36269   VALUE vresult = Qnil;
36270 
36271   {
36272     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
36273     _global_pool = arg3;
36274     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
36275   }
36276   arg2 = &temp2;
36277   if ((argc < 1) || (argc > 2)) {
36278     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
36279   }
36280   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
36281   if (!SWIG_IsOK(res1)) {
36282     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_get_config", 1, argv[0] ));
36283   }
36284   arg1 = (svn_client_ctx_t *)(argp1);
36285   if (argc > 1) {
36286 
36287   }
36288   {
36289     result = (svn_error_t *)svn_client_get_config(arg1,arg2,arg3);
36290 
36291 
36292 
36293   }
36294   {
36295     if (result) {
36296       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
36297       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
36298       svn_swig_rb_handle_svn_error(result);
36299     }
36300     vresult = Qnil;
36301   }
36302   {
36303     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_swig_type(*arg2,
36304         "svn_config_t *"))
36305 
36306     ;
36307   }
36308   {
36309     VALUE target;
36310     target = _global_vresult_address == &vresult ? self : vresult;
36311     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
36312     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
36313     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
36314   }
36315   return vresult;
36316 fail:
36317   {
36318     VALUE target;
36319     target = _global_vresult_address == &vresult ? self : vresult;
36320     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
36321     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
36322     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
36323   }
36324   return Qnil;
36325 }
36326 
36327 
36328 
36329 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36330 
36331 static swig_type_info _swigt__p_apr_array_header_t = {"_p_apr_array_header_t", "apr_array_header_t *|svn_rangelist_t *", 0, 0, (void*)0, 0};
36332 static swig_type_info _swigt__p_apr_file_t = {"_p_apr_file_t", "apr_file_t *", 0, 0, (void*)0, 0};
36333 static swig_type_info _swigt__p_apr_getopt_t = {"_p_apr_getopt_t", "apr_getopt_t *", 0, 0, (void*)0, 0};
36334 static swig_type_info _swigt__p_apr_hash_t = {"_p_apr_hash_t", "apr_hash_t *", 0, 0, (void*)0, 0};
36335 static swig_type_info _swigt__p_apr_int32_t = {"_p_apr_int32_t", "apr_int32_t *|time_t *", 0, 0, (void*)0, 0};
36336 static swig_type_info _swigt__p_apr_int64_t = {"_p_apr_int64_t", "apr_int64_t *|svn_filesize_t *|apr_time_t *", 0, 0, (void*)0, 0};
36337 static swig_type_info _swigt__p_apr_pool_t = {"_p_apr_pool_t", "apr_pool_t *", 0, 0, (void*)0, 0};
36338 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
36339 static swig_type_info _swigt__p_f_apr_off_t_apr_off_t_p_void_p_apr_pool_t__void = {"_p_f_apr_off_t_apr_off_t_p_void_p_apr_pool_t__void", "void (*)(apr_off_t,apr_off_t,void *,apr_pool_t *)|svn_ra_progress_notify_func_t", 0, 0, (void*)0, 0};
36340 static swig_type_info _swigt__p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_opt_subcommand_t *|svn_error_t *(*)(apr_getopt_t *,void *,apr_pool_t *)", 0, 0, (void*)0, 0};
36341 static swig_type_info _swigt__p_f_p_p_q_const__char_p_p_q_const__char_p_apr_array_header_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_q_const__char_p_p_q_const__char_p_apr_array_header_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(char const **,char const **,apr_array_header_t *,void *,apr_pool_t *)|svn_client_get_commit_log_t", 0, 0, (void*)0, 0};
36342 static swig_type_info _swigt__p_f_p_p_q_const__char_p_p_q_const__char_p_q_const__apr_array_header_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_q_const__char_p_p_q_const__char_p_q_const__apr_array_header_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_client_get_commit_log3_t|svn_error_t *(*)(char const **,char const **,apr_array_header_t const *,void *,apr_pool_t *)|svn_client_get_commit_log2_t", 0, 0, (void*)0, 0};
36343 static swig_type_info _swigt__p_f_p_p_svn_auth_cred_simple_t_p_void_p_q_const__char_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_svn_auth_cred_simple_t_p_void_p_q_const__char_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(svn_auth_cred_simple_t **,void *,char const *,char const *,svn_boolean_t,apr_pool_t *)|svn_auth_simple_prompt_func_t", 0, 0, (void*)0, 0};
36344 static swig_type_info _swigt__p_f_p_p_svn_auth_cred_ssl_client_cert_pw_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_svn_auth_cred_ssl_client_cert_pw_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t", "svn_auth_ssl_client_cert_pw_prompt_func_t|svn_error_t *(*)(svn_auth_cred_ssl_client_cert_pw_t **,void *,char const *,svn_boolean_t,apr_pool_t *)", 0, 0, (void*)0, 0};
36345 static swig_type_info _swigt__p_f_p_p_svn_auth_cred_ssl_client_cert_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_svn_auth_cred_ssl_client_cert_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(svn_auth_cred_ssl_client_cert_t **,void *,char const *,svn_boolean_t,apr_pool_t *)|svn_auth_ssl_client_cert_prompt_func_t", 0, 0, (void*)0, 0};
36346 static swig_type_info _swigt__p_f_p_p_svn_auth_cred_ssl_server_trust_t_p_void_p_q_const__char_apr_uint32_t_p_q_const__svn_auth_ssl_server_cert_info_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_svn_auth_cred_ssl_server_trust_t_p_void_p_q_const__char_apr_uint32_t_p_q_const__svn_auth_ssl_server_cert_info_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(svn_auth_cred_ssl_server_trust_t **,void *,char const *,apr_uint32_t,svn_auth_ssl_server_cert_info_t const *,svn_boolean_t,apr_pool_t *)|svn_auth_ssl_server_trust_prompt_func_t", 0, 0, (void*)0, 0};
36347 static swig_type_info _swigt__p_f_p_p_svn_auth_cred_username_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_svn_auth_cred_username_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t", "svn_auth_username_prompt_func_t|svn_error_t *(*)(svn_auth_cred_username_t **,void *,char const *,svn_boolean_t,apr_pool_t *)", 0, 0, (void*)0, 0};
36348 static swig_type_info _swigt__p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_ra_open_tunnel_func_t|svn_error_t *(*)(svn_stream_t **,svn_stream_t **,svn_ra_close_tunnel_func_t *,void **,void *,char const *,char const *,char const *,int,svn_cancel_func_t,void *,apr_pool_t *)", 0, 0, (void*)0, 0};
36349 static swig_type_info _swigt__p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description2_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description2_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t", "svn_wc_conflict_resolver_func2_t|svn_error_t *(*)(svn_wc_conflict_result_t **,svn_wc_conflict_description2_t const *,void *,apr_pool_t *,apr_pool_t *)", 0, 0, (void*)0, 0};
36350 static swig_type_info _swigt__p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_wc_conflict_resolver_func_t|svn_error_t *(*)(svn_wc_conflict_result_t **,svn_wc_conflict_description_t const *,void *,apr_pool_t *)", 0, 0, (void*)0, 0};
36351 static swig_type_info _swigt__p_f_p_q_const__svn_client_diff_summarize_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_q_const__svn_client_diff_summarize_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(svn_client_diff_summarize_t const *,void *,apr_pool_t *)|svn_client_diff_summarize_func_t", 0, 0, (void*)0, 0};
36352 static swig_type_info _swigt__p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(svn_commit_info_t const *,void *,apr_pool_t *)|svn_commit_callback2_t", 0, 0, (void*)0, 0};
36353 static swig_type_info _swigt__p_f_p_void__p_svn_error_t = {"_p_f_p_void__p_svn_error_t", "svn_cancel_func_t|svn_error_t *(*)(void *)", 0, 0, (void*)0, 0};
36354 static swig_type_info _swigt__p_f_p_void_apr_int64_t_svn_revnum_t_p_apr_hash_t_svn_revnum_t_p_apr_hash_t_p_q_const__char_p_q_const__svn_string_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_apr_int64_t_svn_revnum_t_p_apr_hash_t_svn_revnum_t_p_apr_hash_t_p_q_const__char_p_q_const__svn_string_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t", "svn_client_blame_receiver4_t|svn_error_t *(*)(void *,apr_int64_t,svn_revnum_t,apr_hash_t *,svn_revnum_t,apr_hash_t *,char const *,svn_string_t const *,svn_boolean_t,apr_pool_t *)", 0, 0, (void*)0, 0};
36355 static swig_type_info _swigt__p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,apr_int64_t,svn_revnum_t,char const *,char const *,char const *,apr_pool_t *)|svn_client_blame_receiver_t", 0, 0, (void*)0, 0};
36356 static swig_type_info _swigt__p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,apr_int64_t,svn_revnum_t,char const *,char const *,svn_revnum_t,char const *,char const *,char const *,char const *,apr_pool_t *)|svn_client_blame_receiver2_t", 0, 0, (void*)0, 0};
36357 static swig_type_info _swigt__p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,apr_hash_t *,svn_revnum_t,char const *,char const *,char const *,apr_pool_t *)|svn_log_message_receiver_t", 0, 0, (void*)0, 0};
36358 static swig_type_info _swigt__p_f_p_void_p_q_const__char__int = {"_p_f_p_void_p_q_const__char__int", "int (*)(void *,char const *)|svn_ra_check_tunnel_func_t", 0, 0, (void*)0, 0};
36359 static swig_type_info _swigt__p_f_p_void_p_q_const__char_enum_svn_wc_notify_action_t_enum_svn_node_kind_t_p_q_const__char_enum_svn_wc_notify_state_t_enum_svn_wc_notify_state_t_long__void = {"_p_f_p_void_p_q_const__char_enum_svn_wc_notify_action_t_enum_svn_node_kind_t_p_q_const__char_enum_svn_wc_notify_state_t_enum_svn_wc_notify_state_t_long__void", "void (*)(void *,char const *,enum svn_wc_notify_action_t,enum svn_node_kind_t,char const *,enum svn_wc_notify_state_t,enum svn_wc_notify_state_t,long)|svn_wc_notify_func_t", 0, 0, (void*)0, 0};
36360 static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t", "svn_proplist_receiver2_t|svn_error_t *(*)(void *,char const *,apr_hash_t *,apr_array_header_t *,apr_pool_t *)", 0, 0, (void*)0, 0};
36361 static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,char const *,apr_hash_t *,apr_pool_t *)|svn_proplist_receiver_t", 0, 0, (void*)0, 0};
36362 static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,char const *,char const *,apr_pool_t *)|svn_changelist_receiver_t", 0, 0, (void*)0, 0};
36363 static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_svn_boolean_t_svn_revnum_t_svn_boolean_t_svn_depth_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_svn_boolean_t_svn_revnum_t_svn_boolean_t_svn_depth_t_p_apr_pool_t__p_svn_error_t", "svn_client__layout_func_t|svn_error_t *(*)(void *,char const *,char const *,svn_boolean_t,svn_boolean_t,char const *,svn_boolean_t,svn_revnum_t,svn_boolean_t,svn_depth_t,apr_pool_t *)", 0, 0, (void*)0, 0};
36364 static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_q_const__svn_client_info2_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_q_const__svn_client_info2_t_p_apr_pool_t__p_svn_error_t", "svn_client_info_receiver2_t|svn_error_t *(*)(void *,char const *,svn_client_info2_t const *,apr_pool_t *)", 0, 0, (void*)0, 0};
36365 static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_q_const__svn_client_status_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_q_const__svn_client_status_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,char const *,svn_client_status_t const *,apr_pool_t *)|svn_client_status_func_t", 0, 0, (void*)0, 0};
36366 static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_q_const__svn_dirent_t_p_q_const__svn_lock_t_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_q_const__svn_dirent_t_p_q_const__svn_lock_t_p_q_const__char_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,char const *,svn_dirent_t const *,svn_lock_t const *,char const *,apr_pool_t *)|svn_client_list_func_t", 0, 0, (void*)0, 0};
36367 static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_q_const__svn_dirent_t_p_q_const__svn_lock_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_q_const__svn_dirent_t_p_q_const__svn_lock_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,char const *,svn_dirent_t const *,svn_lock_t const *,char const *,char const *,char const *,apr_pool_t *)|svn_client_list_func2_t", 0, 0, (void*)0, 0};
36368 static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_q_const__svn_info_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_q_const__svn_info_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,char const *,svn_info_t const *,apr_pool_t *)|svn_info_receiver_t", 0, 0, (void*)0, 0};
36369 static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_struct_svn_wc_status2_t__void = {"_p_f_p_void_p_q_const__char_p_struct_svn_wc_status2_t__void", "void (*)(void *,char const *,struct svn_wc_status2_t *)|svn_wc_status_func2_t", 0, 0, (void*)0, 0};
36370 static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_struct_svn_wc_status_t__void = {"_p_f_p_void_p_q_const__char_p_struct_svn_wc_status_t__void", "void (*)(void *,char const *,struct svn_wc_status_t *)|svn_wc_status_func_t", 0, 0, (void*)0, 0};
36371 static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_svn_wc_status2_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_svn_wc_status2_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,char const *,svn_wc_status2_t *,apr_pool_t *)|svn_wc_status_func3_t", 0, 0, (void*)0, 0};
36372 static swig_type_info _swigt__p_f_p_void_p_q_const__struct_svn_wc_notify_t_p_apr_pool_t__void = {"_p_f_p_void_p_q_const__struct_svn_wc_notify_t_p_apr_pool_t__void", "svn_wc_notify_func2_t|void (*)(void *,struct svn_wc_notify_t const *,apr_pool_t *)", 0, 0, (void*)0, 0};
36373 static swig_type_info _swigt__p_f_p_void_p_svn_boolean_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_svn_boolean_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,svn_boolean_t *,char const *,char const *,char const *,apr_pool_t *)|svn_client_patch_func_t", 0, 0, (void*)0, 0};
36374 static swig_type_info _swigt__p_f_p_void_p_svn_boolean_t_p_q_const__char_p_q_const__svn_io_dirent2_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_svn_boolean_t_p_q_const__char_p_q_const__svn_io_dirent2_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,svn_boolean_t *,char const *,svn_io_dirent2_t const *,apr_pool_t *)|svn_client_import_filter_func_t", 0, 0, (void*)0, 0};
36375 static swig_type_info _swigt__p_f_p_void_p_svn_client_conflict_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_svn_client_conflict_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,svn_client_conflict_t *,apr_pool_t *)|svn_client_conflict_walk_func_t", 0, 0, (void*)0, 0};
36376 static swig_type_info _swigt__p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,svn_log_entry_t *,apr_pool_t *)|svn_log_entry_receiver_t", 0, 0, (void*)0, 0};
36377 static swig_type_info _swigt__p_f_p_void_svn_revnum_t_svn_revnum_t_apr_int64_t_svn_revnum_t_p_apr_hash_t_svn_revnum_t_p_apr_hash_t_p_q_const__char_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_svn_revnum_t_svn_revnum_t_apr_int64_t_svn_revnum_t_p_apr_hash_t_svn_revnum_t_p_apr_hash_t_p_q_const__char_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,svn_revnum_t,svn_revnum_t,apr_int64_t,svn_revnum_t,apr_hash_t *,svn_revnum_t,apr_hash_t *,char const *,char const *,svn_boolean_t,apr_pool_t *)|svn_client_blame_receiver3_t", 0, 0, (void*)0, 0};
36378 static swig_type_info _swigt__p_int = {"_p_int", "int *|svn_boolean_t *|apr_status_t *", 0, 0, (void*)0, 0};
36379 static swig_type_info _swigt__p_long = {"_p_long", "long *|svn_revnum_t *", 0, 0, (void*)0, 0};
36380 static swig_type_info _swigt__p_p_apr_array_header_t = {"_p_p_apr_array_header_t", "apr_array_header_t **", 0, 0, (void*)0, 0};
36381 static swig_type_info _swigt__p_p_apr_hash_t = {"_p_p_apr_hash_t", "apr_hash_t **", 0, 0, (void*)0, 0};
36382 static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0};
36383 static swig_type_info _swigt__p_p_svn_auth_provider_object_t = {"_p_p_svn_auth_provider_object_t", "struct svn_auth_provider_object_t **|svn_auth_provider_object_t **", 0, 0, (void*)0, 0};
36384 static swig_type_info _swigt__p_p_svn_client_commit_info_t = {"_p_p_svn_client_commit_info_t", "struct svn_client_commit_info_t **|svn_client_commit_info_t **", 0, 0, (void*)0, 0};
36385 static swig_type_info _swigt__p_p_svn_client_conflict_t = {"_p_p_svn_client_conflict_t", "struct svn_client_conflict_t **|svn_client_conflict_t **", 0, 0, (void*)0, 0};
36386 static swig_type_info _swigt__p_p_svn_client_ctx_t = {"_p_p_svn_client_ctx_t", "struct svn_client_ctx_t **|svn_client_ctx_t **", 0, 0, (void*)0, 0};
36387 static swig_type_info _swigt__p_p_svn_commit_info_t = {"_p_p_svn_commit_info_t", "struct svn_commit_info_t **|svn_commit_info_t **", 0, 0, (void*)0, 0};
36388 static swig_type_info _swigt__p_p_svn_ra_session_t = {"_p_p_svn_ra_session_t", "struct svn_ra_session_t **|svn_ra_session_t **", 0, 0, (void*)0, 0};
36389 static swig_type_info _swigt__p_p_svn_string_t = {"_p_p_svn_string_t", "struct svn_string_t **|svn_string_t **", 0, 0, (void*)0, 0};
36390 static swig_type_info _swigt__p_svn_auth_baton_t = {"_p_svn_auth_baton_t", "struct svn_auth_baton_t *|svn_auth_baton_t *", 0, 0, (void*)0, 0};
36391 static swig_type_info _swigt__p_svn_auth_cred_simple_t = {"_p_svn_auth_cred_simple_t", "struct svn_auth_cred_simple_t *|svn_auth_cred_simple_t *", 0, 0, (void*)0, 0};
36392 static swig_type_info _swigt__p_svn_auth_cred_ssl_client_cert_pw_t = {"_p_svn_auth_cred_ssl_client_cert_pw_t", "struct svn_auth_cred_ssl_client_cert_pw_t *|svn_auth_cred_ssl_client_cert_pw_t *", 0, 0, (void*)0, 0};
36393 static swig_type_info _swigt__p_svn_auth_cred_ssl_client_cert_t = {"_p_svn_auth_cred_ssl_client_cert_t", "struct svn_auth_cred_ssl_client_cert_t *|svn_auth_cred_ssl_client_cert_t *", 0, 0, (void*)0, 0};
36394 static swig_type_info _swigt__p_svn_auth_cred_ssl_server_trust_t = {"_p_svn_auth_cred_ssl_server_trust_t", "struct svn_auth_cred_ssl_server_trust_t *|svn_auth_cred_ssl_server_trust_t *", 0, 0, (void*)0, 0};
36395 static swig_type_info _swigt__p_svn_auth_cred_username_t = {"_p_svn_auth_cred_username_t", "struct svn_auth_cred_username_t *|svn_auth_cred_username_t *", 0, 0, (void*)0, 0};
36396 static swig_type_info _swigt__p_svn_auth_iterstate_t = {"_p_svn_auth_iterstate_t", "struct svn_auth_iterstate_t *|svn_auth_iterstate_t *", 0, 0, (void*)0, 0};
36397 static swig_type_info _swigt__p_svn_auth_provider_object_t = {"_p_svn_auth_provider_object_t", "struct svn_auth_provider_object_t *|svn_auth_provider_object_t *", 0, 0, (void*)0, 0};
36398 static swig_type_info _swigt__p_svn_auth_provider_t = {"_p_svn_auth_provider_t", "struct svn_auth_provider_t *|svn_auth_provider_t *", 0, 0, (void*)0, 0};
36399 static swig_type_info _swigt__p_svn_auth_ssl_server_cert_info_t = {"_p_svn_auth_ssl_server_cert_info_t", "struct svn_auth_ssl_server_cert_info_t *|svn_auth_ssl_server_cert_info_t *", 0, 0, (void*)0, 0};
36400 static swig_type_info _swigt__p_svn_cache_config_t = {"_p_svn_cache_config_t", "struct svn_cache_config_t *|svn_cache_config_t *", 0, 0, (void*)0, 0};
36401 static swig_type_info _swigt__p_svn_checksum_ctx_t = {"_p_svn_checksum_ctx_t", "struct svn_checksum_ctx_t *|svn_checksum_ctx_t *", 0, 0, (void*)0, 0};
36402 static swig_type_info _swigt__p_svn_checksum_kind_t = {"_p_svn_checksum_kind_t", "enum svn_checksum_kind_t *|svn_checksum_kind_t *", 0, 0, (void*)0, 0};
36403 static swig_type_info _swigt__p_svn_checksum_t = {"_p_svn_checksum_t", "struct svn_checksum_t *|svn_checksum_t *", 0, 0, (void*)0, 0};
36404 static swig_type_info _swigt__p_svn_client_commit_info_t = {"_p_svn_client_commit_info_t", "struct svn_client_commit_info_t *|svn_client_commit_info_t *", 0, 0, (void*)0, 0};
36405 static swig_type_info _swigt__p_svn_client_commit_item2_t = {"_p_svn_client_commit_item2_t", "struct svn_client_commit_item2_t *|svn_client_commit_item2_t *", 0, 0, (void*)0, 0};
36406 static swig_type_info _swigt__p_svn_client_commit_item3_t = {"_p_svn_client_commit_item3_t", "struct svn_client_commit_item3_t *|svn_client_commit_item3_t *", 0, 0, (void*)0, 0};
36407 static swig_type_info _swigt__p_svn_client_commit_item_t = {"_p_svn_client_commit_item_t", "struct svn_client_commit_item_t *|svn_client_commit_item_t *", 0, 0, (void*)0, 0};
36408 static swig_type_info _swigt__p_svn_client_conflict_option_id_t = {"_p_svn_client_conflict_option_id_t", "enum svn_client_conflict_option_id_t *|svn_client_conflict_option_id_t *", 0, 0, (void*)0, 0};
36409 static swig_type_info _swigt__p_svn_client_conflict_option_t = {"_p_svn_client_conflict_option_t", "struct svn_client_conflict_option_t *|svn_client_conflict_option_t *", 0, 0, (void*)0, 0};
36410 static swig_type_info _swigt__p_svn_client_conflict_t = {"_p_svn_client_conflict_t", "struct svn_client_conflict_t *|svn_client_conflict_t *", 0, 0, (void*)0, 0};
36411 static swig_type_info _swigt__p_svn_client_copy_source_t = {"_p_svn_client_copy_source_t", "struct svn_client_copy_source_t *|svn_client_copy_source_t *", 0, 0, (void*)0, 0};
36412 static swig_type_info _swigt__p_svn_client_ctx_t = {"_p_svn_client_ctx_t", "struct svn_client_ctx_t *|svn_client_ctx_t *", 0, 0, (void*)0, 0};
36413 static swig_type_info _swigt__p_svn_client_diff_summarize_kind_t = {"_p_svn_client_diff_summarize_kind_t", "enum svn_client_diff_summarize_kind_t *|svn_client_diff_summarize_kind_t *", 0, 0, (void*)0, 0};
36414 static swig_type_info _swigt__p_svn_client_diff_summarize_t = {"_p_svn_client_diff_summarize_t", "struct svn_client_diff_summarize_t *|svn_client_diff_summarize_t *", 0, 0, (void*)0, 0};
36415 static swig_type_info _swigt__p_svn_client_info2_t = {"_p_svn_client_info2_t", "struct svn_client_info2_t *|svn_client_info2_t *", 0, 0, (void*)0, 0};
36416 static swig_type_info _swigt__p_svn_client_proplist_item_t = {"_p_svn_client_proplist_item_t", "struct svn_client_proplist_item_t *|svn_client_proplist_item_t *", 0, 0, (void*)0, 0};
36417 static swig_type_info _swigt__p_svn_client_status_t = {"_p_svn_client_status_t", "struct svn_client_status_t *|svn_client_status_t *", 0, 0, (void*)0, 0};
36418 static swig_type_info _swigt__p_svn_commit_info_t = {"_p_svn_commit_info_t", "struct svn_commit_info_t *|svn_commit_info_t *", 0, 0, (void*)0, 0};
36419 static swig_type_info _swigt__p_svn_config_t = {"_p_svn_config_t", "struct svn_config_t *|svn_config_t *", 0, 0, (void*)0, 0};
36420 static swig_type_info _swigt__p_svn_delta_editor_t = {"_p_svn_delta_editor_t", "struct svn_delta_editor_t *|svn_delta_editor_t *", 0, 0, (void*)0, 0};
36421 static swig_type_info _swigt__p_svn_delta_path_driver_state_t = {"_p_svn_delta_path_driver_state_t", "struct svn_delta_path_driver_state_t *|svn_delta_path_driver_state_t *", 0, 0, (void*)0, 0};
36422 static swig_type_info _swigt__p_svn_depth_t = {"_p_svn_depth_t", "enum svn_depth_t *|svn_depth_t *", 0, 0, (void*)0, 0};
36423 static swig_type_info _swigt__p_svn_diff_binary_patch_t = {"_p_svn_diff_binary_patch_t", "struct svn_diff_binary_patch_t *|svn_diff_binary_patch_t *", 0, 0, (void*)0, 0};
36424 static swig_type_info _swigt__p_svn_diff_conflict_display_style_t = {"_p_svn_diff_conflict_display_style_t", "enum svn_diff_conflict_display_style_t *|svn_diff_conflict_display_style_t *", 0, 0, (void*)0, 0};
36425 static swig_type_info _swigt__p_svn_diff_datasource_e = {"_p_svn_diff_datasource_e", "enum svn_diff_datasource_e *|svn_diff_datasource_e *", 0, 0, (void*)0, 0};
36426 static swig_type_info _swigt__p_svn_diff_file_ignore_space_t = {"_p_svn_diff_file_ignore_space_t", "enum svn_diff_file_ignore_space_t *|svn_diff_file_ignore_space_t *", 0, 0, (void*)0, 0};
36427 static swig_type_info _swigt__p_svn_diff_file_options_t = {"_p_svn_diff_file_options_t", "struct svn_diff_file_options_t *|svn_diff_file_options_t *", 0, 0, (void*)0, 0};
36428 static swig_type_info _swigt__p_svn_diff_fns2_t = {"_p_svn_diff_fns2_t", "struct svn_diff_fns2_t *|svn_diff_fns2_t *", 0, 0, (void*)0, 0};
36429 static swig_type_info _swigt__p_svn_diff_fns_t = {"_p_svn_diff_fns_t", "struct svn_diff_fns_t *|svn_diff_fns_t *", 0, 0, (void*)0, 0};
36430 static swig_type_info _swigt__p_svn_diff_hunk_t = {"_p_svn_diff_hunk_t", "struct svn_diff_hunk_t *|svn_diff_hunk_t *", 0, 0, (void*)0, 0};
36431 static swig_type_info _swigt__p_svn_diff_operation_kind_e = {"_p_svn_diff_operation_kind_e", "svn_diff_operation_kind_t *|enum svn_diff_operation_kind_e *", 0, 0, (void*)0, 0};
36432 static swig_type_info _swigt__p_svn_diff_output_fns_t = {"_p_svn_diff_output_fns_t", "struct svn_diff_output_fns_t *|svn_diff_output_fns_t *", 0, 0, (void*)0, 0};
36433 static swig_type_info _swigt__p_svn_diff_t = {"_p_svn_diff_t", "struct svn_diff_t *|svn_diff_t *", 0, 0, (void*)0, 0};
36434 static swig_type_info _swigt__p_svn_dirent_t = {"_p_svn_dirent_t", "struct svn_dirent_t *|svn_dirent_t *", 0, 0, (void*)0, 0};
36435 static swig_type_info _swigt__p_svn_errno_t = {"_p_svn_errno_t", "enum svn_errno_t *|svn_errno_t *", 0, 0, (void*)0, 0};
36436 static swig_type_info _swigt__p_svn_error_t = {"_p_svn_error_t", "svn_error_t *", 0, 0, (void*)0, 0};
36437 static swig_type_info _swigt__p_svn_info_t = {"_p_svn_info_t", "struct svn_info_t *|svn_info_t *", 0, 0, (void*)0, 0};
36438 static swig_type_info _swigt__p_svn_io_dirent2_t = {"_p_svn_io_dirent2_t", "struct svn_io_dirent2_t *|svn_io_dirent2_t *", 0, 0, (void*)0, 0};
36439 static swig_type_info _swigt__p_svn_io_dirent_t = {"_p_svn_io_dirent_t", "struct svn_io_dirent_t *|svn_io_dirent_t *", 0, 0, (void*)0, 0};
36440 static swig_type_info _swigt__p_svn_io_file_del_t = {"_p_svn_io_file_del_t", "enum svn_io_file_del_t *|svn_io_file_del_t *", 0, 0, (void*)0, 0};
36441 static swig_type_info _swigt__p_svn_location_segment_t = {"_p_svn_location_segment_t", "struct svn_location_segment_t *|svn_location_segment_t *", 0, 0, (void*)0, 0};
36442 static swig_type_info _swigt__p_svn_lock_t = {"_p_svn_lock_t", "struct svn_lock_t *|svn_lock_t *", 0, 0, (void*)0, 0};
36443 static swig_type_info _swigt__p_svn_log_changed_path2_t = {"_p_svn_log_changed_path2_t", "struct svn_log_changed_path2_t *|svn_log_changed_path2_t *", 0, 0, (void*)0, 0};
36444 static swig_type_info _swigt__p_svn_log_changed_path_t = {"_p_svn_log_changed_path_t", "struct svn_log_changed_path_t *|svn_log_changed_path_t *", 0, 0, (void*)0, 0};
36445 static swig_type_info _swigt__p_svn_log_entry_t = {"_p_svn_log_entry_t", "struct svn_log_entry_t *|svn_log_entry_t *", 0, 0, (void*)0, 0};
36446 static swig_type_info _swigt__p_svn_merge_range_t = {"_p_svn_merge_range_t", "struct svn_merge_range_t *|svn_merge_range_t *", 0, 0, (void*)0, 0};
36447 static swig_type_info _swigt__p_svn_mergeinfo_inheritance_t = {"_p_svn_mergeinfo_inheritance_t", "enum svn_mergeinfo_inheritance_t *|svn_mergeinfo_inheritance_t *", 0, 0, (void*)0, 0};
36448 static swig_type_info _swigt__p_svn_node_kind_t = {"_p_svn_node_kind_t", "enum svn_node_kind_t *|svn_node_kind_t *", 0, 0, (void*)0, 0};
36449 static swig_type_info _swigt__p_svn_opt_revision_range_t = {"_p_svn_opt_revision_range_t", "struct svn_opt_revision_range_t *|svn_opt_revision_range_t *", 0, 0, (void*)0, 0};
36450 static swig_type_info _swigt__p_svn_opt_revision_t = {"_p_svn_opt_revision_t", "struct svn_opt_revision_t *|svn_opt_revision_t *", 0, 0, (void*)0, 0};
36451 static swig_type_info _swigt__p_svn_opt_revision_value_t = {"_p_svn_opt_revision_value_t", "union svn_opt_revision_value_t *|svn_opt_revision_value_t *", 0, 0, (void*)0, 0};
36452 static swig_type_info _swigt__p_svn_opt_subcommand_desc2_t = {"_p_svn_opt_subcommand_desc2_t", "struct svn_opt_subcommand_desc2_t *|svn_opt_subcommand_desc2_t *", 0, 0, (void*)0, 0};
36453 static swig_type_info _swigt__p_svn_opt_subcommand_desc3_t = {"_p_svn_opt_subcommand_desc3_t", "struct svn_opt_subcommand_desc3_t *|svn_opt_subcommand_desc3_t *", 0, 0, (void*)0, 0};
36454 static swig_type_info _swigt__p_svn_opt_subcommand_desc_t = {"_p_svn_opt_subcommand_desc_t", "struct svn_opt_subcommand_desc_t *|svn_opt_subcommand_desc_t *", 0, 0, (void*)0, 0};
36455 static swig_type_info _swigt__p_svn_patch_file_t = {"_p_svn_patch_file_t", "struct svn_patch_file_t *|svn_patch_file_t *", 0, 0, (void*)0, 0};
36456 static swig_type_info _swigt__p_svn_patch_t = {"_p_svn_patch_t", "struct svn_patch_t *|svn_patch_t *", 0, 0, (void*)0, 0};
36457 static swig_type_info _swigt__p_svn_prop_inherited_item_t = {"_p_svn_prop_inherited_item_t", "struct svn_prop_inherited_item_t *|svn_prop_inherited_item_t *", 0, 0, (void*)0, 0};
36458 static swig_type_info _swigt__p_svn_prop_kind = {"_p_svn_prop_kind", "svn_prop_kind_t *|enum svn_prop_kind *", 0, 0, (void*)0, 0};
36459 static swig_type_info _swigt__p_svn_prop_patch_t = {"_p_svn_prop_patch_t", "struct svn_prop_patch_t *|svn_prop_patch_t *", 0, 0, (void*)0, 0};
36460 static swig_type_info _swigt__p_svn_ra_callbacks2_t = {"_p_svn_ra_callbacks2_t", "struct svn_ra_callbacks2_t *|svn_ra_callbacks2_t *", 0, 0, (void*)0, 0};
36461 static swig_type_info _swigt__p_svn_ra_callbacks_t = {"_p_svn_ra_callbacks_t", "struct svn_ra_callbacks_t *|svn_ra_callbacks_t *", 0, 0, (void*)0, 0};
36462 static swig_type_info _swigt__p_svn_ra_plugin_t = {"_p_svn_ra_plugin_t", "struct svn_ra_plugin_t *|svn_ra_plugin_t *", 0, 0, (void*)0, 0};
36463 static swig_type_info _swigt__p_svn_ra_reporter2_t = {"_p_svn_ra_reporter2_t", "struct svn_ra_reporter2_t *|svn_ra_reporter2_t *", 0, 0, (void*)0, 0};
36464 static swig_type_info _swigt__p_svn_ra_reporter3_t = {"_p_svn_ra_reporter3_t", "struct svn_ra_reporter3_t *|svn_ra_reporter3_t *", 0, 0, (void*)0, 0};
36465 static swig_type_info _swigt__p_svn_ra_reporter_t = {"_p_svn_ra_reporter_t", "struct svn_ra_reporter_t *|svn_ra_reporter_t *", 0, 0, (void*)0, 0};
36466 static swig_type_info _swigt__p_svn_ra_session_t = {"_p_svn_ra_session_t", "struct svn_ra_session_t *|svn_ra_session_t *", 0, 0, (void*)0, 0};
36467 static swig_type_info _swigt__p_svn_stream_mark_t = {"_p_svn_stream_mark_t", "struct svn_stream_mark_t *|svn_stream_mark_t *", 0, 0, (void*)0, 0};
36468 static swig_type_info _swigt__p_svn_stream_t = {"_p_svn_stream_t", "struct svn_stream_t *|svn_stream_t *", 0, 0, (void*)0, 0};
36469 static swig_type_info _swigt__p_svn_string_t = {"_p_svn_string_t", "struct svn_string_t *|svn_string_t *", 0, 0, (void*)0, 0};
36470 static swig_type_info _swigt__p_svn_stringbuf_t = {"_p_svn_stringbuf_t", "struct svn_stringbuf_t *|svn_stringbuf_t *", 0, 0, (void*)0, 0};
36471 static swig_type_info _swigt__p_svn_tristate_t = {"_p_svn_tristate_t", "enum svn_tristate_t *|svn_tristate_t *", 0, 0, (void*)0, 0};
36472 static swig_type_info _swigt__p_svn_txdelta_op_t = {"_p_svn_txdelta_op_t", "struct svn_txdelta_op_t *|svn_txdelta_op_t *", 0, 0, (void*)0, 0};
36473 static swig_type_info _swigt__p_svn_txdelta_stream_t = {"_p_svn_txdelta_stream_t", "struct svn_txdelta_stream_t *|svn_txdelta_stream_t *", 0, 0, (void*)0, 0};
36474 static swig_type_info _swigt__p_svn_txdelta_window_t = {"_p_svn_txdelta_window_t", "struct svn_txdelta_window_t *|svn_txdelta_window_t *", 0, 0, (void*)0, 0};
36475 static swig_type_info _swigt__p_svn_version_checklist_t = {"_p_svn_version_checklist_t", "struct svn_version_checklist_t *|svn_version_checklist_t *", 0, 0, (void*)0, 0};
36476 static swig_type_info _swigt__p_svn_version_ext_linked_lib_t = {"_p_svn_version_ext_linked_lib_t", "struct svn_version_ext_linked_lib_t *|svn_version_ext_linked_lib_t *", 0, 0, (void*)0, 0};
36477 static swig_type_info _swigt__p_svn_version_ext_loaded_lib_t = {"_p_svn_version_ext_loaded_lib_t", "struct svn_version_ext_loaded_lib_t *|svn_version_ext_loaded_lib_t *", 0, 0, (void*)0, 0};
36478 static swig_type_info _swigt__p_svn_version_extended_t = {"_p_svn_version_extended_t", "struct svn_version_extended_t *|svn_version_extended_t *", 0, 0, (void*)0, 0};
36479 static swig_type_info _swigt__p_svn_version_t = {"_p_svn_version_t", "struct svn_version_t *|svn_version_t *", 0, 0, (void*)0, 0};
36480 static swig_type_info _swigt__p_svn_wc_adm_access_t = {"_p_svn_wc_adm_access_t", "struct svn_wc_adm_access_t *|svn_wc_adm_access_t *", 0, 0, (void*)0, 0};
36481 static swig_type_info _swigt__p_svn_wc_committed_queue_t = {"_p_svn_wc_committed_queue_t", "struct svn_wc_committed_queue_t *|svn_wc_committed_queue_t *", 0, 0, (void*)0, 0};
36482 static swig_type_info _swigt__p_svn_wc_conflict_action_t = {"_p_svn_wc_conflict_action_t", "enum svn_wc_conflict_action_t *|svn_wc_conflict_action_t *", 0, 0, (void*)0, 0};
36483 static swig_type_info _swigt__p_svn_wc_conflict_choice_t = {"_p_svn_wc_conflict_choice_t", "enum svn_wc_conflict_choice_t *|svn_wc_conflict_choice_t *", 0, 0, (void*)0, 0};
36484 static swig_type_info _swigt__p_svn_wc_conflict_description_t = {"_p_svn_wc_conflict_description_t", "struct svn_wc_conflict_description_t *|svn_wc_conflict_description_t *", 0, 0, (void*)0, 0};
36485 static swig_type_info _swigt__p_svn_wc_conflict_kind_t = {"_p_svn_wc_conflict_kind_t", "enum svn_wc_conflict_kind_t *|svn_wc_conflict_kind_t *", 0, 0, (void*)0, 0};
36486 static swig_type_info _swigt__p_svn_wc_conflict_reason_t = {"_p_svn_wc_conflict_reason_t", "enum svn_wc_conflict_reason_t *|svn_wc_conflict_reason_t *", 0, 0, (void*)0, 0};
36487 static swig_type_info _swigt__p_svn_wc_conflict_version_t = {"_p_svn_wc_conflict_version_t", "struct svn_wc_conflict_version_t *|svn_wc_conflict_version_t *", 0, 0, (void*)0, 0};
36488 static swig_type_info _swigt__p_svn_wc_context_t = {"_p_svn_wc_context_t", "struct svn_wc_context_t *|svn_wc_context_t *", 0, 0, (void*)0, 0};
36489 static swig_type_info _swigt__p_svn_wc_diff_callbacks2_t = {"_p_svn_wc_diff_callbacks2_t", "struct svn_wc_diff_callbacks2_t *|svn_wc_diff_callbacks2_t *", 0, 0, (void*)0, 0};
36490 static swig_type_info _swigt__p_svn_wc_diff_callbacks3_t = {"_p_svn_wc_diff_callbacks3_t", "struct svn_wc_diff_callbacks3_t *|svn_wc_diff_callbacks3_t *", 0, 0, (void*)0, 0};
36491 static swig_type_info _swigt__p_svn_wc_diff_callbacks4_t = {"_p_svn_wc_diff_callbacks4_t", "struct svn_wc_diff_callbacks4_t *|svn_wc_diff_callbacks4_t *", 0, 0, (void*)0, 0};
36492 static swig_type_info _swigt__p_svn_wc_diff_callbacks_t = {"_p_svn_wc_diff_callbacks_t", "struct svn_wc_diff_callbacks_t *|svn_wc_diff_callbacks_t *", 0, 0, (void*)0, 0};
36493 static swig_type_info _swigt__p_svn_wc_entry_callbacks2_t = {"_p_svn_wc_entry_callbacks2_t", "struct svn_wc_entry_callbacks2_t *|svn_wc_entry_callbacks2_t *", 0, 0, (void*)0, 0};
36494 static swig_type_info _swigt__p_svn_wc_entry_callbacks_t = {"_p_svn_wc_entry_callbacks_t", "struct svn_wc_entry_callbacks_t *|svn_wc_entry_callbacks_t *", 0, 0, (void*)0, 0};
36495 static swig_type_info _swigt__p_svn_wc_entry_t = {"_p_svn_wc_entry_t", "struct svn_wc_entry_t *|svn_wc_entry_t *", 0, 0, (void*)0, 0};
36496 static swig_type_info _swigt__p_svn_wc_external_item2_t = {"_p_svn_wc_external_item2_t", "struct svn_wc_external_item2_t *|svn_wc_external_item2_t *", 0, 0, (void*)0, 0};
36497 static swig_type_info _swigt__p_svn_wc_external_item_t = {"_p_svn_wc_external_item_t", "struct svn_wc_external_item_t *|svn_wc_external_item_t *", 0, 0, (void*)0, 0};
36498 static swig_type_info _swigt__p_svn_wc_info_t = {"_p_svn_wc_info_t", "struct svn_wc_info_t *|svn_wc_info_t *", 0, 0, (void*)0, 0};
36499 static swig_type_info _swigt__p_svn_wc_merge_outcome_t = {"_p_svn_wc_merge_outcome_t", "enum svn_wc_merge_outcome_t *|svn_wc_merge_outcome_t *", 0, 0, (void*)0, 0};
36500 static swig_type_info _swigt__p_svn_wc_notify_action_t = {"_p_svn_wc_notify_action_t", "enum svn_wc_notify_action_t *|svn_wc_notify_action_t *", 0, 0, (void*)0, 0};
36501 static swig_type_info _swigt__p_svn_wc_notify_lock_state_t = {"_p_svn_wc_notify_lock_state_t", "enum svn_wc_notify_lock_state_t *|svn_wc_notify_lock_state_t *", 0, 0, (void*)0, 0};
36502 static swig_type_info _swigt__p_svn_wc_notify_state_t = {"_p_svn_wc_notify_state_t", "enum svn_wc_notify_state_t *|svn_wc_notify_state_t *", 0, 0, (void*)0, 0};
36503 static swig_type_info _swigt__p_svn_wc_notify_t = {"_p_svn_wc_notify_t", "struct svn_wc_notify_t *|svn_wc_notify_t *", 0, 0, (void*)0, 0};
36504 static swig_type_info _swigt__p_svn_wc_operation_t = {"_p_svn_wc_operation_t", "enum svn_wc_operation_t *|svn_wc_operation_t *", 0, 0, (void*)0, 0};
36505 static swig_type_info _swigt__p_svn_wc_revision_status_t = {"_p_svn_wc_revision_status_t", "struct svn_wc_revision_status_t *|svn_wc_revision_status_t *", 0, 0, (void*)0, 0};
36506 static swig_type_info _swigt__p_svn_wc_schedule_t = {"_p_svn_wc_schedule_t", "enum svn_wc_schedule_t *|svn_wc_schedule_t *", 0, 0, (void*)0, 0};
36507 static swig_type_info _swigt__p_svn_wc_status2_t = {"_p_svn_wc_status2_t", "struct svn_wc_status2_t *|svn_wc_status2_t *", 0, 0, (void*)0, 0};
36508 static swig_type_info _swigt__p_svn_wc_status3_t = {"_p_svn_wc_status3_t", "struct svn_wc_status3_t *|svn_wc_status3_t *", 0, 0, (void*)0, 0};
36509 static swig_type_info _swigt__p_svn_wc_status_t = {"_p_svn_wc_status_t", "struct svn_wc_status_t *|svn_wc_status_t *", 0, 0, (void*)0, 0};
36510 static swig_type_info _swigt__p_svn_wc_traversal_info_t = {"_p_svn_wc_traversal_info_t", "struct svn_wc_traversal_info_t *|svn_wc_traversal_info_t *", 0, 0, (void*)0, 0};
36511 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|svn_linenum_t *", 0, 0, (void*)0, 0};
36512 static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
36513 
36514 static swig_type_info *swig_type_initial[] = {
36515   &_swigt__p_apr_array_header_t,
36516   &_swigt__p_apr_file_t,
36517   &_swigt__p_apr_getopt_t,
36518   &_swigt__p_apr_hash_t,
36519   &_swigt__p_apr_int32_t,
36520   &_swigt__p_apr_int64_t,
36521   &_swigt__p_apr_pool_t,
36522   &_swigt__p_char,
36523   &_swigt__p_f_apr_off_t_apr_off_t_p_void_p_apr_pool_t__void,
36524   &_swigt__p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t,
36525   &_swigt__p_f_p_p_q_const__char_p_p_q_const__char_p_apr_array_header_t_p_void_p_apr_pool_t__p_svn_error_t,
36526   &_swigt__p_f_p_p_q_const__char_p_p_q_const__char_p_q_const__apr_array_header_t_p_void_p_apr_pool_t__p_svn_error_t,
36527   &_swigt__p_f_p_p_svn_auth_cred_simple_t_p_void_p_q_const__char_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t,
36528   &_swigt__p_f_p_p_svn_auth_cred_ssl_client_cert_pw_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t,
36529   &_swigt__p_f_p_p_svn_auth_cred_ssl_client_cert_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t,
36530   &_swigt__p_f_p_p_svn_auth_cred_ssl_server_trust_t_p_void_p_q_const__char_apr_uint32_t_p_q_const__svn_auth_ssl_server_cert_info_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t,
36531   &_swigt__p_f_p_p_svn_auth_cred_username_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t,
36532   &_swigt__p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t,
36533   &_swigt__p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description2_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t,
36534   &_swigt__p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description_t_p_void_p_apr_pool_t__p_svn_error_t,
36535   &_swigt__p_f_p_q_const__svn_client_diff_summarize_t_p_void_p_apr_pool_t__p_svn_error_t,
36536   &_swigt__p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t,
36537   &_swigt__p_f_p_void__p_svn_error_t,
36538   &_swigt__p_f_p_void_apr_int64_t_svn_revnum_t_p_apr_hash_t_svn_revnum_t_p_apr_hash_t_p_q_const__char_p_q_const__svn_string_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t,
36539   &_swigt__p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t,
36540   &_swigt__p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t,
36541   &_swigt__p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t,
36542   &_swigt__p_f_p_void_p_q_const__char__int,
36543   &_swigt__p_f_p_void_p_q_const__char_enum_svn_wc_notify_action_t_enum_svn_node_kind_t_p_q_const__char_enum_svn_wc_notify_state_t_enum_svn_wc_notify_state_t_long__void,
36544   &_swigt__p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t,
36545   &_swigt__p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_pool_t__p_svn_error_t,
36546   &_swigt__p_f_p_void_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t,
36547   &_swigt__p_f_p_void_p_q_const__char_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_svn_boolean_t_svn_revnum_t_svn_boolean_t_svn_depth_t_p_apr_pool_t__p_svn_error_t,
36548   &_swigt__p_f_p_void_p_q_const__char_p_q_const__svn_client_info2_t_p_apr_pool_t__p_svn_error_t,
36549   &_swigt__p_f_p_void_p_q_const__char_p_q_const__svn_client_status_t_p_apr_pool_t__p_svn_error_t,
36550   &_swigt__p_f_p_void_p_q_const__char_p_q_const__svn_dirent_t_p_q_const__svn_lock_t_p_q_const__char_p_apr_pool_t__p_svn_error_t,
36551   &_swigt__p_f_p_void_p_q_const__char_p_q_const__svn_dirent_t_p_q_const__svn_lock_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t,
36552   &_swigt__p_f_p_void_p_q_const__char_p_q_const__svn_info_t_p_apr_pool_t__p_svn_error_t,
36553   &_swigt__p_f_p_void_p_q_const__char_p_struct_svn_wc_status2_t__void,
36554   &_swigt__p_f_p_void_p_q_const__char_p_struct_svn_wc_status_t__void,
36555   &_swigt__p_f_p_void_p_q_const__char_p_svn_wc_status2_t_p_apr_pool_t__p_svn_error_t,
36556   &_swigt__p_f_p_void_p_q_const__struct_svn_wc_notify_t_p_apr_pool_t__void,
36557   &_swigt__p_f_p_void_p_svn_boolean_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t,
36558   &_swigt__p_f_p_void_p_svn_boolean_t_p_q_const__char_p_q_const__svn_io_dirent2_t_p_apr_pool_t__p_svn_error_t,
36559   &_swigt__p_f_p_void_p_svn_client_conflict_t_p_apr_pool_t__p_svn_error_t,
36560   &_swigt__p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t,
36561   &_swigt__p_f_p_void_svn_revnum_t_svn_revnum_t_apr_int64_t_svn_revnum_t_p_apr_hash_t_svn_revnum_t_p_apr_hash_t_p_q_const__char_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t,
36562   &_swigt__p_int,
36563   &_swigt__p_long,
36564   &_swigt__p_p_apr_array_header_t,
36565   &_swigt__p_p_apr_hash_t,
36566   &_swigt__p_p_char,
36567   &_swigt__p_p_svn_auth_provider_object_t,
36568   &_swigt__p_p_svn_client_commit_info_t,
36569   &_swigt__p_p_svn_client_conflict_t,
36570   &_swigt__p_p_svn_client_ctx_t,
36571   &_swigt__p_p_svn_commit_info_t,
36572   &_swigt__p_p_svn_ra_session_t,
36573   &_swigt__p_p_svn_string_t,
36574   &_swigt__p_svn_auth_baton_t,
36575   &_swigt__p_svn_auth_cred_simple_t,
36576   &_swigt__p_svn_auth_cred_ssl_client_cert_pw_t,
36577   &_swigt__p_svn_auth_cred_ssl_client_cert_t,
36578   &_swigt__p_svn_auth_cred_ssl_server_trust_t,
36579   &_swigt__p_svn_auth_cred_username_t,
36580   &_swigt__p_svn_auth_iterstate_t,
36581   &_swigt__p_svn_auth_provider_object_t,
36582   &_swigt__p_svn_auth_provider_t,
36583   &_swigt__p_svn_auth_ssl_server_cert_info_t,
36584   &_swigt__p_svn_cache_config_t,
36585   &_swigt__p_svn_checksum_ctx_t,
36586   &_swigt__p_svn_checksum_kind_t,
36587   &_swigt__p_svn_checksum_t,
36588   &_swigt__p_svn_client_commit_info_t,
36589   &_swigt__p_svn_client_commit_item2_t,
36590   &_swigt__p_svn_client_commit_item3_t,
36591   &_swigt__p_svn_client_commit_item_t,
36592   &_swigt__p_svn_client_conflict_option_id_t,
36593   &_swigt__p_svn_client_conflict_option_t,
36594   &_swigt__p_svn_client_conflict_t,
36595   &_swigt__p_svn_client_copy_source_t,
36596   &_swigt__p_svn_client_ctx_t,
36597   &_swigt__p_svn_client_diff_summarize_kind_t,
36598   &_swigt__p_svn_client_diff_summarize_t,
36599   &_swigt__p_svn_client_info2_t,
36600   &_swigt__p_svn_client_proplist_item_t,
36601   &_swigt__p_svn_client_status_t,
36602   &_swigt__p_svn_commit_info_t,
36603   &_swigt__p_svn_config_t,
36604   &_swigt__p_svn_delta_editor_t,
36605   &_swigt__p_svn_delta_path_driver_state_t,
36606   &_swigt__p_svn_depth_t,
36607   &_swigt__p_svn_diff_binary_patch_t,
36608   &_swigt__p_svn_diff_conflict_display_style_t,
36609   &_swigt__p_svn_diff_datasource_e,
36610   &_swigt__p_svn_diff_file_ignore_space_t,
36611   &_swigt__p_svn_diff_file_options_t,
36612   &_swigt__p_svn_diff_fns2_t,
36613   &_swigt__p_svn_diff_fns_t,
36614   &_swigt__p_svn_diff_hunk_t,
36615   &_swigt__p_svn_diff_operation_kind_e,
36616   &_swigt__p_svn_diff_output_fns_t,
36617   &_swigt__p_svn_diff_t,
36618   &_swigt__p_svn_dirent_t,
36619   &_swigt__p_svn_errno_t,
36620   &_swigt__p_svn_error_t,
36621   &_swigt__p_svn_info_t,
36622   &_swigt__p_svn_io_dirent2_t,
36623   &_swigt__p_svn_io_dirent_t,
36624   &_swigt__p_svn_io_file_del_t,
36625   &_swigt__p_svn_location_segment_t,
36626   &_swigt__p_svn_lock_t,
36627   &_swigt__p_svn_log_changed_path2_t,
36628   &_swigt__p_svn_log_changed_path_t,
36629   &_swigt__p_svn_log_entry_t,
36630   &_swigt__p_svn_merge_range_t,
36631   &_swigt__p_svn_mergeinfo_inheritance_t,
36632   &_swigt__p_svn_node_kind_t,
36633   &_swigt__p_svn_opt_revision_range_t,
36634   &_swigt__p_svn_opt_revision_t,
36635   &_swigt__p_svn_opt_revision_value_t,
36636   &_swigt__p_svn_opt_subcommand_desc2_t,
36637   &_swigt__p_svn_opt_subcommand_desc3_t,
36638   &_swigt__p_svn_opt_subcommand_desc_t,
36639   &_swigt__p_svn_patch_file_t,
36640   &_swigt__p_svn_patch_t,
36641   &_swigt__p_svn_prop_inherited_item_t,
36642   &_swigt__p_svn_prop_kind,
36643   &_swigt__p_svn_prop_patch_t,
36644   &_swigt__p_svn_ra_callbacks2_t,
36645   &_swigt__p_svn_ra_callbacks_t,
36646   &_swigt__p_svn_ra_plugin_t,
36647   &_swigt__p_svn_ra_reporter2_t,
36648   &_swigt__p_svn_ra_reporter3_t,
36649   &_swigt__p_svn_ra_reporter_t,
36650   &_swigt__p_svn_ra_session_t,
36651   &_swigt__p_svn_stream_mark_t,
36652   &_swigt__p_svn_stream_t,
36653   &_swigt__p_svn_string_t,
36654   &_swigt__p_svn_stringbuf_t,
36655   &_swigt__p_svn_tristate_t,
36656   &_swigt__p_svn_txdelta_op_t,
36657   &_swigt__p_svn_txdelta_stream_t,
36658   &_swigt__p_svn_txdelta_window_t,
36659   &_swigt__p_svn_version_checklist_t,
36660   &_swigt__p_svn_version_ext_linked_lib_t,
36661   &_swigt__p_svn_version_ext_loaded_lib_t,
36662   &_swigt__p_svn_version_extended_t,
36663   &_swigt__p_svn_version_t,
36664   &_swigt__p_svn_wc_adm_access_t,
36665   &_swigt__p_svn_wc_committed_queue_t,
36666   &_swigt__p_svn_wc_conflict_action_t,
36667   &_swigt__p_svn_wc_conflict_choice_t,
36668   &_swigt__p_svn_wc_conflict_description_t,
36669   &_swigt__p_svn_wc_conflict_kind_t,
36670   &_swigt__p_svn_wc_conflict_reason_t,
36671   &_swigt__p_svn_wc_conflict_version_t,
36672   &_swigt__p_svn_wc_context_t,
36673   &_swigt__p_svn_wc_diff_callbacks2_t,
36674   &_swigt__p_svn_wc_diff_callbacks3_t,
36675   &_swigt__p_svn_wc_diff_callbacks4_t,
36676   &_swigt__p_svn_wc_diff_callbacks_t,
36677   &_swigt__p_svn_wc_entry_callbacks2_t,
36678   &_swigt__p_svn_wc_entry_callbacks_t,
36679   &_swigt__p_svn_wc_entry_t,
36680   &_swigt__p_svn_wc_external_item2_t,
36681   &_swigt__p_svn_wc_external_item_t,
36682   &_swigt__p_svn_wc_info_t,
36683   &_swigt__p_svn_wc_merge_outcome_t,
36684   &_swigt__p_svn_wc_notify_action_t,
36685   &_swigt__p_svn_wc_notify_lock_state_t,
36686   &_swigt__p_svn_wc_notify_state_t,
36687   &_swigt__p_svn_wc_notify_t,
36688   &_swigt__p_svn_wc_operation_t,
36689   &_swigt__p_svn_wc_revision_status_t,
36690   &_swigt__p_svn_wc_schedule_t,
36691   &_swigt__p_svn_wc_status2_t,
36692   &_swigt__p_svn_wc_status3_t,
36693   &_swigt__p_svn_wc_status_t,
36694   &_swigt__p_svn_wc_traversal_info_t,
36695   &_swigt__p_unsigned_long,
36696   &_swigt__p_void,
36697 };
36698 
36699 static swig_cast_info _swigc__p_apr_array_header_t[] = {  {&_swigt__p_apr_array_header_t, 0, 0, 0},{0, 0, 0, 0}};
36700 static swig_cast_info _swigc__p_apr_file_t[] = {  {&_swigt__p_apr_file_t, 0, 0, 0},{0, 0, 0, 0}};
36701 static swig_cast_info _swigc__p_apr_getopt_t[] = {  {&_swigt__p_apr_getopt_t, 0, 0, 0},{0, 0, 0, 0}};
36702 static swig_cast_info _swigc__p_apr_hash_t[] = {  {&_swigt__p_apr_hash_t, 0, 0, 0},{0, 0, 0, 0}};
36703 static swig_cast_info _swigc__p_apr_int32_t[] = {  {&_swigt__p_apr_int32_t, 0, 0, 0},{0, 0, 0, 0}};
36704 static swig_cast_info _swigc__p_apr_int64_t[] = {  {&_swigt__p_apr_int64_t, 0, 0, 0},{0, 0, 0, 0}};
36705 static swig_cast_info _swigc__p_apr_pool_t[] = {  {&_swigt__p_apr_pool_t, 0, 0, 0},{0, 0, 0, 0}};
36706 static swig_cast_info _swigc__p_char[] = {  {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
36707 static swig_cast_info _swigc__p_f_apr_off_t_apr_off_t_p_void_p_apr_pool_t__void[] = {  {&_swigt__p_f_apr_off_t_apr_off_t_p_void_p_apr_pool_t__void, 0, 0, 0},{0, 0, 0, 0}};
36708 static swig_cast_info _swigc__p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36709 static swig_cast_info _swigc__p_f_p_p_q_const__char_p_p_q_const__char_p_apr_array_header_t_p_void_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_p_q_const__char_p_p_q_const__char_p_apr_array_header_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36710 static swig_cast_info _swigc__p_f_p_p_q_const__char_p_p_q_const__char_p_q_const__apr_array_header_t_p_void_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_p_q_const__char_p_p_q_const__char_p_q_const__apr_array_header_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36711 static swig_cast_info _swigc__p_f_p_p_svn_auth_cred_simple_t_p_void_p_q_const__char_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_p_svn_auth_cred_simple_t_p_void_p_q_const__char_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36712 static swig_cast_info _swigc__p_f_p_p_svn_auth_cred_ssl_client_cert_pw_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_p_svn_auth_cred_ssl_client_cert_pw_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36713 static swig_cast_info _swigc__p_f_p_p_svn_auth_cred_ssl_client_cert_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_p_svn_auth_cred_ssl_client_cert_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36714 static swig_cast_info _swigc__p_f_p_p_svn_auth_cred_ssl_server_trust_t_p_void_p_q_const__char_apr_uint32_t_p_q_const__svn_auth_ssl_server_cert_info_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_p_svn_auth_cred_ssl_server_trust_t_p_void_p_q_const__char_apr_uint32_t_p_q_const__svn_auth_ssl_server_cert_info_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36715 static swig_cast_info _swigc__p_f_p_p_svn_auth_cred_username_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_p_svn_auth_cred_username_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36716 static swig_cast_info _swigc__p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36717 static swig_cast_info _swigc__p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description2_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description2_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36718 static swig_cast_info _swigc__p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description_t_p_void_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36719 static swig_cast_info _swigc__p_f_p_q_const__svn_client_diff_summarize_t_p_void_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_q_const__svn_client_diff_summarize_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36720 static swig_cast_info _swigc__p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36721 static swig_cast_info _swigc__p_f_p_void__p_svn_error_t[] = {  {&_swigt__p_f_p_void__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36722 static swig_cast_info _swigc__p_f_p_void_apr_int64_t_svn_revnum_t_p_apr_hash_t_svn_revnum_t_p_apr_hash_t_p_q_const__char_p_q_const__svn_string_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_apr_int64_t_svn_revnum_t_p_apr_hash_t_svn_revnum_t_p_apr_hash_t_p_q_const__char_p_q_const__svn_string_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36723 static swig_cast_info _swigc__p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36724 static swig_cast_info _swigc__p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36725 static swig_cast_info _swigc__p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36726 static swig_cast_info _swigc__p_f_p_void_p_q_const__char__int[] = {  {&_swigt__p_f_p_void_p_q_const__char__int, 0, 0, 0},{0, 0, 0, 0}};
36727 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_enum_svn_wc_notify_action_t_enum_svn_node_kind_t_p_q_const__char_enum_svn_wc_notify_state_t_enum_svn_wc_notify_state_t_long__void[] = {  {&_swigt__p_f_p_void_p_q_const__char_enum_svn_wc_notify_action_t_enum_svn_node_kind_t_p_q_const__char_enum_svn_wc_notify_state_t_enum_svn_wc_notify_state_t_long__void, 0, 0, 0},{0, 0, 0, 0}};
36728 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36729 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36730 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36731 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_svn_boolean_t_svn_revnum_t_svn_boolean_t_svn_depth_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__char_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_svn_boolean_t_svn_revnum_t_svn_boolean_t_svn_depth_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36732 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_q_const__svn_client_info2_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__char_p_q_const__svn_client_info2_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36733 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_q_const__svn_client_status_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__char_p_q_const__svn_client_status_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36734 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_q_const__svn_dirent_t_p_q_const__svn_lock_t_p_q_const__char_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__char_p_q_const__svn_dirent_t_p_q_const__svn_lock_t_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36735 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_q_const__svn_dirent_t_p_q_const__svn_lock_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__char_p_q_const__svn_dirent_t_p_q_const__svn_lock_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36736 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_q_const__svn_info_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__char_p_q_const__svn_info_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36737 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_struct_svn_wc_status2_t__void[] = {  {&_swigt__p_f_p_void_p_q_const__char_p_struct_svn_wc_status2_t__void, 0, 0, 0},{0, 0, 0, 0}};
36738 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_struct_svn_wc_status_t__void[] = {  {&_swigt__p_f_p_void_p_q_const__char_p_struct_svn_wc_status_t__void, 0, 0, 0},{0, 0, 0, 0}};
36739 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_svn_wc_status2_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__char_p_svn_wc_status2_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36740 static swig_cast_info _swigc__p_f_p_void_p_q_const__struct_svn_wc_notify_t_p_apr_pool_t__void[] = {  {&_swigt__p_f_p_void_p_q_const__struct_svn_wc_notify_t_p_apr_pool_t__void, 0, 0, 0},{0, 0, 0, 0}};
36741 static swig_cast_info _swigc__p_f_p_void_p_svn_boolean_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_svn_boolean_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36742 static swig_cast_info _swigc__p_f_p_void_p_svn_boolean_t_p_q_const__char_p_q_const__svn_io_dirent2_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_svn_boolean_t_p_q_const__char_p_q_const__svn_io_dirent2_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36743 static swig_cast_info _swigc__p_f_p_void_p_svn_client_conflict_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_svn_client_conflict_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36744 static swig_cast_info _swigc__p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36745 static swig_cast_info _swigc__p_f_p_void_svn_revnum_t_svn_revnum_t_apr_int64_t_svn_revnum_t_p_apr_hash_t_svn_revnum_t_p_apr_hash_t_p_q_const__char_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_svn_revnum_t_svn_revnum_t_apr_int64_t_svn_revnum_t_p_apr_hash_t_svn_revnum_t_p_apr_hash_t_p_q_const__char_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36746 static swig_cast_info _swigc__p_int[] = {  {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
36747 static swig_cast_info _swigc__p_long[] = {  {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
36748 static swig_cast_info _swigc__p_p_apr_array_header_t[] = {  {&_swigt__p_p_apr_array_header_t, 0, 0, 0},{0, 0, 0, 0}};
36749 static swig_cast_info _swigc__p_p_apr_hash_t[] = {  {&_swigt__p_p_apr_hash_t, 0, 0, 0},{0, 0, 0, 0}};
36750 static swig_cast_info _swigc__p_p_char[] = {  {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}};
36751 static swig_cast_info _swigc__p_p_svn_auth_provider_object_t[] = {  {&_swigt__p_p_svn_auth_provider_object_t, 0, 0, 0},{0, 0, 0, 0}};
36752 static swig_cast_info _swigc__p_p_svn_client_commit_info_t[] = {  {&_swigt__p_p_svn_client_commit_info_t, 0, 0, 0},{0, 0, 0, 0}};
36753 static swig_cast_info _swigc__p_p_svn_client_conflict_t[] = {  {&_swigt__p_p_svn_client_conflict_t, 0, 0, 0},{0, 0, 0, 0}};
36754 static swig_cast_info _swigc__p_p_svn_client_ctx_t[] = {  {&_swigt__p_p_svn_client_ctx_t, 0, 0, 0},{0, 0, 0, 0}};
36755 static swig_cast_info _swigc__p_p_svn_commit_info_t[] = {  {&_swigt__p_p_svn_commit_info_t, 0, 0, 0},{0, 0, 0, 0}};
36756 static swig_cast_info _swigc__p_p_svn_ra_session_t[] = {  {&_swigt__p_p_svn_ra_session_t, 0, 0, 0},{0, 0, 0, 0}};
36757 static swig_cast_info _swigc__p_p_svn_string_t[] = {  {&_swigt__p_p_svn_string_t, 0, 0, 0},{0, 0, 0, 0}};
36758 static swig_cast_info _swigc__p_svn_auth_baton_t[] = {  {&_swigt__p_svn_auth_baton_t, 0, 0, 0},{0, 0, 0, 0}};
36759 static swig_cast_info _swigc__p_svn_auth_cred_simple_t[] = {  {&_swigt__p_svn_auth_cred_simple_t, 0, 0, 0},{0, 0, 0, 0}};
36760 static swig_cast_info _swigc__p_svn_auth_cred_ssl_client_cert_pw_t[] = {  {&_swigt__p_svn_auth_cred_ssl_client_cert_pw_t, 0, 0, 0},{0, 0, 0, 0}};
36761 static swig_cast_info _swigc__p_svn_auth_cred_ssl_client_cert_t[] = {  {&_swigt__p_svn_auth_cred_ssl_client_cert_t, 0, 0, 0},{0, 0, 0, 0}};
36762 static swig_cast_info _swigc__p_svn_auth_cred_ssl_server_trust_t[] = {  {&_swigt__p_svn_auth_cred_ssl_server_trust_t, 0, 0, 0},{0, 0, 0, 0}};
36763 static swig_cast_info _swigc__p_svn_auth_cred_username_t[] = {  {&_swigt__p_svn_auth_cred_username_t, 0, 0, 0},{0, 0, 0, 0}};
36764 static swig_cast_info _swigc__p_svn_auth_iterstate_t[] = {  {&_swigt__p_svn_auth_iterstate_t, 0, 0, 0},{0, 0, 0, 0}};
36765 static swig_cast_info _swigc__p_svn_auth_provider_object_t[] = {  {&_swigt__p_svn_auth_provider_object_t, 0, 0, 0},{0, 0, 0, 0}};
36766 static swig_cast_info _swigc__p_svn_auth_provider_t[] = {  {&_swigt__p_svn_auth_provider_t, 0, 0, 0},{0, 0, 0, 0}};
36767 static swig_cast_info _swigc__p_svn_auth_ssl_server_cert_info_t[] = {  {&_swigt__p_svn_auth_ssl_server_cert_info_t, 0, 0, 0},{0, 0, 0, 0}};
36768 static swig_cast_info _swigc__p_svn_cache_config_t[] = {  {&_swigt__p_svn_cache_config_t, 0, 0, 0},{0, 0, 0, 0}};
36769 static swig_cast_info _swigc__p_svn_checksum_ctx_t[] = {  {&_swigt__p_svn_checksum_ctx_t, 0, 0, 0},{0, 0, 0, 0}};
36770 static swig_cast_info _swigc__p_svn_checksum_kind_t[] = {  {&_swigt__p_svn_checksum_kind_t, 0, 0, 0},{0, 0, 0, 0}};
36771 static swig_cast_info _swigc__p_svn_checksum_t[] = {  {&_swigt__p_svn_checksum_t, 0, 0, 0},{0, 0, 0, 0}};
36772 static swig_cast_info _swigc__p_svn_client_commit_info_t[] = {  {&_swigt__p_svn_client_commit_info_t, 0, 0, 0},{0, 0, 0, 0}};
36773 static swig_cast_info _swigc__p_svn_client_commit_item2_t[] = {  {&_swigt__p_svn_client_commit_item2_t, 0, 0, 0},{0, 0, 0, 0}};
36774 static swig_cast_info _swigc__p_svn_client_commit_item3_t[] = {  {&_swigt__p_svn_client_commit_item3_t, 0, 0, 0},{0, 0, 0, 0}};
36775 static swig_cast_info _swigc__p_svn_client_commit_item_t[] = {  {&_swigt__p_svn_client_commit_item_t, 0, 0, 0},{0, 0, 0, 0}};
36776 static swig_cast_info _swigc__p_svn_client_conflict_option_id_t[] = {  {&_swigt__p_svn_client_conflict_option_id_t, 0, 0, 0},{0, 0, 0, 0}};
36777 static swig_cast_info _swigc__p_svn_client_conflict_option_t[] = {  {&_swigt__p_svn_client_conflict_option_t, 0, 0, 0},{0, 0, 0, 0}};
36778 static swig_cast_info _swigc__p_svn_client_conflict_t[] = {  {&_swigt__p_svn_client_conflict_t, 0, 0, 0},{0, 0, 0, 0}};
36779 static swig_cast_info _swigc__p_svn_client_copy_source_t[] = {  {&_swigt__p_svn_client_copy_source_t, 0, 0, 0},{0, 0, 0, 0}};
36780 static swig_cast_info _swigc__p_svn_client_ctx_t[] = {  {&_swigt__p_svn_client_ctx_t, 0, 0, 0},{0, 0, 0, 0}};
36781 static swig_cast_info _swigc__p_svn_client_diff_summarize_kind_t[] = {  {&_swigt__p_svn_client_diff_summarize_kind_t, 0, 0, 0},{0, 0, 0, 0}};
36782 static swig_cast_info _swigc__p_svn_client_diff_summarize_t[] = {  {&_swigt__p_svn_client_diff_summarize_t, 0, 0, 0},{0, 0, 0, 0}};
36783 static swig_cast_info _swigc__p_svn_client_info2_t[] = {  {&_swigt__p_svn_client_info2_t, 0, 0, 0},{0, 0, 0, 0}};
36784 static swig_cast_info _swigc__p_svn_client_proplist_item_t[] = {  {&_swigt__p_svn_client_proplist_item_t, 0, 0, 0},{0, 0, 0, 0}};
36785 static swig_cast_info _swigc__p_svn_client_status_t[] = {  {&_swigt__p_svn_client_status_t, 0, 0, 0},{0, 0, 0, 0}};
36786 static swig_cast_info _swigc__p_svn_commit_info_t[] = {  {&_swigt__p_svn_commit_info_t, 0, 0, 0},{0, 0, 0, 0}};
36787 static swig_cast_info _swigc__p_svn_config_t[] = {  {&_swigt__p_svn_config_t, 0, 0, 0},{0, 0, 0, 0}};
36788 static swig_cast_info _swigc__p_svn_delta_editor_t[] = {  {&_swigt__p_svn_delta_editor_t, 0, 0, 0},{0, 0, 0, 0}};
36789 static swig_cast_info _swigc__p_svn_delta_path_driver_state_t[] = {  {&_swigt__p_svn_delta_path_driver_state_t, 0, 0, 0},{0, 0, 0, 0}};
36790 static swig_cast_info _swigc__p_svn_depth_t[] = {  {&_swigt__p_svn_depth_t, 0, 0, 0},{0, 0, 0, 0}};
36791 static swig_cast_info _swigc__p_svn_diff_binary_patch_t[] = {  {&_swigt__p_svn_diff_binary_patch_t, 0, 0, 0},{0, 0, 0, 0}};
36792 static swig_cast_info _swigc__p_svn_diff_conflict_display_style_t[] = {  {&_swigt__p_svn_diff_conflict_display_style_t, 0, 0, 0},{0, 0, 0, 0}};
36793 static swig_cast_info _swigc__p_svn_diff_datasource_e[] = {  {&_swigt__p_svn_diff_datasource_e, 0, 0, 0},{0, 0, 0, 0}};
36794 static swig_cast_info _swigc__p_svn_diff_file_ignore_space_t[] = {  {&_swigt__p_svn_diff_file_ignore_space_t, 0, 0, 0},{0, 0, 0, 0}};
36795 static swig_cast_info _swigc__p_svn_diff_file_options_t[] = {  {&_swigt__p_svn_diff_file_options_t, 0, 0, 0},{0, 0, 0, 0}};
36796 static swig_cast_info _swigc__p_svn_diff_fns2_t[] = {  {&_swigt__p_svn_diff_fns2_t, 0, 0, 0},{0, 0, 0, 0}};
36797 static swig_cast_info _swigc__p_svn_diff_fns_t[] = {  {&_swigt__p_svn_diff_fns_t, 0, 0, 0},{0, 0, 0, 0}};
36798 static swig_cast_info _swigc__p_svn_diff_hunk_t[] = {  {&_swigt__p_svn_diff_hunk_t, 0, 0, 0},{0, 0, 0, 0}};
36799 static swig_cast_info _swigc__p_svn_diff_operation_kind_e[] = {  {&_swigt__p_svn_diff_operation_kind_e, 0, 0, 0},{0, 0, 0, 0}};
36800 static swig_cast_info _swigc__p_svn_diff_output_fns_t[] = {  {&_swigt__p_svn_diff_output_fns_t, 0, 0, 0},{0, 0, 0, 0}};
36801 static swig_cast_info _swigc__p_svn_diff_t[] = {  {&_swigt__p_svn_diff_t, 0, 0, 0},{0, 0, 0, 0}};
36802 static swig_cast_info _swigc__p_svn_dirent_t[] = {  {&_swigt__p_svn_dirent_t, 0, 0, 0},{0, 0, 0, 0}};
36803 static swig_cast_info _swigc__p_svn_errno_t[] = {  {&_swigt__p_svn_errno_t, 0, 0, 0},{0, 0, 0, 0}};
36804 static swig_cast_info _swigc__p_svn_error_t[] = {  {&_swigt__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
36805 static swig_cast_info _swigc__p_svn_info_t[] = {  {&_swigt__p_svn_info_t, 0, 0, 0},{0, 0, 0, 0}};
36806 static swig_cast_info _swigc__p_svn_io_dirent2_t[] = {  {&_swigt__p_svn_io_dirent2_t, 0, 0, 0},{0, 0, 0, 0}};
36807 static swig_cast_info _swigc__p_svn_io_dirent_t[] = {  {&_swigt__p_svn_io_dirent_t, 0, 0, 0},{0, 0, 0, 0}};
36808 static swig_cast_info _swigc__p_svn_io_file_del_t[] = {  {&_swigt__p_svn_io_file_del_t, 0, 0, 0},{0, 0, 0, 0}};
36809 static swig_cast_info _swigc__p_svn_location_segment_t[] = {  {&_swigt__p_svn_location_segment_t, 0, 0, 0},{0, 0, 0, 0}};
36810 static swig_cast_info _swigc__p_svn_lock_t[] = {  {&_swigt__p_svn_lock_t, 0, 0, 0},{0, 0, 0, 0}};
36811 static swig_cast_info _swigc__p_svn_log_changed_path2_t[] = {  {&_swigt__p_svn_log_changed_path2_t, 0, 0, 0},{0, 0, 0, 0}};
36812 static swig_cast_info _swigc__p_svn_log_changed_path_t[] = {  {&_swigt__p_svn_log_changed_path_t, 0, 0, 0},{0, 0, 0, 0}};
36813 static swig_cast_info _swigc__p_svn_log_entry_t[] = {  {&_swigt__p_svn_log_entry_t, 0, 0, 0},{0, 0, 0, 0}};
36814 static swig_cast_info _swigc__p_svn_merge_range_t[] = {  {&_swigt__p_svn_merge_range_t, 0, 0, 0},{0, 0, 0, 0}};
36815 static swig_cast_info _swigc__p_svn_mergeinfo_inheritance_t[] = {  {&_swigt__p_svn_mergeinfo_inheritance_t, 0, 0, 0},{0, 0, 0, 0}};
36816 static swig_cast_info _swigc__p_svn_node_kind_t[] = {  {&_swigt__p_svn_node_kind_t, 0, 0, 0},{0, 0, 0, 0}};
36817 static swig_cast_info _swigc__p_svn_opt_revision_range_t[] = {  {&_swigt__p_svn_opt_revision_range_t, 0, 0, 0},{0, 0, 0, 0}};
36818 static swig_cast_info _swigc__p_svn_opt_revision_t[] = {  {&_swigt__p_svn_opt_revision_t, 0, 0, 0},{0, 0, 0, 0}};
36819 static swig_cast_info _swigc__p_svn_opt_revision_value_t[] = {  {&_swigt__p_svn_opt_revision_value_t, 0, 0, 0},{0, 0, 0, 0}};
36820 static swig_cast_info _swigc__p_svn_opt_subcommand_desc2_t[] = {  {&_swigt__p_svn_opt_subcommand_desc2_t, 0, 0, 0},{0, 0, 0, 0}};
36821 static swig_cast_info _swigc__p_svn_opt_subcommand_desc3_t[] = {  {&_swigt__p_svn_opt_subcommand_desc3_t, 0, 0, 0},{0, 0, 0, 0}};
36822 static swig_cast_info _swigc__p_svn_opt_subcommand_desc_t[] = {  {&_swigt__p_svn_opt_subcommand_desc_t, 0, 0, 0},{0, 0, 0, 0}};
36823 static swig_cast_info _swigc__p_svn_patch_file_t[] = {  {&_swigt__p_svn_patch_file_t, 0, 0, 0},{0, 0, 0, 0}};
36824 static swig_cast_info _swigc__p_svn_patch_t[] = {  {&_swigt__p_svn_patch_t, 0, 0, 0},{0, 0, 0, 0}};
36825 static swig_cast_info _swigc__p_svn_prop_inherited_item_t[] = {  {&_swigt__p_svn_prop_inherited_item_t, 0, 0, 0},{0, 0, 0, 0}};
36826 static swig_cast_info _swigc__p_svn_prop_kind[] = {  {&_swigt__p_svn_prop_kind, 0, 0, 0},{0, 0, 0, 0}};
36827 static swig_cast_info _swigc__p_svn_prop_patch_t[] = {  {&_swigt__p_svn_prop_patch_t, 0, 0, 0},{0, 0, 0, 0}};
36828 static swig_cast_info _swigc__p_svn_ra_callbacks2_t[] = {  {&_swigt__p_svn_ra_callbacks2_t, 0, 0, 0},{0, 0, 0, 0}};
36829 static swig_cast_info _swigc__p_svn_ra_callbacks_t[] = {  {&_swigt__p_svn_ra_callbacks_t, 0, 0, 0},{0, 0, 0, 0}};
36830 static swig_cast_info _swigc__p_svn_ra_plugin_t[] = {  {&_swigt__p_svn_ra_plugin_t, 0, 0, 0},{0, 0, 0, 0}};
36831 static swig_cast_info _swigc__p_svn_ra_reporter2_t[] = {  {&_swigt__p_svn_ra_reporter2_t, 0, 0, 0},{0, 0, 0, 0}};
36832 static swig_cast_info _swigc__p_svn_ra_reporter3_t[] = {  {&_swigt__p_svn_ra_reporter3_t, 0, 0, 0},{0, 0, 0, 0}};
36833 static swig_cast_info _swigc__p_svn_ra_reporter_t[] = {  {&_swigt__p_svn_ra_reporter_t, 0, 0, 0},{0, 0, 0, 0}};
36834 static swig_cast_info _swigc__p_svn_ra_session_t[] = {  {&_swigt__p_svn_ra_session_t, 0, 0, 0},{0, 0, 0, 0}};
36835 static swig_cast_info _swigc__p_svn_stream_mark_t[] = {  {&_swigt__p_svn_stream_mark_t, 0, 0, 0},{0, 0, 0, 0}};
36836 static swig_cast_info _swigc__p_svn_stream_t[] = {  {&_swigt__p_svn_stream_t, 0, 0, 0},{0, 0, 0, 0}};
36837 static swig_cast_info _swigc__p_svn_string_t[] = {  {&_swigt__p_svn_string_t, 0, 0, 0},{0, 0, 0, 0}};
36838 static swig_cast_info _swigc__p_svn_stringbuf_t[] = {  {&_swigt__p_svn_stringbuf_t, 0, 0, 0},{0, 0, 0, 0}};
36839 static swig_cast_info _swigc__p_svn_tristate_t[] = {  {&_swigt__p_svn_tristate_t, 0, 0, 0},{0, 0, 0, 0}};
36840 static swig_cast_info _swigc__p_svn_txdelta_op_t[] = {  {&_swigt__p_svn_txdelta_op_t, 0, 0, 0},{0, 0, 0, 0}};
36841 static swig_cast_info _swigc__p_svn_txdelta_stream_t[] = {  {&_swigt__p_svn_txdelta_stream_t, 0, 0, 0},{0, 0, 0, 0}};
36842 static swig_cast_info _swigc__p_svn_txdelta_window_t[] = {  {&_swigt__p_svn_txdelta_window_t, 0, 0, 0},{0, 0, 0, 0}};
36843 static swig_cast_info _swigc__p_svn_version_checklist_t[] = {  {&_swigt__p_svn_version_checklist_t, 0, 0, 0},{0, 0, 0, 0}};
36844 static swig_cast_info _swigc__p_svn_version_ext_linked_lib_t[] = {  {&_swigt__p_svn_version_ext_linked_lib_t, 0, 0, 0},{0, 0, 0, 0}};
36845 static swig_cast_info _swigc__p_svn_version_ext_loaded_lib_t[] = {  {&_swigt__p_svn_version_ext_loaded_lib_t, 0, 0, 0},{0, 0, 0, 0}};
36846 static swig_cast_info _swigc__p_svn_version_extended_t[] = {  {&_swigt__p_svn_version_extended_t, 0, 0, 0},{0, 0, 0, 0}};
36847 static swig_cast_info _swigc__p_svn_version_t[] = {  {&_swigt__p_svn_version_t, 0, 0, 0},{0, 0, 0, 0}};
36848 static swig_cast_info _swigc__p_svn_wc_adm_access_t[] = {  {&_swigt__p_svn_wc_adm_access_t, 0, 0, 0},{0, 0, 0, 0}};
36849 static swig_cast_info _swigc__p_svn_wc_committed_queue_t[] = {  {&_swigt__p_svn_wc_committed_queue_t, 0, 0, 0},{0, 0, 0, 0}};
36850 static swig_cast_info _swigc__p_svn_wc_conflict_action_t[] = {  {&_swigt__p_svn_wc_conflict_action_t, 0, 0, 0},{0, 0, 0, 0}};
36851 static swig_cast_info _swigc__p_svn_wc_conflict_choice_t[] = {  {&_swigt__p_svn_wc_conflict_choice_t, 0, 0, 0},{0, 0, 0, 0}};
36852 static swig_cast_info _swigc__p_svn_wc_conflict_description_t[] = {  {&_swigt__p_svn_wc_conflict_description_t, 0, 0, 0},{0, 0, 0, 0}};
36853 static swig_cast_info _swigc__p_svn_wc_conflict_kind_t[] = {  {&_swigt__p_svn_wc_conflict_kind_t, 0, 0, 0},{0, 0, 0, 0}};
36854 static swig_cast_info _swigc__p_svn_wc_conflict_reason_t[] = {  {&_swigt__p_svn_wc_conflict_reason_t, 0, 0, 0},{0, 0, 0, 0}};
36855 static swig_cast_info _swigc__p_svn_wc_conflict_version_t[] = {  {&_swigt__p_svn_wc_conflict_version_t, 0, 0, 0},{0, 0, 0, 0}};
36856 static swig_cast_info _swigc__p_svn_wc_context_t[] = {  {&_swigt__p_svn_wc_context_t, 0, 0, 0},{0, 0, 0, 0}};
36857 static swig_cast_info _swigc__p_svn_wc_diff_callbacks2_t[] = {  {&_swigt__p_svn_wc_diff_callbacks2_t, 0, 0, 0},{0, 0, 0, 0}};
36858 static swig_cast_info _swigc__p_svn_wc_diff_callbacks3_t[] = {  {&_swigt__p_svn_wc_diff_callbacks3_t, 0, 0, 0},{0, 0, 0, 0}};
36859 static swig_cast_info _swigc__p_svn_wc_diff_callbacks4_t[] = {  {&_swigt__p_svn_wc_diff_callbacks4_t, 0, 0, 0},{0, 0, 0, 0}};
36860 static swig_cast_info _swigc__p_svn_wc_diff_callbacks_t[] = {  {&_swigt__p_svn_wc_diff_callbacks_t, 0, 0, 0},{0, 0, 0, 0}};
36861 static swig_cast_info _swigc__p_svn_wc_entry_callbacks2_t[] = {  {&_swigt__p_svn_wc_entry_callbacks2_t, 0, 0, 0},{0, 0, 0, 0}};
36862 static swig_cast_info _swigc__p_svn_wc_entry_callbacks_t[] = {  {&_swigt__p_svn_wc_entry_callbacks_t, 0, 0, 0},{0, 0, 0, 0}};
36863 static swig_cast_info _swigc__p_svn_wc_entry_t[] = {  {&_swigt__p_svn_wc_entry_t, 0, 0, 0},{0, 0, 0, 0}};
36864 static swig_cast_info _swigc__p_svn_wc_external_item2_t[] = {  {&_swigt__p_svn_wc_external_item2_t, 0, 0, 0},{0, 0, 0, 0}};
36865 static swig_cast_info _swigc__p_svn_wc_external_item_t[] = {  {&_swigt__p_svn_wc_external_item_t, 0, 0, 0},{0, 0, 0, 0}};
36866 static swig_cast_info _swigc__p_svn_wc_info_t[] = {  {&_swigt__p_svn_wc_info_t, 0, 0, 0},{0, 0, 0, 0}};
36867 static swig_cast_info _swigc__p_svn_wc_merge_outcome_t[] = {  {&_swigt__p_svn_wc_merge_outcome_t, 0, 0, 0},{0, 0, 0, 0}};
36868 static swig_cast_info _swigc__p_svn_wc_notify_action_t[] = {  {&_swigt__p_svn_wc_notify_action_t, 0, 0, 0},{0, 0, 0, 0}};
36869 static swig_cast_info _swigc__p_svn_wc_notify_lock_state_t[] = {  {&_swigt__p_svn_wc_notify_lock_state_t, 0, 0, 0},{0, 0, 0, 0}};
36870 static swig_cast_info _swigc__p_svn_wc_notify_state_t[] = {  {&_swigt__p_svn_wc_notify_state_t, 0, 0, 0},{0, 0, 0, 0}};
36871 static swig_cast_info _swigc__p_svn_wc_notify_t[] = {  {&_swigt__p_svn_wc_notify_t, 0, 0, 0},{0, 0, 0, 0}};
36872 static swig_cast_info _swigc__p_svn_wc_operation_t[] = {  {&_swigt__p_svn_wc_operation_t, 0, 0, 0},{0, 0, 0, 0}};
36873 static swig_cast_info _swigc__p_svn_wc_revision_status_t[] = {  {&_swigt__p_svn_wc_revision_status_t, 0, 0, 0},{0, 0, 0, 0}};
36874 static swig_cast_info _swigc__p_svn_wc_schedule_t[] = {  {&_swigt__p_svn_wc_schedule_t, 0, 0, 0},{0, 0, 0, 0}};
36875 static swig_cast_info _swigc__p_svn_wc_status2_t[] = {  {&_swigt__p_svn_wc_status2_t, 0, 0, 0},{0, 0, 0, 0}};
36876 static swig_cast_info _swigc__p_svn_wc_status3_t[] = {  {&_swigt__p_svn_wc_status3_t, 0, 0, 0},{0, 0, 0, 0}};
36877 static swig_cast_info _swigc__p_svn_wc_status_t[] = {  {&_swigt__p_svn_wc_status_t, 0, 0, 0},{0, 0, 0, 0}};
36878 static swig_cast_info _swigc__p_svn_wc_traversal_info_t[] = {  {&_swigt__p_svn_wc_traversal_info_t, 0, 0, 0},{0, 0, 0, 0}};
36879 static swig_cast_info _swigc__p_unsigned_long[] = {  {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
36880 static swig_cast_info _swigc__p_void[] = {  {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
36881 
36882 static swig_cast_info *swig_cast_initial[] = {
36883   _swigc__p_apr_array_header_t,
36884   _swigc__p_apr_file_t,
36885   _swigc__p_apr_getopt_t,
36886   _swigc__p_apr_hash_t,
36887   _swigc__p_apr_int32_t,
36888   _swigc__p_apr_int64_t,
36889   _swigc__p_apr_pool_t,
36890   _swigc__p_char,
36891   _swigc__p_f_apr_off_t_apr_off_t_p_void_p_apr_pool_t__void,
36892   _swigc__p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t,
36893   _swigc__p_f_p_p_q_const__char_p_p_q_const__char_p_apr_array_header_t_p_void_p_apr_pool_t__p_svn_error_t,
36894   _swigc__p_f_p_p_q_const__char_p_p_q_const__char_p_q_const__apr_array_header_t_p_void_p_apr_pool_t__p_svn_error_t,
36895   _swigc__p_f_p_p_svn_auth_cred_simple_t_p_void_p_q_const__char_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t,
36896   _swigc__p_f_p_p_svn_auth_cred_ssl_client_cert_pw_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t,
36897   _swigc__p_f_p_p_svn_auth_cred_ssl_client_cert_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t,
36898   _swigc__p_f_p_p_svn_auth_cred_ssl_server_trust_t_p_void_p_q_const__char_apr_uint32_t_p_q_const__svn_auth_ssl_server_cert_info_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t,
36899   _swigc__p_f_p_p_svn_auth_cred_username_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t,
36900   _swigc__p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t,
36901   _swigc__p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description2_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t,
36902   _swigc__p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description_t_p_void_p_apr_pool_t__p_svn_error_t,
36903   _swigc__p_f_p_q_const__svn_client_diff_summarize_t_p_void_p_apr_pool_t__p_svn_error_t,
36904   _swigc__p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t,
36905   _swigc__p_f_p_void__p_svn_error_t,
36906   _swigc__p_f_p_void_apr_int64_t_svn_revnum_t_p_apr_hash_t_svn_revnum_t_p_apr_hash_t_p_q_const__char_p_q_const__svn_string_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t,
36907   _swigc__p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t,
36908   _swigc__p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t,
36909   _swigc__p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t,
36910   _swigc__p_f_p_void_p_q_const__char__int,
36911   _swigc__p_f_p_void_p_q_const__char_enum_svn_wc_notify_action_t_enum_svn_node_kind_t_p_q_const__char_enum_svn_wc_notify_state_t_enum_svn_wc_notify_state_t_long__void,
36912   _swigc__p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t,
36913   _swigc__p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_pool_t__p_svn_error_t,
36914   _swigc__p_f_p_void_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t,
36915   _swigc__p_f_p_void_p_q_const__char_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_svn_boolean_t_svn_revnum_t_svn_boolean_t_svn_depth_t_p_apr_pool_t__p_svn_error_t,
36916   _swigc__p_f_p_void_p_q_const__char_p_q_const__svn_client_info2_t_p_apr_pool_t__p_svn_error_t,
36917   _swigc__p_f_p_void_p_q_const__char_p_q_const__svn_client_status_t_p_apr_pool_t__p_svn_error_t,
36918   _swigc__p_f_p_void_p_q_const__char_p_q_const__svn_dirent_t_p_q_const__svn_lock_t_p_q_const__char_p_apr_pool_t__p_svn_error_t,
36919   _swigc__p_f_p_void_p_q_const__char_p_q_const__svn_dirent_t_p_q_const__svn_lock_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t,
36920   _swigc__p_f_p_void_p_q_const__char_p_q_const__svn_info_t_p_apr_pool_t__p_svn_error_t,
36921   _swigc__p_f_p_void_p_q_const__char_p_struct_svn_wc_status2_t__void,
36922   _swigc__p_f_p_void_p_q_const__char_p_struct_svn_wc_status_t__void,
36923   _swigc__p_f_p_void_p_q_const__char_p_svn_wc_status2_t_p_apr_pool_t__p_svn_error_t,
36924   _swigc__p_f_p_void_p_q_const__struct_svn_wc_notify_t_p_apr_pool_t__void,
36925   _swigc__p_f_p_void_p_svn_boolean_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t,
36926   _swigc__p_f_p_void_p_svn_boolean_t_p_q_const__char_p_q_const__svn_io_dirent2_t_p_apr_pool_t__p_svn_error_t,
36927   _swigc__p_f_p_void_p_svn_client_conflict_t_p_apr_pool_t__p_svn_error_t,
36928   _swigc__p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t,
36929   _swigc__p_f_p_void_svn_revnum_t_svn_revnum_t_apr_int64_t_svn_revnum_t_p_apr_hash_t_svn_revnum_t_p_apr_hash_t_p_q_const__char_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t,
36930   _swigc__p_int,
36931   _swigc__p_long,
36932   _swigc__p_p_apr_array_header_t,
36933   _swigc__p_p_apr_hash_t,
36934   _swigc__p_p_char,
36935   _swigc__p_p_svn_auth_provider_object_t,
36936   _swigc__p_p_svn_client_commit_info_t,
36937   _swigc__p_p_svn_client_conflict_t,
36938   _swigc__p_p_svn_client_ctx_t,
36939   _swigc__p_p_svn_commit_info_t,
36940   _swigc__p_p_svn_ra_session_t,
36941   _swigc__p_p_svn_string_t,
36942   _swigc__p_svn_auth_baton_t,
36943   _swigc__p_svn_auth_cred_simple_t,
36944   _swigc__p_svn_auth_cred_ssl_client_cert_pw_t,
36945   _swigc__p_svn_auth_cred_ssl_client_cert_t,
36946   _swigc__p_svn_auth_cred_ssl_server_trust_t,
36947   _swigc__p_svn_auth_cred_username_t,
36948   _swigc__p_svn_auth_iterstate_t,
36949   _swigc__p_svn_auth_provider_object_t,
36950   _swigc__p_svn_auth_provider_t,
36951   _swigc__p_svn_auth_ssl_server_cert_info_t,
36952   _swigc__p_svn_cache_config_t,
36953   _swigc__p_svn_checksum_ctx_t,
36954   _swigc__p_svn_checksum_kind_t,
36955   _swigc__p_svn_checksum_t,
36956   _swigc__p_svn_client_commit_info_t,
36957   _swigc__p_svn_client_commit_item2_t,
36958   _swigc__p_svn_client_commit_item3_t,
36959   _swigc__p_svn_client_commit_item_t,
36960   _swigc__p_svn_client_conflict_option_id_t,
36961   _swigc__p_svn_client_conflict_option_t,
36962   _swigc__p_svn_client_conflict_t,
36963   _swigc__p_svn_client_copy_source_t,
36964   _swigc__p_svn_client_ctx_t,
36965   _swigc__p_svn_client_diff_summarize_kind_t,
36966   _swigc__p_svn_client_diff_summarize_t,
36967   _swigc__p_svn_client_info2_t,
36968   _swigc__p_svn_client_proplist_item_t,
36969   _swigc__p_svn_client_status_t,
36970   _swigc__p_svn_commit_info_t,
36971   _swigc__p_svn_config_t,
36972   _swigc__p_svn_delta_editor_t,
36973   _swigc__p_svn_delta_path_driver_state_t,
36974   _swigc__p_svn_depth_t,
36975   _swigc__p_svn_diff_binary_patch_t,
36976   _swigc__p_svn_diff_conflict_display_style_t,
36977   _swigc__p_svn_diff_datasource_e,
36978   _swigc__p_svn_diff_file_ignore_space_t,
36979   _swigc__p_svn_diff_file_options_t,
36980   _swigc__p_svn_diff_fns2_t,
36981   _swigc__p_svn_diff_fns_t,
36982   _swigc__p_svn_diff_hunk_t,
36983   _swigc__p_svn_diff_operation_kind_e,
36984   _swigc__p_svn_diff_output_fns_t,
36985   _swigc__p_svn_diff_t,
36986   _swigc__p_svn_dirent_t,
36987   _swigc__p_svn_errno_t,
36988   _swigc__p_svn_error_t,
36989   _swigc__p_svn_info_t,
36990   _swigc__p_svn_io_dirent2_t,
36991   _swigc__p_svn_io_dirent_t,
36992   _swigc__p_svn_io_file_del_t,
36993   _swigc__p_svn_location_segment_t,
36994   _swigc__p_svn_lock_t,
36995   _swigc__p_svn_log_changed_path2_t,
36996   _swigc__p_svn_log_changed_path_t,
36997   _swigc__p_svn_log_entry_t,
36998   _swigc__p_svn_merge_range_t,
36999   _swigc__p_svn_mergeinfo_inheritance_t,
37000   _swigc__p_svn_node_kind_t,
37001   _swigc__p_svn_opt_revision_range_t,
37002   _swigc__p_svn_opt_revision_t,
37003   _swigc__p_svn_opt_revision_value_t,
37004   _swigc__p_svn_opt_subcommand_desc2_t,
37005   _swigc__p_svn_opt_subcommand_desc3_t,
37006   _swigc__p_svn_opt_subcommand_desc_t,
37007   _swigc__p_svn_patch_file_t,
37008   _swigc__p_svn_patch_t,
37009   _swigc__p_svn_prop_inherited_item_t,
37010   _swigc__p_svn_prop_kind,
37011   _swigc__p_svn_prop_patch_t,
37012   _swigc__p_svn_ra_callbacks2_t,
37013   _swigc__p_svn_ra_callbacks_t,
37014   _swigc__p_svn_ra_plugin_t,
37015   _swigc__p_svn_ra_reporter2_t,
37016   _swigc__p_svn_ra_reporter3_t,
37017   _swigc__p_svn_ra_reporter_t,
37018   _swigc__p_svn_ra_session_t,
37019   _swigc__p_svn_stream_mark_t,
37020   _swigc__p_svn_stream_t,
37021   _swigc__p_svn_string_t,
37022   _swigc__p_svn_stringbuf_t,
37023   _swigc__p_svn_tristate_t,
37024   _swigc__p_svn_txdelta_op_t,
37025   _swigc__p_svn_txdelta_stream_t,
37026   _swigc__p_svn_txdelta_window_t,
37027   _swigc__p_svn_version_checklist_t,
37028   _swigc__p_svn_version_ext_linked_lib_t,
37029   _swigc__p_svn_version_ext_loaded_lib_t,
37030   _swigc__p_svn_version_extended_t,
37031   _swigc__p_svn_version_t,
37032   _swigc__p_svn_wc_adm_access_t,
37033   _swigc__p_svn_wc_committed_queue_t,
37034   _swigc__p_svn_wc_conflict_action_t,
37035   _swigc__p_svn_wc_conflict_choice_t,
37036   _swigc__p_svn_wc_conflict_description_t,
37037   _swigc__p_svn_wc_conflict_kind_t,
37038   _swigc__p_svn_wc_conflict_reason_t,
37039   _swigc__p_svn_wc_conflict_version_t,
37040   _swigc__p_svn_wc_context_t,
37041   _swigc__p_svn_wc_diff_callbacks2_t,
37042   _swigc__p_svn_wc_diff_callbacks3_t,
37043   _swigc__p_svn_wc_diff_callbacks4_t,
37044   _swigc__p_svn_wc_diff_callbacks_t,
37045   _swigc__p_svn_wc_entry_callbacks2_t,
37046   _swigc__p_svn_wc_entry_callbacks_t,
37047   _swigc__p_svn_wc_entry_t,
37048   _swigc__p_svn_wc_external_item2_t,
37049   _swigc__p_svn_wc_external_item_t,
37050   _swigc__p_svn_wc_info_t,
37051   _swigc__p_svn_wc_merge_outcome_t,
37052   _swigc__p_svn_wc_notify_action_t,
37053   _swigc__p_svn_wc_notify_lock_state_t,
37054   _swigc__p_svn_wc_notify_state_t,
37055   _swigc__p_svn_wc_notify_t,
37056   _swigc__p_svn_wc_operation_t,
37057   _swigc__p_svn_wc_revision_status_t,
37058   _swigc__p_svn_wc_schedule_t,
37059   _swigc__p_svn_wc_status2_t,
37060   _swigc__p_svn_wc_status3_t,
37061   _swigc__p_svn_wc_status_t,
37062   _swigc__p_svn_wc_traversal_info_t,
37063   _swigc__p_unsigned_long,
37064   _swigc__p_void,
37065 };
37066 
37067 
37068 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37069 
37070 /* -----------------------------------------------------------------------------
37071  * Type initialization:
37072  * This problem is tough by the requirement that no dynamic
37073  * memory is used. Also, since swig_type_info structures store pointers to
37074  * swig_cast_info structures and swig_cast_info structures store pointers back
37075  * to swig_type_info structures, we need some lookup code at initialization.
37076  * The idea is that swig generates all the structures that are needed.
37077  * The runtime then collects these partially filled structures.
37078  * The SWIG_InitializeModule function takes these initial arrays out of
37079  * swig_module, and does all the lookup, filling in the swig_module.types
37080  * array with the correct data and linking the correct swig_cast_info
37081  * structures together.
37082  *
37083  * The generated swig_type_info structures are assigned statically to an initial
37084  * array. We just loop through that array, and handle each type individually.
37085  * First we lookup if this type has been already loaded, and if so, use the
37086  * loaded structure instead of the generated one. Then we have to fill in the
37087  * cast linked list. The cast data is initially stored in something like a
37088  * two-dimensional array. Each row corresponds to a type (there are the same
37089  * number of rows as there are in the swig_type_initial array). Each entry in
37090  * a column is one of the swig_cast_info structures for that type.
37091  * The cast_initial array is actually an array of arrays, because each row has
37092  * a variable number of columns. So to actually build the cast linked list,
37093  * we find the array of casts associated with the type, and loop through it
37094  * adding the casts to the list. The one last trick we need to do is making
37095  * sure the type pointer in the swig_cast_info struct is correct.
37096  *
37097  * First off, we lookup the cast->type name to see if it is already loaded.
37098  * There are three cases to handle:
37099  *  1) If the cast->type has already been loaded AND the type we are adding
37100  *     casting info to has not been loaded (it is in this module), THEN we
37101  *     replace the cast->type pointer with the type pointer that has already
37102  *     been loaded.
37103  *  2) If BOTH types (the one we are adding casting info to, and the
37104  *     cast->type) are loaded, THEN the cast info has already been loaded by
37105  *     the previous module so we just ignore it.
37106  *  3) Finally, if cast->type has not already been loaded, then we add that
37107  *     swig_cast_info to the linked list (because the cast->type) pointer will
37108  *     be correct.
37109  * ----------------------------------------------------------------------------- */
37110 
37111 #ifdef __cplusplus
37112 extern "C" {
37113 #if 0
37114 } /* c-mode */
37115 #endif
37116 #endif
37117 
37118 #if 0
37119 #define SWIGRUNTIME_DEBUG
37120 #endif
37121 
37122 
37123 SWIGRUNTIME void
SWIG_InitializeModule(void * clientdata)37124 SWIG_InitializeModule(void *clientdata) {
37125   size_t i;
37126   swig_module_info *module_head, *iter;
37127   int init;
37128 
37129   /* check to see if the circular list has been setup, if not, set it up */
37130   if (swig_module.next==0) {
37131     /* Initialize the swig_module */
37132     swig_module.type_initial = swig_type_initial;
37133     swig_module.cast_initial = swig_cast_initial;
37134     swig_module.next = &swig_module;
37135     init = 1;
37136   } else {
37137     init = 0;
37138   }
37139 
37140   /* Try and load any already created modules */
37141   module_head = SWIG_GetModule(clientdata);
37142   if (!module_head) {
37143     /* This is the first module loaded for this interpreter */
37144     /* so set the swig module into the interpreter */
37145     SWIG_SetModule(clientdata, &swig_module);
37146   } else {
37147     /* the interpreter has loaded a SWIG module, but has it loaded this one? */
37148     iter=module_head;
37149     do {
37150       if (iter==&swig_module) {
37151         /* Our module is already in the list, so there's nothing more to do. */
37152         return;
37153       }
37154       iter=iter->next;
37155     } while (iter!= module_head);
37156 
37157     /* otherwise we must add our module into the list */
37158     swig_module.next = module_head->next;
37159     module_head->next = &swig_module;
37160   }
37161 
37162   /* When multiple interpreters are used, a module could have already been initialized in
37163      a different interpreter, but not yet have a pointer in this interpreter.
37164      In this case, we do not want to continue adding types... everything should be
37165      set up already */
37166   if (init == 0) return;
37167 
37168   /* Now work on filling in swig_module.types */
37169 #ifdef SWIGRUNTIME_DEBUG
37170   printf("SWIG_InitializeModule: size %d\n", swig_module.size);
37171 #endif
37172   for (i = 0; i < swig_module.size; ++i) {
37173     swig_type_info *type = 0;
37174     swig_type_info *ret;
37175     swig_cast_info *cast;
37176 
37177 #ifdef SWIGRUNTIME_DEBUG
37178     printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
37179 #endif
37180 
37181     /* if there is another module already loaded */
37182     if (swig_module.next != &swig_module) {
37183       type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
37184     }
37185     if (type) {
37186       /* Overwrite clientdata field */
37187 #ifdef SWIGRUNTIME_DEBUG
37188       printf("SWIG_InitializeModule: found type %s\n", type->name);
37189 #endif
37190       if (swig_module.type_initial[i]->clientdata) {
37191 	type->clientdata = swig_module.type_initial[i]->clientdata;
37192 #ifdef SWIGRUNTIME_DEBUG
37193       printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
37194 #endif
37195       }
37196     } else {
37197       type = swig_module.type_initial[i];
37198     }
37199 
37200     /* Insert casting types */
37201     cast = swig_module.cast_initial[i];
37202     while (cast->type) {
37203 
37204       /* Don't need to add information already in the list */
37205       ret = 0;
37206 #ifdef SWIGRUNTIME_DEBUG
37207       printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
37208 #endif
37209       if (swig_module.next != &swig_module) {
37210         ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
37211 #ifdef SWIGRUNTIME_DEBUG
37212 	if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
37213 #endif
37214       }
37215       if (ret) {
37216 	if (type == swig_module.type_initial[i]) {
37217 #ifdef SWIGRUNTIME_DEBUG
37218 	  printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
37219 #endif
37220 	  cast->type = ret;
37221 	  ret = 0;
37222 	} else {
37223 	  /* Check for casting already in the list */
37224 	  swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
37225 #ifdef SWIGRUNTIME_DEBUG
37226 	  if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
37227 #endif
37228 	  if (!ocast) ret = 0;
37229 	}
37230       }
37231 
37232       if (!ret) {
37233 #ifdef SWIGRUNTIME_DEBUG
37234 	printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
37235 #endif
37236         if (type->cast) {
37237           type->cast->prev = cast;
37238           cast->next = type->cast;
37239         }
37240         type->cast = cast;
37241       }
37242       cast++;
37243     }
37244     /* Set entry in modules->types array equal to the type */
37245     swig_module.types[i] = type;
37246   }
37247   swig_module.types[i] = 0;
37248 
37249 #ifdef SWIGRUNTIME_DEBUG
37250   printf("**** SWIG_InitializeModule: Cast List ******\n");
37251   for (i = 0; i < swig_module.size; ++i) {
37252     int j = 0;
37253     swig_cast_info *cast = swig_module.cast_initial[i];
37254     printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
37255     while (cast->type) {
37256       printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
37257       cast++;
37258       ++j;
37259     }
37260   printf("---- Total casts: %d\n",j);
37261   }
37262   printf("**** SWIG_InitializeModule: Cast List ******\n");
37263 #endif
37264 }
37265 
37266 /* This function will propagate the clientdata field of type to
37267 * any new swig_type_info structures that have been added into the list
37268 * of equivalent types.  It is like calling
37269 * SWIG_TypeClientData(type, clientdata) a second time.
37270 */
37271 SWIGRUNTIME void
SWIG_PropagateClientData(void)37272 SWIG_PropagateClientData(void) {
37273   size_t i;
37274   swig_cast_info *equiv;
37275   static int init_run = 0;
37276 
37277   if (init_run) return;
37278   init_run = 1;
37279 
37280   for (i = 0; i < swig_module.size; i++) {
37281     if (swig_module.types[i]->clientdata) {
37282       equiv = swig_module.types[i]->cast;
37283       while (equiv) {
37284         if (!equiv->converter) {
37285           if (equiv->type && !equiv->type->clientdata)
37286             SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
37287         }
37288         equiv = equiv->next;
37289       }
37290     }
37291   }
37292 }
37293 
37294 #ifdef __cplusplus
37295 #if 0
37296 { /* c-mode */
37297 #endif
37298 }
37299 #endif
37300 
37301 /*
37302 
37303 */
37304 #ifdef __cplusplus
37305 extern "C"
37306 #endif
Init_client(void)37307 SWIGEXPORT void Init_client(void) {
37308   size_t i;
37309 
37310   SWIG_InitRuntime();
37311   mClient = rb_define_module("Svn");
37312   mClient = rb_define_module_under(mClient, "Ext");
37313   mClient = rb_define_module_under(mClient, "Client");
37314 
37315   SWIG_InitializeModule(0);
37316   for (i = 0; i < swig_module.size; i++) {
37317     SWIG_define_class(swig_module.types[i]);
37318   }
37319 
37320   SWIG_RubyInitializeTrackings();
37321   rb_require("svn/ext/core");
37322   rb_require("svn/ext/delta");
37323   rb_require("svn/ext/wc");
37324   rb_require("svn/ext/ra");
37325   rb_define_module_function(mClient, "svn_client_version", _wrap_svn_client_version, -1);
37326   rb_define_module_function(mClient, "svn_client_get_simple_prompt_provider", _wrap_svn_client_get_simple_prompt_provider, -1);
37327   rb_define_module_function(mClient, "svn_client_get_username_prompt_provider", _wrap_svn_client_get_username_prompt_provider, -1);
37328   rb_define_module_function(mClient, "svn_client_get_simple_provider", _wrap_svn_client_get_simple_provider, -1);
37329   rb_define_module_function(mClient, "svn_client_get_username_provider", _wrap_svn_client_get_username_provider, -1);
37330   rb_define_module_function(mClient, "svn_client_get_ssl_server_trust_file_provider", _wrap_svn_client_get_ssl_server_trust_file_provider, -1);
37331   rb_define_module_function(mClient, "svn_client_get_ssl_client_cert_file_provider", _wrap_svn_client_get_ssl_client_cert_file_provider, -1);
37332   rb_define_module_function(mClient, "svn_client_get_ssl_client_cert_pw_file_provider", _wrap_svn_client_get_ssl_client_cert_pw_file_provider, -1);
37333   rb_define_module_function(mClient, "svn_client_get_ssl_server_trust_prompt_provider", _wrap_svn_client_get_ssl_server_trust_prompt_provider, -1);
37334   rb_define_module_function(mClient, "svn_client_get_ssl_client_cert_prompt_provider", _wrap_svn_client_get_ssl_client_cert_prompt_provider, -1);
37335   rb_define_module_function(mClient, "svn_client_get_ssl_client_cert_pw_prompt_provider", _wrap_svn_client_get_ssl_client_cert_pw_prompt_provider, -1);
37336 
37337   SwigClassSvn_client_proplist_item_t.klass = rb_define_class_under(mClient, "Svn_client_proplist_item_t", rb_cObject);
37338   SWIG_TypeClientData(SWIGTYPE_p_svn_client_proplist_item_t, (void *) &SwigClassSvn_client_proplist_item_t);
37339   rb_define_alloc_func(SwigClassSvn_client_proplist_item_t.klass, _wrap_svn_client_proplist_item_t_allocate);
37340   rb_define_method(SwigClassSvn_client_proplist_item_t.klass, "initialize", _wrap_new_svn_client_proplist_item_t, -1);
37341   rb_define_method(SwigClassSvn_client_proplist_item_t.klass, "node_name=", _wrap_svn_client_proplist_item_t_node_name_set, -1);
37342   rb_define_method(SwigClassSvn_client_proplist_item_t.klass, "node_name", _wrap_svn_client_proplist_item_t_node_name_get, -1);
37343   rb_define_method(SwigClassSvn_client_proplist_item_t.klass, "prop_hash=", _wrap_svn_client_proplist_item_t_prop_hash_set, -1);
37344   rb_define_method(SwigClassSvn_client_proplist_item_t.klass, "prop_hash", _wrap_svn_client_proplist_item_t_prop_hash_get, -1);
37345   SwigClassSvn_client_proplist_item_t.mark = 0;
37346   SwigClassSvn_client_proplist_item_t.destroy = (void (*)(void *)) free_svn_client_proplist_item_t;
37347   SwigClassSvn_client_proplist_item_t.trackObjects = 0;
37348   rb_define_module_function(mClient, "svn_client_proplist_item_dup", _wrap_svn_client_proplist_item_dup, -1);
37349 
37350   SwigClassSvn_client_commit_info_t.klass = rb_define_class_under(mClient, "Svn_client_commit_info_t", rb_cObject);
37351   SWIG_TypeClientData(SWIGTYPE_p_svn_client_commit_info_t, (void *) &SwigClassSvn_client_commit_info_t);
37352   rb_define_alloc_func(SwigClassSvn_client_commit_info_t.klass, _wrap_svn_client_commit_info_t_allocate);
37353   rb_define_method(SwigClassSvn_client_commit_info_t.klass, "initialize", _wrap_new_svn_client_commit_info_t, -1);
37354   rb_define_method(SwigClassSvn_client_commit_info_t.klass, "revision=", _wrap_svn_client_commit_info_t_revision_set, -1);
37355   rb_define_method(SwigClassSvn_client_commit_info_t.klass, "revision", _wrap_svn_client_commit_info_t_revision_get, -1);
37356   rb_define_method(SwigClassSvn_client_commit_info_t.klass, "date=", _wrap_svn_client_commit_info_t_date_set, -1);
37357   rb_define_method(SwigClassSvn_client_commit_info_t.klass, "date", _wrap_svn_client_commit_info_t_date_get, -1);
37358   rb_define_method(SwigClassSvn_client_commit_info_t.klass, "author=", _wrap_svn_client_commit_info_t_author_set, -1);
37359   rb_define_method(SwigClassSvn_client_commit_info_t.klass, "author", _wrap_svn_client_commit_info_t_author_get, -1);
37360   SwigClassSvn_client_commit_info_t.mark = 0;
37361   SwigClassSvn_client_commit_info_t.destroy = (void (*)(void *)) free_svn_client_commit_info_t;
37362   SwigClassSvn_client_commit_info_t.trackObjects = 0;
37363   rb_define_const(mClient, "SVN_CLIENT_COMMIT_ITEM_ADD", SWIG_From_int((int)(0x01)));
37364   rb_define_const(mClient, "SVN_CLIENT_COMMIT_ITEM_DELETE", SWIG_From_int((int)(0x02)));
37365   rb_define_const(mClient, "SVN_CLIENT_COMMIT_ITEM_TEXT_MODS", SWIG_From_int((int)(0x04)));
37366   rb_define_const(mClient, "SVN_CLIENT_COMMIT_ITEM_PROP_MODS", SWIG_From_int((int)(0x08)));
37367   rb_define_const(mClient, "SVN_CLIENT_COMMIT_ITEM_IS_COPY", SWIG_From_int((int)(0x10)));
37368   rb_define_const(mClient, "SVN_CLIENT_COMMIT_ITEM_LOCK_TOKEN", SWIG_From_int((int)(0x20)));
37369   rb_define_const(mClient, "SVN_CLIENT_COMMIT_ITEM_MOVED_HERE", SWIG_From_int((int)(0x40)));
37370 
37371   SwigClassSvn_client_commit_item3_t.klass = rb_define_class_under(mClient, "Svn_client_commit_item3_t", rb_cObject);
37372   SWIG_TypeClientData(SWIGTYPE_p_svn_client_commit_item3_t, (void *) &SwigClassSvn_client_commit_item3_t);
37373   rb_define_alloc_func(SwigClassSvn_client_commit_item3_t.klass, _wrap_svn_client_commit_item3_t_allocate);
37374   rb_define_method(SwigClassSvn_client_commit_item3_t.klass, "initialize", _wrap_new_svn_client_commit_item3_t, -1);
37375   rb_define_method(SwigClassSvn_client_commit_item3_t.klass, "path=", _wrap_svn_client_commit_item3_t_path_set, -1);
37376   rb_define_method(SwigClassSvn_client_commit_item3_t.klass, "path", _wrap_svn_client_commit_item3_t_path_get, -1);
37377   rb_define_method(SwigClassSvn_client_commit_item3_t.klass, "kind=", _wrap_svn_client_commit_item3_t_kind_set, -1);
37378   rb_define_method(SwigClassSvn_client_commit_item3_t.klass, "kind", _wrap_svn_client_commit_item3_t_kind_get, -1);
37379   rb_define_method(SwigClassSvn_client_commit_item3_t.klass, "url=", _wrap_svn_client_commit_item3_t_url_set, -1);
37380   rb_define_method(SwigClassSvn_client_commit_item3_t.klass, "url", _wrap_svn_client_commit_item3_t_url_get, -1);
37381   rb_define_method(SwigClassSvn_client_commit_item3_t.klass, "revision=", _wrap_svn_client_commit_item3_t_revision_set, -1);
37382   rb_define_method(SwigClassSvn_client_commit_item3_t.klass, "revision", _wrap_svn_client_commit_item3_t_revision_get, -1);
37383   rb_define_method(SwigClassSvn_client_commit_item3_t.klass, "copyfrom_url=", _wrap_svn_client_commit_item3_t_copyfrom_url_set, -1);
37384   rb_define_method(SwigClassSvn_client_commit_item3_t.klass, "copyfrom_url", _wrap_svn_client_commit_item3_t_copyfrom_url_get, -1);
37385   rb_define_method(SwigClassSvn_client_commit_item3_t.klass, "copyfrom_rev=", _wrap_svn_client_commit_item3_t_copyfrom_rev_set, -1);
37386   rb_define_method(SwigClassSvn_client_commit_item3_t.klass, "copyfrom_rev", _wrap_svn_client_commit_item3_t_copyfrom_rev_get, -1);
37387   rb_define_method(SwigClassSvn_client_commit_item3_t.klass, "state_flags=", _wrap_svn_client_commit_item3_t_state_flags_set, -1);
37388   rb_define_method(SwigClassSvn_client_commit_item3_t.klass, "state_flags", _wrap_svn_client_commit_item3_t_state_flags_get, -1);
37389   rb_define_method(SwigClassSvn_client_commit_item3_t.klass, "incoming_prop_changes=", _wrap_svn_client_commit_item3_t_incoming_prop_changes_set, -1);
37390   rb_define_method(SwigClassSvn_client_commit_item3_t.klass, "incoming_prop_changes", _wrap_svn_client_commit_item3_t_incoming_prop_changes_get, -1);
37391   rb_define_method(SwigClassSvn_client_commit_item3_t.klass, "outgoing_prop_changes=", _wrap_svn_client_commit_item3_t_outgoing_prop_changes_set, -1);
37392   rb_define_method(SwigClassSvn_client_commit_item3_t.klass, "outgoing_prop_changes", _wrap_svn_client_commit_item3_t_outgoing_prop_changes_get, -1);
37393   rb_define_method(SwigClassSvn_client_commit_item3_t.klass, "session_relpath=", _wrap_svn_client_commit_item3_t_session_relpath_set, -1);
37394   rb_define_method(SwigClassSvn_client_commit_item3_t.klass, "session_relpath", _wrap_svn_client_commit_item3_t_session_relpath_get, -1);
37395   rb_define_method(SwigClassSvn_client_commit_item3_t.klass, "moved_from_abspath=", _wrap_svn_client_commit_item3_t_moved_from_abspath_set, -1);
37396   rb_define_method(SwigClassSvn_client_commit_item3_t.klass, "moved_from_abspath", _wrap_svn_client_commit_item3_t_moved_from_abspath_get, -1);
37397   rb_define_method(SwigClassSvn_client_commit_item3_t.klass, "dup", _wrap_svn_client_commit_item3_t_dup, -1);
37398   SwigClassSvn_client_commit_item3_t.mark = 0;
37399   SwigClassSvn_client_commit_item3_t.destroy = (void (*)(void *)) free_svn_client_commit_item3_t;
37400   SwigClassSvn_client_commit_item3_t.trackObjects = 0;
37401 
37402   SwigClassSvn_client_commit_item2_t.klass = rb_define_class_under(mClient, "Svn_client_commit_item2_t", rb_cObject);
37403   SWIG_TypeClientData(SWIGTYPE_p_svn_client_commit_item2_t, (void *) &SwigClassSvn_client_commit_item2_t);
37404   rb_define_alloc_func(SwigClassSvn_client_commit_item2_t.klass, _wrap_svn_client_commit_item2_t_allocate);
37405   rb_define_method(SwigClassSvn_client_commit_item2_t.klass, "initialize", _wrap_new_svn_client_commit_item2_t, -1);
37406   rb_define_method(SwigClassSvn_client_commit_item2_t.klass, "path=", _wrap_svn_client_commit_item2_t_path_set, -1);
37407   rb_define_method(SwigClassSvn_client_commit_item2_t.klass, "path", _wrap_svn_client_commit_item2_t_path_get, -1);
37408   rb_define_method(SwigClassSvn_client_commit_item2_t.klass, "kind=", _wrap_svn_client_commit_item2_t_kind_set, -1);
37409   rb_define_method(SwigClassSvn_client_commit_item2_t.klass, "kind", _wrap_svn_client_commit_item2_t_kind_get, -1);
37410   rb_define_method(SwigClassSvn_client_commit_item2_t.klass, "url=", _wrap_svn_client_commit_item2_t_url_set, -1);
37411   rb_define_method(SwigClassSvn_client_commit_item2_t.klass, "url", _wrap_svn_client_commit_item2_t_url_get, -1);
37412   rb_define_method(SwigClassSvn_client_commit_item2_t.klass, "revision=", _wrap_svn_client_commit_item2_t_revision_set, -1);
37413   rb_define_method(SwigClassSvn_client_commit_item2_t.klass, "revision", _wrap_svn_client_commit_item2_t_revision_get, -1);
37414   rb_define_method(SwigClassSvn_client_commit_item2_t.klass, "copyfrom_url=", _wrap_svn_client_commit_item2_t_copyfrom_url_set, -1);
37415   rb_define_method(SwigClassSvn_client_commit_item2_t.klass, "copyfrom_url", _wrap_svn_client_commit_item2_t_copyfrom_url_get, -1);
37416   rb_define_method(SwigClassSvn_client_commit_item2_t.klass, "copyfrom_rev=", _wrap_svn_client_commit_item2_t_copyfrom_rev_set, -1);
37417   rb_define_method(SwigClassSvn_client_commit_item2_t.klass, "copyfrom_rev", _wrap_svn_client_commit_item2_t_copyfrom_rev_get, -1);
37418   rb_define_method(SwigClassSvn_client_commit_item2_t.klass, "state_flags=", _wrap_svn_client_commit_item2_t_state_flags_set, -1);
37419   rb_define_method(SwigClassSvn_client_commit_item2_t.klass, "state_flags", _wrap_svn_client_commit_item2_t_state_flags_get, -1);
37420   rb_define_method(SwigClassSvn_client_commit_item2_t.klass, "wcprop_changes=", _wrap_svn_client_commit_item2_t_wcprop_changes_set, -1);
37421   rb_define_method(SwigClassSvn_client_commit_item2_t.klass, "wcprop_changes", _wrap_svn_client_commit_item2_t_wcprop_changes_get, -1);
37422   SwigClassSvn_client_commit_item2_t.mark = 0;
37423   SwigClassSvn_client_commit_item2_t.destroy = (void (*)(void *)) free_svn_client_commit_item2_t;
37424   SwigClassSvn_client_commit_item2_t.trackObjects = 0;
37425 
37426   SwigClassSvn_client_commit_item_t.klass = rb_define_class_under(mClient, "Svn_client_commit_item_t", rb_cObject);
37427   SWIG_TypeClientData(SWIGTYPE_p_svn_client_commit_item_t, (void *) &SwigClassSvn_client_commit_item_t);
37428   rb_define_alloc_func(SwigClassSvn_client_commit_item_t.klass, _wrap_svn_client_commit_item_t_allocate);
37429   rb_define_method(SwigClassSvn_client_commit_item_t.klass, "initialize", _wrap_new_svn_client_commit_item_t, -1);
37430   rb_define_method(SwigClassSvn_client_commit_item_t.klass, "path=", _wrap_svn_client_commit_item_t_path_set, -1);
37431   rb_define_method(SwigClassSvn_client_commit_item_t.klass, "path", _wrap_svn_client_commit_item_t_path_get, -1);
37432   rb_define_method(SwigClassSvn_client_commit_item_t.klass, "kind=", _wrap_svn_client_commit_item_t_kind_set, -1);
37433   rb_define_method(SwigClassSvn_client_commit_item_t.klass, "kind", _wrap_svn_client_commit_item_t_kind_get, -1);
37434   rb_define_method(SwigClassSvn_client_commit_item_t.klass, "url=", _wrap_svn_client_commit_item_t_url_set, -1);
37435   rb_define_method(SwigClassSvn_client_commit_item_t.klass, "url", _wrap_svn_client_commit_item_t_url_get, -1);
37436   rb_define_method(SwigClassSvn_client_commit_item_t.klass, "revision=", _wrap_svn_client_commit_item_t_revision_set, -1);
37437   rb_define_method(SwigClassSvn_client_commit_item_t.klass, "revision", _wrap_svn_client_commit_item_t_revision_get, -1);
37438   rb_define_method(SwigClassSvn_client_commit_item_t.klass, "copyfrom_url=", _wrap_svn_client_commit_item_t_copyfrom_url_set, -1);
37439   rb_define_method(SwigClassSvn_client_commit_item_t.klass, "copyfrom_url", _wrap_svn_client_commit_item_t_copyfrom_url_get, -1);
37440   rb_define_method(SwigClassSvn_client_commit_item_t.klass, "state_flags=", _wrap_svn_client_commit_item_t_state_flags_set, -1);
37441   rb_define_method(SwigClassSvn_client_commit_item_t.klass, "state_flags", _wrap_svn_client_commit_item_t_state_flags_get, -1);
37442   rb_define_method(SwigClassSvn_client_commit_item_t.klass, "wcprop_changes=", _wrap_svn_client_commit_item_t_wcprop_changes_set, -1);
37443   rb_define_method(SwigClassSvn_client_commit_item_t.klass, "wcprop_changes", _wrap_svn_client_commit_item_t_wcprop_changes_get, -1);
37444   SwigClassSvn_client_commit_item_t.mark = 0;
37445   SwigClassSvn_client_commit_item_t.destroy = (void (*)(void *)) free_svn_client_commit_item_t;
37446   SwigClassSvn_client_commit_item_t.trackObjects = 0;
37447   rb_define_module_function(mClient, "svn_client_commit_item3_create", _wrap_svn_client_commit_item3_create, -1);
37448   rb_define_const(mClient, "Svn_client_diff_summarize_kind_normal", SWIG_From_int((int)(svn_client_diff_summarize_kind_normal)));
37449   rb_define_const(mClient, "Svn_client_diff_summarize_kind_added", SWIG_From_int((int)(svn_client_diff_summarize_kind_added)));
37450   rb_define_const(mClient, "Svn_client_diff_summarize_kind_modified", SWIG_From_int((int)(svn_client_diff_summarize_kind_modified)));
37451   rb_define_const(mClient, "Svn_client_diff_summarize_kind_deleted", SWIG_From_int((int)(svn_client_diff_summarize_kind_deleted)));
37452 
37453   SwigClassSvn_client_diff_summarize_t.klass = rb_define_class_under(mClient, "Svn_client_diff_summarize_t", rb_cObject);
37454   SWIG_TypeClientData(SWIGTYPE_p_svn_client_diff_summarize_t, (void *) &SwigClassSvn_client_diff_summarize_t);
37455   rb_define_alloc_func(SwigClassSvn_client_diff_summarize_t.klass, _wrap_svn_client_diff_summarize_t_allocate);
37456   rb_define_method(SwigClassSvn_client_diff_summarize_t.klass, "initialize", _wrap_new_svn_client_diff_summarize_t, -1);
37457   rb_define_method(SwigClassSvn_client_diff_summarize_t.klass, "path=", _wrap_svn_client_diff_summarize_t_path_set, -1);
37458   rb_define_method(SwigClassSvn_client_diff_summarize_t.klass, "path", _wrap_svn_client_diff_summarize_t_path_get, -1);
37459   rb_define_method(SwigClassSvn_client_diff_summarize_t.klass, "summarize_kind=", _wrap_svn_client_diff_summarize_t_summarize_kind_set, -1);
37460   rb_define_method(SwigClassSvn_client_diff_summarize_t.klass, "summarize_kind", _wrap_svn_client_diff_summarize_t_summarize_kind_get, -1);
37461   rb_define_method(SwigClassSvn_client_diff_summarize_t.klass, "prop_changed=", _wrap_svn_client_diff_summarize_t_prop_changed_set, -1);
37462   rb_define_method(SwigClassSvn_client_diff_summarize_t.klass, "prop_changed", _wrap_svn_client_diff_summarize_t_prop_changed_get, -1);
37463   rb_define_method(SwigClassSvn_client_diff_summarize_t.klass, "node_kind=", _wrap_svn_client_diff_summarize_t_node_kind_set, -1);
37464   rb_define_method(SwigClassSvn_client_diff_summarize_t.klass, "node_kind", _wrap_svn_client_diff_summarize_t_node_kind_get, -1);
37465   SwigClassSvn_client_diff_summarize_t.mark = 0;
37466   SwigClassSvn_client_diff_summarize_t.destroy = (void (*)(void *)) free_svn_client_diff_summarize_t;
37467   SwigClassSvn_client_diff_summarize_t.trackObjects = 0;
37468   rb_define_module_function(mClient, "svn_client_diff_summarize_dup", _wrap_svn_client_diff_summarize_dup, -1);
37469 
37470   SwigClassSvn_client_ctx_t.klass = rb_define_class_under(mClient, "Svn_client_ctx_t", rb_cObject);
37471   SWIG_TypeClientData(SWIGTYPE_p_svn_client_ctx_t, (void *) &SwigClassSvn_client_ctx_t);
37472   rb_define_alloc_func(SwigClassSvn_client_ctx_t.klass, _wrap_svn_client_ctx_t_allocate);
37473   rb_define_method(SwigClassSvn_client_ctx_t.klass, "initialize", _wrap_new_svn_client_ctx_t, -1);
37474   rb_define_method(SwigClassSvn_client_ctx_t.klass, "auth_baton=", _wrap_svn_client_ctx_t_auth_baton_set, -1);
37475   rb_define_method(SwigClassSvn_client_ctx_t.klass, "auth_baton", _wrap_svn_client_ctx_t_auth_baton_get, -1);
37476   rb_define_method(SwigClassSvn_client_ctx_t.klass, "notify_func=", _wrap_svn_client_ctx_t_notify_func_set, -1);
37477   rb_define_method(SwigClassSvn_client_ctx_t.klass, "notify_func", _wrap_svn_client_ctx_t_notify_func_get, -1);
37478   rb_define_method(SwigClassSvn_client_ctx_t.klass, "notify_baton=", _wrap_svn_client_ctx_t_notify_baton_set, -1);
37479   rb_define_method(SwigClassSvn_client_ctx_t.klass, "notify_baton", _wrap_svn_client_ctx_t_notify_baton_get, -1);
37480   rb_define_method(SwigClassSvn_client_ctx_t.klass, "log_msg_func=", _wrap_svn_client_ctx_t_log_msg_func_set, -1);
37481   rb_define_method(SwigClassSvn_client_ctx_t.klass, "log_msg_func", _wrap_svn_client_ctx_t_log_msg_func_get, -1);
37482   rb_define_method(SwigClassSvn_client_ctx_t.klass, "log_msg_baton=", _wrap_svn_client_ctx_t_log_msg_baton_set, -1);
37483   rb_define_method(SwigClassSvn_client_ctx_t.klass, "log_msg_baton", _wrap_svn_client_ctx_t_log_msg_baton_get, -1);
37484   rb_define_method(SwigClassSvn_client_ctx_t.klass, "cancel_func=", _wrap_svn_client_ctx_t_cancel_func_set, -1);
37485   rb_define_method(SwigClassSvn_client_ctx_t.klass, "cancel_func", _wrap_svn_client_ctx_t_cancel_func_get, -1);
37486   rb_define_method(SwigClassSvn_client_ctx_t.klass, "cancel_baton=", _wrap_svn_client_ctx_t_cancel_baton_set, -1);
37487   rb_define_method(SwigClassSvn_client_ctx_t.klass, "cancel_baton", _wrap_svn_client_ctx_t_cancel_baton_get, -1);
37488   rb_define_method(SwigClassSvn_client_ctx_t.klass, "notify_func2=", _wrap_svn_client_ctx_t_notify_func2_set, -1);
37489   rb_define_method(SwigClassSvn_client_ctx_t.klass, "notify_func2", _wrap_svn_client_ctx_t_notify_func2_get, -1);
37490   rb_define_method(SwigClassSvn_client_ctx_t.klass, "notify_baton2=", _wrap_svn_client_ctx_t_notify_baton2_set, -1);
37491   rb_define_method(SwigClassSvn_client_ctx_t.klass, "notify_baton2", _wrap_svn_client_ctx_t_notify_baton2_get, -1);
37492   rb_define_method(SwigClassSvn_client_ctx_t.klass, "log_msg_func2=", _wrap_svn_client_ctx_t_log_msg_func2_set, -1);
37493   rb_define_method(SwigClassSvn_client_ctx_t.klass, "log_msg_func2", _wrap_svn_client_ctx_t_log_msg_func2_get, -1);
37494   rb_define_method(SwigClassSvn_client_ctx_t.klass, "log_msg_baton2=", _wrap_svn_client_ctx_t_log_msg_baton2_set, -1);
37495   rb_define_method(SwigClassSvn_client_ctx_t.klass, "log_msg_baton2", _wrap_svn_client_ctx_t_log_msg_baton2_get, -1);
37496   rb_define_method(SwigClassSvn_client_ctx_t.klass, "progress_func=", _wrap_svn_client_ctx_t_progress_func_set, -1);
37497   rb_define_method(SwigClassSvn_client_ctx_t.klass, "progress_func", _wrap_svn_client_ctx_t_progress_func_get, -1);
37498   rb_define_method(SwigClassSvn_client_ctx_t.klass, "progress_baton=", _wrap_svn_client_ctx_t_progress_baton_set, -1);
37499   rb_define_method(SwigClassSvn_client_ctx_t.klass, "progress_baton", _wrap_svn_client_ctx_t_progress_baton_get, -1);
37500   rb_define_method(SwigClassSvn_client_ctx_t.klass, "log_msg_func3=", _wrap_svn_client_ctx_t_log_msg_func3_set, -1);
37501   rb_define_method(SwigClassSvn_client_ctx_t.klass, "log_msg_func3", _wrap_svn_client_ctx_t_log_msg_func3_get, -1);
37502   rb_define_method(SwigClassSvn_client_ctx_t.klass, "log_msg_baton3=", _wrap_svn_client_ctx_t_log_msg_baton3_set, -1);
37503   rb_define_method(SwigClassSvn_client_ctx_t.klass, "log_msg_baton3", _wrap_svn_client_ctx_t_log_msg_baton3_get, -1);
37504   rb_define_method(SwigClassSvn_client_ctx_t.klass, "mimetypes_map=", _wrap_svn_client_ctx_t_mimetypes_map_set, -1);
37505   rb_define_method(SwigClassSvn_client_ctx_t.klass, "mimetypes_map", _wrap_svn_client_ctx_t_mimetypes_map_get, -1);
37506   rb_define_method(SwigClassSvn_client_ctx_t.klass, "conflict_func=", _wrap_svn_client_ctx_t_conflict_func_set, -1);
37507   rb_define_method(SwigClassSvn_client_ctx_t.klass, "conflict_func", _wrap_svn_client_ctx_t_conflict_func_get, -1);
37508   rb_define_method(SwigClassSvn_client_ctx_t.klass, "conflict_baton=", _wrap_svn_client_ctx_t_conflict_baton_set, -1);
37509   rb_define_method(SwigClassSvn_client_ctx_t.klass, "conflict_baton", _wrap_svn_client_ctx_t_conflict_baton_get, -1);
37510   rb_define_method(SwigClassSvn_client_ctx_t.klass, "client_name=", _wrap_svn_client_ctx_t_client_name_set, -1);
37511   rb_define_method(SwigClassSvn_client_ctx_t.klass, "client_name", _wrap_svn_client_ctx_t_client_name_get, -1);
37512   rb_define_method(SwigClassSvn_client_ctx_t.klass, "conflict_func2=", _wrap_svn_client_ctx_t_conflict_func2_set, -1);
37513   rb_define_method(SwigClassSvn_client_ctx_t.klass, "conflict_func2", _wrap_svn_client_ctx_t_conflict_func2_get, -1);
37514   rb_define_method(SwigClassSvn_client_ctx_t.klass, "conflict_baton2=", _wrap_svn_client_ctx_t_conflict_baton2_set, -1);
37515   rb_define_method(SwigClassSvn_client_ctx_t.klass, "conflict_baton2", _wrap_svn_client_ctx_t_conflict_baton2_get, -1);
37516   rb_define_method(SwigClassSvn_client_ctx_t.klass, "wc_ctx=", _wrap_svn_client_ctx_t_wc_ctx_set, -1);
37517   rb_define_method(SwigClassSvn_client_ctx_t.klass, "wc_ctx", _wrap_svn_client_ctx_t_wc_ctx_get, -1);
37518   rb_define_method(SwigClassSvn_client_ctx_t.klass, "check_tunnel_func=", _wrap_svn_client_ctx_t_check_tunnel_func_set, -1);
37519   rb_define_method(SwigClassSvn_client_ctx_t.klass, "check_tunnel_func", _wrap_svn_client_ctx_t_check_tunnel_func_get, -1);
37520   rb_define_method(SwigClassSvn_client_ctx_t.klass, "open_tunnel_func=", _wrap_svn_client_ctx_t_open_tunnel_func_set, -1);
37521   rb_define_method(SwigClassSvn_client_ctx_t.klass, "open_tunnel_func", _wrap_svn_client_ctx_t_open_tunnel_func_get, -1);
37522   rb_define_method(SwigClassSvn_client_ctx_t.klass, "tunnel_baton=", _wrap_svn_client_ctx_t_tunnel_baton_set, -1);
37523   rb_define_method(SwigClassSvn_client_ctx_t.klass, "tunnel_baton", _wrap_svn_client_ctx_t_tunnel_baton_get, -1);
37524   SwigClassSvn_client_ctx_t.mark = 0;
37525   SwigClassSvn_client_ctx_t.destroy = (void (*)(void *)) free_svn_client_ctx_t;
37526   SwigClassSvn_client_ctx_t.trackObjects = 0;
37527   rb_define_module_function(mClient, "svn_client_create_context2", _wrap_svn_client_create_context2, -1);
37528   rb_define_const(mClient, "SVN_CLIENT_AUTH_USERNAME", SWIG_FromCharPtr("username"));
37529   rb_define_const(mClient, "SVN_CLIENT_AUTH_PASSWORD", SWIG_FromCharPtr("password"));
37530   rb_define_module_function(mClient, "svn_client_args_to_target_array2", _wrap_svn_client_args_to_target_array2, -1);
37531   rb_define_module_function(mClient, "svn_client_args_to_target_array", _wrap_svn_client_args_to_target_array, -1);
37532   rb_define_module_function(mClient, "svn_client_checkout3", _wrap_svn_client_checkout3, -1);
37533   rb_define_module_function(mClient, "svn_client_checkout2", _wrap_svn_client_checkout2, -1);
37534   rb_define_module_function(mClient, "svn_client_checkout", _wrap_svn_client_checkout, -1);
37535   rb_define_module_function(mClient, "svn_client_update4", _wrap_svn_client_update4, -1);
37536   rb_define_module_function(mClient, "svn_client_update3", _wrap_svn_client_update3, -1);
37537   rb_define_module_function(mClient, "svn_client_update2", _wrap_svn_client_update2, -1);
37538   rb_define_module_function(mClient, "svn_client_update", _wrap_svn_client_update, -1);
37539   rb_define_module_function(mClient, "svn_client_switch3", _wrap_svn_client_switch3, -1);
37540   rb_define_module_function(mClient, "svn_client_switch2", _wrap_svn_client_switch2, -1);
37541   rb_define_module_function(mClient, "svn_client_switch", _wrap_svn_client_switch, -1);
37542   rb_define_module_function(mClient, "svn_client__layout_list", _wrap_svn_client__layout_list, -1);
37543   rb_define_module_function(mClient, "svn_client_add5", _wrap_svn_client_add5, -1);
37544   rb_define_module_function(mClient, "svn_client_add4", _wrap_svn_client_add4, -1);
37545   rb_define_module_function(mClient, "svn_client_add3", _wrap_svn_client_add3, -1);
37546   rb_define_module_function(mClient, "svn_client_add2", _wrap_svn_client_add2, -1);
37547   rb_define_module_function(mClient, "svn_client_add", _wrap_svn_client_add, -1);
37548   rb_define_module_function(mClient, "svn_client_mkdir4", _wrap_svn_client_mkdir4, -1);
37549   rb_define_module_function(mClient, "svn_client_mkdir3", _wrap_svn_client_mkdir3, -1);
37550   rb_define_module_function(mClient, "svn_client_mkdir2", _wrap_svn_client_mkdir2, -1);
37551   rb_define_module_function(mClient, "svn_client_mkdir", _wrap_svn_client_mkdir, -1);
37552   rb_define_module_function(mClient, "svn_client_delete4", _wrap_svn_client_delete4, -1);
37553   rb_define_module_function(mClient, "svn_client_delete3", _wrap_svn_client_delete3, -1);
37554   rb_define_module_function(mClient, "svn_client_delete2", _wrap_svn_client_delete2, -1);
37555   rb_define_module_function(mClient, "svn_client_delete", _wrap_svn_client_delete, -1);
37556   rb_define_module_function(mClient, "svn_client_import5", _wrap_svn_client_import5, -1);
37557   rb_define_module_function(mClient, "svn_client_import4", _wrap_svn_client_import4, -1);
37558   rb_define_module_function(mClient, "svn_client_import3", _wrap_svn_client_import3, -1);
37559   rb_define_module_function(mClient, "svn_client_import2", _wrap_svn_client_import2, -1);
37560   rb_define_module_function(mClient, "svn_client_import", _wrap_svn_client_import, -1);
37561   rb_define_module_function(mClient, "svn_client_commit6", _wrap_svn_client_commit6, -1);
37562   rb_define_module_function(mClient, "svn_client_commit5", _wrap_svn_client_commit5, -1);
37563   rb_define_module_function(mClient, "svn_client_commit4", _wrap_svn_client_commit4, -1);
37564   rb_define_module_function(mClient, "svn_client_commit3", _wrap_svn_client_commit3, -1);
37565   rb_define_module_function(mClient, "svn_client_commit2", _wrap_svn_client_commit2, -1);
37566   rb_define_module_function(mClient, "svn_client_commit", _wrap_svn_client_commit, -1);
37567 
37568   SwigClassSvn_client_status_t.klass = rb_define_class_under(mClient, "Svn_client_status_t", rb_cObject);
37569   SWIG_TypeClientData(SWIGTYPE_p_svn_client_status_t, (void *) &SwigClassSvn_client_status_t);
37570   rb_define_alloc_func(SwigClassSvn_client_status_t.klass, _wrap_svn_client_status_t_allocate);
37571   rb_define_method(SwigClassSvn_client_status_t.klass, "initialize", _wrap_new_svn_client_status_t, -1);
37572   rb_define_method(SwigClassSvn_client_status_t.klass, "kind=", _wrap_svn_client_status_t_kind_set, -1);
37573   rb_define_method(SwigClassSvn_client_status_t.klass, "kind", _wrap_svn_client_status_t_kind_get, -1);
37574   rb_define_method(SwigClassSvn_client_status_t.klass, "local_abspath=", _wrap_svn_client_status_t_local_abspath_set, -1);
37575   rb_define_method(SwigClassSvn_client_status_t.klass, "local_abspath", _wrap_svn_client_status_t_local_abspath_get, -1);
37576   rb_define_method(SwigClassSvn_client_status_t.klass, "filesize=", _wrap_svn_client_status_t_filesize_set, -1);
37577   rb_define_method(SwigClassSvn_client_status_t.klass, "filesize", _wrap_svn_client_status_t_filesize_get, -1);
37578   rb_define_method(SwigClassSvn_client_status_t.klass, "versioned=", _wrap_svn_client_status_t_versioned_set, -1);
37579   rb_define_method(SwigClassSvn_client_status_t.klass, "versioned", _wrap_svn_client_status_t_versioned_get, -1);
37580   rb_define_method(SwigClassSvn_client_status_t.klass, "conflicted=", _wrap_svn_client_status_t_conflicted_set, -1);
37581   rb_define_method(SwigClassSvn_client_status_t.klass, "conflicted", _wrap_svn_client_status_t_conflicted_get, -1);
37582   rb_define_method(SwigClassSvn_client_status_t.klass, "node_status=", _wrap_svn_client_status_t_node_status_set, -1);
37583   rb_define_method(SwigClassSvn_client_status_t.klass, "node_status", _wrap_svn_client_status_t_node_status_get, -1);
37584   rb_define_method(SwigClassSvn_client_status_t.klass, "text_status=", _wrap_svn_client_status_t_text_status_set, -1);
37585   rb_define_method(SwigClassSvn_client_status_t.klass, "text_status", _wrap_svn_client_status_t_text_status_get, -1);
37586   rb_define_method(SwigClassSvn_client_status_t.klass, "prop_status=", _wrap_svn_client_status_t_prop_status_set, -1);
37587   rb_define_method(SwigClassSvn_client_status_t.klass, "prop_status", _wrap_svn_client_status_t_prop_status_get, -1);
37588   rb_define_method(SwigClassSvn_client_status_t.klass, "wc_is_locked=", _wrap_svn_client_status_t_wc_is_locked_set, -1);
37589   rb_define_method(SwigClassSvn_client_status_t.klass, "wc_is_locked", _wrap_svn_client_status_t_wc_is_locked_get, -1);
37590   rb_define_method(SwigClassSvn_client_status_t.klass, "copied=", _wrap_svn_client_status_t_copied_set, -1);
37591   rb_define_method(SwigClassSvn_client_status_t.klass, "copied", _wrap_svn_client_status_t_copied_get, -1);
37592   rb_define_method(SwigClassSvn_client_status_t.klass, "repos_root_url=", _wrap_svn_client_status_t_repos_root_url_set, -1);
37593   rb_define_method(SwigClassSvn_client_status_t.klass, "repos_root_url", _wrap_svn_client_status_t_repos_root_url_get, -1);
37594   rb_define_method(SwigClassSvn_client_status_t.klass, "repos_uuid=", _wrap_svn_client_status_t_repos_uuid_set, -1);
37595   rb_define_method(SwigClassSvn_client_status_t.klass, "repos_uuid", _wrap_svn_client_status_t_repos_uuid_get, -1);
37596   rb_define_method(SwigClassSvn_client_status_t.klass, "repos_relpath=", _wrap_svn_client_status_t_repos_relpath_set, -1);
37597   rb_define_method(SwigClassSvn_client_status_t.klass, "repos_relpath", _wrap_svn_client_status_t_repos_relpath_get, -1);
37598   rb_define_method(SwigClassSvn_client_status_t.klass, "revision=", _wrap_svn_client_status_t_revision_set, -1);
37599   rb_define_method(SwigClassSvn_client_status_t.klass, "revision", _wrap_svn_client_status_t_revision_get, -1);
37600   rb_define_method(SwigClassSvn_client_status_t.klass, "changed_rev=", _wrap_svn_client_status_t_changed_rev_set, -1);
37601   rb_define_method(SwigClassSvn_client_status_t.klass, "changed_rev", _wrap_svn_client_status_t_changed_rev_get, -1);
37602   rb_define_method(SwigClassSvn_client_status_t.klass, "changed_date=", _wrap_svn_client_status_t_changed_date_set, -1);
37603   rb_define_method(SwigClassSvn_client_status_t.klass, "changed_date", _wrap_svn_client_status_t_changed_date_get, -1);
37604   rb_define_method(SwigClassSvn_client_status_t.klass, "changed_author=", _wrap_svn_client_status_t_changed_author_set, -1);
37605   rb_define_method(SwigClassSvn_client_status_t.klass, "changed_author", _wrap_svn_client_status_t_changed_author_get, -1);
37606   rb_define_method(SwigClassSvn_client_status_t.klass, "switched=", _wrap_svn_client_status_t_switched_set, -1);
37607   rb_define_method(SwigClassSvn_client_status_t.klass, "switched", _wrap_svn_client_status_t_switched_get, -1);
37608   rb_define_method(SwigClassSvn_client_status_t.klass, "file_external=", _wrap_svn_client_status_t_file_external_set, -1);
37609   rb_define_method(SwigClassSvn_client_status_t.klass, "file_external", _wrap_svn_client_status_t_file_external_get, -1);
37610   rb_define_method(SwigClassSvn_client_status_t.klass, "lock=", _wrap_svn_client_status_t_lock_set, -1);
37611   rb_define_method(SwigClassSvn_client_status_t.klass, "lock", _wrap_svn_client_status_t_lock_get, -1);
37612   rb_define_method(SwigClassSvn_client_status_t.klass, "changelist=", _wrap_svn_client_status_t_changelist_set, -1);
37613   rb_define_method(SwigClassSvn_client_status_t.klass, "changelist", _wrap_svn_client_status_t_changelist_get, -1);
37614   rb_define_method(SwigClassSvn_client_status_t.klass, "depth=", _wrap_svn_client_status_t_depth_set, -1);
37615   rb_define_method(SwigClassSvn_client_status_t.klass, "depth", _wrap_svn_client_status_t_depth_get, -1);
37616   rb_define_method(SwigClassSvn_client_status_t.klass, "ood_kind=", _wrap_svn_client_status_t_ood_kind_set, -1);
37617   rb_define_method(SwigClassSvn_client_status_t.klass, "ood_kind", _wrap_svn_client_status_t_ood_kind_get, -1);
37618   rb_define_method(SwigClassSvn_client_status_t.klass, "repos_node_status=", _wrap_svn_client_status_t_repos_node_status_set, -1);
37619   rb_define_method(SwigClassSvn_client_status_t.klass, "repos_node_status", _wrap_svn_client_status_t_repos_node_status_get, -1);
37620   rb_define_method(SwigClassSvn_client_status_t.klass, "repos_text_status=", _wrap_svn_client_status_t_repos_text_status_set, -1);
37621   rb_define_method(SwigClassSvn_client_status_t.klass, "repos_text_status", _wrap_svn_client_status_t_repos_text_status_get, -1);
37622   rb_define_method(SwigClassSvn_client_status_t.klass, "repos_prop_status=", _wrap_svn_client_status_t_repos_prop_status_set, -1);
37623   rb_define_method(SwigClassSvn_client_status_t.klass, "repos_prop_status", _wrap_svn_client_status_t_repos_prop_status_get, -1);
37624   rb_define_method(SwigClassSvn_client_status_t.klass, "repos_lock=", _wrap_svn_client_status_t_repos_lock_set, -1);
37625   rb_define_method(SwigClassSvn_client_status_t.klass, "repos_lock", _wrap_svn_client_status_t_repos_lock_get, -1);
37626   rb_define_method(SwigClassSvn_client_status_t.klass, "ood_changed_rev=", _wrap_svn_client_status_t_ood_changed_rev_set, -1);
37627   rb_define_method(SwigClassSvn_client_status_t.klass, "ood_changed_rev", _wrap_svn_client_status_t_ood_changed_rev_get, -1);
37628   rb_define_method(SwigClassSvn_client_status_t.klass, "ood_changed_date=", _wrap_svn_client_status_t_ood_changed_date_set, -1);
37629   rb_define_method(SwigClassSvn_client_status_t.klass, "ood_changed_date", _wrap_svn_client_status_t_ood_changed_date_get, -1);
37630   rb_define_method(SwigClassSvn_client_status_t.klass, "ood_changed_author=", _wrap_svn_client_status_t_ood_changed_author_set, -1);
37631   rb_define_method(SwigClassSvn_client_status_t.klass, "ood_changed_author", _wrap_svn_client_status_t_ood_changed_author_get, -1);
37632   rb_define_method(SwigClassSvn_client_status_t.klass, "backwards_compatibility_baton=", _wrap_svn_client_status_t_backwards_compatibility_baton_set, -1);
37633   rb_define_method(SwigClassSvn_client_status_t.klass, "backwards_compatibility_baton", _wrap_svn_client_status_t_backwards_compatibility_baton_get, -1);
37634   rb_define_method(SwigClassSvn_client_status_t.klass, "moved_from_abspath=", _wrap_svn_client_status_t_moved_from_abspath_set, -1);
37635   rb_define_method(SwigClassSvn_client_status_t.klass, "moved_from_abspath", _wrap_svn_client_status_t_moved_from_abspath_get, -1);
37636   rb_define_method(SwigClassSvn_client_status_t.klass, "moved_to_abspath=", _wrap_svn_client_status_t_moved_to_abspath_set, -1);
37637   rb_define_method(SwigClassSvn_client_status_t.klass, "moved_to_abspath", _wrap_svn_client_status_t_moved_to_abspath_get, -1);
37638   SwigClassSvn_client_status_t.mark = 0;
37639   SwigClassSvn_client_status_t.destroy = (void (*)(void *)) free_svn_client_status_t;
37640   SwigClassSvn_client_status_t.trackObjects = 0;
37641   rb_define_module_function(mClient, "svn_client_status_dup", _wrap_svn_client_status_dup, -1);
37642   rb_define_module_function(mClient, "svn_client_status6", _wrap_svn_client_status6, -1);
37643   rb_define_module_function(mClient, "svn_client_status5", _wrap_svn_client_status5, -1);
37644   rb_define_module_function(mClient, "svn_client_status4", _wrap_svn_client_status4, -1);
37645   rb_define_module_function(mClient, "svn_client_status3", _wrap_svn_client_status3, -1);
37646   rb_define_module_function(mClient, "svn_client_status2", _wrap_svn_client_status2, -1);
37647   rb_define_module_function(mClient, "svn_client_status", _wrap_svn_client_status, -1);
37648   rb_define_module_function(mClient, "svn_client_log5", _wrap_svn_client_log5, -1);
37649   rb_define_module_function(mClient, "svn_client_log4", _wrap_svn_client_log4, -1);
37650   rb_define_module_function(mClient, "svn_client_log3", _wrap_svn_client_log3, -1);
37651   rb_define_module_function(mClient, "svn_client_log2", _wrap_svn_client_log2, -1);
37652   rb_define_module_function(mClient, "svn_client_log", _wrap_svn_client_log, -1);
37653   rb_define_module_function(mClient, "svn_client_blame6", _wrap_svn_client_blame6, -1);
37654   rb_define_module_function(mClient, "svn_client_blame5", _wrap_svn_client_blame5, -1);
37655   rb_define_module_function(mClient, "svn_client_blame4", _wrap_svn_client_blame4, -1);
37656   rb_define_module_function(mClient, "svn_client_blame3", _wrap_svn_client_blame3, -1);
37657   rb_define_module_function(mClient, "svn_client_blame2", _wrap_svn_client_blame2, -1);
37658   rb_define_module_function(mClient, "svn_client_blame", _wrap_svn_client_blame, -1);
37659   rb_define_module_function(mClient, "svn_client_diff7", _wrap_svn_client_diff7, -1);
37660   rb_define_module_function(mClient, "svn_client_diff6", _wrap_svn_client_diff6, -1);
37661   rb_define_module_function(mClient, "svn_client_diff5", _wrap_svn_client_diff5, -1);
37662   rb_define_module_function(mClient, "svn_client_diff4", _wrap_svn_client_diff4, -1);
37663   rb_define_module_function(mClient, "svn_client_diff3", _wrap_svn_client_diff3, -1);
37664   rb_define_module_function(mClient, "svn_client_diff2", _wrap_svn_client_diff2, -1);
37665   rb_define_module_function(mClient, "svn_client_diff", _wrap_svn_client_diff, -1);
37666   rb_define_module_function(mClient, "svn_client_diff_peg7", _wrap_svn_client_diff_peg7, -1);
37667   rb_define_module_function(mClient, "svn_client_diff_peg6", _wrap_svn_client_diff_peg6, -1);
37668   rb_define_module_function(mClient, "svn_client_diff_peg5", _wrap_svn_client_diff_peg5, -1);
37669   rb_define_module_function(mClient, "svn_client_diff_peg4", _wrap_svn_client_diff_peg4, -1);
37670   rb_define_module_function(mClient, "svn_client_diff_peg3", _wrap_svn_client_diff_peg3, -1);
37671   rb_define_module_function(mClient, "svn_client_diff_peg2", _wrap_svn_client_diff_peg2, -1);
37672   rb_define_module_function(mClient, "svn_client_diff_peg", _wrap_svn_client_diff_peg, -1);
37673   rb_define_module_function(mClient, "svn_client_diff_summarize2", _wrap_svn_client_diff_summarize2, -1);
37674   rb_define_module_function(mClient, "svn_client_diff_summarize", _wrap_svn_client_diff_summarize, -1);
37675   rb_define_module_function(mClient, "svn_client_diff_summarize_peg2", _wrap_svn_client_diff_summarize_peg2, -1);
37676   rb_define_module_function(mClient, "svn_client_diff_summarize_peg", _wrap_svn_client_diff_summarize_peg, -1);
37677   rb_define_module_function(mClient, "svn_client_get_merging_summary", _wrap_svn_client_get_merging_summary, -1);
37678   rb_define_module_function(mClient, "svn_client_merge5", _wrap_svn_client_merge5, -1);
37679   rb_define_module_function(mClient, "svn_client_merge4", _wrap_svn_client_merge4, -1);
37680   rb_define_module_function(mClient, "svn_client_merge3", _wrap_svn_client_merge3, -1);
37681   rb_define_module_function(mClient, "svn_client_merge2", _wrap_svn_client_merge2, -1);
37682   rb_define_module_function(mClient, "svn_client_merge", _wrap_svn_client_merge, -1);
37683   rb_define_module_function(mClient, "svn_client_merge_reintegrate", _wrap_svn_client_merge_reintegrate, -1);
37684   rb_define_module_function(mClient, "svn_client_merge_peg5", _wrap_svn_client_merge_peg5, -1);
37685   rb_define_module_function(mClient, "svn_client_merge_peg4", _wrap_svn_client_merge_peg4, -1);
37686   rb_define_module_function(mClient, "svn_client_merge_peg3", _wrap_svn_client_merge_peg3, -1);
37687   rb_define_module_function(mClient, "svn_client_merge_peg2", _wrap_svn_client_merge_peg2, -1);
37688   rb_define_module_function(mClient, "svn_client_merge_peg", _wrap_svn_client_merge_peg, -1);
37689   rb_define_module_function(mClient, "svn_client_suggest_merge_sources", _wrap_svn_client_suggest_merge_sources, -1);
37690   rb_define_module_function(mClient, "svn_client_mergeinfo_get_merged", _wrap_svn_client_mergeinfo_get_merged, -1);
37691   rb_define_module_function(mClient, "svn_client_mergeinfo_log2", _wrap_svn_client_mergeinfo_log2, -1);
37692   rb_define_module_function(mClient, "svn_client_mergeinfo_log", _wrap_svn_client_mergeinfo_log, -1);
37693   rb_define_module_function(mClient, "svn_client_mergeinfo_log_merged", _wrap_svn_client_mergeinfo_log_merged, -1);
37694   rb_define_module_function(mClient, "svn_client_mergeinfo_log_eligible", _wrap_svn_client_mergeinfo_log_eligible, -1);
37695   rb_define_module_function(mClient, "svn_client_vacuum", _wrap_svn_client_vacuum, -1);
37696   rb_define_module_function(mClient, "svn_client_cleanup2", _wrap_svn_client_cleanup2, -1);
37697   rb_define_module_function(mClient, "svn_client_cleanup", _wrap_svn_client_cleanup, -1);
37698   rb_define_module_function(mClient, "svn_client_upgrade", _wrap_svn_client_upgrade, -1);
37699   rb_define_module_function(mClient, "svn_client_relocate2", _wrap_svn_client_relocate2, -1);
37700   rb_define_module_function(mClient, "svn_client_relocate", _wrap_svn_client_relocate, -1);
37701   rb_define_module_function(mClient, "svn_client_revert4", _wrap_svn_client_revert4, -1);
37702   rb_define_module_function(mClient, "svn_client_revert3", _wrap_svn_client_revert3, -1);
37703   rb_define_module_function(mClient, "svn_client_revert2", _wrap_svn_client_revert2, -1);
37704   rb_define_module_function(mClient, "svn_client_revert", _wrap_svn_client_revert, -1);
37705   rb_define_const(mClient, "Svn_client_conflict_option_undefined", SWIG_From_int((int)(svn_client_conflict_option_undefined)));
37706   rb_define_const(mClient, "Svn_client_conflict_option_postpone", SWIG_From_int((int)(svn_client_conflict_option_postpone)));
37707   rb_define_const(mClient, "Svn_client_conflict_option_base_text", SWIG_From_int((int)(svn_client_conflict_option_base_text)));
37708   rb_define_const(mClient, "Svn_client_conflict_option_incoming_text", SWIG_From_int((int)(svn_client_conflict_option_incoming_text)));
37709   rb_define_const(mClient, "Svn_client_conflict_option_working_text", SWIG_From_int((int)(svn_client_conflict_option_working_text)));
37710   rb_define_const(mClient, "Svn_client_conflict_option_incoming_text_where_conflicted", SWIG_From_int((int)(svn_client_conflict_option_incoming_text_where_conflicted)));
37711   rb_define_const(mClient, "Svn_client_conflict_option_working_text_where_conflicted", SWIG_From_int((int)(svn_client_conflict_option_working_text_where_conflicted)));
37712   rb_define_const(mClient, "Svn_client_conflict_option_merged_text", SWIG_From_int((int)(svn_client_conflict_option_merged_text)));
37713   rb_define_const(mClient, "Svn_client_conflict_option_unspecified", SWIG_From_int((int)(svn_client_conflict_option_unspecified)));
37714   rb_define_const(mClient, "Svn_client_conflict_option_accept_current_wc_state", SWIG_From_int((int)(svn_client_conflict_option_accept_current_wc_state)));
37715   rb_define_const(mClient, "Svn_client_conflict_option_update_move_destination", SWIG_From_int((int)(svn_client_conflict_option_update_move_destination)));
37716   rb_define_const(mClient, "Svn_client_conflict_option_update_any_moved_away_children", SWIG_From_int((int)(svn_client_conflict_option_update_any_moved_away_children)));
37717   rb_define_const(mClient, "Svn_client_conflict_option_incoming_add_ignore", SWIG_From_int((int)(svn_client_conflict_option_incoming_add_ignore)));
37718   rb_define_const(mClient, "Svn_client_conflict_option_incoming_added_file_text_merge", SWIG_From_int((int)(svn_client_conflict_option_incoming_added_file_text_merge)));
37719   rb_define_const(mClient, "Svn_client_conflict_option_incoming_added_file_replace_and_merge", SWIG_From_int((int)(svn_client_conflict_option_incoming_added_file_replace_and_merge)));
37720   rb_define_const(mClient, "Svn_client_conflict_option_incoming_added_dir_merge", SWIG_From_int((int)(svn_client_conflict_option_incoming_added_dir_merge)));
37721   rb_define_const(mClient, "Svn_client_conflict_option_incoming_added_dir_replace", SWIG_From_int((int)(svn_client_conflict_option_incoming_added_dir_replace)));
37722   rb_define_const(mClient, "Svn_client_conflict_option_incoming_added_dir_replace_and_merge", SWIG_From_int((int)(svn_client_conflict_option_incoming_added_dir_replace_and_merge)));
37723   rb_define_const(mClient, "Svn_client_conflict_option_incoming_delete_ignore", SWIG_From_int((int)(svn_client_conflict_option_incoming_delete_ignore)));
37724   rb_define_const(mClient, "Svn_client_conflict_option_incoming_delete_accept", SWIG_From_int((int)(svn_client_conflict_option_incoming_delete_accept)));
37725   rb_define_const(mClient, "Svn_client_conflict_option_incoming_move_file_text_merge", SWIG_From_int((int)(svn_client_conflict_option_incoming_move_file_text_merge)));
37726   rb_define_const(mClient, "Svn_client_conflict_option_incoming_move_dir_merge", SWIG_From_int((int)(svn_client_conflict_option_incoming_move_dir_merge)));
37727   rb_define_const(mClient, "Svn_client_conflict_option_local_move_file_text_merge", SWIG_From_int((int)(svn_client_conflict_option_local_move_file_text_merge)));
37728   rb_define_const(mClient, "Svn_client_conflict_option_local_move_dir_merge", SWIG_From_int((int)(svn_client_conflict_option_local_move_dir_merge)));
37729   rb_define_const(mClient, "Svn_client_conflict_option_sibling_move_file_text_merge", SWIG_From_int((int)(svn_client_conflict_option_sibling_move_file_text_merge)));
37730   rb_define_const(mClient, "Svn_client_conflict_option_sibling_move_dir_merge", SWIG_From_int((int)(svn_client_conflict_option_sibling_move_dir_merge)));
37731   rb_define_const(mClient, "Svn_client_conflict_option_both_moved_file_merge", SWIG_From_int((int)(svn_client_conflict_option_both_moved_file_merge)));
37732   rb_define_const(mClient, "Svn_client_conflict_option_both_moved_file_move_merge", SWIG_From_int((int)(svn_client_conflict_option_both_moved_file_move_merge)));
37733   rb_define_const(mClient, "Svn_client_conflict_option_both_moved_dir_merge", SWIG_From_int((int)(svn_client_conflict_option_both_moved_dir_merge)));
37734   rb_define_const(mClient, "Svn_client_conflict_option_both_moved_dir_move_merge", SWIG_From_int((int)(svn_client_conflict_option_both_moved_dir_move_merge)));
37735   rb_define_module_function(mClient, "svn_client_conflict_option_set_merged_propval", _wrap_svn_client_conflict_option_set_merged_propval, -1);
37736   rb_define_module_function(mClient, "svn_client_conflict_option_get_moved_to_repos_relpath_candidates2", _wrap_svn_client_conflict_option_get_moved_to_repos_relpath_candidates2, -1);
37737   rb_define_module_function(mClient, "svn_client_conflict_option_get_moved_to_repos_relpath_candidates", _wrap_svn_client_conflict_option_get_moved_to_repos_relpath_candidates, -1);
37738   rb_define_module_function(mClient, "svn_client_conflict_option_set_moved_to_repos_relpath2", _wrap_svn_client_conflict_option_set_moved_to_repos_relpath2, -1);
37739   rb_define_module_function(mClient, "svn_client_conflict_option_set_moved_to_repos_relpath", _wrap_svn_client_conflict_option_set_moved_to_repos_relpath, -1);
37740   rb_define_module_function(mClient, "svn_client_conflict_option_get_moved_to_abspath_candidates2", _wrap_svn_client_conflict_option_get_moved_to_abspath_candidates2, -1);
37741   rb_define_module_function(mClient, "svn_client_conflict_option_get_moved_to_abspath_candidates", _wrap_svn_client_conflict_option_get_moved_to_abspath_candidates, -1);
37742   rb_define_module_function(mClient, "svn_client_conflict_option_set_moved_to_abspath2", _wrap_svn_client_conflict_option_set_moved_to_abspath2, -1);
37743   rb_define_module_function(mClient, "svn_client_conflict_option_set_moved_to_abspath", _wrap_svn_client_conflict_option_set_moved_to_abspath, -1);
37744   rb_define_module_function(mClient, "svn_client_conflict_option_find_by_id", _wrap_svn_client_conflict_option_find_by_id, -1);
37745   rb_define_module_function(mClient, "svn_client_conflict_get", _wrap_svn_client_conflict_get, -1);
37746   rb_define_module_function(mClient, "svn_client_conflict_walk", _wrap_svn_client_conflict_walk, -1);
37747   rb_define_module_function(mClient, "svn_client_conflict_get_conflicted", _wrap_svn_client_conflict_get_conflicted, -1);
37748   rb_define_module_function(mClient, "svn_client_conflict_prop_get_description", _wrap_svn_client_conflict_prop_get_description, -1);
37749   rb_define_module_function(mClient, "svn_client_conflict_tree_get_description", _wrap_svn_client_conflict_tree_get_description, -1);
37750   rb_define_module_function(mClient, "svn_client_conflict_text_get_resolution_options", _wrap_svn_client_conflict_text_get_resolution_options, -1);
37751   rb_define_module_function(mClient, "svn_client_conflict_prop_get_resolution_options", _wrap_svn_client_conflict_prop_get_resolution_options, -1);
37752   rb_define_module_function(mClient, "svn_client_conflict_tree_get_resolution_options", _wrap_svn_client_conflict_tree_get_resolution_options, -1);
37753   rb_define_module_function(mClient, "svn_client_conflict_tree_get_details", _wrap_svn_client_conflict_tree_get_details, -1);
37754   rb_define_module_function(mClient, "svn_client_conflict_option_get_id", _wrap_svn_client_conflict_option_get_id, -1);
37755   rb_define_module_function(mClient, "svn_client_conflict_option_get_label", _wrap_svn_client_conflict_option_get_label, -1);
37756   rb_define_module_function(mClient, "svn_client_conflict_option_get_description", _wrap_svn_client_conflict_option_get_description, -1);
37757   rb_define_module_function(mClient, "svn_client_conflict_get_recommended_option_id", _wrap_svn_client_conflict_get_recommended_option_id, -1);
37758   rb_define_module_function(mClient, "svn_client_conflict_get_local_abspath", _wrap_svn_client_conflict_get_local_abspath, -1);
37759   rb_define_module_function(mClient, "svn_client_conflict_get_operation", _wrap_svn_client_conflict_get_operation, -1);
37760   rb_define_module_function(mClient, "svn_client_conflict_get_incoming_change", _wrap_svn_client_conflict_get_incoming_change, -1);
37761   rb_define_module_function(mClient, "svn_client_conflict_get_local_change", _wrap_svn_client_conflict_get_local_change, -1);
37762   rb_define_module_function(mClient, "svn_client_conflict_get_repos_info", _wrap_svn_client_conflict_get_repos_info, -1);
37763   rb_define_module_function(mClient, "svn_client_conflict_get_incoming_old_repos_location", _wrap_svn_client_conflict_get_incoming_old_repos_location, -1);
37764   rb_define_module_function(mClient, "svn_client_conflict_get_incoming_new_repos_location", _wrap_svn_client_conflict_get_incoming_new_repos_location, -1);
37765   rb_define_module_function(mClient, "svn_client_conflict_tree_get_victim_node_kind", _wrap_svn_client_conflict_tree_get_victim_node_kind, -1);
37766   rb_define_module_function(mClient, "svn_client_conflict_tree_resolve", _wrap_svn_client_conflict_tree_resolve, -1);
37767   rb_define_module_function(mClient, "svn_client_conflict_tree_resolve_by_id", _wrap_svn_client_conflict_tree_resolve_by_id, -1);
37768   rb_define_module_function(mClient, "svn_client_conflict_tree_get_resolution", _wrap_svn_client_conflict_tree_get_resolution, -1);
37769   rb_define_module_function(mClient, "svn_client_conflict_prop_get_reject_abspath", _wrap_svn_client_conflict_prop_get_reject_abspath, -1);
37770   rb_define_module_function(mClient, "svn_client_conflict_prop_get_propvals", _wrap_svn_client_conflict_prop_get_propvals, -1);
37771   rb_define_module_function(mClient, "svn_client_conflict_prop_resolve", _wrap_svn_client_conflict_prop_resolve, -1);
37772   rb_define_module_function(mClient, "svn_client_conflict_prop_resolve_by_id", _wrap_svn_client_conflict_prop_resolve_by_id, -1);
37773   rb_define_module_function(mClient, "svn_client_conflict_prop_get_resolution", _wrap_svn_client_conflict_prop_get_resolution, -1);
37774   rb_define_module_function(mClient, "svn_client_conflict_text_get_mime_type", _wrap_svn_client_conflict_text_get_mime_type, -1);
37775   rb_define_module_function(mClient, "svn_client_conflict_text_get_contents", _wrap_svn_client_conflict_text_get_contents, -1);
37776   rb_define_module_function(mClient, "svn_client_conflict_text_resolve", _wrap_svn_client_conflict_text_resolve, -1);
37777   rb_define_module_function(mClient, "svn_client_conflict_text_resolve_by_id", _wrap_svn_client_conflict_text_resolve_by_id, -1);
37778   rb_define_module_function(mClient, "svn_client_conflict_text_get_resolution", _wrap_svn_client_conflict_text_get_resolution, -1);
37779   rb_define_module_function(mClient, "svn_client_resolved", _wrap_svn_client_resolved, -1);
37780   rb_define_module_function(mClient, "svn_client_resolve", _wrap_svn_client_resolve, -1);
37781 
37782   SwigClassSvn_client_copy_source_t.klass = rb_define_class_under(mClient, "Svn_client_copy_source_t", rb_cObject);
37783   SWIG_TypeClientData(SWIGTYPE_p_svn_client_copy_source_t, (void *) &SwigClassSvn_client_copy_source_t);
37784   rb_define_alloc_func(SwigClassSvn_client_copy_source_t.klass, _wrap_svn_client_copy_source_t_allocate);
37785   rb_define_method(SwigClassSvn_client_copy_source_t.klass, "initialize", _wrap_new_svn_client_copy_source_t, -1);
37786   rb_define_method(SwigClassSvn_client_copy_source_t.klass, "path", _wrap_svn_client_copy_source_t_path, -1);
37787   rb_define_method(SwigClassSvn_client_copy_source_t.klass, "revision", _wrap_svn_client_copy_source_t_revision, -1);
37788   rb_define_method(SwigClassSvn_client_copy_source_t.klass, "peg_revision", _wrap_svn_client_copy_source_t_peg_revision, -1);
37789   SwigClassSvn_client_copy_source_t.mark = 0;
37790   SwigClassSvn_client_copy_source_t.destroy = (void (*)(void *)) free_svn_client_copy_source_t;
37791   SwigClassSvn_client_copy_source_t.trackObjects = 0;
37792   rb_define_module_function(mClient, "svn_client_copy7", _wrap_svn_client_copy7, -1);
37793   rb_define_module_function(mClient, "svn_client_copy6", _wrap_svn_client_copy6, -1);
37794   rb_define_module_function(mClient, "svn_client_copy5", _wrap_svn_client_copy5, -1);
37795   rb_define_module_function(mClient, "svn_client_copy4", _wrap_svn_client_copy4, -1);
37796   rb_define_module_function(mClient, "svn_client_copy3", _wrap_svn_client_copy3, -1);
37797   rb_define_module_function(mClient, "svn_client_copy2", _wrap_svn_client_copy2, -1);
37798   rb_define_module_function(mClient, "svn_client_copy", _wrap_svn_client_copy, -1);
37799   rb_define_module_function(mClient, "svn_client_move7", _wrap_svn_client_move7, -1);
37800   rb_define_module_function(mClient, "svn_client_move6", _wrap_svn_client_move6, -1);
37801   rb_define_module_function(mClient, "svn_client_move5", _wrap_svn_client_move5, -1);
37802   rb_define_module_function(mClient, "svn_client_move4", _wrap_svn_client_move4, -1);
37803   rb_define_module_function(mClient, "svn_client_move3", _wrap_svn_client_move3, -1);
37804   rb_define_module_function(mClient, "svn_client_move2", _wrap_svn_client_move2, -1);
37805   rb_define_module_function(mClient, "svn_client_move", _wrap_svn_client_move, -1);
37806   rb_define_module_function(mClient, "svn_client_propset_remote", _wrap_svn_client_propset_remote, -1);
37807   rb_define_module_function(mClient, "svn_client_propset_local", _wrap_svn_client_propset_local, -1);
37808   rb_define_module_function(mClient, "svn_client_propset3", _wrap_svn_client_propset3, -1);
37809   rb_define_module_function(mClient, "svn_client_propset2", _wrap_svn_client_propset2, -1);
37810   rb_define_module_function(mClient, "svn_client_propset", _wrap_svn_client_propset, -1);
37811   rb_define_module_function(mClient, "svn_client_revprop_set2", _wrap_svn_client_revprop_set2, -1);
37812   rb_define_module_function(mClient, "svn_client_revprop_set", _wrap_svn_client_revprop_set, -1);
37813   rb_define_module_function(mClient, "svn_client_propget5", _wrap_svn_client_propget5, -1);
37814   rb_define_module_function(mClient, "svn_client_propget4", _wrap_svn_client_propget4, -1);
37815   rb_define_module_function(mClient, "svn_client_propget3", _wrap_svn_client_propget3, -1);
37816   rb_define_module_function(mClient, "svn_client_propget2", _wrap_svn_client_propget2, -1);
37817   rb_define_module_function(mClient, "svn_client_propget", _wrap_svn_client_propget, -1);
37818   rb_define_module_function(mClient, "svn_client_revprop_get", _wrap_svn_client_revprop_get, -1);
37819   rb_define_module_function(mClient, "svn_client_proplist4", _wrap_svn_client_proplist4, -1);
37820   rb_define_module_function(mClient, "svn_client_proplist3", _wrap_svn_client_proplist3, -1);
37821   rb_define_module_function(mClient, "svn_client_proplist2", _wrap_svn_client_proplist2, -1);
37822   rb_define_module_function(mClient, "svn_client_proplist", _wrap_svn_client_proplist, -1);
37823   rb_define_module_function(mClient, "svn_client_revprop_list", _wrap_svn_client_revprop_list, -1);
37824   rb_define_module_function(mClient, "svn_client_export5", _wrap_svn_client_export5, -1);
37825   rb_define_module_function(mClient, "svn_client_export4", _wrap_svn_client_export4, -1);
37826   rb_define_module_function(mClient, "svn_client_export3", _wrap_svn_client_export3, -1);
37827   rb_define_module_function(mClient, "svn_client_export2", _wrap_svn_client_export2, -1);
37828   rb_define_module_function(mClient, "svn_client_export", _wrap_svn_client_export, -1);
37829   rb_define_module_function(mClient, "svn_client_list4", _wrap_svn_client_list4, -1);
37830   rb_define_module_function(mClient, "svn_client_list3", _wrap_svn_client_list3, -1);
37831   rb_define_module_function(mClient, "svn_client_list2", _wrap_svn_client_list2, -1);
37832   rb_define_module_function(mClient, "svn_client_list", _wrap_svn_client_list, -1);
37833   rb_define_module_function(mClient, "svn_client_ls3", _wrap_svn_client_ls3, -1);
37834   rb_define_module_function(mClient, "svn_client_ls2", _wrap_svn_client_ls2, -1);
37835   rb_define_module_function(mClient, "svn_client_ls", _wrap_svn_client_ls, -1);
37836   rb_define_module_function(mClient, "svn_client_cat3", _wrap_svn_client_cat3, -1);
37837   rb_define_module_function(mClient, "svn_client_cat2", _wrap_svn_client_cat2, -1);
37838   rb_define_module_function(mClient, "svn_client_cat", _wrap_svn_client_cat, -1);
37839   rb_define_module_function(mClient, "svn_client_add_to_changelist", _wrap_svn_client_add_to_changelist, -1);
37840   rb_define_module_function(mClient, "svn_client_remove_from_changelists", _wrap_svn_client_remove_from_changelists, -1);
37841   rb_define_module_function(mClient, "svn_client_get_changelists", _wrap_svn_client_get_changelists, -1);
37842   rb_define_module_function(mClient, "svn_client_lock", _wrap_svn_client_lock, -1);
37843   rb_define_module_function(mClient, "svn_client_unlock", _wrap_svn_client_unlock, -1);
37844 
37845   SwigClassSvn_info_t.klass = rb_define_class_under(mClient, "Svn_info_t", rb_cObject);
37846   SWIG_TypeClientData(SWIGTYPE_p_svn_info_t, (void *) &SwigClassSvn_info_t);
37847   rb_define_alloc_func(SwigClassSvn_info_t.klass, _wrap_svn_info_t_allocate);
37848   rb_define_method(SwigClassSvn_info_t.klass, "initialize", _wrap_new_svn_info_t, -1);
37849   rb_define_method(SwigClassSvn_info_t.klass, "URL=", _wrap_svn_info_t_URL_set, -1);
37850   rb_define_method(SwigClassSvn_info_t.klass, "URL", _wrap_svn_info_t_URL_get, -1);
37851   rb_define_method(SwigClassSvn_info_t.klass, "rev=", _wrap_svn_info_t_rev_set, -1);
37852   rb_define_method(SwigClassSvn_info_t.klass, "rev", _wrap_svn_info_t_rev_get, -1);
37853   rb_define_method(SwigClassSvn_info_t.klass, "kind=", _wrap_svn_info_t_kind_set, -1);
37854   rb_define_method(SwigClassSvn_info_t.klass, "kind", _wrap_svn_info_t_kind_get, -1);
37855   rb_define_method(SwigClassSvn_info_t.klass, "repos_root_URL=", _wrap_svn_info_t_repos_root_URL_set, -1);
37856   rb_define_method(SwigClassSvn_info_t.klass, "repos_root_URL", _wrap_svn_info_t_repos_root_URL_get, -1);
37857   rb_define_method(SwigClassSvn_info_t.klass, "repos_UUID=", _wrap_svn_info_t_repos_UUID_set, -1);
37858   rb_define_method(SwigClassSvn_info_t.klass, "repos_UUID", _wrap_svn_info_t_repos_UUID_get, -1);
37859   rb_define_method(SwigClassSvn_info_t.klass, "last_changed_rev=", _wrap_svn_info_t_last_changed_rev_set, -1);
37860   rb_define_method(SwigClassSvn_info_t.klass, "last_changed_rev", _wrap_svn_info_t_last_changed_rev_get, -1);
37861   rb_define_method(SwigClassSvn_info_t.klass, "last_changed_date=", _wrap_svn_info_t_last_changed_date_set, -1);
37862   rb_define_method(SwigClassSvn_info_t.klass, "last_changed_date", _wrap_svn_info_t_last_changed_date_get, -1);
37863   rb_define_method(SwigClassSvn_info_t.klass, "last_changed_author=", _wrap_svn_info_t_last_changed_author_set, -1);
37864   rb_define_method(SwigClassSvn_info_t.klass, "last_changed_author", _wrap_svn_info_t_last_changed_author_get, -1);
37865   rb_define_method(SwigClassSvn_info_t.klass, "lock=", _wrap_svn_info_t_lock_set, -1);
37866   rb_define_method(SwigClassSvn_info_t.klass, "lock", _wrap_svn_info_t_lock_get, -1);
37867   rb_define_method(SwigClassSvn_info_t.klass, "has_wc_info=", _wrap_svn_info_t_has_wc_info_set, -1);
37868   rb_define_method(SwigClassSvn_info_t.klass, "has_wc_info", _wrap_svn_info_t_has_wc_info_get, -1);
37869   rb_define_method(SwigClassSvn_info_t.klass, "schedule=", _wrap_svn_info_t_schedule_set, -1);
37870   rb_define_method(SwigClassSvn_info_t.klass, "schedule", _wrap_svn_info_t_schedule_get, -1);
37871   rb_define_method(SwigClassSvn_info_t.klass, "copyfrom_url=", _wrap_svn_info_t_copyfrom_url_set, -1);
37872   rb_define_method(SwigClassSvn_info_t.klass, "copyfrom_url", _wrap_svn_info_t_copyfrom_url_get, -1);
37873   rb_define_method(SwigClassSvn_info_t.klass, "copyfrom_rev=", _wrap_svn_info_t_copyfrom_rev_set, -1);
37874   rb_define_method(SwigClassSvn_info_t.klass, "copyfrom_rev", _wrap_svn_info_t_copyfrom_rev_get, -1);
37875   rb_define_method(SwigClassSvn_info_t.klass, "text_time=", _wrap_svn_info_t_text_time_set, -1);
37876   rb_define_method(SwigClassSvn_info_t.klass, "text_time", _wrap_svn_info_t_text_time_get, -1);
37877   rb_define_method(SwigClassSvn_info_t.klass, "prop_time=", _wrap_svn_info_t_prop_time_set, -1);
37878   rb_define_method(SwigClassSvn_info_t.klass, "prop_time", _wrap_svn_info_t_prop_time_get, -1);
37879   rb_define_method(SwigClassSvn_info_t.klass, "checksum=", _wrap_svn_info_t_checksum_set, -1);
37880   rb_define_method(SwigClassSvn_info_t.klass, "checksum", _wrap_svn_info_t_checksum_get, -1);
37881   rb_define_method(SwigClassSvn_info_t.klass, "conflict_old=", _wrap_svn_info_t_conflict_old_set, -1);
37882   rb_define_method(SwigClassSvn_info_t.klass, "conflict_old", _wrap_svn_info_t_conflict_old_get, -1);
37883   rb_define_method(SwigClassSvn_info_t.klass, "conflict_new=", _wrap_svn_info_t_conflict_new_set, -1);
37884   rb_define_method(SwigClassSvn_info_t.klass, "conflict_new", _wrap_svn_info_t_conflict_new_get, -1);
37885   rb_define_method(SwigClassSvn_info_t.klass, "conflict_wrk=", _wrap_svn_info_t_conflict_wrk_set, -1);
37886   rb_define_method(SwigClassSvn_info_t.klass, "conflict_wrk", _wrap_svn_info_t_conflict_wrk_get, -1);
37887   rb_define_method(SwigClassSvn_info_t.klass, "prejfile=", _wrap_svn_info_t_prejfile_set, -1);
37888   rb_define_method(SwigClassSvn_info_t.klass, "prejfile", _wrap_svn_info_t_prejfile_get, -1);
37889   rb_define_method(SwigClassSvn_info_t.klass, "changelist=", _wrap_svn_info_t_changelist_set, -1);
37890   rb_define_method(SwigClassSvn_info_t.klass, "changelist", _wrap_svn_info_t_changelist_get, -1);
37891   rb_define_method(SwigClassSvn_info_t.klass, "depth=", _wrap_svn_info_t_depth_set, -1);
37892   rb_define_method(SwigClassSvn_info_t.klass, "depth", _wrap_svn_info_t_depth_get, -1);
37893   rb_define_method(SwigClassSvn_info_t.klass, "working_size=", _wrap_svn_info_t_working_size_set, -1);
37894   rb_define_method(SwigClassSvn_info_t.klass, "working_size", _wrap_svn_info_t_working_size_get, -1);
37895   rb_define_method(SwigClassSvn_info_t.klass, "size=", _wrap_svn_info_t_size_set, -1);
37896   rb_define_method(SwigClassSvn_info_t.klass, "size", _wrap_svn_info_t_size_get, -1);
37897   rb_define_method(SwigClassSvn_info_t.klass, "size64=", _wrap_svn_info_t_size64_set, -1);
37898   rb_define_method(SwigClassSvn_info_t.klass, "size64", _wrap_svn_info_t_size64_get, -1);
37899   rb_define_method(SwigClassSvn_info_t.klass, "working_size64=", _wrap_svn_info_t_working_size64_set, -1);
37900   rb_define_method(SwigClassSvn_info_t.klass, "working_size64", _wrap_svn_info_t_working_size64_get, -1);
37901   rb_define_method(SwigClassSvn_info_t.klass, "tree_conflict=", _wrap_svn_info_t_tree_conflict_set, -1);
37902   rb_define_method(SwigClassSvn_info_t.klass, "tree_conflict", _wrap_svn_info_t_tree_conflict_get, -1);
37903   SwigClassSvn_info_t.mark = 0;
37904   SwigClassSvn_info_t.destroy = (void (*)(void *)) free_svn_info_t;
37905   SwigClassSvn_info_t.trackObjects = 0;
37906   rb_define_module_function(mClient, "svn_info_dup", _wrap_svn_info_dup, -1);
37907 
37908   SwigClassSvn_client_info2_t.klass = rb_define_class_under(mClient, "Svn_client_info2_t", rb_cObject);
37909   SWIG_TypeClientData(SWIGTYPE_p_svn_client_info2_t, (void *) &SwigClassSvn_client_info2_t);
37910   rb_define_alloc_func(SwigClassSvn_client_info2_t.klass, _wrap_svn_client_info2_t_allocate);
37911   rb_define_method(SwigClassSvn_client_info2_t.klass, "initialize", _wrap_new_svn_client_info2_t, -1);
37912   rb_define_method(SwigClassSvn_client_info2_t.klass, "URL=", _wrap_svn_client_info2_t_URL_set, -1);
37913   rb_define_method(SwigClassSvn_client_info2_t.klass, "URL", _wrap_svn_client_info2_t_URL_get, -1);
37914   rb_define_method(SwigClassSvn_client_info2_t.klass, "rev=", _wrap_svn_client_info2_t_rev_set, -1);
37915   rb_define_method(SwigClassSvn_client_info2_t.klass, "rev", _wrap_svn_client_info2_t_rev_get, -1);
37916   rb_define_method(SwigClassSvn_client_info2_t.klass, "repos_root_URL=", _wrap_svn_client_info2_t_repos_root_URL_set, -1);
37917   rb_define_method(SwigClassSvn_client_info2_t.klass, "repos_root_URL", _wrap_svn_client_info2_t_repos_root_URL_get, -1);
37918   rb_define_method(SwigClassSvn_client_info2_t.klass, "repos_UUID=", _wrap_svn_client_info2_t_repos_UUID_set, -1);
37919   rb_define_method(SwigClassSvn_client_info2_t.klass, "repos_UUID", _wrap_svn_client_info2_t_repos_UUID_get, -1);
37920   rb_define_method(SwigClassSvn_client_info2_t.klass, "kind=", _wrap_svn_client_info2_t_kind_set, -1);
37921   rb_define_method(SwigClassSvn_client_info2_t.klass, "kind", _wrap_svn_client_info2_t_kind_get, -1);
37922   rb_define_method(SwigClassSvn_client_info2_t.klass, "size=", _wrap_svn_client_info2_t_size_set, -1);
37923   rb_define_method(SwigClassSvn_client_info2_t.klass, "size", _wrap_svn_client_info2_t_size_get, -1);
37924   rb_define_method(SwigClassSvn_client_info2_t.klass, "last_changed_rev=", _wrap_svn_client_info2_t_last_changed_rev_set, -1);
37925   rb_define_method(SwigClassSvn_client_info2_t.klass, "last_changed_rev", _wrap_svn_client_info2_t_last_changed_rev_get, -1);
37926   rb_define_method(SwigClassSvn_client_info2_t.klass, "last_changed_date=", _wrap_svn_client_info2_t_last_changed_date_set, -1);
37927   rb_define_method(SwigClassSvn_client_info2_t.klass, "last_changed_date", _wrap_svn_client_info2_t_last_changed_date_get, -1);
37928   rb_define_method(SwigClassSvn_client_info2_t.klass, "last_changed_author=", _wrap_svn_client_info2_t_last_changed_author_set, -1);
37929   rb_define_method(SwigClassSvn_client_info2_t.klass, "last_changed_author", _wrap_svn_client_info2_t_last_changed_author_get, -1);
37930   rb_define_method(SwigClassSvn_client_info2_t.klass, "lock=", _wrap_svn_client_info2_t_lock_set, -1);
37931   rb_define_method(SwigClassSvn_client_info2_t.klass, "lock", _wrap_svn_client_info2_t_lock_get, -1);
37932   rb_define_method(SwigClassSvn_client_info2_t.klass, "wc_info=", _wrap_svn_client_info2_t_wc_info_set, -1);
37933   rb_define_method(SwigClassSvn_client_info2_t.klass, "wc_info", _wrap_svn_client_info2_t_wc_info_get, -1);
37934   SwigClassSvn_client_info2_t.mark = 0;
37935   SwigClassSvn_client_info2_t.destroy = (void (*)(void *)) free_svn_client_info2_t;
37936   SwigClassSvn_client_info2_t.trackObjects = 0;
37937   rb_define_module_function(mClient, "svn_client_info2_dup", _wrap_svn_client_info2_dup, -1);
37938   rb_define_module_function(mClient, "svn_client_info4", _wrap_svn_client_info4, -1);
37939   rb_define_module_function(mClient, "svn_client_info3", _wrap_svn_client_info3, -1);
37940   rb_define_module_function(mClient, "svn_client_info2", _wrap_svn_client_info2, -1);
37941   rb_define_module_function(mClient, "svn_client_info", _wrap_svn_client_info, -1);
37942   rb_define_module_function(mClient, "svn_client_get_wc_root", _wrap_svn_client_get_wc_root, -1);
37943   rb_define_module_function(mClient, "svn_client_min_max_revisions", _wrap_svn_client_min_max_revisions, -1);
37944   rb_define_module_function(mClient, "svn_client_patch", _wrap_svn_client_patch, -1);
37945   rb_define_module_function(mClient, "svn_client_url_from_path2", _wrap_svn_client_url_from_path2, -1);
37946   rb_define_module_function(mClient, "svn_client_url_from_path", _wrap_svn_client_url_from_path, -1);
37947   rb_define_module_function(mClient, "svn_client_get_repos_root", _wrap_svn_client_get_repos_root, -1);
37948   rb_define_module_function(mClient, "svn_client_root_url_from_path", _wrap_svn_client_root_url_from_path, -1);
37949   rb_define_module_function(mClient, "svn_client_uuid_from_url", _wrap_svn_client_uuid_from_url, -1);
37950   rb_define_module_function(mClient, "svn_client_uuid_from_path2", _wrap_svn_client_uuid_from_path2, -1);
37951   rb_define_module_function(mClient, "svn_client_uuid_from_path", _wrap_svn_client_uuid_from_path, -1);
37952   rb_define_module_function(mClient, "svn_client_open_ra_session2", _wrap_svn_client_open_ra_session2, -1);
37953   rb_define_module_function(mClient, "svn_client_open_ra_session", _wrap_svn_client_open_ra_session, -1);
37954   rb_define_module_function(mClient, "svn_proplist_invoke_receiver2", _wrap_svn_proplist_invoke_receiver2, -1);
37955   rb_define_module_function(mClient, "svn_proplist_invoke_receiver", _wrap_svn_proplist_invoke_receiver, -1);
37956   rb_define_module_function(mClient, "svn_client_invoke_get_commit_log3", _wrap_svn_client_invoke_get_commit_log3, -1);
37957   rb_define_module_function(mClient, "svn_client_invoke_get_commit_log2", _wrap_svn_client_invoke_get_commit_log2, -1);
37958   rb_define_module_function(mClient, "svn_client_invoke_get_commit_log", _wrap_svn_client_invoke_get_commit_log, -1);
37959   rb_define_module_function(mClient, "svn_client_invoke_blame_receiver4", _wrap_svn_client_invoke_blame_receiver4, -1);
37960   rb_define_module_function(mClient, "svn_client_invoke_blame_receiver3", _wrap_svn_client_invoke_blame_receiver3, -1);
37961   rb_define_module_function(mClient, "svn_client_invoke_blame_receiver2", _wrap_svn_client_invoke_blame_receiver2, -1);
37962   rb_define_module_function(mClient, "svn_client_invoke_blame_receiver", _wrap_svn_client_invoke_blame_receiver, -1);
37963   rb_define_module_function(mClient, "svn_client_invoke_diff_summarize_func", _wrap_svn_client_invoke_diff_summarize_func, -1);
37964   rb_define_module_function(mClient, "svn_client_invoke__layout_func", _wrap_svn_client_invoke__layout_func, -1);
37965   rb_define_module_function(mClient, "svn_client_invoke_import_filter_func", _wrap_svn_client_invoke_import_filter_func, -1);
37966   rb_define_module_function(mClient, "svn_client_invoke_status_func", _wrap_svn_client_invoke_status_func, -1);
37967   rb_define_module_function(mClient, "svn_client_invoke_conflict_walk_func", _wrap_svn_client_invoke_conflict_walk_func, -1);
37968   rb_define_module_function(mClient, "svn_client_invoke_list_func2", _wrap_svn_client_invoke_list_func2, -1);
37969   rb_define_module_function(mClient, "svn_client_invoke_list_func", _wrap_svn_client_invoke_list_func, -1);
37970   rb_define_module_function(mClient, "svn_info_invoke_receiver", _wrap_svn_info_invoke_receiver, -1);
37971   rb_define_module_function(mClient, "svn_client_invoke_info_receiver2", _wrap_svn_client_invoke_info_receiver2, -1);
37972   rb_define_module_function(mClient, "svn_client_invoke_patch_func", _wrap_svn_client_invoke_patch_func, -1);
37973   rb_define_const(mClient, "SWIG_SVN_INFO_SIZE_UNKNOWN", SWIG_From_unsigned_SS_long((unsigned long)(-1)));
37974   rb_define_module_function(mClient, "svn_client_set_log_msg_func3", _wrap_svn_client_set_log_msg_func3, -1);
37975   rb_define_module_function(mClient, "svn_client_set_notify_func2", _wrap_svn_client_set_notify_func2, -1);
37976   rb_define_module_function(mClient, "svn_client_set_cancel_func", _wrap_svn_client_set_cancel_func, -1);
37977   rb_define_module_function(mClient, "svn_client_set_config", _wrap_svn_client_set_config, -1);
37978   rb_define_module_function(mClient, "svn_client_get_config", _wrap_svn_client_get_config, -1);
37979 }
37980 
37981