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_hash_t swig_types[2]
1809 #define SWIGTYPE_p_apr_int32_t swig_types[3]
1810 #define SWIGTYPE_p_apr_int64_t swig_types[4]
1811 #define SWIGTYPE_p_apr_off_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_int_p_apr_pool_t_p_apr_hash_t__p_svn_error_t swig_types[9]
1816 #define SWIGTYPE_p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[10]
1817 #define SWIGTYPE_p_f_p_p_apr_file_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[11]
1818 #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[12]
1819 #define SWIGTYPE_p_f_p_p_void_p_q_const__char_p_q_const__svn_ra_callbacks_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t swig_types[13]
1820 #define SWIGTYPE_p_f_p_q_const__char_p_svn_dirent_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[14]
1821 #define SWIGTYPE_p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[15]
1822 #define SWIGTYPE_p_f_p_svn_location_segment_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[16]
1823 #define SWIGTYPE_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t swig_types[17]
1824 #define SWIGTYPE_p_f_p_void__p_svn_error_t swig_types[18]
1825 #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[19]
1826 #define SWIGTYPE_p_f_p_void_p_apr_pool_t__p_svn_error_t swig_types[20]
1827 #define SWIGTYPE_p_f_p_void_p_p_apr_hash_t_p_q_const__char_svn_revnum_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t swig_types[21]
1828 #define SWIGTYPE_p_f_p_void_p_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[22]
1829 #define SWIGTYPE_p_f_p_void_p_p_q_const__svn_delta_editor_t_p_p_void_p_q_const__char_svn_commit_callback_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[23]
1830 #define SWIGTYPE_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[24]
1831 #define SWIGTYPE_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[25]
1832 #define SWIGTYPE_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[26]
1833 #define SWIGTYPE_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[27]
1834 #define SWIGTYPE_p_f_p_void_p_p_svn_stream_t_p_q_const__svn_checksum_t_p_apr_pool_t__p_svn_error_t swig_types[28]
1835 #define SWIGTYPE_p_f_p_void_p_q_const__apr_array_header_t_svn_revnum_t_svn_revnum_t_svn_boolean_t_svn_boolean_t_svn_log_message_receiver_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[29]
1836 #define SWIGTYPE_p_f_p_void_p_q_const__char__int swig_types[30]
1837 #define SWIGTYPE_p_f_p_void_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_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__char_p_p_q_const__svn_string_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__char_p_q_const__svn_string_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__char_svn_revnum_t_svn_boolean_t_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__char_svn_revnum_t_svn_boolean_t_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__char_svn_revnum_t_svn_depth_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[37]
1844 #define SWIGTYPE_p_f_p_void_p_q_const__char_svn_boolean_t_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t swig_types[38]
1845 #define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t swig_types[39]
1846 #define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_svn_boolean_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t swig_types[40]
1847 #define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_p_apr_hash_t_p_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t swig_types[41]
1848 #define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_svn_node_kind_t_p_apr_pool_t__p_svn_error_t swig_types[42]
1849 #define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_svn_stream_t_p_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t swig_types[43]
1850 #define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[44]
1851 #define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[45]
1852 #define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_svn_depth_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[46]
1853 #define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_svn_revnum_t_svn_ra_file_rev_handler_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[47]
1854 #define SWIGTYPE_p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t swig_types[48]
1855 #define SWIGTYPE_p_f_p_void_p_svn_revnum_t__p_svn_error_t swig_types[49]
1856 #define SWIGTYPE_p_f_p_void_p_svn_revnum_t_apr_time_t_p_apr_pool_t__p_svn_error_t swig_types[50]
1857 #define SWIGTYPE_p_f_p_void_p_svn_revnum_t_p_apr_pool_t__p_svn_error_t swig_types[51]
1858 #define SWIGTYPE_p_f_p_void_p_void__void swig_types[52]
1859 #define SWIGTYPE_p_f_p_void_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t swig_types[53]
1860 #define SWIGTYPE_p_f_p_void_svn_revnum_t_p_q_const__char_p_p_svn_string_t_p_apr_pool_t__p_svn_error_t swig_types[54]
1861 #define SWIGTYPE_p_f_p_void_svn_revnum_t_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t swig_types[55]
1862 #define SWIGTYPE_p_f_svn_revnum_t_p_q_const__char_p_q_const__char_p_void__p_svn_error_t swig_types[56]
1863 #define SWIGTYPE_p_f_svn_revnum_t_p_void_p_p_q_const__svn_delta_editor_t_p_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t swig_types[57]
1864 #define SWIGTYPE_p_f_svn_revnum_t_p_void_p_q_const__svn_delta_editor_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t swig_types[58]
1865 #define SWIGTYPE_p_f_void__p_svn_version_t swig_types[59]
1866 #define SWIGTYPE_p_int swig_types[60]
1867 #define SWIGTYPE_p_long swig_types[61]
1868 #define SWIGTYPE_p_p_apr_array_header_t swig_types[62]
1869 #define SWIGTYPE_p_p_apr_file_t swig_types[63]
1870 #define SWIGTYPE_p_p_apr_hash_t swig_types[64]
1871 #define SWIGTYPE_p_p_char swig_types[65]
1872 #define SWIGTYPE_p_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t swig_types[66]
1873 #define SWIGTYPE_p_p_f_p_void_p_void__void swig_types[67]
1874 #define SWIGTYPE_p_p_svn_delta_editor_t swig_types[68]
1875 #define SWIGTYPE_p_p_svn_dirent_t swig_types[69]
1876 #define SWIGTYPE_p_p_svn_lock_t swig_types[70]
1877 #define SWIGTYPE_p_p_svn_ra_callbacks2_t swig_types[71]
1878 #define SWIGTYPE_p_p_svn_ra_plugin_t swig_types[72]
1879 #define SWIGTYPE_p_p_svn_ra_reporter2_t swig_types[73]
1880 #define SWIGTYPE_p_p_svn_ra_reporter3_t swig_types[74]
1881 #define SWIGTYPE_p_p_svn_ra_reporter_t swig_types[75]
1882 #define SWIGTYPE_p_p_svn_ra_session_t swig_types[76]
1883 #define SWIGTYPE_p_p_svn_stream_t swig_types[77]
1884 #define SWIGTYPE_p_p_svn_string_t swig_types[78]
1885 #define SWIGTYPE_p_p_svn_stringbuf_t swig_types[79]
1886 #define SWIGTYPE_p_p_void swig_types[80]
1887 #define SWIGTYPE_p_svn_auth_baton_t swig_types[81]
1888 #define SWIGTYPE_p_svn_auth_cred_simple_t swig_types[82]
1889 #define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t swig_types[83]
1890 #define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t swig_types[84]
1891 #define SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t swig_types[85]
1892 #define SWIGTYPE_p_svn_auth_cred_username_t swig_types[86]
1893 #define SWIGTYPE_p_svn_auth_iterstate_t swig_types[87]
1894 #define SWIGTYPE_p_svn_auth_provider_object_t swig_types[88]
1895 #define SWIGTYPE_p_svn_auth_provider_t swig_types[89]
1896 #define SWIGTYPE_p_svn_auth_ssl_server_cert_info_t swig_types[90]
1897 #define SWIGTYPE_p_svn_cache_config_t swig_types[91]
1898 #define SWIGTYPE_p_svn_checksum_ctx_t swig_types[92]
1899 #define SWIGTYPE_p_svn_checksum_kind_t swig_types[93]
1900 #define SWIGTYPE_p_svn_checksum_t swig_types[94]
1901 #define SWIGTYPE_p_svn_commit_info_t swig_types[95]
1902 #define SWIGTYPE_p_svn_config_t swig_types[96]
1903 #define SWIGTYPE_p_svn_delta_editor_t swig_types[97]
1904 #define SWIGTYPE_p_svn_delta_path_driver_state_t swig_types[98]
1905 #define SWIGTYPE_p_svn_depth_t swig_types[99]
1906 #define SWIGTYPE_p_svn_diff_binary_patch_t swig_types[100]
1907 #define SWIGTYPE_p_svn_diff_conflict_display_style_t swig_types[101]
1908 #define SWIGTYPE_p_svn_diff_datasource_e swig_types[102]
1909 #define SWIGTYPE_p_svn_diff_file_ignore_space_t swig_types[103]
1910 #define SWIGTYPE_p_svn_diff_file_options_t swig_types[104]
1911 #define SWIGTYPE_p_svn_diff_fns2_t swig_types[105]
1912 #define SWIGTYPE_p_svn_diff_fns_t swig_types[106]
1913 #define SWIGTYPE_p_svn_diff_hunk_t swig_types[107]
1914 #define SWIGTYPE_p_svn_diff_operation_kind_e swig_types[108]
1915 #define SWIGTYPE_p_svn_diff_output_fns_t swig_types[109]
1916 #define SWIGTYPE_p_svn_diff_t swig_types[110]
1917 #define SWIGTYPE_p_svn_dirent_t swig_types[111]
1918 #define SWIGTYPE_p_svn_errno_t swig_types[112]
1919 #define SWIGTYPE_p_svn_error_t swig_types[113]
1920 #define SWIGTYPE_p_svn_io_dirent2_t swig_types[114]
1921 #define SWIGTYPE_p_svn_io_dirent_t swig_types[115]
1922 #define SWIGTYPE_p_svn_io_file_del_t swig_types[116]
1923 #define SWIGTYPE_p_svn_location_segment_t swig_types[117]
1924 #define SWIGTYPE_p_svn_lock_t swig_types[118]
1925 #define SWIGTYPE_p_svn_log_changed_path2_t swig_types[119]
1926 #define SWIGTYPE_p_svn_log_changed_path_t swig_types[120]
1927 #define SWIGTYPE_p_svn_log_entry_t swig_types[121]
1928 #define SWIGTYPE_p_svn_merge_range_t swig_types[122]
1929 #define SWIGTYPE_p_svn_mergeinfo_inheritance_t swig_types[123]
1930 #define SWIGTYPE_p_svn_node_kind_t swig_types[124]
1931 #define SWIGTYPE_p_svn_opt_revision_range_t swig_types[125]
1932 #define SWIGTYPE_p_svn_opt_revision_t swig_types[126]
1933 #define SWIGTYPE_p_svn_opt_revision_value_t swig_types[127]
1934 #define SWIGTYPE_p_svn_opt_subcommand_desc2_t swig_types[128]
1935 #define SWIGTYPE_p_svn_opt_subcommand_desc3_t swig_types[129]
1936 #define SWIGTYPE_p_svn_opt_subcommand_desc_t swig_types[130]
1937 #define SWIGTYPE_p_svn_patch_file_t swig_types[131]
1938 #define SWIGTYPE_p_svn_patch_t swig_types[132]
1939 #define SWIGTYPE_p_svn_prop_inherited_item_t swig_types[133]
1940 #define SWIGTYPE_p_svn_prop_kind swig_types[134]
1941 #define SWIGTYPE_p_svn_prop_patch_t swig_types[135]
1942 #define SWIGTYPE_p_svn_ra_callbacks2_t swig_types[136]
1943 #define SWIGTYPE_p_svn_ra_callbacks_t swig_types[137]
1944 #define SWIGTYPE_p_svn_ra_plugin_t swig_types[138]
1945 #define SWIGTYPE_p_svn_ra_reporter2_t swig_types[139]
1946 #define SWIGTYPE_p_svn_ra_reporter3_t swig_types[140]
1947 #define SWIGTYPE_p_svn_ra_reporter_t swig_types[141]
1948 #define SWIGTYPE_p_svn_ra_session_t swig_types[142]
1949 #define SWIGTYPE_p_svn_stream_mark_t swig_types[143]
1950 #define SWIGTYPE_p_svn_stream_t swig_types[144]
1951 #define SWIGTYPE_p_svn_string_t swig_types[145]
1952 #define SWIGTYPE_p_svn_stringbuf_t swig_types[146]
1953 #define SWIGTYPE_p_svn_tristate_t swig_types[147]
1954 #define SWIGTYPE_p_svn_txdelta_op_t swig_types[148]
1955 #define SWIGTYPE_p_svn_txdelta_stream_t swig_types[149]
1956 #define SWIGTYPE_p_svn_txdelta_window_t swig_types[150]
1957 #define SWIGTYPE_p_svn_version_checklist_t swig_types[151]
1958 #define SWIGTYPE_p_svn_version_ext_linked_lib_t swig_types[152]
1959 #define SWIGTYPE_p_svn_version_ext_loaded_lib_t swig_types[153]
1960 #define SWIGTYPE_p_svn_version_extended_t swig_types[154]
1961 #define SWIGTYPE_p_svn_version_t swig_types[155]
1962 #define SWIGTYPE_p_unsigned_long swig_types[156]
1963 #define SWIGTYPE_p_void swig_types[157]
1964 static swig_type_info *swig_types[159];
1965 static swig_module_info swig_module = {swig_types, 158, 0, 0, 0, 0};
1966 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1967 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1968 
1969 /* -------- TYPES TABLE (END) -------- */
1970 
1971 #define SWIG_init    Init_ra
1972 #define SWIG_name    "Svn::Ext::Ra"
1973 
1974 static VALUE mRa;
1975 
1976 #define SWIG_RUBY_THREAD_BEGIN_BLOCK
1977 #define SWIG_RUBY_THREAD_END_BLOCK
1978 
1979 
1980 #define SWIGVERSION 0x030012
1981 #define SWIG_VERSION SWIGVERSION
1982 
1983 
1984 #define SWIG_as_voidptr(a) (void *)((const void *)(a))
1985 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
1986 
1987 
1988 #ifdef __cplusplus
1989 extern "C" {
1990 #endif
1991 
1992 /* Ruby 1.9 changed the file name of this header */
1993 #ifdef HAVE_RUBY_IO_H
1994 #include "ruby/io.h"
1995 #else
1996 #include "rubyio.h"
1997 #endif
1998 
1999 #ifdef __cplusplus
2000 }
2001 #endif
2002 
2003 
2004 #ifdef __cplusplus
2005 extern "C" {
2006 #endif
2007 #ifdef HAVE_SYS_TIME_H
2008 # include <sys/time.h>
2009 struct timeval rb_time_timeval(VALUE);
2010 #endif
2011 #ifdef __cplusplus
2012 }
2013 #endif
2014 
2015 
2016 #include "svn_time.h"
2017 #include "svn_pools.h"
2018 
2019 
2020 #include "swigutil_rb.h"
2021 
2022 
2023 static VALUE _global_svn_swig_rb_pool = Qnil;
2024 static apr_pool_t *_global_pool = NULL;
2025 static VALUE vresult = Qnil;
2026 static VALUE *_global_vresult_address = &vresult;
2027 
2028 
2029 #include "svn_ra.h"
2030 
2031 
2032 SWIGINTERN swig_type_info*
SWIG_pchar_descriptor(void)2033 SWIG_pchar_descriptor(void)
2034 {
2035   static int init = 0;
2036   static swig_type_info* info = 0;
2037   if (!init) {
2038     info = SWIG_TypeQuery("_p_char");
2039     init = 1;
2040   }
2041   return info;
2042 }
2043 
2044 
2045 SWIGINTERN int
SWIG_AsCharPtrAndSize(VALUE obj,char ** cptr,size_t * psize,int * alloc)2046 SWIG_AsCharPtrAndSize(VALUE obj, char** cptr, size_t* psize, int *alloc)
2047 {
2048   if (TYPE(obj) == T_STRING) {
2049     char *cstr = StringValuePtr(obj);
2050     size_t size = RSTRING_LEN(obj) + 1;
2051     if (cptr)  {
2052       if (alloc) {
2053 	if (*alloc == SWIG_NEWOBJ) {
2054 	  *cptr = (char *)memcpy(malloc((size)*sizeof(char)), cstr, sizeof(char)*(size));
2055 	} else {
2056 	  *cptr = cstr;
2057 	  *alloc = SWIG_OLDOBJ;
2058 	}
2059       }
2060     }
2061     if (psize) *psize = size;
2062     return SWIG_OK;
2063   } else {
2064     swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
2065     if (pchar_descriptor) {
2066       void* vptr = 0;
2067       if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
2068 	if (cptr) *cptr = (char *)vptr;
2069 	if (psize) *psize = vptr ? (strlen((char*)vptr) + 1) : 0;
2070 	if (alloc) *alloc = SWIG_OLDOBJ;
2071 	return SWIG_OK;
2072       }
2073     }
2074   }
2075   return SWIG_TypeError;
2076 }
2077 
2078 
2079 
2080 
2081 
2082 #include <limits.h>
2083 #if !defined(SWIG_NO_LLONG_MAX)
2084 # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
2085 #   define LLONG_MAX __LONG_LONG_MAX__
2086 #   define LLONG_MIN (-LLONG_MAX - 1LL)
2087 #   define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
2088 # endif
2089 #endif
2090 
2091 
2092   #define SWIG_From_long   LONG2NUM
2093 
2094 
2095 SWIGINTERN VALUE
SWIG_ruby_failed(void)2096 SWIG_ruby_failed(void)
2097 {
2098   return Qnil;
2099 }
2100 
2101 
2102 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
SWIG_AUX_NUM2LONG(VALUE * args)2103 SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
2104 {
2105   VALUE obj = args[0];
2106   VALUE type = TYPE(obj);
2107   long *res = (long *)(args[1]);
2108   *res = type == T_FIXNUM ? NUM2LONG(obj) : rb_big2long(obj);
2109   return obj;
2110 }
2111 /*@SWIG@*/
2112 
2113 SWIGINTERN int
SWIG_AsVal_long(VALUE obj,long * val)2114 SWIG_AsVal_long (VALUE obj, long* val)
2115 {
2116   VALUE type = TYPE(obj);
2117   if ((type == T_FIXNUM) || (type == T_BIGNUM)) {
2118     long v;
2119     VALUE a[2];
2120     a[0] = obj;
2121     a[1] = (VALUE)(&v);
2122     if (rb_rescue(RUBY_METHOD_FUNC(SWIG_AUX_NUM2LONG), (VALUE)a, RUBY_METHOD_FUNC(SWIG_ruby_failed), 0) != Qnil) {
2123       if (val) *val = v;
2124       return SWIG_OK;
2125     }
2126   }
2127   return SWIG_TypeError;
2128 }
2129 
2130 
2131 SWIGINTERN int
SWIG_AsVal_int(VALUE obj,int * val)2132 SWIG_AsVal_int (VALUE obj, int *val)
2133 {
2134   long v;
2135   int res = SWIG_AsVal_long (obj, &v);
2136   if (SWIG_IsOK(res)) {
2137     if ((v < INT_MIN || v > INT_MAX)) {
2138       return SWIG_OverflowError;
2139     } else {
2140       if (val) *val = (int)(v);
2141     }
2142   }
2143   return res;
2144 }
2145 
2146 
2147 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
SWIG_AUX_NUM2ULONG(VALUE * args)2148 SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
2149 {
2150   VALUE obj = args[0];
2151   VALUE type = TYPE(obj);
2152   unsigned long *res = (unsigned long *)(args[1]);
2153   *res = type == T_FIXNUM ? NUM2ULONG(obj) : rb_big2ulong(obj);
2154   return obj;
2155 }
2156 /*@SWIG@*/
2157 
2158 SWIGINTERN int
SWIG_AsVal_unsigned_SS_long(VALUE obj,unsigned long * val)2159 SWIG_AsVal_unsigned_SS_long (VALUE obj, unsigned long *val)
2160 {
2161   VALUE type = TYPE(obj);
2162   if ((type == T_FIXNUM) || (type == T_BIGNUM)) {
2163     unsigned long v;
2164     VALUE a[2];
2165     a[0] = obj;
2166     a[1] = (VALUE)(&v);
2167     if (rb_rescue(RUBY_METHOD_FUNC(SWIG_AUX_NUM2ULONG), (VALUE)a, RUBY_METHOD_FUNC(SWIG_ruby_failed), 0) != Qnil) {
2168       if (val) *val = v;
2169       return SWIG_OK;
2170     }
2171   }
2172   return SWIG_TypeError;
2173 }
2174 
2175 
2176 SWIGINTERNINLINE VALUE
SWIG_FromCharPtrAndSize(const char * carray,size_t size)2177 SWIG_FromCharPtrAndSize(const char* carray, size_t size)
2178 {
2179   if (carray) {
2180     if (size > LONG_MAX) {
2181       swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
2182       return pchar_descriptor ?
2183 	SWIG_NewPointerObj((char *)(carray), pchar_descriptor, 0) : Qnil;
2184     } else {
2185       return rb_str_new(carray, (long)(size));
2186     }
2187   } else {
2188     return Qnil;
2189   }
2190 }
2191 
2192 
2193 SWIGINTERNINLINE VALUE
SWIG_FromCharPtr(const char * cptr)2194 SWIG_FromCharPtr(const char *cptr)
2195 {
2196   return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
2197 }
2198 
2199 
2200 SWIGINTERNINLINE VALUE
SWIG_From_int(int value)2201 SWIG_From_int  (int value)
2202 {
2203   return SWIG_From_long  (value);
2204 }
2205 
2206 
svn_ra_reporter3_invoke_set_path(svn_ra_reporter3_t * _obj,void * report_baton,const char * path,svn_revnum_t revision,svn_depth_t depth,svn_boolean_t start_empty,const char * lock_token,apr_pool_t * pool)2207 static svn_error_t * svn_ra_reporter3_invoke_set_path(
2208   svn_ra_reporter3_t * _obj, void *report_baton, const char *path, svn_revnum_t revision, svn_depth_t depth, svn_boolean_t start_empty, const char *lock_token, apr_pool_t *pool) {
2209   return (_obj->set_path)(report_baton, path, revision, depth, start_empty, lock_token, pool);
2210 }
2211 
svn_ra_reporter3_invoke_delete_path(svn_ra_reporter3_t * _obj,void * report_baton,const char * path,apr_pool_t * pool)2212 static svn_error_t * svn_ra_reporter3_invoke_delete_path(
2213   svn_ra_reporter3_t * _obj, void *report_baton, const char *path, apr_pool_t *pool) {
2214   return (_obj->delete_path)(report_baton, path, pool);
2215 }
2216 
svn_ra_reporter3_invoke_link_path(svn_ra_reporter3_t * _obj,void * report_baton,const char * path,const char * url,svn_revnum_t revision,svn_depth_t depth,svn_boolean_t start_empty,const char * lock_token,apr_pool_t * pool)2217 static svn_error_t * svn_ra_reporter3_invoke_link_path(
2218   svn_ra_reporter3_t * _obj, void *report_baton, const char *path, const char *url, svn_revnum_t revision, svn_depth_t depth, svn_boolean_t start_empty, const char *lock_token, apr_pool_t *pool) {
2219   return (_obj->link_path)(report_baton, path, url, revision, depth, start_empty, lock_token, pool);
2220 }
2221 
svn_ra_reporter3_invoke_finish_report(svn_ra_reporter3_t * _obj,void * report_baton,apr_pool_t * pool)2222 static svn_error_t * svn_ra_reporter3_invoke_finish_report(
2223   svn_ra_reporter3_t * _obj, void *report_baton, apr_pool_t *pool) {
2224   return (_obj->finish_report)(report_baton, pool);
2225 }
2226 
svn_ra_reporter3_invoke_abort_report(svn_ra_reporter3_t * _obj,void * report_baton,apr_pool_t * pool)2227 static svn_error_t * svn_ra_reporter3_invoke_abort_report(
2228   svn_ra_reporter3_t * _obj, void *report_baton, apr_pool_t *pool) {
2229   return (_obj->abort_report)(report_baton, pool);
2230 }
2231 
svn_ra_reporter2_invoke_set_path(svn_ra_reporter2_t * _obj,void * report_baton,const char * path,svn_revnum_t revision,svn_boolean_t start_empty,const char * lock_token,apr_pool_t * pool)2232 static svn_error_t * svn_ra_reporter2_invoke_set_path(
2233   svn_ra_reporter2_t * _obj, void *report_baton, const char *path, svn_revnum_t revision, svn_boolean_t start_empty, const char *lock_token, apr_pool_t *pool) {
2234   return (_obj->set_path)(report_baton, path, revision, start_empty, lock_token, pool);
2235 }
2236 
svn_ra_reporter2_invoke_delete_path(svn_ra_reporter2_t * _obj,void * report_baton,const char * path,apr_pool_t * pool)2237 static svn_error_t * svn_ra_reporter2_invoke_delete_path(
2238   svn_ra_reporter2_t * _obj, void *report_baton, const char *path, apr_pool_t *pool) {
2239   return (_obj->delete_path)(report_baton, path, pool);
2240 }
2241 
svn_ra_reporter2_invoke_link_path(svn_ra_reporter2_t * _obj,void * report_baton,const char * path,const char * url,svn_revnum_t revision,svn_boolean_t start_empty,const char * lock_token,apr_pool_t * pool)2242 static svn_error_t * svn_ra_reporter2_invoke_link_path(
2243   svn_ra_reporter2_t * _obj, void *report_baton, const char *path, const char *url, svn_revnum_t revision, svn_boolean_t start_empty, const char *lock_token, apr_pool_t *pool) {
2244   return (_obj->link_path)(report_baton, path, url, revision, start_empty, lock_token, pool);
2245 }
2246 
svn_ra_reporter2_invoke_finish_report(svn_ra_reporter2_t * _obj,void * report_baton,apr_pool_t * pool)2247 static svn_error_t * svn_ra_reporter2_invoke_finish_report(
2248   svn_ra_reporter2_t * _obj, void *report_baton, apr_pool_t *pool) {
2249   return (_obj->finish_report)(report_baton, pool);
2250 }
2251 
svn_ra_reporter2_invoke_abort_report(svn_ra_reporter2_t * _obj,void * report_baton,apr_pool_t * pool)2252 static svn_error_t * svn_ra_reporter2_invoke_abort_report(
2253   svn_ra_reporter2_t * _obj, void *report_baton, apr_pool_t *pool) {
2254   return (_obj->abort_report)(report_baton, pool);
2255 }
2256 
svn_ra_reporter_invoke_set_path(svn_ra_reporter_t * _obj,void * report_baton,const char * path,svn_revnum_t revision,svn_boolean_t start_empty,apr_pool_t * pool)2257 static svn_error_t * svn_ra_reporter_invoke_set_path(
2258   svn_ra_reporter_t * _obj, void *report_baton, const char *path, svn_revnum_t revision, svn_boolean_t start_empty, apr_pool_t *pool) {
2259   return (_obj->set_path)(report_baton, path, revision, start_empty, pool);
2260 }
2261 
svn_ra_reporter_invoke_delete_path(svn_ra_reporter_t * _obj,void * report_baton,const char * path,apr_pool_t * pool)2262 static svn_error_t * svn_ra_reporter_invoke_delete_path(
2263   svn_ra_reporter_t * _obj, void *report_baton, const char *path, apr_pool_t *pool) {
2264   return (_obj->delete_path)(report_baton, path, pool);
2265 }
2266 
svn_ra_reporter_invoke_link_path(svn_ra_reporter_t * _obj,void * report_baton,const char * path,const char * url,svn_revnum_t revision,svn_boolean_t start_empty,apr_pool_t * pool)2267 static svn_error_t * svn_ra_reporter_invoke_link_path(
2268   svn_ra_reporter_t * _obj, void *report_baton, const char *path, const char *url, svn_revnum_t revision, svn_boolean_t start_empty, apr_pool_t *pool) {
2269   return (_obj->link_path)(report_baton, path, url, revision, start_empty, pool);
2270 }
2271 
svn_ra_reporter_invoke_finish_report(svn_ra_reporter_t * _obj,void * report_baton,apr_pool_t * pool)2272 static svn_error_t * svn_ra_reporter_invoke_finish_report(
2273   svn_ra_reporter_t * _obj, void *report_baton, apr_pool_t *pool) {
2274   return (_obj->finish_report)(report_baton, pool);
2275 }
2276 
svn_ra_reporter_invoke_abort_report(svn_ra_reporter_t * _obj,void * report_baton,apr_pool_t * pool)2277 static svn_error_t * svn_ra_reporter_invoke_abort_report(
2278   svn_ra_reporter_t * _obj, void *report_baton, apr_pool_t *pool) {
2279   return (_obj->abort_report)(report_baton, pool);
2280 }
2281 
svn_ra_callbacks2_invoke_open_tmp_file(svn_ra_callbacks2_t * _obj,apr_file_t ** fp,void * callback_baton,apr_pool_t * pool)2282 static svn_error_t * svn_ra_callbacks2_invoke_open_tmp_file(
2283   svn_ra_callbacks2_t * _obj, apr_file_t **fp, void *callback_baton, apr_pool_t *pool) {
2284   return (_obj->open_tmp_file)(fp, callback_baton, pool);
2285 }
2286 
svn_ra_callbacks_invoke_open_tmp_file(svn_ra_callbacks_t * _obj,apr_file_t ** fp,void * callback_baton,apr_pool_t * pool)2287 static svn_error_t * svn_ra_callbacks_invoke_open_tmp_file(
2288   svn_ra_callbacks_t * _obj, apr_file_t **fp, void *callback_baton, apr_pool_t *pool) {
2289   return (_obj->open_tmp_file)(fp, callback_baton, pool);
2290 }
2291 
svn_ra_plugin_invoke_open(svn_ra_plugin_t * _obj,void ** session_baton,const char * repos_URL,const svn_ra_callbacks_t * callbacks,void * callback_baton,apr_hash_t * config,apr_pool_t * pool)2292 static svn_error_t * svn_ra_plugin_invoke_open(
2293   svn_ra_plugin_t * _obj, void **session_baton, const char *repos_URL, const svn_ra_callbacks_t *callbacks, void *callback_baton, apr_hash_t *config, apr_pool_t *pool) {
2294   return (_obj->open)(session_baton, repos_URL, callbacks, callback_baton, config, pool);
2295 }
2296 
svn_ra_plugin_invoke_get_latest_revnum(svn_ra_plugin_t * _obj,void * session_baton,svn_revnum_t * latest_revnum,apr_pool_t * pool)2297 static svn_error_t * svn_ra_plugin_invoke_get_latest_revnum(
2298   svn_ra_plugin_t * _obj, void *session_baton, svn_revnum_t *latest_revnum, apr_pool_t *pool) {
2299   return (_obj->get_latest_revnum)(session_baton, latest_revnum, pool);
2300 }
2301 
svn_ra_plugin_invoke_get_dated_revision(svn_ra_plugin_t * _obj,void * session_baton,svn_revnum_t * revision,apr_time_t tm,apr_pool_t * pool)2302 static svn_error_t * svn_ra_plugin_invoke_get_dated_revision(
2303   svn_ra_plugin_t * _obj, void *session_baton, svn_revnum_t *revision, apr_time_t tm, apr_pool_t *pool) {
2304   return (_obj->get_dated_revision)(session_baton, revision, tm, pool);
2305 }
2306 
svn_ra_plugin_invoke_change_rev_prop(svn_ra_plugin_t * _obj,void * session_baton,svn_revnum_t rev,const char * name,const svn_string_t * value,apr_pool_t * pool)2307 static svn_error_t * svn_ra_plugin_invoke_change_rev_prop(
2308   svn_ra_plugin_t * _obj, void *session_baton, svn_revnum_t rev, const char *name, const svn_string_t *value, apr_pool_t *pool) {
2309   return (_obj->change_rev_prop)(session_baton, rev, name, value, pool);
2310 }
2311 
svn_ra_plugin_invoke_rev_proplist(svn_ra_plugin_t * _obj,void * session_baton,svn_revnum_t rev,apr_hash_t ** props,apr_pool_t * pool)2312 static svn_error_t * svn_ra_plugin_invoke_rev_proplist(
2313   svn_ra_plugin_t * _obj, void *session_baton, svn_revnum_t rev, apr_hash_t **props, apr_pool_t *pool) {
2314   return (_obj->rev_proplist)(session_baton, rev, props, pool);
2315 }
2316 
svn_ra_plugin_invoke_rev_prop(svn_ra_plugin_t * _obj,void * session_baton,svn_revnum_t rev,const char * name,svn_string_t ** value,apr_pool_t * pool)2317 static svn_error_t * svn_ra_plugin_invoke_rev_prop(
2318   svn_ra_plugin_t * _obj, void *session_baton, svn_revnum_t rev, const char *name, svn_string_t **value, apr_pool_t *pool) {
2319   return (_obj->rev_prop)(session_baton, rev, name, value, pool);
2320 }
2321 
svn_ra_plugin_invoke_get_commit_editor(svn_ra_plugin_t * _obj,void * session_baton,const svn_delta_editor_t ** editor,void ** edit_baton,const char * log_msg,svn_commit_callback_t callback,void * callback_baton,apr_pool_t * pool)2322 static svn_error_t * svn_ra_plugin_invoke_get_commit_editor(
2323   svn_ra_plugin_t * _obj, void *session_baton, const svn_delta_editor_t **editor, void **edit_baton, const char *log_msg, svn_commit_callback_t callback, void *callback_baton, apr_pool_t *pool) {
2324   return (_obj->get_commit_editor)(session_baton, editor, edit_baton, log_msg, callback, callback_baton, pool);
2325 }
2326 
svn_ra_plugin_invoke_get_file(svn_ra_plugin_t * _obj,void * session_baton,const char * path,svn_revnum_t revision,svn_stream_t * stream,svn_revnum_t * fetched_rev,apr_hash_t ** props,apr_pool_t * pool)2327 static svn_error_t * svn_ra_plugin_invoke_get_file(
2328   svn_ra_plugin_t * _obj, void *session_baton, const char *path, svn_revnum_t revision, svn_stream_t *stream, svn_revnum_t *fetched_rev, apr_hash_t **props, apr_pool_t *pool) {
2329   return (_obj->get_file)(session_baton, path, revision, stream, fetched_rev, props, pool);
2330 }
2331 
svn_ra_plugin_invoke_get_dir(svn_ra_plugin_t * _obj,void * session_baton,const char * path,svn_revnum_t revision,apr_hash_t ** dirents,svn_revnum_t * fetched_rev,apr_hash_t ** props,apr_pool_t * pool)2332 static svn_error_t * svn_ra_plugin_invoke_get_dir(
2333   svn_ra_plugin_t * _obj, void *session_baton, const char *path, svn_revnum_t revision, apr_hash_t **dirents, svn_revnum_t *fetched_rev, apr_hash_t **props, apr_pool_t *pool) {
2334   return (_obj->get_dir)(session_baton, path, revision, dirents, fetched_rev, props, pool);
2335 }
2336 
svn_ra_plugin_invoke_do_update(svn_ra_plugin_t * _obj,void * session_baton,const svn_ra_reporter_t ** reporter,void ** report_baton,svn_revnum_t revision_to_update_to,const char * update_target,svn_boolean_t recurse,const svn_delta_editor_t * update_editor,void * update_baton,apr_pool_t * pool)2337 static svn_error_t * svn_ra_plugin_invoke_do_update(
2338   svn_ra_plugin_t * _obj, void *session_baton, const svn_ra_reporter_t **reporter, void **report_baton, svn_revnum_t revision_to_update_to, const char *update_target, svn_boolean_t recurse, const svn_delta_editor_t *update_editor, void *update_baton, apr_pool_t *pool) {
2339   return (_obj->do_update)(session_baton, reporter, report_baton, revision_to_update_to, update_target, recurse, update_editor, update_baton, pool);
2340 }
2341 
svn_ra_plugin_invoke_do_switch(svn_ra_plugin_t * _obj,void * session_baton,const svn_ra_reporter_t ** reporter,void ** report_baton,svn_revnum_t revision_to_switch_to,const char * switch_target,svn_boolean_t recurse,const char * switch_url,const svn_delta_editor_t * switch_editor,void * switch_baton,apr_pool_t * pool)2342 static svn_error_t * svn_ra_plugin_invoke_do_switch(
2343   svn_ra_plugin_t * _obj, void *session_baton, const svn_ra_reporter_t **reporter, void **report_baton, svn_revnum_t revision_to_switch_to, const char *switch_target, svn_boolean_t recurse, const char *switch_url, const svn_delta_editor_t *switch_editor, void *switch_baton, apr_pool_t *pool) {
2344   return (_obj->do_switch)(session_baton, reporter, report_baton, revision_to_switch_to, switch_target, recurse, switch_url, switch_editor, switch_baton, pool);
2345 }
2346 
svn_ra_plugin_invoke_do_status(svn_ra_plugin_t * _obj,void * session_baton,const svn_ra_reporter_t ** reporter,void ** report_baton,const char * status_target,svn_revnum_t revision,svn_boolean_t recurse,const svn_delta_editor_t * status_editor,void * status_baton,apr_pool_t * pool)2347 static svn_error_t * svn_ra_plugin_invoke_do_status(
2348   svn_ra_plugin_t * _obj, void *session_baton, const svn_ra_reporter_t **reporter, void **report_baton, const char *status_target, svn_revnum_t revision, svn_boolean_t recurse, const svn_delta_editor_t *status_editor, void *status_baton, apr_pool_t *pool) {
2349   return (_obj->do_status)(session_baton, reporter, report_baton, status_target, revision, recurse, status_editor, status_baton, pool);
2350 }
2351 
svn_ra_plugin_invoke_do_diff(svn_ra_plugin_t * _obj,void * session_baton,const svn_ra_reporter_t ** reporter,void ** report_baton,svn_revnum_t revision,const char * diff_target,svn_boolean_t recurse,svn_boolean_t ignore_ancestry,const char * versus_url,const svn_delta_editor_t * diff_editor,void * diff_baton,apr_pool_t * pool)2352 static svn_error_t * svn_ra_plugin_invoke_do_diff(
2353   svn_ra_plugin_t * _obj, void *session_baton, const svn_ra_reporter_t **reporter, void **report_baton, svn_revnum_t revision, const char *diff_target, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, const char *versus_url, const svn_delta_editor_t *diff_editor, void *diff_baton, apr_pool_t *pool) {
2354   return (_obj->do_diff)(session_baton, reporter, report_baton, revision, diff_target, recurse, ignore_ancestry, versus_url, diff_editor, diff_baton, pool);
2355 }
2356 
svn_ra_plugin_invoke_get_log(svn_ra_plugin_t * _obj,void * session_baton,const apr_array_header_t * paths,svn_revnum_t start,svn_revnum_t end,svn_boolean_t discover_changed_paths,svn_boolean_t strict_node_history,svn_log_message_receiver_t receiver,void * receiver_baton,apr_pool_t * pool)2357 static svn_error_t * svn_ra_plugin_invoke_get_log(
2358   svn_ra_plugin_t * _obj, void *session_baton, const apr_array_header_t *paths, svn_revnum_t start, svn_revnum_t end, svn_boolean_t discover_changed_paths, svn_boolean_t strict_node_history, svn_log_message_receiver_t receiver, void *receiver_baton, apr_pool_t *pool) {
2359   return (_obj->get_log)(session_baton, paths, start, end, discover_changed_paths, strict_node_history, receiver, receiver_baton, pool);
2360 }
2361 
svn_ra_plugin_invoke_check_path(svn_ra_plugin_t * _obj,void * session_baton,const char * path,svn_revnum_t revision,svn_node_kind_t * kind,apr_pool_t * pool)2362 static svn_error_t * svn_ra_plugin_invoke_check_path(
2363   svn_ra_plugin_t * _obj, void *session_baton, const char *path, svn_revnum_t revision, svn_node_kind_t *kind, apr_pool_t *pool) {
2364   return (_obj->check_path)(session_baton, path, revision, kind, pool);
2365 }
2366 
svn_ra_plugin_invoke_get_uuid(svn_ra_plugin_t * _obj,void * session_baton,const char ** uuid,apr_pool_t * pool)2367 static svn_error_t * svn_ra_plugin_invoke_get_uuid(
2368   svn_ra_plugin_t * _obj, void *session_baton, const char **uuid, apr_pool_t *pool) {
2369   return (_obj->get_uuid)(session_baton, uuid, pool);
2370 }
2371 
svn_ra_plugin_invoke_get_repos_root(svn_ra_plugin_t * _obj,void * session_baton,const char ** url,apr_pool_t * pool)2372 static svn_error_t * svn_ra_plugin_invoke_get_repos_root(
2373   svn_ra_plugin_t * _obj, void *session_baton, const char **url, apr_pool_t *pool) {
2374   return (_obj->get_repos_root)(session_baton, url, pool);
2375 }
2376 
svn_ra_plugin_invoke_get_locations(svn_ra_plugin_t * _obj,void * session_baton,apr_hash_t ** locations,const char * path,svn_revnum_t peg_revision,apr_array_header_t * location_revisions,apr_pool_t * pool)2377 static svn_error_t * svn_ra_plugin_invoke_get_locations(
2378   svn_ra_plugin_t * _obj, void *session_baton, apr_hash_t **locations, const char *path, svn_revnum_t peg_revision, apr_array_header_t *location_revisions, apr_pool_t *pool) {
2379   return (_obj->get_locations)(session_baton, locations, path, peg_revision, location_revisions, pool);
2380 }
2381 
svn_ra_plugin_invoke_get_file_revs(svn_ra_plugin_t * _obj,void * session_baton,const char * path,svn_revnum_t start,svn_revnum_t end,svn_ra_file_rev_handler_t handler,void * handler_baton,apr_pool_t * pool)2382 static svn_error_t * svn_ra_plugin_invoke_get_file_revs(
2383   svn_ra_plugin_t * _obj, void *session_baton, const char *path, svn_revnum_t start, svn_revnum_t end, svn_ra_file_rev_handler_t handler, void *handler_baton, apr_pool_t *pool) {
2384   return (_obj->get_file_revs)(session_baton, path, start, end, handler, handler_baton, pool);
2385 }
2386 
svn_ra_plugin_invoke_get_version(svn_ra_plugin_t * _obj)2387 static const svn_version_t * svn_ra_plugin_invoke_get_version(
2388   svn_ra_plugin_t * _obj) {
2389   return (_obj->get_version)();
2390 }
2391 
svn_ra_invoke_get_wc_prop_func(svn_ra_get_wc_prop_func_t _obj,void * baton,const char * path,const char * name,const svn_string_t ** value,apr_pool_t * pool)2392 static svn_error_t * svn_ra_invoke_get_wc_prop_func(
2393   svn_ra_get_wc_prop_func_t _obj, void *baton, const char *path, const char *name, const svn_string_t **value, apr_pool_t *pool) {
2394   return _obj(baton, path, name, value, pool);
2395 }
2396 
svn_ra_invoke_set_wc_prop_func(svn_ra_set_wc_prop_func_t _obj,void * baton,const char * path,const char * name,const svn_string_t * value,apr_pool_t * pool)2397 static svn_error_t * svn_ra_invoke_set_wc_prop_func(
2398   svn_ra_set_wc_prop_func_t _obj, void *baton, const char *path, const char *name, const svn_string_t *value, apr_pool_t *pool) {
2399   return _obj(baton, path, name, value, pool);
2400 }
2401 
svn_ra_invoke_push_wc_prop_func(svn_ra_push_wc_prop_func_t _obj,void * baton,const char * path,const char * name,const svn_string_t * value,apr_pool_t * pool)2402 static svn_error_t * svn_ra_invoke_push_wc_prop_func(
2403   svn_ra_push_wc_prop_func_t _obj, void *baton, const char *path, const char *name, const svn_string_t *value, apr_pool_t *pool) {
2404   return _obj(baton, path, name, value, pool);
2405 }
2406 
svn_ra_invoke_invalidate_wc_props_func(svn_ra_invalidate_wc_props_func_t _obj,void * baton,const char * path,const char * name,apr_pool_t * pool)2407 static svn_error_t * svn_ra_invoke_invalidate_wc_props_func(
2408   svn_ra_invalidate_wc_props_func_t _obj, void *baton, const char *path, const char *name, apr_pool_t *pool) {
2409   return _obj(baton, path, name, pool);
2410 }
2411 
svn_ra_invoke_get_wc_contents_func(svn_ra_get_wc_contents_func_t _obj,void * baton,svn_stream_t ** contents,const svn_checksum_t * checksum,apr_pool_t * pool)2412 static svn_error_t * svn_ra_invoke_get_wc_contents_func(
2413   svn_ra_get_wc_contents_func_t _obj, void *baton, svn_stream_t **contents, const svn_checksum_t *checksum, apr_pool_t *pool) {
2414   return _obj(baton, contents, checksum, pool);
2415 }
2416 
svn_ra_invoke_get_latest_revnum_func(svn_ra_get_latest_revnum_func_t _obj,void * session_baton,svn_revnum_t * latest_revnum)2417 static svn_error_t * svn_ra_invoke_get_latest_revnum_func(
2418   svn_ra_get_latest_revnum_func_t _obj, void *session_baton, svn_revnum_t *latest_revnum) {
2419   return _obj(session_baton, latest_revnum);
2420 }
2421 
svn_ra_invoke_get_client_string_func(svn_ra_get_client_string_func_t _obj,void * baton,const char ** name,apr_pool_t * pool)2422 static svn_error_t * svn_ra_invoke_get_client_string_func(
2423   svn_ra_get_client_string_func_t _obj, void *baton, const char **name, apr_pool_t *pool) {
2424   return _obj(baton, name, pool);
2425 }
2426 
svn_ra_invoke_file_rev_handler(svn_ra_file_rev_handler_t _obj,void * baton,const char * path,svn_revnum_t rev,apr_hash_t * rev_props,svn_txdelta_window_handler_t * delta_handler,void ** delta_baton,apr_array_header_t * prop_diffs,apr_pool_t * pool)2427 static svn_error_t * svn_ra_invoke_file_rev_handler(
2428   svn_ra_file_rev_handler_t _obj, void *baton, const char *path, svn_revnum_t rev, apr_hash_t *rev_props, svn_txdelta_window_handler_t *delta_handler, void **delta_baton, apr_array_header_t *prop_diffs, apr_pool_t *pool) {
2429   return _obj(baton, path, rev, rev_props, delta_handler, delta_baton, prop_diffs, pool);
2430 }
2431 
svn_ra_invoke_lock_callback(svn_ra_lock_callback_t _obj,void * baton,const char * path,svn_boolean_t do_lock,const svn_lock_t * lock,svn_error_t * ra_err,apr_pool_t * pool)2432 static svn_error_t * svn_ra_invoke_lock_callback(
2433   svn_ra_lock_callback_t _obj, void *baton, const char *path, svn_boolean_t do_lock, const svn_lock_t *lock, svn_error_t *ra_err, apr_pool_t *pool) {
2434   return _obj(baton, path, do_lock, lock, ra_err, pool);
2435 }
2436 
svn_ra_invoke_progress_notify_func(svn_ra_progress_notify_func_t _obj,apr_off_t progress,apr_off_t total,void * baton,apr_pool_t * pool)2437 static void svn_ra_invoke_progress_notify_func(
2438   svn_ra_progress_notify_func_t _obj, apr_off_t progress, apr_off_t total, void *baton, apr_pool_t *pool) {
2439   _obj(progress, total, baton, pool);
2440 }
2441 
svn_ra_invoke_replay_revstart_callback(svn_ra_replay_revstart_callback_t _obj,svn_revnum_t revision,void * replay_baton,const svn_delta_editor_t ** editor,void ** edit_baton,apr_hash_t * rev_props,apr_pool_t * pool)2442 static svn_error_t * svn_ra_invoke_replay_revstart_callback(
2443   svn_ra_replay_revstart_callback_t _obj, svn_revnum_t revision, void *replay_baton, const svn_delta_editor_t **editor, void **edit_baton, apr_hash_t *rev_props, apr_pool_t *pool) {
2444   return _obj(revision, replay_baton, editor, edit_baton, rev_props, pool);
2445 }
2446 
svn_ra_invoke_replay_revfinish_callback(svn_ra_replay_revfinish_callback_t _obj,svn_revnum_t revision,void * replay_baton,const svn_delta_editor_t * editor,void * edit_baton,apr_hash_t * rev_props,apr_pool_t * pool)2447 static svn_error_t * svn_ra_invoke_replay_revfinish_callback(
2448   svn_ra_replay_revfinish_callback_t _obj, svn_revnum_t revision, void *replay_baton, const svn_delta_editor_t *editor, void *edit_baton, apr_hash_t *rev_props, apr_pool_t *pool) {
2449   return _obj(revision, replay_baton, editor, edit_baton, rev_props, pool);
2450 }
2451 
svn_ra_invoke_check_tunnel_func(svn_ra_check_tunnel_func_t _obj,void * tunnel_baton,const char * tunnel_name)2452 static svn_boolean_t svn_ra_invoke_check_tunnel_func(
2453   svn_ra_check_tunnel_func_t _obj, void *tunnel_baton, const char *tunnel_name) {
2454   return _obj(tunnel_baton, tunnel_name);
2455 }
2456 
svn_ra_invoke_close_tunnel_func(svn_ra_close_tunnel_func_t _obj,void * close_baton,void * tunnel_baton)2457 static void svn_ra_invoke_close_tunnel_func(
2458   svn_ra_close_tunnel_func_t _obj, void *close_baton, void *tunnel_baton) {
2459   _obj(close_baton, tunnel_baton);
2460 }
2461 
svn_ra_invoke_open_tunnel_func(svn_ra_open_tunnel_func_t _obj,svn_stream_t ** request,svn_stream_t ** response,svn_ra_close_tunnel_func_t * close_func,void ** close_baton,void * tunnel_baton,const char * tunnel_name,const char * user,const char * hostname,int port,svn_cancel_func_t cancel_func,void * cancel_baton,apr_pool_t * pool)2462 static svn_error_t * svn_ra_invoke_open_tunnel_func(
2463   svn_ra_open_tunnel_func_t _obj, svn_stream_t **request, svn_stream_t **response, svn_ra_close_tunnel_func_t *close_func, void **close_baton, void *tunnel_baton, const char *tunnel_name, const char *user, const char *hostname, int port, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *pool) {
2464   return _obj(request, response, close_func, close_baton, tunnel_baton, tunnel_name, user, hostname, port, cancel_func, cancel_baton, pool);
2465 }
2466 
svn_ra_invoke_init_func(svn_ra_init_func_t _obj,int abi_version,apr_pool_t * pool,apr_hash_t * hash)2467 static svn_error_t * svn_ra_invoke_init_func(
2468   svn_ra_init_func_t _obj, int abi_version, apr_pool_t *pool, apr_hash_t *hash) {
2469   return _obj(abi_version, pool, hash);
2470 }
2471 
2472 
2473 SWIGINTERN VALUE
_wrap_svn_ra_version(int argc,VALUE * argv,VALUE self)2474 _wrap_svn_ra_version(int argc, VALUE *argv, VALUE self) {
2475   svn_version_t *result = 0 ;
2476   VALUE vresult = Qnil;
2477 
2478   if ((argc < 0) || (argc > 0)) {
2479     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
2480   }
2481   {
2482     result = (svn_version_t *)svn_ra_version();
2483 
2484 
2485 
2486   }
2487   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_version_t, 0 |  0 );
2488   return vresult;
2489 fail:
2490   return Qnil;
2491 }
2492 
2493 
2494 static swig_class SwigClassSvn_ra_reporter3_t;
2495 
2496 SWIGINTERN VALUE
_wrap_svn_ra_reporter3_t_set_path_set(int argc,VALUE * argv,VALUE self)2497 _wrap_svn_ra_reporter3_t_set_path_set(int argc, VALUE *argv, VALUE self) {
2498   struct svn_ra_reporter3_t *arg1 = (struct svn_ra_reporter3_t *) 0 ;
2499   svn_error_t *(*arg2)(void *,char const *,svn_revnum_t,svn_depth_t,svn_boolean_t,char const *,apr_pool_t *) = (svn_error_t *(*)(void *,char const *,svn_revnum_t,svn_depth_t,svn_boolean_t,char const *,apr_pool_t *)) 0 ;
2500   void *argp1 = 0 ;
2501   int res1 = 0 ;
2502 
2503   if ((argc < 1) || (argc > 1)) {
2504     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2505   }
2506   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter3_t, 0 |  0 );
2507   if (!SWIG_IsOK(res1)) {
2508     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter3_t *","set_path", 1, self ));
2509   }
2510   arg1 = (struct svn_ra_reporter3_t *)(argp1);
2511   {
2512     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_svn_depth_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t);
2513     if (!SWIG_IsOK(res)) {
2514       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,char const *,svn_revnum_t,svn_depth_t,svn_boolean_t,char const *,apr_pool_t *)","set_path", 2, argv[0] ));
2515     }
2516   }
2517   if (arg1) (arg1)->set_path = arg2;
2518   return Qnil;
2519 fail:
2520   return Qnil;
2521 }
2522 
2523 
2524 SWIGINTERN VALUE
_wrap_svn_ra_reporter3_t_set_path_get(int argc,VALUE * argv,VALUE self)2525 _wrap_svn_ra_reporter3_t_set_path_get(int argc, VALUE *argv, VALUE self) {
2526   struct svn_ra_reporter3_t *arg1 = (struct svn_ra_reporter3_t *) 0 ;
2527   void *argp1 = 0 ;
2528   int res1 = 0 ;
2529   svn_error_t *(*result)(void *,char const *,svn_revnum_t,svn_depth_t,svn_boolean_t,char const *,apr_pool_t *) = 0 ;
2530   VALUE vresult = Qnil;
2531 
2532   if ((argc < 0) || (argc > 0)) {
2533     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
2534   }
2535   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter3_t, 0 |  0 );
2536   if (!SWIG_IsOK(res1)) {
2537     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter3_t *","set_path", 1, self ));
2538   }
2539   arg1 = (struct svn_ra_reporter3_t *)(argp1);
2540   result = (svn_error_t *(*)(void *,char const *,svn_revnum_t,svn_depth_t,svn_boolean_t,char const *,apr_pool_t *)) ((arg1)->set_path);
2541   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_svn_depth_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t);
2542   return vresult;
2543 fail:
2544   return Qnil;
2545 }
2546 
2547 
2548 SWIGINTERN VALUE
_wrap_svn_ra_reporter3_t_delete_path_set(int argc,VALUE * argv,VALUE self)2549 _wrap_svn_ra_reporter3_t_delete_path_set(int argc, VALUE *argv, VALUE self) {
2550   struct svn_ra_reporter3_t *arg1 = (struct svn_ra_reporter3_t *) 0 ;
2551   svn_error_t *(*arg2)(void *,char const *,apr_pool_t *) = (svn_error_t *(*)(void *,char const *,apr_pool_t *)) 0 ;
2552   void *argp1 = 0 ;
2553   int res1 = 0 ;
2554 
2555   if ((argc < 1) || (argc > 1)) {
2556     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2557   }
2558   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter3_t, 0 |  0 );
2559   if (!SWIG_IsOK(res1)) {
2560     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter3_t *","delete_path", 1, self ));
2561   }
2562   arg1 = (struct svn_ra_reporter3_t *)(argp1);
2563   {
2564     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char_p_apr_pool_t__p_svn_error_t);
2565     if (!SWIG_IsOK(res)) {
2566       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,char const *,apr_pool_t *)","delete_path", 2, argv[0] ));
2567     }
2568   }
2569   if (arg1) (arg1)->delete_path = arg2;
2570   return Qnil;
2571 fail:
2572   return Qnil;
2573 }
2574 
2575 
2576 SWIGINTERN VALUE
_wrap_svn_ra_reporter3_t_delete_path_get(int argc,VALUE * argv,VALUE self)2577 _wrap_svn_ra_reporter3_t_delete_path_get(int argc, VALUE *argv, VALUE self) {
2578   struct svn_ra_reporter3_t *arg1 = (struct svn_ra_reporter3_t *) 0 ;
2579   void *argp1 = 0 ;
2580   int res1 = 0 ;
2581   svn_error_t *(*result)(void *,char const *,apr_pool_t *) = 0 ;
2582   VALUE vresult = Qnil;
2583 
2584   if ((argc < 0) || (argc > 0)) {
2585     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
2586   }
2587   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter3_t, 0 |  0 );
2588   if (!SWIG_IsOK(res1)) {
2589     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter3_t *","delete_path", 1, self ));
2590   }
2591   arg1 = (struct svn_ra_reporter3_t *)(argp1);
2592   result = (svn_error_t *(*)(void *,char const *,apr_pool_t *)) ((arg1)->delete_path);
2593   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char_p_apr_pool_t__p_svn_error_t);
2594   return vresult;
2595 fail:
2596   return Qnil;
2597 }
2598 
2599 
2600 SWIGINTERN VALUE
_wrap_svn_ra_reporter3_t_link_path_set(int argc,VALUE * argv,VALUE self)2601 _wrap_svn_ra_reporter3_t_link_path_set(int argc, VALUE *argv, VALUE self) {
2602   struct svn_ra_reporter3_t *arg1 = (struct svn_ra_reporter3_t *) 0 ;
2603   svn_error_t *(*arg2)(void *,char const *,char const *,svn_revnum_t,svn_depth_t,svn_boolean_t,char const *,apr_pool_t *) = (svn_error_t *(*)(void *,char const *,char const *,svn_revnum_t,svn_depth_t,svn_boolean_t,char const *,apr_pool_t *)) 0 ;
2604   void *argp1 = 0 ;
2605   int res1 = 0 ;
2606 
2607   if ((argc < 1) || (argc > 1)) {
2608     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2609   }
2610   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter3_t, 0 |  0 );
2611   if (!SWIG_IsOK(res1)) {
2612     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter3_t *","link_path", 1, self ));
2613   }
2614   arg1 = (struct svn_ra_reporter3_t *)(argp1);
2615   {
2616     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_depth_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t);
2617     if (!SWIG_IsOK(res)) {
2618       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,char const *,char const *,svn_revnum_t,svn_depth_t,svn_boolean_t,char const *,apr_pool_t *)","link_path", 2, argv[0] ));
2619     }
2620   }
2621   if (arg1) (arg1)->link_path = arg2;
2622   return Qnil;
2623 fail:
2624   return Qnil;
2625 }
2626 
2627 
2628 SWIGINTERN VALUE
_wrap_svn_ra_reporter3_t_link_path_get(int argc,VALUE * argv,VALUE self)2629 _wrap_svn_ra_reporter3_t_link_path_get(int argc, VALUE *argv, VALUE self) {
2630   struct svn_ra_reporter3_t *arg1 = (struct svn_ra_reporter3_t *) 0 ;
2631   void *argp1 = 0 ;
2632   int res1 = 0 ;
2633   svn_error_t *(*result)(void *,char const *,char const *,svn_revnum_t,svn_depth_t,svn_boolean_t,char const *,apr_pool_t *) = 0 ;
2634   VALUE vresult = Qnil;
2635 
2636   if ((argc < 0) || (argc > 0)) {
2637     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
2638   }
2639   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter3_t, 0 |  0 );
2640   if (!SWIG_IsOK(res1)) {
2641     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter3_t *","link_path", 1, self ));
2642   }
2643   arg1 = (struct svn_ra_reporter3_t *)(argp1);
2644   result = (svn_error_t *(*)(void *,char const *,char const *,svn_revnum_t,svn_depth_t,svn_boolean_t,char const *,apr_pool_t *)) ((arg1)->link_path);
2645   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_depth_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t);
2646   return vresult;
2647 fail:
2648   return Qnil;
2649 }
2650 
2651 
2652 SWIGINTERN VALUE
_wrap_svn_ra_reporter3_t_finish_report_set(int argc,VALUE * argv,VALUE self)2653 _wrap_svn_ra_reporter3_t_finish_report_set(int argc, VALUE *argv, VALUE self) {
2654   struct svn_ra_reporter3_t *arg1 = (struct svn_ra_reporter3_t *) 0 ;
2655   svn_error_t *(*arg2)(void *,apr_pool_t *) = (svn_error_t *(*)(void *,apr_pool_t *)) 0 ;
2656   void *argp1 = 0 ;
2657   int res1 = 0 ;
2658 
2659   if ((argc < 1) || (argc > 1)) {
2660     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2661   }
2662   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter3_t, 0 |  0 );
2663   if (!SWIG_IsOK(res1)) {
2664     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter3_t *","finish_report", 1, self ));
2665   }
2666   arg1 = (struct svn_ra_reporter3_t *)(argp1);
2667   {
2668     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_apr_pool_t__p_svn_error_t);
2669     if (!SWIG_IsOK(res)) {
2670       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,apr_pool_t *)","finish_report", 2, argv[0] ));
2671     }
2672   }
2673   if (arg1) (arg1)->finish_report = arg2;
2674   return Qnil;
2675 fail:
2676   return Qnil;
2677 }
2678 
2679 
2680 SWIGINTERN VALUE
_wrap_svn_ra_reporter3_t_finish_report_get(int argc,VALUE * argv,VALUE self)2681 _wrap_svn_ra_reporter3_t_finish_report_get(int argc, VALUE *argv, VALUE self) {
2682   struct svn_ra_reporter3_t *arg1 = (struct svn_ra_reporter3_t *) 0 ;
2683   void *argp1 = 0 ;
2684   int res1 = 0 ;
2685   svn_error_t *(*result)(void *,apr_pool_t *) = 0 ;
2686   VALUE vresult = Qnil;
2687 
2688   if ((argc < 0) || (argc > 0)) {
2689     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
2690   }
2691   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter3_t, 0 |  0 );
2692   if (!SWIG_IsOK(res1)) {
2693     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter3_t *","finish_report", 1, self ));
2694   }
2695   arg1 = (struct svn_ra_reporter3_t *)(argp1);
2696   result = (svn_error_t *(*)(void *,apr_pool_t *)) ((arg1)->finish_report);
2697   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_apr_pool_t__p_svn_error_t);
2698   return vresult;
2699 fail:
2700   return Qnil;
2701 }
2702 
2703 
2704 SWIGINTERN VALUE
_wrap_svn_ra_reporter3_t_abort_report_set(int argc,VALUE * argv,VALUE self)2705 _wrap_svn_ra_reporter3_t_abort_report_set(int argc, VALUE *argv, VALUE self) {
2706   struct svn_ra_reporter3_t *arg1 = (struct svn_ra_reporter3_t *) 0 ;
2707   svn_error_t *(*arg2)(void *,apr_pool_t *) = (svn_error_t *(*)(void *,apr_pool_t *)) 0 ;
2708   void *argp1 = 0 ;
2709   int res1 = 0 ;
2710 
2711   if ((argc < 1) || (argc > 1)) {
2712     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2713   }
2714   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter3_t, 0 |  0 );
2715   if (!SWIG_IsOK(res1)) {
2716     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter3_t *","abort_report", 1, self ));
2717   }
2718   arg1 = (struct svn_ra_reporter3_t *)(argp1);
2719   {
2720     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_apr_pool_t__p_svn_error_t);
2721     if (!SWIG_IsOK(res)) {
2722       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,apr_pool_t *)","abort_report", 2, argv[0] ));
2723     }
2724   }
2725   if (arg1) (arg1)->abort_report = arg2;
2726   return Qnil;
2727 fail:
2728   return Qnil;
2729 }
2730 
2731 
2732 SWIGINTERN VALUE
_wrap_svn_ra_reporter3_t_abort_report_get(int argc,VALUE * argv,VALUE self)2733 _wrap_svn_ra_reporter3_t_abort_report_get(int argc, VALUE *argv, VALUE self) {
2734   struct svn_ra_reporter3_t *arg1 = (struct svn_ra_reporter3_t *) 0 ;
2735   void *argp1 = 0 ;
2736   int res1 = 0 ;
2737   svn_error_t *(*result)(void *,apr_pool_t *) = 0 ;
2738   VALUE vresult = Qnil;
2739 
2740   if ((argc < 0) || (argc > 0)) {
2741     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
2742   }
2743   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter3_t, 0 |  0 );
2744   if (!SWIG_IsOK(res1)) {
2745     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter3_t *","abort_report", 1, self ));
2746   }
2747   arg1 = (struct svn_ra_reporter3_t *)(argp1);
2748   result = (svn_error_t *(*)(void *,apr_pool_t *)) ((arg1)->abort_report);
2749   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_apr_pool_t__p_svn_error_t);
2750   return vresult;
2751 fail:
2752   return Qnil;
2753 }
2754 
2755 
2756 SWIGINTERN VALUE
2757 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_svn_ra_reporter3_t_allocate(VALUE self)2758 _wrap_svn_ra_reporter3_t_allocate(VALUE self)
2759 #else
2760 _wrap_svn_ra_reporter3_t_allocate(int argc, VALUE *argv, VALUE self)
2761 #endif
2762 {
2763   VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_ra_reporter3_t);
2764 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
2765   rb_obj_call_init(vresult, argc, argv);
2766 #endif
2767   return vresult;
2768 }
2769 
2770 
2771 SWIGINTERN VALUE
_wrap_new_svn_ra_reporter3_t(int argc,VALUE * argv,VALUE self)2772 _wrap_new_svn_ra_reporter3_t(int argc, VALUE *argv, VALUE self) {
2773   struct svn_ra_reporter3_t *result = 0 ;
2774 
2775   if ((argc < 0) || (argc > 0)) {
2776     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
2777   }
2778   {
2779     result = (struct svn_ra_reporter3_t *)calloc(1, sizeof(struct svn_ra_reporter3_t));
2780     DATA_PTR(self) = result;
2781 
2782 
2783 
2784   }
2785   return self;
2786 fail:
2787   return Qnil;
2788 }
2789 
2790 
2791 SWIGINTERN void
free_svn_ra_reporter3_t(void * self)2792 free_svn_ra_reporter3_t(void *self) {
2793     struct svn_ra_reporter3_t *arg1 = (struct svn_ra_reporter3_t *)self;
2794     free((char *) arg1);
2795 }
2796 
2797 static swig_class SwigClassSvn_ra_reporter2_t;
2798 
2799 SWIGINTERN VALUE
_wrap_svn_ra_reporter2_t_set_path_set(int argc,VALUE * argv,VALUE self)2800 _wrap_svn_ra_reporter2_t_set_path_set(int argc, VALUE *argv, VALUE self) {
2801   struct svn_ra_reporter2_t *arg1 = (struct svn_ra_reporter2_t *) 0 ;
2802   svn_error_t *(*arg2)(void *,char const *,svn_revnum_t,svn_boolean_t,char const *,apr_pool_t *) = (svn_error_t *(*)(void *,char const *,svn_revnum_t,svn_boolean_t,char const *,apr_pool_t *)) 0 ;
2803   void *argp1 = 0 ;
2804   int res1 = 0 ;
2805 
2806   if ((argc < 1) || (argc > 1)) {
2807     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2808   }
2809   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter2_t, 0 |  0 );
2810   if (!SWIG_IsOK(res1)) {
2811     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter2_t *","set_path", 1, self ));
2812   }
2813   arg1 = (struct svn_ra_reporter2_t *)(argp1);
2814   {
2815     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t);
2816     if (!SWIG_IsOK(res)) {
2817       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,char const *,svn_revnum_t,svn_boolean_t,char const *,apr_pool_t *)","set_path", 2, argv[0] ));
2818     }
2819   }
2820   if (arg1) (arg1)->set_path = arg2;
2821   return Qnil;
2822 fail:
2823   return Qnil;
2824 }
2825 
2826 
2827 SWIGINTERN VALUE
_wrap_svn_ra_reporter2_t_set_path_get(int argc,VALUE * argv,VALUE self)2828 _wrap_svn_ra_reporter2_t_set_path_get(int argc, VALUE *argv, VALUE self) {
2829   struct svn_ra_reporter2_t *arg1 = (struct svn_ra_reporter2_t *) 0 ;
2830   void *argp1 = 0 ;
2831   int res1 = 0 ;
2832   svn_error_t *(*result)(void *,char const *,svn_revnum_t,svn_boolean_t,char const *,apr_pool_t *) = 0 ;
2833   VALUE vresult = Qnil;
2834 
2835   if ((argc < 0) || (argc > 0)) {
2836     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
2837   }
2838   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter2_t, 0 |  0 );
2839   if (!SWIG_IsOK(res1)) {
2840     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter2_t *","set_path", 1, self ));
2841   }
2842   arg1 = (struct svn_ra_reporter2_t *)(argp1);
2843   result = (svn_error_t *(*)(void *,char const *,svn_revnum_t,svn_boolean_t,char const *,apr_pool_t *)) ((arg1)->set_path);
2844   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t);
2845   return vresult;
2846 fail:
2847   return Qnil;
2848 }
2849 
2850 
2851 SWIGINTERN VALUE
_wrap_svn_ra_reporter2_t_delete_path_set(int argc,VALUE * argv,VALUE self)2852 _wrap_svn_ra_reporter2_t_delete_path_set(int argc, VALUE *argv, VALUE self) {
2853   struct svn_ra_reporter2_t *arg1 = (struct svn_ra_reporter2_t *) 0 ;
2854   svn_error_t *(*arg2)(void *,char const *,apr_pool_t *) = (svn_error_t *(*)(void *,char const *,apr_pool_t *)) 0 ;
2855   void *argp1 = 0 ;
2856   int res1 = 0 ;
2857 
2858   if ((argc < 1) || (argc > 1)) {
2859     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2860   }
2861   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter2_t, 0 |  0 );
2862   if (!SWIG_IsOK(res1)) {
2863     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter2_t *","delete_path", 1, self ));
2864   }
2865   arg1 = (struct svn_ra_reporter2_t *)(argp1);
2866   {
2867     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char_p_apr_pool_t__p_svn_error_t);
2868     if (!SWIG_IsOK(res)) {
2869       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,char const *,apr_pool_t *)","delete_path", 2, argv[0] ));
2870     }
2871   }
2872   if (arg1) (arg1)->delete_path = arg2;
2873   return Qnil;
2874 fail:
2875   return Qnil;
2876 }
2877 
2878 
2879 SWIGINTERN VALUE
_wrap_svn_ra_reporter2_t_delete_path_get(int argc,VALUE * argv,VALUE self)2880 _wrap_svn_ra_reporter2_t_delete_path_get(int argc, VALUE *argv, VALUE self) {
2881   struct svn_ra_reporter2_t *arg1 = (struct svn_ra_reporter2_t *) 0 ;
2882   void *argp1 = 0 ;
2883   int res1 = 0 ;
2884   svn_error_t *(*result)(void *,char const *,apr_pool_t *) = 0 ;
2885   VALUE vresult = Qnil;
2886 
2887   if ((argc < 0) || (argc > 0)) {
2888     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
2889   }
2890   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter2_t, 0 |  0 );
2891   if (!SWIG_IsOK(res1)) {
2892     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter2_t *","delete_path", 1, self ));
2893   }
2894   arg1 = (struct svn_ra_reporter2_t *)(argp1);
2895   result = (svn_error_t *(*)(void *,char const *,apr_pool_t *)) ((arg1)->delete_path);
2896   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char_p_apr_pool_t__p_svn_error_t);
2897   return vresult;
2898 fail:
2899   return Qnil;
2900 }
2901 
2902 
2903 SWIGINTERN VALUE
_wrap_svn_ra_reporter2_t_link_path_set(int argc,VALUE * argv,VALUE self)2904 _wrap_svn_ra_reporter2_t_link_path_set(int argc, VALUE *argv, VALUE self) {
2905   struct svn_ra_reporter2_t *arg1 = (struct svn_ra_reporter2_t *) 0 ;
2906   svn_error_t *(*arg2)(void *,char const *,char const *,svn_revnum_t,svn_boolean_t,char const *,apr_pool_t *) = (svn_error_t *(*)(void *,char const *,char const *,svn_revnum_t,svn_boolean_t,char const *,apr_pool_t *)) 0 ;
2907   void *argp1 = 0 ;
2908   int res1 = 0 ;
2909 
2910   if ((argc < 1) || (argc > 1)) {
2911     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2912   }
2913   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter2_t, 0 |  0 );
2914   if (!SWIG_IsOK(res1)) {
2915     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter2_t *","link_path", 1, self ));
2916   }
2917   arg1 = (struct svn_ra_reporter2_t *)(argp1);
2918   {
2919     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t);
2920     if (!SWIG_IsOK(res)) {
2921       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,char const *,char const *,svn_revnum_t,svn_boolean_t,char const *,apr_pool_t *)","link_path", 2, argv[0] ));
2922     }
2923   }
2924   if (arg1) (arg1)->link_path = arg2;
2925   return Qnil;
2926 fail:
2927   return Qnil;
2928 }
2929 
2930 
2931 SWIGINTERN VALUE
_wrap_svn_ra_reporter2_t_link_path_get(int argc,VALUE * argv,VALUE self)2932 _wrap_svn_ra_reporter2_t_link_path_get(int argc, VALUE *argv, VALUE self) {
2933   struct svn_ra_reporter2_t *arg1 = (struct svn_ra_reporter2_t *) 0 ;
2934   void *argp1 = 0 ;
2935   int res1 = 0 ;
2936   svn_error_t *(*result)(void *,char const *,char const *,svn_revnum_t,svn_boolean_t,char const *,apr_pool_t *) = 0 ;
2937   VALUE vresult = Qnil;
2938 
2939   if ((argc < 0) || (argc > 0)) {
2940     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
2941   }
2942   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter2_t, 0 |  0 );
2943   if (!SWIG_IsOK(res1)) {
2944     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter2_t *","link_path", 1, self ));
2945   }
2946   arg1 = (struct svn_ra_reporter2_t *)(argp1);
2947   result = (svn_error_t *(*)(void *,char const *,char const *,svn_revnum_t,svn_boolean_t,char const *,apr_pool_t *)) ((arg1)->link_path);
2948   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t);
2949   return vresult;
2950 fail:
2951   return Qnil;
2952 }
2953 
2954 
2955 SWIGINTERN VALUE
_wrap_svn_ra_reporter2_t_finish_report_set(int argc,VALUE * argv,VALUE self)2956 _wrap_svn_ra_reporter2_t_finish_report_set(int argc, VALUE *argv, VALUE self) {
2957   struct svn_ra_reporter2_t *arg1 = (struct svn_ra_reporter2_t *) 0 ;
2958   svn_error_t *(*arg2)(void *,apr_pool_t *) = (svn_error_t *(*)(void *,apr_pool_t *)) 0 ;
2959   void *argp1 = 0 ;
2960   int res1 = 0 ;
2961 
2962   if ((argc < 1) || (argc > 1)) {
2963     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2964   }
2965   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter2_t, 0 |  0 );
2966   if (!SWIG_IsOK(res1)) {
2967     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter2_t *","finish_report", 1, self ));
2968   }
2969   arg1 = (struct svn_ra_reporter2_t *)(argp1);
2970   {
2971     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_apr_pool_t__p_svn_error_t);
2972     if (!SWIG_IsOK(res)) {
2973       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,apr_pool_t *)","finish_report", 2, argv[0] ));
2974     }
2975   }
2976   if (arg1) (arg1)->finish_report = arg2;
2977   return Qnil;
2978 fail:
2979   return Qnil;
2980 }
2981 
2982 
2983 SWIGINTERN VALUE
_wrap_svn_ra_reporter2_t_finish_report_get(int argc,VALUE * argv,VALUE self)2984 _wrap_svn_ra_reporter2_t_finish_report_get(int argc, VALUE *argv, VALUE self) {
2985   struct svn_ra_reporter2_t *arg1 = (struct svn_ra_reporter2_t *) 0 ;
2986   void *argp1 = 0 ;
2987   int res1 = 0 ;
2988   svn_error_t *(*result)(void *,apr_pool_t *) = 0 ;
2989   VALUE vresult = Qnil;
2990 
2991   if ((argc < 0) || (argc > 0)) {
2992     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
2993   }
2994   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter2_t, 0 |  0 );
2995   if (!SWIG_IsOK(res1)) {
2996     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter2_t *","finish_report", 1, self ));
2997   }
2998   arg1 = (struct svn_ra_reporter2_t *)(argp1);
2999   result = (svn_error_t *(*)(void *,apr_pool_t *)) ((arg1)->finish_report);
3000   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_apr_pool_t__p_svn_error_t);
3001   return vresult;
3002 fail:
3003   return Qnil;
3004 }
3005 
3006 
3007 SWIGINTERN VALUE
_wrap_svn_ra_reporter2_t_abort_report_set(int argc,VALUE * argv,VALUE self)3008 _wrap_svn_ra_reporter2_t_abort_report_set(int argc, VALUE *argv, VALUE self) {
3009   struct svn_ra_reporter2_t *arg1 = (struct svn_ra_reporter2_t *) 0 ;
3010   svn_error_t *(*arg2)(void *,apr_pool_t *) = (svn_error_t *(*)(void *,apr_pool_t *)) 0 ;
3011   void *argp1 = 0 ;
3012   int res1 = 0 ;
3013 
3014   if ((argc < 1) || (argc > 1)) {
3015     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3016   }
3017   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter2_t, 0 |  0 );
3018   if (!SWIG_IsOK(res1)) {
3019     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter2_t *","abort_report", 1, self ));
3020   }
3021   arg1 = (struct svn_ra_reporter2_t *)(argp1);
3022   {
3023     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_apr_pool_t__p_svn_error_t);
3024     if (!SWIG_IsOK(res)) {
3025       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,apr_pool_t *)","abort_report", 2, argv[0] ));
3026     }
3027   }
3028   if (arg1) (arg1)->abort_report = arg2;
3029   return Qnil;
3030 fail:
3031   return Qnil;
3032 }
3033 
3034 
3035 SWIGINTERN VALUE
_wrap_svn_ra_reporter2_t_abort_report_get(int argc,VALUE * argv,VALUE self)3036 _wrap_svn_ra_reporter2_t_abort_report_get(int argc, VALUE *argv, VALUE self) {
3037   struct svn_ra_reporter2_t *arg1 = (struct svn_ra_reporter2_t *) 0 ;
3038   void *argp1 = 0 ;
3039   int res1 = 0 ;
3040   svn_error_t *(*result)(void *,apr_pool_t *) = 0 ;
3041   VALUE vresult = Qnil;
3042 
3043   if ((argc < 0) || (argc > 0)) {
3044     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3045   }
3046   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter2_t, 0 |  0 );
3047   if (!SWIG_IsOK(res1)) {
3048     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter2_t *","abort_report", 1, self ));
3049   }
3050   arg1 = (struct svn_ra_reporter2_t *)(argp1);
3051   result = (svn_error_t *(*)(void *,apr_pool_t *)) ((arg1)->abort_report);
3052   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_apr_pool_t__p_svn_error_t);
3053   return vresult;
3054 fail:
3055   return Qnil;
3056 }
3057 
3058 
3059 SWIGINTERN VALUE
3060 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_svn_ra_reporter2_t_allocate(VALUE self)3061 _wrap_svn_ra_reporter2_t_allocate(VALUE self)
3062 #else
3063 _wrap_svn_ra_reporter2_t_allocate(int argc, VALUE *argv, VALUE self)
3064 #endif
3065 {
3066   VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_ra_reporter2_t);
3067 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
3068   rb_obj_call_init(vresult, argc, argv);
3069 #endif
3070   return vresult;
3071 }
3072 
3073 
3074 SWIGINTERN VALUE
_wrap_new_svn_ra_reporter2_t(int argc,VALUE * argv,VALUE self)3075 _wrap_new_svn_ra_reporter2_t(int argc, VALUE *argv, VALUE self) {
3076   struct svn_ra_reporter2_t *result = 0 ;
3077 
3078   if ((argc < 0) || (argc > 0)) {
3079     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3080   }
3081   {
3082     result = (struct svn_ra_reporter2_t *)calloc(1, sizeof(struct svn_ra_reporter2_t));
3083     DATA_PTR(self) = result;
3084 
3085 
3086 
3087   }
3088   return self;
3089 fail:
3090   return Qnil;
3091 }
3092 
3093 
3094 SWIGINTERN void
free_svn_ra_reporter2_t(void * self)3095 free_svn_ra_reporter2_t(void *self) {
3096     struct svn_ra_reporter2_t *arg1 = (struct svn_ra_reporter2_t *)self;
3097     free((char *) arg1);
3098 }
3099 
3100 static swig_class SwigClassSvn_ra_reporter_t;
3101 
3102 SWIGINTERN VALUE
_wrap_svn_ra_reporter_t_set_path_set(int argc,VALUE * argv,VALUE self)3103 _wrap_svn_ra_reporter_t_set_path_set(int argc, VALUE *argv, VALUE self) {
3104   struct svn_ra_reporter_t *arg1 = (struct svn_ra_reporter_t *) 0 ;
3105   svn_error_t *(*arg2)(void *,char const *,svn_revnum_t,svn_boolean_t,apr_pool_t *) = (svn_error_t *(*)(void *,char const *,svn_revnum_t,svn_boolean_t,apr_pool_t *)) 0 ;
3106   void *argp1 = 0 ;
3107   int res1 = 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_ra_reporter_t, 0 |  0 );
3113   if (!SWIG_IsOK(res1)) {
3114     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter_t *","set_path", 1, self ));
3115   }
3116   arg1 = (struct svn_ra_reporter_t *)(argp1);
3117   {
3118     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t);
3119     if (!SWIG_IsOK(res)) {
3120       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,char const *,svn_revnum_t,svn_boolean_t,apr_pool_t *)","set_path", 2, argv[0] ));
3121     }
3122   }
3123   if (arg1) (arg1)->set_path = arg2;
3124   return Qnil;
3125 fail:
3126   return Qnil;
3127 }
3128 
3129 
3130 SWIGINTERN VALUE
_wrap_svn_ra_reporter_t_set_path_get(int argc,VALUE * argv,VALUE self)3131 _wrap_svn_ra_reporter_t_set_path_get(int argc, VALUE *argv, VALUE self) {
3132   struct svn_ra_reporter_t *arg1 = (struct svn_ra_reporter_t *) 0 ;
3133   void *argp1 = 0 ;
3134   int res1 = 0 ;
3135   svn_error_t *(*result)(void *,char const *,svn_revnum_t,svn_boolean_t,apr_pool_t *) = 0 ;
3136   VALUE vresult = Qnil;
3137 
3138   if ((argc < 0) || (argc > 0)) {
3139     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3140   }
3141   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter_t, 0 |  0 );
3142   if (!SWIG_IsOK(res1)) {
3143     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter_t *","set_path", 1, self ));
3144   }
3145   arg1 = (struct svn_ra_reporter_t *)(argp1);
3146   result = (svn_error_t *(*)(void *,char const *,svn_revnum_t,svn_boolean_t,apr_pool_t *)) ((arg1)->set_path);
3147   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t);
3148   return vresult;
3149 fail:
3150   return Qnil;
3151 }
3152 
3153 
3154 SWIGINTERN VALUE
_wrap_svn_ra_reporter_t_delete_path_set(int argc,VALUE * argv,VALUE self)3155 _wrap_svn_ra_reporter_t_delete_path_set(int argc, VALUE *argv, VALUE self) {
3156   struct svn_ra_reporter_t *arg1 = (struct svn_ra_reporter_t *) 0 ;
3157   svn_error_t *(*arg2)(void *,char const *,apr_pool_t *) = (svn_error_t *(*)(void *,char const *,apr_pool_t *)) 0 ;
3158   void *argp1 = 0 ;
3159   int res1 = 0 ;
3160 
3161   if ((argc < 1) || (argc > 1)) {
3162     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3163   }
3164   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter_t, 0 |  0 );
3165   if (!SWIG_IsOK(res1)) {
3166     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter_t *","delete_path", 1, self ));
3167   }
3168   arg1 = (struct svn_ra_reporter_t *)(argp1);
3169   {
3170     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char_p_apr_pool_t__p_svn_error_t);
3171     if (!SWIG_IsOK(res)) {
3172       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,char const *,apr_pool_t *)","delete_path", 2, argv[0] ));
3173     }
3174   }
3175   if (arg1) (arg1)->delete_path = arg2;
3176   return Qnil;
3177 fail:
3178   return Qnil;
3179 }
3180 
3181 
3182 SWIGINTERN VALUE
_wrap_svn_ra_reporter_t_delete_path_get(int argc,VALUE * argv,VALUE self)3183 _wrap_svn_ra_reporter_t_delete_path_get(int argc, VALUE *argv, VALUE self) {
3184   struct svn_ra_reporter_t *arg1 = (struct svn_ra_reporter_t *) 0 ;
3185   void *argp1 = 0 ;
3186   int res1 = 0 ;
3187   svn_error_t *(*result)(void *,char const *,apr_pool_t *) = 0 ;
3188   VALUE vresult = Qnil;
3189 
3190   if ((argc < 0) || (argc > 0)) {
3191     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3192   }
3193   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter_t, 0 |  0 );
3194   if (!SWIG_IsOK(res1)) {
3195     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter_t *","delete_path", 1, self ));
3196   }
3197   arg1 = (struct svn_ra_reporter_t *)(argp1);
3198   result = (svn_error_t *(*)(void *,char const *,apr_pool_t *)) ((arg1)->delete_path);
3199   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char_p_apr_pool_t__p_svn_error_t);
3200   return vresult;
3201 fail:
3202   return Qnil;
3203 }
3204 
3205 
3206 SWIGINTERN VALUE
_wrap_svn_ra_reporter_t_link_path_set(int argc,VALUE * argv,VALUE self)3207 _wrap_svn_ra_reporter_t_link_path_set(int argc, VALUE *argv, VALUE self) {
3208   struct svn_ra_reporter_t *arg1 = (struct svn_ra_reporter_t *) 0 ;
3209   svn_error_t *(*arg2)(void *,char const *,char const *,svn_revnum_t,svn_boolean_t,apr_pool_t *) = (svn_error_t *(*)(void *,char const *,char const *,svn_revnum_t,svn_boolean_t,apr_pool_t *)) 0 ;
3210   void *argp1 = 0 ;
3211   int res1 = 0 ;
3212 
3213   if ((argc < 1) || (argc > 1)) {
3214     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3215   }
3216   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter_t, 0 |  0 );
3217   if (!SWIG_IsOK(res1)) {
3218     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter_t *","link_path", 1, self ));
3219   }
3220   arg1 = (struct svn_ra_reporter_t *)(argp1);
3221   {
3222     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t);
3223     if (!SWIG_IsOK(res)) {
3224       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,char const *,char const *,svn_revnum_t,svn_boolean_t,apr_pool_t *)","link_path", 2, argv[0] ));
3225     }
3226   }
3227   if (arg1) (arg1)->link_path = arg2;
3228   return Qnil;
3229 fail:
3230   return Qnil;
3231 }
3232 
3233 
3234 SWIGINTERN VALUE
_wrap_svn_ra_reporter_t_link_path_get(int argc,VALUE * argv,VALUE self)3235 _wrap_svn_ra_reporter_t_link_path_get(int argc, VALUE *argv, VALUE self) {
3236   struct svn_ra_reporter_t *arg1 = (struct svn_ra_reporter_t *) 0 ;
3237   void *argp1 = 0 ;
3238   int res1 = 0 ;
3239   svn_error_t *(*result)(void *,char const *,char const *,svn_revnum_t,svn_boolean_t,apr_pool_t *) = 0 ;
3240   VALUE vresult = Qnil;
3241 
3242   if ((argc < 0) || (argc > 0)) {
3243     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3244   }
3245   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter_t, 0 |  0 );
3246   if (!SWIG_IsOK(res1)) {
3247     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter_t *","link_path", 1, self ));
3248   }
3249   arg1 = (struct svn_ra_reporter_t *)(argp1);
3250   result = (svn_error_t *(*)(void *,char const *,char const *,svn_revnum_t,svn_boolean_t,apr_pool_t *)) ((arg1)->link_path);
3251   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t);
3252   return vresult;
3253 fail:
3254   return Qnil;
3255 }
3256 
3257 
3258 SWIGINTERN VALUE
_wrap_svn_ra_reporter_t_finish_report_set(int argc,VALUE * argv,VALUE self)3259 _wrap_svn_ra_reporter_t_finish_report_set(int argc, VALUE *argv, VALUE self) {
3260   struct svn_ra_reporter_t *arg1 = (struct svn_ra_reporter_t *) 0 ;
3261   svn_error_t *(*arg2)(void *,apr_pool_t *) = (svn_error_t *(*)(void *,apr_pool_t *)) 0 ;
3262   void *argp1 = 0 ;
3263   int res1 = 0 ;
3264 
3265   if ((argc < 1) || (argc > 1)) {
3266     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3267   }
3268   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter_t, 0 |  0 );
3269   if (!SWIG_IsOK(res1)) {
3270     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter_t *","finish_report", 1, self ));
3271   }
3272   arg1 = (struct svn_ra_reporter_t *)(argp1);
3273   {
3274     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_apr_pool_t__p_svn_error_t);
3275     if (!SWIG_IsOK(res)) {
3276       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,apr_pool_t *)","finish_report", 2, argv[0] ));
3277     }
3278   }
3279   if (arg1) (arg1)->finish_report = arg2;
3280   return Qnil;
3281 fail:
3282   return Qnil;
3283 }
3284 
3285 
3286 SWIGINTERN VALUE
_wrap_svn_ra_reporter_t_finish_report_get(int argc,VALUE * argv,VALUE self)3287 _wrap_svn_ra_reporter_t_finish_report_get(int argc, VALUE *argv, VALUE self) {
3288   struct svn_ra_reporter_t *arg1 = (struct svn_ra_reporter_t *) 0 ;
3289   void *argp1 = 0 ;
3290   int res1 = 0 ;
3291   svn_error_t *(*result)(void *,apr_pool_t *) = 0 ;
3292   VALUE vresult = Qnil;
3293 
3294   if ((argc < 0) || (argc > 0)) {
3295     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3296   }
3297   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter_t, 0 |  0 );
3298   if (!SWIG_IsOK(res1)) {
3299     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter_t *","finish_report", 1, self ));
3300   }
3301   arg1 = (struct svn_ra_reporter_t *)(argp1);
3302   result = (svn_error_t *(*)(void *,apr_pool_t *)) ((arg1)->finish_report);
3303   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_apr_pool_t__p_svn_error_t);
3304   return vresult;
3305 fail:
3306   return Qnil;
3307 }
3308 
3309 
3310 SWIGINTERN VALUE
_wrap_svn_ra_reporter_t_abort_report_set(int argc,VALUE * argv,VALUE self)3311 _wrap_svn_ra_reporter_t_abort_report_set(int argc, VALUE *argv, VALUE self) {
3312   struct svn_ra_reporter_t *arg1 = (struct svn_ra_reporter_t *) 0 ;
3313   svn_error_t *(*arg2)(void *,apr_pool_t *) = (svn_error_t *(*)(void *,apr_pool_t *)) 0 ;
3314   void *argp1 = 0 ;
3315   int res1 = 0 ;
3316 
3317   if ((argc < 1) || (argc > 1)) {
3318     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3319   }
3320   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter_t, 0 |  0 );
3321   if (!SWIG_IsOK(res1)) {
3322     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter_t *","abort_report", 1, self ));
3323   }
3324   arg1 = (struct svn_ra_reporter_t *)(argp1);
3325   {
3326     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_apr_pool_t__p_svn_error_t);
3327     if (!SWIG_IsOK(res)) {
3328       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,apr_pool_t *)","abort_report", 2, argv[0] ));
3329     }
3330   }
3331   if (arg1) (arg1)->abort_report = arg2;
3332   return Qnil;
3333 fail:
3334   return Qnil;
3335 }
3336 
3337 
3338 SWIGINTERN VALUE
_wrap_svn_ra_reporter_t_abort_report_get(int argc,VALUE * argv,VALUE self)3339 _wrap_svn_ra_reporter_t_abort_report_get(int argc, VALUE *argv, VALUE self) {
3340   struct svn_ra_reporter_t *arg1 = (struct svn_ra_reporter_t *) 0 ;
3341   void *argp1 = 0 ;
3342   int res1 = 0 ;
3343   svn_error_t *(*result)(void *,apr_pool_t *) = 0 ;
3344   VALUE vresult = Qnil;
3345 
3346   if ((argc < 0) || (argc > 0)) {
3347     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3348   }
3349   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_reporter_t, 0 |  0 );
3350   if (!SWIG_IsOK(res1)) {
3351     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_reporter_t *","abort_report", 1, self ));
3352   }
3353   arg1 = (struct svn_ra_reporter_t *)(argp1);
3354   result = (svn_error_t *(*)(void *,apr_pool_t *)) ((arg1)->abort_report);
3355   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_apr_pool_t__p_svn_error_t);
3356   return vresult;
3357 fail:
3358   return Qnil;
3359 }
3360 
3361 
3362 SWIGINTERN VALUE
3363 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_svn_ra_reporter_t_allocate(VALUE self)3364 _wrap_svn_ra_reporter_t_allocate(VALUE self)
3365 #else
3366 _wrap_svn_ra_reporter_t_allocate(int argc, VALUE *argv, VALUE self)
3367 #endif
3368 {
3369   VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_ra_reporter_t);
3370 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
3371   rb_obj_call_init(vresult, argc, argv);
3372 #endif
3373   return vresult;
3374 }
3375 
3376 
3377 SWIGINTERN VALUE
_wrap_new_svn_ra_reporter_t(int argc,VALUE * argv,VALUE self)3378 _wrap_new_svn_ra_reporter_t(int argc, VALUE *argv, VALUE self) {
3379   struct svn_ra_reporter_t *result = 0 ;
3380 
3381   if ((argc < 0) || (argc > 0)) {
3382     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3383   }
3384   {
3385     result = (struct svn_ra_reporter_t *)calloc(1, sizeof(struct svn_ra_reporter_t));
3386     DATA_PTR(self) = result;
3387 
3388 
3389 
3390   }
3391   return self;
3392 fail:
3393   return Qnil;
3394 }
3395 
3396 
3397 SWIGINTERN void
free_svn_ra_reporter_t(void * self)3398 free_svn_ra_reporter_t(void *self) {
3399     struct svn_ra_reporter_t *arg1 = (struct svn_ra_reporter_t *)self;
3400     free((char *) arg1);
3401 }
3402 
3403 static swig_class SwigClassSvn_ra_callbacks2_t;
3404 
3405 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_open_tmp_file_set(int argc,VALUE * argv,VALUE self)3406 _wrap_svn_ra_callbacks2_t_open_tmp_file_set(int argc, VALUE *argv, VALUE self) {
3407   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
3408   svn_error_t *(*arg2)(apr_file_t **,void *,apr_pool_t *) = (svn_error_t *(*)(apr_file_t **,void *,apr_pool_t *)) 0 ;
3409   void *argp1 = 0 ;
3410   int res1 = 0 ;
3411 
3412   if ((argc < 1) || (argc > 1)) {
3413     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3414   }
3415   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
3416   if (!SWIG_IsOK(res1)) {
3417     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","open_tmp_file", 1, self ));
3418   }
3419   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
3420   {
3421     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_p_apr_file_t_p_void_p_apr_pool_t__p_svn_error_t);
3422     if (!SWIG_IsOK(res)) {
3423       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(apr_file_t **,void *,apr_pool_t *)","open_tmp_file", 2, argv[0] ));
3424     }
3425   }
3426   if (arg1) (arg1)->open_tmp_file = arg2;
3427   return Qnil;
3428 fail:
3429   return Qnil;
3430 }
3431 
3432 
3433 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_open_tmp_file_get(int argc,VALUE * argv,VALUE self)3434 _wrap_svn_ra_callbacks2_t_open_tmp_file_get(int argc, VALUE *argv, VALUE self) {
3435   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
3436   void *argp1 = 0 ;
3437   int res1 = 0 ;
3438   svn_error_t *(*result)(apr_file_t **,void *,apr_pool_t *) = 0 ;
3439   VALUE vresult = Qnil;
3440 
3441   if ((argc < 0) || (argc > 0)) {
3442     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3443   }
3444   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
3445   if (!SWIG_IsOK(res1)) {
3446     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","open_tmp_file", 1, self ));
3447   }
3448   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
3449   result = (svn_error_t *(*)(apr_file_t **,void *,apr_pool_t *)) ((arg1)->open_tmp_file);
3450   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_p_apr_file_t_p_void_p_apr_pool_t__p_svn_error_t);
3451   return vresult;
3452 fail:
3453   return Qnil;
3454 }
3455 
3456 
3457 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_auth_baton_set(int argc,VALUE * argv,VALUE self)3458 _wrap_svn_ra_callbacks2_t_auth_baton_set(int argc, VALUE *argv, VALUE self) {
3459   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
3460   svn_auth_baton_t *arg2 = (svn_auth_baton_t *) 0 ;
3461   void *argp1 = 0 ;
3462   int res1 = 0 ;
3463   void *argp2 = 0 ;
3464   int res2 = 0 ;
3465 
3466   if ((argc < 1) || (argc > 1)) {
3467     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3468   }
3469   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
3470   if (!SWIG_IsOK(res1)) {
3471     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","auth_baton", 1, self ));
3472   }
3473   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
3474   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_auth_baton_t, SWIG_POINTER_DISOWN |  0 );
3475   if (!SWIG_IsOK(res2)) {
3476     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_auth_baton_t *","auth_baton", 2, argv[0] ));
3477   }
3478   arg2 = (svn_auth_baton_t *)(argp2);
3479   if (arg1) (arg1)->auth_baton = arg2;
3480   return Qnil;
3481 fail:
3482   return Qnil;
3483 }
3484 
3485 
3486 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_auth_baton_get(int argc,VALUE * argv,VALUE self)3487 _wrap_svn_ra_callbacks2_t_auth_baton_get(int argc, VALUE *argv, VALUE self) {
3488   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
3489   void *argp1 = 0 ;
3490   int res1 = 0 ;
3491   svn_auth_baton_t *result = 0 ;
3492   VALUE vresult = Qnil;
3493 
3494   if ((argc < 0) || (argc > 0)) {
3495     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3496   }
3497   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
3498   if (!SWIG_IsOK(res1)) {
3499     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","auth_baton", 1, self ));
3500   }
3501   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
3502   result = (svn_auth_baton_t *) ((arg1)->auth_baton);
3503   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_auth_baton_t, 0 |  0 );
3504   return vresult;
3505 fail:
3506   return Qnil;
3507 }
3508 
3509 
3510 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_get_wc_prop_set(int argc,VALUE * argv,VALUE self)3511 _wrap_svn_ra_callbacks2_t_get_wc_prop_set(int argc, VALUE *argv, VALUE self) {
3512   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
3513   svn_ra_get_wc_prop_func_t arg2 = (svn_ra_get_wc_prop_func_t) 0 ;
3514   void *argp1 = 0 ;
3515   int res1 = 0 ;
3516 
3517   if ((argc < 1) || (argc > 1)) {
3518     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3519   }
3520   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
3521   if (!SWIG_IsOK(res1)) {
3522     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","get_wc_prop", 1, self ));
3523   }
3524   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
3525   {
3526     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t);
3527     if (!SWIG_IsOK(res)) {
3528       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_get_wc_prop_func_t","get_wc_prop", 2, argv[0] ));
3529     }
3530   }
3531   if (arg1) (arg1)->get_wc_prop = arg2;
3532   return Qnil;
3533 fail:
3534   return Qnil;
3535 }
3536 
3537 
3538 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_get_wc_prop_get(int argc,VALUE * argv,VALUE self)3539 _wrap_svn_ra_callbacks2_t_get_wc_prop_get(int argc, VALUE *argv, VALUE self) {
3540   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
3541   void *argp1 = 0 ;
3542   int res1 = 0 ;
3543   svn_ra_get_wc_prop_func_t result;
3544   VALUE vresult = Qnil;
3545 
3546   if ((argc < 0) || (argc > 0)) {
3547     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3548   }
3549   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
3550   if (!SWIG_IsOK(res1)) {
3551     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","get_wc_prop", 1, self ));
3552   }
3553   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
3554   result = (svn_ra_get_wc_prop_func_t) ((arg1)->get_wc_prop);
3555   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t);
3556   return vresult;
3557 fail:
3558   return Qnil;
3559 }
3560 
3561 
3562 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_set_wc_prop_set(int argc,VALUE * argv,VALUE self)3563 _wrap_svn_ra_callbacks2_t_set_wc_prop_set(int argc, VALUE *argv, VALUE self) {
3564   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
3565   svn_ra_set_wc_prop_func_t arg2 = (svn_ra_set_wc_prop_func_t) 0 ;
3566   void *argp1 = 0 ;
3567   int res1 = 0 ;
3568 
3569   if ((argc < 1) || (argc > 1)) {
3570     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3571   }
3572   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
3573   if (!SWIG_IsOK(res1)) {
3574     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","set_wc_prop", 1, self ));
3575   }
3576   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
3577   {
3578     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t);
3579     if (!SWIG_IsOK(res)) {
3580       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_set_wc_prop_func_t","set_wc_prop", 2, argv[0] ));
3581     }
3582   }
3583   if (arg1) (arg1)->set_wc_prop = arg2;
3584   return Qnil;
3585 fail:
3586   return Qnil;
3587 }
3588 
3589 
3590 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_set_wc_prop_get(int argc,VALUE * argv,VALUE self)3591 _wrap_svn_ra_callbacks2_t_set_wc_prop_get(int argc, VALUE *argv, VALUE self) {
3592   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
3593   void *argp1 = 0 ;
3594   int res1 = 0 ;
3595   svn_ra_set_wc_prop_func_t result;
3596   VALUE vresult = Qnil;
3597 
3598   if ((argc < 0) || (argc > 0)) {
3599     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3600   }
3601   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
3602   if (!SWIG_IsOK(res1)) {
3603     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","set_wc_prop", 1, self ));
3604   }
3605   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
3606   result = (svn_ra_set_wc_prop_func_t) ((arg1)->set_wc_prop);
3607   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t);
3608   return vresult;
3609 fail:
3610   return Qnil;
3611 }
3612 
3613 
3614 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_push_wc_prop_set(int argc,VALUE * argv,VALUE self)3615 _wrap_svn_ra_callbacks2_t_push_wc_prop_set(int argc, VALUE *argv, VALUE self) {
3616   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
3617   svn_ra_push_wc_prop_func_t arg2 = (svn_ra_push_wc_prop_func_t) 0 ;
3618   void *argp1 = 0 ;
3619   int res1 = 0 ;
3620 
3621   if ((argc < 1) || (argc > 1)) {
3622     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3623   }
3624   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
3625   if (!SWIG_IsOK(res1)) {
3626     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","push_wc_prop", 1, self ));
3627   }
3628   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
3629   {
3630     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t);
3631     if (!SWIG_IsOK(res)) {
3632       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_push_wc_prop_func_t","push_wc_prop", 2, argv[0] ));
3633     }
3634   }
3635   if (arg1) (arg1)->push_wc_prop = arg2;
3636   return Qnil;
3637 fail:
3638   return Qnil;
3639 }
3640 
3641 
3642 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_push_wc_prop_get(int argc,VALUE * argv,VALUE self)3643 _wrap_svn_ra_callbacks2_t_push_wc_prop_get(int argc, VALUE *argv, VALUE self) {
3644   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
3645   void *argp1 = 0 ;
3646   int res1 = 0 ;
3647   svn_ra_push_wc_prop_func_t result;
3648   VALUE vresult = Qnil;
3649 
3650   if ((argc < 0) || (argc > 0)) {
3651     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3652   }
3653   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
3654   if (!SWIG_IsOK(res1)) {
3655     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","push_wc_prop", 1, self ));
3656   }
3657   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
3658   result = (svn_ra_push_wc_prop_func_t) ((arg1)->push_wc_prop);
3659   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t);
3660   return vresult;
3661 fail:
3662   return Qnil;
3663 }
3664 
3665 
3666 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_invalidate_wc_props_set(int argc,VALUE * argv,VALUE self)3667 _wrap_svn_ra_callbacks2_t_invalidate_wc_props_set(int argc, VALUE *argv, VALUE self) {
3668   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
3669   svn_ra_invalidate_wc_props_func_t arg2 = (svn_ra_invalidate_wc_props_func_t) 0 ;
3670   void *argp1 = 0 ;
3671   int res1 = 0 ;
3672 
3673   if ((argc < 1) || (argc > 1)) {
3674     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3675   }
3676   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
3677   if (!SWIG_IsOK(res1)) {
3678     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","invalidate_wc_props", 1, self ));
3679   }
3680   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
3681   {
3682     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t);
3683     if (!SWIG_IsOK(res)) {
3684       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_invalidate_wc_props_func_t","invalidate_wc_props", 2, argv[0] ));
3685     }
3686   }
3687   if (arg1) (arg1)->invalidate_wc_props = arg2;
3688   return Qnil;
3689 fail:
3690   return Qnil;
3691 }
3692 
3693 
3694 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_invalidate_wc_props_get(int argc,VALUE * argv,VALUE self)3695 _wrap_svn_ra_callbacks2_t_invalidate_wc_props_get(int argc, VALUE *argv, VALUE self) {
3696   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
3697   void *argp1 = 0 ;
3698   int res1 = 0 ;
3699   svn_ra_invalidate_wc_props_func_t result;
3700   VALUE vresult = Qnil;
3701 
3702   if ((argc < 0) || (argc > 0)) {
3703     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3704   }
3705   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
3706   if (!SWIG_IsOK(res1)) {
3707     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","invalidate_wc_props", 1, self ));
3708   }
3709   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
3710   result = (svn_ra_invalidate_wc_props_func_t) ((arg1)->invalidate_wc_props);
3711   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t);
3712   return vresult;
3713 fail:
3714   return Qnil;
3715 }
3716 
3717 
3718 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_progress_func_set(int argc,VALUE * argv,VALUE self)3719 _wrap_svn_ra_callbacks2_t_progress_func_set(int argc, VALUE *argv, VALUE self) {
3720   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
3721   svn_ra_progress_notify_func_t arg2 = (svn_ra_progress_notify_func_t) 0 ;
3722   void *argp1 = 0 ;
3723   int res1 = 0 ;
3724 
3725   if ((argc < 1) || (argc > 1)) {
3726     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3727   }
3728   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
3729   if (!SWIG_IsOK(res1)) {
3730     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","progress_func", 1, self ));
3731   }
3732   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
3733   {
3734     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_apr_off_t_apr_off_t_p_void_p_apr_pool_t__void);
3735     if (!SWIG_IsOK(res)) {
3736       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_progress_notify_func_t","progress_func", 2, argv[0] ));
3737     }
3738   }
3739   if (arg1) (arg1)->progress_func = arg2;
3740   return Qnil;
3741 fail:
3742   return Qnil;
3743 }
3744 
3745 
3746 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_progress_func_get(int argc,VALUE * argv,VALUE self)3747 _wrap_svn_ra_callbacks2_t_progress_func_get(int argc, VALUE *argv, VALUE self) {
3748   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
3749   void *argp1 = 0 ;
3750   int res1 = 0 ;
3751   svn_ra_progress_notify_func_t result;
3752   VALUE vresult = Qnil;
3753 
3754   if ((argc < 0) || (argc > 0)) {
3755     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3756   }
3757   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
3758   if (!SWIG_IsOK(res1)) {
3759     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","progress_func", 1, self ));
3760   }
3761   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
3762   result = (svn_ra_progress_notify_func_t) ((arg1)->progress_func);
3763   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_apr_off_t_apr_off_t_p_void_p_apr_pool_t__void);
3764   return vresult;
3765 fail:
3766   return Qnil;
3767 }
3768 
3769 
3770 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_progress_baton_set(int argc,VALUE * argv,VALUE self)3771 _wrap_svn_ra_callbacks2_t_progress_baton_set(int argc, VALUE *argv, VALUE self) {
3772   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
3773   void *arg2 = (void *) 0 ;
3774   void *argp1 = 0 ;
3775   int res1 = 0 ;
3776   int res2 ;
3777 
3778   if ((argc < 1) || (argc > 1)) {
3779     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3780   }
3781   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
3782   if (!SWIG_IsOK(res1)) {
3783     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","progress_baton", 1, self ));
3784   }
3785   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
3786   res2 = SWIG_ConvertPtr(argv[0],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
3787   if (!SWIG_IsOK(res2)) {
3788     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","progress_baton", 2, argv[0] ));
3789   }
3790   if (arg1) (arg1)->progress_baton = arg2;
3791   return Qnil;
3792 fail:
3793   return Qnil;
3794 }
3795 
3796 
3797 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_progress_baton_get(int argc,VALUE * argv,VALUE self)3798 _wrap_svn_ra_callbacks2_t_progress_baton_get(int argc, VALUE *argv, VALUE self) {
3799   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
3800   void *argp1 = 0 ;
3801   int res1 = 0 ;
3802   void *result = 0 ;
3803   VALUE vresult = Qnil;
3804 
3805   if ((argc < 0) || (argc > 0)) {
3806     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3807   }
3808   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
3809   if (!SWIG_IsOK(res1)) {
3810     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","progress_baton", 1, self ));
3811   }
3812   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
3813   result = (void *) ((arg1)->progress_baton);
3814   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
3815   return vresult;
3816 fail:
3817   return Qnil;
3818 }
3819 
3820 
3821 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_cancel_func_set(int argc,VALUE * argv,VALUE self)3822 _wrap_svn_ra_callbacks2_t_cancel_func_set(int argc, VALUE *argv, VALUE self) {
3823   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
3824   svn_cancel_func_t arg2 = (svn_cancel_func_t) 0 ;
3825   void *argp1 = 0 ;
3826   int res1 = 0 ;
3827 
3828   if ((argc < 1) || (argc > 1)) {
3829     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3830   }
3831   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
3832   if (!SWIG_IsOK(res1)) {
3833     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","cancel_func", 1, self ));
3834   }
3835   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
3836   {
3837     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void__p_svn_error_t);
3838     if (!SWIG_IsOK(res)) {
3839       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_cancel_func_t","cancel_func", 2, argv[0] ));
3840     }
3841   }
3842   if (arg1) (arg1)->cancel_func = arg2;
3843   return Qnil;
3844 fail:
3845   return Qnil;
3846 }
3847 
3848 
3849 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_cancel_func_get(int argc,VALUE * argv,VALUE self)3850 _wrap_svn_ra_callbacks2_t_cancel_func_get(int argc, VALUE *argv, VALUE self) {
3851   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
3852   void *argp1 = 0 ;
3853   int res1 = 0 ;
3854   svn_cancel_func_t result;
3855   VALUE vresult = Qnil;
3856 
3857   if ((argc < 0) || (argc > 0)) {
3858     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3859   }
3860   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
3861   if (!SWIG_IsOK(res1)) {
3862     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","cancel_func", 1, self ));
3863   }
3864   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
3865   result = (svn_cancel_func_t) ((arg1)->cancel_func);
3866   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void__p_svn_error_t);
3867   return vresult;
3868 fail:
3869   return Qnil;
3870 }
3871 
3872 
3873 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_get_client_string_set(int argc,VALUE * argv,VALUE self)3874 _wrap_svn_ra_callbacks2_t_get_client_string_set(int argc, VALUE *argv, VALUE self) {
3875   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
3876   svn_ra_get_client_string_func_t arg2 = (svn_ra_get_client_string_func_t) 0 ;
3877   void *argp1 = 0 ;
3878   int res1 = 0 ;
3879 
3880   if ((argc < 1) || (argc > 1)) {
3881     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3882   }
3883   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
3884   if (!SWIG_IsOK(res1)) {
3885     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","get_client_string", 1, self ));
3886   }
3887   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
3888   {
3889     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_p_q_const__char_p_apr_pool_t__p_svn_error_t);
3890     if (!SWIG_IsOK(res)) {
3891       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_get_client_string_func_t","get_client_string", 2, argv[0] ));
3892     }
3893   }
3894   if (arg1) (arg1)->get_client_string = arg2;
3895   return Qnil;
3896 fail:
3897   return Qnil;
3898 }
3899 
3900 
3901 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_get_client_string_get(int argc,VALUE * argv,VALUE self)3902 _wrap_svn_ra_callbacks2_t_get_client_string_get(int argc, VALUE *argv, VALUE self) {
3903   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
3904   void *argp1 = 0 ;
3905   int res1 = 0 ;
3906   svn_ra_get_client_string_func_t result;
3907   VALUE vresult = Qnil;
3908 
3909   if ((argc < 0) || (argc > 0)) {
3910     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3911   }
3912   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
3913   if (!SWIG_IsOK(res1)) {
3914     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","get_client_string", 1, self ));
3915   }
3916   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
3917   result = (svn_ra_get_client_string_func_t) ((arg1)->get_client_string);
3918   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_p_q_const__char_p_apr_pool_t__p_svn_error_t);
3919   return vresult;
3920 fail:
3921   return Qnil;
3922 }
3923 
3924 
3925 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_get_wc_contents_set(int argc,VALUE * argv,VALUE self)3926 _wrap_svn_ra_callbacks2_t_get_wc_contents_set(int argc, VALUE *argv, VALUE self) {
3927   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
3928   svn_ra_get_wc_contents_func_t arg2 = (svn_ra_get_wc_contents_func_t) 0 ;
3929   void *argp1 = 0 ;
3930   int res1 = 0 ;
3931 
3932   if ((argc < 1) || (argc > 1)) {
3933     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3934   }
3935   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
3936   if (!SWIG_IsOK(res1)) {
3937     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","get_wc_contents", 1, self ));
3938   }
3939   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
3940   {
3941     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_p_svn_stream_t_p_q_const__svn_checksum_t_p_apr_pool_t__p_svn_error_t);
3942     if (!SWIG_IsOK(res)) {
3943       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_get_wc_contents_func_t","get_wc_contents", 2, argv[0] ));
3944     }
3945   }
3946   if (arg1) (arg1)->get_wc_contents = arg2;
3947   return Qnil;
3948 fail:
3949   return Qnil;
3950 }
3951 
3952 
3953 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_get_wc_contents_get(int argc,VALUE * argv,VALUE self)3954 _wrap_svn_ra_callbacks2_t_get_wc_contents_get(int argc, VALUE *argv, VALUE self) {
3955   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
3956   void *argp1 = 0 ;
3957   int res1 = 0 ;
3958   svn_ra_get_wc_contents_func_t result;
3959   VALUE vresult = Qnil;
3960 
3961   if ((argc < 0) || (argc > 0)) {
3962     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3963   }
3964   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
3965   if (!SWIG_IsOK(res1)) {
3966     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","get_wc_contents", 1, self ));
3967   }
3968   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
3969   result = (svn_ra_get_wc_contents_func_t) ((arg1)->get_wc_contents);
3970   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_p_svn_stream_t_p_q_const__svn_checksum_t_p_apr_pool_t__p_svn_error_t);
3971   return vresult;
3972 fail:
3973   return Qnil;
3974 }
3975 
3976 
3977 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_check_tunnel_func_set(int argc,VALUE * argv,VALUE self)3978 _wrap_svn_ra_callbacks2_t_check_tunnel_func_set(int argc, VALUE *argv, VALUE self) {
3979   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
3980   svn_ra_check_tunnel_func_t arg2 = (svn_ra_check_tunnel_func_t) 0 ;
3981   void *argp1 = 0 ;
3982   int res1 = 0 ;
3983 
3984   if ((argc < 1) || (argc > 1)) {
3985     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3986   }
3987   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
3988   if (!SWIG_IsOK(res1)) {
3989     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","check_tunnel_func", 1, self ));
3990   }
3991   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
3992   {
3993     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char__int);
3994     if (!SWIG_IsOK(res)) {
3995       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_check_tunnel_func_t","check_tunnel_func", 2, argv[0] ));
3996     }
3997   }
3998   if (arg1) (arg1)->check_tunnel_func = arg2;
3999   return Qnil;
4000 fail:
4001   return Qnil;
4002 }
4003 
4004 
4005 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_check_tunnel_func_get(int argc,VALUE * argv,VALUE self)4006 _wrap_svn_ra_callbacks2_t_check_tunnel_func_get(int argc, VALUE *argv, VALUE self) {
4007   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
4008   void *argp1 = 0 ;
4009   int res1 = 0 ;
4010   svn_ra_check_tunnel_func_t result;
4011   VALUE vresult = Qnil;
4012 
4013   if ((argc < 0) || (argc > 0)) {
4014     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4015   }
4016   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
4017   if (!SWIG_IsOK(res1)) {
4018     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","check_tunnel_func", 1, self ));
4019   }
4020   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
4021   result = (svn_ra_check_tunnel_func_t) ((arg1)->check_tunnel_func);
4022   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char__int);
4023   return vresult;
4024 fail:
4025   return Qnil;
4026 }
4027 
4028 
4029 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_open_tunnel_func_set(int argc,VALUE * argv,VALUE self)4030 _wrap_svn_ra_callbacks2_t_open_tunnel_func_set(int argc, VALUE *argv, VALUE self) {
4031   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
4032   svn_ra_open_tunnel_func_t arg2 = (svn_ra_open_tunnel_func_t) 0 ;
4033   void *argp1 = 0 ;
4034   int res1 = 0 ;
4035 
4036   if ((argc < 1) || (argc > 1)) {
4037     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4038   }
4039   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
4040   if (!SWIG_IsOK(res1)) {
4041     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","open_tunnel_func", 1, self ));
4042   }
4043   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
4044   {
4045     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);
4046     if (!SWIG_IsOK(res)) {
4047       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_open_tunnel_func_t","open_tunnel_func", 2, argv[0] ));
4048     }
4049   }
4050   if (arg1) (arg1)->open_tunnel_func = arg2;
4051   return Qnil;
4052 fail:
4053   return Qnil;
4054 }
4055 
4056 
4057 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_open_tunnel_func_get(int argc,VALUE * argv,VALUE self)4058 _wrap_svn_ra_callbacks2_t_open_tunnel_func_get(int argc, VALUE *argv, VALUE self) {
4059   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
4060   void *argp1 = 0 ;
4061   int res1 = 0 ;
4062   svn_ra_open_tunnel_func_t result;
4063   VALUE vresult = Qnil;
4064 
4065   if ((argc < 0) || (argc > 0)) {
4066     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4067   }
4068   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
4069   if (!SWIG_IsOK(res1)) {
4070     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","open_tunnel_func", 1, self ));
4071   }
4072   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
4073   result = (svn_ra_open_tunnel_func_t) ((arg1)->open_tunnel_func);
4074   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);
4075   return vresult;
4076 fail:
4077   return Qnil;
4078 }
4079 
4080 
4081 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_tunnel_baton_set(int argc,VALUE * argv,VALUE self)4082 _wrap_svn_ra_callbacks2_t_tunnel_baton_set(int argc, VALUE *argv, VALUE self) {
4083   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
4084   void *arg2 = (void *) 0 ;
4085   void *argp1 = 0 ;
4086   int res1 = 0 ;
4087   int res2 ;
4088 
4089   if ((argc < 1) || (argc > 1)) {
4090     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4091   }
4092   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
4093   if (!SWIG_IsOK(res1)) {
4094     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","tunnel_baton", 1, self ));
4095   }
4096   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
4097   res2 = SWIG_ConvertPtr(argv[0],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
4098   if (!SWIG_IsOK(res2)) {
4099     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","tunnel_baton", 2, argv[0] ));
4100   }
4101   if (arg1) (arg1)->tunnel_baton = arg2;
4102   return Qnil;
4103 fail:
4104   return Qnil;
4105 }
4106 
4107 
4108 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_tunnel_baton_get(int argc,VALUE * argv,VALUE self)4109 _wrap_svn_ra_callbacks2_t_tunnel_baton_get(int argc, VALUE *argv, VALUE self) {
4110   struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
4111   void *argp1 = 0 ;
4112   int res1 = 0 ;
4113   void *result = 0 ;
4114   VALUE vresult = Qnil;
4115 
4116   if ((argc < 0) || (argc > 0)) {
4117     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4118   }
4119   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
4120   if (!SWIG_IsOK(res1)) {
4121     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","tunnel_baton", 1, self ));
4122   }
4123   arg1 = (struct svn_ra_callbacks2_t *)(argp1);
4124   result = (void *) ((arg1)->tunnel_baton);
4125   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
4126   return vresult;
4127 fail:
4128   return Qnil;
4129 }
4130 
4131 
4132 SWIGINTERN VALUE
4133 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_svn_ra_callbacks2_t_allocate(VALUE self)4134 _wrap_svn_ra_callbacks2_t_allocate(VALUE self)
4135 #else
4136 _wrap_svn_ra_callbacks2_t_allocate(int argc, VALUE *argv, VALUE self)
4137 #endif
4138 {
4139   VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_ra_callbacks2_t);
4140 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
4141   rb_obj_call_init(vresult, argc, argv);
4142 #endif
4143   return vresult;
4144 }
4145 
4146 
4147 SWIGINTERN VALUE
_wrap_new_svn_ra_callbacks2_t(int argc,VALUE * argv,VALUE self)4148 _wrap_new_svn_ra_callbacks2_t(int argc, VALUE *argv, VALUE self) {
4149   struct svn_ra_callbacks2_t *result = 0 ;
4150 
4151   if ((argc < 0) || (argc > 0)) {
4152     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4153   }
4154   {
4155     result = (struct svn_ra_callbacks2_t *)calloc(1, sizeof(struct svn_ra_callbacks2_t));
4156     DATA_PTR(self) = result;
4157 
4158 
4159 
4160   }
4161   return self;
4162 fail:
4163   return Qnil;
4164 }
4165 
4166 
4167 SWIGINTERN void
free_svn_ra_callbacks2_t(void * self)4168 free_svn_ra_callbacks2_t(void *self) {
4169     struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *)self;
4170     free((char *) arg1);
4171 }
4172 
4173 static swig_class SwigClassSvn_ra_callbacks_t;
4174 
4175 SWIGINTERN VALUE
_wrap_svn_ra_callbacks_t_open_tmp_file_set(int argc,VALUE * argv,VALUE self)4176 _wrap_svn_ra_callbacks_t_open_tmp_file_set(int argc, VALUE *argv, VALUE self) {
4177   struct svn_ra_callbacks_t *arg1 = (struct svn_ra_callbacks_t *) 0 ;
4178   svn_error_t *(*arg2)(apr_file_t **,void *,apr_pool_t *) = (svn_error_t *(*)(apr_file_t **,void *,apr_pool_t *)) 0 ;
4179   void *argp1 = 0 ;
4180   int res1 = 0 ;
4181 
4182   if ((argc < 1) || (argc > 1)) {
4183     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4184   }
4185   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks_t, 0 |  0 );
4186   if (!SWIG_IsOK(res1)) {
4187     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks_t *","open_tmp_file", 1, self ));
4188   }
4189   arg1 = (struct svn_ra_callbacks_t *)(argp1);
4190   {
4191     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_p_apr_file_t_p_void_p_apr_pool_t__p_svn_error_t);
4192     if (!SWIG_IsOK(res)) {
4193       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(apr_file_t **,void *,apr_pool_t *)","open_tmp_file", 2, argv[0] ));
4194     }
4195   }
4196   if (arg1) (arg1)->open_tmp_file = arg2;
4197   return Qnil;
4198 fail:
4199   return Qnil;
4200 }
4201 
4202 
4203 SWIGINTERN VALUE
_wrap_svn_ra_callbacks_t_open_tmp_file_get(int argc,VALUE * argv,VALUE self)4204 _wrap_svn_ra_callbacks_t_open_tmp_file_get(int argc, VALUE *argv, VALUE self) {
4205   struct svn_ra_callbacks_t *arg1 = (struct svn_ra_callbacks_t *) 0 ;
4206   void *argp1 = 0 ;
4207   int res1 = 0 ;
4208   svn_error_t *(*result)(apr_file_t **,void *,apr_pool_t *) = 0 ;
4209   VALUE vresult = Qnil;
4210 
4211   if ((argc < 0) || (argc > 0)) {
4212     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4213   }
4214   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks_t, 0 |  0 );
4215   if (!SWIG_IsOK(res1)) {
4216     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks_t *","open_tmp_file", 1, self ));
4217   }
4218   arg1 = (struct svn_ra_callbacks_t *)(argp1);
4219   result = (svn_error_t *(*)(apr_file_t **,void *,apr_pool_t *)) ((arg1)->open_tmp_file);
4220   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_p_apr_file_t_p_void_p_apr_pool_t__p_svn_error_t);
4221   return vresult;
4222 fail:
4223   return Qnil;
4224 }
4225 
4226 
4227 SWIGINTERN VALUE
_wrap_svn_ra_callbacks_t_auth_baton_set(int argc,VALUE * argv,VALUE self)4228 _wrap_svn_ra_callbacks_t_auth_baton_set(int argc, VALUE *argv, VALUE self) {
4229   struct svn_ra_callbacks_t *arg1 = (struct svn_ra_callbacks_t *) 0 ;
4230   svn_auth_baton_t *arg2 = (svn_auth_baton_t *) 0 ;
4231   void *argp1 = 0 ;
4232   int res1 = 0 ;
4233   void *argp2 = 0 ;
4234   int res2 = 0 ;
4235 
4236   if ((argc < 1) || (argc > 1)) {
4237     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4238   }
4239   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks_t, 0 |  0 );
4240   if (!SWIG_IsOK(res1)) {
4241     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks_t *","auth_baton", 1, self ));
4242   }
4243   arg1 = (struct svn_ra_callbacks_t *)(argp1);
4244   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_auth_baton_t, SWIG_POINTER_DISOWN |  0 );
4245   if (!SWIG_IsOK(res2)) {
4246     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_auth_baton_t *","auth_baton", 2, argv[0] ));
4247   }
4248   arg2 = (svn_auth_baton_t *)(argp2);
4249   if (arg1) (arg1)->auth_baton = arg2;
4250   return Qnil;
4251 fail:
4252   return Qnil;
4253 }
4254 
4255 
4256 SWIGINTERN VALUE
_wrap_svn_ra_callbacks_t_auth_baton_get(int argc,VALUE * argv,VALUE self)4257 _wrap_svn_ra_callbacks_t_auth_baton_get(int argc, VALUE *argv, VALUE self) {
4258   struct svn_ra_callbacks_t *arg1 = (struct svn_ra_callbacks_t *) 0 ;
4259   void *argp1 = 0 ;
4260   int res1 = 0 ;
4261   svn_auth_baton_t *result = 0 ;
4262   VALUE vresult = Qnil;
4263 
4264   if ((argc < 0) || (argc > 0)) {
4265     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4266   }
4267   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks_t, 0 |  0 );
4268   if (!SWIG_IsOK(res1)) {
4269     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks_t *","auth_baton", 1, self ));
4270   }
4271   arg1 = (struct svn_ra_callbacks_t *)(argp1);
4272   result = (svn_auth_baton_t *) ((arg1)->auth_baton);
4273   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_auth_baton_t, 0 |  0 );
4274   return vresult;
4275 fail:
4276   return Qnil;
4277 }
4278 
4279 
4280 SWIGINTERN VALUE
_wrap_svn_ra_callbacks_t_get_wc_prop_set(int argc,VALUE * argv,VALUE self)4281 _wrap_svn_ra_callbacks_t_get_wc_prop_set(int argc, VALUE *argv, VALUE self) {
4282   struct svn_ra_callbacks_t *arg1 = (struct svn_ra_callbacks_t *) 0 ;
4283   svn_ra_get_wc_prop_func_t arg2 = (svn_ra_get_wc_prop_func_t) 0 ;
4284   void *argp1 = 0 ;
4285   int res1 = 0 ;
4286 
4287   if ((argc < 1) || (argc > 1)) {
4288     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4289   }
4290   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks_t, 0 |  0 );
4291   if (!SWIG_IsOK(res1)) {
4292     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks_t *","get_wc_prop", 1, self ));
4293   }
4294   arg1 = (struct svn_ra_callbacks_t *)(argp1);
4295   {
4296     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t);
4297     if (!SWIG_IsOK(res)) {
4298       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_get_wc_prop_func_t","get_wc_prop", 2, argv[0] ));
4299     }
4300   }
4301   if (arg1) (arg1)->get_wc_prop = arg2;
4302   return Qnil;
4303 fail:
4304   return Qnil;
4305 }
4306 
4307 
4308 SWIGINTERN VALUE
_wrap_svn_ra_callbacks_t_get_wc_prop_get(int argc,VALUE * argv,VALUE self)4309 _wrap_svn_ra_callbacks_t_get_wc_prop_get(int argc, VALUE *argv, VALUE self) {
4310   struct svn_ra_callbacks_t *arg1 = (struct svn_ra_callbacks_t *) 0 ;
4311   void *argp1 = 0 ;
4312   int res1 = 0 ;
4313   svn_ra_get_wc_prop_func_t result;
4314   VALUE vresult = Qnil;
4315 
4316   if ((argc < 0) || (argc > 0)) {
4317     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4318   }
4319   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks_t, 0 |  0 );
4320   if (!SWIG_IsOK(res1)) {
4321     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks_t *","get_wc_prop", 1, self ));
4322   }
4323   arg1 = (struct svn_ra_callbacks_t *)(argp1);
4324   result = (svn_ra_get_wc_prop_func_t) ((arg1)->get_wc_prop);
4325   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t);
4326   return vresult;
4327 fail:
4328   return Qnil;
4329 }
4330 
4331 
4332 SWIGINTERN VALUE
_wrap_svn_ra_callbacks_t_set_wc_prop_set(int argc,VALUE * argv,VALUE self)4333 _wrap_svn_ra_callbacks_t_set_wc_prop_set(int argc, VALUE *argv, VALUE self) {
4334   struct svn_ra_callbacks_t *arg1 = (struct svn_ra_callbacks_t *) 0 ;
4335   svn_ra_set_wc_prop_func_t arg2 = (svn_ra_set_wc_prop_func_t) 0 ;
4336   void *argp1 = 0 ;
4337   int res1 = 0 ;
4338 
4339   if ((argc < 1) || (argc > 1)) {
4340     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4341   }
4342   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks_t, 0 |  0 );
4343   if (!SWIG_IsOK(res1)) {
4344     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks_t *","set_wc_prop", 1, self ));
4345   }
4346   arg1 = (struct svn_ra_callbacks_t *)(argp1);
4347   {
4348     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t);
4349     if (!SWIG_IsOK(res)) {
4350       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_set_wc_prop_func_t","set_wc_prop", 2, argv[0] ));
4351     }
4352   }
4353   if (arg1) (arg1)->set_wc_prop = arg2;
4354   return Qnil;
4355 fail:
4356   return Qnil;
4357 }
4358 
4359 
4360 SWIGINTERN VALUE
_wrap_svn_ra_callbacks_t_set_wc_prop_get(int argc,VALUE * argv,VALUE self)4361 _wrap_svn_ra_callbacks_t_set_wc_prop_get(int argc, VALUE *argv, VALUE self) {
4362   struct svn_ra_callbacks_t *arg1 = (struct svn_ra_callbacks_t *) 0 ;
4363   void *argp1 = 0 ;
4364   int res1 = 0 ;
4365   svn_ra_set_wc_prop_func_t result;
4366   VALUE vresult = Qnil;
4367 
4368   if ((argc < 0) || (argc > 0)) {
4369     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4370   }
4371   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks_t, 0 |  0 );
4372   if (!SWIG_IsOK(res1)) {
4373     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks_t *","set_wc_prop", 1, self ));
4374   }
4375   arg1 = (struct svn_ra_callbacks_t *)(argp1);
4376   result = (svn_ra_set_wc_prop_func_t) ((arg1)->set_wc_prop);
4377   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t);
4378   return vresult;
4379 fail:
4380   return Qnil;
4381 }
4382 
4383 
4384 SWIGINTERN VALUE
_wrap_svn_ra_callbacks_t_push_wc_prop_set(int argc,VALUE * argv,VALUE self)4385 _wrap_svn_ra_callbacks_t_push_wc_prop_set(int argc, VALUE *argv, VALUE self) {
4386   struct svn_ra_callbacks_t *arg1 = (struct svn_ra_callbacks_t *) 0 ;
4387   svn_ra_push_wc_prop_func_t arg2 = (svn_ra_push_wc_prop_func_t) 0 ;
4388   void *argp1 = 0 ;
4389   int res1 = 0 ;
4390 
4391   if ((argc < 1) || (argc > 1)) {
4392     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4393   }
4394   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks_t, 0 |  0 );
4395   if (!SWIG_IsOK(res1)) {
4396     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks_t *","push_wc_prop", 1, self ));
4397   }
4398   arg1 = (struct svn_ra_callbacks_t *)(argp1);
4399   {
4400     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t);
4401     if (!SWIG_IsOK(res)) {
4402       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_push_wc_prop_func_t","push_wc_prop", 2, argv[0] ));
4403     }
4404   }
4405   if (arg1) (arg1)->push_wc_prop = arg2;
4406   return Qnil;
4407 fail:
4408   return Qnil;
4409 }
4410 
4411 
4412 SWIGINTERN VALUE
_wrap_svn_ra_callbacks_t_push_wc_prop_get(int argc,VALUE * argv,VALUE self)4413 _wrap_svn_ra_callbacks_t_push_wc_prop_get(int argc, VALUE *argv, VALUE self) {
4414   struct svn_ra_callbacks_t *arg1 = (struct svn_ra_callbacks_t *) 0 ;
4415   void *argp1 = 0 ;
4416   int res1 = 0 ;
4417   svn_ra_push_wc_prop_func_t result;
4418   VALUE vresult = Qnil;
4419 
4420   if ((argc < 0) || (argc > 0)) {
4421     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4422   }
4423   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks_t, 0 |  0 );
4424   if (!SWIG_IsOK(res1)) {
4425     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks_t *","push_wc_prop", 1, self ));
4426   }
4427   arg1 = (struct svn_ra_callbacks_t *)(argp1);
4428   result = (svn_ra_push_wc_prop_func_t) ((arg1)->push_wc_prop);
4429   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t);
4430   return vresult;
4431 fail:
4432   return Qnil;
4433 }
4434 
4435 
4436 SWIGINTERN VALUE
_wrap_svn_ra_callbacks_t_invalidate_wc_props_set(int argc,VALUE * argv,VALUE self)4437 _wrap_svn_ra_callbacks_t_invalidate_wc_props_set(int argc, VALUE *argv, VALUE self) {
4438   struct svn_ra_callbacks_t *arg1 = (struct svn_ra_callbacks_t *) 0 ;
4439   svn_ra_invalidate_wc_props_func_t arg2 = (svn_ra_invalidate_wc_props_func_t) 0 ;
4440   void *argp1 = 0 ;
4441   int res1 = 0 ;
4442 
4443   if ((argc < 1) || (argc > 1)) {
4444     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4445   }
4446   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks_t, 0 |  0 );
4447   if (!SWIG_IsOK(res1)) {
4448     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks_t *","invalidate_wc_props", 1, self ));
4449   }
4450   arg1 = (struct svn_ra_callbacks_t *)(argp1);
4451   {
4452     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t);
4453     if (!SWIG_IsOK(res)) {
4454       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_invalidate_wc_props_func_t","invalidate_wc_props", 2, argv[0] ));
4455     }
4456   }
4457   if (arg1) (arg1)->invalidate_wc_props = arg2;
4458   return Qnil;
4459 fail:
4460   return Qnil;
4461 }
4462 
4463 
4464 SWIGINTERN VALUE
_wrap_svn_ra_callbacks_t_invalidate_wc_props_get(int argc,VALUE * argv,VALUE self)4465 _wrap_svn_ra_callbacks_t_invalidate_wc_props_get(int argc, VALUE *argv, VALUE self) {
4466   struct svn_ra_callbacks_t *arg1 = (struct svn_ra_callbacks_t *) 0 ;
4467   void *argp1 = 0 ;
4468   int res1 = 0 ;
4469   svn_ra_invalidate_wc_props_func_t result;
4470   VALUE vresult = Qnil;
4471 
4472   if ((argc < 0) || (argc > 0)) {
4473     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4474   }
4475   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks_t, 0 |  0 );
4476   if (!SWIG_IsOK(res1)) {
4477     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks_t *","invalidate_wc_props", 1, self ));
4478   }
4479   arg1 = (struct svn_ra_callbacks_t *)(argp1);
4480   result = (svn_ra_invalidate_wc_props_func_t) ((arg1)->invalidate_wc_props);
4481   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t);
4482   return vresult;
4483 fail:
4484   return Qnil;
4485 }
4486 
4487 
4488 SWIGINTERN VALUE
4489 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_svn_ra_callbacks_t_allocate(VALUE self)4490 _wrap_svn_ra_callbacks_t_allocate(VALUE self)
4491 #else
4492 _wrap_svn_ra_callbacks_t_allocate(int argc, VALUE *argv, VALUE self)
4493 #endif
4494 {
4495   VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_ra_callbacks_t);
4496 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
4497   rb_obj_call_init(vresult, argc, argv);
4498 #endif
4499   return vresult;
4500 }
4501 
4502 
4503 SWIGINTERN VALUE
_wrap_new_svn_ra_callbacks_t(int argc,VALUE * argv,VALUE self)4504 _wrap_new_svn_ra_callbacks_t(int argc, VALUE *argv, VALUE self) {
4505   struct svn_ra_callbacks_t *result = 0 ;
4506 
4507   if ((argc < 0) || (argc > 0)) {
4508     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4509   }
4510   {
4511     result = (struct svn_ra_callbacks_t *)calloc(1, sizeof(struct svn_ra_callbacks_t));
4512     DATA_PTR(self) = result;
4513 
4514 
4515 
4516   }
4517   return self;
4518 fail:
4519   return Qnil;
4520 }
4521 
4522 
4523 SWIGINTERN void
free_svn_ra_callbacks_t(void * self)4524 free_svn_ra_callbacks_t(void *self) {
4525     struct svn_ra_callbacks_t *arg1 = (struct svn_ra_callbacks_t *)self;
4526     free((char *) arg1);
4527 }
4528 
4529 SWIGINTERN VALUE
_wrap_svn_ra_initialize(int argc,VALUE * argv,VALUE self)4530 _wrap_svn_ra_initialize(int argc, VALUE *argv, VALUE self) {
4531   apr_pool_t *arg1 = (apr_pool_t *) 0 ;
4532   VALUE _global_svn_swig_rb_pool ;
4533   apr_pool_t *_global_pool ;
4534   svn_error_t *result = 0 ;
4535   VALUE vresult = Qnil;
4536 
4537   {
4538     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg1);
4539     _global_pool = arg1;
4540     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
4541   }
4542   if ((argc < 0) || (argc > 1)) {
4543     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4544   }
4545   if (argc > 0) {
4546 
4547   }
4548   {
4549     result = (svn_error_t *)svn_ra_initialize(arg1);
4550 
4551 
4552 
4553   }
4554   {
4555     if (result) {
4556       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
4557       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
4558       svn_swig_rb_handle_svn_error(result);
4559     }
4560     vresult = Qnil;
4561   }
4562   {
4563     VALUE target;
4564     target = _global_vresult_address == &vresult ? self : vresult;
4565     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
4566     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
4567     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
4568   }
4569   return vresult;
4570 fail:
4571   {
4572     VALUE target;
4573     target = _global_vresult_address == &vresult ? self : vresult;
4574     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
4575     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
4576     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
4577   }
4578   return Qnil;
4579 }
4580 
4581 
4582 SWIGINTERN VALUE
_wrap_svn_ra_create_callbacks(int argc,VALUE * argv,VALUE self)4583 _wrap_svn_ra_create_callbacks(int argc, VALUE *argv, VALUE self) {
4584   svn_ra_callbacks2_t **arg1 = (svn_ra_callbacks2_t **) 0 ;
4585   apr_pool_t *arg2 = (apr_pool_t *) 0 ;
4586   VALUE _global_svn_swig_rb_pool ;
4587   apr_pool_t *_global_pool ;
4588   svn_ra_callbacks2_t *temp1 ;
4589   svn_error_t *result = 0 ;
4590   VALUE vresult = Qnil;
4591 
4592   {
4593     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2);
4594     _global_pool = arg2;
4595     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
4596   }
4597   arg1 = &temp1;
4598   if ((argc < 0) || (argc > 1)) {
4599     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4600   }
4601   if (argc > 0) {
4602 
4603   }
4604   {
4605     result = (svn_error_t *)svn_ra_create_callbacks(arg1,arg2);
4606 
4607 
4608 
4609   }
4610   {
4611     if (result) {
4612       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
4613       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
4614       svn_swig_rb_handle_svn_error(result);
4615     }
4616     vresult = Qnil;
4617   }
4618   {
4619     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_ra_callbacks2_t, 0));
4620   }
4621   {
4622     VALUE target;
4623     target = _global_vresult_address == &vresult ? self : vresult;
4624     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
4625     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
4626     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
4627   }
4628   return vresult;
4629 fail:
4630   {
4631     VALUE target;
4632     target = _global_vresult_address == &vresult ? self : vresult;
4633     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
4634     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
4635     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
4636   }
4637   return Qnil;
4638 }
4639 
4640 
4641 SWIGINTERN VALUE
_wrap_svn_ra_open5(int argc,VALUE * argv,VALUE self)4642 _wrap_svn_ra_open5(int argc, VALUE *argv, VALUE self) {
4643   svn_ra_session_t **arg1 = (svn_ra_session_t **) 0 ;
4644   char **arg2 = (char **) 0 ;
4645   char **arg3 = (char **) 0 ;
4646   char *arg4 = (char *) 0 ;
4647   char *arg5 = (char *) 0 ;
4648   svn_ra_callbacks2_t *arg6 = (svn_ra_callbacks2_t *) 0 ;
4649   void *arg7 = (void *) 0 ;
4650   apr_hash_t *arg8 = (apr_hash_t *) 0 ;
4651   apr_pool_t *arg9 = (apr_pool_t *) 0 ;
4652   VALUE _global_svn_swig_rb_pool ;
4653   apr_pool_t *_global_pool ;
4654   svn_ra_session_t *temp1 ;
4655   char *temp2 ;
4656   char *temp3 ;
4657   int res4 ;
4658   char *buf4 = 0 ;
4659   int alloc4 = 0 ;
4660   int res5 ;
4661   char *buf5 = 0 ;
4662   int alloc5 = 0 ;
4663   svn_error_t *result = 0 ;
4664   VALUE vresult = Qnil;
4665 
4666   {
4667     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg9);
4668     _global_pool = arg9;
4669     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
4670   }
4671   arg1 = &temp1;
4672   arg2 = &temp2;
4673   arg3 = &temp3;
4674   if ((argc < 4) || (argc > 5)) {
4675     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
4676   }
4677   res4 = SWIG_AsCharPtrAndSize(argv[0], &buf4, NULL, &alloc4);
4678   if (!SWIG_IsOK(res4)) {
4679     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_ra_open5", 4, argv[0] ));
4680   }
4681   arg4 = (char *)(buf4);
4682   res5 = SWIG_AsCharPtrAndSize(argv[1], &buf5, NULL, &alloc5);
4683   if (!SWIG_IsOK(res5)) {
4684     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_ra_open5", 5, argv[1] ));
4685   }
4686   arg5 = (char *)(buf5);
4687   {
4688     svn_swig_rb_setup_ra_callbacks(&arg6, &arg7, argv[2], _global_pool);
4689   }
4690   {
4691     if (NIL_P(argv[3])) {
4692       arg8 = NULL;
4693     } else {
4694       arg8 = svn_swig_rb_hash_to_apr_hash_swig_type(argv[3], "svn_config_t *", _global_pool);
4695     }
4696   }
4697   if (argc > 4) {
4698 
4699   }
4700   {
4701     if (!arg6) {
4702       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
4703     }
4704   }
4705   {
4706     result = (svn_error_t *)svn_ra_open5(arg1,(char const **)arg2,(char const **)arg3,(char const *)arg4,(char const *)arg5,(struct svn_ra_callbacks2_t const *)arg6,arg7,arg8,arg9);
4707 
4708 
4709 
4710   }
4711   {
4712     if (result) {
4713       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
4714       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
4715       svn_swig_rb_handle_svn_error(result);
4716     }
4717     vresult = Qnil;
4718   }
4719   {
4720     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_ra_session_t, 0));
4721   }
4722   {
4723     if (*arg2) {
4724       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg2));
4725     } else {
4726       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
4727     }
4728   }
4729   {
4730     if (*arg3) {
4731       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg3));
4732     } else {
4733       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
4734     }
4735   }
4736   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
4737   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
4738   {
4739     VALUE target;
4740     target = _global_vresult_address == &vresult ? self : vresult;
4741     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
4742     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
4743     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
4744   }
4745   return vresult;
4746 fail:
4747   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
4748   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
4749   {
4750     VALUE target;
4751     target = _global_vresult_address == &vresult ? self : vresult;
4752     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
4753     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
4754     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
4755   }
4756   return Qnil;
4757 }
4758 
4759 
4760 SWIGINTERN VALUE
_wrap_svn_ra_open4(int argc,VALUE * argv,VALUE self)4761 _wrap_svn_ra_open4(int argc, VALUE *argv, VALUE self) {
4762   svn_ra_session_t **arg1 = (svn_ra_session_t **) 0 ;
4763   char **arg2 = (char **) 0 ;
4764   char *arg3 = (char *) 0 ;
4765   char *arg4 = (char *) 0 ;
4766   svn_ra_callbacks2_t *arg5 = (svn_ra_callbacks2_t *) 0 ;
4767   void *arg6 = (void *) 0 ;
4768   apr_hash_t *arg7 = (apr_hash_t *) 0 ;
4769   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
4770   VALUE _global_svn_swig_rb_pool ;
4771   apr_pool_t *_global_pool ;
4772   svn_ra_session_t *temp1 ;
4773   char *temp2 ;
4774   int res3 ;
4775   char *buf3 = 0 ;
4776   int alloc3 = 0 ;
4777   int res4 ;
4778   char *buf4 = 0 ;
4779   int alloc4 = 0 ;
4780   svn_error_t *result = 0 ;
4781   VALUE vresult = Qnil;
4782 
4783   {
4784     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8);
4785     _global_pool = arg8;
4786     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
4787   }
4788   arg1 = &temp1;
4789   arg2 = &temp2;
4790   if ((argc < 4) || (argc > 5)) {
4791     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
4792   }
4793   res3 = SWIG_AsCharPtrAndSize(argv[0], &buf3, NULL, &alloc3);
4794   if (!SWIG_IsOK(res3)) {
4795     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_open4", 3, argv[0] ));
4796   }
4797   arg3 = (char *)(buf3);
4798   res4 = SWIG_AsCharPtrAndSize(argv[1], &buf4, NULL, &alloc4);
4799   if (!SWIG_IsOK(res4)) {
4800     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_ra_open4", 4, argv[1] ));
4801   }
4802   arg4 = (char *)(buf4);
4803   {
4804     svn_swig_rb_setup_ra_callbacks(&arg5, &arg6, argv[2], _global_pool);
4805   }
4806   {
4807     if (NIL_P(argv[3])) {
4808       arg7 = NULL;
4809     } else {
4810       arg7 = svn_swig_rb_hash_to_apr_hash_swig_type(argv[3], "svn_config_t *", _global_pool);
4811     }
4812   }
4813   if (argc > 4) {
4814 
4815   }
4816   {
4817     if (!arg5) {
4818       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
4819     }
4820   }
4821   {
4822     result = (svn_error_t *)svn_ra_open4(arg1,(char const **)arg2,(char const *)arg3,(char const *)arg4,(struct svn_ra_callbacks2_t const *)arg5,arg6,arg7,arg8);
4823 
4824 
4825 
4826   }
4827   {
4828     if (result) {
4829       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
4830       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
4831       svn_swig_rb_handle_svn_error(result);
4832     }
4833     vresult = Qnil;
4834   }
4835   {
4836     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_ra_session_t, 0));
4837   }
4838   {
4839     if (*arg2) {
4840       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg2));
4841     } else {
4842       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
4843     }
4844   }
4845   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
4846   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
4847   {
4848     VALUE target;
4849     target = _global_vresult_address == &vresult ? self : vresult;
4850     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
4851     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
4852     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
4853   }
4854   return vresult;
4855 fail:
4856   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
4857   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
4858   {
4859     VALUE target;
4860     target = _global_vresult_address == &vresult ? self : vresult;
4861     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
4862     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
4863     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
4864   }
4865   return Qnil;
4866 }
4867 
4868 
4869 SWIGINTERN VALUE
_wrap_svn_ra_open3(int argc,VALUE * argv,VALUE self)4870 _wrap_svn_ra_open3(int argc, VALUE *argv, VALUE self) {
4871   svn_ra_session_t **arg1 = (svn_ra_session_t **) 0 ;
4872   char *arg2 = (char *) 0 ;
4873   char *arg3 = (char *) 0 ;
4874   svn_ra_callbacks2_t *arg4 = (svn_ra_callbacks2_t *) 0 ;
4875   void *arg5 = (void *) 0 ;
4876   apr_hash_t *arg6 = (apr_hash_t *) 0 ;
4877   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
4878   VALUE _global_svn_swig_rb_pool ;
4879   apr_pool_t *_global_pool ;
4880   svn_ra_session_t *temp1 ;
4881   int res2 ;
4882   char *buf2 = 0 ;
4883   int alloc2 = 0 ;
4884   int res3 ;
4885   char *buf3 = 0 ;
4886   int alloc3 = 0 ;
4887   svn_error_t *result = 0 ;
4888   VALUE vresult = Qnil;
4889 
4890   {
4891     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7);
4892     _global_pool = arg7;
4893     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
4894   }
4895   arg1 = &temp1;
4896   if ((argc < 4) || (argc > 5)) {
4897     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
4898   }
4899   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
4900   if (!SWIG_IsOK(res2)) {
4901     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_ra_open3", 2, argv[0] ));
4902   }
4903   arg2 = (char *)(buf2);
4904   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
4905   if (!SWIG_IsOK(res3)) {
4906     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_open3", 3, argv[1] ));
4907   }
4908   arg3 = (char *)(buf3);
4909   {
4910     svn_swig_rb_setup_ra_callbacks(&arg4, &arg5, argv[2], _global_pool);
4911   }
4912   {
4913     if (NIL_P(argv[3])) {
4914       arg6 = NULL;
4915     } else {
4916       arg6 = svn_swig_rb_hash_to_apr_hash_swig_type(argv[3], "svn_config_t *", _global_pool);
4917     }
4918   }
4919   if (argc > 4) {
4920 
4921   }
4922   {
4923     if (!arg4) {
4924       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
4925     }
4926   }
4927   {
4928     result = (svn_error_t *)svn_ra_open3(arg1,(char const *)arg2,(char const *)arg3,(struct svn_ra_callbacks2_t const *)arg4,arg5,arg6,arg7);
4929 
4930 
4931 
4932   }
4933   {
4934     if (result) {
4935       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
4936       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
4937       svn_swig_rb_handle_svn_error(result);
4938     }
4939     vresult = Qnil;
4940   }
4941   {
4942     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_ra_session_t, 0));
4943   }
4944   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
4945   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
4946   {
4947     VALUE target;
4948     target = _global_vresult_address == &vresult ? self : vresult;
4949     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
4950     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
4951     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
4952   }
4953   return vresult;
4954 fail:
4955   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
4956   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
4957   {
4958     VALUE target;
4959     target = _global_vresult_address == &vresult ? self : vresult;
4960     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
4961     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
4962     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
4963   }
4964   return Qnil;
4965 }
4966 
4967 
4968 SWIGINTERN VALUE
_wrap_svn_ra_open2(int argc,VALUE * argv,VALUE self)4969 _wrap_svn_ra_open2(int argc, VALUE *argv, VALUE self) {
4970   svn_ra_session_t **arg1 = (svn_ra_session_t **) 0 ;
4971   char *arg2 = (char *) 0 ;
4972   svn_ra_callbacks2_t *arg3 = (svn_ra_callbacks2_t *) 0 ;
4973   void *arg4 = (void *) 0 ;
4974   apr_hash_t *arg5 = (apr_hash_t *) 0 ;
4975   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
4976   VALUE _global_svn_swig_rb_pool ;
4977   apr_pool_t *_global_pool ;
4978   svn_ra_session_t *temp1 ;
4979   int res2 ;
4980   char *buf2 = 0 ;
4981   int alloc2 = 0 ;
4982   svn_error_t *result = 0 ;
4983   VALUE vresult = Qnil;
4984 
4985   {
4986     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
4987     _global_pool = arg6;
4988     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
4989   }
4990   arg1 = &temp1;
4991   if ((argc < 3) || (argc > 4)) {
4992     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
4993   }
4994   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
4995   if (!SWIG_IsOK(res2)) {
4996     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_ra_open2", 2, argv[0] ));
4997   }
4998   arg2 = (char *)(buf2);
4999   {
5000     svn_swig_rb_setup_ra_callbacks(&arg3, &arg4, argv[1], _global_pool);
5001   }
5002   {
5003     if (NIL_P(argv[2])) {
5004       arg5 = NULL;
5005     } else {
5006       arg5 = svn_swig_rb_hash_to_apr_hash_swig_type(argv[2], "svn_config_t *", _global_pool);
5007     }
5008   }
5009   if (argc > 3) {
5010 
5011   }
5012   {
5013     if (!arg3) {
5014       SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
5015     }
5016   }
5017   {
5018     result = (svn_error_t *)svn_ra_open2(arg1,(char const *)arg2,(struct svn_ra_callbacks2_t const *)arg3,arg4,arg5,arg6);
5019 
5020 
5021 
5022   }
5023   {
5024     if (result) {
5025       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5026       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5027       svn_swig_rb_handle_svn_error(result);
5028     }
5029     vresult = Qnil;
5030   }
5031   {
5032     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_ra_session_t, 0));
5033   }
5034   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
5035   {
5036     VALUE target;
5037     target = _global_vresult_address == &vresult ? self : vresult;
5038     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5039     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5040     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5041   }
5042   return vresult;
5043 fail:
5044   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
5045   {
5046     VALUE target;
5047     target = _global_vresult_address == &vresult ? self : vresult;
5048     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5049     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5050     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5051   }
5052   return Qnil;
5053 }
5054 
5055 
5056 SWIGINTERN VALUE
_wrap_svn_ra_open(int argc,VALUE * argv,VALUE self)5057 _wrap_svn_ra_open(int argc, VALUE *argv, VALUE self) {
5058   svn_ra_session_t **arg1 = (svn_ra_session_t **) 0 ;
5059   char *arg2 = (char *) 0 ;
5060   svn_ra_callbacks_t *arg3 = (svn_ra_callbacks_t *) 0 ;
5061   void *arg4 = (void *) 0 ;
5062   apr_hash_t *arg5 = (apr_hash_t *) 0 ;
5063   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
5064   VALUE _global_svn_swig_rb_pool ;
5065   apr_pool_t *_global_pool ;
5066   svn_ra_session_t *temp1 ;
5067   int res2 ;
5068   char *buf2 = 0 ;
5069   int alloc2 = 0 ;
5070   void *argp3 = 0 ;
5071   int res3 = 0 ;
5072   int res4 ;
5073   svn_error_t *result = 0 ;
5074   VALUE vresult = Qnil;
5075 
5076   {
5077     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
5078     _global_pool = arg6;
5079     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
5080   }
5081   arg1 = &temp1;
5082   if ((argc < 4) || (argc > 5)) {
5083     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
5084   }
5085   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
5086   if (!SWIG_IsOK(res2)) {
5087     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_ra_open", 2, argv[0] ));
5088   }
5089   arg2 = (char *)(buf2);
5090   res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_svn_ra_callbacks_t, 0 |  0 );
5091   if (!SWIG_IsOK(res3)) {
5092     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_ra_callbacks_t const *","svn_ra_open", 3, argv[1] ));
5093   }
5094   arg3 = (svn_ra_callbacks_t *)(argp3);
5095   res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0);
5096   if (!SWIG_IsOK(res4)) {
5097     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","svn_ra_open", 4, argv[2] ));
5098   }
5099   {
5100     if (NIL_P(argv[3])) {
5101       arg5 = NULL;
5102     } else {
5103       arg5 = svn_swig_rb_hash_to_apr_hash_swig_type(argv[3], "svn_config_t *", _global_pool);
5104     }
5105   }
5106   if (argc > 4) {
5107 
5108   }
5109   {
5110     result = (svn_error_t *)svn_ra_open(arg1,(char const *)arg2,(struct svn_ra_callbacks_t const *)arg3,arg4,arg5,arg6);
5111 
5112 
5113 
5114   }
5115   {
5116     if (result) {
5117       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5118       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5119       svn_swig_rb_handle_svn_error(result);
5120     }
5121     vresult = Qnil;
5122   }
5123   {
5124     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_ra_session_t, 0));
5125   }
5126   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
5127   {
5128     VALUE target;
5129     target = _global_vresult_address == &vresult ? self : vresult;
5130     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5131     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5132     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5133   }
5134   return vresult;
5135 fail:
5136   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
5137   {
5138     VALUE target;
5139     target = _global_vresult_address == &vresult ? self : vresult;
5140     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5141     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5142     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5143   }
5144   return Qnil;
5145 }
5146 
5147 
5148 SWIGINTERN VALUE
_wrap_svn_ra_reparent(int argc,VALUE * argv,VALUE self)5149 _wrap_svn_ra_reparent(int argc, VALUE *argv, VALUE self) {
5150   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
5151   char *arg2 = (char *) 0 ;
5152   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
5153   VALUE _global_svn_swig_rb_pool ;
5154   apr_pool_t *_global_pool ;
5155   void *argp1 = 0 ;
5156   int res1 = 0 ;
5157   int res2 ;
5158   char *buf2 = 0 ;
5159   int alloc2 = 0 ;
5160   svn_error_t *result = 0 ;
5161   VALUE vresult = Qnil;
5162 
5163   {
5164     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
5165     _global_pool = arg3;
5166     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
5167   }
5168   if ((argc < 2) || (argc > 3)) {
5169     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
5170   }
5171   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
5172   if (!SWIG_IsOK(res1)) {
5173     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_reparent", 1, argv[0] ));
5174   }
5175   arg1 = (svn_ra_session_t *)(argp1);
5176   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
5177   if (!SWIG_IsOK(res2)) {
5178     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_ra_reparent", 2, argv[1] ));
5179   }
5180   arg2 = (char *)(buf2);
5181   if (argc > 2) {
5182 
5183   }
5184   {
5185     result = (svn_error_t *)svn_ra_reparent(arg1,(char const *)arg2,arg3);
5186 
5187 
5188 
5189   }
5190   {
5191     if (result) {
5192       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5193       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5194       svn_swig_rb_handle_svn_error(result);
5195     }
5196     vresult = Qnil;
5197   }
5198   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
5199   {
5200     VALUE target;
5201     target = _global_vresult_address == &vresult ? self : vresult;
5202     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5203     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5204     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5205   }
5206   return vresult;
5207 fail:
5208   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
5209   {
5210     VALUE target;
5211     target = _global_vresult_address == &vresult ? self : vresult;
5212     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5213     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5214     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5215   }
5216   return Qnil;
5217 }
5218 
5219 
5220 SWIGINTERN VALUE
_wrap_svn_ra_get_session_url(int argc,VALUE * argv,VALUE self)5221 _wrap_svn_ra_get_session_url(int argc, VALUE *argv, VALUE self) {
5222   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
5223   char **arg2 = (char **) 0 ;
5224   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
5225   VALUE _global_svn_swig_rb_pool ;
5226   apr_pool_t *_global_pool ;
5227   void *argp1 = 0 ;
5228   int res1 = 0 ;
5229   char *temp2 ;
5230   svn_error_t *result = 0 ;
5231   VALUE vresult = Qnil;
5232 
5233   {
5234     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
5235     _global_pool = arg3;
5236     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
5237   }
5238   arg2 = &temp2;
5239   if ((argc < 1) || (argc > 2)) {
5240     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5241   }
5242   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
5243   if (!SWIG_IsOK(res1)) {
5244     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_session_url", 1, argv[0] ));
5245   }
5246   arg1 = (svn_ra_session_t *)(argp1);
5247   if (argc > 1) {
5248 
5249   }
5250   {
5251     result = (svn_error_t *)svn_ra_get_session_url(arg1,(char const **)arg2,arg3);
5252 
5253 
5254 
5255   }
5256   {
5257     if (result) {
5258       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5259       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5260       svn_swig_rb_handle_svn_error(result);
5261     }
5262     vresult = Qnil;
5263   }
5264   {
5265     if (*arg2) {
5266       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg2));
5267     } else {
5268       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
5269     }
5270   }
5271   {
5272     VALUE target;
5273     target = _global_vresult_address == &vresult ? self : vresult;
5274     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5275     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5276     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5277   }
5278   return vresult;
5279 fail:
5280   {
5281     VALUE target;
5282     target = _global_vresult_address == &vresult ? self : vresult;
5283     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5284     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5285     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5286   }
5287   return Qnil;
5288 }
5289 
5290 
5291 SWIGINTERN VALUE
_wrap_svn_ra_get_path_relative_to_session(int argc,VALUE * argv,VALUE self)5292 _wrap_svn_ra_get_path_relative_to_session(int argc, VALUE *argv, VALUE self) {
5293   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
5294   char **arg2 = (char **) 0 ;
5295   char *arg3 = (char *) 0 ;
5296   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
5297   VALUE _global_svn_swig_rb_pool ;
5298   apr_pool_t *_global_pool ;
5299   void *argp1 = 0 ;
5300   int res1 = 0 ;
5301   char *temp2 ;
5302   int res3 ;
5303   char *buf3 = 0 ;
5304   int alloc3 = 0 ;
5305   svn_error_t *result = 0 ;
5306   VALUE vresult = Qnil;
5307 
5308   {
5309     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
5310     _global_pool = arg4;
5311     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
5312   }
5313   arg2 = &temp2;
5314   if ((argc < 2) || (argc > 3)) {
5315     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
5316   }
5317   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
5318   if (!SWIG_IsOK(res1)) {
5319     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_path_relative_to_session", 1, argv[0] ));
5320   }
5321   arg1 = (svn_ra_session_t *)(argp1);
5322   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
5323   if (!SWIG_IsOK(res3)) {
5324     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_get_path_relative_to_session", 3, argv[1] ));
5325   }
5326   arg3 = (char *)(buf3);
5327   if (argc > 2) {
5328 
5329   }
5330   {
5331     result = (svn_error_t *)svn_ra_get_path_relative_to_session(arg1,(char const **)arg2,(char const *)arg3,arg4);
5332 
5333 
5334 
5335   }
5336   {
5337     if (result) {
5338       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5339       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5340       svn_swig_rb_handle_svn_error(result);
5341     }
5342     vresult = Qnil;
5343   }
5344   {
5345     if (*arg2) {
5346       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg2));
5347     } else {
5348       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
5349     }
5350   }
5351   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5352   {
5353     VALUE target;
5354     target = _global_vresult_address == &vresult ? self : vresult;
5355     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5356     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5357     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5358   }
5359   return vresult;
5360 fail:
5361   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5362   {
5363     VALUE target;
5364     target = _global_vresult_address == &vresult ? self : vresult;
5365     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5366     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5367     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5368   }
5369   return Qnil;
5370 }
5371 
5372 
5373 SWIGINTERN VALUE
_wrap_svn_ra_get_path_relative_to_root(int argc,VALUE * argv,VALUE self)5374 _wrap_svn_ra_get_path_relative_to_root(int argc, VALUE *argv, VALUE self) {
5375   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
5376   char **arg2 = (char **) 0 ;
5377   char *arg3 = (char *) 0 ;
5378   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
5379   VALUE _global_svn_swig_rb_pool ;
5380   apr_pool_t *_global_pool ;
5381   void *argp1 = 0 ;
5382   int res1 = 0 ;
5383   char *temp2 ;
5384   int res3 ;
5385   char *buf3 = 0 ;
5386   int alloc3 = 0 ;
5387   svn_error_t *result = 0 ;
5388   VALUE vresult = Qnil;
5389 
5390   {
5391     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
5392     _global_pool = arg4;
5393     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
5394   }
5395   arg2 = &temp2;
5396   if ((argc < 2) || (argc > 3)) {
5397     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
5398   }
5399   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
5400   if (!SWIG_IsOK(res1)) {
5401     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_path_relative_to_root", 1, argv[0] ));
5402   }
5403   arg1 = (svn_ra_session_t *)(argp1);
5404   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
5405   if (!SWIG_IsOK(res3)) {
5406     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_get_path_relative_to_root", 3, argv[1] ));
5407   }
5408   arg3 = (char *)(buf3);
5409   if (argc > 2) {
5410 
5411   }
5412   {
5413     result = (svn_error_t *)svn_ra_get_path_relative_to_root(arg1,(char const **)arg2,(char const *)arg3,arg4);
5414 
5415 
5416 
5417   }
5418   {
5419     if (result) {
5420       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5421       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5422       svn_swig_rb_handle_svn_error(result);
5423     }
5424     vresult = Qnil;
5425   }
5426   {
5427     if (*arg2) {
5428       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg2));
5429     } else {
5430       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
5431     }
5432   }
5433   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5434   {
5435     VALUE target;
5436     target = _global_vresult_address == &vresult ? self : vresult;
5437     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5438     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5439     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5440   }
5441   return vresult;
5442 fail:
5443   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5444   {
5445     VALUE target;
5446     target = _global_vresult_address == &vresult ? self : vresult;
5447     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5448     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5449     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5450   }
5451   return Qnil;
5452 }
5453 
5454 
5455 SWIGINTERN VALUE
_wrap_svn_ra_get_latest_revnum(int argc,VALUE * argv,VALUE self)5456 _wrap_svn_ra_get_latest_revnum(int argc, VALUE *argv, VALUE self) {
5457   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
5458   svn_revnum_t *arg2 = (svn_revnum_t *) 0 ;
5459   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
5460   VALUE _global_svn_swig_rb_pool ;
5461   apr_pool_t *_global_pool ;
5462   void *argp1 = 0 ;
5463   int res1 = 0 ;
5464   svn_revnum_t temp2 ;
5465   int res2 = SWIG_TMPOBJ ;
5466   svn_error_t *result = 0 ;
5467   VALUE vresult = Qnil;
5468 
5469   {
5470     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
5471     _global_pool = arg3;
5472     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
5473   }
5474   arg2 = &temp2;
5475   if ((argc < 1) || (argc > 2)) {
5476     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5477   }
5478   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
5479   if (!SWIG_IsOK(res1)) {
5480     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_latest_revnum", 1, argv[0] ));
5481   }
5482   arg1 = (svn_ra_session_t *)(argp1);
5483   if (argc > 1) {
5484 
5485   }
5486   {
5487     result = (svn_error_t *)svn_ra_get_latest_revnum(arg1,arg2,arg3);
5488 
5489 
5490 
5491   }
5492   {
5493     if (result) {
5494       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5495       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5496       svn_swig_rb_handle_svn_error(result);
5497     }
5498     vresult = Qnil;
5499   }
5500   if (SWIG_IsTmpObj(res2)) {
5501     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg2)));
5502   } else {
5503     int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
5504     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
5505   }
5506   {
5507     VALUE target;
5508     target = _global_vresult_address == &vresult ? self : vresult;
5509     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5510     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5511     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5512   }
5513   return vresult;
5514 fail:
5515   {
5516     VALUE target;
5517     target = _global_vresult_address == &vresult ? self : vresult;
5518     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5519     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5520     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5521   }
5522   return Qnil;
5523 }
5524 
5525 
5526 SWIGINTERN VALUE
_wrap_svn_ra_get_dated_revision(int argc,VALUE * argv,VALUE self)5527 _wrap_svn_ra_get_dated_revision(int argc, VALUE *argv, VALUE self) {
5528   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
5529   svn_revnum_t *arg2 = (svn_revnum_t *) 0 ;
5530   apr_time_t arg3 ;
5531   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
5532   VALUE _global_svn_swig_rb_pool ;
5533   apr_pool_t *_global_pool ;
5534   void *argp1 = 0 ;
5535   int res1 = 0 ;
5536   svn_revnum_t temp2 ;
5537   int res2 = SWIG_TMPOBJ ;
5538   svn_error_t *result = 0 ;
5539   VALUE vresult = Qnil;
5540 
5541   {
5542     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
5543     _global_pool = arg4;
5544     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
5545   }
5546   arg2 = &temp2;
5547   if ((argc < 2) || (argc > 3)) {
5548     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
5549   }
5550   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
5551   if (!SWIG_IsOK(res1)) {
5552     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_dated_revision", 1, argv[0] ));
5553   }
5554   arg1 = (svn_ra_session_t *)(argp1);
5555   {
5556     arg3 = (apr_time_t)NUM2LL(argv[1]);
5557   }
5558   if (argc > 2) {
5559 
5560   }
5561   {
5562     result = (svn_error_t *)svn_ra_get_dated_revision(arg1,arg2,arg3,arg4);
5563 
5564 
5565 
5566   }
5567   {
5568     if (result) {
5569       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5570       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5571       svn_swig_rb_handle_svn_error(result);
5572     }
5573     vresult = Qnil;
5574   }
5575   if (SWIG_IsTmpObj(res2)) {
5576     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg2)));
5577   } else {
5578     int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
5579     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
5580   }
5581   {
5582     VALUE target;
5583     target = _global_vresult_address == &vresult ? self : vresult;
5584     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5585     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5586     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5587   }
5588   return vresult;
5589 fail:
5590   {
5591     VALUE target;
5592     target = _global_vresult_address == &vresult ? self : vresult;
5593     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5594     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5595     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5596   }
5597   return Qnil;
5598 }
5599 
5600 
5601 SWIGINTERN VALUE
_wrap_svn_ra_change_rev_prop2(int argc,VALUE * argv,VALUE self)5602 _wrap_svn_ra_change_rev_prop2(int argc, VALUE *argv, VALUE self) {
5603   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
5604   svn_revnum_t arg2 ;
5605   char *arg3 = (char *) 0 ;
5606   svn_string_t **arg4 = (svn_string_t **) 0 ;
5607   svn_string_t *arg5 = (svn_string_t *) 0 ;
5608   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
5609   VALUE _global_svn_swig_rb_pool ;
5610   apr_pool_t *_global_pool ;
5611   void *argp1 = 0 ;
5612   int res1 = 0 ;
5613   long val2 ;
5614   int ecode2 = 0 ;
5615   int res3 ;
5616   char *buf3 = 0 ;
5617   int alloc3 = 0 ;
5618   svn_string_t value5 ;
5619   svn_error_t *result = 0 ;
5620   VALUE vresult = Qnil;
5621 
5622   {
5623     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
5624     _global_pool = arg6;
5625     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
5626   }
5627   if ((argc < 5) || (argc > 6)) {
5628     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
5629   }
5630   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
5631   if (!SWIG_IsOK(res1)) {
5632     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_change_rev_prop2", 1, argv[0] ));
5633   }
5634   arg1 = (svn_ra_session_t *)(argp1);
5635   ecode2 = SWIG_AsVal_long(argv[1], &val2);
5636   if (!SWIG_IsOK(ecode2)) {
5637     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_change_rev_prop2", 2, argv[1] ));
5638   }
5639   arg2 = (svn_revnum_t)(val2);
5640   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
5641   if (!SWIG_IsOK(res3)) {
5642     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_change_rev_prop2", 3, argv[2] ));
5643   }
5644   arg3 = (char *)(buf3);
5645   {
5646     SWIG_exception(SWIG_ValueError, "svn_ra_change_rev_prop2 is not implemented yet");
5647 
5648   }
5649   {
5650     if (NIL_P(argv[4])) {
5651       arg5 = NULL;
5652     } else {
5653       value5.data = StringValuePtr(argv[4]);
5654       value5.len = RSTRING_LEN(argv[4]);
5655       arg5 = &value5;
5656     }
5657   }
5658   if (argc > 5) {
5659 
5660   }
5661   {
5662     result = (svn_error_t *)svn_ra_change_rev_prop2(arg1,arg2,(char const *)arg3,(struct svn_string_t const *const *)arg4,(struct svn_string_t const *)arg5,arg6);
5663 
5664 
5665 
5666   }
5667   {
5668     if (result) {
5669       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5670       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5671       svn_swig_rb_handle_svn_error(result);
5672     }
5673     vresult = Qnil;
5674   }
5675   {
5676     if (*arg4) {
5677       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new((*arg4)->data, (*arg4)->len));
5678     } else {
5679       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
5680     }
5681   }
5682   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5683   {
5684     VALUE target;
5685     target = _global_vresult_address == &vresult ? self : vresult;
5686     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5687     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5688     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5689   }
5690   return vresult;
5691 fail:
5692   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5693   {
5694     VALUE target;
5695     target = _global_vresult_address == &vresult ? self : vresult;
5696     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5697     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5698     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5699   }
5700   return Qnil;
5701 }
5702 
5703 
5704 SWIGINTERN VALUE
_wrap_svn_ra_change_rev_prop(int argc,VALUE * argv,VALUE self)5705 _wrap_svn_ra_change_rev_prop(int argc, VALUE *argv, VALUE self) {
5706   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
5707   svn_revnum_t arg2 ;
5708   char *arg3 = (char *) 0 ;
5709   svn_string_t *arg4 = (svn_string_t *) 0 ;
5710   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
5711   VALUE _global_svn_swig_rb_pool ;
5712   apr_pool_t *_global_pool ;
5713   void *argp1 = 0 ;
5714   int res1 = 0 ;
5715   long val2 ;
5716   int ecode2 = 0 ;
5717   int res3 ;
5718   char *buf3 = 0 ;
5719   int alloc3 = 0 ;
5720   svn_string_t value4 ;
5721   svn_error_t *result = 0 ;
5722   VALUE vresult = Qnil;
5723 
5724   {
5725     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
5726     _global_pool = arg5;
5727     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
5728   }
5729   if ((argc < 4) || (argc > 5)) {
5730     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
5731   }
5732   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
5733   if (!SWIG_IsOK(res1)) {
5734     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_change_rev_prop", 1, argv[0] ));
5735   }
5736   arg1 = (svn_ra_session_t *)(argp1);
5737   ecode2 = SWIG_AsVal_long(argv[1], &val2);
5738   if (!SWIG_IsOK(ecode2)) {
5739     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_change_rev_prop", 2, argv[1] ));
5740   }
5741   arg2 = (svn_revnum_t)(val2);
5742   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
5743   if (!SWIG_IsOK(res3)) {
5744     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_change_rev_prop", 3, argv[2] ));
5745   }
5746   arg3 = (char *)(buf3);
5747   {
5748     if (NIL_P(argv[3])) {
5749       arg4 = NULL;
5750     } else {
5751       value4.data = StringValuePtr(argv[3]);
5752       value4.len = RSTRING_LEN(argv[3]);
5753       arg4 = &value4;
5754     }
5755   }
5756   if (argc > 4) {
5757 
5758   }
5759   {
5760     result = (svn_error_t *)svn_ra_change_rev_prop(arg1,arg2,(char const *)arg3,(struct svn_string_t const *)arg4,arg5);
5761 
5762 
5763 
5764   }
5765   {
5766     if (result) {
5767       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5768       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5769       svn_swig_rb_handle_svn_error(result);
5770     }
5771     vresult = Qnil;
5772   }
5773   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5774   {
5775     VALUE target;
5776     target = _global_vresult_address == &vresult ? self : vresult;
5777     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5778     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5779     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5780   }
5781   return vresult;
5782 fail:
5783   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5784   {
5785     VALUE target;
5786     target = _global_vresult_address == &vresult ? self : vresult;
5787     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5788     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5789     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5790   }
5791   return Qnil;
5792 }
5793 
5794 
5795 SWIGINTERN VALUE
_wrap_svn_ra_rev_proplist(int argc,VALUE * argv,VALUE self)5796 _wrap_svn_ra_rev_proplist(int argc, VALUE *argv, VALUE self) {
5797   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
5798   svn_revnum_t arg2 ;
5799   apr_hash_t **arg3 = (apr_hash_t **) 0 ;
5800   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
5801   VALUE _global_svn_swig_rb_pool ;
5802   apr_pool_t *_global_pool ;
5803   void *argp1 = 0 ;
5804   int res1 = 0 ;
5805   long val2 ;
5806   int ecode2 = 0 ;
5807   apr_hash_t *temp3 ;
5808   svn_error_t *result = 0 ;
5809   VALUE vresult = Qnil;
5810 
5811   {
5812     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
5813     _global_pool = arg4;
5814     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
5815   }
5816   arg3 = &temp3;
5817   if ((argc < 2) || (argc > 3)) {
5818     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
5819   }
5820   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
5821   if (!SWIG_IsOK(res1)) {
5822     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_rev_proplist", 1, argv[0] ));
5823   }
5824   arg1 = (svn_ra_session_t *)(argp1);
5825   ecode2 = SWIG_AsVal_long(argv[1], &val2);
5826   if (!SWIG_IsOK(ecode2)) {
5827     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_rev_proplist", 2, argv[1] ));
5828   }
5829   arg2 = (svn_revnum_t)(val2);
5830   if (argc > 2) {
5831 
5832   }
5833   {
5834     result = (svn_error_t *)svn_ra_rev_proplist(arg1,arg2,arg3,arg4);
5835 
5836 
5837 
5838   }
5839   {
5840     if (result) {
5841       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5842       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5843       svn_swig_rb_handle_svn_error(result);
5844     }
5845     vresult = Qnil;
5846   }
5847   {
5848     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_svn_string(*arg3));
5849   }
5850   {
5851     VALUE target;
5852     target = _global_vresult_address == &vresult ? self : vresult;
5853     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5854     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5855     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5856   }
5857   return vresult;
5858 fail:
5859   {
5860     VALUE target;
5861     target = _global_vresult_address == &vresult ? self : vresult;
5862     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5863     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5864     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5865   }
5866   return Qnil;
5867 }
5868 
5869 
5870 SWIGINTERN VALUE
_wrap_svn_ra_rev_prop(int argc,VALUE * argv,VALUE self)5871 _wrap_svn_ra_rev_prop(int argc, VALUE *argv, VALUE self) {
5872   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
5873   svn_revnum_t arg2 ;
5874   char *arg3 = (char *) 0 ;
5875   svn_string_t **arg4 = (svn_string_t **) 0 ;
5876   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
5877   VALUE _global_svn_swig_rb_pool ;
5878   apr_pool_t *_global_pool ;
5879   void *argp1 = 0 ;
5880   int res1 = 0 ;
5881   long val2 ;
5882   int ecode2 = 0 ;
5883   int res3 ;
5884   char *buf3 = 0 ;
5885   int alloc3 = 0 ;
5886   svn_string_t *temp4 ;
5887   svn_error_t *result = 0 ;
5888   VALUE vresult = Qnil;
5889 
5890   {
5891     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
5892     _global_pool = arg5;
5893     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
5894   }
5895   arg4 = &temp4;
5896   if ((argc < 3) || (argc > 4)) {
5897     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
5898   }
5899   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
5900   if (!SWIG_IsOK(res1)) {
5901     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_rev_prop", 1, argv[0] ));
5902   }
5903   arg1 = (svn_ra_session_t *)(argp1);
5904   ecode2 = SWIG_AsVal_long(argv[1], &val2);
5905   if (!SWIG_IsOK(ecode2)) {
5906     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_rev_prop", 2, argv[1] ));
5907   }
5908   arg2 = (svn_revnum_t)(val2);
5909   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
5910   if (!SWIG_IsOK(res3)) {
5911     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_rev_prop", 3, argv[2] ));
5912   }
5913   arg3 = (char *)(buf3);
5914   if (argc > 3) {
5915 
5916   }
5917   {
5918     result = (svn_error_t *)svn_ra_rev_prop(arg1,arg2,(char const *)arg3,arg4,arg5);
5919 
5920 
5921 
5922   }
5923   {
5924     if (result) {
5925       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5926       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5927       svn_swig_rb_handle_svn_error(result);
5928     }
5929     vresult = Qnil;
5930   }
5931   {
5932     if (*arg4) {
5933       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new((*arg4)->data, (*arg4)->len));
5934     } else {
5935       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
5936     }
5937   }
5938   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5939   {
5940     VALUE target;
5941     target = _global_vresult_address == &vresult ? self : vresult;
5942     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5943     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5944     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5945   }
5946   return vresult;
5947 fail:
5948   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5949   {
5950     VALUE target;
5951     target = _global_vresult_address == &vresult ? self : vresult;
5952     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
5953     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
5954     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
5955   }
5956   return Qnil;
5957 }
5958 
5959 
5960 SWIGINTERN VALUE
_wrap_svn_ra_get_commit_editor3(int argc,VALUE * argv,VALUE self)5961 _wrap_svn_ra_get_commit_editor3(int argc, VALUE *argv, VALUE self) {
5962   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
5963   svn_delta_editor_t **arg2 = (svn_delta_editor_t **) 0 ;
5964   void **arg3 = (void **) 0 ;
5965   apr_hash_t *arg4 = (apr_hash_t *) 0 ;
5966   svn_commit_callback2_t arg5 = (svn_commit_callback2_t) 0 ;
5967   void *arg6 = (void *) 0 ;
5968   apr_hash_t *arg7 = (apr_hash_t *) 0 ;
5969   svn_boolean_t arg8 ;
5970   apr_pool_t *arg9 = (apr_pool_t *) 0 ;
5971   VALUE _global_svn_swig_rb_pool ;
5972   apr_pool_t *_global_pool ;
5973   void *argp1 = 0 ;
5974   int res1 = 0 ;
5975   svn_delta_editor_t *temp2 ;
5976   void *temp3 ;
5977   svn_error_t *result = 0 ;
5978   VALUE vresult = Qnil;
5979 
5980   {
5981     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg9);
5982     _global_pool = arg9;
5983     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
5984   }
5985   arg2 = &temp2;
5986   arg3 = &temp3;
5987   if ((argc < 5) || (argc > 6)) {
5988     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
5989   }
5990   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
5991   if (!SWIG_IsOK(res1)) {
5992     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_commit_editor3", 1, argv[0] ));
5993   }
5994   arg1 = (svn_ra_session_t *)(argp1);
5995   {
5996     VALUE rb_pool = Qnil;
5997     if (!_global_pool) {
5998       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
5999       svn_swig_rb_push_pool(rb_pool);
6000     }
6001     arg4 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[1], _global_pool);
6002     _global_pool = NULL;
6003     if (!NIL_P(rb_pool)) {
6004       if (NIL_P(arg4)) {
6005         svn_swig_rb_destroy_pool(rb_pool);
6006       } else {
6007         svn_swig_rb_set_pool_for_no_swig_type(argv[1], rb_pool);
6008       }
6009       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6010     }
6011   }
6012   {
6013     arg5 = svn_swig_rb_commit_callback2;
6014     arg6 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
6015   }
6016   {
6017     VALUE rb_pool = Qnil;
6018     if (!_global_pool) {
6019       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
6020       svn_swig_rb_push_pool(rb_pool);
6021     }
6022     arg7 = (NIL_P(argv[3])) ? NULL :
6023     svn_swig_rb_hash_to_apr_hash_string(argv[3], _global_pool);
6024     _global_pool = NULL;
6025     if (!NIL_P(rb_pool)) {
6026       if (NIL_P(arg7)) {
6027         svn_swig_rb_destroy_pool(rb_pool);
6028       } else {
6029         svn_swig_rb_set_pool_for_no_swig_type(argv[3], rb_pool);
6030       }
6031       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6032     }
6033   }
6034   arg8 = RTEST(argv[4]);
6035   if (argc > 5) {
6036 
6037   }
6038   {
6039     result = (svn_error_t *)svn_ra_get_commit_editor3(arg1,(struct svn_delta_editor_t const **)arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
6040 
6041 
6042 
6043   }
6044   {
6045     if (result) {
6046       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6047       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6048       svn_swig_rb_handle_svn_error(result);
6049     }
6050     vresult = Qnil;
6051   }
6052   {
6053     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_svn_delta_editor_t, 0));
6054   }
6055   {
6056     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg3, SWIGTYPE_p_void, 0));
6057   }
6058   {
6059     svn_swig_rb_set_baton(vresult, (VALUE)arg6);
6060   }
6061   {
6062     VALUE target;
6063     target = _global_vresult_address == &vresult ? self : vresult;
6064     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
6065     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6066     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6067   }
6068   return vresult;
6069 fail:
6070   {
6071     VALUE target;
6072     target = _global_vresult_address == &vresult ? self : vresult;
6073     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
6074     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6075     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6076   }
6077   return Qnil;
6078 }
6079 
6080 
6081 SWIGINTERN VALUE
_wrap_svn_ra_get_commit_editor2(int argc,VALUE * argv,VALUE self)6082 _wrap_svn_ra_get_commit_editor2(int argc, VALUE *argv, VALUE self) {
6083   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
6084   svn_delta_editor_t **arg2 = (svn_delta_editor_t **) 0 ;
6085   void **arg3 = (void **) 0 ;
6086   char *arg4 = (char *) 0 ;
6087   svn_commit_callback2_t arg5 = (svn_commit_callback2_t) 0 ;
6088   void *arg6 = (void *) 0 ;
6089   apr_hash_t *arg7 = (apr_hash_t *) 0 ;
6090   svn_boolean_t arg8 ;
6091   apr_pool_t *arg9 = (apr_pool_t *) 0 ;
6092   VALUE _global_svn_swig_rb_pool ;
6093   apr_pool_t *_global_pool ;
6094   void *argp1 = 0 ;
6095   int res1 = 0 ;
6096   svn_delta_editor_t *temp2 ;
6097   void *temp3 ;
6098   int res4 ;
6099   char *buf4 = 0 ;
6100   int alloc4 = 0 ;
6101   svn_error_t *result = 0 ;
6102   VALUE vresult = Qnil;
6103 
6104   {
6105     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg9);
6106     _global_pool = arg9;
6107     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
6108   }
6109   arg2 = &temp2;
6110   arg3 = &temp3;
6111   if ((argc < 5) || (argc > 6)) {
6112     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
6113   }
6114   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
6115   if (!SWIG_IsOK(res1)) {
6116     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_commit_editor2", 1, argv[0] ));
6117   }
6118   arg1 = (svn_ra_session_t *)(argp1);
6119   res4 = SWIG_AsCharPtrAndSize(argv[1], &buf4, NULL, &alloc4);
6120   if (!SWIG_IsOK(res4)) {
6121     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_ra_get_commit_editor2", 4, argv[1] ));
6122   }
6123   arg4 = (char *)(buf4);
6124   {
6125     arg5 = svn_swig_rb_commit_callback2;
6126     arg6 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
6127   }
6128   {
6129     VALUE rb_pool = Qnil;
6130     if (!_global_pool) {
6131       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
6132       svn_swig_rb_push_pool(rb_pool);
6133     }
6134     arg7 = (NIL_P(argv[3])) ? NULL :
6135     svn_swig_rb_hash_to_apr_hash_string(argv[3], _global_pool);
6136     _global_pool = NULL;
6137     if (!NIL_P(rb_pool)) {
6138       if (NIL_P(arg7)) {
6139         svn_swig_rb_destroy_pool(rb_pool);
6140       } else {
6141         svn_swig_rb_set_pool_for_no_swig_type(argv[3], rb_pool);
6142       }
6143       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6144     }
6145   }
6146   arg8 = RTEST(argv[4]);
6147   if (argc > 5) {
6148 
6149   }
6150   {
6151     result = (svn_error_t *)svn_ra_get_commit_editor2(arg1,(struct svn_delta_editor_t const **)arg2,arg3,(char const *)arg4,arg5,arg6,arg7,arg8,arg9);
6152 
6153 
6154 
6155   }
6156   {
6157     if (result) {
6158       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6159       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6160       svn_swig_rb_handle_svn_error(result);
6161     }
6162     vresult = Qnil;
6163   }
6164   {
6165     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_svn_delta_editor_t, 0));
6166   }
6167   {
6168     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg3, SWIGTYPE_p_void, 0));
6169   }
6170   {
6171     svn_swig_rb_set_baton(vresult, (VALUE)arg6);
6172   }
6173   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
6174   {
6175     VALUE target;
6176     target = _global_vresult_address == &vresult ? self : vresult;
6177     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
6178     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6179     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6180   }
6181   return vresult;
6182 fail:
6183   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
6184   {
6185     VALUE target;
6186     target = _global_vresult_address == &vresult ? self : vresult;
6187     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
6188     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6189     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6190   }
6191   return Qnil;
6192 }
6193 
6194 
6195 SWIGINTERN VALUE
_wrap_svn_ra_get_commit_editor(int argc,VALUE * argv,VALUE self)6196 _wrap_svn_ra_get_commit_editor(int argc, VALUE *argv, VALUE self) {
6197   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
6198   svn_delta_editor_t **arg2 = (svn_delta_editor_t **) 0 ;
6199   void **arg3 = (void **) 0 ;
6200   char *arg4 = (char *) 0 ;
6201   svn_commit_callback_t arg5 = (svn_commit_callback_t) 0 ;
6202   void *arg6 = (void *) 0 ;
6203   apr_hash_t *arg7 = (apr_hash_t *) 0 ;
6204   svn_boolean_t arg8 ;
6205   apr_pool_t *arg9 = (apr_pool_t *) 0 ;
6206   VALUE _global_svn_swig_rb_pool ;
6207   apr_pool_t *_global_pool ;
6208   void *argp1 = 0 ;
6209   int res1 = 0 ;
6210   svn_delta_editor_t *temp2 ;
6211   void *temp3 ;
6212   int res4 ;
6213   char *buf4 = 0 ;
6214   int alloc4 = 0 ;
6215   svn_error_t *result = 0 ;
6216   VALUE vresult = Qnil;
6217 
6218   {
6219     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg9);
6220     _global_pool = arg9;
6221     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
6222   }
6223   arg2 = &temp2;
6224   arg3 = &temp3;
6225   if ((argc < 5) || (argc > 6)) {
6226     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
6227   }
6228   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
6229   if (!SWIG_IsOK(res1)) {
6230     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_commit_editor", 1, argv[0] ));
6231   }
6232   arg1 = (svn_ra_session_t *)(argp1);
6233   res4 = SWIG_AsCharPtrAndSize(argv[1], &buf4, NULL, &alloc4);
6234   if (!SWIG_IsOK(res4)) {
6235     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_ra_get_commit_editor", 4, argv[1] ));
6236   }
6237   arg4 = (char *)(buf4);
6238   {
6239     arg5 = svn_swig_rb_commit_callback;
6240     arg6 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
6241   }
6242   {
6243     VALUE rb_pool = Qnil;
6244     if (!_global_pool) {
6245       svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
6246       svn_swig_rb_push_pool(rb_pool);
6247     }
6248     arg7 = (NIL_P(argv[3])) ? NULL :
6249     svn_swig_rb_hash_to_apr_hash_string(argv[3], _global_pool);
6250     _global_pool = NULL;
6251     if (!NIL_P(rb_pool)) {
6252       if (NIL_P(arg7)) {
6253         svn_swig_rb_destroy_pool(rb_pool);
6254       } else {
6255         svn_swig_rb_set_pool_for_no_swig_type(argv[3], rb_pool);
6256       }
6257       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6258     }
6259   }
6260   arg8 = RTEST(argv[4]);
6261   if (argc > 5) {
6262 
6263   }
6264   {
6265     result = (svn_error_t *)svn_ra_get_commit_editor(arg1,(struct svn_delta_editor_t const **)arg2,arg3,(char const *)arg4,arg5,arg6,arg7,arg8,arg9);
6266 
6267 
6268 
6269   }
6270   {
6271     if (result) {
6272       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6273       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6274       svn_swig_rb_handle_svn_error(result);
6275     }
6276     vresult = Qnil;
6277   }
6278   {
6279     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_svn_delta_editor_t, 0));
6280   }
6281   {
6282     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg3, SWIGTYPE_p_void, 0));
6283   }
6284   {
6285     svn_swig_rb_set_baton(vresult, (VALUE)arg6);
6286   }
6287   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
6288   {
6289     VALUE target;
6290     target = _global_vresult_address == &vresult ? self : vresult;
6291     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
6292     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6293     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6294   }
6295   return vresult;
6296 fail:
6297   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
6298   {
6299     VALUE target;
6300     target = _global_vresult_address == &vresult ? self : vresult;
6301     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
6302     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6303     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6304   }
6305   return Qnil;
6306 }
6307 
6308 
6309 SWIGINTERN VALUE
_wrap_svn_ra_get_file(int argc,VALUE * argv,VALUE self)6310 _wrap_svn_ra_get_file(int argc, VALUE *argv, VALUE self) {
6311   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
6312   char *arg2 = (char *) 0 ;
6313   svn_revnum_t arg3 ;
6314   svn_stream_t *arg4 = (svn_stream_t *) 0 ;
6315   svn_revnum_t *arg5 = (svn_revnum_t *) 0 ;
6316   apr_hash_t **arg6 = (apr_hash_t **) 0 ;
6317   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
6318   VALUE _global_svn_swig_rb_pool ;
6319   apr_pool_t *_global_pool ;
6320   void *argp1 = 0 ;
6321   int res1 = 0 ;
6322   int res2 ;
6323   char *buf2 = 0 ;
6324   int alloc2 = 0 ;
6325   long val3 ;
6326   int ecode3 = 0 ;
6327   svn_revnum_t temp5 ;
6328   int res5 = SWIG_TMPOBJ ;
6329   apr_hash_t *temp6 ;
6330   svn_error_t *result = 0 ;
6331   VALUE vresult = Qnil;
6332 
6333   {
6334     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7);
6335     _global_pool = arg7;
6336     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
6337   }
6338   arg5 = &temp5;
6339   arg6 = &temp6;
6340   if ((argc < 4) || (argc > 5)) {
6341     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
6342   }
6343   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
6344   if (!SWIG_IsOK(res1)) {
6345     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_file", 1, argv[0] ));
6346   }
6347   arg1 = (svn_ra_session_t *)(argp1);
6348   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
6349   if (!SWIG_IsOK(res2)) {
6350     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_ra_get_file", 2, argv[1] ));
6351   }
6352   arg2 = (char *)(buf2);
6353   ecode3 = SWIG_AsVal_long(argv[2], &val3);
6354   if (!SWIG_IsOK(ecode3)) {
6355     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_get_file", 3, argv[2] ));
6356   }
6357   arg3 = (svn_revnum_t)(val3);
6358   {
6359     arg4 = svn_swig_rb_make_stream(argv[3]);
6360   }
6361   if (argc > 4) {
6362 
6363   }
6364   {
6365     result = (svn_error_t *)svn_ra_get_file(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7);
6366 
6367 
6368 
6369   }
6370   {
6371     if (result) {
6372       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6373       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6374       svn_swig_rb_handle_svn_error(result);
6375     }
6376     vresult = Qnil;
6377   }
6378   if (SWIG_IsTmpObj(res5)) {
6379     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg5)));
6380   } else {
6381     int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
6382     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_long, new_flags));
6383   }
6384   {
6385     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_svn_string(*arg6));
6386   }
6387   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6388   {
6389     VALUE target;
6390     target = _global_vresult_address == &vresult ? self : vresult;
6391     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
6392     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6393     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6394   }
6395   return vresult;
6396 fail:
6397   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6398   {
6399     VALUE target;
6400     target = _global_vresult_address == &vresult ? self : vresult;
6401     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
6402     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6403     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6404   }
6405   return Qnil;
6406 }
6407 
6408 
6409 SWIGINTERN VALUE
_wrap_svn_ra_get_dir2(int argc,VALUE * argv,VALUE self)6410 _wrap_svn_ra_get_dir2(int argc, VALUE *argv, VALUE self) {
6411   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
6412   apr_hash_t **arg2 = (apr_hash_t **) 0 ;
6413   svn_revnum_t *arg3 = (svn_revnum_t *) 0 ;
6414   apr_hash_t **arg4 = (apr_hash_t **) 0 ;
6415   char *arg5 = (char *) 0 ;
6416   svn_revnum_t arg6 ;
6417   apr_uint32_t arg7 ;
6418   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
6419   VALUE _global_svn_swig_rb_pool ;
6420   apr_pool_t *_global_pool ;
6421   void *argp1 = 0 ;
6422   int res1 = 0 ;
6423   apr_hash_t *temp2 ;
6424   svn_revnum_t temp3 ;
6425   int res3 = SWIG_TMPOBJ ;
6426   apr_hash_t *temp4 ;
6427   int res5 ;
6428   char *buf5 = 0 ;
6429   int alloc5 = 0 ;
6430   long val6 ;
6431   int ecode6 = 0 ;
6432   unsigned long val7 ;
6433   int ecode7 = 0 ;
6434   svn_error_t *result = 0 ;
6435   VALUE vresult = Qnil;
6436 
6437   {
6438     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8);
6439     _global_pool = arg8;
6440     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
6441   }
6442   arg2 = &temp2;
6443   arg3 = &temp3;
6444   arg4 = &temp4;
6445   if ((argc < 4) || (argc > 5)) {
6446     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
6447   }
6448   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
6449   if (!SWIG_IsOK(res1)) {
6450     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_dir2", 1, argv[0] ));
6451   }
6452   arg1 = (svn_ra_session_t *)(argp1);
6453   res5 = SWIG_AsCharPtrAndSize(argv[1], &buf5, NULL, &alloc5);
6454   if (!SWIG_IsOK(res5)) {
6455     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_ra_get_dir2", 5, argv[1] ));
6456   }
6457   arg5 = (char *)(buf5);
6458   ecode6 = SWIG_AsVal_long(argv[2], &val6);
6459   if (!SWIG_IsOK(ecode6)) {
6460     SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_get_dir2", 6, argv[2] ));
6461   }
6462   arg6 = (svn_revnum_t)(val6);
6463   ecode7 = SWIG_AsVal_unsigned_SS_long(argv[3], &val7);
6464   if (!SWIG_IsOK(ecode7)) {
6465     SWIG_exception_fail(SWIG_ArgError(ecode7), Ruby_Format_TypeError( "", "apr_uint32_t","svn_ra_get_dir2", 7, argv[3] ));
6466   }
6467   arg7 = (apr_uint32_t)(val7);
6468   if (argc > 4) {
6469 
6470   }
6471   {
6472     result = (svn_error_t *)svn_ra_get_dir2(arg1,arg2,arg3,arg4,(char const *)arg5,arg6,arg7,arg8);
6473 
6474 
6475 
6476   }
6477   {
6478     if (result) {
6479       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6480       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6481       svn_swig_rb_handle_svn_error(result);
6482     }
6483     vresult = Qnil;
6484   }
6485   {
6486     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_swig_type(*arg2,
6487         "svn_dirent_t *"))
6488 
6489     ;
6490   }
6491   if (SWIG_IsTmpObj(res3)) {
6492     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg3)));
6493   } else {
6494     int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
6495     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
6496   }
6497   {
6498     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_svn_string(*arg4));
6499   }
6500   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
6501   {
6502     VALUE target;
6503     target = _global_vresult_address == &vresult ? self : vresult;
6504     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
6505     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6506     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6507   }
6508   return vresult;
6509 fail:
6510   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
6511   {
6512     VALUE target;
6513     target = _global_vresult_address == &vresult ? self : vresult;
6514     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
6515     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6516     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6517   }
6518   return Qnil;
6519 }
6520 
6521 
6522 SWIGINTERN VALUE
_wrap_svn_ra_get_dir(int argc,VALUE * argv,VALUE self)6523 _wrap_svn_ra_get_dir(int argc, VALUE *argv, VALUE self) {
6524   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
6525   char *arg2 = (char *) 0 ;
6526   svn_revnum_t arg3 ;
6527   apr_hash_t **arg4 = (apr_hash_t **) 0 ;
6528   svn_revnum_t *arg5 = (svn_revnum_t *) 0 ;
6529   apr_hash_t **arg6 = (apr_hash_t **) 0 ;
6530   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
6531   VALUE _global_svn_swig_rb_pool ;
6532   apr_pool_t *_global_pool ;
6533   void *argp1 = 0 ;
6534   int res1 = 0 ;
6535   int res2 ;
6536   char *buf2 = 0 ;
6537   int alloc2 = 0 ;
6538   long val3 ;
6539   int ecode3 = 0 ;
6540   apr_hash_t *temp4 ;
6541   svn_revnum_t temp5 ;
6542   int res5 = SWIG_TMPOBJ ;
6543   apr_hash_t *temp6 ;
6544   svn_error_t *result = 0 ;
6545   VALUE vresult = Qnil;
6546 
6547   {
6548     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7);
6549     _global_pool = arg7;
6550     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
6551   }
6552   arg4 = &temp4;
6553   arg5 = &temp5;
6554   arg6 = &temp6;
6555   if ((argc < 3) || (argc > 4)) {
6556     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
6557   }
6558   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
6559   if (!SWIG_IsOK(res1)) {
6560     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_dir", 1, argv[0] ));
6561   }
6562   arg1 = (svn_ra_session_t *)(argp1);
6563   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
6564   if (!SWIG_IsOK(res2)) {
6565     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_ra_get_dir", 2, argv[1] ));
6566   }
6567   arg2 = (char *)(buf2);
6568   ecode3 = SWIG_AsVal_long(argv[2], &val3);
6569   if (!SWIG_IsOK(ecode3)) {
6570     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_get_dir", 3, argv[2] ));
6571   }
6572   arg3 = (svn_revnum_t)(val3);
6573   if (argc > 3) {
6574 
6575   }
6576   {
6577     result = (svn_error_t *)svn_ra_get_dir(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7);
6578 
6579 
6580 
6581   }
6582   {
6583     if (result) {
6584       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6585       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6586       svn_swig_rb_handle_svn_error(result);
6587     }
6588     vresult = Qnil;
6589   }
6590   {
6591     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_swig_type(*arg4,
6592         "svn_dirent_t *"))
6593 
6594     ;
6595   }
6596   if (SWIG_IsTmpObj(res5)) {
6597     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg5)));
6598   } else {
6599     int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
6600     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_long, new_flags));
6601   }
6602   {
6603     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_svn_string(*arg6));
6604   }
6605   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6606   {
6607     VALUE target;
6608     target = _global_vresult_address == &vresult ? self : vresult;
6609     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
6610     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6611     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6612   }
6613   return vresult;
6614 fail:
6615   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6616   {
6617     VALUE target;
6618     target = _global_vresult_address == &vresult ? self : vresult;
6619     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
6620     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6621     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6622   }
6623   return Qnil;
6624 }
6625 
6626 
6627 SWIGINTERN VALUE
_wrap_svn_ra_list(int argc,VALUE * argv,VALUE self)6628 _wrap_svn_ra_list(int argc, VALUE *argv, VALUE self) {
6629   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
6630   char *arg2 = (char *) 0 ;
6631   svn_revnum_t arg3 ;
6632   apr_array_header_t *arg4 = (apr_array_header_t *) 0 ;
6633   svn_depth_t arg5 ;
6634   apr_uint32_t arg6 ;
6635   svn_ra_dirent_receiver_t arg7 = (svn_ra_dirent_receiver_t) 0 ;
6636   void *arg8 = (void *) 0 ;
6637   apr_pool_t *arg9 = (apr_pool_t *) 0 ;
6638   VALUE _global_svn_swig_rb_pool ;
6639   apr_pool_t *_global_pool ;
6640   void *argp1 = 0 ;
6641   int res1 = 0 ;
6642   int res2 ;
6643   char *buf2 = 0 ;
6644   int alloc2 = 0 ;
6645   long val3 ;
6646   int ecode3 = 0 ;
6647   void *argp4 = 0 ;
6648   int res4 = 0 ;
6649   unsigned long val6 ;
6650   int ecode6 = 0 ;
6651   int res8 ;
6652   svn_error_t *result = 0 ;
6653   VALUE vresult = Qnil;
6654 
6655   {
6656     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg9);
6657     _global_pool = arg9;
6658     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
6659   }
6660   if ((argc < 8) || (argc > 9)) {
6661     rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
6662   }
6663   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
6664   if (!SWIG_IsOK(res1)) {
6665     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_list", 1, argv[0] ));
6666   }
6667   arg1 = (svn_ra_session_t *)(argp1);
6668   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
6669   if (!SWIG_IsOK(res2)) {
6670     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_ra_list", 2, argv[1] ));
6671   }
6672   arg2 = (char *)(buf2);
6673   ecode3 = SWIG_AsVal_long(argv[2], &val3);
6674   if (!SWIG_IsOK(ecode3)) {
6675     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_list", 3, argv[2] ));
6676   }
6677   arg3 = (svn_revnum_t)(val3);
6678   res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_apr_array_header_t, 0 |  0 );
6679   if (!SWIG_IsOK(res4)) {
6680     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "apr_array_header_t const *","svn_ra_list", 4, argv[3] ));
6681   }
6682   arg4 = (apr_array_header_t *)(argp4);
6683   {
6684     arg5 = svn_swig_rb_to_depth(argv[4]);
6685   }
6686   ecode6 = SWIG_AsVal_unsigned_SS_long(argv[5], &val6);
6687   if (!SWIG_IsOK(ecode6)) {
6688     SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "apr_uint32_t","svn_ra_list", 6, argv[5] ));
6689   }
6690   arg6 = (apr_uint32_t)(val6);
6691   {
6692     int res = SWIG_ConvertFunctionPtr(argv[6], (void**)(&arg7), SWIGTYPE_p_f_p_q_const__char_p_svn_dirent_t_p_void_p_apr_pool_t__p_svn_error_t);
6693     if (!SWIG_IsOK(res)) {
6694       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_dirent_receiver_t","svn_ra_list", 7, argv[6] ));
6695     }
6696   }
6697   res8 = SWIG_ConvertPtr(argv[7],SWIG_as_voidptrptr(&arg8), 0, 0);
6698   if (!SWIG_IsOK(res8)) {
6699     SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "void *","svn_ra_list", 8, argv[7] ));
6700   }
6701   if (argc > 8) {
6702 
6703   }
6704   {
6705     result = (svn_error_t *)svn_ra_list(arg1,(char const *)arg2,arg3,(apr_array_header_t const *)arg4,arg5,arg6,arg7,arg8,arg9);
6706 
6707 
6708 
6709   }
6710   {
6711     if (result) {
6712       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6713       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6714       svn_swig_rb_handle_svn_error(result);
6715     }
6716     vresult = Qnil;
6717   }
6718   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6719   {
6720     VALUE target;
6721     target = _global_vresult_address == &vresult ? self : vresult;
6722     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
6723     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6724     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6725   }
6726   return vresult;
6727 fail:
6728   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6729   {
6730     VALUE target;
6731     target = _global_vresult_address == &vresult ? self : vresult;
6732     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
6733     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6734     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6735   }
6736   return Qnil;
6737 }
6738 
6739 
6740 SWIGINTERN VALUE
_wrap_svn_ra_get_mergeinfo(int argc,VALUE * argv,VALUE self)6741 _wrap_svn_ra_get_mergeinfo(int argc, VALUE *argv, VALUE self) {
6742   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
6743   svn_mergeinfo_catalog_t *arg2 = (svn_mergeinfo_catalog_t *) 0 ;
6744   apr_array_header_t *arg3 = (apr_array_header_t *) 0 ;
6745   svn_revnum_t arg4 ;
6746   svn_mergeinfo_inheritance_t arg5 ;
6747   svn_boolean_t arg6 ;
6748   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
6749   VALUE _global_svn_swig_rb_pool ;
6750   apr_pool_t *_global_pool ;
6751   void *argp1 = 0 ;
6752   int res1 = 0 ;
6753   svn_mergeinfo_catalog_t temp2 ;
6754   long val4 ;
6755   int ecode4 = 0 ;
6756   svn_error_t *result = 0 ;
6757   VALUE vresult = Qnil;
6758 
6759   {
6760     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7);
6761     _global_pool = arg7;
6762     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
6763   }
6764   arg2 = &temp2;
6765   if ((argc < 5) || (argc > 6)) {
6766     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
6767   }
6768   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
6769   if (!SWIG_IsOK(res1)) {
6770     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_mergeinfo", 1, argv[0] ));
6771   }
6772   arg1 = (svn_ra_session_t *)(argp1);
6773   {
6774     arg3 = svn_swig_rb_strings_to_apr_array(argv[1], _global_pool);
6775   }
6776   ecode4 = SWIG_AsVal_long(argv[2], &val4);
6777   if (!SWIG_IsOK(ecode4)) {
6778     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_get_mergeinfo", 4, argv[2] ));
6779   }
6780   arg4 = (svn_revnum_t)(val4);
6781   {
6782     arg5 = svn_swig_rb_to_mergeinfo_inheritance(argv[3]);
6783   }
6784   arg6 = RTEST(argv[4]);
6785   if (argc > 5) {
6786 
6787   }
6788   {
6789     result = (svn_error_t *)svn_ra_get_mergeinfo(arg1,arg2,(apr_array_header_t const *)arg3,arg4,arg5,arg6,arg7);
6790 
6791 
6792 
6793   }
6794   {
6795     if (result) {
6796       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6797       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6798       svn_swig_rb_handle_svn_error(result);
6799     }
6800     vresult = Qnil;
6801   }
6802   {
6803     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_merge_range_hash(*arg2));
6804   }
6805   {
6806     VALUE target;
6807     target = _global_vresult_address == &vresult ? self : vresult;
6808     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
6809     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6810     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6811   }
6812   return vresult;
6813 fail:
6814   {
6815     VALUE target;
6816     target = _global_vresult_address == &vresult ? self : vresult;
6817     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
6818     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6819     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6820   }
6821   return Qnil;
6822 }
6823 
6824 
6825 SWIGINTERN VALUE
_wrap_svn_ra_do_update3(int argc,VALUE * argv,VALUE self)6826 _wrap_svn_ra_do_update3(int argc, VALUE *argv, VALUE self) {
6827   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
6828   svn_ra_reporter3_t **arg2 = (svn_ra_reporter3_t **) 0 ;
6829   void **arg3 = (void **) 0 ;
6830   svn_revnum_t arg4 ;
6831   char *arg5 = (char *) 0 ;
6832   svn_depth_t arg6 ;
6833   svn_boolean_t arg7 ;
6834   svn_boolean_t arg8 ;
6835   svn_delta_editor_t *arg9 = (svn_delta_editor_t *) 0 ;
6836   void *arg10 = (void *) 0 ;
6837   apr_pool_t *arg11 = (apr_pool_t *) 0 ;
6838   apr_pool_t *arg12 = (apr_pool_t *) 0 ;
6839   VALUE _global_svn_swig_rb_pool ;
6840   apr_pool_t *_global_pool ;
6841   void *argp1 = 0 ;
6842   int res1 = 0 ;
6843   svn_ra_reporter3_t *temp2 ;
6844   void *temp3 ;
6845   long val4 ;
6846   int ecode4 = 0 ;
6847   int res5 ;
6848   char *buf5 = 0 ;
6849   int alloc5 = 0 ;
6850   svn_error_t *result = 0 ;
6851   VALUE vresult = Qnil;
6852 
6853   {
6854     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg11);
6855     _global_pool = arg11;
6856     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
6857   }
6858   {
6859     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg12);
6860     _global_pool = arg12;
6861     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
6862   }
6863   arg2 = &temp2;
6864   arg3 = &temp3;
6865   if ((argc < 7) || (argc > 9)) {
6866     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
6867   }
6868   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
6869   if (!SWIG_IsOK(res1)) {
6870     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_do_update3", 1, argv[0] ));
6871   }
6872   arg1 = (svn_ra_session_t *)(argp1);
6873   ecode4 = SWIG_AsVal_long(argv[1], &val4);
6874   if (!SWIG_IsOK(ecode4)) {
6875     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_do_update3", 4, argv[1] ));
6876   }
6877   arg4 = (svn_revnum_t)(val4);
6878   res5 = SWIG_AsCharPtrAndSize(argv[2], &buf5, NULL, &alloc5);
6879   if (!SWIG_IsOK(res5)) {
6880     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_ra_do_update3", 5, argv[2] ));
6881   }
6882   arg5 = (char *)(buf5);
6883   {
6884     arg6 = svn_swig_rb_to_depth(argv[3]);
6885   }
6886   arg7 = RTEST(argv[4]);
6887   arg8 = RTEST(argv[5]);
6888   {
6889     if (RTEST(rb_obj_is_kind_of(argv[6],
6890           svn_swig_rb_svn_delta_editor()))) {
6891       arg9 = svn_swig_rb_to_swig_type(argv[6],
6892         "svn_delta_editor_t *",
6893         _global_pool);
6894       arg10 = svn_swig_rb_to_swig_type(rb_funcall(argv[6], rb_intern("baton"), 0),
6895         "void *", _global_pool);
6896     } else {
6897       svn_swig_rb_make_delta_editor(&arg9, &arg10, argv[6], _global_pool);
6898     }
6899   }
6900   if (argc > 7) {
6901 
6902   }
6903   if (argc > 8) {
6904 
6905   }
6906   {
6907     result = (svn_error_t *)svn_ra_do_update3(arg1,(struct svn_ra_reporter3_t const **)arg2,arg3,arg4,(char const *)arg5,arg6,arg7,arg8,(struct svn_delta_editor_t const *)arg9,arg10,arg11,arg12);
6908 
6909 
6910 
6911   }
6912   {
6913     if (result) {
6914       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6915       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6916       svn_swig_rb_handle_svn_error(result);
6917     }
6918     vresult = Qnil;
6919   }
6920   {
6921     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_svn_ra_reporter3_t, 0));
6922   }
6923   {
6924     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg3, SWIGTYPE_p_void, 0));
6925   }
6926   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
6927   {
6928     VALUE target;
6929     target = _global_vresult_address == &vresult ? self : vresult;
6930     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
6931     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6932     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6933   }
6934   {
6935     VALUE target;
6936     target = _global_vresult_address == &vresult ? self : vresult;
6937     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
6938     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6939     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6940   }
6941   return vresult;
6942 fail:
6943   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
6944   {
6945     VALUE target;
6946     target = _global_vresult_address == &vresult ? self : vresult;
6947     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
6948     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6949     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6950   }
6951   {
6952     VALUE target;
6953     target = _global_vresult_address == &vresult ? self : vresult;
6954     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
6955     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
6956     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
6957   }
6958   return Qnil;
6959 }
6960 
6961 
6962 SWIGINTERN VALUE
_wrap_svn_ra_do_update2(int argc,VALUE * argv,VALUE self)6963 _wrap_svn_ra_do_update2(int argc, VALUE *argv, VALUE self) {
6964   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
6965   svn_ra_reporter3_t **arg2 = (svn_ra_reporter3_t **) 0 ;
6966   void **arg3 = (void **) 0 ;
6967   svn_revnum_t arg4 ;
6968   char *arg5 = (char *) 0 ;
6969   svn_depth_t arg6 ;
6970   svn_boolean_t arg7 ;
6971   svn_delta_editor_t *arg8 = (svn_delta_editor_t *) 0 ;
6972   void *arg9 = (void *) 0 ;
6973   apr_pool_t *arg10 = (apr_pool_t *) 0 ;
6974   VALUE _global_svn_swig_rb_pool ;
6975   apr_pool_t *_global_pool ;
6976   void *argp1 = 0 ;
6977   int res1 = 0 ;
6978   svn_ra_reporter3_t *temp2 ;
6979   void *temp3 ;
6980   long val4 ;
6981   int ecode4 = 0 ;
6982   int res5 ;
6983   char *buf5 = 0 ;
6984   int alloc5 = 0 ;
6985   svn_error_t *result = 0 ;
6986   VALUE vresult = Qnil;
6987 
6988   {
6989     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg10);
6990     _global_pool = arg10;
6991     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
6992   }
6993   arg2 = &temp2;
6994   arg3 = &temp3;
6995   if ((argc < 6) || (argc > 7)) {
6996     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
6997   }
6998   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
6999   if (!SWIG_IsOK(res1)) {
7000     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_do_update2", 1, argv[0] ));
7001   }
7002   arg1 = (svn_ra_session_t *)(argp1);
7003   ecode4 = SWIG_AsVal_long(argv[1], &val4);
7004   if (!SWIG_IsOK(ecode4)) {
7005     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_do_update2", 4, argv[1] ));
7006   }
7007   arg4 = (svn_revnum_t)(val4);
7008   res5 = SWIG_AsCharPtrAndSize(argv[2], &buf5, NULL, &alloc5);
7009   if (!SWIG_IsOK(res5)) {
7010     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_ra_do_update2", 5, argv[2] ));
7011   }
7012   arg5 = (char *)(buf5);
7013   {
7014     arg6 = svn_swig_rb_to_depth(argv[3]);
7015   }
7016   arg7 = RTEST(argv[4]);
7017   {
7018     if (RTEST(rb_obj_is_kind_of(argv[5],
7019           svn_swig_rb_svn_delta_editor()))) {
7020       arg8 = svn_swig_rb_to_swig_type(argv[5],
7021         "svn_delta_editor_t *",
7022         _global_pool);
7023       arg9 = svn_swig_rb_to_swig_type(rb_funcall(argv[5], rb_intern("baton"), 0),
7024         "void *", _global_pool);
7025     } else {
7026       svn_swig_rb_make_delta_editor(&arg8, &arg9, argv[5], _global_pool);
7027     }
7028   }
7029   if (argc > 6) {
7030 
7031   }
7032   {
7033     result = (svn_error_t *)svn_ra_do_update2(arg1,(struct svn_ra_reporter3_t const **)arg2,arg3,arg4,(char const *)arg5,arg6,arg7,(struct svn_delta_editor_t const *)arg8,arg9,arg10);
7034 
7035 
7036 
7037   }
7038   {
7039     if (result) {
7040       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7041       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7042       svn_swig_rb_handle_svn_error(result);
7043     }
7044     vresult = Qnil;
7045   }
7046   {
7047     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_svn_ra_reporter3_t, 0));
7048   }
7049   {
7050     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg3, SWIGTYPE_p_void, 0));
7051   }
7052   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
7053   {
7054     VALUE target;
7055     target = _global_vresult_address == &vresult ? self : vresult;
7056     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7057     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7058     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7059   }
7060   return vresult;
7061 fail:
7062   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
7063   {
7064     VALUE target;
7065     target = _global_vresult_address == &vresult ? self : vresult;
7066     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7067     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7068     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7069   }
7070   return Qnil;
7071 }
7072 
7073 
7074 SWIGINTERN VALUE
_wrap_svn_ra_do_update(int argc,VALUE * argv,VALUE self)7075 _wrap_svn_ra_do_update(int argc, VALUE *argv, VALUE self) {
7076   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
7077   svn_ra_reporter2_t **arg2 = (svn_ra_reporter2_t **) 0 ;
7078   void **arg3 = (void **) 0 ;
7079   svn_revnum_t arg4 ;
7080   char *arg5 = (char *) 0 ;
7081   svn_boolean_t arg6 ;
7082   svn_delta_editor_t *arg7 = (svn_delta_editor_t *) 0 ;
7083   void *arg8 = (void *) 0 ;
7084   apr_pool_t *arg9 = (apr_pool_t *) 0 ;
7085   VALUE _global_svn_swig_rb_pool ;
7086   apr_pool_t *_global_pool ;
7087   void *argp1 = 0 ;
7088   int res1 = 0 ;
7089   svn_ra_reporter2_t *temp2 ;
7090   void *temp3 ;
7091   long val4 ;
7092   int ecode4 = 0 ;
7093   int res5 ;
7094   char *buf5 = 0 ;
7095   int alloc5 = 0 ;
7096   svn_error_t *result = 0 ;
7097   VALUE vresult = Qnil;
7098 
7099   {
7100     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg9);
7101     _global_pool = arg9;
7102     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
7103   }
7104   arg2 = &temp2;
7105   arg3 = &temp3;
7106   if ((argc < 5) || (argc > 6)) {
7107     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
7108   }
7109   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
7110   if (!SWIG_IsOK(res1)) {
7111     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_do_update", 1, argv[0] ));
7112   }
7113   arg1 = (svn_ra_session_t *)(argp1);
7114   ecode4 = SWIG_AsVal_long(argv[1], &val4);
7115   if (!SWIG_IsOK(ecode4)) {
7116     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_do_update", 4, argv[1] ));
7117   }
7118   arg4 = (svn_revnum_t)(val4);
7119   res5 = SWIG_AsCharPtrAndSize(argv[2], &buf5, NULL, &alloc5);
7120   if (!SWIG_IsOK(res5)) {
7121     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_ra_do_update", 5, argv[2] ));
7122   }
7123   arg5 = (char *)(buf5);
7124   arg6 = RTEST(argv[3]);
7125   {
7126     if (RTEST(rb_obj_is_kind_of(argv[4],
7127           svn_swig_rb_svn_delta_editor()))) {
7128       arg7 = svn_swig_rb_to_swig_type(argv[4],
7129         "svn_delta_editor_t *",
7130         _global_pool);
7131       arg8 = svn_swig_rb_to_swig_type(rb_funcall(argv[4], rb_intern("baton"), 0),
7132         "void *", _global_pool);
7133     } else {
7134       svn_swig_rb_make_delta_editor(&arg7, &arg8, argv[4], _global_pool);
7135     }
7136   }
7137   if (argc > 5) {
7138 
7139   }
7140   {
7141     result = (svn_error_t *)svn_ra_do_update(arg1,(struct svn_ra_reporter2_t const **)arg2,arg3,arg4,(char const *)arg5,arg6,(struct svn_delta_editor_t const *)arg7,arg8,arg9);
7142 
7143 
7144 
7145   }
7146   {
7147     if (result) {
7148       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7149       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7150       svn_swig_rb_handle_svn_error(result);
7151     }
7152     vresult = Qnil;
7153   }
7154   {
7155     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_svn_ra_reporter2_t, 0));
7156   }
7157   {
7158     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg3, SWIGTYPE_p_void, 0));
7159   }
7160   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
7161   {
7162     VALUE target;
7163     target = _global_vresult_address == &vresult ? self : vresult;
7164     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7165     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7166     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7167   }
7168   return vresult;
7169 fail:
7170   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
7171   {
7172     VALUE target;
7173     target = _global_vresult_address == &vresult ? self : vresult;
7174     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7175     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7176     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7177   }
7178   return Qnil;
7179 }
7180 
7181 
7182 SWIGINTERN VALUE
_wrap_svn_ra_do_switch3(int argc,VALUE * argv,VALUE self)7183 _wrap_svn_ra_do_switch3(int argc, VALUE *argv, VALUE self) {
7184   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
7185   svn_ra_reporter3_t **arg2 = (svn_ra_reporter3_t **) 0 ;
7186   void **arg3 = (void **) 0 ;
7187   svn_revnum_t arg4 ;
7188   char *arg5 = (char *) 0 ;
7189   svn_depth_t arg6 ;
7190   char *arg7 = (char *) 0 ;
7191   svn_boolean_t arg8 ;
7192   svn_boolean_t arg9 ;
7193   svn_delta_editor_t *arg10 = (svn_delta_editor_t *) 0 ;
7194   void *arg11 = (void *) 0 ;
7195   apr_pool_t *arg12 = (apr_pool_t *) 0 ;
7196   apr_pool_t *arg13 = (apr_pool_t *) 0 ;
7197   VALUE _global_svn_swig_rb_pool ;
7198   apr_pool_t *_global_pool ;
7199   void *argp1 = 0 ;
7200   int res1 = 0 ;
7201   svn_ra_reporter3_t *temp2 ;
7202   void *temp3 ;
7203   long val4 ;
7204   int ecode4 = 0 ;
7205   int res5 ;
7206   char *buf5 = 0 ;
7207   int alloc5 = 0 ;
7208   int res7 ;
7209   char *buf7 = 0 ;
7210   int alloc7 = 0 ;
7211   svn_error_t *result = 0 ;
7212   VALUE vresult = Qnil;
7213 
7214   {
7215     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg12);
7216     _global_pool = arg12;
7217     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
7218   }
7219   {
7220     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg13);
7221     _global_pool = arg13;
7222     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
7223   }
7224   arg2 = &temp2;
7225   arg3 = &temp3;
7226   if ((argc < 8) || (argc > 10)) {
7227     rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
7228   }
7229   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
7230   if (!SWIG_IsOK(res1)) {
7231     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_do_switch3", 1, argv[0] ));
7232   }
7233   arg1 = (svn_ra_session_t *)(argp1);
7234   ecode4 = SWIG_AsVal_long(argv[1], &val4);
7235   if (!SWIG_IsOK(ecode4)) {
7236     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_do_switch3", 4, argv[1] ));
7237   }
7238   arg4 = (svn_revnum_t)(val4);
7239   res5 = SWIG_AsCharPtrAndSize(argv[2], &buf5, NULL, &alloc5);
7240   if (!SWIG_IsOK(res5)) {
7241     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_ra_do_switch3", 5, argv[2] ));
7242   }
7243   arg5 = (char *)(buf5);
7244   {
7245     arg6 = svn_swig_rb_to_depth(argv[3]);
7246   }
7247   res7 = SWIG_AsCharPtrAndSize(argv[4], &buf7, NULL, &alloc7);
7248   if (!SWIG_IsOK(res7)) {
7249     SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "char const *","svn_ra_do_switch3", 7, argv[4] ));
7250   }
7251   arg7 = (char *)(buf7);
7252   arg8 = RTEST(argv[5]);
7253   arg9 = RTEST(argv[6]);
7254   {
7255     if (RTEST(rb_obj_is_kind_of(argv[7],
7256           svn_swig_rb_svn_delta_editor()))) {
7257       arg10 = svn_swig_rb_to_swig_type(argv[7],
7258         "svn_delta_editor_t *",
7259         _global_pool);
7260       arg11 = svn_swig_rb_to_swig_type(rb_funcall(argv[7], rb_intern("baton"), 0),
7261         "void *", _global_pool);
7262     } else {
7263       svn_swig_rb_make_delta_editor(&arg10, &arg11, argv[7], _global_pool);
7264     }
7265   }
7266   if (argc > 8) {
7267 
7268   }
7269   if (argc > 9) {
7270 
7271   }
7272   {
7273     result = (svn_error_t *)svn_ra_do_switch3(arg1,(struct svn_ra_reporter3_t const **)arg2,arg3,arg4,(char const *)arg5,arg6,(char const *)arg7,arg8,arg9,(struct svn_delta_editor_t const *)arg10,arg11,arg12,arg13);
7274 
7275 
7276 
7277   }
7278   {
7279     if (result) {
7280       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7281       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7282       svn_swig_rb_handle_svn_error(result);
7283     }
7284     vresult = Qnil;
7285   }
7286   {
7287     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_svn_ra_reporter3_t, 0));
7288   }
7289   {
7290     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg3, SWIGTYPE_p_void, 0));
7291   }
7292   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
7293   if (alloc7 == SWIG_NEWOBJ) free((char*)buf7);
7294   {
7295     VALUE target;
7296     target = _global_vresult_address == &vresult ? self : vresult;
7297     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7298     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7299     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7300   }
7301   {
7302     VALUE target;
7303     target = _global_vresult_address == &vresult ? self : vresult;
7304     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7305     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7306     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7307   }
7308   return vresult;
7309 fail:
7310   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
7311   if (alloc7 == SWIG_NEWOBJ) free((char*)buf7);
7312   {
7313     VALUE target;
7314     target = _global_vresult_address == &vresult ? self : vresult;
7315     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7316     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7317     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7318   }
7319   {
7320     VALUE target;
7321     target = _global_vresult_address == &vresult ? self : vresult;
7322     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7323     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7324     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7325   }
7326   return Qnil;
7327 }
7328 
7329 
7330 SWIGINTERN VALUE
_wrap_svn_ra_do_switch2(int argc,VALUE * argv,VALUE self)7331 _wrap_svn_ra_do_switch2(int argc, VALUE *argv, VALUE self) {
7332   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
7333   svn_ra_reporter3_t **arg2 = (svn_ra_reporter3_t **) 0 ;
7334   void **arg3 = (void **) 0 ;
7335   svn_revnum_t arg4 ;
7336   char *arg5 = (char *) 0 ;
7337   svn_depth_t arg6 ;
7338   char *arg7 = (char *) 0 ;
7339   svn_delta_editor_t *arg8 = (svn_delta_editor_t *) 0 ;
7340   void *arg9 = (void *) 0 ;
7341   apr_pool_t *arg10 = (apr_pool_t *) 0 ;
7342   VALUE _global_svn_swig_rb_pool ;
7343   apr_pool_t *_global_pool ;
7344   void *argp1 = 0 ;
7345   int res1 = 0 ;
7346   svn_ra_reporter3_t *temp2 ;
7347   void *temp3 ;
7348   long val4 ;
7349   int ecode4 = 0 ;
7350   int res5 ;
7351   char *buf5 = 0 ;
7352   int alloc5 = 0 ;
7353   int res7 ;
7354   char *buf7 = 0 ;
7355   int alloc7 = 0 ;
7356   svn_error_t *result = 0 ;
7357   VALUE vresult = Qnil;
7358 
7359   {
7360     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg10);
7361     _global_pool = arg10;
7362     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
7363   }
7364   arg2 = &temp2;
7365   arg3 = &temp3;
7366   if ((argc < 6) || (argc > 7)) {
7367     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
7368   }
7369   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
7370   if (!SWIG_IsOK(res1)) {
7371     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_do_switch2", 1, argv[0] ));
7372   }
7373   arg1 = (svn_ra_session_t *)(argp1);
7374   ecode4 = SWIG_AsVal_long(argv[1], &val4);
7375   if (!SWIG_IsOK(ecode4)) {
7376     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_do_switch2", 4, argv[1] ));
7377   }
7378   arg4 = (svn_revnum_t)(val4);
7379   res5 = SWIG_AsCharPtrAndSize(argv[2], &buf5, NULL, &alloc5);
7380   if (!SWIG_IsOK(res5)) {
7381     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_ra_do_switch2", 5, argv[2] ));
7382   }
7383   arg5 = (char *)(buf5);
7384   {
7385     arg6 = svn_swig_rb_to_depth(argv[3]);
7386   }
7387   res7 = SWIG_AsCharPtrAndSize(argv[4], &buf7, NULL, &alloc7);
7388   if (!SWIG_IsOK(res7)) {
7389     SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "char const *","svn_ra_do_switch2", 7, argv[4] ));
7390   }
7391   arg7 = (char *)(buf7);
7392   {
7393     if (RTEST(rb_obj_is_kind_of(argv[5],
7394           svn_swig_rb_svn_delta_editor()))) {
7395       arg8 = svn_swig_rb_to_swig_type(argv[5],
7396         "svn_delta_editor_t *",
7397         _global_pool);
7398       arg9 = svn_swig_rb_to_swig_type(rb_funcall(argv[5], rb_intern("baton"), 0),
7399         "void *", _global_pool);
7400     } else {
7401       svn_swig_rb_make_delta_editor(&arg8, &arg9, argv[5], _global_pool);
7402     }
7403   }
7404   if (argc > 6) {
7405 
7406   }
7407   {
7408     result = (svn_error_t *)svn_ra_do_switch2(arg1,(struct svn_ra_reporter3_t const **)arg2,arg3,arg4,(char const *)arg5,arg6,(char const *)arg7,(struct svn_delta_editor_t const *)arg8,arg9,arg10);
7409 
7410 
7411 
7412   }
7413   {
7414     if (result) {
7415       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7416       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7417       svn_swig_rb_handle_svn_error(result);
7418     }
7419     vresult = Qnil;
7420   }
7421   {
7422     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_svn_ra_reporter3_t, 0));
7423   }
7424   {
7425     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg3, SWIGTYPE_p_void, 0));
7426   }
7427   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
7428   if (alloc7 == SWIG_NEWOBJ) free((char*)buf7);
7429   {
7430     VALUE target;
7431     target = _global_vresult_address == &vresult ? self : vresult;
7432     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7433     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7434     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7435   }
7436   return vresult;
7437 fail:
7438   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
7439   if (alloc7 == SWIG_NEWOBJ) free((char*)buf7);
7440   {
7441     VALUE target;
7442     target = _global_vresult_address == &vresult ? self : vresult;
7443     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7444     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7445     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7446   }
7447   return Qnil;
7448 }
7449 
7450 
7451 SWIGINTERN VALUE
_wrap_svn_ra_do_switch(int argc,VALUE * argv,VALUE self)7452 _wrap_svn_ra_do_switch(int argc, VALUE *argv, VALUE self) {
7453   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
7454   svn_ra_reporter2_t **arg2 = (svn_ra_reporter2_t **) 0 ;
7455   void **arg3 = (void **) 0 ;
7456   svn_revnum_t arg4 ;
7457   char *arg5 = (char *) 0 ;
7458   svn_boolean_t arg6 ;
7459   char *arg7 = (char *) 0 ;
7460   svn_delta_editor_t *arg8 = (svn_delta_editor_t *) 0 ;
7461   void *arg9 = (void *) 0 ;
7462   apr_pool_t *arg10 = (apr_pool_t *) 0 ;
7463   VALUE _global_svn_swig_rb_pool ;
7464   apr_pool_t *_global_pool ;
7465   void *argp1 = 0 ;
7466   int res1 = 0 ;
7467   svn_ra_reporter2_t *temp2 ;
7468   void *temp3 ;
7469   long val4 ;
7470   int ecode4 = 0 ;
7471   int res5 ;
7472   char *buf5 = 0 ;
7473   int alloc5 = 0 ;
7474   int res7 ;
7475   char *buf7 = 0 ;
7476   int alloc7 = 0 ;
7477   svn_error_t *result = 0 ;
7478   VALUE vresult = Qnil;
7479 
7480   {
7481     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg10);
7482     _global_pool = arg10;
7483     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
7484   }
7485   arg2 = &temp2;
7486   arg3 = &temp3;
7487   if ((argc < 6) || (argc > 7)) {
7488     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
7489   }
7490   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
7491   if (!SWIG_IsOK(res1)) {
7492     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_do_switch", 1, argv[0] ));
7493   }
7494   arg1 = (svn_ra_session_t *)(argp1);
7495   ecode4 = SWIG_AsVal_long(argv[1], &val4);
7496   if (!SWIG_IsOK(ecode4)) {
7497     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_do_switch", 4, argv[1] ));
7498   }
7499   arg4 = (svn_revnum_t)(val4);
7500   res5 = SWIG_AsCharPtrAndSize(argv[2], &buf5, NULL, &alloc5);
7501   if (!SWIG_IsOK(res5)) {
7502     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_ra_do_switch", 5, argv[2] ));
7503   }
7504   arg5 = (char *)(buf5);
7505   arg6 = RTEST(argv[3]);
7506   res7 = SWIG_AsCharPtrAndSize(argv[4], &buf7, NULL, &alloc7);
7507   if (!SWIG_IsOK(res7)) {
7508     SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "char const *","svn_ra_do_switch", 7, argv[4] ));
7509   }
7510   arg7 = (char *)(buf7);
7511   {
7512     if (RTEST(rb_obj_is_kind_of(argv[5],
7513           svn_swig_rb_svn_delta_editor()))) {
7514       arg8 = svn_swig_rb_to_swig_type(argv[5],
7515         "svn_delta_editor_t *",
7516         _global_pool);
7517       arg9 = svn_swig_rb_to_swig_type(rb_funcall(argv[5], rb_intern("baton"), 0),
7518         "void *", _global_pool);
7519     } else {
7520       svn_swig_rb_make_delta_editor(&arg8, &arg9, argv[5], _global_pool);
7521     }
7522   }
7523   if (argc > 6) {
7524 
7525   }
7526   {
7527     result = (svn_error_t *)svn_ra_do_switch(arg1,(struct svn_ra_reporter2_t const **)arg2,arg3,arg4,(char const *)arg5,arg6,(char const *)arg7,(struct svn_delta_editor_t const *)arg8,arg9,arg10);
7528 
7529 
7530 
7531   }
7532   {
7533     if (result) {
7534       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7535       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7536       svn_swig_rb_handle_svn_error(result);
7537     }
7538     vresult = Qnil;
7539   }
7540   {
7541     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_svn_ra_reporter2_t, 0));
7542   }
7543   {
7544     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg3, SWIGTYPE_p_void, 0));
7545   }
7546   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
7547   if (alloc7 == SWIG_NEWOBJ) free((char*)buf7);
7548   {
7549     VALUE target;
7550     target = _global_vresult_address == &vresult ? self : vresult;
7551     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7552     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7553     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7554   }
7555   return vresult;
7556 fail:
7557   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
7558   if (alloc7 == SWIG_NEWOBJ) free((char*)buf7);
7559   {
7560     VALUE target;
7561     target = _global_vresult_address == &vresult ? self : vresult;
7562     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7563     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7564     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7565   }
7566   return Qnil;
7567 }
7568 
7569 
7570 SWIGINTERN VALUE
_wrap_svn_ra_do_status2(int argc,VALUE * argv,VALUE self)7571 _wrap_svn_ra_do_status2(int argc, VALUE *argv, VALUE self) {
7572   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
7573   svn_ra_reporter3_t **arg2 = (svn_ra_reporter3_t **) 0 ;
7574   void **arg3 = (void **) 0 ;
7575   char *arg4 = (char *) 0 ;
7576   svn_revnum_t arg5 ;
7577   svn_depth_t arg6 ;
7578   svn_delta_editor_t *arg7 = (svn_delta_editor_t *) 0 ;
7579   void *arg8 = (void *) 0 ;
7580   apr_pool_t *arg9 = (apr_pool_t *) 0 ;
7581   VALUE _global_svn_swig_rb_pool ;
7582   apr_pool_t *_global_pool ;
7583   void *argp1 = 0 ;
7584   int res1 = 0 ;
7585   svn_ra_reporter3_t *temp2 ;
7586   void *temp3 ;
7587   int res4 ;
7588   char *buf4 = 0 ;
7589   int alloc4 = 0 ;
7590   long val5 ;
7591   int ecode5 = 0 ;
7592   svn_error_t *result = 0 ;
7593   VALUE vresult = Qnil;
7594 
7595   {
7596     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg9);
7597     _global_pool = arg9;
7598     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
7599   }
7600   arg2 = &temp2;
7601   arg3 = &temp3;
7602   if ((argc < 5) || (argc > 6)) {
7603     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
7604   }
7605   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
7606   if (!SWIG_IsOK(res1)) {
7607     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_do_status2", 1, argv[0] ));
7608   }
7609   arg1 = (svn_ra_session_t *)(argp1);
7610   res4 = SWIG_AsCharPtrAndSize(argv[1], &buf4, NULL, &alloc4);
7611   if (!SWIG_IsOK(res4)) {
7612     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_ra_do_status2", 4, argv[1] ));
7613   }
7614   arg4 = (char *)(buf4);
7615   ecode5 = SWIG_AsVal_long(argv[2], &val5);
7616   if (!SWIG_IsOK(ecode5)) {
7617     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_do_status2", 5, argv[2] ));
7618   }
7619   arg5 = (svn_revnum_t)(val5);
7620   {
7621     arg6 = svn_swig_rb_to_depth(argv[3]);
7622   }
7623   {
7624     if (RTEST(rb_obj_is_kind_of(argv[4],
7625           svn_swig_rb_svn_delta_editor()))) {
7626       arg7 = svn_swig_rb_to_swig_type(argv[4],
7627         "svn_delta_editor_t *",
7628         _global_pool);
7629       arg8 = svn_swig_rb_to_swig_type(rb_funcall(argv[4], rb_intern("baton"), 0),
7630         "void *", _global_pool);
7631     } else {
7632       svn_swig_rb_make_delta_editor(&arg7, &arg8, argv[4], _global_pool);
7633     }
7634   }
7635   if (argc > 5) {
7636 
7637   }
7638   {
7639     result = (svn_error_t *)svn_ra_do_status2(arg1,(struct svn_ra_reporter3_t const **)arg2,arg3,(char const *)arg4,arg5,arg6,(struct svn_delta_editor_t const *)arg7,arg8,arg9);
7640 
7641 
7642 
7643   }
7644   {
7645     if (result) {
7646       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7647       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7648       svn_swig_rb_handle_svn_error(result);
7649     }
7650     vresult = Qnil;
7651   }
7652   {
7653     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_svn_ra_reporter3_t, 0));
7654   }
7655   {
7656     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg3, SWIGTYPE_p_void, 0));
7657   }
7658   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
7659   {
7660     VALUE target;
7661     target = _global_vresult_address == &vresult ? self : vresult;
7662     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7663     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7664     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7665   }
7666   return vresult;
7667 fail:
7668   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
7669   {
7670     VALUE target;
7671     target = _global_vresult_address == &vresult ? self : vresult;
7672     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7673     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7674     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7675   }
7676   return Qnil;
7677 }
7678 
7679 
7680 SWIGINTERN VALUE
_wrap_svn_ra_do_status(int argc,VALUE * argv,VALUE self)7681 _wrap_svn_ra_do_status(int argc, VALUE *argv, VALUE self) {
7682   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
7683   svn_ra_reporter2_t **arg2 = (svn_ra_reporter2_t **) 0 ;
7684   void **arg3 = (void **) 0 ;
7685   char *arg4 = (char *) 0 ;
7686   svn_revnum_t arg5 ;
7687   svn_boolean_t arg6 ;
7688   svn_delta_editor_t *arg7 = (svn_delta_editor_t *) 0 ;
7689   void *arg8 = (void *) 0 ;
7690   apr_pool_t *arg9 = (apr_pool_t *) 0 ;
7691   VALUE _global_svn_swig_rb_pool ;
7692   apr_pool_t *_global_pool ;
7693   void *argp1 = 0 ;
7694   int res1 = 0 ;
7695   svn_ra_reporter2_t *temp2 ;
7696   void *temp3 ;
7697   int res4 ;
7698   char *buf4 = 0 ;
7699   int alloc4 = 0 ;
7700   long val5 ;
7701   int ecode5 = 0 ;
7702   svn_error_t *result = 0 ;
7703   VALUE vresult = Qnil;
7704 
7705   {
7706     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg9);
7707     _global_pool = arg9;
7708     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
7709   }
7710   arg2 = &temp2;
7711   arg3 = &temp3;
7712   if ((argc < 5) || (argc > 6)) {
7713     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
7714   }
7715   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
7716   if (!SWIG_IsOK(res1)) {
7717     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_do_status", 1, argv[0] ));
7718   }
7719   arg1 = (svn_ra_session_t *)(argp1);
7720   res4 = SWIG_AsCharPtrAndSize(argv[1], &buf4, NULL, &alloc4);
7721   if (!SWIG_IsOK(res4)) {
7722     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_ra_do_status", 4, argv[1] ));
7723   }
7724   arg4 = (char *)(buf4);
7725   ecode5 = SWIG_AsVal_long(argv[2], &val5);
7726   if (!SWIG_IsOK(ecode5)) {
7727     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_do_status", 5, argv[2] ));
7728   }
7729   arg5 = (svn_revnum_t)(val5);
7730   arg6 = RTEST(argv[3]);
7731   {
7732     if (RTEST(rb_obj_is_kind_of(argv[4],
7733           svn_swig_rb_svn_delta_editor()))) {
7734       arg7 = svn_swig_rb_to_swig_type(argv[4],
7735         "svn_delta_editor_t *",
7736         _global_pool);
7737       arg8 = svn_swig_rb_to_swig_type(rb_funcall(argv[4], rb_intern("baton"), 0),
7738         "void *", _global_pool);
7739     } else {
7740       svn_swig_rb_make_delta_editor(&arg7, &arg8, argv[4], _global_pool);
7741     }
7742   }
7743   if (argc > 5) {
7744 
7745   }
7746   {
7747     result = (svn_error_t *)svn_ra_do_status(arg1,(struct svn_ra_reporter2_t const **)arg2,arg3,(char const *)arg4,arg5,arg6,(struct svn_delta_editor_t const *)arg7,arg8,arg9);
7748 
7749 
7750 
7751   }
7752   {
7753     if (result) {
7754       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7755       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7756       svn_swig_rb_handle_svn_error(result);
7757     }
7758     vresult = Qnil;
7759   }
7760   {
7761     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_svn_ra_reporter2_t, 0));
7762   }
7763   {
7764     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg3, SWIGTYPE_p_void, 0));
7765   }
7766   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
7767   {
7768     VALUE target;
7769     target = _global_vresult_address == &vresult ? self : vresult;
7770     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7771     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7772     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7773   }
7774   return vresult;
7775 fail:
7776   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
7777   {
7778     VALUE target;
7779     target = _global_vresult_address == &vresult ? self : vresult;
7780     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7781     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7782     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7783   }
7784   return Qnil;
7785 }
7786 
7787 
7788 SWIGINTERN VALUE
_wrap_svn_ra_do_diff3(int argc,VALUE * argv,VALUE self)7789 _wrap_svn_ra_do_diff3(int argc, VALUE *argv, VALUE self) {
7790   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
7791   svn_ra_reporter3_t **arg2 = (svn_ra_reporter3_t **) 0 ;
7792   void **arg3 = (void **) 0 ;
7793   svn_revnum_t arg4 ;
7794   char *arg5 = (char *) 0 ;
7795   svn_depth_t arg6 ;
7796   svn_boolean_t arg7 ;
7797   svn_boolean_t arg8 ;
7798   char *arg9 = (char *) 0 ;
7799   svn_delta_editor_t *arg10 = (svn_delta_editor_t *) 0 ;
7800   void *arg11 = (void *) 0 ;
7801   apr_pool_t *arg12 = (apr_pool_t *) 0 ;
7802   VALUE _global_svn_swig_rb_pool ;
7803   apr_pool_t *_global_pool ;
7804   void *argp1 = 0 ;
7805   int res1 = 0 ;
7806   svn_ra_reporter3_t *temp2 ;
7807   void *temp3 ;
7808   long val4 ;
7809   int ecode4 = 0 ;
7810   int res5 ;
7811   char *buf5 = 0 ;
7812   int alloc5 = 0 ;
7813   int res9 ;
7814   char *buf9 = 0 ;
7815   int alloc9 = 0 ;
7816   svn_error_t *result = 0 ;
7817   VALUE vresult = Qnil;
7818 
7819   {
7820     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg12);
7821     _global_pool = arg12;
7822     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
7823   }
7824   arg2 = &temp2;
7825   arg3 = &temp3;
7826   if ((argc < 8) || (argc > 9)) {
7827     rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
7828   }
7829   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
7830   if (!SWIG_IsOK(res1)) {
7831     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_do_diff3", 1, argv[0] ));
7832   }
7833   arg1 = (svn_ra_session_t *)(argp1);
7834   ecode4 = SWIG_AsVal_long(argv[1], &val4);
7835   if (!SWIG_IsOK(ecode4)) {
7836     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_do_diff3", 4, argv[1] ));
7837   }
7838   arg4 = (svn_revnum_t)(val4);
7839   res5 = SWIG_AsCharPtrAndSize(argv[2], &buf5, NULL, &alloc5);
7840   if (!SWIG_IsOK(res5)) {
7841     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_ra_do_diff3", 5, argv[2] ));
7842   }
7843   arg5 = (char *)(buf5);
7844   {
7845     arg6 = svn_swig_rb_to_depth(argv[3]);
7846   }
7847   arg7 = RTEST(argv[4]);
7848   arg8 = RTEST(argv[5]);
7849   res9 = SWIG_AsCharPtrAndSize(argv[6], &buf9, NULL, &alloc9);
7850   if (!SWIG_IsOK(res9)) {
7851     SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "char const *","svn_ra_do_diff3", 9, argv[6] ));
7852   }
7853   arg9 = (char *)(buf9);
7854   {
7855     if (RTEST(rb_obj_is_kind_of(argv[7],
7856           svn_swig_rb_svn_delta_editor()))) {
7857       arg10 = svn_swig_rb_to_swig_type(argv[7],
7858         "svn_delta_editor_t *",
7859         _global_pool);
7860       arg11 = svn_swig_rb_to_swig_type(rb_funcall(argv[7], rb_intern("baton"), 0),
7861         "void *", _global_pool);
7862     } else {
7863       svn_swig_rb_make_delta_editor(&arg10, &arg11, argv[7], _global_pool);
7864     }
7865   }
7866   if (argc > 8) {
7867 
7868   }
7869   {
7870     result = (svn_error_t *)svn_ra_do_diff3(arg1,(struct svn_ra_reporter3_t const **)arg2,arg3,arg4,(char const *)arg5,arg6,arg7,arg8,(char const *)arg9,(struct svn_delta_editor_t const *)arg10,arg11,arg12);
7871 
7872 
7873 
7874   }
7875   {
7876     if (result) {
7877       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7878       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7879       svn_swig_rb_handle_svn_error(result);
7880     }
7881     vresult = Qnil;
7882   }
7883   {
7884     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_svn_ra_reporter3_t, 0));
7885   }
7886   {
7887     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg3, SWIGTYPE_p_void, 0));
7888   }
7889   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
7890   if (alloc9 == SWIG_NEWOBJ) free((char*)buf9);
7891   {
7892     VALUE target;
7893     target = _global_vresult_address == &vresult ? self : vresult;
7894     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7895     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7896     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7897   }
7898   return vresult;
7899 fail:
7900   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
7901   if (alloc9 == SWIG_NEWOBJ) free((char*)buf9);
7902   {
7903     VALUE target;
7904     target = _global_vresult_address == &vresult ? self : vresult;
7905     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
7906     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
7907     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
7908   }
7909   return Qnil;
7910 }
7911 
7912 
7913 SWIGINTERN VALUE
_wrap_svn_ra_do_diff2(int argc,VALUE * argv,VALUE self)7914 _wrap_svn_ra_do_diff2(int argc, VALUE *argv, VALUE self) {
7915   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
7916   svn_ra_reporter2_t **arg2 = (svn_ra_reporter2_t **) 0 ;
7917   void **arg3 = (void **) 0 ;
7918   svn_revnum_t arg4 ;
7919   char *arg5 = (char *) 0 ;
7920   svn_boolean_t arg6 ;
7921   svn_boolean_t arg7 ;
7922   svn_boolean_t arg8 ;
7923   char *arg9 = (char *) 0 ;
7924   svn_delta_editor_t *arg10 = (svn_delta_editor_t *) 0 ;
7925   void *arg11 = (void *) 0 ;
7926   apr_pool_t *arg12 = (apr_pool_t *) 0 ;
7927   VALUE _global_svn_swig_rb_pool ;
7928   apr_pool_t *_global_pool ;
7929   void *argp1 = 0 ;
7930   int res1 = 0 ;
7931   svn_ra_reporter2_t *temp2 ;
7932   void *temp3 ;
7933   long val4 ;
7934   int ecode4 = 0 ;
7935   int res5 ;
7936   char *buf5 = 0 ;
7937   int alloc5 = 0 ;
7938   int res9 ;
7939   char *buf9 = 0 ;
7940   int alloc9 = 0 ;
7941   svn_error_t *result = 0 ;
7942   VALUE vresult = Qnil;
7943 
7944   {
7945     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg12);
7946     _global_pool = arg12;
7947     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
7948   }
7949   arg2 = &temp2;
7950   arg3 = &temp3;
7951   if ((argc < 8) || (argc > 9)) {
7952     rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
7953   }
7954   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
7955   if (!SWIG_IsOK(res1)) {
7956     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_do_diff2", 1, argv[0] ));
7957   }
7958   arg1 = (svn_ra_session_t *)(argp1);
7959   ecode4 = SWIG_AsVal_long(argv[1], &val4);
7960   if (!SWIG_IsOK(ecode4)) {
7961     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_do_diff2", 4, argv[1] ));
7962   }
7963   arg4 = (svn_revnum_t)(val4);
7964   res5 = SWIG_AsCharPtrAndSize(argv[2], &buf5, NULL, &alloc5);
7965   if (!SWIG_IsOK(res5)) {
7966     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_ra_do_diff2", 5, argv[2] ));
7967   }
7968   arg5 = (char *)(buf5);
7969   arg6 = RTEST(argv[3]);
7970   arg7 = RTEST(argv[4]);
7971   arg8 = RTEST(argv[5]);
7972   res9 = SWIG_AsCharPtrAndSize(argv[6], &buf9, NULL, &alloc9);
7973   if (!SWIG_IsOK(res9)) {
7974     SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "char const *","svn_ra_do_diff2", 9, argv[6] ));
7975   }
7976   arg9 = (char *)(buf9);
7977   {
7978     if (RTEST(rb_obj_is_kind_of(argv[7],
7979           svn_swig_rb_svn_delta_editor()))) {
7980       arg10 = svn_swig_rb_to_swig_type(argv[7],
7981         "svn_delta_editor_t *",
7982         _global_pool);
7983       arg11 = svn_swig_rb_to_swig_type(rb_funcall(argv[7], rb_intern("baton"), 0),
7984         "void *", _global_pool);
7985     } else {
7986       svn_swig_rb_make_delta_editor(&arg10, &arg11, argv[7], _global_pool);
7987     }
7988   }
7989   if (argc > 8) {
7990 
7991   }
7992   {
7993     result = (svn_error_t *)svn_ra_do_diff2(arg1,(struct svn_ra_reporter2_t const **)arg2,arg3,arg4,(char const *)arg5,arg6,arg7,arg8,(char const *)arg9,(struct svn_delta_editor_t const *)arg10,arg11,arg12);
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   {
8007     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_svn_ra_reporter2_t, 0));
8008   }
8009   {
8010     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg3, SWIGTYPE_p_void, 0));
8011   }
8012   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
8013   if (alloc9 == SWIG_NEWOBJ) free((char*)buf9);
8014   {
8015     VALUE target;
8016     target = _global_vresult_address == &vresult ? self : vresult;
8017     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8018     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8019     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8020   }
8021   return vresult;
8022 fail:
8023   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
8024   if (alloc9 == SWIG_NEWOBJ) free((char*)buf9);
8025   {
8026     VALUE target;
8027     target = _global_vresult_address == &vresult ? self : vresult;
8028     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8029     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8030     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8031   }
8032   return Qnil;
8033 }
8034 
8035 
8036 SWIGINTERN VALUE
_wrap_svn_ra_do_diff(int argc,VALUE * argv,VALUE self)8037 _wrap_svn_ra_do_diff(int argc, VALUE *argv, VALUE self) {
8038   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
8039   svn_ra_reporter2_t **arg2 = (svn_ra_reporter2_t **) 0 ;
8040   void **arg3 = (void **) 0 ;
8041   svn_revnum_t arg4 ;
8042   char *arg5 = (char *) 0 ;
8043   svn_boolean_t arg6 ;
8044   svn_boolean_t arg7 ;
8045   char *arg8 = (char *) 0 ;
8046   svn_delta_editor_t *arg9 = (svn_delta_editor_t *) 0 ;
8047   void *arg10 = (void *) 0 ;
8048   apr_pool_t *arg11 = (apr_pool_t *) 0 ;
8049   VALUE _global_svn_swig_rb_pool ;
8050   apr_pool_t *_global_pool ;
8051   void *argp1 = 0 ;
8052   int res1 = 0 ;
8053   svn_ra_reporter2_t *temp2 ;
8054   void *temp3 ;
8055   long val4 ;
8056   int ecode4 = 0 ;
8057   int res5 ;
8058   char *buf5 = 0 ;
8059   int alloc5 = 0 ;
8060   int res8 ;
8061   char *buf8 = 0 ;
8062   int alloc8 = 0 ;
8063   svn_error_t *result = 0 ;
8064   VALUE vresult = Qnil;
8065 
8066   {
8067     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg11);
8068     _global_pool = arg11;
8069     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
8070   }
8071   arg2 = &temp2;
8072   arg3 = &temp3;
8073   if ((argc < 7) || (argc > 8)) {
8074     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
8075   }
8076   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
8077   if (!SWIG_IsOK(res1)) {
8078     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_do_diff", 1, argv[0] ));
8079   }
8080   arg1 = (svn_ra_session_t *)(argp1);
8081   ecode4 = SWIG_AsVal_long(argv[1], &val4);
8082   if (!SWIG_IsOK(ecode4)) {
8083     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_do_diff", 4, argv[1] ));
8084   }
8085   arg4 = (svn_revnum_t)(val4);
8086   res5 = SWIG_AsCharPtrAndSize(argv[2], &buf5, NULL, &alloc5);
8087   if (!SWIG_IsOK(res5)) {
8088     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_ra_do_diff", 5, argv[2] ));
8089   }
8090   arg5 = (char *)(buf5);
8091   arg6 = RTEST(argv[3]);
8092   arg7 = RTEST(argv[4]);
8093   res8 = SWIG_AsCharPtrAndSize(argv[5], &buf8, NULL, &alloc8);
8094   if (!SWIG_IsOK(res8)) {
8095     SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "char const *","svn_ra_do_diff", 8, argv[5] ));
8096   }
8097   arg8 = (char *)(buf8);
8098   {
8099     if (RTEST(rb_obj_is_kind_of(argv[6],
8100           svn_swig_rb_svn_delta_editor()))) {
8101       arg9 = svn_swig_rb_to_swig_type(argv[6],
8102         "svn_delta_editor_t *",
8103         _global_pool);
8104       arg10 = svn_swig_rb_to_swig_type(rb_funcall(argv[6], rb_intern("baton"), 0),
8105         "void *", _global_pool);
8106     } else {
8107       svn_swig_rb_make_delta_editor(&arg9, &arg10, argv[6], _global_pool);
8108     }
8109   }
8110   if (argc > 7) {
8111 
8112   }
8113   {
8114     result = (svn_error_t *)svn_ra_do_diff(arg1,(struct svn_ra_reporter2_t const **)arg2,arg3,arg4,(char const *)arg5,arg6,arg7,(char const *)arg8,(struct svn_delta_editor_t const *)arg9,arg10,arg11);
8115 
8116 
8117 
8118   }
8119   {
8120     if (result) {
8121       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8122       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8123       svn_swig_rb_handle_svn_error(result);
8124     }
8125     vresult = Qnil;
8126   }
8127   {
8128     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_svn_ra_reporter2_t, 0));
8129   }
8130   {
8131     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg3, SWIGTYPE_p_void, 0));
8132   }
8133   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
8134   if (alloc8 == SWIG_NEWOBJ) free((char*)buf8);
8135   {
8136     VALUE target;
8137     target = _global_vresult_address == &vresult ? self : vresult;
8138     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8139     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8140     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8141   }
8142   return vresult;
8143 fail:
8144   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
8145   if (alloc8 == SWIG_NEWOBJ) free((char*)buf8);
8146   {
8147     VALUE target;
8148     target = _global_vresult_address == &vresult ? self : vresult;
8149     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8150     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8151     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8152   }
8153   return Qnil;
8154 }
8155 
8156 
8157 SWIGINTERN VALUE
_wrap_svn_ra_get_log2(int argc,VALUE * argv,VALUE self)8158 _wrap_svn_ra_get_log2(int argc, VALUE *argv, VALUE self) {
8159   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
8160   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
8161   svn_revnum_t arg3 ;
8162   svn_revnum_t arg4 ;
8163   int arg5 ;
8164   svn_boolean_t arg6 ;
8165   svn_boolean_t arg7 ;
8166   svn_boolean_t arg8 ;
8167   apr_array_header_t *arg9 = (apr_array_header_t *) 0 ;
8168   svn_log_entry_receiver_t arg10 = (svn_log_entry_receiver_t) 0 ;
8169   void *arg11 = (void *) 0 ;
8170   apr_pool_t *arg12 = (apr_pool_t *) 0 ;
8171   VALUE _global_svn_swig_rb_pool ;
8172   apr_pool_t *_global_pool ;
8173   void *argp1 = 0 ;
8174   int res1 = 0 ;
8175   long val3 ;
8176   int ecode3 = 0 ;
8177   long val4 ;
8178   int ecode4 = 0 ;
8179   int val5 ;
8180   int ecode5 = 0 ;
8181   svn_error_t *result = 0 ;
8182   VALUE vresult = Qnil;
8183 
8184   {
8185     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg12);
8186     _global_pool = arg12;
8187     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
8188   }
8189   if ((argc < 10) || (argc > 11)) {
8190     rb_raise(rb_eArgError, "wrong # of arguments(%d for 10)",argc); SWIG_fail;
8191   }
8192   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
8193   if (!SWIG_IsOK(res1)) {
8194     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_log2", 1, argv[0] ));
8195   }
8196   arg1 = (svn_ra_session_t *)(argp1);
8197   {
8198     arg2 = svn_swig_rb_strings_to_apr_array(argv[1], _global_pool);
8199   }
8200   ecode3 = SWIG_AsVal_long(argv[2], &val3);
8201   if (!SWIG_IsOK(ecode3)) {
8202     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_get_log2", 3, argv[2] ));
8203   }
8204   arg3 = (svn_revnum_t)(val3);
8205   ecode4 = SWIG_AsVal_long(argv[3], &val4);
8206   if (!SWIG_IsOK(ecode4)) {
8207     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_get_log2", 4, argv[3] ));
8208   }
8209   arg4 = (svn_revnum_t)(val4);
8210   ecode5 = SWIG_AsVal_int(argv[4], &val5);
8211   if (!SWIG_IsOK(ecode5)) {
8212     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "int","svn_ra_get_log2", 5, argv[4] ));
8213   }
8214   arg5 = (int)(val5);
8215   arg6 = RTEST(argv[5]);
8216   arg7 = RTEST(argv[6]);
8217   arg8 = RTEST(argv[7]);
8218   {
8219     arg9 = (NIL_P(argv[8])) ? NULL :
8220     svn_swig_rb_strings_to_apr_array(argv[8], _global_pool);
8221   }
8222   {
8223     arg10 = (svn_log_entry_receiver_t) svn_swig_rb_log_entry_receiver;
8224     arg11 = (void *)svn_swig_rb_make_baton(argv[9], _global_svn_swig_rb_pool);
8225   }
8226   if (argc > 10) {
8227 
8228   }
8229   {
8230     result = (svn_error_t *)svn_ra_get_log2(arg1,(apr_array_header_t const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8,(apr_array_header_t const *)arg9,arg10,arg11,arg12);
8231 
8232 
8233 
8234   }
8235   {
8236     if (result) {
8237       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8238       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8239       svn_swig_rb_handle_svn_error(result);
8240     }
8241     vresult = Qnil;
8242   }
8243   {
8244     VALUE target;
8245     target = _global_vresult_address == &vresult ? self : vresult;
8246     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8247     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8248     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8249   }
8250   return vresult;
8251 fail:
8252   {
8253     VALUE target;
8254     target = _global_vresult_address == &vresult ? self : vresult;
8255     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8256     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8257     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8258   }
8259   return Qnil;
8260 }
8261 
8262 
8263 SWIGINTERN VALUE
_wrap_svn_ra_get_log(int argc,VALUE * argv,VALUE self)8264 _wrap_svn_ra_get_log(int argc, VALUE *argv, VALUE self) {
8265   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
8266   apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
8267   svn_revnum_t arg3 ;
8268   svn_revnum_t arg4 ;
8269   int arg5 ;
8270   svn_boolean_t arg6 ;
8271   svn_boolean_t arg7 ;
8272   svn_log_message_receiver_t arg8 = (svn_log_message_receiver_t) 0 ;
8273   void *arg9 = (void *) 0 ;
8274   apr_pool_t *arg10 = (apr_pool_t *) 0 ;
8275   VALUE _global_svn_swig_rb_pool ;
8276   apr_pool_t *_global_pool ;
8277   void *argp1 = 0 ;
8278   int res1 = 0 ;
8279   long val3 ;
8280   int ecode3 = 0 ;
8281   long val4 ;
8282   int ecode4 = 0 ;
8283   int val5 ;
8284   int ecode5 = 0 ;
8285   svn_error_t *result = 0 ;
8286   VALUE vresult = Qnil;
8287 
8288   {
8289     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg10);
8290     _global_pool = arg10;
8291     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
8292   }
8293   if ((argc < 8) || (argc > 9)) {
8294     rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
8295   }
8296   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
8297   if (!SWIG_IsOK(res1)) {
8298     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_log", 1, argv[0] ));
8299   }
8300   arg1 = (svn_ra_session_t *)(argp1);
8301   {
8302     arg2 = svn_swig_rb_strings_to_apr_array(argv[1], _global_pool);
8303   }
8304   ecode3 = SWIG_AsVal_long(argv[2], &val3);
8305   if (!SWIG_IsOK(ecode3)) {
8306     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_get_log", 3, argv[2] ));
8307   }
8308   arg3 = (svn_revnum_t)(val3);
8309   ecode4 = SWIG_AsVal_long(argv[3], &val4);
8310   if (!SWIG_IsOK(ecode4)) {
8311     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_get_log", 4, argv[3] ));
8312   }
8313   arg4 = (svn_revnum_t)(val4);
8314   ecode5 = SWIG_AsVal_int(argv[4], &val5);
8315   if (!SWIG_IsOK(ecode5)) {
8316     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "int","svn_ra_get_log", 5, argv[4] ));
8317   }
8318   arg5 = (int)(val5);
8319   arg6 = RTEST(argv[5]);
8320   arg7 = RTEST(argv[6]);
8321   {
8322     arg8 = (svn_log_message_receiver_t) svn_swig_rb_log_receiver;
8323     arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
8324   }
8325   if (argc > 8) {
8326 
8327   }
8328   {
8329     result = (svn_error_t *)svn_ra_get_log(arg1,(apr_array_header_t const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
8330 
8331 
8332 
8333   }
8334   {
8335     if (result) {
8336       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8337       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8338       svn_swig_rb_handle_svn_error(result);
8339     }
8340     vresult = Qnil;
8341   }
8342   {
8343     VALUE target;
8344     target = _global_vresult_address == &vresult ? self : vresult;
8345     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8346     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8347     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8348   }
8349   return vresult;
8350 fail:
8351   {
8352     VALUE target;
8353     target = _global_vresult_address == &vresult ? self : vresult;
8354     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8355     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8356     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8357   }
8358   return Qnil;
8359 }
8360 
8361 
8362 SWIGINTERN VALUE
_wrap_svn_ra_check_path(int argc,VALUE * argv,VALUE self)8363 _wrap_svn_ra_check_path(int argc, VALUE *argv, VALUE self) {
8364   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
8365   char *arg2 = (char *) 0 ;
8366   svn_revnum_t arg3 ;
8367   svn_node_kind_t *arg4 = (svn_node_kind_t *) 0 ;
8368   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
8369   VALUE _global_svn_swig_rb_pool ;
8370   apr_pool_t *_global_pool ;
8371   void *argp1 = 0 ;
8372   int res1 = 0 ;
8373   int res2 ;
8374   char *buf2 = 0 ;
8375   int alloc2 = 0 ;
8376   long val3 ;
8377   int ecode3 = 0 ;
8378   svn_node_kind_t temp4 ;
8379   int res4 = SWIG_TMPOBJ ;
8380   svn_error_t *result = 0 ;
8381   VALUE vresult = Qnil;
8382 
8383   {
8384     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
8385     _global_pool = arg5;
8386     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
8387   }
8388   arg4 = &temp4;
8389   if ((argc < 3) || (argc > 4)) {
8390     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
8391   }
8392   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
8393   if (!SWIG_IsOK(res1)) {
8394     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_check_path", 1, argv[0] ));
8395   }
8396   arg1 = (svn_ra_session_t *)(argp1);
8397   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
8398   if (!SWIG_IsOK(res2)) {
8399     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_ra_check_path", 2, argv[1] ));
8400   }
8401   arg2 = (char *)(buf2);
8402   ecode3 = SWIG_AsVal_long(argv[2], &val3);
8403   if (!SWIG_IsOK(ecode3)) {
8404     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_check_path", 3, argv[2] ));
8405   }
8406   arg3 = (svn_revnum_t)(val3);
8407   if (argc > 3) {
8408 
8409   }
8410   {
8411     result = (svn_error_t *)svn_ra_check_path(arg1,(char const *)arg2,arg3,arg4,arg5);
8412 
8413 
8414 
8415   }
8416   {
8417     if (result) {
8418       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8419       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8420       svn_swig_rb_handle_svn_error(result);
8421     }
8422     vresult = Qnil;
8423   }
8424   if (SWIG_IsTmpObj(res4)) {
8425     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg4)));
8426   } else {
8427     int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
8428     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_svn_node_kind_t, new_flags));
8429   }
8430   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8431   {
8432     VALUE target;
8433     target = _global_vresult_address == &vresult ? self : vresult;
8434     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8435     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8436     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8437   }
8438   return vresult;
8439 fail:
8440   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8441   {
8442     VALUE target;
8443     target = _global_vresult_address == &vresult ? self : vresult;
8444     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8445     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8446     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8447   }
8448   return Qnil;
8449 }
8450 
8451 
8452 SWIGINTERN VALUE
_wrap_svn_ra_stat(int argc,VALUE * argv,VALUE self)8453 _wrap_svn_ra_stat(int argc, VALUE *argv, VALUE self) {
8454   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
8455   char *arg2 = (char *) 0 ;
8456   svn_revnum_t arg3 ;
8457   svn_dirent_t **arg4 = (svn_dirent_t **) 0 ;
8458   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
8459   VALUE _global_svn_swig_rb_pool ;
8460   apr_pool_t *_global_pool ;
8461   void *argp1 = 0 ;
8462   int res1 = 0 ;
8463   int res2 ;
8464   char *buf2 = 0 ;
8465   int alloc2 = 0 ;
8466   long val3 ;
8467   int ecode3 = 0 ;
8468   svn_dirent_t *temp4 ;
8469   svn_error_t *result = 0 ;
8470   VALUE vresult = Qnil;
8471 
8472   {
8473     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
8474     _global_pool = arg5;
8475     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
8476   }
8477   arg4 = &temp4;
8478   if ((argc < 3) || (argc > 4)) {
8479     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
8480   }
8481   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
8482   if (!SWIG_IsOK(res1)) {
8483     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_stat", 1, argv[0] ));
8484   }
8485   arg1 = (svn_ra_session_t *)(argp1);
8486   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
8487   if (!SWIG_IsOK(res2)) {
8488     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_ra_stat", 2, argv[1] ));
8489   }
8490   arg2 = (char *)(buf2);
8491   ecode3 = SWIG_AsVal_long(argv[2], &val3);
8492   if (!SWIG_IsOK(ecode3)) {
8493     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_stat", 3, argv[2] ));
8494   }
8495   arg3 = (svn_revnum_t)(val3);
8496   if (argc > 3) {
8497 
8498   }
8499   {
8500     result = (svn_error_t *)svn_ra_stat(arg1,(char const *)arg2,arg3,arg4,arg5);
8501 
8502 
8503 
8504   }
8505   {
8506     if (result) {
8507       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8508       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8509       svn_swig_rb_handle_svn_error(result);
8510     }
8511     vresult = Qnil;
8512   }
8513   {
8514     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg4, SWIGTYPE_p_svn_dirent_t, 0));
8515   }
8516   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8517   {
8518     VALUE target;
8519     target = _global_vresult_address == &vresult ? self : vresult;
8520     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8521     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8522     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8523   }
8524   return vresult;
8525 fail:
8526   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8527   {
8528     VALUE target;
8529     target = _global_vresult_address == &vresult ? self : vresult;
8530     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8531     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8532     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8533   }
8534   return Qnil;
8535 }
8536 
8537 
8538 SWIGINTERN VALUE
_wrap_svn_ra_get_uuid2(int argc,VALUE * argv,VALUE self)8539 _wrap_svn_ra_get_uuid2(int argc, VALUE *argv, VALUE self) {
8540   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
8541   char **arg2 = (char **) 0 ;
8542   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
8543   VALUE _global_svn_swig_rb_pool ;
8544   apr_pool_t *_global_pool ;
8545   void *argp1 = 0 ;
8546   int res1 = 0 ;
8547   char *temp2 ;
8548   svn_error_t *result = 0 ;
8549   VALUE vresult = Qnil;
8550 
8551   {
8552     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
8553     _global_pool = arg3;
8554     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
8555   }
8556   arg2 = &temp2;
8557   if ((argc < 1) || (argc > 2)) {
8558     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8559   }
8560   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
8561   if (!SWIG_IsOK(res1)) {
8562     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_uuid2", 1, argv[0] ));
8563   }
8564   arg1 = (svn_ra_session_t *)(argp1);
8565   if (argc > 1) {
8566 
8567   }
8568   {
8569     result = (svn_error_t *)svn_ra_get_uuid2(arg1,(char const **)arg2,arg3);
8570 
8571 
8572 
8573   }
8574   {
8575     if (result) {
8576       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8577       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8578       svn_swig_rb_handle_svn_error(result);
8579     }
8580     vresult = Qnil;
8581   }
8582   {
8583     if (*arg2) {
8584       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg2));
8585     } else {
8586       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
8587     }
8588   }
8589   {
8590     VALUE target;
8591     target = _global_vresult_address == &vresult ? self : vresult;
8592     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8593     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8594     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8595   }
8596   return vresult;
8597 fail:
8598   {
8599     VALUE target;
8600     target = _global_vresult_address == &vresult ? self : vresult;
8601     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8602     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8603     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8604   }
8605   return Qnil;
8606 }
8607 
8608 
8609 SWIGINTERN VALUE
_wrap_svn_ra_get_uuid(int argc,VALUE * argv,VALUE self)8610 _wrap_svn_ra_get_uuid(int argc, VALUE *argv, VALUE self) {
8611   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
8612   char **arg2 = (char **) 0 ;
8613   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
8614   VALUE _global_svn_swig_rb_pool ;
8615   apr_pool_t *_global_pool ;
8616   void *argp1 = 0 ;
8617   int res1 = 0 ;
8618   char *temp2 ;
8619   svn_error_t *result = 0 ;
8620   VALUE vresult = Qnil;
8621 
8622   {
8623     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
8624     _global_pool = arg3;
8625     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
8626   }
8627   arg2 = &temp2;
8628   if ((argc < 1) || (argc > 2)) {
8629     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8630   }
8631   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
8632   if (!SWIG_IsOK(res1)) {
8633     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_uuid", 1, argv[0] ));
8634   }
8635   arg1 = (svn_ra_session_t *)(argp1);
8636   if (argc > 1) {
8637 
8638   }
8639   {
8640     result = (svn_error_t *)svn_ra_get_uuid(arg1,(char const **)arg2,arg3);
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   {
8654     if (*arg2) {
8655       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg2));
8656     } else {
8657       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
8658     }
8659   }
8660   {
8661     VALUE target;
8662     target = _global_vresult_address == &vresult ? self : vresult;
8663     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8664     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8665     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8666   }
8667   return vresult;
8668 fail:
8669   {
8670     VALUE target;
8671     target = _global_vresult_address == &vresult ? self : vresult;
8672     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8673     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8674     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8675   }
8676   return Qnil;
8677 }
8678 
8679 
8680 SWIGINTERN VALUE
_wrap_svn_ra_get_repos_root2(int argc,VALUE * argv,VALUE self)8681 _wrap_svn_ra_get_repos_root2(int argc, VALUE *argv, VALUE self) {
8682   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
8683   char **arg2 = (char **) 0 ;
8684   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
8685   VALUE _global_svn_swig_rb_pool ;
8686   apr_pool_t *_global_pool ;
8687   void *argp1 = 0 ;
8688   int res1 = 0 ;
8689   char *temp2 ;
8690   svn_error_t *result = 0 ;
8691   VALUE vresult = Qnil;
8692 
8693   {
8694     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
8695     _global_pool = arg3;
8696     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
8697   }
8698   arg2 = &temp2;
8699   if ((argc < 1) || (argc > 2)) {
8700     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8701   }
8702   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
8703   if (!SWIG_IsOK(res1)) {
8704     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_repos_root2", 1, argv[0] ));
8705   }
8706   arg1 = (svn_ra_session_t *)(argp1);
8707   if (argc > 1) {
8708 
8709   }
8710   {
8711     result = (svn_error_t *)svn_ra_get_repos_root2(arg1,(char const **)arg2,arg3);
8712 
8713 
8714 
8715   }
8716   {
8717     if (result) {
8718       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8719       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8720       svn_swig_rb_handle_svn_error(result);
8721     }
8722     vresult = Qnil;
8723   }
8724   {
8725     if (*arg2) {
8726       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg2));
8727     } else {
8728       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
8729     }
8730   }
8731   {
8732     VALUE target;
8733     target = _global_vresult_address == &vresult ? self : vresult;
8734     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8735     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8736     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8737   }
8738   return vresult;
8739 fail:
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 Qnil;
8748 }
8749 
8750 
8751 SWIGINTERN VALUE
_wrap_svn_ra_get_repos_root(int argc,VALUE * argv,VALUE self)8752 _wrap_svn_ra_get_repos_root(int argc, VALUE *argv, VALUE self) {
8753   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
8754   char **arg2 = (char **) 0 ;
8755   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
8756   VALUE _global_svn_swig_rb_pool ;
8757   apr_pool_t *_global_pool ;
8758   void *argp1 = 0 ;
8759   int res1 = 0 ;
8760   char *temp2 ;
8761   svn_error_t *result = 0 ;
8762   VALUE vresult = Qnil;
8763 
8764   {
8765     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
8766     _global_pool = arg3;
8767     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
8768   }
8769   arg2 = &temp2;
8770   if ((argc < 1) || (argc > 2)) {
8771     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8772   }
8773   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
8774   if (!SWIG_IsOK(res1)) {
8775     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_repos_root", 1, argv[0] ));
8776   }
8777   arg1 = (svn_ra_session_t *)(argp1);
8778   if (argc > 1) {
8779 
8780   }
8781   {
8782     result = (svn_error_t *)svn_ra_get_repos_root(arg1,(char const **)arg2,arg3);
8783 
8784 
8785 
8786   }
8787   {
8788     if (result) {
8789       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8790       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8791       svn_swig_rb_handle_svn_error(result);
8792     }
8793     vresult = Qnil;
8794   }
8795   {
8796     if (*arg2) {
8797       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg2));
8798     } else {
8799       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
8800     }
8801   }
8802   {
8803     VALUE target;
8804     target = _global_vresult_address == &vresult ? self : vresult;
8805     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8806     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8807     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8808   }
8809   return vresult;
8810 fail:
8811   {
8812     VALUE target;
8813     target = _global_vresult_address == &vresult ? self : vresult;
8814     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8815     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8816     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8817   }
8818   return Qnil;
8819 }
8820 
8821 
8822 SWIGINTERN VALUE
_wrap_svn_ra_get_locations(int argc,VALUE * argv,VALUE self)8823 _wrap_svn_ra_get_locations(int argc, VALUE *argv, VALUE self) {
8824   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
8825   apr_hash_t **arg2 = (apr_hash_t **) 0 ;
8826   char *arg3 = (char *) 0 ;
8827   svn_revnum_t arg4 ;
8828   apr_array_header_t *arg5 = (apr_array_header_t *) 0 ;
8829   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
8830   VALUE _global_svn_swig_rb_pool ;
8831   apr_pool_t *_global_pool ;
8832   void *argp1 = 0 ;
8833   int res1 = 0 ;
8834   apr_hash_t *temp2 ;
8835   int res3 ;
8836   char *buf3 = 0 ;
8837   int alloc3 = 0 ;
8838   long val4 ;
8839   int ecode4 = 0 ;
8840   svn_error_t *result = 0 ;
8841   VALUE vresult = Qnil;
8842 
8843   {
8844     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
8845     _global_pool = arg6;
8846     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
8847   }
8848   arg2 = &temp2;
8849   if ((argc < 4) || (argc > 5)) {
8850     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
8851   }
8852   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
8853   if (!SWIG_IsOK(res1)) {
8854     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_locations", 1, argv[0] ));
8855   }
8856   arg1 = (svn_ra_session_t *)(argp1);
8857   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
8858   if (!SWIG_IsOK(res3)) {
8859     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_get_locations", 3, argv[1] ));
8860   }
8861   arg3 = (char *)(buf3);
8862   ecode4 = SWIG_AsVal_long(argv[2], &val4);
8863   if (!SWIG_IsOK(ecode4)) {
8864     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_get_locations", 4, argv[2] ));
8865   }
8866   arg4 = (svn_revnum_t)(val4);
8867   {
8868     arg5 = svn_swig_rb_array_to_apr_array_revnum(argv[3], _global_pool);
8869   }
8870   if (argc > 4) {
8871 
8872   }
8873   {
8874     result = (svn_error_t *)svn_ra_get_locations(arg1,arg2,(char const *)arg3,arg4,(apr_array_header_t const *)arg5,arg6);
8875 
8876 
8877 
8878   }
8879   {
8880     if (result) {
8881       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8882       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8883       svn_swig_rb_handle_svn_error(result);
8884     }
8885     vresult = Qnil;
8886   }
8887   {
8888     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_revnum_key_hash_to_hash_string(*arg2));
8889   }
8890   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8891   {
8892     VALUE target;
8893     target = _global_vresult_address == &vresult ? self : vresult;
8894     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8895     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8896     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8897   }
8898   return vresult;
8899 fail:
8900   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8901   {
8902     VALUE target;
8903     target = _global_vresult_address == &vresult ? self : vresult;
8904     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
8905     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8906     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8907   }
8908   return Qnil;
8909 }
8910 
8911 
8912 SWIGINTERN VALUE
_wrap_svn_ra_get_location_segments(int argc,VALUE * argv,VALUE self)8913 _wrap_svn_ra_get_location_segments(int argc, VALUE *argv, VALUE self) {
8914   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
8915   char *arg2 = (char *) 0 ;
8916   svn_revnum_t arg3 ;
8917   svn_revnum_t arg4 ;
8918   svn_revnum_t arg5 ;
8919   svn_location_segment_receiver_t arg6 = (svn_location_segment_receiver_t) 0 ;
8920   void *arg7 = (void *) 0 ;
8921   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
8922   VALUE _global_svn_swig_rb_pool ;
8923   apr_pool_t *_global_pool ;
8924   void *argp1 = 0 ;
8925   int res1 = 0 ;
8926   int res2 ;
8927   char *buf2 = 0 ;
8928   int alloc2 = 0 ;
8929   long val3 ;
8930   int ecode3 = 0 ;
8931   long val4 ;
8932   int ecode4 = 0 ;
8933   long val5 ;
8934   int ecode5 = 0 ;
8935   int res7 ;
8936   svn_error_t *result = 0 ;
8937   VALUE vresult = Qnil;
8938 
8939   {
8940     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8);
8941     _global_pool = arg8;
8942     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
8943   }
8944   if ((argc < 7) || (argc > 8)) {
8945     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
8946   }
8947   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
8948   if (!SWIG_IsOK(res1)) {
8949     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_location_segments", 1, argv[0] ));
8950   }
8951   arg1 = (svn_ra_session_t *)(argp1);
8952   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
8953   if (!SWIG_IsOK(res2)) {
8954     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_ra_get_location_segments", 2, argv[1] ));
8955   }
8956   arg2 = (char *)(buf2);
8957   ecode3 = SWIG_AsVal_long(argv[2], &val3);
8958   if (!SWIG_IsOK(ecode3)) {
8959     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_get_location_segments", 3, argv[2] ));
8960   }
8961   arg3 = (svn_revnum_t)(val3);
8962   ecode4 = SWIG_AsVal_long(argv[3], &val4);
8963   if (!SWIG_IsOK(ecode4)) {
8964     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_get_location_segments", 4, argv[3] ));
8965   }
8966   arg4 = (svn_revnum_t)(val4);
8967   ecode5 = SWIG_AsVal_long(argv[4], &val5);
8968   if (!SWIG_IsOK(ecode5)) {
8969     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_get_location_segments", 5, argv[4] ));
8970   }
8971   arg5 = (svn_revnum_t)(val5);
8972   {
8973     int res = SWIG_ConvertFunctionPtr(argv[5], (void**)(&arg6), SWIGTYPE_p_f_p_svn_location_segment_t_p_void_p_apr_pool_t__p_svn_error_t);
8974     if (!SWIG_IsOK(res)) {
8975       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_location_segment_receiver_t","svn_ra_get_location_segments", 6, argv[5] ));
8976     }
8977   }
8978   res7 = SWIG_ConvertPtr(argv[6],SWIG_as_voidptrptr(&arg7), 0, 0);
8979   if (!SWIG_IsOK(res7)) {
8980     SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "void *","svn_ra_get_location_segments", 7, argv[6] ));
8981   }
8982   if (argc > 7) {
8983 
8984   }
8985   {
8986     result = (svn_error_t *)svn_ra_get_location_segments(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8);
8987 
8988 
8989 
8990   }
8991   {
8992     if (result) {
8993       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
8994       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
8995       svn_swig_rb_handle_svn_error(result);
8996     }
8997     vresult = Qnil;
8998   }
8999   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9000   {
9001     VALUE target;
9002     target = _global_vresult_address == &vresult ? self : vresult;
9003     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9004     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9005     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9006   }
9007   return vresult;
9008 fail:
9009   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9010   {
9011     VALUE target;
9012     target = _global_vresult_address == &vresult ? self : vresult;
9013     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9014     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9015     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9016   }
9017   return Qnil;
9018 }
9019 
9020 
9021 SWIGINTERN VALUE
_wrap_svn_ra_get_file_revs2(int argc,VALUE * argv,VALUE self)9022 _wrap_svn_ra_get_file_revs2(int argc, VALUE *argv, VALUE self) {
9023   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
9024   char *arg2 = (char *) 0 ;
9025   svn_revnum_t arg3 ;
9026   svn_revnum_t arg4 ;
9027   svn_boolean_t arg5 ;
9028   svn_file_rev_handler_t arg6 = (svn_file_rev_handler_t) 0 ;
9029   void *arg7 = (void *) 0 ;
9030   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
9031   VALUE _global_svn_swig_rb_pool ;
9032   apr_pool_t *_global_pool ;
9033   void *argp1 = 0 ;
9034   int res1 = 0 ;
9035   int res2 ;
9036   char *buf2 = 0 ;
9037   int alloc2 = 0 ;
9038   long val3 ;
9039   int ecode3 = 0 ;
9040   long val4 ;
9041   int ecode4 = 0 ;
9042   int res7 ;
9043   svn_error_t *result = 0 ;
9044   VALUE vresult = Qnil;
9045 
9046   {
9047     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8);
9048     _global_pool = arg8;
9049     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
9050   }
9051   if ((argc < 7) || (argc > 8)) {
9052     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
9053   }
9054   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
9055   if (!SWIG_IsOK(res1)) {
9056     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_file_revs2", 1, argv[0] ));
9057   }
9058   arg1 = (svn_ra_session_t *)(argp1);
9059   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
9060   if (!SWIG_IsOK(res2)) {
9061     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_ra_get_file_revs2", 2, argv[1] ));
9062   }
9063   arg2 = (char *)(buf2);
9064   ecode3 = SWIG_AsVal_long(argv[2], &val3);
9065   if (!SWIG_IsOK(ecode3)) {
9066     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_get_file_revs2", 3, argv[2] ));
9067   }
9068   arg3 = (svn_revnum_t)(val3);
9069   ecode4 = SWIG_AsVal_long(argv[3], &val4);
9070   if (!SWIG_IsOK(ecode4)) {
9071     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_get_file_revs2", 4, argv[3] ));
9072   }
9073   arg4 = (svn_revnum_t)(val4);
9074   arg5 = RTEST(argv[4]);
9075   {
9076     int res = SWIG_ConvertFunctionPtr(argv[5], (void**)(&arg6), SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_svn_boolean_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t);
9077     if (!SWIG_IsOK(res)) {
9078       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_file_rev_handler_t","svn_ra_get_file_revs2", 6, argv[5] ));
9079     }
9080   }
9081   res7 = SWIG_ConvertPtr(argv[6],SWIG_as_voidptrptr(&arg7), 0, 0);
9082   if (!SWIG_IsOK(res7)) {
9083     SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "void *","svn_ra_get_file_revs2", 7, argv[6] ));
9084   }
9085   if (argc > 7) {
9086 
9087   }
9088   {
9089     result = (svn_error_t *)svn_ra_get_file_revs2(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8);
9090 
9091 
9092 
9093   }
9094   {
9095     if (result) {
9096       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9097       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9098       svn_swig_rb_handle_svn_error(result);
9099     }
9100     vresult = Qnil;
9101   }
9102   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9103   {
9104     VALUE target;
9105     target = _global_vresult_address == &vresult ? self : vresult;
9106     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9107     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9108     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9109   }
9110   return vresult;
9111 fail:
9112   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9113   {
9114     VALUE target;
9115     target = _global_vresult_address == &vresult ? self : vresult;
9116     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9117     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9118     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9119   }
9120   return Qnil;
9121 }
9122 
9123 
9124 SWIGINTERN VALUE
_wrap_svn_ra_get_file_revs(int argc,VALUE * argv,VALUE self)9125 _wrap_svn_ra_get_file_revs(int argc, VALUE *argv, VALUE self) {
9126   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
9127   char *arg2 = (char *) 0 ;
9128   svn_revnum_t arg3 ;
9129   svn_revnum_t arg4 ;
9130   svn_ra_file_rev_handler_t arg5 = (svn_ra_file_rev_handler_t) 0 ;
9131   void *arg6 = (void *) 0 ;
9132   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
9133   VALUE _global_svn_swig_rb_pool ;
9134   apr_pool_t *_global_pool ;
9135   void *argp1 = 0 ;
9136   int res1 = 0 ;
9137   int res2 ;
9138   char *buf2 = 0 ;
9139   int alloc2 = 0 ;
9140   long val3 ;
9141   int ecode3 = 0 ;
9142   long val4 ;
9143   int ecode4 = 0 ;
9144   svn_error_t *result = 0 ;
9145   VALUE vresult = Qnil;
9146 
9147   {
9148     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7);
9149     _global_pool = arg7;
9150     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
9151   }
9152   if ((argc < 5) || (argc > 6)) {
9153     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
9154   }
9155   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
9156   if (!SWIG_IsOK(res1)) {
9157     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_file_revs", 1, argv[0] ));
9158   }
9159   arg1 = (svn_ra_session_t *)(argp1);
9160   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
9161   if (!SWIG_IsOK(res2)) {
9162     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_ra_get_file_revs", 2, argv[1] ));
9163   }
9164   arg2 = (char *)(buf2);
9165   ecode3 = SWIG_AsVal_long(argv[2], &val3);
9166   if (!SWIG_IsOK(ecode3)) {
9167     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_get_file_revs", 3, argv[2] ));
9168   }
9169   arg3 = (svn_revnum_t)(val3);
9170   ecode4 = SWIG_AsVal_long(argv[3], &val4);
9171   if (!SWIG_IsOK(ecode4)) {
9172     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_get_file_revs", 4, argv[3] ));
9173   }
9174   arg4 = (svn_revnum_t)(val4);
9175   {
9176     arg5 = (svn_ra_file_rev_handler_t) svn_swig_rb_ra_file_rev_handler;
9177     arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
9178   }
9179   if (argc > 5) {
9180 
9181   }
9182   {
9183     result = (svn_error_t *)svn_ra_get_file_revs(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7);
9184 
9185 
9186 
9187   }
9188   {
9189     if (result) {
9190       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9191       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9192       svn_swig_rb_handle_svn_error(result);
9193     }
9194     vresult = Qnil;
9195   }
9196   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9197   {
9198     VALUE target;
9199     target = _global_vresult_address == &vresult ? self : vresult;
9200     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9201     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9202     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9203   }
9204   return vresult;
9205 fail:
9206   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9207   {
9208     VALUE target;
9209     target = _global_vresult_address == &vresult ? self : vresult;
9210     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9211     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9212     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9213   }
9214   return Qnil;
9215 }
9216 
9217 
9218 SWIGINTERN VALUE
_wrap_svn_ra_lock(int argc,VALUE * argv,VALUE self)9219 _wrap_svn_ra_lock(int argc, VALUE *argv, VALUE self) {
9220   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
9221   apr_hash_t *arg2 = (apr_hash_t *) 0 ;
9222   char *arg3 = (char *) 0 ;
9223   svn_boolean_t arg4 ;
9224   svn_ra_lock_callback_t arg5 = (svn_ra_lock_callback_t) 0 ;
9225   void *arg6 = (void *) 0 ;
9226   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
9227   VALUE _global_svn_swig_rb_pool ;
9228   apr_pool_t *_global_pool ;
9229   void *argp1 = 0 ;
9230   int res1 = 0 ;
9231   svn_error_t *result = 0 ;
9232   VALUE vresult = Qnil;
9233 
9234   {
9235     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7);
9236     _global_pool = arg7;
9237     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
9238   }
9239   if ((argc < 5) || (argc > 6)) {
9240     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
9241   }
9242   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
9243   if (!SWIG_IsOK(res1)) {
9244     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_lock", 1, argv[0] ));
9245   }
9246   arg1 = (svn_ra_session_t *)(argp1);
9247   {
9248     arg2 = svn_swig_rb_hash_to_apr_hash_revnum(argv[1], _global_pool);
9249   }
9250   {
9251     if (NIL_P(argv[2])) {
9252       arg3 = NULL;
9253     } else {
9254       arg3 = StringValuePtr(argv[2]);
9255     }
9256   }
9257   arg4 = RTEST(argv[3]);
9258   {
9259     arg5 = (svn_ra_lock_callback_t) svn_swig_rb_ra_lock_callback;
9260     arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
9261   }
9262   if (argc > 5) {
9263 
9264   }
9265   {
9266     result = (svn_error_t *)svn_ra_lock(arg1,arg2,(char const *)arg3,arg4,arg5,arg6,arg7);
9267 
9268 
9269 
9270   }
9271   {
9272     if (result) {
9273       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9274       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9275       svn_swig_rb_handle_svn_error(result);
9276     }
9277     vresult = Qnil;
9278   }
9279   {
9280     VALUE target;
9281     target = _global_vresult_address == &vresult ? self : vresult;
9282     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9283     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9284     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9285   }
9286   return vresult;
9287 fail:
9288   {
9289     VALUE target;
9290     target = _global_vresult_address == &vresult ? self : vresult;
9291     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9292     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9293     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9294   }
9295   return Qnil;
9296 }
9297 
9298 
9299 SWIGINTERN VALUE
_wrap_svn_ra_unlock(int argc,VALUE * argv,VALUE self)9300 _wrap_svn_ra_unlock(int argc, VALUE *argv, VALUE self) {
9301   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
9302   apr_hash_t *arg2 = (apr_hash_t *) 0 ;
9303   svn_boolean_t arg3 ;
9304   svn_ra_lock_callback_t arg4 = (svn_ra_lock_callback_t) 0 ;
9305   void *arg5 = (void *) 0 ;
9306   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
9307   VALUE _global_svn_swig_rb_pool ;
9308   apr_pool_t *_global_pool ;
9309   void *argp1 = 0 ;
9310   int res1 = 0 ;
9311   svn_error_t *result = 0 ;
9312   VALUE vresult = Qnil;
9313 
9314   {
9315     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
9316     _global_pool = arg6;
9317     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
9318   }
9319   if ((argc < 4) || (argc > 5)) {
9320     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
9321   }
9322   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
9323   if (!SWIG_IsOK(res1)) {
9324     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_unlock", 1, argv[0] ));
9325   }
9326   arg1 = (svn_ra_session_t *)(argp1);
9327   {
9328     arg2 = svn_swig_rb_hash_to_apr_hash_string(argv[1], _global_pool);
9329   }
9330   arg3 = RTEST(argv[2]);
9331   {
9332     arg4 = (svn_ra_lock_callback_t) svn_swig_rb_ra_lock_callback;
9333     arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
9334   }
9335   if (argc > 4) {
9336 
9337   }
9338   {
9339     result = (svn_error_t *)svn_ra_unlock(arg1,arg2,arg3,arg4,arg5,arg6);
9340 
9341 
9342 
9343   }
9344   {
9345     if (result) {
9346       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9347       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9348       svn_swig_rb_handle_svn_error(result);
9349     }
9350     vresult = Qnil;
9351   }
9352   {
9353     VALUE target;
9354     target = _global_vresult_address == &vresult ? self : vresult;
9355     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9356     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9357     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9358   }
9359   return vresult;
9360 fail:
9361   {
9362     VALUE target;
9363     target = _global_vresult_address == &vresult ? self : vresult;
9364     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9365     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9366     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9367   }
9368   return Qnil;
9369 }
9370 
9371 
9372 SWIGINTERN VALUE
_wrap_svn_ra_get_lock(int argc,VALUE * argv,VALUE self)9373 _wrap_svn_ra_get_lock(int argc, VALUE *argv, VALUE self) {
9374   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
9375   svn_lock_t **arg2 = (svn_lock_t **) 0 ;
9376   char *arg3 = (char *) 0 ;
9377   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
9378   VALUE _global_svn_swig_rb_pool ;
9379   apr_pool_t *_global_pool ;
9380   void *argp1 = 0 ;
9381   int res1 = 0 ;
9382   svn_lock_t *temp2 ;
9383   int res3 ;
9384   char *buf3 = 0 ;
9385   int alloc3 = 0 ;
9386   svn_error_t *result = 0 ;
9387   VALUE vresult = Qnil;
9388 
9389   {
9390     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
9391     _global_pool = arg4;
9392     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
9393   }
9394   arg2 = &temp2;
9395   if ((argc < 2) || (argc > 3)) {
9396     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9397   }
9398   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
9399   if (!SWIG_IsOK(res1)) {
9400     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_lock", 1, argv[0] ));
9401   }
9402   arg1 = (svn_ra_session_t *)(argp1);
9403   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
9404   if (!SWIG_IsOK(res3)) {
9405     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_get_lock", 3, argv[1] ));
9406   }
9407   arg3 = (char *)(buf3);
9408   if (argc > 2) {
9409 
9410   }
9411   {
9412     result = (svn_error_t *)svn_ra_get_lock(arg1,arg2,(char const *)arg3,arg4);
9413 
9414 
9415 
9416   }
9417   {
9418     if (result) {
9419       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9420       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9421       svn_swig_rb_handle_svn_error(result);
9422     }
9423     vresult = Qnil;
9424   }
9425   {
9426     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_svn_lock_t, 0));
9427   }
9428   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
9429   {
9430     VALUE target;
9431     target = _global_vresult_address == &vresult ? self : vresult;
9432     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9433     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9434     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9435   }
9436   return vresult;
9437 fail:
9438   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
9439   {
9440     VALUE target;
9441     target = _global_vresult_address == &vresult ? self : vresult;
9442     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9443     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9444     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9445   }
9446   return Qnil;
9447 }
9448 
9449 
9450 SWIGINTERN VALUE
_wrap_svn_ra_get_locks2(int argc,VALUE * argv,VALUE self)9451 _wrap_svn_ra_get_locks2(int argc, VALUE *argv, VALUE self) {
9452   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
9453   apr_hash_t **arg2 = (apr_hash_t **) 0 ;
9454   char *arg3 = (char *) 0 ;
9455   svn_depth_t arg4 ;
9456   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
9457   VALUE _global_svn_swig_rb_pool ;
9458   apr_pool_t *_global_pool ;
9459   void *argp1 = 0 ;
9460   int res1 = 0 ;
9461   apr_hash_t *temp2 ;
9462   int res3 ;
9463   char *buf3 = 0 ;
9464   int alloc3 = 0 ;
9465   svn_error_t *result = 0 ;
9466   VALUE vresult = Qnil;
9467 
9468   {
9469     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
9470     _global_pool = arg5;
9471     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
9472   }
9473   arg2 = &temp2;
9474   if ((argc < 3) || (argc > 4)) {
9475     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
9476   }
9477   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
9478   if (!SWIG_IsOK(res1)) {
9479     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_locks2", 1, argv[0] ));
9480   }
9481   arg1 = (svn_ra_session_t *)(argp1);
9482   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
9483   if (!SWIG_IsOK(res3)) {
9484     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_get_locks2", 3, argv[1] ));
9485   }
9486   arg3 = (char *)(buf3);
9487   {
9488     arg4 = svn_swig_rb_to_depth(argv[2]);
9489   }
9490   if (argc > 3) {
9491 
9492   }
9493   {
9494     result = (svn_error_t *)svn_ra_get_locks2(arg1,arg2,(char const *)arg3,arg4,arg5);
9495 
9496 
9497 
9498   }
9499   {
9500     if (result) {
9501       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9502       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9503       svn_swig_rb_handle_svn_error(result);
9504     }
9505     vresult = Qnil;
9506   }
9507   {
9508     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_swig_type(*arg2,
9509         "svn_lock_t *"))
9510 
9511     ;
9512   }
9513   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
9514   {
9515     VALUE target;
9516     target = _global_vresult_address == &vresult ? self : vresult;
9517     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9518     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9519     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9520   }
9521   return vresult;
9522 fail:
9523   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
9524   {
9525     VALUE target;
9526     target = _global_vresult_address == &vresult ? self : vresult;
9527     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9528     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9529     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9530   }
9531   return Qnil;
9532 }
9533 
9534 
9535 SWIGINTERN VALUE
_wrap_svn_ra_get_locks(int argc,VALUE * argv,VALUE self)9536 _wrap_svn_ra_get_locks(int argc, VALUE *argv, VALUE self) {
9537   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
9538   apr_hash_t **arg2 = (apr_hash_t **) 0 ;
9539   char *arg3 = (char *) 0 ;
9540   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
9541   VALUE _global_svn_swig_rb_pool ;
9542   apr_pool_t *_global_pool ;
9543   void *argp1 = 0 ;
9544   int res1 = 0 ;
9545   apr_hash_t *temp2 ;
9546   int res3 ;
9547   char *buf3 = 0 ;
9548   int alloc3 = 0 ;
9549   svn_error_t *result = 0 ;
9550   VALUE vresult = Qnil;
9551 
9552   {
9553     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
9554     _global_pool = arg4;
9555     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
9556   }
9557   arg2 = &temp2;
9558   if ((argc < 2) || (argc > 3)) {
9559     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9560   }
9561   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
9562   if (!SWIG_IsOK(res1)) {
9563     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_locks", 1, argv[0] ));
9564   }
9565   arg1 = (svn_ra_session_t *)(argp1);
9566   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
9567   if (!SWIG_IsOK(res3)) {
9568     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_get_locks", 3, argv[1] ));
9569   }
9570   arg3 = (char *)(buf3);
9571   if (argc > 2) {
9572 
9573   }
9574   {
9575     result = (svn_error_t *)svn_ra_get_locks(arg1,arg2,(char const *)arg3,arg4);
9576 
9577 
9578 
9579   }
9580   {
9581     if (result) {
9582       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9583       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9584       svn_swig_rb_handle_svn_error(result);
9585     }
9586     vresult = Qnil;
9587   }
9588   {
9589     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_swig_type(*arg2,
9590         "svn_lock_t *"))
9591 
9592     ;
9593   }
9594   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
9595   {
9596     VALUE target;
9597     target = _global_vresult_address == &vresult ? self : vresult;
9598     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9599     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9600     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9601   }
9602   return vresult;
9603 fail:
9604   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
9605   {
9606     VALUE target;
9607     target = _global_vresult_address == &vresult ? self : vresult;
9608     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9609     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9610     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9611   }
9612   return Qnil;
9613 }
9614 
9615 
9616 SWIGINTERN VALUE
_wrap_svn_ra_replay_range(int argc,VALUE * argv,VALUE self)9617 _wrap_svn_ra_replay_range(int argc, VALUE *argv, VALUE self) {
9618   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
9619   svn_revnum_t arg2 ;
9620   svn_revnum_t arg3 ;
9621   svn_revnum_t arg4 ;
9622   svn_boolean_t arg5 ;
9623   svn_ra_replay_revstart_callback_t arg6 = (svn_ra_replay_revstart_callback_t) 0 ;
9624   svn_ra_replay_revfinish_callback_t arg7 = (svn_ra_replay_revfinish_callback_t) 0 ;
9625   void *arg8 = (void *) 0 ;
9626   apr_pool_t *arg9 = (apr_pool_t *) 0 ;
9627   VALUE _global_svn_swig_rb_pool ;
9628   apr_pool_t *_global_pool ;
9629   void *argp1 = 0 ;
9630   int res1 = 0 ;
9631   long val2 ;
9632   int ecode2 = 0 ;
9633   long val3 ;
9634   int ecode3 = 0 ;
9635   long val4 ;
9636   int ecode4 = 0 ;
9637   int res8 ;
9638   svn_error_t *result = 0 ;
9639   VALUE vresult = Qnil;
9640 
9641   {
9642     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg9);
9643     _global_pool = arg9;
9644     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
9645   }
9646   if ((argc < 8) || (argc > 9)) {
9647     rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
9648   }
9649   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
9650   if (!SWIG_IsOK(res1)) {
9651     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_replay_range", 1, argv[0] ));
9652   }
9653   arg1 = (svn_ra_session_t *)(argp1);
9654   ecode2 = SWIG_AsVal_long(argv[1], &val2);
9655   if (!SWIG_IsOK(ecode2)) {
9656     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_replay_range", 2, argv[1] ));
9657   }
9658   arg2 = (svn_revnum_t)(val2);
9659   ecode3 = SWIG_AsVal_long(argv[2], &val3);
9660   if (!SWIG_IsOK(ecode3)) {
9661     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_replay_range", 3, argv[2] ));
9662   }
9663   arg3 = (svn_revnum_t)(val3);
9664   ecode4 = SWIG_AsVal_long(argv[3], &val4);
9665   if (!SWIG_IsOK(ecode4)) {
9666     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_replay_range", 4, argv[3] ));
9667   }
9668   arg4 = (svn_revnum_t)(val4);
9669   arg5 = RTEST(argv[4]);
9670   {
9671     int res = SWIG_ConvertFunctionPtr(argv[5], (void**)(&arg6), SWIGTYPE_p_f_svn_revnum_t_p_void_p_p_q_const__svn_delta_editor_t_p_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t);
9672     if (!SWIG_IsOK(res)) {
9673       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_replay_revstart_callback_t","svn_ra_replay_range", 6, argv[5] ));
9674     }
9675   }
9676   {
9677     int res = SWIG_ConvertFunctionPtr(argv[6], (void**)(&arg7), SWIGTYPE_p_f_svn_revnum_t_p_void_p_q_const__svn_delta_editor_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t);
9678     if (!SWIG_IsOK(res)) {
9679       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_replay_revfinish_callback_t","svn_ra_replay_range", 7, argv[6] ));
9680     }
9681   }
9682   res8 = SWIG_ConvertPtr(argv[7],SWIG_as_voidptrptr(&arg8), 0, 0);
9683   if (!SWIG_IsOK(res8)) {
9684     SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "void *","svn_ra_replay_range", 8, argv[7] ));
9685   }
9686   if (argc > 8) {
9687 
9688   }
9689   {
9690     result = (svn_error_t *)svn_ra_replay_range(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
9691 
9692 
9693 
9694   }
9695   {
9696     if (result) {
9697       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9698       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9699       svn_swig_rb_handle_svn_error(result);
9700     }
9701     vresult = Qnil;
9702   }
9703   {
9704     VALUE target;
9705     target = _global_vresult_address == &vresult ? self : vresult;
9706     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9707     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9708     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9709   }
9710   return vresult;
9711 fail:
9712   {
9713     VALUE target;
9714     target = _global_vresult_address == &vresult ? self : vresult;
9715     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9716     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9717     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9718   }
9719   return Qnil;
9720 }
9721 
9722 
9723 SWIGINTERN VALUE
_wrap_svn_ra_replay(int argc,VALUE * argv,VALUE self)9724 _wrap_svn_ra_replay(int argc, VALUE *argv, VALUE self) {
9725   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
9726   svn_revnum_t arg2 ;
9727   svn_revnum_t arg3 ;
9728   svn_boolean_t arg4 ;
9729   svn_delta_editor_t *arg5 = (svn_delta_editor_t *) 0 ;
9730   void *arg6 = (void *) 0 ;
9731   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
9732   VALUE _global_svn_swig_rb_pool ;
9733   apr_pool_t *_global_pool ;
9734   void *argp1 = 0 ;
9735   int res1 = 0 ;
9736   long val2 ;
9737   int ecode2 = 0 ;
9738   long val3 ;
9739   int ecode3 = 0 ;
9740   svn_error_t *result = 0 ;
9741   VALUE vresult = Qnil;
9742 
9743   {
9744     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7);
9745     _global_pool = arg7;
9746     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
9747   }
9748   if ((argc < 5) || (argc > 6)) {
9749     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
9750   }
9751   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
9752   if (!SWIG_IsOK(res1)) {
9753     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_replay", 1, argv[0] ));
9754   }
9755   arg1 = (svn_ra_session_t *)(argp1);
9756   ecode2 = SWIG_AsVal_long(argv[1], &val2);
9757   if (!SWIG_IsOK(ecode2)) {
9758     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_replay", 2, argv[1] ));
9759   }
9760   arg2 = (svn_revnum_t)(val2);
9761   ecode3 = SWIG_AsVal_long(argv[2], &val3);
9762   if (!SWIG_IsOK(ecode3)) {
9763     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_replay", 3, argv[2] ));
9764   }
9765   arg3 = (svn_revnum_t)(val3);
9766   arg4 = RTEST(argv[3]);
9767   {
9768     if (RTEST(rb_obj_is_kind_of(argv[4],
9769           svn_swig_rb_svn_delta_editor()))) {
9770       arg5 = svn_swig_rb_to_swig_type(argv[4],
9771         "svn_delta_editor_t *",
9772         _global_pool);
9773       arg6 = svn_swig_rb_to_swig_type(rb_funcall(argv[4], rb_intern("baton"), 0),
9774         "void *", _global_pool);
9775     } else {
9776       svn_swig_rb_make_delta_editor(&arg5, &arg6, argv[4], _global_pool);
9777     }
9778   }
9779   if (argc > 5) {
9780 
9781   }
9782   {
9783     result = (svn_error_t *)svn_ra_replay(arg1,arg2,arg3,arg4,(struct svn_delta_editor_t const *)arg5,arg6,arg7);
9784 
9785 
9786 
9787   }
9788   {
9789     if (result) {
9790       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9791       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9792       svn_swig_rb_handle_svn_error(result);
9793     }
9794     vresult = Qnil;
9795   }
9796   {
9797     VALUE target;
9798     target = _global_vresult_address == &vresult ? self : vresult;
9799     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9800     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9801     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9802   }
9803   return vresult;
9804 fail:
9805   {
9806     VALUE target;
9807     target = _global_vresult_address == &vresult ? self : vresult;
9808     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9809     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9810     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9811   }
9812   return Qnil;
9813 }
9814 
9815 
9816 SWIGINTERN VALUE
_wrap_svn_ra_get_deleted_rev(int argc,VALUE * argv,VALUE self)9817 _wrap_svn_ra_get_deleted_rev(int argc, VALUE *argv, VALUE self) {
9818   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
9819   char *arg2 = (char *) 0 ;
9820   svn_revnum_t arg3 ;
9821   svn_revnum_t arg4 ;
9822   svn_revnum_t *arg5 = (svn_revnum_t *) 0 ;
9823   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
9824   VALUE _global_svn_swig_rb_pool ;
9825   apr_pool_t *_global_pool ;
9826   void *argp1 = 0 ;
9827   int res1 = 0 ;
9828   int res2 ;
9829   char *buf2 = 0 ;
9830   int alloc2 = 0 ;
9831   long val3 ;
9832   int ecode3 = 0 ;
9833   long val4 ;
9834   int ecode4 = 0 ;
9835   svn_revnum_t temp5 ;
9836   int res5 = SWIG_TMPOBJ ;
9837   svn_error_t *result = 0 ;
9838   VALUE vresult = Qnil;
9839 
9840   {
9841     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
9842     _global_pool = arg6;
9843     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
9844   }
9845   arg5 = &temp5;
9846   if ((argc < 4) || (argc > 5)) {
9847     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
9848   }
9849   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
9850   if (!SWIG_IsOK(res1)) {
9851     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_deleted_rev", 1, argv[0] ));
9852   }
9853   arg1 = (svn_ra_session_t *)(argp1);
9854   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
9855   if (!SWIG_IsOK(res2)) {
9856     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_ra_get_deleted_rev", 2, argv[1] ));
9857   }
9858   arg2 = (char *)(buf2);
9859   ecode3 = SWIG_AsVal_long(argv[2], &val3);
9860   if (!SWIG_IsOK(ecode3)) {
9861     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_get_deleted_rev", 3, argv[2] ));
9862   }
9863   arg3 = (svn_revnum_t)(val3);
9864   ecode4 = SWIG_AsVal_long(argv[3], &val4);
9865   if (!SWIG_IsOK(ecode4)) {
9866     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_get_deleted_rev", 4, argv[3] ));
9867   }
9868   arg4 = (svn_revnum_t)(val4);
9869   if (argc > 4) {
9870 
9871   }
9872   {
9873     result = (svn_error_t *)svn_ra_get_deleted_rev(arg1,(char const *)arg2,arg3,arg4,arg5,arg6);
9874 
9875 
9876 
9877   }
9878   {
9879     if (result) {
9880       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9881       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9882       svn_swig_rb_handle_svn_error(result);
9883     }
9884     vresult = Qnil;
9885   }
9886   if (SWIG_IsTmpObj(res5)) {
9887     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg5)));
9888   } else {
9889     int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
9890     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_long, new_flags));
9891   }
9892   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9893   {
9894     VALUE target;
9895     target = _global_vresult_address == &vresult ? self : vresult;
9896     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9897     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9898     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9899   }
9900   return vresult;
9901 fail:
9902   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9903   {
9904     VALUE target;
9905     target = _global_vresult_address == &vresult ? self : vresult;
9906     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9907     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9908     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9909   }
9910   return Qnil;
9911 }
9912 
9913 
9914 SWIGINTERN VALUE
_wrap_svn_ra_get_inherited_props(int argc,VALUE * argv,VALUE self)9915 _wrap_svn_ra_get_inherited_props(int argc, VALUE *argv, VALUE self) {
9916   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
9917   apr_array_header_t **arg2 = (apr_array_header_t **) 0 ;
9918   char *arg3 = (char *) 0 ;
9919   svn_revnum_t arg4 ;
9920   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
9921   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
9922   VALUE _global_svn_swig_rb_pool ;
9923   apr_pool_t *_global_pool ;
9924   void *argp1 = 0 ;
9925   int res1 = 0 ;
9926   apr_array_header_t *temp2 ;
9927   int res3 ;
9928   char *buf3 = 0 ;
9929   int alloc3 = 0 ;
9930   long val4 ;
9931   int ecode4 = 0 ;
9932   svn_error_t *result = 0 ;
9933   VALUE vresult = Qnil;
9934 
9935   {
9936     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
9937     _global_pool = arg5;
9938     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
9939   }
9940   {
9941     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
9942     _global_pool = arg6;
9943     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
9944   }
9945   arg2 = &temp2;
9946   if ((argc < 3) || (argc > 5)) {
9947     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
9948   }
9949   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
9950   if (!SWIG_IsOK(res1)) {
9951     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_get_inherited_props", 1, argv[0] ));
9952   }
9953   arg1 = (svn_ra_session_t *)(argp1);
9954   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
9955   if (!SWIG_IsOK(res3)) {
9956     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_get_inherited_props", 3, argv[1] ));
9957   }
9958   arg3 = (char *)(buf3);
9959   ecode4 = SWIG_AsVal_long(argv[2], &val4);
9960   if (!SWIG_IsOK(ecode4)) {
9961     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_get_inherited_props", 4, argv[2] ));
9962   }
9963   arg4 = (svn_revnum_t)(val4);
9964   if (argc > 3) {
9965 
9966   }
9967   if (argc > 4) {
9968 
9969   }
9970   {
9971     result = (svn_error_t *)svn_ra_get_inherited_props(arg1,arg2,(char const *)arg3,arg4,arg5,arg6);
9972 
9973 
9974 
9975   }
9976   {
9977     if (result) {
9978       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9979       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
9980       svn_swig_rb_handle_svn_error(result);
9981     }
9982     vresult = Qnil;
9983   }
9984   {
9985     /* FIXME: Missing argout typemap: svn_ra_get_inherited_props arg 2 (apr_array_header_t **) */
9986 
9987 
9988 
9989 
9990     SWIG_exception(SWIG_ValueError, "svn_ra_get_inherited_props is not implemented yet");
9991 
9992   }
9993   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
9994   {
9995     VALUE target;
9996     target = _global_vresult_address == &vresult ? self : vresult;
9997     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
9998     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
9999     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10000   }
10001   {
10002     VALUE target;
10003     target = _global_vresult_address == &vresult ? self : vresult;
10004     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10005     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10006     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10007   }
10008   return vresult;
10009 fail:
10010   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10011   {
10012     VALUE target;
10013     target = _global_vresult_address == &vresult ? self : vresult;
10014     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10015     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10016     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10017   }
10018   {
10019     VALUE target;
10020     target = _global_vresult_address == &vresult ? self : vresult;
10021     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10022     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10023     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10024   }
10025   return Qnil;
10026 }
10027 
10028 
10029 SWIGINTERN VALUE
_wrap_svn_ra_has_capability(int argc,VALUE * argv,VALUE self)10030 _wrap_svn_ra_has_capability(int argc, VALUE *argv, VALUE self) {
10031   svn_ra_session_t *arg1 = (svn_ra_session_t *) 0 ;
10032   svn_boolean_t *arg2 = (svn_boolean_t *) 0 ;
10033   char *arg3 = (char *) 0 ;
10034   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
10035   VALUE _global_svn_swig_rb_pool ;
10036   apr_pool_t *_global_pool ;
10037   void *argp1 = 0 ;
10038   int res1 = 0 ;
10039   svn_boolean_t temp2 ;
10040   int res3 ;
10041   char *buf3 = 0 ;
10042   int alloc3 = 0 ;
10043   svn_error_t *result = 0 ;
10044   VALUE vresult = Qnil;
10045 
10046   {
10047     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
10048     _global_pool = arg4;
10049     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
10050   }
10051   arg2 = &temp2;
10052   if ((argc < 2) || (argc > 3)) {
10053     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
10054   }
10055   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_session_t, 0 |  0 );
10056   if (!SWIG_IsOK(res1)) {
10057     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_session_t *","svn_ra_has_capability", 1, argv[0] ));
10058   }
10059   arg1 = (svn_ra_session_t *)(argp1);
10060   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
10061   if (!SWIG_IsOK(res3)) {
10062     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_has_capability", 3, argv[1] ));
10063   }
10064   arg3 = (char *)(buf3);
10065   if (argc > 2) {
10066 
10067   }
10068   {
10069     result = (svn_error_t *)svn_ra_has_capability(arg1,arg2,(char const *)arg3,arg4);
10070 
10071 
10072 
10073   }
10074   {
10075     if (result) {
10076       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10077       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10078       svn_swig_rb_handle_svn_error(result);
10079     }
10080     vresult = Qnil;
10081   }
10082   {
10083     vresult = SWIG_Ruby_AppendOutput(vresult, *arg2 ? Qtrue : Qfalse);
10084   }
10085   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10086   {
10087     VALUE target;
10088     target = _global_vresult_address == &vresult ? self : vresult;
10089     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10090     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10091     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10092   }
10093   return vresult;
10094 fail:
10095   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10096   {
10097     VALUE target;
10098     target = _global_vresult_address == &vresult ? self : vresult;
10099     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10100     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10101     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10102   }
10103   return Qnil;
10104 }
10105 
10106 
10107 SWIGINTERN VALUE
_wrap_svn_ra_print_modules(int argc,VALUE * argv,VALUE self)10108 _wrap_svn_ra_print_modules(int argc, VALUE *argv, VALUE self) {
10109   svn_stringbuf_t *arg1 = (svn_stringbuf_t *) 0 ;
10110   apr_pool_t *arg2 = (apr_pool_t *) 0 ;
10111   VALUE _global_svn_swig_rb_pool ;
10112   apr_pool_t *_global_pool ;
10113   svn_error_t *result = 0 ;
10114   VALUE vresult = Qnil;
10115 
10116   {
10117     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2);
10118     _global_pool = arg2;
10119     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
10120   }
10121   if ((argc < 1) || (argc > 2)) {
10122     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10123   }
10124   {
10125     if (NIL_P(argv[0])) {
10126       arg1 = NULL;
10127     } else {
10128       arg1 = svn_stringbuf_ncreate(StringValuePtr(argv[0]),
10129         RSTRING_LEN(argv[0]),
10130         _global_pool);
10131     }
10132   }
10133   if (argc > 1) {
10134 
10135   }
10136   {
10137     result = (svn_error_t *)svn_ra_print_modules(arg1,arg2);
10138 
10139 
10140 
10141   }
10142   {
10143     if (result) {
10144       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10145       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10146       svn_swig_rb_handle_svn_error(result);
10147     }
10148     vresult = Qnil;
10149   }
10150   {
10151     vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new(arg1->data, arg1->len));
10152   }
10153   {
10154     VALUE target;
10155     target = _global_vresult_address == &vresult ? self : vresult;
10156     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10157     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10158     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10159   }
10160   return vresult;
10161 fail:
10162   {
10163     VALUE target;
10164     target = _global_vresult_address == &vresult ? self : vresult;
10165     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10166     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10167     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10168   }
10169   return Qnil;
10170 }
10171 
10172 
10173 SWIGINTERN VALUE
_wrap_svn_ra_print_ra_libraries(int argc,VALUE * argv,VALUE self)10174 _wrap_svn_ra_print_ra_libraries(int argc, VALUE *argv, VALUE self) {
10175   svn_stringbuf_t **arg1 = (svn_stringbuf_t **) 0 ;
10176   void *arg2 = (void *) 0 ;
10177   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
10178   VALUE _global_svn_swig_rb_pool ;
10179   apr_pool_t *_global_pool ;
10180   svn_stringbuf_t *temp1 ;
10181   int res2 ;
10182   svn_error_t *result = 0 ;
10183   VALUE vresult = Qnil;
10184 
10185   {
10186     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
10187     _global_pool = arg3;
10188     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
10189   }
10190   arg1 = &temp1;
10191   if ((argc < 1) || (argc > 2)) {
10192     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10193   }
10194   res2 = SWIG_ConvertPtr(argv[0],SWIG_as_voidptrptr(&arg2), 0, 0);
10195   if (!SWIG_IsOK(res2)) {
10196     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_print_ra_libraries", 2, argv[0] ));
10197   }
10198   if (argc > 1) {
10199 
10200   }
10201   {
10202     result = (svn_error_t *)svn_ra_print_ra_libraries(arg1,arg2,arg3);
10203 
10204 
10205 
10206   }
10207   {
10208     if (result) {
10209       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10210       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10211       svn_swig_rb_handle_svn_error(result);
10212     }
10213     vresult = Qnil;
10214   }
10215   {
10216     if (*arg1) {
10217       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new((*arg1)->data, (*arg1)->len));
10218     } else {
10219       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
10220     }
10221   }
10222   {
10223     VALUE target;
10224     target = _global_vresult_address == &vresult ? self : vresult;
10225     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10226     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10227     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10228   }
10229   return vresult;
10230 fail:
10231   {
10232     VALUE target;
10233     target = _global_vresult_address == &vresult ? self : vresult;
10234     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
10235     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
10236     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
10237   }
10238   return Qnil;
10239 }
10240 
10241 
10242 static swig_class SwigClassSvn_ra_plugin_t;
10243 
10244 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_name_set(int argc,VALUE * argv,VALUE self)10245 _wrap_svn_ra_plugin_t_name_set(int argc, VALUE *argv, VALUE self) {
10246   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10247   char *arg2 = (char *) 0 ;
10248   void *argp1 = 0 ;
10249   int res1 = 0 ;
10250   int res2 ;
10251   char *buf2 = 0 ;
10252   int alloc2 = 0 ;
10253 
10254   if ((argc < 1) || (argc > 1)) {
10255     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10256   }
10257   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10258   if (!SWIG_IsOK(res1)) {
10259     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","name", 1, self ));
10260   }
10261   arg1 = (struct svn_ra_plugin_t *)(argp1);
10262   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
10263   if (!SWIG_IsOK(res2)) {
10264     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","name", 2, argv[0] ));
10265   }
10266   arg2 = (char *)(buf2);
10267   {
10268     apr_size_t len = strlen(arg2) + 1;
10269     char *copied;
10270     if (arg1->name) free((char *)arg1->name);
10271     copied = malloc(len);
10272     memcpy(copied, arg2, len);
10273     arg1->name = copied;
10274   }
10275   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
10276   return Qnil;
10277 fail:
10278   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
10279   return Qnil;
10280 }
10281 
10282 
10283 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_name_get(int argc,VALUE * argv,VALUE self)10284 _wrap_svn_ra_plugin_t_name_get(int argc, VALUE *argv, VALUE self) {
10285   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10286   void *argp1 = 0 ;
10287   int res1 = 0 ;
10288   char *result = 0 ;
10289   VALUE vresult = Qnil;
10290 
10291   if ((argc < 0) || (argc > 0)) {
10292     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10293   }
10294   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10295   if (!SWIG_IsOK(res1)) {
10296     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","name", 1, self ));
10297   }
10298   arg1 = (struct svn_ra_plugin_t *)(argp1);
10299   result = (char *) ((arg1)->name);
10300   {
10301     if (result) {
10302       vresult = rb_str_new2(result);
10303     } else {
10304       vresult = Qnil;
10305     }
10306   }
10307   return vresult;
10308 fail:
10309   return Qnil;
10310 }
10311 
10312 
10313 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_description_set(int argc,VALUE * argv,VALUE self)10314 _wrap_svn_ra_plugin_t_description_set(int argc, VALUE *argv, VALUE self) {
10315   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10316   char *arg2 = (char *) 0 ;
10317   void *argp1 = 0 ;
10318   int res1 = 0 ;
10319   int res2 ;
10320   char *buf2 = 0 ;
10321   int alloc2 = 0 ;
10322 
10323   if ((argc < 1) || (argc > 1)) {
10324     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10325   }
10326   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10327   if (!SWIG_IsOK(res1)) {
10328     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","description", 1, self ));
10329   }
10330   arg1 = (struct svn_ra_plugin_t *)(argp1);
10331   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
10332   if (!SWIG_IsOK(res2)) {
10333     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","description", 2, argv[0] ));
10334   }
10335   arg2 = (char *)(buf2);
10336   {
10337     apr_size_t len = strlen(arg2) + 1;
10338     char *copied;
10339     if (arg1->description) free((char *)arg1->description);
10340     copied = malloc(len);
10341     memcpy(copied, arg2, len);
10342     arg1->description = copied;
10343   }
10344   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
10345   return Qnil;
10346 fail:
10347   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
10348   return Qnil;
10349 }
10350 
10351 
10352 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_description_get(int argc,VALUE * argv,VALUE self)10353 _wrap_svn_ra_plugin_t_description_get(int argc, VALUE *argv, VALUE self) {
10354   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10355   void *argp1 = 0 ;
10356   int res1 = 0 ;
10357   char *result = 0 ;
10358   VALUE vresult = Qnil;
10359 
10360   if ((argc < 0) || (argc > 0)) {
10361     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10362   }
10363   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10364   if (!SWIG_IsOK(res1)) {
10365     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","description", 1, self ));
10366   }
10367   arg1 = (struct svn_ra_plugin_t *)(argp1);
10368   result = (char *) ((arg1)->description);
10369   {
10370     if (result) {
10371       vresult = rb_str_new2(result);
10372     } else {
10373       vresult = Qnil;
10374     }
10375   }
10376   return vresult;
10377 fail:
10378   return Qnil;
10379 }
10380 
10381 
10382 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_open_set(int argc,VALUE * argv,VALUE self)10383 _wrap_svn_ra_plugin_t_open_set(int argc, VALUE *argv, VALUE self) {
10384   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10385   svn_error_t *(*arg2)(void **,char const *,svn_ra_callbacks_t const *,void *,apr_hash_t *,apr_pool_t *) = (svn_error_t *(*)(void **,char const *,svn_ra_callbacks_t const *,void *,apr_hash_t *,apr_pool_t *)) 0 ;
10386   void *argp1 = 0 ;
10387   int res1 = 0 ;
10388 
10389   if ((argc < 1) || (argc > 1)) {
10390     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10391   }
10392   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10393   if (!SWIG_IsOK(res1)) {
10394     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","open", 1, self ));
10395   }
10396   arg1 = (struct svn_ra_plugin_t *)(argp1);
10397   {
10398     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_p_void_p_q_const__char_p_q_const__svn_ra_callbacks_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t);
10399     if (!SWIG_IsOK(res)) {
10400       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void **,char const *,svn_ra_callbacks_t const *,void *,apr_hash_t *,apr_pool_t *)","open", 2, argv[0] ));
10401     }
10402   }
10403   if (arg1) (arg1)->open = arg2;
10404   return Qnil;
10405 fail:
10406   return Qnil;
10407 }
10408 
10409 
10410 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_open_get(int argc,VALUE * argv,VALUE self)10411 _wrap_svn_ra_plugin_t_open_get(int argc, VALUE *argv, VALUE self) {
10412   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10413   void *argp1 = 0 ;
10414   int res1 = 0 ;
10415   svn_error_t *(*result)(void **,char const *,svn_ra_callbacks_t const *,void *,apr_hash_t *,apr_pool_t *) = 0 ;
10416   VALUE vresult = Qnil;
10417 
10418   if ((argc < 0) || (argc > 0)) {
10419     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10420   }
10421   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10422   if (!SWIG_IsOK(res1)) {
10423     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","open", 1, self ));
10424   }
10425   arg1 = (struct svn_ra_plugin_t *)(argp1);
10426   result = (svn_error_t *(*)(void **,char const *,svn_ra_callbacks_t const *,void *,apr_hash_t *,apr_pool_t *)) ((arg1)->open);
10427   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_p_void_p_q_const__char_p_q_const__svn_ra_callbacks_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t);
10428   return vresult;
10429 fail:
10430   return Qnil;
10431 }
10432 
10433 
10434 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_get_latest_revnum_set(int argc,VALUE * argv,VALUE self)10435 _wrap_svn_ra_plugin_t_get_latest_revnum_set(int argc, VALUE *argv, VALUE self) {
10436   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10437   svn_error_t *(*arg2)(void *,svn_revnum_t *,apr_pool_t *) = (svn_error_t *(*)(void *,svn_revnum_t *,apr_pool_t *)) 0 ;
10438   void *argp1 = 0 ;
10439   int res1 = 0 ;
10440 
10441   if ((argc < 1) || (argc > 1)) {
10442     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10443   }
10444   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10445   if (!SWIG_IsOK(res1)) {
10446     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","get_latest_revnum", 1, self ));
10447   }
10448   arg1 = (struct svn_ra_plugin_t *)(argp1);
10449   {
10450     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_svn_revnum_t_p_apr_pool_t__p_svn_error_t);
10451     if (!SWIG_IsOK(res)) {
10452       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,svn_revnum_t *,apr_pool_t *)","get_latest_revnum", 2, argv[0] ));
10453     }
10454   }
10455   if (arg1) (arg1)->get_latest_revnum = arg2;
10456   return Qnil;
10457 fail:
10458   return Qnil;
10459 }
10460 
10461 
10462 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_get_latest_revnum_get(int argc,VALUE * argv,VALUE self)10463 _wrap_svn_ra_plugin_t_get_latest_revnum_get(int argc, VALUE *argv, VALUE self) {
10464   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10465   void *argp1 = 0 ;
10466   int res1 = 0 ;
10467   svn_error_t *(*result)(void *,svn_revnum_t *,apr_pool_t *) = 0 ;
10468   VALUE vresult = Qnil;
10469 
10470   if ((argc < 0) || (argc > 0)) {
10471     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10472   }
10473   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10474   if (!SWIG_IsOK(res1)) {
10475     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","get_latest_revnum", 1, self ));
10476   }
10477   arg1 = (struct svn_ra_plugin_t *)(argp1);
10478   result = (svn_error_t *(*)(void *,svn_revnum_t *,apr_pool_t *)) ((arg1)->get_latest_revnum);
10479   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_svn_revnum_t_p_apr_pool_t__p_svn_error_t);
10480   return vresult;
10481 fail:
10482   return Qnil;
10483 }
10484 
10485 
10486 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_get_dated_revision_set(int argc,VALUE * argv,VALUE self)10487 _wrap_svn_ra_plugin_t_get_dated_revision_set(int argc, VALUE *argv, VALUE self) {
10488   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10489   svn_error_t *(*arg2)(void *,svn_revnum_t *,apr_time_t,apr_pool_t *) = (svn_error_t *(*)(void *,svn_revnum_t *,apr_time_t,apr_pool_t *)) 0 ;
10490   void *argp1 = 0 ;
10491   int res1 = 0 ;
10492 
10493   if ((argc < 1) || (argc > 1)) {
10494     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10495   }
10496   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10497   if (!SWIG_IsOK(res1)) {
10498     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","get_dated_revision", 1, self ));
10499   }
10500   arg1 = (struct svn_ra_plugin_t *)(argp1);
10501   {
10502     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_svn_revnum_t_apr_time_t_p_apr_pool_t__p_svn_error_t);
10503     if (!SWIG_IsOK(res)) {
10504       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,svn_revnum_t *,apr_time_t,apr_pool_t *)","get_dated_revision", 2, argv[0] ));
10505     }
10506   }
10507   if (arg1) (arg1)->get_dated_revision = arg2;
10508   return Qnil;
10509 fail:
10510   return Qnil;
10511 }
10512 
10513 
10514 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_get_dated_revision_get(int argc,VALUE * argv,VALUE self)10515 _wrap_svn_ra_plugin_t_get_dated_revision_get(int argc, VALUE *argv, VALUE self) {
10516   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10517   void *argp1 = 0 ;
10518   int res1 = 0 ;
10519   svn_error_t *(*result)(void *,svn_revnum_t *,apr_time_t,apr_pool_t *) = 0 ;
10520   VALUE vresult = Qnil;
10521 
10522   if ((argc < 0) || (argc > 0)) {
10523     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10524   }
10525   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10526   if (!SWIG_IsOK(res1)) {
10527     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","get_dated_revision", 1, self ));
10528   }
10529   arg1 = (struct svn_ra_plugin_t *)(argp1);
10530   result = (svn_error_t *(*)(void *,svn_revnum_t *,apr_time_t,apr_pool_t *)) ((arg1)->get_dated_revision);
10531   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_svn_revnum_t_apr_time_t_p_apr_pool_t__p_svn_error_t);
10532   return vresult;
10533 fail:
10534   return Qnil;
10535 }
10536 
10537 
10538 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_change_rev_prop_set(int argc,VALUE * argv,VALUE self)10539 _wrap_svn_ra_plugin_t_change_rev_prop_set(int argc, VALUE *argv, VALUE self) {
10540   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10541   svn_error_t *(*arg2)(void *,svn_revnum_t,char const *,svn_string_t const *,apr_pool_t *) = (svn_error_t *(*)(void *,svn_revnum_t,char const *,svn_string_t const *,apr_pool_t *)) 0 ;
10542   void *argp1 = 0 ;
10543   int res1 = 0 ;
10544 
10545   if ((argc < 1) || (argc > 1)) {
10546     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10547   }
10548   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10549   if (!SWIG_IsOK(res1)) {
10550     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","change_rev_prop", 1, self ));
10551   }
10552   arg1 = (struct svn_ra_plugin_t *)(argp1);
10553   {
10554     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_svn_revnum_t_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t);
10555     if (!SWIG_IsOK(res)) {
10556       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,svn_revnum_t,char const *,svn_string_t const *,apr_pool_t *)","change_rev_prop", 2, argv[0] ));
10557     }
10558   }
10559   if (arg1) (arg1)->change_rev_prop = arg2;
10560   return Qnil;
10561 fail:
10562   return Qnil;
10563 }
10564 
10565 
10566 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_change_rev_prop_get(int argc,VALUE * argv,VALUE self)10567 _wrap_svn_ra_plugin_t_change_rev_prop_get(int argc, VALUE *argv, VALUE self) {
10568   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10569   void *argp1 = 0 ;
10570   int res1 = 0 ;
10571   svn_error_t *(*result)(void *,svn_revnum_t,char const *,svn_string_t const *,apr_pool_t *) = 0 ;
10572   VALUE vresult = Qnil;
10573 
10574   if ((argc < 0) || (argc > 0)) {
10575     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10576   }
10577   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10578   if (!SWIG_IsOK(res1)) {
10579     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","change_rev_prop", 1, self ));
10580   }
10581   arg1 = (struct svn_ra_plugin_t *)(argp1);
10582   result = (svn_error_t *(*)(void *,svn_revnum_t,char const *,svn_string_t const *,apr_pool_t *)) ((arg1)->change_rev_prop);
10583   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_svn_revnum_t_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t);
10584   return vresult;
10585 fail:
10586   return Qnil;
10587 }
10588 
10589 
10590 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_rev_proplist_set(int argc,VALUE * argv,VALUE self)10591 _wrap_svn_ra_plugin_t_rev_proplist_set(int argc, VALUE *argv, VALUE self) {
10592   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10593   svn_error_t *(*arg2)(void *,svn_revnum_t,apr_hash_t **,apr_pool_t *) = (svn_error_t *(*)(void *,svn_revnum_t,apr_hash_t **,apr_pool_t *)) 0 ;
10594   void *argp1 = 0 ;
10595   int res1 = 0 ;
10596 
10597   if ((argc < 1) || (argc > 1)) {
10598     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10599   }
10600   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10601   if (!SWIG_IsOK(res1)) {
10602     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","rev_proplist", 1, self ));
10603   }
10604   arg1 = (struct svn_ra_plugin_t *)(argp1);
10605   {
10606     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t);
10607     if (!SWIG_IsOK(res)) {
10608       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,svn_revnum_t,apr_hash_t **,apr_pool_t *)","rev_proplist", 2, argv[0] ));
10609     }
10610   }
10611   if (arg1) (arg1)->rev_proplist = arg2;
10612   return Qnil;
10613 fail:
10614   return Qnil;
10615 }
10616 
10617 
10618 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_rev_proplist_get(int argc,VALUE * argv,VALUE self)10619 _wrap_svn_ra_plugin_t_rev_proplist_get(int argc, VALUE *argv, VALUE self) {
10620   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10621   void *argp1 = 0 ;
10622   int res1 = 0 ;
10623   svn_error_t *(*result)(void *,svn_revnum_t,apr_hash_t **,apr_pool_t *) = 0 ;
10624   VALUE vresult = Qnil;
10625 
10626   if ((argc < 0) || (argc > 0)) {
10627     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10628   }
10629   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10630   if (!SWIG_IsOK(res1)) {
10631     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","rev_proplist", 1, self ));
10632   }
10633   arg1 = (struct svn_ra_plugin_t *)(argp1);
10634   result = (svn_error_t *(*)(void *,svn_revnum_t,apr_hash_t **,apr_pool_t *)) ((arg1)->rev_proplist);
10635   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t);
10636   return vresult;
10637 fail:
10638   return Qnil;
10639 }
10640 
10641 
10642 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_rev_prop_set(int argc,VALUE * argv,VALUE self)10643 _wrap_svn_ra_plugin_t_rev_prop_set(int argc, VALUE *argv, VALUE self) {
10644   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10645   svn_error_t *(*arg2)(void *,svn_revnum_t,char const *,svn_string_t **,apr_pool_t *) = (svn_error_t *(*)(void *,svn_revnum_t,char const *,svn_string_t **,apr_pool_t *)) 0 ;
10646   void *argp1 = 0 ;
10647   int res1 = 0 ;
10648 
10649   if ((argc < 1) || (argc > 1)) {
10650     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10651   }
10652   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10653   if (!SWIG_IsOK(res1)) {
10654     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","rev_prop", 1, self ));
10655   }
10656   arg1 = (struct svn_ra_plugin_t *)(argp1);
10657   {
10658     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_svn_revnum_t_p_q_const__char_p_p_svn_string_t_p_apr_pool_t__p_svn_error_t);
10659     if (!SWIG_IsOK(res)) {
10660       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,svn_revnum_t,char const *,svn_string_t **,apr_pool_t *)","rev_prop", 2, argv[0] ));
10661     }
10662   }
10663   if (arg1) (arg1)->rev_prop = arg2;
10664   return Qnil;
10665 fail:
10666   return Qnil;
10667 }
10668 
10669 
10670 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_rev_prop_get(int argc,VALUE * argv,VALUE self)10671 _wrap_svn_ra_plugin_t_rev_prop_get(int argc, VALUE *argv, VALUE self) {
10672   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10673   void *argp1 = 0 ;
10674   int res1 = 0 ;
10675   svn_error_t *(*result)(void *,svn_revnum_t,char const *,svn_string_t **,apr_pool_t *) = 0 ;
10676   VALUE vresult = Qnil;
10677 
10678   if ((argc < 0) || (argc > 0)) {
10679     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10680   }
10681   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10682   if (!SWIG_IsOK(res1)) {
10683     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","rev_prop", 1, self ));
10684   }
10685   arg1 = (struct svn_ra_plugin_t *)(argp1);
10686   result = (svn_error_t *(*)(void *,svn_revnum_t,char const *,svn_string_t **,apr_pool_t *)) ((arg1)->rev_prop);
10687   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_svn_revnum_t_p_q_const__char_p_p_svn_string_t_p_apr_pool_t__p_svn_error_t);
10688   return vresult;
10689 fail:
10690   return Qnil;
10691 }
10692 
10693 
10694 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_get_commit_editor_set(int argc,VALUE * argv,VALUE self)10695 _wrap_svn_ra_plugin_t_get_commit_editor_set(int argc, VALUE *argv, VALUE self) {
10696   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10697   svn_error_t *(*arg2)(void *,svn_delta_editor_t const **,void **,char const *,svn_commit_callback_t,void *,apr_pool_t *) = (svn_error_t *(*)(void *,svn_delta_editor_t const **,void **,char const *,svn_commit_callback_t,void *,apr_pool_t *)) 0 ;
10698   void *argp1 = 0 ;
10699   int res1 = 0 ;
10700 
10701   if ((argc < 1) || (argc > 1)) {
10702     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10703   }
10704   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10705   if (!SWIG_IsOK(res1)) {
10706     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","get_commit_editor", 1, self ));
10707   }
10708   arg1 = (struct svn_ra_plugin_t *)(argp1);
10709   {
10710     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_p_q_const__svn_delta_editor_t_p_p_void_p_q_const__char_svn_commit_callback_t_p_void_p_apr_pool_t__p_svn_error_t);
10711     if (!SWIG_IsOK(res)) {
10712       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,svn_delta_editor_t const **,void **,char const *,svn_commit_callback_t,void *,apr_pool_t *)","get_commit_editor", 2, argv[0] ));
10713     }
10714   }
10715   if (arg1) (arg1)->get_commit_editor = arg2;
10716   return Qnil;
10717 fail:
10718   return Qnil;
10719 }
10720 
10721 
10722 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_get_commit_editor_get(int argc,VALUE * argv,VALUE self)10723 _wrap_svn_ra_plugin_t_get_commit_editor_get(int argc, VALUE *argv, VALUE self) {
10724   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10725   void *argp1 = 0 ;
10726   int res1 = 0 ;
10727   svn_error_t *(*result)(void *,svn_delta_editor_t const **,void **,char const *,svn_commit_callback_t,void *,apr_pool_t *) = 0 ;
10728   VALUE vresult = Qnil;
10729 
10730   if ((argc < 0) || (argc > 0)) {
10731     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10732   }
10733   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10734   if (!SWIG_IsOK(res1)) {
10735     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","get_commit_editor", 1, self ));
10736   }
10737   arg1 = (struct svn_ra_plugin_t *)(argp1);
10738   result = (svn_error_t *(*)(void *,svn_delta_editor_t const **,void **,char const *,svn_commit_callback_t,void *,apr_pool_t *)) ((arg1)->get_commit_editor);
10739   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_p_q_const__svn_delta_editor_t_p_p_void_p_q_const__char_svn_commit_callback_t_p_void_p_apr_pool_t__p_svn_error_t);
10740   return vresult;
10741 fail:
10742   return Qnil;
10743 }
10744 
10745 
10746 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_get_file_set(int argc,VALUE * argv,VALUE self)10747 _wrap_svn_ra_plugin_t_get_file_set(int argc, VALUE *argv, VALUE self) {
10748   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10749   svn_error_t *(*arg2)(void *,char const *,svn_revnum_t,svn_stream_t *,svn_revnum_t *,apr_hash_t **,apr_pool_t *) = (svn_error_t *(*)(void *,char const *,svn_revnum_t,svn_stream_t *,svn_revnum_t *,apr_hash_t **,apr_pool_t *)) 0 ;
10750   void *argp1 = 0 ;
10751   int res1 = 0 ;
10752 
10753   if ((argc < 1) || (argc > 1)) {
10754     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10755   }
10756   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10757   if (!SWIG_IsOK(res1)) {
10758     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","get_file", 1, self ));
10759   }
10760   arg1 = (struct svn_ra_plugin_t *)(argp1);
10761   {
10762     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_svn_stream_t_p_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t);
10763     if (!SWIG_IsOK(res)) {
10764       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,char const *,svn_revnum_t,svn_stream_t *,svn_revnum_t *,apr_hash_t **,apr_pool_t *)","get_file", 2, argv[0] ));
10765     }
10766   }
10767   if (arg1) (arg1)->get_file = arg2;
10768   return Qnil;
10769 fail:
10770   return Qnil;
10771 }
10772 
10773 
10774 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_get_file_get(int argc,VALUE * argv,VALUE self)10775 _wrap_svn_ra_plugin_t_get_file_get(int argc, VALUE *argv, VALUE self) {
10776   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10777   void *argp1 = 0 ;
10778   int res1 = 0 ;
10779   svn_error_t *(*result)(void *,char const *,svn_revnum_t,svn_stream_t *,svn_revnum_t *,apr_hash_t **,apr_pool_t *) = 0 ;
10780   VALUE vresult = Qnil;
10781 
10782   if ((argc < 0) || (argc > 0)) {
10783     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10784   }
10785   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10786   if (!SWIG_IsOK(res1)) {
10787     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","get_file", 1, self ));
10788   }
10789   arg1 = (struct svn_ra_plugin_t *)(argp1);
10790   result = (svn_error_t *(*)(void *,char const *,svn_revnum_t,svn_stream_t *,svn_revnum_t *,apr_hash_t **,apr_pool_t *)) ((arg1)->get_file);
10791   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_svn_stream_t_p_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t);
10792   return vresult;
10793 fail:
10794   return Qnil;
10795 }
10796 
10797 
10798 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_get_dir_set(int argc,VALUE * argv,VALUE self)10799 _wrap_svn_ra_plugin_t_get_dir_set(int argc, VALUE *argv, VALUE self) {
10800   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10801   svn_error_t *(*arg2)(void *,char const *,svn_revnum_t,apr_hash_t **,svn_revnum_t *,apr_hash_t **,apr_pool_t *) = (svn_error_t *(*)(void *,char const *,svn_revnum_t,apr_hash_t **,svn_revnum_t *,apr_hash_t **,apr_pool_t *)) 0 ;
10802   void *argp1 = 0 ;
10803   int res1 = 0 ;
10804 
10805   if ((argc < 1) || (argc > 1)) {
10806     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10807   }
10808   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10809   if (!SWIG_IsOK(res1)) {
10810     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","get_dir", 1, self ));
10811   }
10812   arg1 = (struct svn_ra_plugin_t *)(argp1);
10813   {
10814     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_p_apr_hash_t_p_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t);
10815     if (!SWIG_IsOK(res)) {
10816       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,char const *,svn_revnum_t,apr_hash_t **,svn_revnum_t *,apr_hash_t **,apr_pool_t *)","get_dir", 2, argv[0] ));
10817     }
10818   }
10819   if (arg1) (arg1)->get_dir = arg2;
10820   return Qnil;
10821 fail:
10822   return Qnil;
10823 }
10824 
10825 
10826 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_get_dir_get(int argc,VALUE * argv,VALUE self)10827 _wrap_svn_ra_plugin_t_get_dir_get(int argc, VALUE *argv, VALUE self) {
10828   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10829   void *argp1 = 0 ;
10830   int res1 = 0 ;
10831   svn_error_t *(*result)(void *,char const *,svn_revnum_t,apr_hash_t **,svn_revnum_t *,apr_hash_t **,apr_pool_t *) = 0 ;
10832   VALUE vresult = Qnil;
10833 
10834   if ((argc < 0) || (argc > 0)) {
10835     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10836   }
10837   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10838   if (!SWIG_IsOK(res1)) {
10839     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","get_dir", 1, self ));
10840   }
10841   arg1 = (struct svn_ra_plugin_t *)(argp1);
10842   result = (svn_error_t *(*)(void *,char const *,svn_revnum_t,apr_hash_t **,svn_revnum_t *,apr_hash_t **,apr_pool_t *)) ((arg1)->get_dir);
10843   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_p_apr_hash_t_p_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t);
10844   return vresult;
10845 fail:
10846   return Qnil;
10847 }
10848 
10849 
10850 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_do_update_set(int argc,VALUE * argv,VALUE self)10851 _wrap_svn_ra_plugin_t_do_update_set(int argc, VALUE *argv, VALUE self) {
10852   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10853   svn_error_t *(*arg2)(void *,svn_ra_reporter_t const **,void **,svn_revnum_t,char const *,svn_boolean_t,svn_delta_editor_t const *,void *,apr_pool_t *) = (svn_error_t *(*)(void *,svn_ra_reporter_t const **,void **,svn_revnum_t,char const *,svn_boolean_t,svn_delta_editor_t const *,void *,apr_pool_t *)) 0 ;
10854   void *argp1 = 0 ;
10855   int res1 = 0 ;
10856 
10857   if ((argc < 1) || (argc > 1)) {
10858     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10859   }
10860   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10861   if (!SWIG_IsOK(res1)) {
10862     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","do_update", 1, self ));
10863   }
10864   arg1 = (struct svn_ra_plugin_t *)(argp1);
10865   {
10866     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t);
10867     if (!SWIG_IsOK(res)) {
10868       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,svn_ra_reporter_t const **,void **,svn_revnum_t,char const *,svn_boolean_t,svn_delta_editor_t const *,void *,apr_pool_t *)","do_update", 2, argv[0] ));
10869     }
10870   }
10871   if (arg1) (arg1)->do_update = arg2;
10872   return Qnil;
10873 fail:
10874   return Qnil;
10875 }
10876 
10877 
10878 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_do_update_get(int argc,VALUE * argv,VALUE self)10879 _wrap_svn_ra_plugin_t_do_update_get(int argc, VALUE *argv, VALUE self) {
10880   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10881   void *argp1 = 0 ;
10882   int res1 = 0 ;
10883   svn_error_t *(*result)(void *,svn_ra_reporter_t const **,void **,svn_revnum_t,char const *,svn_boolean_t,svn_delta_editor_t const *,void *,apr_pool_t *) = 0 ;
10884   VALUE vresult = Qnil;
10885 
10886   if ((argc < 0) || (argc > 0)) {
10887     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10888   }
10889   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10890   if (!SWIG_IsOK(res1)) {
10891     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","do_update", 1, self ));
10892   }
10893   arg1 = (struct svn_ra_plugin_t *)(argp1);
10894   result = (svn_error_t *(*)(void *,svn_ra_reporter_t const **,void **,svn_revnum_t,char const *,svn_boolean_t,svn_delta_editor_t const *,void *,apr_pool_t *)) ((arg1)->do_update);
10895   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t);
10896   return vresult;
10897 fail:
10898   return Qnil;
10899 }
10900 
10901 
10902 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_do_switch_set(int argc,VALUE * argv,VALUE self)10903 _wrap_svn_ra_plugin_t_do_switch_set(int argc, VALUE *argv, VALUE self) {
10904   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10905   svn_error_t *(*arg2)(void *,svn_ra_reporter_t const **,void **,svn_revnum_t,char const *,svn_boolean_t,char const *,svn_delta_editor_t const *,void *,apr_pool_t *) = (svn_error_t *(*)(void *,svn_ra_reporter_t const **,void **,svn_revnum_t,char const *,svn_boolean_t,char const *,svn_delta_editor_t const *,void *,apr_pool_t *)) 0 ;
10906   void *argp1 = 0 ;
10907   int res1 = 0 ;
10908 
10909   if ((argc < 1) || (argc > 1)) {
10910     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10911   }
10912   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10913   if (!SWIG_IsOK(res1)) {
10914     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","do_switch", 1, self ));
10915   }
10916   arg1 = (struct svn_ra_plugin_t *)(argp1);
10917   {
10918     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t);
10919     if (!SWIG_IsOK(res)) {
10920       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,svn_ra_reporter_t const **,void **,svn_revnum_t,char const *,svn_boolean_t,char const *,svn_delta_editor_t const *,void *,apr_pool_t *)","do_switch", 2, argv[0] ));
10921     }
10922   }
10923   if (arg1) (arg1)->do_switch = arg2;
10924   return Qnil;
10925 fail:
10926   return Qnil;
10927 }
10928 
10929 
10930 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_do_switch_get(int argc,VALUE * argv,VALUE self)10931 _wrap_svn_ra_plugin_t_do_switch_get(int argc, VALUE *argv, VALUE self) {
10932   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10933   void *argp1 = 0 ;
10934   int res1 = 0 ;
10935   svn_error_t *(*result)(void *,svn_ra_reporter_t const **,void **,svn_revnum_t,char const *,svn_boolean_t,char const *,svn_delta_editor_t const *,void *,apr_pool_t *) = 0 ;
10936   VALUE vresult = Qnil;
10937 
10938   if ((argc < 0) || (argc > 0)) {
10939     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10940   }
10941   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10942   if (!SWIG_IsOK(res1)) {
10943     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","do_switch", 1, self ));
10944   }
10945   arg1 = (struct svn_ra_plugin_t *)(argp1);
10946   result = (svn_error_t *(*)(void *,svn_ra_reporter_t const **,void **,svn_revnum_t,char const *,svn_boolean_t,char const *,svn_delta_editor_t const *,void *,apr_pool_t *)) ((arg1)->do_switch);
10947   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t);
10948   return vresult;
10949 fail:
10950   return Qnil;
10951 }
10952 
10953 
10954 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_do_status_set(int argc,VALUE * argv,VALUE self)10955 _wrap_svn_ra_plugin_t_do_status_set(int argc, VALUE *argv, VALUE self) {
10956   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10957   svn_error_t *(*arg2)(void *,svn_ra_reporter_t const **,void **,char const *,svn_revnum_t,svn_boolean_t,svn_delta_editor_t const *,void *,apr_pool_t *) = (svn_error_t *(*)(void *,svn_ra_reporter_t const **,void **,char const *,svn_revnum_t,svn_boolean_t,svn_delta_editor_t const *,void *,apr_pool_t *)) 0 ;
10958   void *argp1 = 0 ;
10959   int res1 = 0 ;
10960 
10961   if ((argc < 1) || (argc > 1)) {
10962     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10963   }
10964   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10965   if (!SWIG_IsOK(res1)) {
10966     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","do_status", 1, self ));
10967   }
10968   arg1 = (struct svn_ra_plugin_t *)(argp1);
10969   {
10970     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t);
10971     if (!SWIG_IsOK(res)) {
10972       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,svn_ra_reporter_t const **,void **,char const *,svn_revnum_t,svn_boolean_t,svn_delta_editor_t const *,void *,apr_pool_t *)","do_status", 2, argv[0] ));
10973     }
10974   }
10975   if (arg1) (arg1)->do_status = arg2;
10976   return Qnil;
10977 fail:
10978   return Qnil;
10979 }
10980 
10981 
10982 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_do_status_get(int argc,VALUE * argv,VALUE self)10983 _wrap_svn_ra_plugin_t_do_status_get(int argc, VALUE *argv, VALUE self) {
10984   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
10985   void *argp1 = 0 ;
10986   int res1 = 0 ;
10987   svn_error_t *(*result)(void *,svn_ra_reporter_t const **,void **,char const *,svn_revnum_t,svn_boolean_t,svn_delta_editor_t const *,void *,apr_pool_t *) = 0 ;
10988   VALUE vresult = Qnil;
10989 
10990   if ((argc < 0) || (argc > 0)) {
10991     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10992   }
10993   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
10994   if (!SWIG_IsOK(res1)) {
10995     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","do_status", 1, self ));
10996   }
10997   arg1 = (struct svn_ra_plugin_t *)(argp1);
10998   result = (svn_error_t *(*)(void *,svn_ra_reporter_t const **,void **,char const *,svn_revnum_t,svn_boolean_t,svn_delta_editor_t const *,void *,apr_pool_t *)) ((arg1)->do_status);
10999   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t);
11000   return vresult;
11001 fail:
11002   return Qnil;
11003 }
11004 
11005 
11006 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_do_diff_set(int argc,VALUE * argv,VALUE self)11007 _wrap_svn_ra_plugin_t_do_diff_set(int argc, VALUE *argv, VALUE self) {
11008   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
11009   svn_error_t *(*arg2)(void *,svn_ra_reporter_t const **,void **,svn_revnum_t,char const *,svn_boolean_t,svn_boolean_t,char const *,svn_delta_editor_t const *,void *,apr_pool_t *) = (svn_error_t *(*)(void *,svn_ra_reporter_t const **,void **,svn_revnum_t,char const *,svn_boolean_t,svn_boolean_t,char const *,svn_delta_editor_t const *,void *,apr_pool_t *)) 0 ;
11010   void *argp1 = 0 ;
11011   int res1 = 0 ;
11012 
11013   if ((argc < 1) || (argc > 1)) {
11014     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11015   }
11016   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
11017   if (!SWIG_IsOK(res1)) {
11018     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","do_diff", 1, self ));
11019   }
11020   arg1 = (struct svn_ra_plugin_t *)(argp1);
11021   {
11022     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t);
11023     if (!SWIG_IsOK(res)) {
11024       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,svn_ra_reporter_t const **,void **,svn_revnum_t,char const *,svn_boolean_t,svn_boolean_t,char const *,svn_delta_editor_t const *,void *,apr_pool_t *)","do_diff", 2, argv[0] ));
11025     }
11026   }
11027   if (arg1) (arg1)->do_diff = arg2;
11028   return Qnil;
11029 fail:
11030   return Qnil;
11031 }
11032 
11033 
11034 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_do_diff_get(int argc,VALUE * argv,VALUE self)11035 _wrap_svn_ra_plugin_t_do_diff_get(int argc, VALUE *argv, VALUE self) {
11036   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
11037   void *argp1 = 0 ;
11038   int res1 = 0 ;
11039   svn_error_t *(*result)(void *,svn_ra_reporter_t const **,void **,svn_revnum_t,char const *,svn_boolean_t,svn_boolean_t,char const *,svn_delta_editor_t const *,void *,apr_pool_t *) = 0 ;
11040   VALUE vresult = Qnil;
11041 
11042   if ((argc < 0) || (argc > 0)) {
11043     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11044   }
11045   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
11046   if (!SWIG_IsOK(res1)) {
11047     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","do_diff", 1, self ));
11048   }
11049   arg1 = (struct svn_ra_plugin_t *)(argp1);
11050   result = (svn_error_t *(*)(void *,svn_ra_reporter_t const **,void **,svn_revnum_t,char const *,svn_boolean_t,svn_boolean_t,char const *,svn_delta_editor_t const *,void *,apr_pool_t *)) ((arg1)->do_diff);
11051   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t);
11052   return vresult;
11053 fail:
11054   return Qnil;
11055 }
11056 
11057 
11058 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_get_log_set(int argc,VALUE * argv,VALUE self)11059 _wrap_svn_ra_plugin_t_get_log_set(int argc, VALUE *argv, VALUE self) {
11060   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
11061   svn_error_t *(*arg2)(void *,apr_array_header_t const *,svn_revnum_t,svn_revnum_t,svn_boolean_t,svn_boolean_t,svn_log_message_receiver_t,void *,apr_pool_t *) = (svn_error_t *(*)(void *,apr_array_header_t const *,svn_revnum_t,svn_revnum_t,svn_boolean_t,svn_boolean_t,svn_log_message_receiver_t,void *,apr_pool_t *)) 0 ;
11062   void *argp1 = 0 ;
11063   int res1 = 0 ;
11064 
11065   if ((argc < 1) || (argc > 1)) {
11066     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11067   }
11068   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
11069   if (!SWIG_IsOK(res1)) {
11070     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","get_log", 1, self ));
11071   }
11072   arg1 = (struct svn_ra_plugin_t *)(argp1);
11073   {
11074     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__apr_array_header_t_svn_revnum_t_svn_revnum_t_svn_boolean_t_svn_boolean_t_svn_log_message_receiver_t_p_void_p_apr_pool_t__p_svn_error_t);
11075     if (!SWIG_IsOK(res)) {
11076       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,apr_array_header_t const *,svn_revnum_t,svn_revnum_t,svn_boolean_t,svn_boolean_t,svn_log_message_receiver_t,void *,apr_pool_t *)","get_log", 2, argv[0] ));
11077     }
11078   }
11079   if (arg1) (arg1)->get_log = arg2;
11080   return Qnil;
11081 fail:
11082   return Qnil;
11083 }
11084 
11085 
11086 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_get_log_get(int argc,VALUE * argv,VALUE self)11087 _wrap_svn_ra_plugin_t_get_log_get(int argc, VALUE *argv, VALUE self) {
11088   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
11089   void *argp1 = 0 ;
11090   int res1 = 0 ;
11091   svn_error_t *(*result)(void *,apr_array_header_t const *,svn_revnum_t,svn_revnum_t,svn_boolean_t,svn_boolean_t,svn_log_message_receiver_t,void *,apr_pool_t *) = 0 ;
11092   VALUE vresult = Qnil;
11093 
11094   if ((argc < 0) || (argc > 0)) {
11095     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11096   }
11097   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
11098   if (!SWIG_IsOK(res1)) {
11099     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","get_log", 1, self ));
11100   }
11101   arg1 = (struct svn_ra_plugin_t *)(argp1);
11102   result = (svn_error_t *(*)(void *,apr_array_header_t const *,svn_revnum_t,svn_revnum_t,svn_boolean_t,svn_boolean_t,svn_log_message_receiver_t,void *,apr_pool_t *)) ((arg1)->get_log);
11103   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__apr_array_header_t_svn_revnum_t_svn_revnum_t_svn_boolean_t_svn_boolean_t_svn_log_message_receiver_t_p_void_p_apr_pool_t__p_svn_error_t);
11104   return vresult;
11105 fail:
11106   return Qnil;
11107 }
11108 
11109 
11110 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_check_path_set(int argc,VALUE * argv,VALUE self)11111 _wrap_svn_ra_plugin_t_check_path_set(int argc, VALUE *argv, VALUE self) {
11112   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
11113   svn_error_t *(*arg2)(void *,char const *,svn_revnum_t,svn_node_kind_t *,apr_pool_t *) = (svn_error_t *(*)(void *,char const *,svn_revnum_t,svn_node_kind_t *,apr_pool_t *)) 0 ;
11114   void *argp1 = 0 ;
11115   int res1 = 0 ;
11116 
11117   if ((argc < 1) || (argc > 1)) {
11118     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11119   }
11120   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
11121   if (!SWIG_IsOK(res1)) {
11122     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","check_path", 1, self ));
11123   }
11124   arg1 = (struct svn_ra_plugin_t *)(argp1);
11125   {
11126     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_svn_node_kind_t_p_apr_pool_t__p_svn_error_t);
11127     if (!SWIG_IsOK(res)) {
11128       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,char const *,svn_revnum_t,svn_node_kind_t *,apr_pool_t *)","check_path", 2, argv[0] ));
11129     }
11130   }
11131   if (arg1) (arg1)->check_path = arg2;
11132   return Qnil;
11133 fail:
11134   return Qnil;
11135 }
11136 
11137 
11138 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_check_path_get(int argc,VALUE * argv,VALUE self)11139 _wrap_svn_ra_plugin_t_check_path_get(int argc, VALUE *argv, VALUE self) {
11140   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
11141   void *argp1 = 0 ;
11142   int res1 = 0 ;
11143   svn_error_t *(*result)(void *,char const *,svn_revnum_t,svn_node_kind_t *,apr_pool_t *) = 0 ;
11144   VALUE vresult = Qnil;
11145 
11146   if ((argc < 0) || (argc > 0)) {
11147     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11148   }
11149   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
11150   if (!SWIG_IsOK(res1)) {
11151     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","check_path", 1, self ));
11152   }
11153   arg1 = (struct svn_ra_plugin_t *)(argp1);
11154   result = (svn_error_t *(*)(void *,char const *,svn_revnum_t,svn_node_kind_t *,apr_pool_t *)) ((arg1)->check_path);
11155   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_svn_node_kind_t_p_apr_pool_t__p_svn_error_t);
11156   return vresult;
11157 fail:
11158   return Qnil;
11159 }
11160 
11161 
11162 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_get_uuid_set(int argc,VALUE * argv,VALUE self)11163 _wrap_svn_ra_plugin_t_get_uuid_set(int argc, VALUE *argv, VALUE self) {
11164   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
11165   svn_error_t *(*arg2)(void *,char const **,apr_pool_t *) = (svn_error_t *(*)(void *,char const **,apr_pool_t *)) 0 ;
11166   void *argp1 = 0 ;
11167   int res1 = 0 ;
11168 
11169   if ((argc < 1) || (argc > 1)) {
11170     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11171   }
11172   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
11173   if (!SWIG_IsOK(res1)) {
11174     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","get_uuid", 1, self ));
11175   }
11176   arg1 = (struct svn_ra_plugin_t *)(argp1);
11177   {
11178     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_p_q_const__char_p_apr_pool_t__p_svn_error_t);
11179     if (!SWIG_IsOK(res)) {
11180       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,char const **,apr_pool_t *)","get_uuid", 2, argv[0] ));
11181     }
11182   }
11183   if (arg1) (arg1)->get_uuid = arg2;
11184   return Qnil;
11185 fail:
11186   return Qnil;
11187 }
11188 
11189 
11190 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_get_uuid_get(int argc,VALUE * argv,VALUE self)11191 _wrap_svn_ra_plugin_t_get_uuid_get(int argc, VALUE *argv, VALUE self) {
11192   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
11193   void *argp1 = 0 ;
11194   int res1 = 0 ;
11195   svn_error_t *(*result)(void *,char const **,apr_pool_t *) = 0 ;
11196   VALUE vresult = Qnil;
11197 
11198   if ((argc < 0) || (argc > 0)) {
11199     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11200   }
11201   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
11202   if (!SWIG_IsOK(res1)) {
11203     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","get_uuid", 1, self ));
11204   }
11205   arg1 = (struct svn_ra_plugin_t *)(argp1);
11206   result = (svn_error_t *(*)(void *,char const **,apr_pool_t *)) ((arg1)->get_uuid);
11207   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_p_q_const__char_p_apr_pool_t__p_svn_error_t);
11208   return vresult;
11209 fail:
11210   return Qnil;
11211 }
11212 
11213 
11214 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_get_repos_root_set(int argc,VALUE * argv,VALUE self)11215 _wrap_svn_ra_plugin_t_get_repos_root_set(int argc, VALUE *argv, VALUE self) {
11216   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
11217   svn_error_t *(*arg2)(void *,char const **,apr_pool_t *) = (svn_error_t *(*)(void *,char const **,apr_pool_t *)) 0 ;
11218   void *argp1 = 0 ;
11219   int res1 = 0 ;
11220 
11221   if ((argc < 1) || (argc > 1)) {
11222     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11223   }
11224   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
11225   if (!SWIG_IsOK(res1)) {
11226     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","get_repos_root", 1, self ));
11227   }
11228   arg1 = (struct svn_ra_plugin_t *)(argp1);
11229   {
11230     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_p_q_const__char_p_apr_pool_t__p_svn_error_t);
11231     if (!SWIG_IsOK(res)) {
11232       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,char const **,apr_pool_t *)","get_repos_root", 2, argv[0] ));
11233     }
11234   }
11235   if (arg1) (arg1)->get_repos_root = arg2;
11236   return Qnil;
11237 fail:
11238   return Qnil;
11239 }
11240 
11241 
11242 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_get_repos_root_get(int argc,VALUE * argv,VALUE self)11243 _wrap_svn_ra_plugin_t_get_repos_root_get(int argc, VALUE *argv, VALUE self) {
11244   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
11245   void *argp1 = 0 ;
11246   int res1 = 0 ;
11247   svn_error_t *(*result)(void *,char const **,apr_pool_t *) = 0 ;
11248   VALUE vresult = Qnil;
11249 
11250   if ((argc < 0) || (argc > 0)) {
11251     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11252   }
11253   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
11254   if (!SWIG_IsOK(res1)) {
11255     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","get_repos_root", 1, self ));
11256   }
11257   arg1 = (struct svn_ra_plugin_t *)(argp1);
11258   result = (svn_error_t *(*)(void *,char const **,apr_pool_t *)) ((arg1)->get_repos_root);
11259   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_p_q_const__char_p_apr_pool_t__p_svn_error_t);
11260   return vresult;
11261 fail:
11262   return Qnil;
11263 }
11264 
11265 
11266 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_get_locations_set(int argc,VALUE * argv,VALUE self)11267 _wrap_svn_ra_plugin_t_get_locations_set(int argc, VALUE *argv, VALUE self) {
11268   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
11269   svn_error_t *(*arg2)(void *,apr_hash_t **,char const *,svn_revnum_t,apr_array_header_t *,apr_pool_t *) = (svn_error_t *(*)(void *,apr_hash_t **,char const *,svn_revnum_t,apr_array_header_t *,apr_pool_t *)) 0 ;
11270   void *argp1 = 0 ;
11271   int res1 = 0 ;
11272 
11273   if ((argc < 1) || (argc > 1)) {
11274     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11275   }
11276   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
11277   if (!SWIG_IsOK(res1)) {
11278     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","get_locations", 1, self ));
11279   }
11280   arg1 = (struct svn_ra_plugin_t *)(argp1);
11281   {
11282     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_p_apr_hash_t_p_q_const__char_svn_revnum_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t);
11283     if (!SWIG_IsOK(res)) {
11284       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,apr_hash_t **,char const *,svn_revnum_t,apr_array_header_t *,apr_pool_t *)","get_locations", 2, argv[0] ));
11285     }
11286   }
11287   if (arg1) (arg1)->get_locations = arg2;
11288   return Qnil;
11289 fail:
11290   return Qnil;
11291 }
11292 
11293 
11294 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_get_locations_get(int argc,VALUE * argv,VALUE self)11295 _wrap_svn_ra_plugin_t_get_locations_get(int argc, VALUE *argv, VALUE self) {
11296   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
11297   void *argp1 = 0 ;
11298   int res1 = 0 ;
11299   svn_error_t *(*result)(void *,apr_hash_t **,char const *,svn_revnum_t,apr_array_header_t *,apr_pool_t *) = 0 ;
11300   VALUE vresult = Qnil;
11301 
11302   if ((argc < 0) || (argc > 0)) {
11303     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11304   }
11305   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
11306   if (!SWIG_IsOK(res1)) {
11307     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","get_locations", 1, self ));
11308   }
11309   arg1 = (struct svn_ra_plugin_t *)(argp1);
11310   result = (svn_error_t *(*)(void *,apr_hash_t **,char const *,svn_revnum_t,apr_array_header_t *,apr_pool_t *)) ((arg1)->get_locations);
11311   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_p_apr_hash_t_p_q_const__char_svn_revnum_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t);
11312   return vresult;
11313 fail:
11314   return Qnil;
11315 }
11316 
11317 
11318 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_get_file_revs_set(int argc,VALUE * argv,VALUE self)11319 _wrap_svn_ra_plugin_t_get_file_revs_set(int argc, VALUE *argv, VALUE self) {
11320   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
11321   svn_error_t *(*arg2)(void *,char const *,svn_revnum_t,svn_revnum_t,svn_ra_file_rev_handler_t,void *,apr_pool_t *) = (svn_error_t *(*)(void *,char const *,svn_revnum_t,svn_revnum_t,svn_ra_file_rev_handler_t,void *,apr_pool_t *)) 0 ;
11322   void *argp1 = 0 ;
11323   int res1 = 0 ;
11324 
11325   if ((argc < 1) || (argc > 1)) {
11326     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11327   }
11328   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
11329   if (!SWIG_IsOK(res1)) {
11330     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","get_file_revs", 1, self ));
11331   }
11332   arg1 = (struct svn_ra_plugin_t *)(argp1);
11333   {
11334     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_svn_revnum_t_svn_ra_file_rev_handler_t_p_void_p_apr_pool_t__p_svn_error_t);
11335     if (!SWIG_IsOK(res)) {
11336       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_error_t *(*)(void *,char const *,svn_revnum_t,svn_revnum_t,svn_ra_file_rev_handler_t,void *,apr_pool_t *)","get_file_revs", 2, argv[0] ));
11337     }
11338   }
11339   if (arg1) (arg1)->get_file_revs = arg2;
11340   return Qnil;
11341 fail:
11342   return Qnil;
11343 }
11344 
11345 
11346 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_get_file_revs_get(int argc,VALUE * argv,VALUE self)11347 _wrap_svn_ra_plugin_t_get_file_revs_get(int argc, VALUE *argv, VALUE self) {
11348   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
11349   void *argp1 = 0 ;
11350   int res1 = 0 ;
11351   svn_error_t *(*result)(void *,char const *,svn_revnum_t,svn_revnum_t,svn_ra_file_rev_handler_t,void *,apr_pool_t *) = 0 ;
11352   VALUE vresult = Qnil;
11353 
11354   if ((argc < 0) || (argc > 0)) {
11355     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11356   }
11357   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
11358   if (!SWIG_IsOK(res1)) {
11359     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","get_file_revs", 1, self ));
11360   }
11361   arg1 = (struct svn_ra_plugin_t *)(argp1);
11362   result = (svn_error_t *(*)(void *,char const *,svn_revnum_t,svn_revnum_t,svn_ra_file_rev_handler_t,void *,apr_pool_t *)) ((arg1)->get_file_revs);
11363   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_svn_revnum_t_svn_ra_file_rev_handler_t_p_void_p_apr_pool_t__p_svn_error_t);
11364   return vresult;
11365 fail:
11366   return Qnil;
11367 }
11368 
11369 
11370 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_get_version_set(int argc,VALUE * argv,VALUE self)11371 _wrap_svn_ra_plugin_t_get_version_set(int argc, VALUE *argv, VALUE self) {
11372   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
11373   svn_version_t *(*arg2)(void) = (svn_version_t *(*)(void)) 0 ;
11374   void *argp1 = 0 ;
11375   int res1 = 0 ;
11376 
11377   if ((argc < 1) || (argc > 1)) {
11378     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11379   }
11380   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
11381   if (!SWIG_IsOK(res1)) {
11382     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","get_version", 1, self ));
11383   }
11384   arg1 = (struct svn_ra_plugin_t *)(argp1);
11385   {
11386     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_void__p_svn_version_t);
11387     if (!SWIG_IsOK(res)) {
11388       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_version_t const *(*)(void)","get_version", 2, argv[0] ));
11389     }
11390   }
11391   if (arg1) (arg1)->get_version = (svn_version_t const *(*)(void))arg2;
11392   return Qnil;
11393 fail:
11394   return Qnil;
11395 }
11396 
11397 
11398 SWIGINTERN VALUE
_wrap_svn_ra_plugin_t_get_version_get(int argc,VALUE * argv,VALUE self)11399 _wrap_svn_ra_plugin_t_get_version_get(int argc, VALUE *argv, VALUE self) {
11400   struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *) 0 ;
11401   void *argp1 = 0 ;
11402   int res1 = 0 ;
11403   svn_version_t *(*result)(void) = 0 ;
11404   VALUE vresult = Qnil;
11405 
11406   if ((argc < 0) || (argc > 0)) {
11407     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11408   }
11409   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
11410   if (!SWIG_IsOK(res1)) {
11411     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_plugin_t *","get_version", 1, self ));
11412   }
11413   arg1 = (struct svn_ra_plugin_t *)(argp1);
11414   result = (svn_version_t *(*)(void)) ((arg1)->get_version);
11415   vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_void__p_svn_version_t);
11416   return vresult;
11417 fail:
11418   return Qnil;
11419 }
11420 
11421 
11422 SWIGINTERN VALUE
11423 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_svn_ra_plugin_t_allocate(VALUE self)11424 _wrap_svn_ra_plugin_t_allocate(VALUE self)
11425 #else
11426 _wrap_svn_ra_plugin_t_allocate(int argc, VALUE *argv, VALUE self)
11427 #endif
11428 {
11429   VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_ra_plugin_t);
11430 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
11431   rb_obj_call_init(vresult, argc, argv);
11432 #endif
11433   return vresult;
11434 }
11435 
11436 
11437 SWIGINTERN VALUE
_wrap_new_svn_ra_plugin_t(int argc,VALUE * argv,VALUE self)11438 _wrap_new_svn_ra_plugin_t(int argc, VALUE *argv, VALUE self) {
11439   struct svn_ra_plugin_t *result = 0 ;
11440 
11441   if ((argc < 0) || (argc > 0)) {
11442     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11443   }
11444   {
11445     result = (struct svn_ra_plugin_t *)calloc(1, sizeof(struct svn_ra_plugin_t));
11446     DATA_PTR(self) = result;
11447 
11448 
11449 
11450   }
11451   return self;
11452 fail:
11453   return Qnil;
11454 }
11455 
11456 
11457 SWIGINTERN void
free_svn_ra_plugin_t(void * self)11458 free_svn_ra_plugin_t(void *self) {
11459     struct svn_ra_plugin_t *arg1 = (struct svn_ra_plugin_t *)self;
11460     free((char *) arg1);
11461 }
11462 
11463 SWIGINTERN VALUE
_wrap_svn_ra_init_ra_libs(int argc,VALUE * argv,VALUE self)11464 _wrap_svn_ra_init_ra_libs(int argc, VALUE *argv, VALUE self) {
11465   void **arg1 = (void **) 0 ;
11466   apr_pool_t *arg2 = (apr_pool_t *) 0 ;
11467   VALUE _global_svn_swig_rb_pool ;
11468   apr_pool_t *_global_pool ;
11469   void *temp1 ;
11470   svn_error_t *result = 0 ;
11471   VALUE vresult = Qnil;
11472 
11473   {
11474     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2);
11475     _global_pool = arg2;
11476     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
11477   }
11478   arg1 = &temp1;
11479   if ((argc < 0) || (argc > 1)) {
11480     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11481   }
11482   if (argc > 0) {
11483 
11484   }
11485   {
11486     result = (svn_error_t *)svn_ra_init_ra_libs(arg1,arg2);
11487 
11488 
11489 
11490   }
11491   {
11492     if (result) {
11493       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
11494       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
11495       svn_swig_rb_handle_svn_error(result);
11496     }
11497     vresult = Qnil;
11498   }
11499   {
11500     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_void, 0));
11501   }
11502   {
11503     VALUE target;
11504     target = _global_vresult_address == &vresult ? self : vresult;
11505     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
11506     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
11507     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
11508   }
11509   return vresult;
11510 fail:
11511   {
11512     VALUE target;
11513     target = _global_vresult_address == &vresult ? self : vresult;
11514     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
11515     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
11516     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
11517   }
11518   return Qnil;
11519 }
11520 
11521 
11522 SWIGINTERN VALUE
_wrap_svn_ra_get_ra_library(int argc,VALUE * argv,VALUE self)11523 _wrap_svn_ra_get_ra_library(int argc, VALUE *argv, VALUE self) {
11524   svn_ra_plugin_t **arg1 = (svn_ra_plugin_t **) 0 ;
11525   void *arg2 = (void *) 0 ;
11526   char *arg3 = (char *) 0 ;
11527   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
11528   VALUE _global_svn_swig_rb_pool ;
11529   apr_pool_t *_global_pool ;
11530   svn_ra_plugin_t *temp1 ;
11531   int res2 ;
11532   int res3 ;
11533   char *buf3 = 0 ;
11534   int alloc3 = 0 ;
11535   svn_error_t *result = 0 ;
11536   VALUE vresult = Qnil;
11537 
11538   {
11539     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
11540     _global_pool = arg4;
11541     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
11542   }
11543   arg1 = &temp1;
11544   if ((argc < 2) || (argc > 3)) {
11545     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
11546   }
11547   res2 = SWIG_ConvertPtr(argv[0],SWIG_as_voidptrptr(&arg2), 0, 0);
11548   if (!SWIG_IsOK(res2)) {
11549     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_get_ra_library", 2, argv[0] ));
11550   }
11551   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
11552   if (!SWIG_IsOK(res3)) {
11553     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_get_ra_library", 3, argv[1] ));
11554   }
11555   arg3 = (char *)(buf3);
11556   if (argc > 2) {
11557 
11558   }
11559   {
11560     result = (svn_error_t *)svn_ra_get_ra_library(arg1,arg2,(char const *)arg3,arg4);
11561 
11562 
11563 
11564   }
11565   {
11566     if (result) {
11567       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
11568       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
11569       svn_swig_rb_handle_svn_error(result);
11570     }
11571     vresult = Qnil;
11572   }
11573   {
11574     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_ra_plugin_t, 0));
11575   }
11576   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11577   {
11578     VALUE target;
11579     target = _global_vresult_address == &vresult ? self : vresult;
11580     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
11581     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
11582     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
11583   }
11584   return vresult;
11585 fail:
11586   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11587   {
11588     VALUE target;
11589     target = _global_vresult_address == &vresult ? self : vresult;
11590     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
11591     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
11592     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
11593   }
11594   return Qnil;
11595 }
11596 
11597 
11598 SWIGINTERN VALUE
_wrap_svn_ra_reporter3_invoke_set_path(int argc,VALUE * argv,VALUE self)11599 _wrap_svn_ra_reporter3_invoke_set_path(int argc, VALUE *argv, VALUE self) {
11600   svn_ra_reporter3_t *arg1 = (svn_ra_reporter3_t *) 0 ;
11601   void *arg2 = (void *) 0 ;
11602   char *arg3 = (char *) 0 ;
11603   svn_revnum_t arg4 ;
11604   svn_depth_t arg5 ;
11605   svn_boolean_t arg6 ;
11606   char *arg7 = (char *) 0 ;
11607   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
11608   VALUE _global_svn_swig_rb_pool ;
11609   apr_pool_t *_global_pool ;
11610   void *argp1 = 0 ;
11611   int res1 = 0 ;
11612   int res2 ;
11613   int res3 ;
11614   char *buf3 = 0 ;
11615   int alloc3 = 0 ;
11616   long val4 ;
11617   int ecode4 = 0 ;
11618   svn_error_t *result = 0 ;
11619   VALUE vresult = Qnil;
11620 
11621   {
11622     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8);
11623     _global_pool = arg8;
11624     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
11625   }
11626   if ((argc < 7) || (argc > 8)) {
11627     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
11628   }
11629   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_reporter3_t, 0 |  0 );
11630   if (!SWIG_IsOK(res1)) {
11631     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_reporter3_t *","svn_ra_reporter3_invoke_set_path", 1, argv[0] ));
11632   }
11633   arg1 = (svn_ra_reporter3_t *)(argp1);
11634   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
11635   if (!SWIG_IsOK(res2)) {
11636     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_reporter3_invoke_set_path", 2, argv[1] ));
11637   }
11638   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
11639   if (!SWIG_IsOK(res3)) {
11640     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_reporter3_invoke_set_path", 3, argv[2] ));
11641   }
11642   arg3 = (char *)(buf3);
11643   ecode4 = SWIG_AsVal_long(argv[3], &val4);
11644   if (!SWIG_IsOK(ecode4)) {
11645     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_reporter3_invoke_set_path", 4, argv[3] ));
11646   }
11647   arg4 = (svn_revnum_t)(val4);
11648   {
11649     arg5 = svn_swig_rb_to_depth(argv[4]);
11650   }
11651   arg6 = RTEST(argv[5]);
11652   {
11653     if (NIL_P(argv[6])) {
11654       arg7 = NULL;
11655     } else {
11656       arg7 = StringValuePtr(argv[6]);
11657     }
11658   }
11659   if (argc > 7) {
11660 
11661   }
11662   {
11663     result = (svn_error_t *)svn_ra_reporter3_invoke_set_path(arg1,arg2,(char const *)arg3,arg4,arg5,arg6,(char const *)arg7,arg8);
11664 
11665 
11666 
11667   }
11668   {
11669     if (result) {
11670       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
11671       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
11672       svn_swig_rb_handle_svn_error(result);
11673     }
11674     vresult = Qnil;
11675   }
11676   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11677   {
11678     VALUE target;
11679     target = _global_vresult_address == &vresult ? self : vresult;
11680     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
11681     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
11682     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
11683   }
11684   return vresult;
11685 fail:
11686   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11687   {
11688     VALUE target;
11689     target = _global_vresult_address == &vresult ? self : vresult;
11690     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
11691     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
11692     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
11693   }
11694   return Qnil;
11695 }
11696 
11697 
11698 SWIGINTERN VALUE
_wrap_svn_ra_reporter3_invoke_delete_path(int argc,VALUE * argv,VALUE self)11699 _wrap_svn_ra_reporter3_invoke_delete_path(int argc, VALUE *argv, VALUE self) {
11700   svn_ra_reporter3_t *arg1 = (svn_ra_reporter3_t *) 0 ;
11701   void *arg2 = (void *) 0 ;
11702   char *arg3 = (char *) 0 ;
11703   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
11704   VALUE _global_svn_swig_rb_pool ;
11705   apr_pool_t *_global_pool ;
11706   void *argp1 = 0 ;
11707   int res1 = 0 ;
11708   int res2 ;
11709   int res3 ;
11710   char *buf3 = 0 ;
11711   int alloc3 = 0 ;
11712   svn_error_t *result = 0 ;
11713   VALUE vresult = Qnil;
11714 
11715   {
11716     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
11717     _global_pool = arg4;
11718     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
11719   }
11720   if ((argc < 3) || (argc > 4)) {
11721     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
11722   }
11723   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_reporter3_t, 0 |  0 );
11724   if (!SWIG_IsOK(res1)) {
11725     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_reporter3_t *","svn_ra_reporter3_invoke_delete_path", 1, argv[0] ));
11726   }
11727   arg1 = (svn_ra_reporter3_t *)(argp1);
11728   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
11729   if (!SWIG_IsOK(res2)) {
11730     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_reporter3_invoke_delete_path", 2, argv[1] ));
11731   }
11732   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
11733   if (!SWIG_IsOK(res3)) {
11734     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_reporter3_invoke_delete_path", 3, argv[2] ));
11735   }
11736   arg3 = (char *)(buf3);
11737   if (argc > 3) {
11738 
11739   }
11740   {
11741     result = (svn_error_t *)svn_ra_reporter3_invoke_delete_path(arg1,arg2,(char const *)arg3,arg4);
11742 
11743 
11744 
11745   }
11746   {
11747     if (result) {
11748       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
11749       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
11750       svn_swig_rb_handle_svn_error(result);
11751     }
11752     vresult = Qnil;
11753   }
11754   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11755   {
11756     VALUE target;
11757     target = _global_vresult_address == &vresult ? self : vresult;
11758     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
11759     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
11760     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
11761   }
11762   return vresult;
11763 fail:
11764   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11765   {
11766     VALUE target;
11767     target = _global_vresult_address == &vresult ? self : vresult;
11768     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
11769     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
11770     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
11771   }
11772   return Qnil;
11773 }
11774 
11775 
11776 SWIGINTERN VALUE
_wrap_svn_ra_reporter3_invoke_link_path(int argc,VALUE * argv,VALUE self)11777 _wrap_svn_ra_reporter3_invoke_link_path(int argc, VALUE *argv, VALUE self) {
11778   svn_ra_reporter3_t *arg1 = (svn_ra_reporter3_t *) 0 ;
11779   void *arg2 = (void *) 0 ;
11780   char *arg3 = (char *) 0 ;
11781   char *arg4 = (char *) 0 ;
11782   svn_revnum_t arg5 ;
11783   svn_depth_t arg6 ;
11784   svn_boolean_t arg7 ;
11785   char *arg8 = (char *) 0 ;
11786   apr_pool_t *arg9 = (apr_pool_t *) 0 ;
11787   VALUE _global_svn_swig_rb_pool ;
11788   apr_pool_t *_global_pool ;
11789   void *argp1 = 0 ;
11790   int res1 = 0 ;
11791   int res2 ;
11792   int res3 ;
11793   char *buf3 = 0 ;
11794   int alloc3 = 0 ;
11795   int res4 ;
11796   char *buf4 = 0 ;
11797   int alloc4 = 0 ;
11798   long val5 ;
11799   int ecode5 = 0 ;
11800   svn_error_t *result = 0 ;
11801   VALUE vresult = Qnil;
11802 
11803   {
11804     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg9);
11805     _global_pool = arg9;
11806     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
11807   }
11808   if ((argc < 8) || (argc > 9)) {
11809     rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
11810   }
11811   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_reporter3_t, 0 |  0 );
11812   if (!SWIG_IsOK(res1)) {
11813     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_reporter3_t *","svn_ra_reporter3_invoke_link_path", 1, argv[0] ));
11814   }
11815   arg1 = (svn_ra_reporter3_t *)(argp1);
11816   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
11817   if (!SWIG_IsOK(res2)) {
11818     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_reporter3_invoke_link_path", 2, argv[1] ));
11819   }
11820   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
11821   if (!SWIG_IsOK(res3)) {
11822     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_reporter3_invoke_link_path", 3, argv[2] ));
11823   }
11824   arg3 = (char *)(buf3);
11825   res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
11826   if (!SWIG_IsOK(res4)) {
11827     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_ra_reporter3_invoke_link_path", 4, argv[3] ));
11828   }
11829   arg4 = (char *)(buf4);
11830   ecode5 = SWIG_AsVal_long(argv[4], &val5);
11831   if (!SWIG_IsOK(ecode5)) {
11832     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_reporter3_invoke_link_path", 5, argv[4] ));
11833   }
11834   arg5 = (svn_revnum_t)(val5);
11835   {
11836     arg6 = svn_swig_rb_to_depth(argv[5]);
11837   }
11838   arg7 = RTEST(argv[6]);
11839   {
11840     if (NIL_P(argv[7])) {
11841       arg8 = NULL;
11842     } else {
11843       arg8 = StringValuePtr(argv[7]);
11844     }
11845   }
11846   if (argc > 8) {
11847 
11848   }
11849   {
11850     result = (svn_error_t *)svn_ra_reporter3_invoke_link_path(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5,arg6,arg7,(char const *)arg8,arg9);
11851 
11852 
11853 
11854   }
11855   {
11856     if (result) {
11857       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
11858       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
11859       svn_swig_rb_handle_svn_error(result);
11860     }
11861     vresult = Qnil;
11862   }
11863   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11864   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
11865   {
11866     VALUE target;
11867     target = _global_vresult_address == &vresult ? self : vresult;
11868     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
11869     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
11870     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
11871   }
11872   return vresult;
11873 fail:
11874   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11875   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
11876   {
11877     VALUE target;
11878     target = _global_vresult_address == &vresult ? self : vresult;
11879     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
11880     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
11881     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
11882   }
11883   return Qnil;
11884 }
11885 
11886 
11887 SWIGINTERN VALUE
_wrap_svn_ra_reporter3_invoke_finish_report(int argc,VALUE * argv,VALUE self)11888 _wrap_svn_ra_reporter3_invoke_finish_report(int argc, VALUE *argv, VALUE self) {
11889   svn_ra_reporter3_t *arg1 = (svn_ra_reporter3_t *) 0 ;
11890   void *arg2 = (void *) 0 ;
11891   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
11892   VALUE _global_svn_swig_rb_pool ;
11893   apr_pool_t *_global_pool ;
11894   void *argp1 = 0 ;
11895   int res1 = 0 ;
11896   int res2 ;
11897   svn_error_t *result = 0 ;
11898   VALUE vresult = Qnil;
11899 
11900   {
11901     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
11902     _global_pool = arg3;
11903     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
11904   }
11905   if ((argc < 2) || (argc > 3)) {
11906     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
11907   }
11908   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_reporter3_t, 0 |  0 );
11909   if (!SWIG_IsOK(res1)) {
11910     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_reporter3_t *","svn_ra_reporter3_invoke_finish_report", 1, argv[0] ));
11911   }
11912   arg1 = (svn_ra_reporter3_t *)(argp1);
11913   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
11914   if (!SWIG_IsOK(res2)) {
11915     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_reporter3_invoke_finish_report", 2, argv[1] ));
11916   }
11917   if (argc > 2) {
11918 
11919   }
11920   {
11921     result = (svn_error_t *)svn_ra_reporter3_invoke_finish_report(arg1,arg2,arg3);
11922 
11923 
11924 
11925   }
11926   {
11927     if (result) {
11928       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
11929       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
11930       svn_swig_rb_handle_svn_error(result);
11931     }
11932     vresult = Qnil;
11933   }
11934   {
11935     VALUE target;
11936     target = _global_vresult_address == &vresult ? self : vresult;
11937     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
11938     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
11939     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
11940   }
11941   return vresult;
11942 fail:
11943   {
11944     VALUE target;
11945     target = _global_vresult_address == &vresult ? self : vresult;
11946     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
11947     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
11948     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
11949   }
11950   return Qnil;
11951 }
11952 
11953 
11954 SWIGINTERN VALUE
_wrap_svn_ra_reporter3_invoke_abort_report(int argc,VALUE * argv,VALUE self)11955 _wrap_svn_ra_reporter3_invoke_abort_report(int argc, VALUE *argv, VALUE self) {
11956   svn_ra_reporter3_t *arg1 = (svn_ra_reporter3_t *) 0 ;
11957   void *arg2 = (void *) 0 ;
11958   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
11959   VALUE _global_svn_swig_rb_pool ;
11960   apr_pool_t *_global_pool ;
11961   void *argp1 = 0 ;
11962   int res1 = 0 ;
11963   int res2 ;
11964   svn_error_t *result = 0 ;
11965   VALUE vresult = Qnil;
11966 
11967   {
11968     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
11969     _global_pool = arg3;
11970     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
11971   }
11972   if ((argc < 2) || (argc > 3)) {
11973     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
11974   }
11975   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_reporter3_t, 0 |  0 );
11976   if (!SWIG_IsOK(res1)) {
11977     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_reporter3_t *","svn_ra_reporter3_invoke_abort_report", 1, argv[0] ));
11978   }
11979   arg1 = (svn_ra_reporter3_t *)(argp1);
11980   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
11981   if (!SWIG_IsOK(res2)) {
11982     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_reporter3_invoke_abort_report", 2, argv[1] ));
11983   }
11984   if (argc > 2) {
11985 
11986   }
11987   {
11988     result = (svn_error_t *)svn_ra_reporter3_invoke_abort_report(arg1,arg2,arg3);
11989 
11990 
11991 
11992   }
11993   {
11994     if (result) {
11995       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
11996       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
11997       svn_swig_rb_handle_svn_error(result);
11998     }
11999     vresult = Qnil;
12000   }
12001   {
12002     VALUE target;
12003     target = _global_vresult_address == &vresult ? self : vresult;
12004     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12005     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12006     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12007   }
12008   return vresult;
12009 fail:
12010   {
12011     VALUE target;
12012     target = _global_vresult_address == &vresult ? self : vresult;
12013     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12014     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12015     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12016   }
12017   return Qnil;
12018 }
12019 
12020 
12021 SWIGINTERN VALUE
_wrap_svn_ra_reporter2_invoke_set_path(int argc,VALUE * argv,VALUE self)12022 _wrap_svn_ra_reporter2_invoke_set_path(int argc, VALUE *argv, VALUE self) {
12023   svn_ra_reporter2_t *arg1 = (svn_ra_reporter2_t *) 0 ;
12024   void *arg2 = (void *) 0 ;
12025   char *arg3 = (char *) 0 ;
12026   svn_revnum_t arg4 ;
12027   svn_boolean_t arg5 ;
12028   char *arg6 = (char *) 0 ;
12029   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
12030   VALUE _global_svn_swig_rb_pool ;
12031   apr_pool_t *_global_pool ;
12032   void *argp1 = 0 ;
12033   int res1 = 0 ;
12034   int res2 ;
12035   int res3 ;
12036   char *buf3 = 0 ;
12037   int alloc3 = 0 ;
12038   long val4 ;
12039   int ecode4 = 0 ;
12040   svn_error_t *result = 0 ;
12041   VALUE vresult = Qnil;
12042 
12043   {
12044     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7);
12045     _global_pool = arg7;
12046     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
12047   }
12048   if ((argc < 6) || (argc > 7)) {
12049     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
12050   }
12051   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_reporter2_t, 0 |  0 );
12052   if (!SWIG_IsOK(res1)) {
12053     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_reporter2_t *","svn_ra_reporter2_invoke_set_path", 1, argv[0] ));
12054   }
12055   arg1 = (svn_ra_reporter2_t *)(argp1);
12056   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
12057   if (!SWIG_IsOK(res2)) {
12058     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_reporter2_invoke_set_path", 2, argv[1] ));
12059   }
12060   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
12061   if (!SWIG_IsOK(res3)) {
12062     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_reporter2_invoke_set_path", 3, argv[2] ));
12063   }
12064   arg3 = (char *)(buf3);
12065   ecode4 = SWIG_AsVal_long(argv[3], &val4);
12066   if (!SWIG_IsOK(ecode4)) {
12067     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_reporter2_invoke_set_path", 4, argv[3] ));
12068   }
12069   arg4 = (svn_revnum_t)(val4);
12070   arg5 = RTEST(argv[4]);
12071   {
12072     if (NIL_P(argv[5])) {
12073       arg6 = NULL;
12074     } else {
12075       arg6 = StringValuePtr(argv[5]);
12076     }
12077   }
12078   if (argc > 6) {
12079 
12080   }
12081   {
12082     result = (svn_error_t *)svn_ra_reporter2_invoke_set_path(arg1,arg2,(char const *)arg3,arg4,arg5,(char const *)arg6,arg7);
12083 
12084 
12085 
12086   }
12087   {
12088     if (result) {
12089       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12090       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12091       svn_swig_rb_handle_svn_error(result);
12092     }
12093     vresult = Qnil;
12094   }
12095   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12096   {
12097     VALUE target;
12098     target = _global_vresult_address == &vresult ? self : vresult;
12099     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12100     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12101     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12102   }
12103   return vresult;
12104 fail:
12105   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12106   {
12107     VALUE target;
12108     target = _global_vresult_address == &vresult ? self : vresult;
12109     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12110     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12111     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12112   }
12113   return Qnil;
12114 }
12115 
12116 
12117 SWIGINTERN VALUE
_wrap_svn_ra_reporter2_invoke_delete_path(int argc,VALUE * argv,VALUE self)12118 _wrap_svn_ra_reporter2_invoke_delete_path(int argc, VALUE *argv, VALUE self) {
12119   svn_ra_reporter2_t *arg1 = (svn_ra_reporter2_t *) 0 ;
12120   void *arg2 = (void *) 0 ;
12121   char *arg3 = (char *) 0 ;
12122   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
12123   VALUE _global_svn_swig_rb_pool ;
12124   apr_pool_t *_global_pool ;
12125   void *argp1 = 0 ;
12126   int res1 = 0 ;
12127   int res2 ;
12128   int res3 ;
12129   char *buf3 = 0 ;
12130   int alloc3 = 0 ;
12131   svn_error_t *result = 0 ;
12132   VALUE vresult = Qnil;
12133 
12134   {
12135     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
12136     _global_pool = arg4;
12137     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
12138   }
12139   if ((argc < 3) || (argc > 4)) {
12140     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
12141   }
12142   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_reporter2_t, 0 |  0 );
12143   if (!SWIG_IsOK(res1)) {
12144     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_reporter2_t *","svn_ra_reporter2_invoke_delete_path", 1, argv[0] ));
12145   }
12146   arg1 = (svn_ra_reporter2_t *)(argp1);
12147   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
12148   if (!SWIG_IsOK(res2)) {
12149     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_reporter2_invoke_delete_path", 2, argv[1] ));
12150   }
12151   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
12152   if (!SWIG_IsOK(res3)) {
12153     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_reporter2_invoke_delete_path", 3, argv[2] ));
12154   }
12155   arg3 = (char *)(buf3);
12156   if (argc > 3) {
12157 
12158   }
12159   {
12160     result = (svn_error_t *)svn_ra_reporter2_invoke_delete_path(arg1,arg2,(char const *)arg3,arg4);
12161 
12162 
12163 
12164   }
12165   {
12166     if (result) {
12167       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12168       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12169       svn_swig_rb_handle_svn_error(result);
12170     }
12171     vresult = Qnil;
12172   }
12173   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12174   {
12175     VALUE target;
12176     target = _global_vresult_address == &vresult ? self : vresult;
12177     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12178     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12179     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12180   }
12181   return vresult;
12182 fail:
12183   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12184   {
12185     VALUE target;
12186     target = _global_vresult_address == &vresult ? self : vresult;
12187     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12188     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12189     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12190   }
12191   return Qnil;
12192 }
12193 
12194 
12195 SWIGINTERN VALUE
_wrap_svn_ra_reporter2_invoke_link_path(int argc,VALUE * argv,VALUE self)12196 _wrap_svn_ra_reporter2_invoke_link_path(int argc, VALUE *argv, VALUE self) {
12197   svn_ra_reporter2_t *arg1 = (svn_ra_reporter2_t *) 0 ;
12198   void *arg2 = (void *) 0 ;
12199   char *arg3 = (char *) 0 ;
12200   char *arg4 = (char *) 0 ;
12201   svn_revnum_t arg5 ;
12202   svn_boolean_t arg6 ;
12203   char *arg7 = (char *) 0 ;
12204   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
12205   VALUE _global_svn_swig_rb_pool ;
12206   apr_pool_t *_global_pool ;
12207   void *argp1 = 0 ;
12208   int res1 = 0 ;
12209   int res2 ;
12210   int res3 ;
12211   char *buf3 = 0 ;
12212   int alloc3 = 0 ;
12213   int res4 ;
12214   char *buf4 = 0 ;
12215   int alloc4 = 0 ;
12216   long val5 ;
12217   int ecode5 = 0 ;
12218   svn_error_t *result = 0 ;
12219   VALUE vresult = Qnil;
12220 
12221   {
12222     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8);
12223     _global_pool = arg8;
12224     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
12225   }
12226   if ((argc < 7) || (argc > 8)) {
12227     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
12228   }
12229   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_reporter2_t, 0 |  0 );
12230   if (!SWIG_IsOK(res1)) {
12231     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_reporter2_t *","svn_ra_reporter2_invoke_link_path", 1, argv[0] ));
12232   }
12233   arg1 = (svn_ra_reporter2_t *)(argp1);
12234   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
12235   if (!SWIG_IsOK(res2)) {
12236     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_reporter2_invoke_link_path", 2, argv[1] ));
12237   }
12238   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
12239   if (!SWIG_IsOK(res3)) {
12240     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_reporter2_invoke_link_path", 3, argv[2] ));
12241   }
12242   arg3 = (char *)(buf3);
12243   res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
12244   if (!SWIG_IsOK(res4)) {
12245     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_ra_reporter2_invoke_link_path", 4, argv[3] ));
12246   }
12247   arg4 = (char *)(buf4);
12248   ecode5 = SWIG_AsVal_long(argv[4], &val5);
12249   if (!SWIG_IsOK(ecode5)) {
12250     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_reporter2_invoke_link_path", 5, argv[4] ));
12251   }
12252   arg5 = (svn_revnum_t)(val5);
12253   arg6 = RTEST(argv[5]);
12254   {
12255     if (NIL_P(argv[6])) {
12256       arg7 = NULL;
12257     } else {
12258       arg7 = StringValuePtr(argv[6]);
12259     }
12260   }
12261   if (argc > 7) {
12262 
12263   }
12264   {
12265     result = (svn_error_t *)svn_ra_reporter2_invoke_link_path(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5,arg6,(char const *)arg7,arg8);
12266 
12267 
12268 
12269   }
12270   {
12271     if (result) {
12272       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12273       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12274       svn_swig_rb_handle_svn_error(result);
12275     }
12276     vresult = Qnil;
12277   }
12278   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12279   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
12280   {
12281     VALUE target;
12282     target = _global_vresult_address == &vresult ? self : vresult;
12283     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12284     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12285     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12286   }
12287   return vresult;
12288 fail:
12289   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12290   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
12291   {
12292     VALUE target;
12293     target = _global_vresult_address == &vresult ? self : vresult;
12294     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12295     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12296     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12297   }
12298   return Qnil;
12299 }
12300 
12301 
12302 SWIGINTERN VALUE
_wrap_svn_ra_reporter2_invoke_finish_report(int argc,VALUE * argv,VALUE self)12303 _wrap_svn_ra_reporter2_invoke_finish_report(int argc, VALUE *argv, VALUE self) {
12304   svn_ra_reporter2_t *arg1 = (svn_ra_reporter2_t *) 0 ;
12305   void *arg2 = (void *) 0 ;
12306   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
12307   VALUE _global_svn_swig_rb_pool ;
12308   apr_pool_t *_global_pool ;
12309   void *argp1 = 0 ;
12310   int res1 = 0 ;
12311   int res2 ;
12312   svn_error_t *result = 0 ;
12313   VALUE vresult = Qnil;
12314 
12315   {
12316     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
12317     _global_pool = arg3;
12318     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
12319   }
12320   if ((argc < 2) || (argc > 3)) {
12321     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
12322   }
12323   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_reporter2_t, 0 |  0 );
12324   if (!SWIG_IsOK(res1)) {
12325     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_reporter2_t *","svn_ra_reporter2_invoke_finish_report", 1, argv[0] ));
12326   }
12327   arg1 = (svn_ra_reporter2_t *)(argp1);
12328   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
12329   if (!SWIG_IsOK(res2)) {
12330     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_reporter2_invoke_finish_report", 2, argv[1] ));
12331   }
12332   if (argc > 2) {
12333 
12334   }
12335   {
12336     result = (svn_error_t *)svn_ra_reporter2_invoke_finish_report(arg1,arg2,arg3);
12337 
12338 
12339 
12340   }
12341   {
12342     if (result) {
12343       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12344       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12345       svn_swig_rb_handle_svn_error(result);
12346     }
12347     vresult = Qnil;
12348   }
12349   {
12350     VALUE target;
12351     target = _global_vresult_address == &vresult ? self : vresult;
12352     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12353     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12354     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12355   }
12356   return vresult;
12357 fail:
12358   {
12359     VALUE target;
12360     target = _global_vresult_address == &vresult ? self : vresult;
12361     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12362     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12363     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12364   }
12365   return Qnil;
12366 }
12367 
12368 
12369 SWIGINTERN VALUE
_wrap_svn_ra_reporter2_invoke_abort_report(int argc,VALUE * argv,VALUE self)12370 _wrap_svn_ra_reporter2_invoke_abort_report(int argc, VALUE *argv, VALUE self) {
12371   svn_ra_reporter2_t *arg1 = (svn_ra_reporter2_t *) 0 ;
12372   void *arg2 = (void *) 0 ;
12373   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
12374   VALUE _global_svn_swig_rb_pool ;
12375   apr_pool_t *_global_pool ;
12376   void *argp1 = 0 ;
12377   int res1 = 0 ;
12378   int res2 ;
12379   svn_error_t *result = 0 ;
12380   VALUE vresult = Qnil;
12381 
12382   {
12383     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
12384     _global_pool = arg3;
12385     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
12386   }
12387   if ((argc < 2) || (argc > 3)) {
12388     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
12389   }
12390   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_reporter2_t, 0 |  0 );
12391   if (!SWIG_IsOK(res1)) {
12392     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_reporter2_t *","svn_ra_reporter2_invoke_abort_report", 1, argv[0] ));
12393   }
12394   arg1 = (svn_ra_reporter2_t *)(argp1);
12395   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
12396   if (!SWIG_IsOK(res2)) {
12397     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_reporter2_invoke_abort_report", 2, argv[1] ));
12398   }
12399   if (argc > 2) {
12400 
12401   }
12402   {
12403     result = (svn_error_t *)svn_ra_reporter2_invoke_abort_report(arg1,arg2,arg3);
12404 
12405 
12406 
12407   }
12408   {
12409     if (result) {
12410       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12411       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12412       svn_swig_rb_handle_svn_error(result);
12413     }
12414     vresult = Qnil;
12415   }
12416   {
12417     VALUE target;
12418     target = _global_vresult_address == &vresult ? self : vresult;
12419     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12420     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12421     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12422   }
12423   return vresult;
12424 fail:
12425   {
12426     VALUE target;
12427     target = _global_vresult_address == &vresult ? self : vresult;
12428     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12429     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12430     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12431   }
12432   return Qnil;
12433 }
12434 
12435 
12436 SWIGINTERN VALUE
_wrap_svn_ra_reporter_invoke_set_path(int argc,VALUE * argv,VALUE self)12437 _wrap_svn_ra_reporter_invoke_set_path(int argc, VALUE *argv, VALUE self) {
12438   svn_ra_reporter_t *arg1 = (svn_ra_reporter_t *) 0 ;
12439   void *arg2 = (void *) 0 ;
12440   char *arg3 = (char *) 0 ;
12441   svn_revnum_t arg4 ;
12442   svn_boolean_t arg5 ;
12443   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
12444   VALUE _global_svn_swig_rb_pool ;
12445   apr_pool_t *_global_pool ;
12446   void *argp1 = 0 ;
12447   int res1 = 0 ;
12448   int res2 ;
12449   int res3 ;
12450   char *buf3 = 0 ;
12451   int alloc3 = 0 ;
12452   long val4 ;
12453   int ecode4 = 0 ;
12454   svn_error_t *result = 0 ;
12455   VALUE vresult = Qnil;
12456 
12457   {
12458     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
12459     _global_pool = arg6;
12460     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
12461   }
12462   if ((argc < 5) || (argc > 6)) {
12463     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
12464   }
12465   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_reporter_t, 0 |  0 );
12466   if (!SWIG_IsOK(res1)) {
12467     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_reporter_t *","svn_ra_reporter_invoke_set_path", 1, argv[0] ));
12468   }
12469   arg1 = (svn_ra_reporter_t *)(argp1);
12470   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
12471   if (!SWIG_IsOK(res2)) {
12472     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_reporter_invoke_set_path", 2, argv[1] ));
12473   }
12474   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
12475   if (!SWIG_IsOK(res3)) {
12476     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_reporter_invoke_set_path", 3, argv[2] ));
12477   }
12478   arg3 = (char *)(buf3);
12479   ecode4 = SWIG_AsVal_long(argv[3], &val4);
12480   if (!SWIG_IsOK(ecode4)) {
12481     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_reporter_invoke_set_path", 4, argv[3] ));
12482   }
12483   arg4 = (svn_revnum_t)(val4);
12484   arg5 = RTEST(argv[4]);
12485   if (argc > 5) {
12486 
12487   }
12488   {
12489     result = (svn_error_t *)svn_ra_reporter_invoke_set_path(arg1,arg2,(char const *)arg3,arg4,arg5,arg6);
12490 
12491 
12492 
12493   }
12494   {
12495     if (result) {
12496       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12497       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12498       svn_swig_rb_handle_svn_error(result);
12499     }
12500     vresult = Qnil;
12501   }
12502   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12503   {
12504     VALUE target;
12505     target = _global_vresult_address == &vresult ? self : vresult;
12506     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12507     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12508     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12509   }
12510   return vresult;
12511 fail:
12512   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12513   {
12514     VALUE target;
12515     target = _global_vresult_address == &vresult ? self : vresult;
12516     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12517     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12518     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12519   }
12520   return Qnil;
12521 }
12522 
12523 
12524 SWIGINTERN VALUE
_wrap_svn_ra_reporter_invoke_delete_path(int argc,VALUE * argv,VALUE self)12525 _wrap_svn_ra_reporter_invoke_delete_path(int argc, VALUE *argv, VALUE self) {
12526   svn_ra_reporter_t *arg1 = (svn_ra_reporter_t *) 0 ;
12527   void *arg2 = (void *) 0 ;
12528   char *arg3 = (char *) 0 ;
12529   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
12530   VALUE _global_svn_swig_rb_pool ;
12531   apr_pool_t *_global_pool ;
12532   void *argp1 = 0 ;
12533   int res1 = 0 ;
12534   int res2 ;
12535   int res3 ;
12536   char *buf3 = 0 ;
12537   int alloc3 = 0 ;
12538   svn_error_t *result = 0 ;
12539   VALUE vresult = Qnil;
12540 
12541   {
12542     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
12543     _global_pool = arg4;
12544     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
12545   }
12546   if ((argc < 3) || (argc > 4)) {
12547     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
12548   }
12549   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_reporter_t, 0 |  0 );
12550   if (!SWIG_IsOK(res1)) {
12551     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_reporter_t *","svn_ra_reporter_invoke_delete_path", 1, argv[0] ));
12552   }
12553   arg1 = (svn_ra_reporter_t *)(argp1);
12554   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
12555   if (!SWIG_IsOK(res2)) {
12556     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_reporter_invoke_delete_path", 2, argv[1] ));
12557   }
12558   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
12559   if (!SWIG_IsOK(res3)) {
12560     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_reporter_invoke_delete_path", 3, argv[2] ));
12561   }
12562   arg3 = (char *)(buf3);
12563   if (argc > 3) {
12564 
12565   }
12566   {
12567     result = (svn_error_t *)svn_ra_reporter_invoke_delete_path(arg1,arg2,(char const *)arg3,arg4);
12568 
12569 
12570 
12571   }
12572   {
12573     if (result) {
12574       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12575       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12576       svn_swig_rb_handle_svn_error(result);
12577     }
12578     vresult = Qnil;
12579   }
12580   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12581   {
12582     VALUE target;
12583     target = _global_vresult_address == &vresult ? self : vresult;
12584     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12585     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12586     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12587   }
12588   return vresult;
12589 fail:
12590   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12591   {
12592     VALUE target;
12593     target = _global_vresult_address == &vresult ? self : vresult;
12594     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12595     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12596     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12597   }
12598   return Qnil;
12599 }
12600 
12601 
12602 SWIGINTERN VALUE
_wrap_svn_ra_reporter_invoke_link_path(int argc,VALUE * argv,VALUE self)12603 _wrap_svn_ra_reporter_invoke_link_path(int argc, VALUE *argv, VALUE self) {
12604   svn_ra_reporter_t *arg1 = (svn_ra_reporter_t *) 0 ;
12605   void *arg2 = (void *) 0 ;
12606   char *arg3 = (char *) 0 ;
12607   char *arg4 = (char *) 0 ;
12608   svn_revnum_t arg5 ;
12609   svn_boolean_t arg6 ;
12610   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
12611   VALUE _global_svn_swig_rb_pool ;
12612   apr_pool_t *_global_pool ;
12613   void *argp1 = 0 ;
12614   int res1 = 0 ;
12615   int res2 ;
12616   int res3 ;
12617   char *buf3 = 0 ;
12618   int alloc3 = 0 ;
12619   int res4 ;
12620   char *buf4 = 0 ;
12621   int alloc4 = 0 ;
12622   long val5 ;
12623   int ecode5 = 0 ;
12624   svn_error_t *result = 0 ;
12625   VALUE vresult = Qnil;
12626 
12627   {
12628     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7);
12629     _global_pool = arg7;
12630     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
12631   }
12632   if ((argc < 6) || (argc > 7)) {
12633     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
12634   }
12635   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_reporter_t, 0 |  0 );
12636   if (!SWIG_IsOK(res1)) {
12637     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_reporter_t *","svn_ra_reporter_invoke_link_path", 1, argv[0] ));
12638   }
12639   arg1 = (svn_ra_reporter_t *)(argp1);
12640   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
12641   if (!SWIG_IsOK(res2)) {
12642     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_reporter_invoke_link_path", 2, argv[1] ));
12643   }
12644   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
12645   if (!SWIG_IsOK(res3)) {
12646     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_reporter_invoke_link_path", 3, argv[2] ));
12647   }
12648   arg3 = (char *)(buf3);
12649   res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
12650   if (!SWIG_IsOK(res4)) {
12651     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_ra_reporter_invoke_link_path", 4, argv[3] ));
12652   }
12653   arg4 = (char *)(buf4);
12654   ecode5 = SWIG_AsVal_long(argv[4], &val5);
12655   if (!SWIG_IsOK(ecode5)) {
12656     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_reporter_invoke_link_path", 5, argv[4] ));
12657   }
12658   arg5 = (svn_revnum_t)(val5);
12659   arg6 = RTEST(argv[5]);
12660   if (argc > 6) {
12661 
12662   }
12663   {
12664     result = (svn_error_t *)svn_ra_reporter_invoke_link_path(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5,arg6,arg7);
12665 
12666 
12667 
12668   }
12669   {
12670     if (result) {
12671       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12672       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12673       svn_swig_rb_handle_svn_error(result);
12674     }
12675     vresult = Qnil;
12676   }
12677   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12678   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
12679   {
12680     VALUE target;
12681     target = _global_vresult_address == &vresult ? self : vresult;
12682     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12683     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12684     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12685   }
12686   return vresult;
12687 fail:
12688   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12689   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
12690   {
12691     VALUE target;
12692     target = _global_vresult_address == &vresult ? self : vresult;
12693     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12694     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12695     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12696   }
12697   return Qnil;
12698 }
12699 
12700 
12701 SWIGINTERN VALUE
_wrap_svn_ra_reporter_invoke_finish_report(int argc,VALUE * argv,VALUE self)12702 _wrap_svn_ra_reporter_invoke_finish_report(int argc, VALUE *argv, VALUE self) {
12703   svn_ra_reporter_t *arg1 = (svn_ra_reporter_t *) 0 ;
12704   void *arg2 = (void *) 0 ;
12705   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
12706   VALUE _global_svn_swig_rb_pool ;
12707   apr_pool_t *_global_pool ;
12708   void *argp1 = 0 ;
12709   int res1 = 0 ;
12710   int res2 ;
12711   svn_error_t *result = 0 ;
12712   VALUE vresult = Qnil;
12713 
12714   {
12715     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
12716     _global_pool = arg3;
12717     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
12718   }
12719   if ((argc < 2) || (argc > 3)) {
12720     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
12721   }
12722   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_reporter_t, 0 |  0 );
12723   if (!SWIG_IsOK(res1)) {
12724     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_reporter_t *","svn_ra_reporter_invoke_finish_report", 1, argv[0] ));
12725   }
12726   arg1 = (svn_ra_reporter_t *)(argp1);
12727   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
12728   if (!SWIG_IsOK(res2)) {
12729     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_reporter_invoke_finish_report", 2, argv[1] ));
12730   }
12731   if (argc > 2) {
12732 
12733   }
12734   {
12735     result = (svn_error_t *)svn_ra_reporter_invoke_finish_report(arg1,arg2,arg3);
12736 
12737 
12738 
12739   }
12740   {
12741     if (result) {
12742       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12743       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12744       svn_swig_rb_handle_svn_error(result);
12745     }
12746     vresult = Qnil;
12747   }
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_ra_reporter_invoke_abort_report(int argc,VALUE * argv,VALUE self)12769 _wrap_svn_ra_reporter_invoke_abort_report(int argc, VALUE *argv, VALUE self) {
12770   svn_ra_reporter_t *arg1 = (svn_ra_reporter_t *) 0 ;
12771   void *arg2 = (void *) 0 ;
12772   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
12773   VALUE _global_svn_swig_rb_pool ;
12774   apr_pool_t *_global_pool ;
12775   void *argp1 = 0 ;
12776   int res1 = 0 ;
12777   int res2 ;
12778   svn_error_t *result = 0 ;
12779   VALUE vresult = Qnil;
12780 
12781   {
12782     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
12783     _global_pool = arg3;
12784     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
12785   }
12786   if ((argc < 2) || (argc > 3)) {
12787     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
12788   }
12789   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_reporter_t, 0 |  0 );
12790   if (!SWIG_IsOK(res1)) {
12791     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_reporter_t *","svn_ra_reporter_invoke_abort_report", 1, argv[0] ));
12792   }
12793   arg1 = (svn_ra_reporter_t *)(argp1);
12794   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
12795   if (!SWIG_IsOK(res2)) {
12796     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_reporter_invoke_abort_report", 2, argv[1] ));
12797   }
12798   if (argc > 2) {
12799 
12800   }
12801   {
12802     result = (svn_error_t *)svn_ra_reporter_invoke_abort_report(arg1,arg2,arg3);
12803 
12804 
12805 
12806   }
12807   {
12808     if (result) {
12809       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12810       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12811       svn_swig_rb_handle_svn_error(result);
12812     }
12813     vresult = Qnil;
12814   }
12815   {
12816     VALUE target;
12817     target = _global_vresult_address == &vresult ? self : vresult;
12818     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12819     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12820     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12821   }
12822   return vresult;
12823 fail:
12824   {
12825     VALUE target;
12826     target = _global_vresult_address == &vresult ? self : vresult;
12827     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12828     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12829     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12830   }
12831   return Qnil;
12832 }
12833 
12834 
12835 SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_invoke_open_tmp_file(int argc,VALUE * argv,VALUE self)12836 _wrap_svn_ra_callbacks2_invoke_open_tmp_file(int argc, VALUE *argv, VALUE self) {
12837   svn_ra_callbacks2_t *arg1 = (svn_ra_callbacks2_t *) 0 ;
12838   apr_file_t **arg2 = (apr_file_t **) 0 ;
12839   void *arg3 = (void *) 0 ;
12840   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
12841   VALUE _global_svn_swig_rb_pool ;
12842   apr_pool_t *_global_pool ;
12843   void *argp1 = 0 ;
12844   int res1 = 0 ;
12845   apr_file_t *temp2 ;
12846   int res3 ;
12847   svn_error_t *result = 0 ;
12848   VALUE vresult = Qnil;
12849 
12850   {
12851     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
12852     _global_pool = arg4;
12853     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
12854   }
12855   arg2 = &temp2;
12856   if ((argc < 2) || (argc > 3)) {
12857     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
12858   }
12859   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 |  0 );
12860   if (!SWIG_IsOK(res1)) {
12861     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_callbacks2_t *","svn_ra_callbacks2_invoke_open_tmp_file", 1, argv[0] ));
12862   }
12863   arg1 = (svn_ra_callbacks2_t *)(argp1);
12864   res3 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg3), 0, 0);
12865   if (!SWIG_IsOK(res3)) {
12866     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "void *","svn_ra_callbacks2_invoke_open_tmp_file", 3, argv[1] ));
12867   }
12868   if (argc > 2) {
12869 
12870   }
12871   {
12872     result = (svn_error_t *)svn_ra_callbacks2_invoke_open_tmp_file(arg1,arg2,arg3,arg4);
12873 
12874 
12875 
12876   }
12877   {
12878     if (result) {
12879       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12880       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12881       svn_swig_rb_handle_svn_error(result);
12882     }
12883     vresult = Qnil;
12884   }
12885   {
12886     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_apr_file_t, 0));
12887   }
12888   {
12889     VALUE target;
12890     target = _global_vresult_address == &vresult ? self : vresult;
12891     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12892     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12893     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12894   }
12895   return vresult;
12896 fail:
12897   {
12898     VALUE target;
12899     target = _global_vresult_address == &vresult ? self : vresult;
12900     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12901     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12902     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12903   }
12904   return Qnil;
12905 }
12906 
12907 
12908 SWIGINTERN VALUE
_wrap_svn_ra_callbacks_invoke_open_tmp_file(int argc,VALUE * argv,VALUE self)12909 _wrap_svn_ra_callbacks_invoke_open_tmp_file(int argc, VALUE *argv, VALUE self) {
12910   svn_ra_callbacks_t *arg1 = (svn_ra_callbacks_t *) 0 ;
12911   apr_file_t **arg2 = (apr_file_t **) 0 ;
12912   void *arg3 = (void *) 0 ;
12913   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
12914   VALUE _global_svn_swig_rb_pool ;
12915   apr_pool_t *_global_pool ;
12916   void *argp1 = 0 ;
12917   int res1 = 0 ;
12918   apr_file_t *temp2 ;
12919   int res3 ;
12920   svn_error_t *result = 0 ;
12921   VALUE vresult = Qnil;
12922 
12923   {
12924     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
12925     _global_pool = arg4;
12926     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
12927   }
12928   arg2 = &temp2;
12929   if ((argc < 2) || (argc > 3)) {
12930     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
12931   }
12932   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_callbacks_t, 0 |  0 );
12933   if (!SWIG_IsOK(res1)) {
12934     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_callbacks_t *","svn_ra_callbacks_invoke_open_tmp_file", 1, argv[0] ));
12935   }
12936   arg1 = (svn_ra_callbacks_t *)(argp1);
12937   res3 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg3), 0, 0);
12938   if (!SWIG_IsOK(res3)) {
12939     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "void *","svn_ra_callbacks_invoke_open_tmp_file", 3, argv[1] ));
12940   }
12941   if (argc > 2) {
12942 
12943   }
12944   {
12945     result = (svn_error_t *)svn_ra_callbacks_invoke_open_tmp_file(arg1,arg2,arg3,arg4);
12946 
12947 
12948 
12949   }
12950   {
12951     if (result) {
12952       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12953       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12954       svn_swig_rb_handle_svn_error(result);
12955     }
12956     vresult = Qnil;
12957   }
12958   {
12959     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_apr_file_t, 0));
12960   }
12961   {
12962     VALUE target;
12963     target = _global_vresult_address == &vresult ? self : vresult;
12964     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12965     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12966     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12967   }
12968   return vresult;
12969 fail:
12970   {
12971     VALUE target;
12972     target = _global_vresult_address == &vresult ? self : vresult;
12973     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
12974     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
12975     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
12976   }
12977   return Qnil;
12978 }
12979 
12980 
12981 SWIGINTERN VALUE
_wrap_svn_ra_plugin_invoke_open(int argc,VALUE * argv,VALUE self)12982 _wrap_svn_ra_plugin_invoke_open(int argc, VALUE *argv, VALUE self) {
12983   svn_ra_plugin_t *arg1 = (svn_ra_plugin_t *) 0 ;
12984   void **arg2 = (void **) 0 ;
12985   char *arg3 = (char *) 0 ;
12986   svn_ra_callbacks_t *arg4 = (svn_ra_callbacks_t *) 0 ;
12987   void *arg5 = (void *) 0 ;
12988   apr_hash_t *arg6 = (apr_hash_t *) 0 ;
12989   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
12990   VALUE _global_svn_swig_rb_pool ;
12991   apr_pool_t *_global_pool ;
12992   void *argp1 = 0 ;
12993   int res1 = 0 ;
12994   void *temp2 ;
12995   int res3 ;
12996   char *buf3 = 0 ;
12997   int alloc3 = 0 ;
12998   void *argp4 = 0 ;
12999   int res4 = 0 ;
13000   int res5 ;
13001   svn_error_t *result = 0 ;
13002   VALUE vresult = Qnil;
13003 
13004   {
13005     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7);
13006     _global_pool = arg7;
13007     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
13008   }
13009   arg2 = &temp2;
13010   if ((argc < 5) || (argc > 6)) {
13011     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
13012   }
13013   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
13014   if (!SWIG_IsOK(res1)) {
13015     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_plugin_t *","svn_ra_plugin_invoke_open", 1, argv[0] ));
13016   }
13017   arg1 = (svn_ra_plugin_t *)(argp1);
13018   res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
13019   if (!SWIG_IsOK(res3)) {
13020     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_plugin_invoke_open", 3, argv[1] ));
13021   }
13022   arg3 = (char *)(buf3);
13023   res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_svn_ra_callbacks_t, 0 |  0 );
13024   if (!SWIG_IsOK(res4)) {
13025     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_ra_callbacks_t const *","svn_ra_plugin_invoke_open", 4, argv[2] ));
13026   }
13027   arg4 = (svn_ra_callbacks_t *)(argp4);
13028   res5 = SWIG_ConvertPtr(argv[3],SWIG_as_voidptrptr(&arg5), 0, 0);
13029   if (!SWIG_IsOK(res5)) {
13030     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "void *","svn_ra_plugin_invoke_open", 5, argv[3] ));
13031   }
13032   {
13033     if (NIL_P(argv[4])) {
13034       arg6 = NULL;
13035     } else {
13036       arg6 = svn_swig_rb_hash_to_apr_hash_swig_type(argv[4], "svn_config_t *", _global_pool);
13037     }
13038   }
13039   if (argc > 5) {
13040 
13041   }
13042   {
13043     result = (svn_error_t *)svn_ra_plugin_invoke_open(arg1,arg2,(char const *)arg3,(struct svn_ra_callbacks_t const *)arg4,arg5,arg6,arg7);
13044 
13045 
13046 
13047   }
13048   {
13049     if (result) {
13050       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13051       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13052       svn_swig_rb_handle_svn_error(result);
13053     }
13054     vresult = Qnil;
13055   }
13056   {
13057     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_void, 0));
13058   }
13059   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
13060   {
13061     VALUE target;
13062     target = _global_vresult_address == &vresult ? self : vresult;
13063     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13064     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13065     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13066   }
13067   return vresult;
13068 fail:
13069   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
13070   {
13071     VALUE target;
13072     target = _global_vresult_address == &vresult ? self : vresult;
13073     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13074     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13075     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13076   }
13077   return Qnil;
13078 }
13079 
13080 
13081 SWIGINTERN VALUE
_wrap_svn_ra_plugin_invoke_get_latest_revnum(int argc,VALUE * argv,VALUE self)13082 _wrap_svn_ra_plugin_invoke_get_latest_revnum(int argc, VALUE *argv, VALUE self) {
13083   svn_ra_plugin_t *arg1 = (svn_ra_plugin_t *) 0 ;
13084   void *arg2 = (void *) 0 ;
13085   svn_revnum_t *arg3 = (svn_revnum_t *) 0 ;
13086   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
13087   VALUE _global_svn_swig_rb_pool ;
13088   apr_pool_t *_global_pool ;
13089   void *argp1 = 0 ;
13090   int res1 = 0 ;
13091   int res2 ;
13092   svn_revnum_t temp3 ;
13093   int res3 = SWIG_TMPOBJ ;
13094   svn_error_t *result = 0 ;
13095   VALUE vresult = Qnil;
13096 
13097   {
13098     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
13099     _global_pool = arg4;
13100     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
13101   }
13102   arg3 = &temp3;
13103   if ((argc < 2) || (argc > 3)) {
13104     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
13105   }
13106   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
13107   if (!SWIG_IsOK(res1)) {
13108     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_plugin_t *","svn_ra_plugin_invoke_get_latest_revnum", 1, argv[0] ));
13109   }
13110   arg1 = (svn_ra_plugin_t *)(argp1);
13111   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
13112   if (!SWIG_IsOK(res2)) {
13113     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_plugin_invoke_get_latest_revnum", 2, argv[1] ));
13114   }
13115   if (argc > 2) {
13116 
13117   }
13118   {
13119     result = (svn_error_t *)svn_ra_plugin_invoke_get_latest_revnum(arg1,arg2,arg3,arg4);
13120 
13121 
13122 
13123   }
13124   {
13125     if (result) {
13126       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13127       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13128       svn_swig_rb_handle_svn_error(result);
13129     }
13130     vresult = Qnil;
13131   }
13132   if (SWIG_IsTmpObj(res3)) {
13133     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg3)));
13134   } else {
13135     int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
13136     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13137   }
13138   {
13139     VALUE target;
13140     target = _global_vresult_address == &vresult ? self : vresult;
13141     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13142     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13143     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13144   }
13145   return vresult;
13146 fail:
13147   {
13148     VALUE target;
13149     target = _global_vresult_address == &vresult ? self : vresult;
13150     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13151     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13152     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13153   }
13154   return Qnil;
13155 }
13156 
13157 
13158 SWIGINTERN VALUE
_wrap_svn_ra_plugin_invoke_get_dated_revision(int argc,VALUE * argv,VALUE self)13159 _wrap_svn_ra_plugin_invoke_get_dated_revision(int argc, VALUE *argv, VALUE self) {
13160   svn_ra_plugin_t *arg1 = (svn_ra_plugin_t *) 0 ;
13161   void *arg2 = (void *) 0 ;
13162   svn_revnum_t *arg3 = (svn_revnum_t *) 0 ;
13163   apr_time_t arg4 ;
13164   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
13165   VALUE _global_svn_swig_rb_pool ;
13166   apr_pool_t *_global_pool ;
13167   void *argp1 = 0 ;
13168   int res1 = 0 ;
13169   int res2 ;
13170   svn_revnum_t temp3 ;
13171   int res3 = SWIG_TMPOBJ ;
13172   svn_error_t *result = 0 ;
13173   VALUE vresult = Qnil;
13174 
13175   {
13176     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
13177     _global_pool = arg5;
13178     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
13179   }
13180   arg3 = &temp3;
13181   if ((argc < 3) || (argc > 4)) {
13182     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
13183   }
13184   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
13185   if (!SWIG_IsOK(res1)) {
13186     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_plugin_t *","svn_ra_plugin_invoke_get_dated_revision", 1, argv[0] ));
13187   }
13188   arg1 = (svn_ra_plugin_t *)(argp1);
13189   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
13190   if (!SWIG_IsOK(res2)) {
13191     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_plugin_invoke_get_dated_revision", 2, argv[1] ));
13192   }
13193   {
13194     arg4 = (apr_time_t)NUM2LL(argv[2]);
13195   }
13196   if (argc > 3) {
13197 
13198   }
13199   {
13200     result = (svn_error_t *)svn_ra_plugin_invoke_get_dated_revision(arg1,arg2,arg3,arg4,arg5);
13201 
13202 
13203 
13204   }
13205   {
13206     if (result) {
13207       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13208       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13209       svn_swig_rb_handle_svn_error(result);
13210     }
13211     vresult = Qnil;
13212   }
13213   if (SWIG_IsTmpObj(res3)) {
13214     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg3)));
13215   } else {
13216     int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
13217     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13218   }
13219   {
13220     VALUE target;
13221     target = _global_vresult_address == &vresult ? self : vresult;
13222     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13223     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13224     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13225   }
13226   return vresult;
13227 fail:
13228   {
13229     VALUE target;
13230     target = _global_vresult_address == &vresult ? self : vresult;
13231     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13232     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13233     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13234   }
13235   return Qnil;
13236 }
13237 
13238 
13239 SWIGINTERN VALUE
_wrap_svn_ra_plugin_invoke_change_rev_prop(int argc,VALUE * argv,VALUE self)13240 _wrap_svn_ra_plugin_invoke_change_rev_prop(int argc, VALUE *argv, VALUE self) {
13241   svn_ra_plugin_t *arg1 = (svn_ra_plugin_t *) 0 ;
13242   void *arg2 = (void *) 0 ;
13243   svn_revnum_t arg3 ;
13244   char *arg4 = (char *) 0 ;
13245   svn_string_t *arg5 = (svn_string_t *) 0 ;
13246   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
13247   VALUE _global_svn_swig_rb_pool ;
13248   apr_pool_t *_global_pool ;
13249   void *argp1 = 0 ;
13250   int res1 = 0 ;
13251   int res2 ;
13252   long val3 ;
13253   int ecode3 = 0 ;
13254   int res4 ;
13255   char *buf4 = 0 ;
13256   int alloc4 = 0 ;
13257   svn_string_t value5 ;
13258   svn_error_t *result = 0 ;
13259   VALUE vresult = Qnil;
13260 
13261   {
13262     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
13263     _global_pool = arg6;
13264     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
13265   }
13266   if ((argc < 5) || (argc > 6)) {
13267     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
13268   }
13269   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
13270   if (!SWIG_IsOK(res1)) {
13271     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_plugin_t *","svn_ra_plugin_invoke_change_rev_prop", 1, argv[0] ));
13272   }
13273   arg1 = (svn_ra_plugin_t *)(argp1);
13274   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
13275   if (!SWIG_IsOK(res2)) {
13276     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_plugin_invoke_change_rev_prop", 2, argv[1] ));
13277   }
13278   ecode3 = SWIG_AsVal_long(argv[2], &val3);
13279   if (!SWIG_IsOK(ecode3)) {
13280     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_plugin_invoke_change_rev_prop", 3, argv[2] ));
13281   }
13282   arg3 = (svn_revnum_t)(val3);
13283   res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
13284   if (!SWIG_IsOK(res4)) {
13285     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_ra_plugin_invoke_change_rev_prop", 4, argv[3] ));
13286   }
13287   arg4 = (char *)(buf4);
13288   {
13289     if (NIL_P(argv[4])) {
13290       arg5 = NULL;
13291     } else {
13292       value5.data = StringValuePtr(argv[4]);
13293       value5.len = RSTRING_LEN(argv[4]);
13294       arg5 = &value5;
13295     }
13296   }
13297   if (argc > 5) {
13298 
13299   }
13300   {
13301     result = (svn_error_t *)svn_ra_plugin_invoke_change_rev_prop(arg1,arg2,arg3,(char const *)arg4,(struct svn_string_t const *)arg5,arg6);
13302 
13303 
13304 
13305   }
13306   {
13307     if (result) {
13308       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13309       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13310       svn_swig_rb_handle_svn_error(result);
13311     }
13312     vresult = Qnil;
13313   }
13314   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
13315   {
13316     VALUE target;
13317     target = _global_vresult_address == &vresult ? self : vresult;
13318     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13319     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13320     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13321   }
13322   return vresult;
13323 fail:
13324   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
13325   {
13326     VALUE target;
13327     target = _global_vresult_address == &vresult ? self : vresult;
13328     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13329     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13330     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13331   }
13332   return Qnil;
13333 }
13334 
13335 
13336 SWIGINTERN VALUE
_wrap_svn_ra_plugin_invoke_rev_proplist(int argc,VALUE * argv,VALUE self)13337 _wrap_svn_ra_plugin_invoke_rev_proplist(int argc, VALUE *argv, VALUE self) {
13338   svn_ra_plugin_t *arg1 = (svn_ra_plugin_t *) 0 ;
13339   void *arg2 = (void *) 0 ;
13340   svn_revnum_t arg3 ;
13341   apr_hash_t **arg4 = (apr_hash_t **) 0 ;
13342   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
13343   VALUE _global_svn_swig_rb_pool ;
13344   apr_pool_t *_global_pool ;
13345   void *argp1 = 0 ;
13346   int res1 = 0 ;
13347   int res2 ;
13348   long val3 ;
13349   int ecode3 = 0 ;
13350   apr_hash_t *temp4 ;
13351   svn_error_t *result = 0 ;
13352   VALUE vresult = Qnil;
13353 
13354   {
13355     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
13356     _global_pool = arg5;
13357     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
13358   }
13359   arg4 = &temp4;
13360   if ((argc < 3) || (argc > 4)) {
13361     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
13362   }
13363   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
13364   if (!SWIG_IsOK(res1)) {
13365     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_plugin_t *","svn_ra_plugin_invoke_rev_proplist", 1, argv[0] ));
13366   }
13367   arg1 = (svn_ra_plugin_t *)(argp1);
13368   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
13369   if (!SWIG_IsOK(res2)) {
13370     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_plugin_invoke_rev_proplist", 2, argv[1] ));
13371   }
13372   ecode3 = SWIG_AsVal_long(argv[2], &val3);
13373   if (!SWIG_IsOK(ecode3)) {
13374     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_plugin_invoke_rev_proplist", 3, argv[2] ));
13375   }
13376   arg3 = (svn_revnum_t)(val3);
13377   if (argc > 3) {
13378 
13379   }
13380   {
13381     result = (svn_error_t *)svn_ra_plugin_invoke_rev_proplist(arg1,arg2,arg3,arg4,arg5);
13382 
13383 
13384 
13385   }
13386   {
13387     if (result) {
13388       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13389       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13390       svn_swig_rb_handle_svn_error(result);
13391     }
13392     vresult = Qnil;
13393   }
13394   {
13395     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_svn_string(*arg4));
13396   }
13397   {
13398     VALUE target;
13399     target = _global_vresult_address == &vresult ? self : vresult;
13400     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13401     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13402     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13403   }
13404   return vresult;
13405 fail:
13406   {
13407     VALUE target;
13408     target = _global_vresult_address == &vresult ? self : vresult;
13409     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13410     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13411     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13412   }
13413   return Qnil;
13414 }
13415 
13416 
13417 SWIGINTERN VALUE
_wrap_svn_ra_plugin_invoke_rev_prop(int argc,VALUE * argv,VALUE self)13418 _wrap_svn_ra_plugin_invoke_rev_prop(int argc, VALUE *argv, VALUE self) {
13419   svn_ra_plugin_t *arg1 = (svn_ra_plugin_t *) 0 ;
13420   void *arg2 = (void *) 0 ;
13421   svn_revnum_t arg3 ;
13422   char *arg4 = (char *) 0 ;
13423   svn_string_t **arg5 = (svn_string_t **) 0 ;
13424   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
13425   VALUE _global_svn_swig_rb_pool ;
13426   apr_pool_t *_global_pool ;
13427   void *argp1 = 0 ;
13428   int res1 = 0 ;
13429   int res2 ;
13430   long val3 ;
13431   int ecode3 = 0 ;
13432   int res4 ;
13433   char *buf4 = 0 ;
13434   int alloc4 = 0 ;
13435   svn_string_t *temp5 ;
13436   svn_error_t *result = 0 ;
13437   VALUE vresult = Qnil;
13438 
13439   {
13440     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
13441     _global_pool = arg6;
13442     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
13443   }
13444   arg5 = &temp5;
13445   if ((argc < 4) || (argc > 5)) {
13446     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
13447   }
13448   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
13449   if (!SWIG_IsOK(res1)) {
13450     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_plugin_t *","svn_ra_plugin_invoke_rev_prop", 1, argv[0] ));
13451   }
13452   arg1 = (svn_ra_plugin_t *)(argp1);
13453   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
13454   if (!SWIG_IsOK(res2)) {
13455     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_plugin_invoke_rev_prop", 2, argv[1] ));
13456   }
13457   ecode3 = SWIG_AsVal_long(argv[2], &val3);
13458   if (!SWIG_IsOK(ecode3)) {
13459     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_plugin_invoke_rev_prop", 3, argv[2] ));
13460   }
13461   arg3 = (svn_revnum_t)(val3);
13462   res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
13463   if (!SWIG_IsOK(res4)) {
13464     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_ra_plugin_invoke_rev_prop", 4, argv[3] ));
13465   }
13466   arg4 = (char *)(buf4);
13467   if (argc > 4) {
13468 
13469   }
13470   {
13471     result = (svn_error_t *)svn_ra_plugin_invoke_rev_prop(arg1,arg2,arg3,(char const *)arg4,arg5,arg6);
13472 
13473 
13474 
13475   }
13476   {
13477     if (result) {
13478       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13479       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13480       svn_swig_rb_handle_svn_error(result);
13481     }
13482     vresult = Qnil;
13483   }
13484   {
13485     if (*arg5) {
13486       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new((*arg5)->data, (*arg5)->len));
13487     } else {
13488       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
13489     }
13490   }
13491   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
13492   {
13493     VALUE target;
13494     target = _global_vresult_address == &vresult ? self : vresult;
13495     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13496     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13497     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13498   }
13499   return vresult;
13500 fail:
13501   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
13502   {
13503     VALUE target;
13504     target = _global_vresult_address == &vresult ? self : vresult;
13505     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13506     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13507     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13508   }
13509   return Qnil;
13510 }
13511 
13512 
13513 SWIGINTERN VALUE
_wrap_svn_ra_plugin_invoke_get_commit_editor(int argc,VALUE * argv,VALUE self)13514 _wrap_svn_ra_plugin_invoke_get_commit_editor(int argc, VALUE *argv, VALUE self) {
13515   svn_ra_plugin_t *arg1 = (svn_ra_plugin_t *) 0 ;
13516   void *arg2 = (void *) 0 ;
13517   svn_delta_editor_t **arg3 = (svn_delta_editor_t **) 0 ;
13518   void **arg4 = (void **) 0 ;
13519   char *arg5 = (char *) 0 ;
13520   svn_commit_callback_t arg6 = (svn_commit_callback_t) 0 ;
13521   void *arg7 = (void *) 0 ;
13522   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
13523   VALUE _global_svn_swig_rb_pool ;
13524   apr_pool_t *_global_pool ;
13525   void *argp1 = 0 ;
13526   int res1 = 0 ;
13527   int res2 ;
13528   svn_delta_editor_t *temp3 ;
13529   void *temp4 ;
13530   int res5 ;
13531   char *buf5 = 0 ;
13532   int alloc5 = 0 ;
13533   svn_error_t *result = 0 ;
13534   VALUE vresult = Qnil;
13535 
13536   {
13537     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8);
13538     _global_pool = arg8;
13539     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
13540   }
13541   arg3 = &temp3;
13542   arg4 = &temp4;
13543   if ((argc < 4) || (argc > 5)) {
13544     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
13545   }
13546   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
13547   if (!SWIG_IsOK(res1)) {
13548     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_plugin_t *","svn_ra_plugin_invoke_get_commit_editor", 1, argv[0] ));
13549   }
13550   arg1 = (svn_ra_plugin_t *)(argp1);
13551   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
13552   if (!SWIG_IsOK(res2)) {
13553     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_plugin_invoke_get_commit_editor", 2, argv[1] ));
13554   }
13555   res5 = SWIG_AsCharPtrAndSize(argv[2], &buf5, NULL, &alloc5);
13556   if (!SWIG_IsOK(res5)) {
13557     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_ra_plugin_invoke_get_commit_editor", 5, argv[2] ));
13558   }
13559   arg5 = (char *)(buf5);
13560   {
13561     arg6 = svn_swig_rb_commit_callback;
13562     arg7 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
13563   }
13564   if (argc > 4) {
13565 
13566   }
13567   {
13568     result = (svn_error_t *)svn_ra_plugin_invoke_get_commit_editor(arg1,arg2,(struct svn_delta_editor_t const **)arg3,arg4,(char const *)arg5,arg6,arg7,arg8);
13569 
13570 
13571 
13572   }
13573   {
13574     if (result) {
13575       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13576       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13577       svn_swig_rb_handle_svn_error(result);
13578     }
13579     vresult = Qnil;
13580   }
13581   {
13582     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg3, SWIGTYPE_p_svn_delta_editor_t, 0));
13583   }
13584   {
13585     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg4, SWIGTYPE_p_void, 0));
13586   }
13587   {
13588     svn_swig_rb_set_baton(vresult, (VALUE)arg7);
13589   }
13590   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
13591   {
13592     VALUE target;
13593     target = _global_vresult_address == &vresult ? self : vresult;
13594     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13595     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13596     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13597   }
13598   return vresult;
13599 fail:
13600   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
13601   {
13602     VALUE target;
13603     target = _global_vresult_address == &vresult ? self : vresult;
13604     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13605     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13606     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13607   }
13608   return Qnil;
13609 }
13610 
13611 
13612 SWIGINTERN VALUE
_wrap_svn_ra_plugin_invoke_get_file(int argc,VALUE * argv,VALUE self)13613 _wrap_svn_ra_plugin_invoke_get_file(int argc, VALUE *argv, VALUE self) {
13614   svn_ra_plugin_t *arg1 = (svn_ra_plugin_t *) 0 ;
13615   void *arg2 = (void *) 0 ;
13616   char *arg3 = (char *) 0 ;
13617   svn_revnum_t arg4 ;
13618   svn_stream_t *arg5 = (svn_stream_t *) 0 ;
13619   svn_revnum_t *arg6 = (svn_revnum_t *) 0 ;
13620   apr_hash_t **arg7 = (apr_hash_t **) 0 ;
13621   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
13622   VALUE _global_svn_swig_rb_pool ;
13623   apr_pool_t *_global_pool ;
13624   void *argp1 = 0 ;
13625   int res1 = 0 ;
13626   int res2 ;
13627   int res3 ;
13628   char *buf3 = 0 ;
13629   int alloc3 = 0 ;
13630   long val4 ;
13631   int ecode4 = 0 ;
13632   svn_revnum_t temp6 ;
13633   int res6 = SWIG_TMPOBJ ;
13634   apr_hash_t *temp7 ;
13635   svn_error_t *result = 0 ;
13636   VALUE vresult = Qnil;
13637 
13638   {
13639     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8);
13640     _global_pool = arg8;
13641     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
13642   }
13643   arg6 = &temp6;
13644   arg7 = &temp7;
13645   if ((argc < 5) || (argc > 6)) {
13646     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
13647   }
13648   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
13649   if (!SWIG_IsOK(res1)) {
13650     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_plugin_t *","svn_ra_plugin_invoke_get_file", 1, argv[0] ));
13651   }
13652   arg1 = (svn_ra_plugin_t *)(argp1);
13653   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
13654   if (!SWIG_IsOK(res2)) {
13655     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_plugin_invoke_get_file", 2, argv[1] ));
13656   }
13657   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
13658   if (!SWIG_IsOK(res3)) {
13659     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_plugin_invoke_get_file", 3, argv[2] ));
13660   }
13661   arg3 = (char *)(buf3);
13662   ecode4 = SWIG_AsVal_long(argv[3], &val4);
13663   if (!SWIG_IsOK(ecode4)) {
13664     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_plugin_invoke_get_file", 4, argv[3] ));
13665   }
13666   arg4 = (svn_revnum_t)(val4);
13667   {
13668     arg5 = svn_swig_rb_make_stream(argv[4]);
13669   }
13670   if (argc > 5) {
13671 
13672   }
13673   {
13674     result = (svn_error_t *)svn_ra_plugin_invoke_get_file(arg1,arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8);
13675 
13676 
13677 
13678   }
13679   {
13680     if (result) {
13681       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13682       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13683       svn_swig_rb_handle_svn_error(result);
13684     }
13685     vresult = Qnil;
13686   }
13687   if (SWIG_IsTmpObj(res6)) {
13688     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg6)));
13689   } else {
13690     int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
13691     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_long, new_flags));
13692   }
13693   {
13694     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_svn_string(*arg7));
13695   }
13696   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
13697   {
13698     VALUE target;
13699     target = _global_vresult_address == &vresult ? self : vresult;
13700     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13701     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13702     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13703   }
13704   return vresult;
13705 fail:
13706   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
13707   {
13708     VALUE target;
13709     target = _global_vresult_address == &vresult ? self : vresult;
13710     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13711     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13712     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13713   }
13714   return Qnil;
13715 }
13716 
13717 
13718 SWIGINTERN VALUE
_wrap_svn_ra_plugin_invoke_get_dir(int argc,VALUE * argv,VALUE self)13719 _wrap_svn_ra_plugin_invoke_get_dir(int argc, VALUE *argv, VALUE self) {
13720   svn_ra_plugin_t *arg1 = (svn_ra_plugin_t *) 0 ;
13721   void *arg2 = (void *) 0 ;
13722   char *arg3 = (char *) 0 ;
13723   svn_revnum_t arg4 ;
13724   apr_hash_t **arg5 = (apr_hash_t **) 0 ;
13725   svn_revnum_t *arg6 = (svn_revnum_t *) 0 ;
13726   apr_hash_t **arg7 = (apr_hash_t **) 0 ;
13727   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
13728   VALUE _global_svn_swig_rb_pool ;
13729   apr_pool_t *_global_pool ;
13730   void *argp1 = 0 ;
13731   int res1 = 0 ;
13732   int res2 ;
13733   int res3 ;
13734   char *buf3 = 0 ;
13735   int alloc3 = 0 ;
13736   long val4 ;
13737   int ecode4 = 0 ;
13738   apr_hash_t *temp5 ;
13739   svn_revnum_t temp6 ;
13740   int res6 = SWIG_TMPOBJ ;
13741   apr_hash_t *temp7 ;
13742   svn_error_t *result = 0 ;
13743   VALUE vresult = Qnil;
13744 
13745   {
13746     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8);
13747     _global_pool = arg8;
13748     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
13749   }
13750   arg5 = &temp5;
13751   arg6 = &temp6;
13752   arg7 = &temp7;
13753   if ((argc < 4) || (argc > 5)) {
13754     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
13755   }
13756   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
13757   if (!SWIG_IsOK(res1)) {
13758     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_plugin_t *","svn_ra_plugin_invoke_get_dir", 1, argv[0] ));
13759   }
13760   arg1 = (svn_ra_plugin_t *)(argp1);
13761   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
13762   if (!SWIG_IsOK(res2)) {
13763     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_plugin_invoke_get_dir", 2, argv[1] ));
13764   }
13765   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
13766   if (!SWIG_IsOK(res3)) {
13767     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_plugin_invoke_get_dir", 3, argv[2] ));
13768   }
13769   arg3 = (char *)(buf3);
13770   ecode4 = SWIG_AsVal_long(argv[3], &val4);
13771   if (!SWIG_IsOK(ecode4)) {
13772     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_plugin_invoke_get_dir", 4, argv[3] ));
13773   }
13774   arg4 = (svn_revnum_t)(val4);
13775   if (argc > 4) {
13776 
13777   }
13778   {
13779     result = (svn_error_t *)svn_ra_plugin_invoke_get_dir(arg1,arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8);
13780 
13781 
13782 
13783   }
13784   {
13785     if (result) {
13786       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13787       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13788       svn_swig_rb_handle_svn_error(result);
13789     }
13790     vresult = Qnil;
13791   }
13792   {
13793     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_swig_type(*arg5,
13794         "svn_dirent_t *"))
13795 
13796     ;
13797   }
13798   if (SWIG_IsTmpObj(res6)) {
13799     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg6)));
13800   } else {
13801     int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
13802     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_long, new_flags));
13803   }
13804   {
13805     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_svn_string(*arg7));
13806   }
13807   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
13808   {
13809     VALUE target;
13810     target = _global_vresult_address == &vresult ? self : vresult;
13811     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13812     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13813     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13814   }
13815   return vresult;
13816 fail:
13817   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
13818   {
13819     VALUE target;
13820     target = _global_vresult_address == &vresult ? self : vresult;
13821     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13822     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13823     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13824   }
13825   return Qnil;
13826 }
13827 
13828 
13829 SWIGINTERN VALUE
_wrap_svn_ra_plugin_invoke_do_update(int argc,VALUE * argv,VALUE self)13830 _wrap_svn_ra_plugin_invoke_do_update(int argc, VALUE *argv, VALUE self) {
13831   svn_ra_plugin_t *arg1 = (svn_ra_plugin_t *) 0 ;
13832   void *arg2 = (void *) 0 ;
13833   svn_ra_reporter_t **arg3 = (svn_ra_reporter_t **) 0 ;
13834   void **arg4 = (void **) 0 ;
13835   svn_revnum_t arg5 ;
13836   char *arg6 = (char *) 0 ;
13837   svn_boolean_t arg7 ;
13838   svn_delta_editor_t *arg8 = (svn_delta_editor_t *) 0 ;
13839   void *arg9 = (void *) 0 ;
13840   apr_pool_t *arg10 = (apr_pool_t *) 0 ;
13841   VALUE _global_svn_swig_rb_pool ;
13842   apr_pool_t *_global_pool ;
13843   void *argp1 = 0 ;
13844   int res1 = 0 ;
13845   int res2 ;
13846   svn_ra_reporter_t *temp3 ;
13847   void *temp4 ;
13848   long val5 ;
13849   int ecode5 = 0 ;
13850   int res6 ;
13851   char *buf6 = 0 ;
13852   int alloc6 = 0 ;
13853   svn_error_t *result = 0 ;
13854   VALUE vresult = Qnil;
13855 
13856   {
13857     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg10);
13858     _global_pool = arg10;
13859     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
13860   }
13861   arg3 = &temp3;
13862   arg4 = &temp4;
13863   if ((argc < 6) || (argc > 7)) {
13864     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
13865   }
13866   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
13867   if (!SWIG_IsOK(res1)) {
13868     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_plugin_t *","svn_ra_plugin_invoke_do_update", 1, argv[0] ));
13869   }
13870   arg1 = (svn_ra_plugin_t *)(argp1);
13871   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
13872   if (!SWIG_IsOK(res2)) {
13873     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_plugin_invoke_do_update", 2, argv[1] ));
13874   }
13875   ecode5 = SWIG_AsVal_long(argv[2], &val5);
13876   if (!SWIG_IsOK(ecode5)) {
13877     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_plugin_invoke_do_update", 5, argv[2] ));
13878   }
13879   arg5 = (svn_revnum_t)(val5);
13880   res6 = SWIG_AsCharPtrAndSize(argv[3], &buf6, NULL, &alloc6);
13881   if (!SWIG_IsOK(res6)) {
13882     SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "char const *","svn_ra_plugin_invoke_do_update", 6, argv[3] ));
13883   }
13884   arg6 = (char *)(buf6);
13885   arg7 = RTEST(argv[4]);
13886   {
13887     if (RTEST(rb_obj_is_kind_of(argv[5],
13888           svn_swig_rb_svn_delta_editor()))) {
13889       arg8 = svn_swig_rb_to_swig_type(argv[5],
13890         "svn_delta_editor_t *",
13891         _global_pool);
13892       arg9 = svn_swig_rb_to_swig_type(rb_funcall(argv[5], rb_intern("baton"), 0),
13893         "void *", _global_pool);
13894     } else {
13895       svn_swig_rb_make_delta_editor(&arg8, &arg9, argv[5], _global_pool);
13896     }
13897   }
13898   if (argc > 6) {
13899 
13900   }
13901   {
13902     result = (svn_error_t *)svn_ra_plugin_invoke_do_update(arg1,arg2,(struct svn_ra_reporter_t const **)arg3,arg4,arg5,(char const *)arg6,arg7,(struct svn_delta_editor_t const *)arg8,arg9,arg10);
13903 
13904 
13905 
13906   }
13907   {
13908     if (result) {
13909       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13910       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13911       svn_swig_rb_handle_svn_error(result);
13912     }
13913     vresult = Qnil;
13914   }
13915   {
13916     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg3, SWIGTYPE_p_svn_ra_reporter_t, 0));
13917   }
13918   {
13919     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg4, SWIGTYPE_p_void, 0));
13920   }
13921   if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
13922   {
13923     VALUE target;
13924     target = _global_vresult_address == &vresult ? self : vresult;
13925     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13926     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13927     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13928   }
13929   return vresult;
13930 fail:
13931   if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
13932   {
13933     VALUE target;
13934     target = _global_vresult_address == &vresult ? self : vresult;
13935     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
13936     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
13937     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
13938   }
13939   return Qnil;
13940 }
13941 
13942 
13943 SWIGINTERN VALUE
_wrap_svn_ra_plugin_invoke_do_switch(int argc,VALUE * argv,VALUE self)13944 _wrap_svn_ra_plugin_invoke_do_switch(int argc, VALUE *argv, VALUE self) {
13945   svn_ra_plugin_t *arg1 = (svn_ra_plugin_t *) 0 ;
13946   void *arg2 = (void *) 0 ;
13947   svn_ra_reporter_t **arg3 = (svn_ra_reporter_t **) 0 ;
13948   void **arg4 = (void **) 0 ;
13949   svn_revnum_t arg5 ;
13950   char *arg6 = (char *) 0 ;
13951   svn_boolean_t arg7 ;
13952   char *arg8 = (char *) 0 ;
13953   svn_delta_editor_t *arg9 = (svn_delta_editor_t *) 0 ;
13954   void *arg10 = (void *) 0 ;
13955   apr_pool_t *arg11 = (apr_pool_t *) 0 ;
13956   VALUE _global_svn_swig_rb_pool ;
13957   apr_pool_t *_global_pool ;
13958   void *argp1 = 0 ;
13959   int res1 = 0 ;
13960   int res2 ;
13961   svn_ra_reporter_t *temp3 ;
13962   void *temp4 ;
13963   long val5 ;
13964   int ecode5 = 0 ;
13965   int res6 ;
13966   char *buf6 = 0 ;
13967   int alloc6 = 0 ;
13968   int res8 ;
13969   char *buf8 = 0 ;
13970   int alloc8 = 0 ;
13971   svn_error_t *result = 0 ;
13972   VALUE vresult = Qnil;
13973 
13974   {
13975     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg11);
13976     _global_pool = arg11;
13977     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
13978   }
13979   arg3 = &temp3;
13980   arg4 = &temp4;
13981   if ((argc < 7) || (argc > 8)) {
13982     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
13983   }
13984   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
13985   if (!SWIG_IsOK(res1)) {
13986     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_plugin_t *","svn_ra_plugin_invoke_do_switch", 1, argv[0] ));
13987   }
13988   arg1 = (svn_ra_plugin_t *)(argp1);
13989   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
13990   if (!SWIG_IsOK(res2)) {
13991     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_plugin_invoke_do_switch", 2, argv[1] ));
13992   }
13993   ecode5 = SWIG_AsVal_long(argv[2], &val5);
13994   if (!SWIG_IsOK(ecode5)) {
13995     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_plugin_invoke_do_switch", 5, argv[2] ));
13996   }
13997   arg5 = (svn_revnum_t)(val5);
13998   res6 = SWIG_AsCharPtrAndSize(argv[3], &buf6, NULL, &alloc6);
13999   if (!SWIG_IsOK(res6)) {
14000     SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "char const *","svn_ra_plugin_invoke_do_switch", 6, argv[3] ));
14001   }
14002   arg6 = (char *)(buf6);
14003   arg7 = RTEST(argv[4]);
14004   res8 = SWIG_AsCharPtrAndSize(argv[5], &buf8, NULL, &alloc8);
14005   if (!SWIG_IsOK(res8)) {
14006     SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "char const *","svn_ra_plugin_invoke_do_switch", 8, argv[5] ));
14007   }
14008   arg8 = (char *)(buf8);
14009   {
14010     if (RTEST(rb_obj_is_kind_of(argv[6],
14011           svn_swig_rb_svn_delta_editor()))) {
14012       arg9 = svn_swig_rb_to_swig_type(argv[6],
14013         "svn_delta_editor_t *",
14014         _global_pool);
14015       arg10 = svn_swig_rb_to_swig_type(rb_funcall(argv[6], rb_intern("baton"), 0),
14016         "void *", _global_pool);
14017     } else {
14018       svn_swig_rb_make_delta_editor(&arg9, &arg10, argv[6], _global_pool);
14019     }
14020   }
14021   if (argc > 7) {
14022 
14023   }
14024   {
14025     result = (svn_error_t *)svn_ra_plugin_invoke_do_switch(arg1,arg2,(struct svn_ra_reporter_t const **)arg3,arg4,arg5,(char const *)arg6,arg7,(char const *)arg8,(struct svn_delta_editor_t const *)arg9,arg10,arg11);
14026 
14027 
14028 
14029   }
14030   {
14031     if (result) {
14032       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14033       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14034       svn_swig_rb_handle_svn_error(result);
14035     }
14036     vresult = Qnil;
14037   }
14038   {
14039     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg3, SWIGTYPE_p_svn_ra_reporter_t, 0));
14040   }
14041   {
14042     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg4, SWIGTYPE_p_void, 0));
14043   }
14044   if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
14045   if (alloc8 == SWIG_NEWOBJ) free((char*)buf8);
14046   {
14047     VALUE target;
14048     target = _global_vresult_address == &vresult ? self : vresult;
14049     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14050     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14051     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14052   }
14053   return vresult;
14054 fail:
14055   if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
14056   if (alloc8 == SWIG_NEWOBJ) free((char*)buf8);
14057   {
14058     VALUE target;
14059     target = _global_vresult_address == &vresult ? self : vresult;
14060     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14061     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14062     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14063   }
14064   return Qnil;
14065 }
14066 
14067 
14068 SWIGINTERN VALUE
_wrap_svn_ra_plugin_invoke_do_status(int argc,VALUE * argv,VALUE self)14069 _wrap_svn_ra_plugin_invoke_do_status(int argc, VALUE *argv, VALUE self) {
14070   svn_ra_plugin_t *arg1 = (svn_ra_plugin_t *) 0 ;
14071   void *arg2 = (void *) 0 ;
14072   svn_ra_reporter_t **arg3 = (svn_ra_reporter_t **) 0 ;
14073   void **arg4 = (void **) 0 ;
14074   char *arg5 = (char *) 0 ;
14075   svn_revnum_t arg6 ;
14076   svn_boolean_t arg7 ;
14077   svn_delta_editor_t *arg8 = (svn_delta_editor_t *) 0 ;
14078   void *arg9 = (void *) 0 ;
14079   apr_pool_t *arg10 = (apr_pool_t *) 0 ;
14080   VALUE _global_svn_swig_rb_pool ;
14081   apr_pool_t *_global_pool ;
14082   void *argp1 = 0 ;
14083   int res1 = 0 ;
14084   int res2 ;
14085   svn_ra_reporter_t *temp3 ;
14086   void *temp4 ;
14087   int res5 ;
14088   char *buf5 = 0 ;
14089   int alloc5 = 0 ;
14090   long val6 ;
14091   int ecode6 = 0 ;
14092   svn_error_t *result = 0 ;
14093   VALUE vresult = Qnil;
14094 
14095   {
14096     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg10);
14097     _global_pool = arg10;
14098     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
14099   }
14100   arg3 = &temp3;
14101   arg4 = &temp4;
14102   if ((argc < 6) || (argc > 7)) {
14103     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
14104   }
14105   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
14106   if (!SWIG_IsOK(res1)) {
14107     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_plugin_t *","svn_ra_plugin_invoke_do_status", 1, argv[0] ));
14108   }
14109   arg1 = (svn_ra_plugin_t *)(argp1);
14110   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
14111   if (!SWIG_IsOK(res2)) {
14112     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_plugin_invoke_do_status", 2, argv[1] ));
14113   }
14114   res5 = SWIG_AsCharPtrAndSize(argv[2], &buf5, NULL, &alloc5);
14115   if (!SWIG_IsOK(res5)) {
14116     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_ra_plugin_invoke_do_status", 5, argv[2] ));
14117   }
14118   arg5 = (char *)(buf5);
14119   ecode6 = SWIG_AsVal_long(argv[3], &val6);
14120   if (!SWIG_IsOK(ecode6)) {
14121     SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_plugin_invoke_do_status", 6, argv[3] ));
14122   }
14123   arg6 = (svn_revnum_t)(val6);
14124   arg7 = RTEST(argv[4]);
14125   {
14126     if (RTEST(rb_obj_is_kind_of(argv[5],
14127           svn_swig_rb_svn_delta_editor()))) {
14128       arg8 = svn_swig_rb_to_swig_type(argv[5],
14129         "svn_delta_editor_t *",
14130         _global_pool);
14131       arg9 = svn_swig_rb_to_swig_type(rb_funcall(argv[5], rb_intern("baton"), 0),
14132         "void *", _global_pool);
14133     } else {
14134       svn_swig_rb_make_delta_editor(&arg8, &arg9, argv[5], _global_pool);
14135     }
14136   }
14137   if (argc > 6) {
14138 
14139   }
14140   {
14141     result = (svn_error_t *)svn_ra_plugin_invoke_do_status(arg1,arg2,(struct svn_ra_reporter_t const **)arg3,arg4,(char const *)arg5,arg6,arg7,(struct svn_delta_editor_t const *)arg8,arg9,arg10);
14142 
14143 
14144 
14145   }
14146   {
14147     if (result) {
14148       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14149       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14150       svn_swig_rb_handle_svn_error(result);
14151     }
14152     vresult = Qnil;
14153   }
14154   {
14155     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg3, SWIGTYPE_p_svn_ra_reporter_t, 0));
14156   }
14157   {
14158     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg4, SWIGTYPE_p_void, 0));
14159   }
14160   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
14161   {
14162     VALUE target;
14163     target = _global_vresult_address == &vresult ? self : vresult;
14164     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14165     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14166     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14167   }
14168   return vresult;
14169 fail:
14170   if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
14171   {
14172     VALUE target;
14173     target = _global_vresult_address == &vresult ? self : vresult;
14174     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14175     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14176     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14177   }
14178   return Qnil;
14179 }
14180 
14181 
14182 SWIGINTERN VALUE
_wrap_svn_ra_plugin_invoke_do_diff(int argc,VALUE * argv,VALUE self)14183 _wrap_svn_ra_plugin_invoke_do_diff(int argc, VALUE *argv, VALUE self) {
14184   svn_ra_plugin_t *arg1 = (svn_ra_plugin_t *) 0 ;
14185   void *arg2 = (void *) 0 ;
14186   svn_ra_reporter_t **arg3 = (svn_ra_reporter_t **) 0 ;
14187   void **arg4 = (void **) 0 ;
14188   svn_revnum_t arg5 ;
14189   char *arg6 = (char *) 0 ;
14190   svn_boolean_t arg7 ;
14191   svn_boolean_t arg8 ;
14192   char *arg9 = (char *) 0 ;
14193   svn_delta_editor_t *arg10 = (svn_delta_editor_t *) 0 ;
14194   void *arg11 = (void *) 0 ;
14195   apr_pool_t *arg12 = (apr_pool_t *) 0 ;
14196   VALUE _global_svn_swig_rb_pool ;
14197   apr_pool_t *_global_pool ;
14198   void *argp1 = 0 ;
14199   int res1 = 0 ;
14200   int res2 ;
14201   svn_ra_reporter_t *temp3 ;
14202   void *temp4 ;
14203   long val5 ;
14204   int ecode5 = 0 ;
14205   int res6 ;
14206   char *buf6 = 0 ;
14207   int alloc6 = 0 ;
14208   int res9 ;
14209   char *buf9 = 0 ;
14210   int alloc9 = 0 ;
14211   svn_error_t *result = 0 ;
14212   VALUE vresult = Qnil;
14213 
14214   {
14215     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg12);
14216     _global_pool = arg12;
14217     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
14218   }
14219   arg3 = &temp3;
14220   arg4 = &temp4;
14221   if ((argc < 8) || (argc > 9)) {
14222     rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
14223   }
14224   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
14225   if (!SWIG_IsOK(res1)) {
14226     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_plugin_t *","svn_ra_plugin_invoke_do_diff", 1, argv[0] ));
14227   }
14228   arg1 = (svn_ra_plugin_t *)(argp1);
14229   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
14230   if (!SWIG_IsOK(res2)) {
14231     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_plugin_invoke_do_diff", 2, argv[1] ));
14232   }
14233   ecode5 = SWIG_AsVal_long(argv[2], &val5);
14234   if (!SWIG_IsOK(ecode5)) {
14235     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_plugin_invoke_do_diff", 5, argv[2] ));
14236   }
14237   arg5 = (svn_revnum_t)(val5);
14238   res6 = SWIG_AsCharPtrAndSize(argv[3], &buf6, NULL, &alloc6);
14239   if (!SWIG_IsOK(res6)) {
14240     SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "char const *","svn_ra_plugin_invoke_do_diff", 6, argv[3] ));
14241   }
14242   arg6 = (char *)(buf6);
14243   arg7 = RTEST(argv[4]);
14244   arg8 = RTEST(argv[5]);
14245   res9 = SWIG_AsCharPtrAndSize(argv[6], &buf9, NULL, &alloc9);
14246   if (!SWIG_IsOK(res9)) {
14247     SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "char const *","svn_ra_plugin_invoke_do_diff", 9, argv[6] ));
14248   }
14249   arg9 = (char *)(buf9);
14250   {
14251     if (RTEST(rb_obj_is_kind_of(argv[7],
14252           svn_swig_rb_svn_delta_editor()))) {
14253       arg10 = svn_swig_rb_to_swig_type(argv[7],
14254         "svn_delta_editor_t *",
14255         _global_pool);
14256       arg11 = svn_swig_rb_to_swig_type(rb_funcall(argv[7], rb_intern("baton"), 0),
14257         "void *", _global_pool);
14258     } else {
14259       svn_swig_rb_make_delta_editor(&arg10, &arg11, argv[7], _global_pool);
14260     }
14261   }
14262   if (argc > 8) {
14263 
14264   }
14265   {
14266     result = (svn_error_t *)svn_ra_plugin_invoke_do_diff(arg1,arg2,(struct svn_ra_reporter_t const **)arg3,arg4,arg5,(char const *)arg6,arg7,arg8,(char const *)arg9,(struct svn_delta_editor_t const *)arg10,arg11,arg12);
14267 
14268 
14269 
14270   }
14271   {
14272     if (result) {
14273       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14274       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14275       svn_swig_rb_handle_svn_error(result);
14276     }
14277     vresult = Qnil;
14278   }
14279   {
14280     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg3, SWIGTYPE_p_svn_ra_reporter_t, 0));
14281   }
14282   {
14283     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg4, SWIGTYPE_p_void, 0));
14284   }
14285   if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
14286   if (alloc9 == SWIG_NEWOBJ) free((char*)buf9);
14287   {
14288     VALUE target;
14289     target = _global_vresult_address == &vresult ? self : vresult;
14290     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14291     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14292     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14293   }
14294   return vresult;
14295 fail:
14296   if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
14297   if (alloc9 == SWIG_NEWOBJ) free((char*)buf9);
14298   {
14299     VALUE target;
14300     target = _global_vresult_address == &vresult ? self : vresult;
14301     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14302     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14303     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14304   }
14305   return Qnil;
14306 }
14307 
14308 
14309 SWIGINTERN VALUE
_wrap_svn_ra_plugin_invoke_get_log(int argc,VALUE * argv,VALUE self)14310 _wrap_svn_ra_plugin_invoke_get_log(int argc, VALUE *argv, VALUE self) {
14311   svn_ra_plugin_t *arg1 = (svn_ra_plugin_t *) 0 ;
14312   void *arg2 = (void *) 0 ;
14313   apr_array_header_t *arg3 = (apr_array_header_t *) 0 ;
14314   svn_revnum_t arg4 ;
14315   svn_revnum_t arg5 ;
14316   svn_boolean_t arg6 ;
14317   svn_boolean_t arg7 ;
14318   svn_log_message_receiver_t arg8 = (svn_log_message_receiver_t) 0 ;
14319   void *arg9 = (void *) 0 ;
14320   apr_pool_t *arg10 = (apr_pool_t *) 0 ;
14321   VALUE _global_svn_swig_rb_pool ;
14322   apr_pool_t *_global_pool ;
14323   void *argp1 = 0 ;
14324   int res1 = 0 ;
14325   int res2 ;
14326   long val4 ;
14327   int ecode4 = 0 ;
14328   long val5 ;
14329   int ecode5 = 0 ;
14330   svn_error_t *result = 0 ;
14331   VALUE vresult = Qnil;
14332 
14333   {
14334     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg10);
14335     _global_pool = arg10;
14336     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
14337   }
14338   if ((argc < 8) || (argc > 9)) {
14339     rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
14340   }
14341   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
14342   if (!SWIG_IsOK(res1)) {
14343     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_plugin_t *","svn_ra_plugin_invoke_get_log", 1, argv[0] ));
14344   }
14345   arg1 = (svn_ra_plugin_t *)(argp1);
14346   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
14347   if (!SWIG_IsOK(res2)) {
14348     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_plugin_invoke_get_log", 2, argv[1] ));
14349   }
14350   {
14351     arg3 = svn_swig_rb_strings_to_apr_array(argv[2], _global_pool);
14352   }
14353   ecode4 = SWIG_AsVal_long(argv[3], &val4);
14354   if (!SWIG_IsOK(ecode4)) {
14355     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_plugin_invoke_get_log", 4, argv[3] ));
14356   }
14357   arg4 = (svn_revnum_t)(val4);
14358   ecode5 = SWIG_AsVal_long(argv[4], &val5);
14359   if (!SWIG_IsOK(ecode5)) {
14360     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_plugin_invoke_get_log", 5, argv[4] ));
14361   }
14362   arg5 = (svn_revnum_t)(val5);
14363   arg6 = RTEST(argv[5]);
14364   arg7 = RTEST(argv[6]);
14365   {
14366     arg8 = (svn_log_message_receiver_t) svn_swig_rb_log_receiver;
14367     arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
14368   }
14369   if (argc > 8) {
14370 
14371   }
14372   {
14373     result = (svn_error_t *)svn_ra_plugin_invoke_get_log(arg1,arg2,(apr_array_header_t const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
14374 
14375 
14376 
14377   }
14378   {
14379     if (result) {
14380       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14381       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14382       svn_swig_rb_handle_svn_error(result);
14383     }
14384     vresult = Qnil;
14385   }
14386   {
14387     VALUE target;
14388     target = _global_vresult_address == &vresult ? self : vresult;
14389     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14390     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14391     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14392   }
14393   return vresult;
14394 fail:
14395   {
14396     VALUE target;
14397     target = _global_vresult_address == &vresult ? self : vresult;
14398     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14399     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14400     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14401   }
14402   return Qnil;
14403 }
14404 
14405 
14406 SWIGINTERN VALUE
_wrap_svn_ra_plugin_invoke_check_path(int argc,VALUE * argv,VALUE self)14407 _wrap_svn_ra_plugin_invoke_check_path(int argc, VALUE *argv, VALUE self) {
14408   svn_ra_plugin_t *arg1 = (svn_ra_plugin_t *) 0 ;
14409   void *arg2 = (void *) 0 ;
14410   char *arg3 = (char *) 0 ;
14411   svn_revnum_t arg4 ;
14412   svn_node_kind_t *arg5 = (svn_node_kind_t *) 0 ;
14413   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
14414   VALUE _global_svn_swig_rb_pool ;
14415   apr_pool_t *_global_pool ;
14416   void *argp1 = 0 ;
14417   int res1 = 0 ;
14418   int res2 ;
14419   int res3 ;
14420   char *buf3 = 0 ;
14421   int alloc3 = 0 ;
14422   long val4 ;
14423   int ecode4 = 0 ;
14424   svn_node_kind_t temp5 ;
14425   int res5 = SWIG_TMPOBJ ;
14426   svn_error_t *result = 0 ;
14427   VALUE vresult = Qnil;
14428 
14429   {
14430     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
14431     _global_pool = arg6;
14432     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
14433   }
14434   arg5 = &temp5;
14435   if ((argc < 4) || (argc > 5)) {
14436     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
14437   }
14438   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
14439   if (!SWIG_IsOK(res1)) {
14440     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_plugin_t *","svn_ra_plugin_invoke_check_path", 1, argv[0] ));
14441   }
14442   arg1 = (svn_ra_plugin_t *)(argp1);
14443   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
14444   if (!SWIG_IsOK(res2)) {
14445     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_plugin_invoke_check_path", 2, argv[1] ));
14446   }
14447   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
14448   if (!SWIG_IsOK(res3)) {
14449     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_plugin_invoke_check_path", 3, argv[2] ));
14450   }
14451   arg3 = (char *)(buf3);
14452   ecode4 = SWIG_AsVal_long(argv[3], &val4);
14453   if (!SWIG_IsOK(ecode4)) {
14454     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_plugin_invoke_check_path", 4, argv[3] ));
14455   }
14456   arg4 = (svn_revnum_t)(val4);
14457   if (argc > 4) {
14458 
14459   }
14460   {
14461     result = (svn_error_t *)svn_ra_plugin_invoke_check_path(arg1,arg2,(char const *)arg3,arg4,arg5,arg6);
14462 
14463 
14464 
14465   }
14466   {
14467     if (result) {
14468       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14469       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14470       svn_swig_rb_handle_svn_error(result);
14471     }
14472     vresult = Qnil;
14473   }
14474   if (SWIG_IsTmpObj(res5)) {
14475     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg5)));
14476   } else {
14477     int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
14478     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_svn_node_kind_t, new_flags));
14479   }
14480   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14481   {
14482     VALUE target;
14483     target = _global_vresult_address == &vresult ? self : vresult;
14484     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14485     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14486     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14487   }
14488   return vresult;
14489 fail:
14490   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14491   {
14492     VALUE target;
14493     target = _global_vresult_address == &vresult ? self : vresult;
14494     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14495     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14496     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14497   }
14498   return Qnil;
14499 }
14500 
14501 
14502 SWIGINTERN VALUE
_wrap_svn_ra_plugin_invoke_get_uuid(int argc,VALUE * argv,VALUE self)14503 _wrap_svn_ra_plugin_invoke_get_uuid(int argc, VALUE *argv, VALUE self) {
14504   svn_ra_plugin_t *arg1 = (svn_ra_plugin_t *) 0 ;
14505   void *arg2 = (void *) 0 ;
14506   char **arg3 = (char **) 0 ;
14507   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
14508   VALUE _global_svn_swig_rb_pool ;
14509   apr_pool_t *_global_pool ;
14510   void *argp1 = 0 ;
14511   int res1 = 0 ;
14512   int res2 ;
14513   char *temp3 ;
14514   svn_error_t *result = 0 ;
14515   VALUE vresult = Qnil;
14516 
14517   {
14518     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
14519     _global_pool = arg4;
14520     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
14521   }
14522   arg3 = &temp3;
14523   if ((argc < 2) || (argc > 3)) {
14524     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
14525   }
14526   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
14527   if (!SWIG_IsOK(res1)) {
14528     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_plugin_t *","svn_ra_plugin_invoke_get_uuid", 1, argv[0] ));
14529   }
14530   arg1 = (svn_ra_plugin_t *)(argp1);
14531   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
14532   if (!SWIG_IsOK(res2)) {
14533     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_plugin_invoke_get_uuid", 2, argv[1] ));
14534   }
14535   if (argc > 2) {
14536 
14537   }
14538   {
14539     result = (svn_error_t *)svn_ra_plugin_invoke_get_uuid(arg1,arg2,(char const **)arg3,arg4);
14540 
14541 
14542 
14543   }
14544   {
14545     if (result) {
14546       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14547       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14548       svn_swig_rb_handle_svn_error(result);
14549     }
14550     vresult = Qnil;
14551   }
14552   {
14553     if (*arg3) {
14554       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg3));
14555     } else {
14556       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
14557     }
14558   }
14559   {
14560     VALUE target;
14561     target = _global_vresult_address == &vresult ? self : vresult;
14562     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14563     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14564     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14565   }
14566   return vresult;
14567 fail:
14568   {
14569     VALUE target;
14570     target = _global_vresult_address == &vresult ? self : vresult;
14571     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14572     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14573     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14574   }
14575   return Qnil;
14576 }
14577 
14578 
14579 SWIGINTERN VALUE
_wrap_svn_ra_plugin_invoke_get_repos_root(int argc,VALUE * argv,VALUE self)14580 _wrap_svn_ra_plugin_invoke_get_repos_root(int argc, VALUE *argv, VALUE self) {
14581   svn_ra_plugin_t *arg1 = (svn_ra_plugin_t *) 0 ;
14582   void *arg2 = (void *) 0 ;
14583   char **arg3 = (char **) 0 ;
14584   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
14585   VALUE _global_svn_swig_rb_pool ;
14586   apr_pool_t *_global_pool ;
14587   void *argp1 = 0 ;
14588   int res1 = 0 ;
14589   int res2 ;
14590   char *temp3 ;
14591   svn_error_t *result = 0 ;
14592   VALUE vresult = Qnil;
14593 
14594   {
14595     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
14596     _global_pool = arg4;
14597     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
14598   }
14599   arg3 = &temp3;
14600   if ((argc < 2) || (argc > 3)) {
14601     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
14602   }
14603   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
14604   if (!SWIG_IsOK(res1)) {
14605     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_plugin_t *","svn_ra_plugin_invoke_get_repos_root", 1, argv[0] ));
14606   }
14607   arg1 = (svn_ra_plugin_t *)(argp1);
14608   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
14609   if (!SWIG_IsOK(res2)) {
14610     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_plugin_invoke_get_repos_root", 2, argv[1] ));
14611   }
14612   if (argc > 2) {
14613 
14614   }
14615   {
14616     result = (svn_error_t *)svn_ra_plugin_invoke_get_repos_root(arg1,arg2,(char const **)arg3,arg4);
14617 
14618 
14619 
14620   }
14621   {
14622     if (result) {
14623       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14624       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14625       svn_swig_rb_handle_svn_error(result);
14626     }
14627     vresult = Qnil;
14628   }
14629   {
14630     if (*arg3) {
14631       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg3));
14632     } else {
14633       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
14634     }
14635   }
14636   {
14637     VALUE target;
14638     target = _global_vresult_address == &vresult ? self : vresult;
14639     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14640     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14641     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14642   }
14643   return vresult;
14644 fail:
14645   {
14646     VALUE target;
14647     target = _global_vresult_address == &vresult ? self : vresult;
14648     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14649     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14650     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14651   }
14652   return Qnil;
14653 }
14654 
14655 
14656 SWIGINTERN VALUE
_wrap_svn_ra_plugin_invoke_get_locations(int argc,VALUE * argv,VALUE self)14657 _wrap_svn_ra_plugin_invoke_get_locations(int argc, VALUE *argv, VALUE self) {
14658   svn_ra_plugin_t *arg1 = (svn_ra_plugin_t *) 0 ;
14659   void *arg2 = (void *) 0 ;
14660   apr_hash_t **arg3 = (apr_hash_t **) 0 ;
14661   char *arg4 = (char *) 0 ;
14662   svn_revnum_t arg5 ;
14663   apr_array_header_t *arg6 = (apr_array_header_t *) 0 ;
14664   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
14665   VALUE _global_svn_swig_rb_pool ;
14666   apr_pool_t *_global_pool ;
14667   void *argp1 = 0 ;
14668   int res1 = 0 ;
14669   int res2 ;
14670   apr_hash_t *temp3 ;
14671   int res4 ;
14672   char *buf4 = 0 ;
14673   int alloc4 = 0 ;
14674   long val5 ;
14675   int ecode5 = 0 ;
14676   svn_error_t *result = 0 ;
14677   VALUE vresult = Qnil;
14678 
14679   {
14680     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7);
14681     _global_pool = arg7;
14682     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
14683   }
14684   arg3 = &temp3;
14685   if ((argc < 5) || (argc > 6)) {
14686     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
14687   }
14688   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
14689   if (!SWIG_IsOK(res1)) {
14690     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_plugin_t *","svn_ra_plugin_invoke_get_locations", 1, argv[0] ));
14691   }
14692   arg1 = (svn_ra_plugin_t *)(argp1);
14693   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
14694   if (!SWIG_IsOK(res2)) {
14695     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_plugin_invoke_get_locations", 2, argv[1] ));
14696   }
14697   res4 = SWIG_AsCharPtrAndSize(argv[2], &buf4, NULL, &alloc4);
14698   if (!SWIG_IsOK(res4)) {
14699     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_ra_plugin_invoke_get_locations", 4, argv[2] ));
14700   }
14701   arg4 = (char *)(buf4);
14702   ecode5 = SWIG_AsVal_long(argv[3], &val5);
14703   if (!SWIG_IsOK(ecode5)) {
14704     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_plugin_invoke_get_locations", 5, argv[3] ));
14705   }
14706   arg5 = (svn_revnum_t)(val5);
14707   {
14708     arg6 = svn_swig_rb_array_to_apr_array_revnum(argv[4], _global_pool);
14709   }
14710   if (argc > 5) {
14711 
14712   }
14713   {
14714     result = (svn_error_t *)svn_ra_plugin_invoke_get_locations(arg1,arg2,arg3,(char const *)arg4,arg5,arg6,arg7);
14715 
14716 
14717 
14718   }
14719   {
14720     if (result) {
14721       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14722       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14723       svn_swig_rb_handle_svn_error(result);
14724     }
14725     vresult = Qnil;
14726   }
14727   {
14728     vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_revnum_key_hash_to_hash_string(*arg3));
14729   }
14730   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
14731   {
14732     VALUE target;
14733     target = _global_vresult_address == &vresult ? self : vresult;
14734     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14735     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14736     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14737   }
14738   return vresult;
14739 fail:
14740   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
14741   {
14742     VALUE target;
14743     target = _global_vresult_address == &vresult ? self : vresult;
14744     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14745     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14746     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14747   }
14748   return Qnil;
14749 }
14750 
14751 
14752 SWIGINTERN VALUE
_wrap_svn_ra_plugin_invoke_get_file_revs(int argc,VALUE * argv,VALUE self)14753 _wrap_svn_ra_plugin_invoke_get_file_revs(int argc, VALUE *argv, VALUE self) {
14754   svn_ra_plugin_t *arg1 = (svn_ra_plugin_t *) 0 ;
14755   void *arg2 = (void *) 0 ;
14756   char *arg3 = (char *) 0 ;
14757   svn_revnum_t arg4 ;
14758   svn_revnum_t arg5 ;
14759   svn_ra_file_rev_handler_t arg6 = (svn_ra_file_rev_handler_t) 0 ;
14760   void *arg7 = (void *) 0 ;
14761   apr_pool_t *arg8 = (apr_pool_t *) 0 ;
14762   VALUE _global_svn_swig_rb_pool ;
14763   apr_pool_t *_global_pool ;
14764   void *argp1 = 0 ;
14765   int res1 = 0 ;
14766   int res2 ;
14767   int res3 ;
14768   char *buf3 = 0 ;
14769   int alloc3 = 0 ;
14770   long val4 ;
14771   int ecode4 = 0 ;
14772   long val5 ;
14773   int ecode5 = 0 ;
14774   svn_error_t *result = 0 ;
14775   VALUE vresult = Qnil;
14776 
14777   {
14778     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8);
14779     _global_pool = arg8;
14780     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
14781   }
14782   if ((argc < 6) || (argc > 7)) {
14783     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
14784   }
14785   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
14786   if (!SWIG_IsOK(res1)) {
14787     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_plugin_t *","svn_ra_plugin_invoke_get_file_revs", 1, argv[0] ));
14788   }
14789   arg1 = (svn_ra_plugin_t *)(argp1);
14790   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
14791   if (!SWIG_IsOK(res2)) {
14792     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_plugin_invoke_get_file_revs", 2, argv[1] ));
14793   }
14794   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
14795   if (!SWIG_IsOK(res3)) {
14796     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_plugin_invoke_get_file_revs", 3, argv[2] ));
14797   }
14798   arg3 = (char *)(buf3);
14799   ecode4 = SWIG_AsVal_long(argv[3], &val4);
14800   if (!SWIG_IsOK(ecode4)) {
14801     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_plugin_invoke_get_file_revs", 4, argv[3] ));
14802   }
14803   arg4 = (svn_revnum_t)(val4);
14804   ecode5 = SWIG_AsVal_long(argv[4], &val5);
14805   if (!SWIG_IsOK(ecode5)) {
14806     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_plugin_invoke_get_file_revs", 5, argv[4] ));
14807   }
14808   arg5 = (svn_revnum_t)(val5);
14809   {
14810     arg6 = (svn_ra_file_rev_handler_t) svn_swig_rb_ra_file_rev_handler;
14811     arg7 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
14812   }
14813   if (argc > 6) {
14814 
14815   }
14816   {
14817     result = (svn_error_t *)svn_ra_plugin_invoke_get_file_revs(arg1,arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8);
14818 
14819 
14820 
14821   }
14822   {
14823     if (result) {
14824       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14825       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14826       svn_swig_rb_handle_svn_error(result);
14827     }
14828     vresult = Qnil;
14829   }
14830   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14831   {
14832     VALUE target;
14833     target = _global_vresult_address == &vresult ? self : vresult;
14834     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14835     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14836     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14837   }
14838   return vresult;
14839 fail:
14840   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14841   {
14842     VALUE target;
14843     target = _global_vresult_address == &vresult ? self : vresult;
14844     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14845     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14846     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14847   }
14848   return Qnil;
14849 }
14850 
14851 
14852 SWIGINTERN VALUE
_wrap_svn_ra_plugin_invoke_get_version(int argc,VALUE * argv,VALUE self)14853 _wrap_svn_ra_plugin_invoke_get_version(int argc, VALUE *argv, VALUE self) {
14854   svn_ra_plugin_t *arg1 = (svn_ra_plugin_t *) 0 ;
14855   void *argp1 = 0 ;
14856   int res1 = 0 ;
14857   svn_version_t *result = 0 ;
14858   VALUE vresult = Qnil;
14859 
14860   if ((argc < 1) || (argc > 1)) {
14861     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
14862   }
14863   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_ra_plugin_t, 0 |  0 );
14864   if (!SWIG_IsOK(res1)) {
14865     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_ra_plugin_t *","svn_ra_plugin_invoke_get_version", 1, argv[0] ));
14866   }
14867   arg1 = (svn_ra_plugin_t *)(argp1);
14868   {
14869     result = (svn_version_t *)svn_ra_plugin_invoke_get_version(arg1);
14870 
14871 
14872 
14873   }
14874   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_version_t, 0 |  0 );
14875   return vresult;
14876 fail:
14877   return Qnil;
14878 }
14879 
14880 
14881 SWIGINTERN VALUE
_wrap_svn_ra_invoke_get_wc_prop_func(int argc,VALUE * argv,VALUE self)14882 _wrap_svn_ra_invoke_get_wc_prop_func(int argc, VALUE *argv, VALUE self) {
14883   svn_ra_get_wc_prop_func_t arg1 = (svn_ra_get_wc_prop_func_t) 0 ;
14884   void *arg2 = (void *) 0 ;
14885   char *arg3 = (char *) 0 ;
14886   char *arg4 = (char *) 0 ;
14887   svn_string_t **arg5 = (svn_string_t **) 0 ;
14888   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
14889   VALUE _global_svn_swig_rb_pool ;
14890   apr_pool_t *_global_pool ;
14891   int res2 ;
14892   int res3 ;
14893   char *buf3 = 0 ;
14894   int alloc3 = 0 ;
14895   int res4 ;
14896   char *buf4 = 0 ;
14897   int alloc4 = 0 ;
14898   svn_string_t *temp5 ;
14899   svn_error_t *result = 0 ;
14900   VALUE vresult = Qnil;
14901 
14902   {
14903     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
14904     _global_pool = arg6;
14905     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
14906   }
14907   arg5 = &temp5;
14908   if ((argc < 4) || (argc > 5)) {
14909     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
14910   }
14911   {
14912     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t);
14913     if (!SWIG_IsOK(res)) {
14914       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_get_wc_prop_func_t","svn_ra_invoke_get_wc_prop_func", 1, argv[0] ));
14915     }
14916   }
14917   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
14918   if (!SWIG_IsOK(res2)) {
14919     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_invoke_get_wc_prop_func", 2, argv[1] ));
14920   }
14921   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
14922   if (!SWIG_IsOK(res3)) {
14923     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_invoke_get_wc_prop_func", 3, argv[2] ));
14924   }
14925   arg3 = (char *)(buf3);
14926   res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
14927   if (!SWIG_IsOK(res4)) {
14928     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_ra_invoke_get_wc_prop_func", 4, argv[3] ));
14929   }
14930   arg4 = (char *)(buf4);
14931   if (argc > 4) {
14932 
14933   }
14934   {
14935     result = (svn_error_t *)svn_ra_invoke_get_wc_prop_func(arg1,arg2,(char const *)arg3,(char const *)arg4,(struct svn_string_t const **)arg5,arg6);
14936 
14937 
14938 
14939   }
14940   {
14941     if (result) {
14942       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14943       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14944       svn_swig_rb_handle_svn_error(result);
14945     }
14946     vresult = Qnil;
14947   }
14948   {
14949     if (*arg5) {
14950       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new((*arg5)->data, (*arg5)->len));
14951     } else {
14952       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
14953     }
14954   }
14955   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14956   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
14957   {
14958     VALUE target;
14959     target = _global_vresult_address == &vresult ? self : vresult;
14960     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14961     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14962     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14963   }
14964   return vresult;
14965 fail:
14966   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14967   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
14968   {
14969     VALUE target;
14970     target = _global_vresult_address == &vresult ? self : vresult;
14971     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
14972     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
14973     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
14974   }
14975   return Qnil;
14976 }
14977 
14978 
14979 SWIGINTERN VALUE
_wrap_svn_ra_invoke_set_wc_prop_func(int argc,VALUE * argv,VALUE self)14980 _wrap_svn_ra_invoke_set_wc_prop_func(int argc, VALUE *argv, VALUE self) {
14981   svn_ra_set_wc_prop_func_t arg1 = (svn_ra_set_wc_prop_func_t) 0 ;
14982   void *arg2 = (void *) 0 ;
14983   char *arg3 = (char *) 0 ;
14984   char *arg4 = (char *) 0 ;
14985   svn_string_t *arg5 = (svn_string_t *) 0 ;
14986   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
14987   VALUE _global_svn_swig_rb_pool ;
14988   apr_pool_t *_global_pool ;
14989   int res2 ;
14990   int res3 ;
14991   char *buf3 = 0 ;
14992   int alloc3 = 0 ;
14993   int res4 ;
14994   char *buf4 = 0 ;
14995   int alloc4 = 0 ;
14996   svn_string_t value5 ;
14997   svn_error_t *result = 0 ;
14998   VALUE vresult = Qnil;
14999 
15000   {
15001     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
15002     _global_pool = arg6;
15003     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
15004   }
15005   if ((argc < 5) || (argc > 6)) {
15006     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
15007   }
15008   {
15009     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t);
15010     if (!SWIG_IsOK(res)) {
15011       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_set_wc_prop_func_t","svn_ra_invoke_set_wc_prop_func", 1, argv[0] ));
15012     }
15013   }
15014   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
15015   if (!SWIG_IsOK(res2)) {
15016     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_invoke_set_wc_prop_func", 2, argv[1] ));
15017   }
15018   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
15019   if (!SWIG_IsOK(res3)) {
15020     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_invoke_set_wc_prop_func", 3, argv[2] ));
15021   }
15022   arg3 = (char *)(buf3);
15023   res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
15024   if (!SWIG_IsOK(res4)) {
15025     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_ra_invoke_set_wc_prop_func", 4, argv[3] ));
15026   }
15027   arg4 = (char *)(buf4);
15028   {
15029     if (NIL_P(argv[4])) {
15030       arg5 = NULL;
15031     } else {
15032       value5.data = StringValuePtr(argv[4]);
15033       value5.len = RSTRING_LEN(argv[4]);
15034       arg5 = &value5;
15035     }
15036   }
15037   if (argc > 5) {
15038 
15039   }
15040   {
15041     result = (svn_error_t *)svn_ra_invoke_set_wc_prop_func(arg1,arg2,(char const *)arg3,(char const *)arg4,(struct svn_string_t const *)arg5,arg6);
15042 
15043 
15044 
15045   }
15046   {
15047     if (result) {
15048       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15049       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15050       svn_swig_rb_handle_svn_error(result);
15051     }
15052     vresult = Qnil;
15053   }
15054   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
15055   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
15056   {
15057     VALUE target;
15058     target = _global_vresult_address == &vresult ? self : vresult;
15059     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15060     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15061     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15062   }
15063   return vresult;
15064 fail:
15065   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
15066   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
15067   {
15068     VALUE target;
15069     target = _global_vresult_address == &vresult ? self : vresult;
15070     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15071     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15072     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15073   }
15074   return Qnil;
15075 }
15076 
15077 
15078 SWIGINTERN VALUE
_wrap_svn_ra_invoke_push_wc_prop_func(int argc,VALUE * argv,VALUE self)15079 _wrap_svn_ra_invoke_push_wc_prop_func(int argc, VALUE *argv, VALUE self) {
15080   svn_ra_push_wc_prop_func_t arg1 = (svn_ra_push_wc_prop_func_t) 0 ;
15081   void *arg2 = (void *) 0 ;
15082   char *arg3 = (char *) 0 ;
15083   char *arg4 = (char *) 0 ;
15084   svn_string_t *arg5 = (svn_string_t *) 0 ;
15085   apr_pool_t *arg6 = (apr_pool_t *) 0 ;
15086   VALUE _global_svn_swig_rb_pool ;
15087   apr_pool_t *_global_pool ;
15088   int res2 ;
15089   int res3 ;
15090   char *buf3 = 0 ;
15091   int alloc3 = 0 ;
15092   int res4 ;
15093   char *buf4 = 0 ;
15094   int alloc4 = 0 ;
15095   svn_string_t value5 ;
15096   svn_error_t *result = 0 ;
15097   VALUE vresult = Qnil;
15098 
15099   {
15100     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
15101     _global_pool = arg6;
15102     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
15103   }
15104   if ((argc < 5) || (argc > 6)) {
15105     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
15106   }
15107   {
15108     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t);
15109     if (!SWIG_IsOK(res)) {
15110       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_push_wc_prop_func_t","svn_ra_invoke_push_wc_prop_func", 1, argv[0] ));
15111     }
15112   }
15113   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
15114   if (!SWIG_IsOK(res2)) {
15115     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_invoke_push_wc_prop_func", 2, argv[1] ));
15116   }
15117   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
15118   if (!SWIG_IsOK(res3)) {
15119     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_invoke_push_wc_prop_func", 3, argv[2] ));
15120   }
15121   arg3 = (char *)(buf3);
15122   res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
15123   if (!SWIG_IsOK(res4)) {
15124     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_ra_invoke_push_wc_prop_func", 4, argv[3] ));
15125   }
15126   arg4 = (char *)(buf4);
15127   {
15128     if (NIL_P(argv[4])) {
15129       arg5 = NULL;
15130     } else {
15131       value5.data = StringValuePtr(argv[4]);
15132       value5.len = RSTRING_LEN(argv[4]);
15133       arg5 = &value5;
15134     }
15135   }
15136   if (argc > 5) {
15137 
15138   }
15139   {
15140     result = (svn_error_t *)svn_ra_invoke_push_wc_prop_func(arg1,arg2,(char const *)arg3,(char const *)arg4,(struct svn_string_t const *)arg5,arg6);
15141 
15142 
15143 
15144   }
15145   {
15146     if (result) {
15147       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15148       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15149       svn_swig_rb_handle_svn_error(result);
15150     }
15151     vresult = Qnil;
15152   }
15153   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
15154   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
15155   {
15156     VALUE target;
15157     target = _global_vresult_address == &vresult ? self : vresult;
15158     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15159     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15160     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15161   }
15162   return vresult;
15163 fail:
15164   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
15165   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
15166   {
15167     VALUE target;
15168     target = _global_vresult_address == &vresult ? self : vresult;
15169     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15170     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15171     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15172   }
15173   return Qnil;
15174 }
15175 
15176 
15177 SWIGINTERN VALUE
_wrap_svn_ra_invoke_invalidate_wc_props_func(int argc,VALUE * argv,VALUE self)15178 _wrap_svn_ra_invoke_invalidate_wc_props_func(int argc, VALUE *argv, VALUE self) {
15179   svn_ra_invalidate_wc_props_func_t arg1 = (svn_ra_invalidate_wc_props_func_t) 0 ;
15180   void *arg2 = (void *) 0 ;
15181   char *arg3 = (char *) 0 ;
15182   char *arg4 = (char *) 0 ;
15183   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
15184   VALUE _global_svn_swig_rb_pool ;
15185   apr_pool_t *_global_pool ;
15186   int res2 ;
15187   int res3 ;
15188   char *buf3 = 0 ;
15189   int alloc3 = 0 ;
15190   int res4 ;
15191   char *buf4 = 0 ;
15192   int alloc4 = 0 ;
15193   svn_error_t *result = 0 ;
15194   VALUE vresult = Qnil;
15195 
15196   {
15197     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
15198     _global_pool = arg5;
15199     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
15200   }
15201   if ((argc < 4) || (argc > 5)) {
15202     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
15203   }
15204   {
15205     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t);
15206     if (!SWIG_IsOK(res)) {
15207       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_invalidate_wc_props_func_t","svn_ra_invoke_invalidate_wc_props_func", 1, argv[0] ));
15208     }
15209   }
15210   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
15211   if (!SWIG_IsOK(res2)) {
15212     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_invoke_invalidate_wc_props_func", 2, argv[1] ));
15213   }
15214   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
15215   if (!SWIG_IsOK(res3)) {
15216     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_invoke_invalidate_wc_props_func", 3, argv[2] ));
15217   }
15218   arg3 = (char *)(buf3);
15219   res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
15220   if (!SWIG_IsOK(res4)) {
15221     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_ra_invoke_invalidate_wc_props_func", 4, argv[3] ));
15222   }
15223   arg4 = (char *)(buf4);
15224   if (argc > 4) {
15225 
15226   }
15227   {
15228     result = (svn_error_t *)svn_ra_invoke_invalidate_wc_props_func(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5);
15229 
15230 
15231 
15232   }
15233   {
15234     if (result) {
15235       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15236       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15237       svn_swig_rb_handle_svn_error(result);
15238     }
15239     vresult = Qnil;
15240   }
15241   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
15242   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
15243   {
15244     VALUE target;
15245     target = _global_vresult_address == &vresult ? self : vresult;
15246     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15247     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15248     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15249   }
15250   return vresult;
15251 fail:
15252   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
15253   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
15254   {
15255     VALUE target;
15256     target = _global_vresult_address == &vresult ? self : vresult;
15257     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15258     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15259     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15260   }
15261   return Qnil;
15262 }
15263 
15264 
15265 SWIGINTERN VALUE
_wrap_svn_ra_invoke_get_wc_contents_func(int argc,VALUE * argv,VALUE self)15266 _wrap_svn_ra_invoke_get_wc_contents_func(int argc, VALUE *argv, VALUE self) {
15267   svn_ra_get_wc_contents_func_t arg1 = (svn_ra_get_wc_contents_func_t) 0 ;
15268   void *arg2 = (void *) 0 ;
15269   svn_stream_t **arg3 = (svn_stream_t **) 0 ;
15270   svn_checksum_t *arg4 = (svn_checksum_t *) 0 ;
15271   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
15272   VALUE _global_svn_swig_rb_pool ;
15273   apr_pool_t *_global_pool ;
15274   int res2 ;
15275   svn_stream_t *temp3 ;
15276   void *argp4 = 0 ;
15277   int res4 = 0 ;
15278   svn_error_t *result = 0 ;
15279   VALUE vresult = Qnil;
15280 
15281   {
15282     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
15283     _global_pool = arg5;
15284     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
15285   }
15286   arg3 = &temp3;
15287   if ((argc < 3) || (argc > 4)) {
15288     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
15289   }
15290   {
15291     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_p_svn_stream_t_p_q_const__svn_checksum_t_p_apr_pool_t__p_svn_error_t);
15292     if (!SWIG_IsOK(res)) {
15293       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_get_wc_contents_func_t","svn_ra_invoke_get_wc_contents_func", 1, argv[0] ));
15294     }
15295   }
15296   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
15297   if (!SWIG_IsOK(res2)) {
15298     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_invoke_get_wc_contents_func", 2, argv[1] ));
15299   }
15300   res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_svn_checksum_t, 0 |  0 );
15301   if (!SWIG_IsOK(res4)) {
15302     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_checksum_t const *","svn_ra_invoke_get_wc_contents_func", 4, argv[2] ));
15303   }
15304   arg4 = (svn_checksum_t *)(argp4);
15305   if (argc > 3) {
15306 
15307   }
15308   {
15309     result = (svn_error_t *)svn_ra_invoke_get_wc_contents_func(arg1,arg2,arg3,(struct svn_checksum_t const *)arg4,arg5);
15310 
15311 
15312 
15313   }
15314   {
15315     if (result) {
15316       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15317       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15318       svn_swig_rb_handle_svn_error(result);
15319     }
15320     vresult = Qnil;
15321   }
15322   {
15323     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg3, SWIGTYPE_p_svn_stream_t, 0));
15324   }
15325   {
15326     VALUE target;
15327     target = _global_vresult_address == &vresult ? self : vresult;
15328     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15329     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15330     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15331   }
15332   return vresult;
15333 fail:
15334   {
15335     VALUE target;
15336     target = _global_vresult_address == &vresult ? self : vresult;
15337     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15338     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15339     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15340   }
15341   return Qnil;
15342 }
15343 
15344 
15345 SWIGINTERN VALUE
_wrap_svn_ra_invoke_get_latest_revnum_func(int argc,VALUE * argv,VALUE self)15346 _wrap_svn_ra_invoke_get_latest_revnum_func(int argc, VALUE *argv, VALUE self) {
15347   svn_ra_get_latest_revnum_func_t arg1 = (svn_ra_get_latest_revnum_func_t) 0 ;
15348   void *arg2 = (void *) 0 ;
15349   svn_revnum_t *arg3 = (svn_revnum_t *) 0 ;
15350   int res2 ;
15351   svn_revnum_t temp3 ;
15352   int res3 = SWIG_TMPOBJ ;
15353   svn_error_t *result = 0 ;
15354   VALUE vresult = Qnil;
15355 
15356   arg3 = &temp3;
15357   if ((argc < 2) || (argc > 2)) {
15358     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
15359   }
15360   {
15361     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_svn_revnum_t__p_svn_error_t);
15362     if (!SWIG_IsOK(res)) {
15363       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_get_latest_revnum_func_t","svn_ra_invoke_get_latest_revnum_func", 1, argv[0] ));
15364     }
15365   }
15366   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
15367   if (!SWIG_IsOK(res2)) {
15368     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_invoke_get_latest_revnum_func", 2, argv[1] ));
15369   }
15370   {
15371     result = (svn_error_t *)svn_ra_invoke_get_latest_revnum_func(arg1,arg2,arg3);
15372 
15373 
15374 
15375   }
15376   {
15377     if (result) {
15378       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15379       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15380       svn_swig_rb_handle_svn_error(result);
15381     }
15382     vresult = Qnil;
15383   }
15384   if (SWIG_IsTmpObj(res3)) {
15385     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg3)));
15386   } else {
15387     int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
15388     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
15389   }
15390   return vresult;
15391 fail:
15392   return Qnil;
15393 }
15394 
15395 
15396 SWIGINTERN VALUE
_wrap_svn_ra_invoke_get_client_string_func(int argc,VALUE * argv,VALUE self)15397 _wrap_svn_ra_invoke_get_client_string_func(int argc, VALUE *argv, VALUE self) {
15398   svn_ra_get_client_string_func_t arg1 = (svn_ra_get_client_string_func_t) 0 ;
15399   void *arg2 = (void *) 0 ;
15400   char **arg3 = (char **) 0 ;
15401   apr_pool_t *arg4 = (apr_pool_t *) 0 ;
15402   VALUE _global_svn_swig_rb_pool ;
15403   apr_pool_t *_global_pool ;
15404   int res2 ;
15405   char *temp3 ;
15406   svn_error_t *result = 0 ;
15407   VALUE vresult = Qnil;
15408 
15409   {
15410     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
15411     _global_pool = arg4;
15412     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
15413   }
15414   arg3 = &temp3;
15415   if ((argc < 2) || (argc > 3)) {
15416     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
15417   }
15418   {
15419     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_p_q_const__char_p_apr_pool_t__p_svn_error_t);
15420     if (!SWIG_IsOK(res)) {
15421       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_get_client_string_func_t","svn_ra_invoke_get_client_string_func", 1, argv[0] ));
15422     }
15423   }
15424   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
15425   if (!SWIG_IsOK(res2)) {
15426     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_invoke_get_client_string_func", 2, argv[1] ));
15427   }
15428   if (argc > 2) {
15429 
15430   }
15431   {
15432     result = (svn_error_t *)svn_ra_invoke_get_client_string_func(arg1,arg2,(char const **)arg3,arg4);
15433 
15434 
15435 
15436   }
15437   {
15438     if (result) {
15439       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15440       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15441       svn_swig_rb_handle_svn_error(result);
15442     }
15443     vresult = Qnil;
15444   }
15445   {
15446     if (*arg3) {
15447       vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg3));
15448     } else {
15449       vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
15450     }
15451   }
15452   {
15453     VALUE target;
15454     target = _global_vresult_address == &vresult ? self : vresult;
15455     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15456     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15457     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15458   }
15459   return vresult;
15460 fail:
15461   {
15462     VALUE target;
15463     target = _global_vresult_address == &vresult ? self : vresult;
15464     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15465     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15466     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15467   }
15468   return Qnil;
15469 }
15470 
15471 
15472 SWIGINTERN VALUE
_wrap_svn_ra_invoke_file_rev_handler(int argc,VALUE * argv,VALUE self)15473 _wrap_svn_ra_invoke_file_rev_handler(int argc, VALUE *argv, VALUE self) {
15474   svn_ra_file_rev_handler_t arg1 = (svn_ra_file_rev_handler_t) 0 ;
15475   void *arg2 = (void *) 0 ;
15476   char *arg3 = (char *) 0 ;
15477   svn_revnum_t arg4 ;
15478   apr_hash_t *arg5 = (apr_hash_t *) 0 ;
15479   svn_txdelta_window_handler_t *arg6 = (svn_txdelta_window_handler_t *) 0 ;
15480   void **arg7 = (void **) 0 ;
15481   apr_array_header_t *arg8 = (apr_array_header_t *) 0 ;
15482   apr_pool_t *arg9 = (apr_pool_t *) 0 ;
15483   VALUE _global_svn_swig_rb_pool ;
15484   apr_pool_t *_global_pool ;
15485   int res2 ;
15486   int res3 ;
15487   char *buf3 = 0 ;
15488   int alloc3 = 0 ;
15489   long val4 ;
15490   int ecode4 = 0 ;
15491   void *argp5 = 0 ;
15492   int res5 = 0 ;
15493   svn_txdelta_window_handler_t temp6 ;
15494   void *temp7 ;
15495   void *argp8 = 0 ;
15496   int res8 = 0 ;
15497   svn_error_t *result = 0 ;
15498   VALUE vresult = Qnil;
15499 
15500   {
15501     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg9);
15502     _global_pool = arg9;
15503     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
15504   }
15505   arg6 = &temp6;
15506   arg7 = &temp7;
15507   if ((argc < 6) || (argc > 7)) {
15508     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
15509   }
15510   {
15511     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t);
15512     if (!SWIG_IsOK(res)) {
15513       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_file_rev_handler_t","svn_ra_invoke_file_rev_handler", 1, argv[0] ));
15514     }
15515   }
15516   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
15517   if (!SWIG_IsOK(res2)) {
15518     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_invoke_file_rev_handler", 2, argv[1] ));
15519   }
15520   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
15521   if (!SWIG_IsOK(res3)) {
15522     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_invoke_file_rev_handler", 3, argv[2] ));
15523   }
15524   arg3 = (char *)(buf3);
15525   ecode4 = SWIG_AsVal_long(argv[3], &val4);
15526   if (!SWIG_IsOK(ecode4)) {
15527     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_invoke_file_rev_handler", 4, argv[3] ));
15528   }
15529   arg4 = (svn_revnum_t)(val4);
15530   res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_apr_hash_t, 0 |  0 );
15531   if (!SWIG_IsOK(res5)) {
15532     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "apr_hash_t *","svn_ra_invoke_file_rev_handler", 5, argv[4] ));
15533   }
15534   arg5 = (apr_hash_t *)(argp5);
15535   res8 = SWIG_ConvertPtr(argv[5], &argp8,SWIGTYPE_p_apr_array_header_t, 0 |  0 );
15536   if (!SWIG_IsOK(res8)) {
15537     SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "apr_array_header_t *","svn_ra_invoke_file_rev_handler", 8, argv[5] ));
15538   }
15539   arg8 = (apr_array_header_t *)(argp8);
15540   if (argc > 6) {
15541 
15542   }
15543   {
15544     result = (svn_error_t *)svn_ra_invoke_file_rev_handler(arg1,arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9);
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   {
15558     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg6, SWIGTYPE_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t, 0));
15559   }
15560   {
15561     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg7, SWIGTYPE_p_void, 0));
15562   }
15563   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
15564   {
15565     VALUE target;
15566     target = _global_vresult_address == &vresult ? self : vresult;
15567     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15568     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15569     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15570   }
15571   return vresult;
15572 fail:
15573   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
15574   {
15575     VALUE target;
15576     target = _global_vresult_address == &vresult ? self : vresult;
15577     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15578     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15579     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15580   }
15581   return Qnil;
15582 }
15583 
15584 
15585 SWIGINTERN VALUE
_wrap_svn_ra_invoke_lock_callback(int argc,VALUE * argv,VALUE self)15586 _wrap_svn_ra_invoke_lock_callback(int argc, VALUE *argv, VALUE self) {
15587   svn_ra_lock_callback_t arg1 = (svn_ra_lock_callback_t) 0 ;
15588   void *arg2 = (void *) 0 ;
15589   char *arg3 = (char *) 0 ;
15590   svn_boolean_t arg4 ;
15591   svn_lock_t *arg5 = (svn_lock_t *) 0 ;
15592   svn_error_t *arg6 = (svn_error_t *) 0 ;
15593   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
15594   VALUE _global_svn_swig_rb_pool ;
15595   apr_pool_t *_global_pool ;
15596   int res2 ;
15597   int res3 ;
15598   char *buf3 = 0 ;
15599   int alloc3 = 0 ;
15600   void *argp5 = 0 ;
15601   int res5 = 0 ;
15602   void *argp6 = 0 ;
15603   int res6 = 0 ;
15604   svn_error_t *result = 0 ;
15605   VALUE vresult = Qnil;
15606 
15607   {
15608     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7);
15609     _global_pool = arg7;
15610     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
15611   }
15612   if ((argc < 6) || (argc > 7)) {
15613     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
15614   }
15615   {
15616     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_q_const__char_svn_boolean_t_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t);
15617     if (!SWIG_IsOK(res)) {
15618       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_lock_callback_t","svn_ra_invoke_lock_callback", 1, argv[0] ));
15619     }
15620   }
15621   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
15622   if (!SWIG_IsOK(res2)) {
15623     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_invoke_lock_callback", 2, argv[1] ));
15624   }
15625   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
15626   if (!SWIG_IsOK(res3)) {
15627     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_invoke_lock_callback", 3, argv[2] ));
15628   }
15629   arg3 = (char *)(buf3);
15630   arg4 = RTEST(argv[3]);
15631   res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_svn_lock_t, 0 |  0 );
15632   if (!SWIG_IsOK(res5)) {
15633     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_lock_t const *","svn_ra_invoke_lock_callback", 5, argv[4] ));
15634   }
15635   arg5 = (svn_lock_t *)(argp5);
15636   res6 = SWIG_ConvertPtr(argv[5], &argp6,SWIGTYPE_p_svn_error_t, 0 |  0 );
15637   if (!SWIG_IsOK(res6)) {
15638     SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "svn_error_t *","svn_ra_invoke_lock_callback", 6, argv[5] ));
15639   }
15640   arg6 = (svn_error_t *)(argp6);
15641   if (argc > 6) {
15642 
15643   }
15644   {
15645     result = (svn_error_t *)svn_ra_invoke_lock_callback(arg1,arg2,(char const *)arg3,arg4,(struct svn_lock_t const *)arg5,arg6,arg7);
15646 
15647 
15648 
15649   }
15650   {
15651     if (result) {
15652       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15653       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15654       svn_swig_rb_handle_svn_error(result);
15655     }
15656     vresult = Qnil;
15657   }
15658   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
15659   {
15660     VALUE target;
15661     target = _global_vresult_address == &vresult ? self : vresult;
15662     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15663     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15664     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15665   }
15666   return vresult;
15667 fail:
15668   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
15669   {
15670     VALUE target;
15671     target = _global_vresult_address == &vresult ? self : vresult;
15672     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15673     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15674     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15675   }
15676   return Qnil;
15677 }
15678 
15679 
15680 SWIGINTERN VALUE
_wrap_svn_ra_invoke_progress_notify_func(int argc,VALUE * argv,VALUE self)15681 _wrap_svn_ra_invoke_progress_notify_func(int argc, VALUE *argv, VALUE self) {
15682   svn_ra_progress_notify_func_t arg1 = (svn_ra_progress_notify_func_t) 0 ;
15683   apr_off_t arg2 ;
15684   apr_off_t arg3 ;
15685   void *arg4 = (void *) 0 ;
15686   apr_pool_t *arg5 = (apr_pool_t *) 0 ;
15687   VALUE _global_svn_swig_rb_pool ;
15688   apr_pool_t *_global_pool ;
15689   int res4 ;
15690 
15691   {
15692     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
15693     _global_pool = arg5;
15694     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
15695   }
15696   if ((argc < 4) || (argc > 5)) {
15697     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
15698   }
15699   {
15700     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_apr_off_t_apr_off_t_p_void_p_apr_pool_t__void);
15701     if (!SWIG_IsOK(res)) {
15702       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_progress_notify_func_t","svn_ra_invoke_progress_notify_func", 1, argv[0] ));
15703     }
15704   }
15705   {
15706     arg2 = (apr_off_t)NUM2LL(argv[1]);
15707   }
15708   {
15709     arg3 = (apr_off_t)NUM2LL(argv[2]);
15710   }
15711   res4 = SWIG_ConvertPtr(argv[3],SWIG_as_voidptrptr(&arg4), 0, 0);
15712   if (!SWIG_IsOK(res4)) {
15713     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","svn_ra_invoke_progress_notify_func", 4, argv[3] ));
15714   }
15715   if (argc > 4) {
15716 
15717   }
15718   {
15719     svn_ra_invoke_progress_notify_func(arg1,arg2,arg3,arg4,arg5);
15720 
15721 
15722 
15723   }
15724   {
15725     VALUE target;
15726     target = _global_vresult_address == &vresult ? self : vresult;
15727     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15728     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15729     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15730   }
15731   return Qnil;
15732 fail:
15733   {
15734     VALUE target;
15735     target = _global_vresult_address == &vresult ? self : vresult;
15736     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15737     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15738     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15739   }
15740   return Qnil;
15741 }
15742 
15743 
15744 SWIGINTERN VALUE
_wrap_svn_ra_invoke_replay_revstart_callback(int argc,VALUE * argv,VALUE self)15745 _wrap_svn_ra_invoke_replay_revstart_callback(int argc, VALUE *argv, VALUE self) {
15746   svn_ra_replay_revstart_callback_t arg1 = (svn_ra_replay_revstart_callback_t) 0 ;
15747   svn_revnum_t arg2 ;
15748   void *arg3 = (void *) 0 ;
15749   svn_delta_editor_t **arg4 = (svn_delta_editor_t **) 0 ;
15750   void **arg5 = (void **) 0 ;
15751   apr_hash_t *arg6 = (apr_hash_t *) 0 ;
15752   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
15753   VALUE _global_svn_swig_rb_pool ;
15754   apr_pool_t *_global_pool ;
15755   long val2 ;
15756   int ecode2 = 0 ;
15757   int res3 ;
15758   svn_delta_editor_t *temp4 ;
15759   void *temp5 ;
15760   void *argp6 = 0 ;
15761   int res6 = 0 ;
15762   svn_error_t *result = 0 ;
15763   VALUE vresult = Qnil;
15764 
15765   {
15766     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7);
15767     _global_pool = arg7;
15768     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
15769   }
15770   arg4 = &temp4;
15771   arg5 = &temp5;
15772   if ((argc < 4) || (argc > 5)) {
15773     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
15774   }
15775   {
15776     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_svn_revnum_t_p_void_p_p_q_const__svn_delta_editor_t_p_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t);
15777     if (!SWIG_IsOK(res)) {
15778       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_replay_revstart_callback_t","svn_ra_invoke_replay_revstart_callback", 1, argv[0] ));
15779     }
15780   }
15781   ecode2 = SWIG_AsVal_long(argv[1], &val2);
15782   if (!SWIG_IsOK(ecode2)) {
15783     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_invoke_replay_revstart_callback", 2, argv[1] ));
15784   }
15785   arg2 = (svn_revnum_t)(val2);
15786   res3 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg3), 0, 0);
15787   if (!SWIG_IsOK(res3)) {
15788     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "void *","svn_ra_invoke_replay_revstart_callback", 3, argv[2] ));
15789   }
15790   res6 = SWIG_ConvertPtr(argv[3], &argp6,SWIGTYPE_p_apr_hash_t, 0 |  0 );
15791   if (!SWIG_IsOK(res6)) {
15792     SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "apr_hash_t *","svn_ra_invoke_replay_revstart_callback", 6, argv[3] ));
15793   }
15794   arg6 = (apr_hash_t *)(argp6);
15795   if (argc > 4) {
15796 
15797   }
15798   {
15799     result = (svn_error_t *)svn_ra_invoke_replay_revstart_callback(arg1,arg2,arg3,(struct svn_delta_editor_t const **)arg4,arg5,arg6,arg7);
15800 
15801 
15802 
15803   }
15804   {
15805     if (result) {
15806       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15807       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15808       svn_swig_rb_handle_svn_error(result);
15809     }
15810     vresult = Qnil;
15811   }
15812   {
15813     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg4, SWIGTYPE_p_svn_delta_editor_t, 0));
15814   }
15815   {
15816     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg5, SWIGTYPE_p_void, 0));
15817   }
15818   {
15819     VALUE target;
15820     target = _global_vresult_address == &vresult ? self : vresult;
15821     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15822     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15823     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15824   }
15825   return vresult;
15826 fail:
15827   {
15828     VALUE target;
15829     target = _global_vresult_address == &vresult ? self : vresult;
15830     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15831     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15832     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15833   }
15834   return Qnil;
15835 }
15836 
15837 
15838 SWIGINTERN VALUE
_wrap_svn_ra_invoke_replay_revfinish_callback(int argc,VALUE * argv,VALUE self)15839 _wrap_svn_ra_invoke_replay_revfinish_callback(int argc, VALUE *argv, VALUE self) {
15840   svn_ra_replay_revfinish_callback_t arg1 = (svn_ra_replay_revfinish_callback_t) 0 ;
15841   svn_revnum_t arg2 ;
15842   void *arg3 = (void *) 0 ;
15843   svn_delta_editor_t *arg4 = (svn_delta_editor_t *) 0 ;
15844   void *arg5 = (void *) 0 ;
15845   apr_hash_t *arg6 = (apr_hash_t *) 0 ;
15846   apr_pool_t *arg7 = (apr_pool_t *) 0 ;
15847   VALUE _global_svn_swig_rb_pool ;
15848   apr_pool_t *_global_pool ;
15849   long val2 ;
15850   int ecode2 = 0 ;
15851   int res3 ;
15852   void *argp6 = 0 ;
15853   int res6 = 0 ;
15854   svn_error_t *result = 0 ;
15855   VALUE vresult = Qnil;
15856 
15857   {
15858     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7);
15859     _global_pool = arg7;
15860     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
15861   }
15862   if ((argc < 5) || (argc > 6)) {
15863     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
15864   }
15865   {
15866     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_svn_revnum_t_p_void_p_q_const__svn_delta_editor_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t);
15867     if (!SWIG_IsOK(res)) {
15868       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_replay_revfinish_callback_t","svn_ra_invoke_replay_revfinish_callback", 1, argv[0] ));
15869     }
15870   }
15871   ecode2 = SWIG_AsVal_long(argv[1], &val2);
15872   if (!SWIG_IsOK(ecode2)) {
15873     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","svn_ra_invoke_replay_revfinish_callback", 2, argv[1] ));
15874   }
15875   arg2 = (svn_revnum_t)(val2);
15876   res3 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg3), 0, 0);
15877   if (!SWIG_IsOK(res3)) {
15878     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "void *","svn_ra_invoke_replay_revfinish_callback", 3, argv[2] ));
15879   }
15880   {
15881     if (RTEST(rb_obj_is_kind_of(argv[3],
15882           svn_swig_rb_svn_delta_editor()))) {
15883       arg4 = svn_swig_rb_to_swig_type(argv[3],
15884         "svn_delta_editor_t *",
15885         _global_pool);
15886       arg5 = svn_swig_rb_to_swig_type(rb_funcall(argv[3], rb_intern("baton"), 0),
15887         "void *", _global_pool);
15888     } else {
15889       svn_swig_rb_make_delta_editor(&arg4, &arg5, argv[3], _global_pool);
15890     }
15891   }
15892   res6 = SWIG_ConvertPtr(argv[4], &argp6,SWIGTYPE_p_apr_hash_t, 0 |  0 );
15893   if (!SWIG_IsOK(res6)) {
15894     SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "apr_hash_t *","svn_ra_invoke_replay_revfinish_callback", 6, argv[4] ));
15895   }
15896   arg6 = (apr_hash_t *)(argp6);
15897   if (argc > 5) {
15898 
15899   }
15900   {
15901     result = (svn_error_t *)svn_ra_invoke_replay_revfinish_callback(arg1,arg2,arg3,(struct svn_delta_editor_t const *)arg4,arg5,arg6,arg7);
15902 
15903 
15904 
15905   }
15906   {
15907     if (result) {
15908       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15909       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15910       svn_swig_rb_handle_svn_error(result);
15911     }
15912     vresult = Qnil;
15913   }
15914   {
15915     VALUE target;
15916     target = _global_vresult_address == &vresult ? self : vresult;
15917     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15918     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15919     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15920   }
15921   return vresult;
15922 fail:
15923   {
15924     VALUE target;
15925     target = _global_vresult_address == &vresult ? self : vresult;
15926     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
15927     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
15928     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
15929   }
15930   return Qnil;
15931 }
15932 
15933 
15934 SWIGINTERN VALUE
_wrap_svn_ra_invoke_check_tunnel_func(int argc,VALUE * argv,VALUE self)15935 _wrap_svn_ra_invoke_check_tunnel_func(int argc, VALUE *argv, VALUE self) {
15936   svn_ra_check_tunnel_func_t arg1 = (svn_ra_check_tunnel_func_t) 0 ;
15937   void *arg2 = (void *) 0 ;
15938   char *arg3 = (char *) 0 ;
15939   int res2 ;
15940   int res3 ;
15941   char *buf3 = 0 ;
15942   int alloc3 = 0 ;
15943   svn_boolean_t result;
15944   VALUE vresult = Qnil;
15945 
15946   if ((argc < 3) || (argc > 3)) {
15947     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
15948   }
15949   {
15950     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_q_const__char__int);
15951     if (!SWIG_IsOK(res)) {
15952       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_check_tunnel_func_t","svn_ra_invoke_check_tunnel_func", 1, argv[0] ));
15953     }
15954   }
15955   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
15956   if (!SWIG_IsOK(res2)) {
15957     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_invoke_check_tunnel_func", 2, argv[1] ));
15958   }
15959   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
15960   if (!SWIG_IsOK(res3)) {
15961     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_invoke_check_tunnel_func", 3, argv[2] ));
15962   }
15963   arg3 = (char *)(buf3);
15964   {
15965     result = (svn_boolean_t)svn_ra_invoke_check_tunnel_func(arg1,arg2,(char const *)arg3);
15966 
15967 
15968 
15969   }
15970   vresult = result ? Qtrue : Qfalse;
15971   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
15972   return vresult;
15973 fail:
15974   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
15975   return Qnil;
15976 }
15977 
15978 
15979 SWIGINTERN VALUE
_wrap_svn_ra_invoke_close_tunnel_func(int argc,VALUE * argv,VALUE self)15980 _wrap_svn_ra_invoke_close_tunnel_func(int argc, VALUE *argv, VALUE self) {
15981   svn_ra_close_tunnel_func_t arg1 = (svn_ra_close_tunnel_func_t) 0 ;
15982   void *arg2 = (void *) 0 ;
15983   void *arg3 = (void *) 0 ;
15984   int res2 ;
15985   int res3 ;
15986 
15987   if ((argc < 3) || (argc > 3)) {
15988     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
15989   }
15990   {
15991     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_void__void);
15992     if (!SWIG_IsOK(res)) {
15993       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_close_tunnel_func_t","svn_ra_invoke_close_tunnel_func", 1, argv[0] ));
15994     }
15995   }
15996   res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
15997   if (!SWIG_IsOK(res2)) {
15998     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_invoke_close_tunnel_func", 2, argv[1] ));
15999   }
16000   res3 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg3), 0, 0);
16001   if (!SWIG_IsOK(res3)) {
16002     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "void *","svn_ra_invoke_close_tunnel_func", 3, argv[2] ));
16003   }
16004   {
16005     svn_ra_invoke_close_tunnel_func(arg1,arg2,arg3);
16006 
16007 
16008 
16009   }
16010   return Qnil;
16011 fail:
16012   return Qnil;
16013 }
16014 
16015 
16016 SWIGINTERN VALUE
_wrap_svn_ra_invoke_open_tunnel_func(int argc,VALUE * argv,VALUE self)16017 _wrap_svn_ra_invoke_open_tunnel_func(int argc, VALUE *argv, VALUE self) {
16018   svn_ra_open_tunnel_func_t arg1 = (svn_ra_open_tunnel_func_t) 0 ;
16019   svn_stream_t **arg2 = (svn_stream_t **) 0 ;
16020   svn_stream_t **arg3 = (svn_stream_t **) 0 ;
16021   svn_ra_close_tunnel_func_t *arg4 = (svn_ra_close_tunnel_func_t *) 0 ;
16022   void **arg5 = (void **) 0 ;
16023   void *arg6 = (void *) 0 ;
16024   char *arg7 = (char *) 0 ;
16025   char *arg8 = (char *) 0 ;
16026   char *arg9 = (char *) 0 ;
16027   int arg10 ;
16028   svn_cancel_func_t arg11 = (svn_cancel_func_t) 0 ;
16029   void *arg12 = (void *) 0 ;
16030   apr_pool_t *arg13 = (apr_pool_t *) 0 ;
16031   VALUE _global_svn_swig_rb_pool ;
16032   apr_pool_t *_global_pool ;
16033   svn_stream_t *temp2 ;
16034   svn_stream_t *temp3 ;
16035   svn_ra_close_tunnel_func_t temp4 ;
16036   void *temp5 ;
16037   int res6 ;
16038   int res7 ;
16039   char *buf7 = 0 ;
16040   int alloc7 = 0 ;
16041   int res8 ;
16042   char *buf8 = 0 ;
16043   int alloc8 = 0 ;
16044   int res9 ;
16045   char *buf9 = 0 ;
16046   int alloc9 = 0 ;
16047   int val10 ;
16048   int ecode10 = 0 ;
16049   svn_error_t *result = 0 ;
16050   VALUE vresult = Qnil;
16051 
16052   {
16053     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg13);
16054     _global_pool = arg13;
16055     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
16056   }
16057   arg2 = &temp2;
16058   arg3 = &temp3;
16059   arg4 = &temp4;
16060   arg5 = &temp5;
16061   if ((argc < 7) || (argc > 8)) {
16062     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
16063   }
16064   {
16065     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), 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);
16066     if (!SWIG_IsOK(res)) {
16067       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_open_tunnel_func_t","svn_ra_invoke_open_tunnel_func", 1, argv[0] ));
16068     }
16069   }
16070   res6 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg6), 0, 0);
16071   if (!SWIG_IsOK(res6)) {
16072     SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "void *","svn_ra_invoke_open_tunnel_func", 6, argv[1] ));
16073   }
16074   res7 = SWIG_AsCharPtrAndSize(argv[2], &buf7, NULL, &alloc7);
16075   if (!SWIG_IsOK(res7)) {
16076     SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "char const *","svn_ra_invoke_open_tunnel_func", 7, argv[2] ));
16077   }
16078   arg7 = (char *)(buf7);
16079   res8 = SWIG_AsCharPtrAndSize(argv[3], &buf8, NULL, &alloc8);
16080   if (!SWIG_IsOK(res8)) {
16081     SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "char const *","svn_ra_invoke_open_tunnel_func", 8, argv[3] ));
16082   }
16083   arg8 = (char *)(buf8);
16084   res9 = SWIG_AsCharPtrAndSize(argv[4], &buf9, NULL, &alloc9);
16085   if (!SWIG_IsOK(res9)) {
16086     SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "char const *","svn_ra_invoke_open_tunnel_func", 9, argv[4] ));
16087   }
16088   arg9 = (char *)(buf9);
16089   ecode10 = SWIG_AsVal_int(argv[5], &val10);
16090   if (!SWIG_IsOK(ecode10)) {
16091     SWIG_exception_fail(SWIG_ArgError(ecode10), Ruby_Format_TypeError( "", "int","svn_ra_invoke_open_tunnel_func", 10, argv[5] ));
16092   }
16093   arg10 = (int)(val10);
16094   {
16095     arg11 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
16096     arg12 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
16097   }
16098   if (argc > 7) {
16099 
16100   }
16101   {
16102     result = (svn_error_t *)svn_ra_invoke_open_tunnel_func(arg1,arg2,arg3,arg4,arg5,arg6,(char const *)arg7,(char const *)arg8,(char const *)arg9,arg10,arg11,arg12,arg13);
16103 
16104 
16105 
16106   }
16107   {
16108     if (result) {
16109       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16110       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16111       svn_swig_rb_handle_svn_error(result);
16112     }
16113     vresult = Qnil;
16114   }
16115   {
16116     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_svn_stream_t, 0));
16117   }
16118   {
16119     vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg3, SWIGTYPE_p_svn_stream_t, 0));
16120   }
16121   {
16122     /* FIXME: Missing argout typemap: svn_ra_invoke_open_tunnel_func arg 4 (svn_ra_close_tunnel_func_t *) */
16123 
16124 
16125 
16126 
16127     SWIG_exception(SWIG_ValueError, "svn_ra_invoke_open_tunnel_func is not implemented yet");
16128 
16129   }
16130   {
16131     /* FIXME: Missing argout typemap: svn_ra_invoke_open_tunnel_func arg 5 (void **) */
16132 
16133 
16134 
16135 
16136     SWIG_exception(SWIG_ValueError, "svn_ra_invoke_open_tunnel_func is not implemented yet");
16137 
16138   }
16139   {
16140     svn_swig_rb_set_baton(vresult, (VALUE)arg12);
16141   }
16142   if (alloc7 == SWIG_NEWOBJ) free((char*)buf7);
16143   if (alloc8 == SWIG_NEWOBJ) free((char*)buf8);
16144   if (alloc9 == SWIG_NEWOBJ) free((char*)buf9);
16145   {
16146     VALUE target;
16147     target = _global_vresult_address == &vresult ? self : vresult;
16148     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
16149     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16150     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16151   }
16152   return vresult;
16153 fail:
16154   if (alloc7 == SWIG_NEWOBJ) free((char*)buf7);
16155   if (alloc8 == SWIG_NEWOBJ) free((char*)buf8);
16156   if (alloc9 == SWIG_NEWOBJ) free((char*)buf9);
16157   {
16158     VALUE target;
16159     target = _global_vresult_address == &vresult ? self : vresult;
16160     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
16161     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16162     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16163   }
16164   return Qnil;
16165 }
16166 
16167 
16168 SWIGINTERN VALUE
_wrap_svn_ra_invoke_init_func(int argc,VALUE * argv,VALUE self)16169 _wrap_svn_ra_invoke_init_func(int argc, VALUE *argv, VALUE self) {
16170   svn_ra_init_func_t arg1 = (svn_ra_init_func_t) 0 ;
16171   int arg2 ;
16172   apr_pool_t *arg3 = (apr_pool_t *) 0 ;
16173   apr_hash_t *arg4 = (apr_hash_t *) 0 ;
16174   VALUE _global_svn_swig_rb_pool ;
16175   apr_pool_t *_global_pool ;
16176   int val2 ;
16177   int ecode2 = 0 ;
16178   svn_error_t *result = 0 ;
16179   VALUE vresult = Qnil;
16180 
16181   {
16182     svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
16183     _global_pool = arg3;
16184     svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
16185   }
16186   if ((argc < 2) || (argc > 4)) {
16187     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
16188   }
16189   {
16190     int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_int_p_apr_pool_t_p_apr_hash_t__p_svn_error_t);
16191     if (!SWIG_IsOK(res)) {
16192       SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_init_func_t","svn_ra_invoke_init_func", 1, argv[0] ));
16193     }
16194   }
16195   ecode2 = SWIG_AsVal_int(argv[1], &val2);
16196   if (!SWIG_IsOK(ecode2)) {
16197     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","svn_ra_invoke_init_func", 2, argv[1] ));
16198   }
16199   arg2 = (int)(val2);
16200   if (argc > 2) {
16201 
16202   }
16203   if (argc > 3) {
16204     {
16205       VALUE rb_pool = Qnil;
16206       if (!_global_pool) {
16207         svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
16208         svn_swig_rb_push_pool(rb_pool);
16209       }
16210       arg4 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[3], _global_pool);
16211       _global_pool = NULL;
16212       if (!NIL_P(rb_pool)) {
16213         if (NIL_P(arg4)) {
16214           svn_swig_rb_destroy_pool(rb_pool);
16215         } else {
16216           svn_swig_rb_set_pool_for_no_swig_type(argv[3], rb_pool);
16217         }
16218         svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16219       }
16220     }
16221   }
16222   {
16223     result = (svn_error_t *)svn_ra_invoke_init_func(arg1,arg2,arg3,arg4);
16224 
16225 
16226 
16227   }
16228   {
16229     if (result) {
16230       svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16231       svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16232       svn_swig_rb_handle_svn_error(result);
16233     }
16234     vresult = Qnil;
16235   }
16236   {
16237     VALUE target;
16238     target = _global_vresult_address == &vresult ? self : vresult;
16239     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
16240     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16241     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16242   }
16243   return vresult;
16244 fail:
16245   {
16246     VALUE target;
16247     target = _global_vresult_address == &vresult ? self : vresult;
16248     if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
16249     svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
16250     svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
16251   }
16252   return Qnil;
16253 }
16254 
16255 
16256 
16257 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
16258 
16259 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};
16260 static swig_type_info _swigt__p_apr_file_t = {"_p_apr_file_t", "apr_file_t *", 0, 0, (void*)0, 0};
16261 static swig_type_info _swigt__p_apr_hash_t = {"_p_apr_hash_t", "apr_hash_t *", 0, 0, (void*)0, 0};
16262 static swig_type_info _swigt__p_apr_int32_t = {"_p_apr_int32_t", "apr_int32_t *|time_t *", 0, 0, (void*)0, 0};
16263 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};
16264 static swig_type_info _swigt__p_apr_off_t = {"_p_apr_off_t", "apr_off_t *", 0, 0, (void*)0, 0};
16265 static swig_type_info _swigt__p_apr_pool_t = {"_p_apr_pool_t", "apr_pool_t *", 0, 0, (void*)0, 0};
16266 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
16267 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};
16268 static swig_type_info _swigt__p_f_int_p_apr_pool_t_p_apr_hash_t__p_svn_error_t = {"_p_f_int_p_apr_pool_t_p_apr_hash_t__p_svn_error_t", "svn_error_t *(*)(int,apr_pool_t *,apr_hash_t *)|svn_ra_init_func_t", 0, 0, (void*)0, 0};
16269 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};
16270 static swig_type_info _swigt__p_f_p_p_apr_file_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_apr_file_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(apr_file_t **,void *,apr_pool_t *)", 0, 0, (void*)0, 0};
16271 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};
16272 static swig_type_info _swigt__p_f_p_p_void_p_q_const__char_p_q_const__svn_ra_callbacks_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_void_p_q_const__char_p_q_const__svn_ra_callbacks_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void **,char const *,svn_ra_callbacks_t const *,void *,apr_hash_t *,apr_pool_t *)", 0, 0, (void*)0, 0};
16273 static swig_type_info _swigt__p_f_p_q_const__char_p_svn_dirent_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_q_const__char_p_svn_dirent_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(char const *,svn_dirent_t *,void *,apr_pool_t *)|svn_ra_dirent_receiver_t", 0, 0, (void*)0, 0};
16274 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};
16275 static swig_type_info _swigt__p_f_p_svn_location_segment_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_svn_location_segment_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(svn_location_segment_t *,void *,apr_pool_t *)|svn_location_segment_receiver_t", 0, 0, (void*)0, 0};
16276 static swig_type_info _swigt__p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t = {"_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t", "svn_error_t *(*)(svn_txdelta_window_t *,void *)|svn_txdelta_window_handler_t", 0, 0, (void*)0, 0};
16277 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};
16278 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};
16279 static swig_type_info _swigt__p_f_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,apr_pool_t *)", 0, 0, (void*)0, 0};
16280 static swig_type_info _swigt__p_f_p_void_p_p_apr_hash_t_p_q_const__char_svn_revnum_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_p_apr_hash_t_p_q_const__char_svn_revnum_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,apr_hash_t **,char const *,svn_revnum_t,apr_array_header_t *,apr_pool_t *)", 0, 0, (void*)0, 0};
16281 static swig_type_info _swigt__p_f_p_void_p_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_p_q_const__char_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,char const **,apr_pool_t *)|svn_ra_get_client_string_func_t", 0, 0, (void*)0, 0};
16282 static swig_type_info _swigt__p_f_p_void_p_p_q_const__svn_delta_editor_t_p_p_void_p_q_const__char_svn_commit_callback_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_p_q_const__svn_delta_editor_t_p_p_void_p_q_const__char_svn_commit_callback_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,svn_delta_editor_t const **,void **,char const *,svn_commit_callback_t,void *,apr_pool_t *)", 0, 0, (void*)0, 0};
16283 static swig_type_info _swigt__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,svn_ra_reporter_t const **,void **,char const *,svn_revnum_t,svn_boolean_t,svn_delta_editor_t const *,void *,apr_pool_t *)", 0, 0, (void*)0, 0};
16284 static swig_type_info _swigt__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,svn_ra_reporter_t const **,void **,svn_revnum_t,char const *,svn_boolean_t,char const *,svn_delta_editor_t const *,void *,apr_pool_t *)", 0, 0, (void*)0, 0};
16285 static swig_type_info _swigt__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,svn_ra_reporter_t const **,void **,svn_revnum_t,char const *,svn_boolean_t,svn_delta_editor_t const *,void *,apr_pool_t *)", 0, 0, (void*)0, 0};
16286 static swig_type_info _swigt__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,svn_ra_reporter_t const **,void **,svn_revnum_t,char const *,svn_boolean_t,svn_boolean_t,char const *,svn_delta_editor_t const *,void *,apr_pool_t *)", 0, 0, (void*)0, 0};
16287 static swig_type_info _swigt__p_f_p_void_p_p_svn_stream_t_p_q_const__svn_checksum_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_p_svn_stream_t_p_q_const__svn_checksum_t_p_apr_pool_t__p_svn_error_t", "svn_ra_get_wc_contents_func_t|svn_error_t *(*)(void *,svn_stream_t **,svn_checksum_t const *,apr_pool_t *)", 0, 0, (void*)0, 0};
16288 static swig_type_info _swigt__p_f_p_void_p_q_const__apr_array_header_t_svn_revnum_t_svn_revnum_t_svn_boolean_t_svn_boolean_t_svn_log_message_receiver_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__apr_array_header_t_svn_revnum_t_svn_revnum_t_svn_boolean_t_svn_boolean_t_svn_log_message_receiver_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,apr_array_header_t const *,svn_revnum_t,svn_revnum_t,svn_boolean_t,svn_boolean_t,svn_log_message_receiver_t,void *,apr_pool_t *)", 0, 0, (void*)0, 0};
16289 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};
16290 static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,char const *,apr_pool_t *)", 0, 0, (void*)0, 0};
16291 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_ra_invalidate_wc_props_func_t|svn_error_t *(*)(void *,char const *,char const *,apr_pool_t *)", 0, 0, (void*)0, 0};
16292 static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_q_const__char_p_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_q_const__char_p_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t", "svn_ra_get_wc_prop_func_t|svn_error_t *(*)(void *,char const *,char const *,svn_string_t const **,apr_pool_t *)", 0, 0, (void*)0, 0};
16293 static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t", "svn_ra_set_wc_prop_func_t|svn_ra_push_wc_prop_func_t|svn_error_t *(*)(void *,char const *,char const *,svn_string_t const *,apr_pool_t *)", 0, 0, (void*)0, 0};
16294 static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,char const *,char const *,svn_revnum_t,svn_boolean_t,apr_pool_t *)", 0, 0, (void*)0, 0};
16295 static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,char const *,char const *,svn_revnum_t,svn_boolean_t,char const *,apr_pool_t *)", 0, 0, (void*)0, 0};
16296 static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_depth_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_depth_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,char const *,char const *,svn_revnum_t,svn_depth_t,svn_boolean_t,char const *,apr_pool_t *)", 0, 0, (void*)0, 0};
16297 static swig_type_info _swigt__p_f_p_void_p_q_const__char_svn_boolean_t_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_svn_boolean_t_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,char const *,svn_boolean_t,svn_lock_t const *,svn_error_t *,apr_pool_t *)|svn_ra_lock_callback_t", 0, 0, (void*)0, 0};
16298 static swig_type_info _swigt__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,char const *,svn_revnum_t,apr_hash_t *,svn_txdelta_window_handler_t *,void **,apr_array_header_t *,apr_pool_t *)|svn_ra_file_rev_handler_t", 0, 0, (void*)0, 0};
16299 static swig_type_info _swigt__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_svn_boolean_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_svn_boolean_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,char const *,svn_revnum_t,apr_hash_t *,svn_boolean_t,svn_txdelta_window_handler_t *,void **,apr_array_header_t *,apr_pool_t *)|svn_file_rev_handler_t", 0, 0, (void*)0, 0};
16300 static swig_type_info _swigt__p_f_p_void_p_q_const__char_svn_revnum_t_p_p_apr_hash_t_p_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_svn_revnum_t_p_p_apr_hash_t_p_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,char const *,svn_revnum_t,apr_hash_t **,svn_revnum_t *,apr_hash_t **,apr_pool_t *)", 0, 0, (void*)0, 0};
16301 static swig_type_info _swigt__p_f_p_void_p_q_const__char_svn_revnum_t_p_svn_node_kind_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_svn_revnum_t_p_svn_node_kind_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,char const *,svn_revnum_t,svn_node_kind_t *,apr_pool_t *)", 0, 0, (void*)0, 0};
16302 static swig_type_info _swigt__p_f_p_void_p_q_const__char_svn_revnum_t_p_svn_stream_t_p_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_svn_revnum_t_p_svn_stream_t_p_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,char const *,svn_revnum_t,svn_stream_t *,svn_revnum_t *,apr_hash_t **,apr_pool_t *)", 0, 0, (void*)0, 0};
16303 static swig_type_info _swigt__p_f_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,char const *,svn_revnum_t,svn_boolean_t,apr_pool_t *)", 0, 0, (void*)0, 0};
16304 static swig_type_info _swigt__p_f_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,char const *,svn_revnum_t,svn_boolean_t,char const *,apr_pool_t *)", 0, 0, (void*)0, 0};
16305 static swig_type_info _swigt__p_f_p_void_p_q_const__char_svn_revnum_t_svn_depth_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_svn_revnum_t_svn_depth_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,char const *,svn_revnum_t,svn_depth_t,svn_boolean_t,char const *,apr_pool_t *)", 0, 0, (void*)0, 0};
16306 static swig_type_info _swigt__p_f_p_void_p_q_const__char_svn_revnum_t_svn_revnum_t_svn_ra_file_rev_handler_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_svn_revnum_t_svn_revnum_t_svn_ra_file_rev_handler_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,char const *,svn_revnum_t,svn_revnum_t,svn_ra_file_rev_handler_t,void *,apr_pool_t *)", 0, 0, (void*)0, 0};
16307 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};
16308 static swig_type_info _swigt__p_f_p_void_p_svn_revnum_t__p_svn_error_t = {"_p_f_p_void_p_svn_revnum_t__p_svn_error_t", "svn_ra_get_latest_revnum_func_t|svn_error_t *(*)(void *,svn_revnum_t *)", 0, 0, (void*)0, 0};
16309 static swig_type_info _swigt__p_f_p_void_p_svn_revnum_t_apr_time_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_svn_revnum_t_apr_time_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,svn_revnum_t *,apr_time_t,apr_pool_t *)", 0, 0, (void*)0, 0};
16310 static swig_type_info _swigt__p_f_p_void_p_svn_revnum_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_svn_revnum_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,svn_revnum_t *,apr_pool_t *)", 0, 0, (void*)0, 0};
16311 static swig_type_info _swigt__p_f_p_void_p_void__void = {"_p_f_p_void_p_void__void", "svn_ra_close_tunnel_func_t|void (*)(void *,void *)", 0, 0, (void*)0, 0};
16312 static swig_type_info _swigt__p_f_p_void_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,svn_revnum_t,apr_hash_t **,apr_pool_t *)", 0, 0, (void*)0, 0};
16313 static swig_type_info _swigt__p_f_p_void_svn_revnum_t_p_q_const__char_p_p_svn_string_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_svn_revnum_t_p_q_const__char_p_p_svn_string_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,svn_revnum_t,char const *,svn_string_t **,apr_pool_t *)", 0, 0, (void*)0, 0};
16314 static swig_type_info _swigt__p_f_p_void_svn_revnum_t_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_svn_revnum_t_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,svn_revnum_t,char const *,svn_string_t const *,apr_pool_t *)", 0, 0, (void*)0, 0};
16315 static swig_type_info _swigt__p_f_svn_revnum_t_p_q_const__char_p_q_const__char_p_void__p_svn_error_t = {"_p_f_svn_revnum_t_p_q_const__char_p_q_const__char_p_void__p_svn_error_t", "svn_error_t *(*)(svn_revnum_t,char const *,char const *,void *)|svn_commit_callback_t", 0, 0, (void*)0, 0};
16316 static swig_type_info _swigt__p_f_svn_revnum_t_p_void_p_p_q_const__svn_delta_editor_t_p_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t = {"_p_f_svn_revnum_t_p_void_p_p_q_const__svn_delta_editor_t_p_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t", "svn_ra_replay_revstart_callback_t|svn_error_t *(*)(svn_revnum_t,void *,svn_delta_editor_t const **,void **,apr_hash_t *,apr_pool_t *)", 0, 0, (void*)0, 0};
16317 static swig_type_info _swigt__p_f_svn_revnum_t_p_void_p_q_const__svn_delta_editor_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t = {"_p_f_svn_revnum_t_p_void_p_q_const__svn_delta_editor_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t", "svn_ra_replay_revfinish_callback_t|svn_error_t *(*)(svn_revnum_t,void *,svn_delta_editor_t const *,void *,apr_hash_t *,apr_pool_t *)", 0, 0, (void*)0, 0};
16318 static swig_type_info _swigt__p_f_void__p_svn_version_t = {"_p_f_void__p_svn_version_t", "struct svn_version_t *(*)(void)|svn_version_t *(*)(void)", 0, 0, (void*)0, 0};
16319 static swig_type_info _swigt__p_int = {"_p_int", "int *|svn_boolean_t *|apr_status_t *", 0, 0, (void*)0, 0};
16320 static swig_type_info _swigt__p_long = {"_p_long", "long *|svn_revnum_t *", 0, 0, (void*)0, 0};
16321 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};
16322 static swig_type_info _swigt__p_p_apr_file_t = {"_p_p_apr_file_t", "apr_file_t **", 0, 0, (void*)0, 0};
16323 static swig_type_info _swigt__p_p_apr_hash_t = {"_p_p_apr_hash_t", "apr_hash_t **|svn_mergeinfo_catalog_t *", 0, 0, (void*)0, 0};
16324 static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0};
16325 static swig_type_info _swigt__p_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t = {"_p_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t", "svn_error_t *(**)(svn_txdelta_window_t *,void *)|svn_txdelta_window_handler_t *", 0, 0, (void*)0, 0};
16326 static swig_type_info _swigt__p_p_f_p_void_p_void__void = {"_p_p_f_p_void_p_void__void", "svn_ra_close_tunnel_func_t *|void (**)(void *,void *)", 0, 0, (void*)0, 0};
16327 static swig_type_info _swigt__p_p_svn_delta_editor_t = {"_p_p_svn_delta_editor_t", "struct svn_delta_editor_t **|svn_delta_editor_t **", 0, 0, (void*)0, 0};
16328 static swig_type_info _swigt__p_p_svn_dirent_t = {"_p_p_svn_dirent_t", "struct svn_dirent_t **|svn_dirent_t **", 0, 0, (void*)0, 0};
16329 static swig_type_info _swigt__p_p_svn_lock_t = {"_p_p_svn_lock_t", "struct svn_lock_t **|svn_lock_t **", 0, 0, (void*)0, 0};
16330 static swig_type_info _swigt__p_p_svn_ra_callbacks2_t = {"_p_p_svn_ra_callbacks2_t", "struct svn_ra_callbacks2_t **|svn_ra_callbacks2_t **", 0, 0, (void*)0, 0};
16331 static swig_type_info _swigt__p_p_svn_ra_plugin_t = {"_p_p_svn_ra_plugin_t", "struct svn_ra_plugin_t **|svn_ra_plugin_t **", 0, 0, (void*)0, 0};
16332 static swig_type_info _swigt__p_p_svn_ra_reporter2_t = {"_p_p_svn_ra_reporter2_t", "struct svn_ra_reporter2_t **|svn_ra_reporter2_t **", 0, 0, (void*)0, 0};
16333 static swig_type_info _swigt__p_p_svn_ra_reporter3_t = {"_p_p_svn_ra_reporter3_t", "struct svn_ra_reporter3_t **|svn_ra_reporter3_t **", 0, 0, (void*)0, 0};
16334 static swig_type_info _swigt__p_p_svn_ra_reporter_t = {"_p_p_svn_ra_reporter_t", "struct svn_ra_reporter_t **|svn_ra_reporter_t **", 0, 0, (void*)0, 0};
16335 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};
16336 static swig_type_info _swigt__p_p_svn_stream_t = {"_p_p_svn_stream_t", "struct svn_stream_t **|svn_stream_t **", 0, 0, (void*)0, 0};
16337 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};
16338 static swig_type_info _swigt__p_p_svn_stringbuf_t = {"_p_p_svn_stringbuf_t", "struct svn_stringbuf_t **|svn_stringbuf_t **", 0, 0, (void*)0, 0};
16339 static swig_type_info _swigt__p_p_void = {"_p_p_void", "void **", 0, 0, (void*)0, 0};
16340 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};
16341 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};
16342 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};
16343 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};
16344 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};
16345 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};
16346 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};
16347 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};
16348 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};
16349 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};
16350 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};
16351 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};
16352 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};
16353 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};
16354 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};
16355 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};
16356 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};
16357 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};
16358 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};
16359 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};
16360 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};
16361 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};
16362 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};
16363 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};
16364 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};
16365 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};
16366 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};
16367 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};
16368 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};
16369 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};
16370 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};
16371 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};
16372 static swig_type_info _swigt__p_svn_error_t = {"_p_svn_error_t", "svn_error_t *", 0, 0, (void*)0, 0};
16373 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};
16374 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};
16375 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};
16376 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};
16377 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};
16378 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};
16379 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};
16380 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};
16381 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};
16382 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};
16383 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};
16384 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};
16385 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};
16386 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};
16387 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};
16388 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};
16389 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};
16390 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};
16391 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};
16392 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};
16393 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};
16394 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};
16395 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};
16396 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};
16397 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};
16398 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};
16399 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};
16400 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};
16401 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};
16402 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};
16403 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};
16404 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};
16405 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};
16406 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};
16407 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};
16408 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};
16409 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};
16410 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};
16411 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};
16412 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};
16413 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};
16414 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};
16415 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|svn_linenum_t *", 0, 0, (void*)0, 0};
16416 static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
16417 
16418 static swig_type_info *swig_type_initial[] = {
16419   &_swigt__p_apr_array_header_t,
16420   &_swigt__p_apr_file_t,
16421   &_swigt__p_apr_hash_t,
16422   &_swigt__p_apr_int32_t,
16423   &_swigt__p_apr_int64_t,
16424   &_swigt__p_apr_off_t,
16425   &_swigt__p_apr_pool_t,
16426   &_swigt__p_char,
16427   &_swigt__p_f_apr_off_t_apr_off_t_p_void_p_apr_pool_t__void,
16428   &_swigt__p_f_int_p_apr_pool_t_p_apr_hash_t__p_svn_error_t,
16429   &_swigt__p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t,
16430   &_swigt__p_f_p_p_apr_file_t_p_void_p_apr_pool_t__p_svn_error_t,
16431   &_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,
16432   &_swigt__p_f_p_p_void_p_q_const__char_p_q_const__svn_ra_callbacks_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t,
16433   &_swigt__p_f_p_q_const__char_p_svn_dirent_t_p_void_p_apr_pool_t__p_svn_error_t,
16434   &_swigt__p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t,
16435   &_swigt__p_f_p_svn_location_segment_t_p_void_p_apr_pool_t__p_svn_error_t,
16436   &_swigt__p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t,
16437   &_swigt__p_f_p_void__p_svn_error_t,
16438   &_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,
16439   &_swigt__p_f_p_void_p_apr_pool_t__p_svn_error_t,
16440   &_swigt__p_f_p_void_p_p_apr_hash_t_p_q_const__char_svn_revnum_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t,
16441   &_swigt__p_f_p_void_p_p_q_const__char_p_apr_pool_t__p_svn_error_t,
16442   &_swigt__p_f_p_void_p_p_q_const__svn_delta_editor_t_p_p_void_p_q_const__char_svn_commit_callback_t_p_void_p_apr_pool_t__p_svn_error_t,
16443   &_swigt__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t,
16444   &_swigt__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t,
16445   &_swigt__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t,
16446   &_swigt__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t,
16447   &_swigt__p_f_p_void_p_p_svn_stream_t_p_q_const__svn_checksum_t_p_apr_pool_t__p_svn_error_t,
16448   &_swigt__p_f_p_void_p_q_const__apr_array_header_t_svn_revnum_t_svn_revnum_t_svn_boolean_t_svn_boolean_t_svn_log_message_receiver_t_p_void_p_apr_pool_t__p_svn_error_t,
16449   &_swigt__p_f_p_void_p_q_const__char__int,
16450   &_swigt__p_f_p_void_p_q_const__char_p_apr_pool_t__p_svn_error_t,
16451   &_swigt__p_f_p_void_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t,
16452   &_swigt__p_f_p_void_p_q_const__char_p_q_const__char_p_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t,
16453   &_swigt__p_f_p_void_p_q_const__char_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t,
16454   &_swigt__p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t,
16455   &_swigt__p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t,
16456   &_swigt__p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_depth_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t,
16457   &_swigt__p_f_p_void_p_q_const__char_svn_boolean_t_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t,
16458   &_swigt__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t,
16459   &_swigt__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_svn_boolean_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t,
16460   &_swigt__p_f_p_void_p_q_const__char_svn_revnum_t_p_p_apr_hash_t_p_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t,
16461   &_swigt__p_f_p_void_p_q_const__char_svn_revnum_t_p_svn_node_kind_t_p_apr_pool_t__p_svn_error_t,
16462   &_swigt__p_f_p_void_p_q_const__char_svn_revnum_t_p_svn_stream_t_p_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t,
16463   &_swigt__p_f_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t,
16464   &_swigt__p_f_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t,
16465   &_swigt__p_f_p_void_p_q_const__char_svn_revnum_t_svn_depth_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t,
16466   &_swigt__p_f_p_void_p_q_const__char_svn_revnum_t_svn_revnum_t_svn_ra_file_rev_handler_t_p_void_p_apr_pool_t__p_svn_error_t,
16467   &_swigt__p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t,
16468   &_swigt__p_f_p_void_p_svn_revnum_t__p_svn_error_t,
16469   &_swigt__p_f_p_void_p_svn_revnum_t_apr_time_t_p_apr_pool_t__p_svn_error_t,
16470   &_swigt__p_f_p_void_p_svn_revnum_t_p_apr_pool_t__p_svn_error_t,
16471   &_swigt__p_f_p_void_p_void__void,
16472   &_swigt__p_f_p_void_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t,
16473   &_swigt__p_f_p_void_svn_revnum_t_p_q_const__char_p_p_svn_string_t_p_apr_pool_t__p_svn_error_t,
16474   &_swigt__p_f_p_void_svn_revnum_t_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t,
16475   &_swigt__p_f_svn_revnum_t_p_q_const__char_p_q_const__char_p_void__p_svn_error_t,
16476   &_swigt__p_f_svn_revnum_t_p_void_p_p_q_const__svn_delta_editor_t_p_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t,
16477   &_swigt__p_f_svn_revnum_t_p_void_p_q_const__svn_delta_editor_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t,
16478   &_swigt__p_f_void__p_svn_version_t,
16479   &_swigt__p_int,
16480   &_swigt__p_long,
16481   &_swigt__p_p_apr_array_header_t,
16482   &_swigt__p_p_apr_file_t,
16483   &_swigt__p_p_apr_hash_t,
16484   &_swigt__p_p_char,
16485   &_swigt__p_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t,
16486   &_swigt__p_p_f_p_void_p_void__void,
16487   &_swigt__p_p_svn_delta_editor_t,
16488   &_swigt__p_p_svn_dirent_t,
16489   &_swigt__p_p_svn_lock_t,
16490   &_swigt__p_p_svn_ra_callbacks2_t,
16491   &_swigt__p_p_svn_ra_plugin_t,
16492   &_swigt__p_p_svn_ra_reporter2_t,
16493   &_swigt__p_p_svn_ra_reporter3_t,
16494   &_swigt__p_p_svn_ra_reporter_t,
16495   &_swigt__p_p_svn_ra_session_t,
16496   &_swigt__p_p_svn_stream_t,
16497   &_swigt__p_p_svn_string_t,
16498   &_swigt__p_p_svn_stringbuf_t,
16499   &_swigt__p_p_void,
16500   &_swigt__p_svn_auth_baton_t,
16501   &_swigt__p_svn_auth_cred_simple_t,
16502   &_swigt__p_svn_auth_cred_ssl_client_cert_pw_t,
16503   &_swigt__p_svn_auth_cred_ssl_client_cert_t,
16504   &_swigt__p_svn_auth_cred_ssl_server_trust_t,
16505   &_swigt__p_svn_auth_cred_username_t,
16506   &_swigt__p_svn_auth_iterstate_t,
16507   &_swigt__p_svn_auth_provider_object_t,
16508   &_swigt__p_svn_auth_provider_t,
16509   &_swigt__p_svn_auth_ssl_server_cert_info_t,
16510   &_swigt__p_svn_cache_config_t,
16511   &_swigt__p_svn_checksum_ctx_t,
16512   &_swigt__p_svn_checksum_kind_t,
16513   &_swigt__p_svn_checksum_t,
16514   &_swigt__p_svn_commit_info_t,
16515   &_swigt__p_svn_config_t,
16516   &_swigt__p_svn_delta_editor_t,
16517   &_swigt__p_svn_delta_path_driver_state_t,
16518   &_swigt__p_svn_depth_t,
16519   &_swigt__p_svn_diff_binary_patch_t,
16520   &_swigt__p_svn_diff_conflict_display_style_t,
16521   &_swigt__p_svn_diff_datasource_e,
16522   &_swigt__p_svn_diff_file_ignore_space_t,
16523   &_swigt__p_svn_diff_file_options_t,
16524   &_swigt__p_svn_diff_fns2_t,
16525   &_swigt__p_svn_diff_fns_t,
16526   &_swigt__p_svn_diff_hunk_t,
16527   &_swigt__p_svn_diff_operation_kind_e,
16528   &_swigt__p_svn_diff_output_fns_t,
16529   &_swigt__p_svn_diff_t,
16530   &_swigt__p_svn_dirent_t,
16531   &_swigt__p_svn_errno_t,
16532   &_swigt__p_svn_error_t,
16533   &_swigt__p_svn_io_dirent2_t,
16534   &_swigt__p_svn_io_dirent_t,
16535   &_swigt__p_svn_io_file_del_t,
16536   &_swigt__p_svn_location_segment_t,
16537   &_swigt__p_svn_lock_t,
16538   &_swigt__p_svn_log_changed_path2_t,
16539   &_swigt__p_svn_log_changed_path_t,
16540   &_swigt__p_svn_log_entry_t,
16541   &_swigt__p_svn_merge_range_t,
16542   &_swigt__p_svn_mergeinfo_inheritance_t,
16543   &_swigt__p_svn_node_kind_t,
16544   &_swigt__p_svn_opt_revision_range_t,
16545   &_swigt__p_svn_opt_revision_t,
16546   &_swigt__p_svn_opt_revision_value_t,
16547   &_swigt__p_svn_opt_subcommand_desc2_t,
16548   &_swigt__p_svn_opt_subcommand_desc3_t,
16549   &_swigt__p_svn_opt_subcommand_desc_t,
16550   &_swigt__p_svn_patch_file_t,
16551   &_swigt__p_svn_patch_t,
16552   &_swigt__p_svn_prop_inherited_item_t,
16553   &_swigt__p_svn_prop_kind,
16554   &_swigt__p_svn_prop_patch_t,
16555   &_swigt__p_svn_ra_callbacks2_t,
16556   &_swigt__p_svn_ra_callbacks_t,
16557   &_swigt__p_svn_ra_plugin_t,
16558   &_swigt__p_svn_ra_reporter2_t,
16559   &_swigt__p_svn_ra_reporter3_t,
16560   &_swigt__p_svn_ra_reporter_t,
16561   &_swigt__p_svn_ra_session_t,
16562   &_swigt__p_svn_stream_mark_t,
16563   &_swigt__p_svn_stream_t,
16564   &_swigt__p_svn_string_t,
16565   &_swigt__p_svn_stringbuf_t,
16566   &_swigt__p_svn_tristate_t,
16567   &_swigt__p_svn_txdelta_op_t,
16568   &_swigt__p_svn_txdelta_stream_t,
16569   &_swigt__p_svn_txdelta_window_t,
16570   &_swigt__p_svn_version_checklist_t,
16571   &_swigt__p_svn_version_ext_linked_lib_t,
16572   &_swigt__p_svn_version_ext_loaded_lib_t,
16573   &_swigt__p_svn_version_extended_t,
16574   &_swigt__p_svn_version_t,
16575   &_swigt__p_unsigned_long,
16576   &_swigt__p_void,
16577 };
16578 
16579 static swig_cast_info _swigc__p_apr_array_header_t[] = {  {&_swigt__p_apr_array_header_t, 0, 0, 0},{0, 0, 0, 0}};
16580 static swig_cast_info _swigc__p_apr_file_t[] = {  {&_swigt__p_apr_file_t, 0, 0, 0},{0, 0, 0, 0}};
16581 static swig_cast_info _swigc__p_apr_hash_t[] = {  {&_swigt__p_apr_hash_t, 0, 0, 0},{0, 0, 0, 0}};
16582 static swig_cast_info _swigc__p_apr_int32_t[] = {  {&_swigt__p_apr_int32_t, 0, 0, 0},{0, 0, 0, 0}};
16583 static swig_cast_info _swigc__p_apr_int64_t[] = {  {&_swigt__p_apr_int64_t, 0, 0, 0},{0, 0, 0, 0}};
16584 static swig_cast_info _swigc__p_apr_off_t[] = {  {&_swigt__p_apr_off_t, 0, 0, 0},{0, 0, 0, 0}};
16585 static swig_cast_info _swigc__p_apr_pool_t[] = {  {&_swigt__p_apr_pool_t, 0, 0, 0},{0, 0, 0, 0}};
16586 static swig_cast_info _swigc__p_char[] = {  {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
16587 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}};
16588 static swig_cast_info _swigc__p_f_int_p_apr_pool_t_p_apr_hash_t__p_svn_error_t[] = {  {&_swigt__p_f_int_p_apr_pool_t_p_apr_hash_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16589 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}};
16590 static swig_cast_info _swigc__p_f_p_p_apr_file_t_p_void_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_p_apr_file_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16591 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}};
16592 static swig_cast_info _swigc__p_f_p_p_void_p_q_const__char_p_q_const__svn_ra_callbacks_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_p_void_p_q_const__char_p_q_const__svn_ra_callbacks_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16593 static swig_cast_info _swigc__p_f_p_q_const__char_p_svn_dirent_t_p_void_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_q_const__char_p_svn_dirent_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16594 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}};
16595 static swig_cast_info _swigc__p_f_p_svn_location_segment_t_p_void_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_svn_location_segment_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16596 static swig_cast_info _swigc__p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t[] = {  {&_swigt__p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16597 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}};
16598 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}};
16599 static swig_cast_info _swigc__p_f_p_void_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16600 static swig_cast_info _swigc__p_f_p_void_p_p_apr_hash_t_p_q_const__char_svn_revnum_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_p_apr_hash_t_p_q_const__char_svn_revnum_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16601 static swig_cast_info _swigc__p_f_p_void_p_p_q_const__char_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16602 static swig_cast_info _swigc__p_f_p_void_p_p_q_const__svn_delta_editor_t_p_p_void_p_q_const__char_svn_commit_callback_t_p_void_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_p_q_const__svn_delta_editor_t_p_p_void_p_q_const__char_svn_commit_callback_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16603 static swig_cast_info _swigc__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16604 static swig_cast_info _swigc__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16605 static swig_cast_info _swigc__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16606 static swig_cast_info _swigc__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16607 static swig_cast_info _swigc__p_f_p_void_p_p_svn_stream_t_p_q_const__svn_checksum_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_p_svn_stream_t_p_q_const__svn_checksum_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16608 static swig_cast_info _swigc__p_f_p_void_p_q_const__apr_array_header_t_svn_revnum_t_svn_revnum_t_svn_boolean_t_svn_boolean_t_svn_log_message_receiver_t_p_void_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__apr_array_header_t_svn_revnum_t_svn_revnum_t_svn_boolean_t_svn_boolean_t_svn_log_message_receiver_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16609 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}};
16610 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16611 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}};
16612 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_q_const__char_p_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__char_p_q_const__char_p_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16613 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__char_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16614 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16615 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_boolean_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__char_svn_revnum_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16616 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_depth_t_svn_boolean_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__char_svn_revnum_t_svn_depth_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16617 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_svn_boolean_t_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__char_svn_boolean_t_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16618 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16619 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_svn_boolean_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_svn_boolean_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16620 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_svn_revnum_t_p_p_apr_hash_t_p_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__char_svn_revnum_t_p_p_apr_hash_t_p_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16621 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_svn_revnum_t_p_svn_node_kind_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__char_svn_revnum_t_p_svn_node_kind_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16622 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_svn_revnum_t_p_svn_stream_t_p_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__char_svn_revnum_t_p_svn_stream_t_p_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16623 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16624 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16625 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_svn_revnum_t_svn_depth_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__char_svn_revnum_t_svn_depth_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16626 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_svn_revnum_t_svn_revnum_t_svn_ra_file_rev_handler_t_p_void_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_q_const__char_svn_revnum_t_svn_revnum_t_svn_ra_file_rev_handler_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16627 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}};
16628 static swig_cast_info _swigc__p_f_p_void_p_svn_revnum_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_svn_revnum_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16629 static swig_cast_info _swigc__p_f_p_void_p_svn_revnum_t_apr_time_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_svn_revnum_t_apr_time_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16630 static swig_cast_info _swigc__p_f_p_void_p_svn_revnum_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_svn_revnum_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16631 static swig_cast_info _swigc__p_f_p_void_p_void__void[] = {  {&_swigt__p_f_p_void_p_void__void, 0, 0, 0},{0, 0, 0, 0}};
16632 static swig_cast_info _swigc__p_f_p_void_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16633 static swig_cast_info _swigc__p_f_p_void_svn_revnum_t_p_q_const__char_p_p_svn_string_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_svn_revnum_t_p_q_const__char_p_p_svn_string_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16634 static swig_cast_info _swigc__p_f_p_void_svn_revnum_t_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_svn_revnum_t_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16635 static swig_cast_info _swigc__p_f_svn_revnum_t_p_q_const__char_p_q_const__char_p_void__p_svn_error_t[] = {  {&_swigt__p_f_svn_revnum_t_p_q_const__char_p_q_const__char_p_void__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16636 static swig_cast_info _swigc__p_f_svn_revnum_t_p_void_p_p_q_const__svn_delta_editor_t_p_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_svn_revnum_t_p_void_p_p_q_const__svn_delta_editor_t_p_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16637 static swig_cast_info _swigc__p_f_svn_revnum_t_p_void_p_q_const__svn_delta_editor_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_svn_revnum_t_p_void_p_q_const__svn_delta_editor_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16638 static swig_cast_info _swigc__p_f_void__p_svn_version_t[] = {  {&_swigt__p_f_void__p_svn_version_t, 0, 0, 0},{0, 0, 0, 0}};
16639 static swig_cast_info _swigc__p_int[] = {  {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
16640 static swig_cast_info _swigc__p_long[] = {  {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
16641 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}};
16642 static swig_cast_info _swigc__p_p_apr_file_t[] = {  {&_swigt__p_p_apr_file_t, 0, 0, 0},{0, 0, 0, 0}};
16643 static swig_cast_info _swigc__p_p_apr_hash_t[] = {  {&_swigt__p_p_apr_hash_t, 0, 0, 0},{0, 0, 0, 0}};
16644 static swig_cast_info _swigc__p_p_char[] = {  {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}};
16645 static swig_cast_info _swigc__p_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t[] = {  {&_swigt__p_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16646 static swig_cast_info _swigc__p_p_f_p_void_p_void__void[] = {  {&_swigt__p_p_f_p_void_p_void__void, 0, 0, 0},{0, 0, 0, 0}};
16647 static swig_cast_info _swigc__p_p_svn_delta_editor_t[] = {  {&_swigt__p_p_svn_delta_editor_t, 0, 0, 0},{0, 0, 0, 0}};
16648 static swig_cast_info _swigc__p_p_svn_dirent_t[] = {  {&_swigt__p_p_svn_dirent_t, 0, 0, 0},{0, 0, 0, 0}};
16649 static swig_cast_info _swigc__p_p_svn_lock_t[] = {  {&_swigt__p_p_svn_lock_t, 0, 0, 0},{0, 0, 0, 0}};
16650 static swig_cast_info _swigc__p_p_svn_ra_callbacks2_t[] = {  {&_swigt__p_p_svn_ra_callbacks2_t, 0, 0, 0},{0, 0, 0, 0}};
16651 static swig_cast_info _swigc__p_p_svn_ra_plugin_t[] = {  {&_swigt__p_p_svn_ra_plugin_t, 0, 0, 0},{0, 0, 0, 0}};
16652 static swig_cast_info _swigc__p_p_svn_ra_reporter2_t[] = {  {&_swigt__p_p_svn_ra_reporter2_t, 0, 0, 0},{0, 0, 0, 0}};
16653 static swig_cast_info _swigc__p_p_svn_ra_reporter3_t[] = {  {&_swigt__p_p_svn_ra_reporter3_t, 0, 0, 0},{0, 0, 0, 0}};
16654 static swig_cast_info _swigc__p_p_svn_ra_reporter_t[] = {  {&_swigt__p_p_svn_ra_reporter_t, 0, 0, 0},{0, 0, 0, 0}};
16655 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}};
16656 static swig_cast_info _swigc__p_p_svn_stream_t[] = {  {&_swigt__p_p_svn_stream_t, 0, 0, 0},{0, 0, 0, 0}};
16657 static swig_cast_info _swigc__p_p_svn_string_t[] = {  {&_swigt__p_p_svn_string_t, 0, 0, 0},{0, 0, 0, 0}};
16658 static swig_cast_info _swigc__p_p_svn_stringbuf_t[] = {  {&_swigt__p_p_svn_stringbuf_t, 0, 0, 0},{0, 0, 0, 0}};
16659 static swig_cast_info _swigc__p_p_void[] = {  {&_swigt__p_p_void, 0, 0, 0},{0, 0, 0, 0}};
16660 static swig_cast_info _swigc__p_svn_auth_baton_t[] = {  {&_swigt__p_svn_auth_baton_t, 0, 0, 0},{0, 0, 0, 0}};
16661 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}};
16662 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}};
16663 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}};
16664 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}};
16665 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}};
16666 static swig_cast_info _swigc__p_svn_auth_iterstate_t[] = {  {&_swigt__p_svn_auth_iterstate_t, 0, 0, 0},{0, 0, 0, 0}};
16667 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}};
16668 static swig_cast_info _swigc__p_svn_auth_provider_t[] = {  {&_swigt__p_svn_auth_provider_t, 0, 0, 0},{0, 0, 0, 0}};
16669 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}};
16670 static swig_cast_info _swigc__p_svn_cache_config_t[] = {  {&_swigt__p_svn_cache_config_t, 0, 0, 0},{0, 0, 0, 0}};
16671 static swig_cast_info _swigc__p_svn_checksum_ctx_t[] = {  {&_swigt__p_svn_checksum_ctx_t, 0, 0, 0},{0, 0, 0, 0}};
16672 static swig_cast_info _swigc__p_svn_checksum_kind_t[] = {  {&_swigt__p_svn_checksum_kind_t, 0, 0, 0},{0, 0, 0, 0}};
16673 static swig_cast_info _swigc__p_svn_checksum_t[] = {  {&_swigt__p_svn_checksum_t, 0, 0, 0},{0, 0, 0, 0}};
16674 static swig_cast_info _swigc__p_svn_commit_info_t[] = {  {&_swigt__p_svn_commit_info_t, 0, 0, 0},{0, 0, 0, 0}};
16675 static swig_cast_info _swigc__p_svn_config_t[] = {  {&_swigt__p_svn_config_t, 0, 0, 0},{0, 0, 0, 0}};
16676 static swig_cast_info _swigc__p_svn_delta_editor_t[] = {  {&_swigt__p_svn_delta_editor_t, 0, 0, 0},{0, 0, 0, 0}};
16677 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}};
16678 static swig_cast_info _swigc__p_svn_depth_t[] = {  {&_swigt__p_svn_depth_t, 0, 0, 0},{0, 0, 0, 0}};
16679 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}};
16680 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}};
16681 static swig_cast_info _swigc__p_svn_diff_datasource_e[] = {  {&_swigt__p_svn_diff_datasource_e, 0, 0, 0},{0, 0, 0, 0}};
16682 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}};
16683 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}};
16684 static swig_cast_info _swigc__p_svn_diff_fns2_t[] = {  {&_swigt__p_svn_diff_fns2_t, 0, 0, 0},{0, 0, 0, 0}};
16685 static swig_cast_info _swigc__p_svn_diff_fns_t[] = {  {&_swigt__p_svn_diff_fns_t, 0, 0, 0},{0, 0, 0, 0}};
16686 static swig_cast_info _swigc__p_svn_diff_hunk_t[] = {  {&_swigt__p_svn_diff_hunk_t, 0, 0, 0},{0, 0, 0, 0}};
16687 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}};
16688 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}};
16689 static swig_cast_info _swigc__p_svn_diff_t[] = {  {&_swigt__p_svn_diff_t, 0, 0, 0},{0, 0, 0, 0}};
16690 static swig_cast_info _swigc__p_svn_dirent_t[] = {  {&_swigt__p_svn_dirent_t, 0, 0, 0},{0, 0, 0, 0}};
16691 static swig_cast_info _swigc__p_svn_errno_t[] = {  {&_swigt__p_svn_errno_t, 0, 0, 0},{0, 0, 0, 0}};
16692 static swig_cast_info _swigc__p_svn_error_t[] = {  {&_swigt__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16693 static swig_cast_info _swigc__p_svn_io_dirent2_t[] = {  {&_swigt__p_svn_io_dirent2_t, 0, 0, 0},{0, 0, 0, 0}};
16694 static swig_cast_info _swigc__p_svn_io_dirent_t[] = {  {&_swigt__p_svn_io_dirent_t, 0, 0, 0},{0, 0, 0, 0}};
16695 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}};
16696 static swig_cast_info _swigc__p_svn_location_segment_t[] = {  {&_swigt__p_svn_location_segment_t, 0, 0, 0},{0, 0, 0, 0}};
16697 static swig_cast_info _swigc__p_svn_lock_t[] = {  {&_swigt__p_svn_lock_t, 0, 0, 0},{0, 0, 0, 0}};
16698 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}};
16699 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}};
16700 static swig_cast_info _swigc__p_svn_log_entry_t[] = {  {&_swigt__p_svn_log_entry_t, 0, 0, 0},{0, 0, 0, 0}};
16701 static swig_cast_info _swigc__p_svn_merge_range_t[] = {  {&_swigt__p_svn_merge_range_t, 0, 0, 0},{0, 0, 0, 0}};
16702 static swig_cast_info _swigc__p_svn_mergeinfo_inheritance_t[] = {  {&_swigt__p_svn_mergeinfo_inheritance_t, 0, 0, 0},{0, 0, 0, 0}};
16703 static swig_cast_info _swigc__p_svn_node_kind_t[] = {  {&_swigt__p_svn_node_kind_t, 0, 0, 0},{0, 0, 0, 0}};
16704 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}};
16705 static swig_cast_info _swigc__p_svn_opt_revision_t[] = {  {&_swigt__p_svn_opt_revision_t, 0, 0, 0},{0, 0, 0, 0}};
16706 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}};
16707 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}};
16708 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}};
16709 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}};
16710 static swig_cast_info _swigc__p_svn_patch_file_t[] = {  {&_swigt__p_svn_patch_file_t, 0, 0, 0},{0, 0, 0, 0}};
16711 static swig_cast_info _swigc__p_svn_patch_t[] = {  {&_swigt__p_svn_patch_t, 0, 0, 0},{0, 0, 0, 0}};
16712 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}};
16713 static swig_cast_info _swigc__p_svn_prop_kind[] = {  {&_swigt__p_svn_prop_kind, 0, 0, 0},{0, 0, 0, 0}};
16714 static swig_cast_info _swigc__p_svn_prop_patch_t[] = {  {&_swigt__p_svn_prop_patch_t, 0, 0, 0},{0, 0, 0, 0}};
16715 static swig_cast_info _swigc__p_svn_ra_callbacks2_t[] = {  {&_swigt__p_svn_ra_callbacks2_t, 0, 0, 0},{0, 0, 0, 0}};
16716 static swig_cast_info _swigc__p_svn_ra_callbacks_t[] = {  {&_swigt__p_svn_ra_callbacks_t, 0, 0, 0},{0, 0, 0, 0}};
16717 static swig_cast_info _swigc__p_svn_ra_plugin_t[] = {  {&_swigt__p_svn_ra_plugin_t, 0, 0, 0},{0, 0, 0, 0}};
16718 static swig_cast_info _swigc__p_svn_ra_reporter2_t[] = {  {&_swigt__p_svn_ra_reporter2_t, 0, 0, 0},{0, 0, 0, 0}};
16719 static swig_cast_info _swigc__p_svn_ra_reporter3_t[] = {  {&_swigt__p_svn_ra_reporter3_t, 0, 0, 0},{0, 0, 0, 0}};
16720 static swig_cast_info _swigc__p_svn_ra_reporter_t[] = {  {&_swigt__p_svn_ra_reporter_t, 0, 0, 0},{0, 0, 0, 0}};
16721 static swig_cast_info _swigc__p_svn_ra_session_t[] = {  {&_swigt__p_svn_ra_session_t, 0, 0, 0},{0, 0, 0, 0}};
16722 static swig_cast_info _swigc__p_svn_stream_mark_t[] = {  {&_swigt__p_svn_stream_mark_t, 0, 0, 0},{0, 0, 0, 0}};
16723 static swig_cast_info _swigc__p_svn_stream_t[] = {  {&_swigt__p_svn_stream_t, 0, 0, 0},{0, 0, 0, 0}};
16724 static swig_cast_info _swigc__p_svn_string_t[] = {  {&_swigt__p_svn_string_t, 0, 0, 0},{0, 0, 0, 0}};
16725 static swig_cast_info _swigc__p_svn_stringbuf_t[] = {  {&_swigt__p_svn_stringbuf_t, 0, 0, 0},{0, 0, 0, 0}};
16726 static swig_cast_info _swigc__p_svn_tristate_t[] = {  {&_swigt__p_svn_tristate_t, 0, 0, 0},{0, 0, 0, 0}};
16727 static swig_cast_info _swigc__p_svn_txdelta_op_t[] = {  {&_swigt__p_svn_txdelta_op_t, 0, 0, 0},{0, 0, 0, 0}};
16728 static swig_cast_info _swigc__p_svn_txdelta_stream_t[] = {  {&_swigt__p_svn_txdelta_stream_t, 0, 0, 0},{0, 0, 0, 0}};
16729 static swig_cast_info _swigc__p_svn_txdelta_window_t[] = {  {&_swigt__p_svn_txdelta_window_t, 0, 0, 0},{0, 0, 0, 0}};
16730 static swig_cast_info _swigc__p_svn_version_checklist_t[] = {  {&_swigt__p_svn_version_checklist_t, 0, 0, 0},{0, 0, 0, 0}};
16731 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}};
16732 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}};
16733 static swig_cast_info _swigc__p_svn_version_extended_t[] = {  {&_swigt__p_svn_version_extended_t, 0, 0, 0},{0, 0, 0, 0}};
16734 static swig_cast_info _swigc__p_svn_version_t[] = {  {&_swigt__p_svn_version_t, 0, 0, 0},{0, 0, 0, 0}};
16735 static swig_cast_info _swigc__p_unsigned_long[] = {  {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
16736 static swig_cast_info _swigc__p_void[] = {  {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
16737 
16738 static swig_cast_info *swig_cast_initial[] = {
16739   _swigc__p_apr_array_header_t,
16740   _swigc__p_apr_file_t,
16741   _swigc__p_apr_hash_t,
16742   _swigc__p_apr_int32_t,
16743   _swigc__p_apr_int64_t,
16744   _swigc__p_apr_off_t,
16745   _swigc__p_apr_pool_t,
16746   _swigc__p_char,
16747   _swigc__p_f_apr_off_t_apr_off_t_p_void_p_apr_pool_t__void,
16748   _swigc__p_f_int_p_apr_pool_t_p_apr_hash_t__p_svn_error_t,
16749   _swigc__p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t,
16750   _swigc__p_f_p_p_apr_file_t_p_void_p_apr_pool_t__p_svn_error_t,
16751   _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,
16752   _swigc__p_f_p_p_void_p_q_const__char_p_q_const__svn_ra_callbacks_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t,
16753   _swigc__p_f_p_q_const__char_p_svn_dirent_t_p_void_p_apr_pool_t__p_svn_error_t,
16754   _swigc__p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t,
16755   _swigc__p_f_p_svn_location_segment_t_p_void_p_apr_pool_t__p_svn_error_t,
16756   _swigc__p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t,
16757   _swigc__p_f_p_void__p_svn_error_t,
16758   _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,
16759   _swigc__p_f_p_void_p_apr_pool_t__p_svn_error_t,
16760   _swigc__p_f_p_void_p_p_apr_hash_t_p_q_const__char_svn_revnum_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t,
16761   _swigc__p_f_p_void_p_p_q_const__char_p_apr_pool_t__p_svn_error_t,
16762   _swigc__p_f_p_void_p_p_q_const__svn_delta_editor_t_p_p_void_p_q_const__char_svn_commit_callback_t_p_void_p_apr_pool_t__p_svn_error_t,
16763   _swigc__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t,
16764   _swigc__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t,
16765   _swigc__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t,
16766   _swigc__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t,
16767   _swigc__p_f_p_void_p_p_svn_stream_t_p_q_const__svn_checksum_t_p_apr_pool_t__p_svn_error_t,
16768   _swigc__p_f_p_void_p_q_const__apr_array_header_t_svn_revnum_t_svn_revnum_t_svn_boolean_t_svn_boolean_t_svn_log_message_receiver_t_p_void_p_apr_pool_t__p_svn_error_t,
16769   _swigc__p_f_p_void_p_q_const__char__int,
16770   _swigc__p_f_p_void_p_q_const__char_p_apr_pool_t__p_svn_error_t,
16771   _swigc__p_f_p_void_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t,
16772   _swigc__p_f_p_void_p_q_const__char_p_q_const__char_p_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t,
16773   _swigc__p_f_p_void_p_q_const__char_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t,
16774   _swigc__p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t,
16775   _swigc__p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t,
16776   _swigc__p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_depth_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t,
16777   _swigc__p_f_p_void_p_q_const__char_svn_boolean_t_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t,
16778   _swigc__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t,
16779   _swigc__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_svn_boolean_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t,
16780   _swigc__p_f_p_void_p_q_const__char_svn_revnum_t_p_p_apr_hash_t_p_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t,
16781   _swigc__p_f_p_void_p_q_const__char_svn_revnum_t_p_svn_node_kind_t_p_apr_pool_t__p_svn_error_t,
16782   _swigc__p_f_p_void_p_q_const__char_svn_revnum_t_p_svn_stream_t_p_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t,
16783   _swigc__p_f_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t,
16784   _swigc__p_f_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t,
16785   _swigc__p_f_p_void_p_q_const__char_svn_revnum_t_svn_depth_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t,
16786   _swigc__p_f_p_void_p_q_const__char_svn_revnum_t_svn_revnum_t_svn_ra_file_rev_handler_t_p_void_p_apr_pool_t__p_svn_error_t,
16787   _swigc__p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t,
16788   _swigc__p_f_p_void_p_svn_revnum_t__p_svn_error_t,
16789   _swigc__p_f_p_void_p_svn_revnum_t_apr_time_t_p_apr_pool_t__p_svn_error_t,
16790   _swigc__p_f_p_void_p_svn_revnum_t_p_apr_pool_t__p_svn_error_t,
16791   _swigc__p_f_p_void_p_void__void,
16792   _swigc__p_f_p_void_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t,
16793   _swigc__p_f_p_void_svn_revnum_t_p_q_const__char_p_p_svn_string_t_p_apr_pool_t__p_svn_error_t,
16794   _swigc__p_f_p_void_svn_revnum_t_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t,
16795   _swigc__p_f_svn_revnum_t_p_q_const__char_p_q_const__char_p_void__p_svn_error_t,
16796   _swigc__p_f_svn_revnum_t_p_void_p_p_q_const__svn_delta_editor_t_p_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t,
16797   _swigc__p_f_svn_revnum_t_p_void_p_q_const__svn_delta_editor_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t,
16798   _swigc__p_f_void__p_svn_version_t,
16799   _swigc__p_int,
16800   _swigc__p_long,
16801   _swigc__p_p_apr_array_header_t,
16802   _swigc__p_p_apr_file_t,
16803   _swigc__p_p_apr_hash_t,
16804   _swigc__p_p_char,
16805   _swigc__p_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t,
16806   _swigc__p_p_f_p_void_p_void__void,
16807   _swigc__p_p_svn_delta_editor_t,
16808   _swigc__p_p_svn_dirent_t,
16809   _swigc__p_p_svn_lock_t,
16810   _swigc__p_p_svn_ra_callbacks2_t,
16811   _swigc__p_p_svn_ra_plugin_t,
16812   _swigc__p_p_svn_ra_reporter2_t,
16813   _swigc__p_p_svn_ra_reporter3_t,
16814   _swigc__p_p_svn_ra_reporter_t,
16815   _swigc__p_p_svn_ra_session_t,
16816   _swigc__p_p_svn_stream_t,
16817   _swigc__p_p_svn_string_t,
16818   _swigc__p_p_svn_stringbuf_t,
16819   _swigc__p_p_void,
16820   _swigc__p_svn_auth_baton_t,
16821   _swigc__p_svn_auth_cred_simple_t,
16822   _swigc__p_svn_auth_cred_ssl_client_cert_pw_t,
16823   _swigc__p_svn_auth_cred_ssl_client_cert_t,
16824   _swigc__p_svn_auth_cred_ssl_server_trust_t,
16825   _swigc__p_svn_auth_cred_username_t,
16826   _swigc__p_svn_auth_iterstate_t,
16827   _swigc__p_svn_auth_provider_object_t,
16828   _swigc__p_svn_auth_provider_t,
16829   _swigc__p_svn_auth_ssl_server_cert_info_t,
16830   _swigc__p_svn_cache_config_t,
16831   _swigc__p_svn_checksum_ctx_t,
16832   _swigc__p_svn_checksum_kind_t,
16833   _swigc__p_svn_checksum_t,
16834   _swigc__p_svn_commit_info_t,
16835   _swigc__p_svn_config_t,
16836   _swigc__p_svn_delta_editor_t,
16837   _swigc__p_svn_delta_path_driver_state_t,
16838   _swigc__p_svn_depth_t,
16839   _swigc__p_svn_diff_binary_patch_t,
16840   _swigc__p_svn_diff_conflict_display_style_t,
16841   _swigc__p_svn_diff_datasource_e,
16842   _swigc__p_svn_diff_file_ignore_space_t,
16843   _swigc__p_svn_diff_file_options_t,
16844   _swigc__p_svn_diff_fns2_t,
16845   _swigc__p_svn_diff_fns_t,
16846   _swigc__p_svn_diff_hunk_t,
16847   _swigc__p_svn_diff_operation_kind_e,
16848   _swigc__p_svn_diff_output_fns_t,
16849   _swigc__p_svn_diff_t,
16850   _swigc__p_svn_dirent_t,
16851   _swigc__p_svn_errno_t,
16852   _swigc__p_svn_error_t,
16853   _swigc__p_svn_io_dirent2_t,
16854   _swigc__p_svn_io_dirent_t,
16855   _swigc__p_svn_io_file_del_t,
16856   _swigc__p_svn_location_segment_t,
16857   _swigc__p_svn_lock_t,
16858   _swigc__p_svn_log_changed_path2_t,
16859   _swigc__p_svn_log_changed_path_t,
16860   _swigc__p_svn_log_entry_t,
16861   _swigc__p_svn_merge_range_t,
16862   _swigc__p_svn_mergeinfo_inheritance_t,
16863   _swigc__p_svn_node_kind_t,
16864   _swigc__p_svn_opt_revision_range_t,
16865   _swigc__p_svn_opt_revision_t,
16866   _swigc__p_svn_opt_revision_value_t,
16867   _swigc__p_svn_opt_subcommand_desc2_t,
16868   _swigc__p_svn_opt_subcommand_desc3_t,
16869   _swigc__p_svn_opt_subcommand_desc_t,
16870   _swigc__p_svn_patch_file_t,
16871   _swigc__p_svn_patch_t,
16872   _swigc__p_svn_prop_inherited_item_t,
16873   _swigc__p_svn_prop_kind,
16874   _swigc__p_svn_prop_patch_t,
16875   _swigc__p_svn_ra_callbacks2_t,
16876   _swigc__p_svn_ra_callbacks_t,
16877   _swigc__p_svn_ra_plugin_t,
16878   _swigc__p_svn_ra_reporter2_t,
16879   _swigc__p_svn_ra_reporter3_t,
16880   _swigc__p_svn_ra_reporter_t,
16881   _swigc__p_svn_ra_session_t,
16882   _swigc__p_svn_stream_mark_t,
16883   _swigc__p_svn_stream_t,
16884   _swigc__p_svn_string_t,
16885   _swigc__p_svn_stringbuf_t,
16886   _swigc__p_svn_tristate_t,
16887   _swigc__p_svn_txdelta_op_t,
16888   _swigc__p_svn_txdelta_stream_t,
16889   _swigc__p_svn_txdelta_window_t,
16890   _swigc__p_svn_version_checklist_t,
16891   _swigc__p_svn_version_ext_linked_lib_t,
16892   _swigc__p_svn_version_ext_loaded_lib_t,
16893   _swigc__p_svn_version_extended_t,
16894   _swigc__p_svn_version_t,
16895   _swigc__p_unsigned_long,
16896   _swigc__p_void,
16897 };
16898 
16899 
16900 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
16901 
16902 /* -----------------------------------------------------------------------------
16903  * Type initialization:
16904  * This problem is tough by the requirement that no dynamic
16905  * memory is used. Also, since swig_type_info structures store pointers to
16906  * swig_cast_info structures and swig_cast_info structures store pointers back
16907  * to swig_type_info structures, we need some lookup code at initialization.
16908  * The idea is that swig generates all the structures that are needed.
16909  * The runtime then collects these partially filled structures.
16910  * The SWIG_InitializeModule function takes these initial arrays out of
16911  * swig_module, and does all the lookup, filling in the swig_module.types
16912  * array with the correct data and linking the correct swig_cast_info
16913  * structures together.
16914  *
16915  * The generated swig_type_info structures are assigned statically to an initial
16916  * array. We just loop through that array, and handle each type individually.
16917  * First we lookup if this type has been already loaded, and if so, use the
16918  * loaded structure instead of the generated one. Then we have to fill in the
16919  * cast linked list. The cast data is initially stored in something like a
16920  * two-dimensional array. Each row corresponds to a type (there are the same
16921  * number of rows as there are in the swig_type_initial array). Each entry in
16922  * a column is one of the swig_cast_info structures for that type.
16923  * The cast_initial array is actually an array of arrays, because each row has
16924  * a variable number of columns. So to actually build the cast linked list,
16925  * we find the array of casts associated with the type, and loop through it
16926  * adding the casts to the list. The one last trick we need to do is making
16927  * sure the type pointer in the swig_cast_info struct is correct.
16928  *
16929  * First off, we lookup the cast->type name to see if it is already loaded.
16930  * There are three cases to handle:
16931  *  1) If the cast->type has already been loaded AND the type we are adding
16932  *     casting info to has not been loaded (it is in this module), THEN we
16933  *     replace the cast->type pointer with the type pointer that has already
16934  *     been loaded.
16935  *  2) If BOTH types (the one we are adding casting info to, and the
16936  *     cast->type) are loaded, THEN the cast info has already been loaded by
16937  *     the previous module so we just ignore it.
16938  *  3) Finally, if cast->type has not already been loaded, then we add that
16939  *     swig_cast_info to the linked list (because the cast->type) pointer will
16940  *     be correct.
16941  * ----------------------------------------------------------------------------- */
16942 
16943 #ifdef __cplusplus
16944 extern "C" {
16945 #if 0
16946 } /* c-mode */
16947 #endif
16948 #endif
16949 
16950 #if 0
16951 #define SWIGRUNTIME_DEBUG
16952 #endif
16953 
16954 
16955 SWIGRUNTIME void
SWIG_InitializeModule(void * clientdata)16956 SWIG_InitializeModule(void *clientdata) {
16957   size_t i;
16958   swig_module_info *module_head, *iter;
16959   int init;
16960 
16961   /* check to see if the circular list has been setup, if not, set it up */
16962   if (swig_module.next==0) {
16963     /* Initialize the swig_module */
16964     swig_module.type_initial = swig_type_initial;
16965     swig_module.cast_initial = swig_cast_initial;
16966     swig_module.next = &swig_module;
16967     init = 1;
16968   } else {
16969     init = 0;
16970   }
16971 
16972   /* Try and load any already created modules */
16973   module_head = SWIG_GetModule(clientdata);
16974   if (!module_head) {
16975     /* This is the first module loaded for this interpreter */
16976     /* so set the swig module into the interpreter */
16977     SWIG_SetModule(clientdata, &swig_module);
16978   } else {
16979     /* the interpreter has loaded a SWIG module, but has it loaded this one? */
16980     iter=module_head;
16981     do {
16982       if (iter==&swig_module) {
16983         /* Our module is already in the list, so there's nothing more to do. */
16984         return;
16985       }
16986       iter=iter->next;
16987     } while (iter!= module_head);
16988 
16989     /* otherwise we must add our module into the list */
16990     swig_module.next = module_head->next;
16991     module_head->next = &swig_module;
16992   }
16993 
16994   /* When multiple interpreters are used, a module could have already been initialized in
16995      a different interpreter, but not yet have a pointer in this interpreter.
16996      In this case, we do not want to continue adding types... everything should be
16997      set up already */
16998   if (init == 0) return;
16999 
17000   /* Now work on filling in swig_module.types */
17001 #ifdef SWIGRUNTIME_DEBUG
17002   printf("SWIG_InitializeModule: size %d\n", swig_module.size);
17003 #endif
17004   for (i = 0; i < swig_module.size; ++i) {
17005     swig_type_info *type = 0;
17006     swig_type_info *ret;
17007     swig_cast_info *cast;
17008 
17009 #ifdef SWIGRUNTIME_DEBUG
17010     printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
17011 #endif
17012 
17013     /* if there is another module already loaded */
17014     if (swig_module.next != &swig_module) {
17015       type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
17016     }
17017     if (type) {
17018       /* Overwrite clientdata field */
17019 #ifdef SWIGRUNTIME_DEBUG
17020       printf("SWIG_InitializeModule: found type %s\n", type->name);
17021 #endif
17022       if (swig_module.type_initial[i]->clientdata) {
17023 	type->clientdata = swig_module.type_initial[i]->clientdata;
17024 #ifdef SWIGRUNTIME_DEBUG
17025       printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
17026 #endif
17027       }
17028     } else {
17029       type = swig_module.type_initial[i];
17030     }
17031 
17032     /* Insert casting types */
17033     cast = swig_module.cast_initial[i];
17034     while (cast->type) {
17035 
17036       /* Don't need to add information already in the list */
17037       ret = 0;
17038 #ifdef SWIGRUNTIME_DEBUG
17039       printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
17040 #endif
17041       if (swig_module.next != &swig_module) {
17042         ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
17043 #ifdef SWIGRUNTIME_DEBUG
17044 	if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
17045 #endif
17046       }
17047       if (ret) {
17048 	if (type == swig_module.type_initial[i]) {
17049 #ifdef SWIGRUNTIME_DEBUG
17050 	  printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
17051 #endif
17052 	  cast->type = ret;
17053 	  ret = 0;
17054 	} else {
17055 	  /* Check for casting already in the list */
17056 	  swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
17057 #ifdef SWIGRUNTIME_DEBUG
17058 	  if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
17059 #endif
17060 	  if (!ocast) ret = 0;
17061 	}
17062       }
17063 
17064       if (!ret) {
17065 #ifdef SWIGRUNTIME_DEBUG
17066 	printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
17067 #endif
17068         if (type->cast) {
17069           type->cast->prev = cast;
17070           cast->next = type->cast;
17071         }
17072         type->cast = cast;
17073       }
17074       cast++;
17075     }
17076     /* Set entry in modules->types array equal to the type */
17077     swig_module.types[i] = type;
17078   }
17079   swig_module.types[i] = 0;
17080 
17081 #ifdef SWIGRUNTIME_DEBUG
17082   printf("**** SWIG_InitializeModule: Cast List ******\n");
17083   for (i = 0; i < swig_module.size; ++i) {
17084     int j = 0;
17085     swig_cast_info *cast = swig_module.cast_initial[i];
17086     printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
17087     while (cast->type) {
17088       printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
17089       cast++;
17090       ++j;
17091     }
17092   printf("---- Total casts: %d\n",j);
17093   }
17094   printf("**** SWIG_InitializeModule: Cast List ******\n");
17095 #endif
17096 }
17097 
17098 /* This function will propagate the clientdata field of type to
17099 * any new swig_type_info structures that have been added into the list
17100 * of equivalent types.  It is like calling
17101 * SWIG_TypeClientData(type, clientdata) a second time.
17102 */
17103 SWIGRUNTIME void
SWIG_PropagateClientData(void)17104 SWIG_PropagateClientData(void) {
17105   size_t i;
17106   swig_cast_info *equiv;
17107   static int init_run = 0;
17108 
17109   if (init_run) return;
17110   init_run = 1;
17111 
17112   for (i = 0; i < swig_module.size; i++) {
17113     if (swig_module.types[i]->clientdata) {
17114       equiv = swig_module.types[i]->cast;
17115       while (equiv) {
17116         if (!equiv->converter) {
17117           if (equiv->type && !equiv->type->clientdata)
17118             SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
17119         }
17120         equiv = equiv->next;
17121       }
17122     }
17123   }
17124 }
17125 
17126 #ifdef __cplusplus
17127 #if 0
17128 { /* c-mode */
17129 #endif
17130 }
17131 #endif
17132 
17133 /*
17134 
17135 */
17136 #ifdef __cplusplus
17137 extern "C"
17138 #endif
Init_ra(void)17139 SWIGEXPORT void Init_ra(void) {
17140   size_t i;
17141 
17142   SWIG_InitRuntime();
17143   mRa = rb_define_module("Svn");
17144   mRa = rb_define_module_under(mRa, "Ext");
17145   mRa = rb_define_module_under(mRa, "Ra");
17146 
17147   SWIG_InitializeModule(0);
17148   for (i = 0; i < swig_module.size; i++) {
17149     SWIG_define_class(swig_module.types[i]);
17150   }
17151 
17152   SWIG_RubyInitializeTrackings();
17153   rb_require("svn/ext/core");
17154   rb_require("svn/ext/delta");
17155   rb_define_module_function(mRa, "svn_ra_version", _wrap_svn_ra_version, -1);
17156 
17157   SwigClassSvn_ra_reporter3_t.klass = rb_define_class_under(mRa, "Svn_ra_reporter3_t", rb_cObject);
17158   SWIG_TypeClientData(SWIGTYPE_p_svn_ra_reporter3_t, (void *) &SwigClassSvn_ra_reporter3_t);
17159   rb_define_alloc_func(SwigClassSvn_ra_reporter3_t.klass, _wrap_svn_ra_reporter3_t_allocate);
17160   rb_define_method(SwigClassSvn_ra_reporter3_t.klass, "initialize", _wrap_new_svn_ra_reporter3_t, -1);
17161   rb_define_method(SwigClassSvn_ra_reporter3_t.klass, "set_path=", _wrap_svn_ra_reporter3_t_set_path_set, -1);
17162   rb_define_method(SwigClassSvn_ra_reporter3_t.klass, "set_path", _wrap_svn_ra_reporter3_t_set_path_get, -1);
17163   rb_define_method(SwigClassSvn_ra_reporter3_t.klass, "delete_path=", _wrap_svn_ra_reporter3_t_delete_path_set, -1);
17164   rb_define_method(SwigClassSvn_ra_reporter3_t.klass, "delete_path", _wrap_svn_ra_reporter3_t_delete_path_get, -1);
17165   rb_define_method(SwigClassSvn_ra_reporter3_t.klass, "link_path=", _wrap_svn_ra_reporter3_t_link_path_set, -1);
17166   rb_define_method(SwigClassSvn_ra_reporter3_t.klass, "link_path", _wrap_svn_ra_reporter3_t_link_path_get, -1);
17167   rb_define_method(SwigClassSvn_ra_reporter3_t.klass, "finish_report=", _wrap_svn_ra_reporter3_t_finish_report_set, -1);
17168   rb_define_method(SwigClassSvn_ra_reporter3_t.klass, "finish_report", _wrap_svn_ra_reporter3_t_finish_report_get, -1);
17169   rb_define_method(SwigClassSvn_ra_reporter3_t.klass, "abort_report=", _wrap_svn_ra_reporter3_t_abort_report_set, -1);
17170   rb_define_method(SwigClassSvn_ra_reporter3_t.klass, "abort_report", _wrap_svn_ra_reporter3_t_abort_report_get, -1);
17171   SwigClassSvn_ra_reporter3_t.mark = 0;
17172   SwigClassSvn_ra_reporter3_t.destroy = (void (*)(void *)) free_svn_ra_reporter3_t;
17173   SwigClassSvn_ra_reporter3_t.trackObjects = 0;
17174 
17175   SwigClassSvn_ra_reporter2_t.klass = rb_define_class_under(mRa, "Svn_ra_reporter2_t", rb_cObject);
17176   SWIG_TypeClientData(SWIGTYPE_p_svn_ra_reporter2_t, (void *) &SwigClassSvn_ra_reporter2_t);
17177   rb_define_alloc_func(SwigClassSvn_ra_reporter2_t.klass, _wrap_svn_ra_reporter2_t_allocate);
17178   rb_define_method(SwigClassSvn_ra_reporter2_t.klass, "initialize", _wrap_new_svn_ra_reporter2_t, -1);
17179   rb_define_method(SwigClassSvn_ra_reporter2_t.klass, "set_path=", _wrap_svn_ra_reporter2_t_set_path_set, -1);
17180   rb_define_method(SwigClassSvn_ra_reporter2_t.klass, "set_path", _wrap_svn_ra_reporter2_t_set_path_get, -1);
17181   rb_define_method(SwigClassSvn_ra_reporter2_t.klass, "delete_path=", _wrap_svn_ra_reporter2_t_delete_path_set, -1);
17182   rb_define_method(SwigClassSvn_ra_reporter2_t.klass, "delete_path", _wrap_svn_ra_reporter2_t_delete_path_get, -1);
17183   rb_define_method(SwigClassSvn_ra_reporter2_t.klass, "link_path=", _wrap_svn_ra_reporter2_t_link_path_set, -1);
17184   rb_define_method(SwigClassSvn_ra_reporter2_t.klass, "link_path", _wrap_svn_ra_reporter2_t_link_path_get, -1);
17185   rb_define_method(SwigClassSvn_ra_reporter2_t.klass, "finish_report=", _wrap_svn_ra_reporter2_t_finish_report_set, -1);
17186   rb_define_method(SwigClassSvn_ra_reporter2_t.klass, "finish_report", _wrap_svn_ra_reporter2_t_finish_report_get, -1);
17187   rb_define_method(SwigClassSvn_ra_reporter2_t.klass, "abort_report=", _wrap_svn_ra_reporter2_t_abort_report_set, -1);
17188   rb_define_method(SwigClassSvn_ra_reporter2_t.klass, "abort_report", _wrap_svn_ra_reporter2_t_abort_report_get, -1);
17189   SwigClassSvn_ra_reporter2_t.mark = 0;
17190   SwigClassSvn_ra_reporter2_t.destroy = (void (*)(void *)) free_svn_ra_reporter2_t;
17191   SwigClassSvn_ra_reporter2_t.trackObjects = 0;
17192 
17193   SwigClassSvn_ra_reporter_t.klass = rb_define_class_under(mRa, "Svn_ra_reporter_t", rb_cObject);
17194   SWIG_TypeClientData(SWIGTYPE_p_svn_ra_reporter_t, (void *) &SwigClassSvn_ra_reporter_t);
17195   rb_define_alloc_func(SwigClassSvn_ra_reporter_t.klass, _wrap_svn_ra_reporter_t_allocate);
17196   rb_define_method(SwigClassSvn_ra_reporter_t.klass, "initialize", _wrap_new_svn_ra_reporter_t, -1);
17197   rb_define_method(SwigClassSvn_ra_reporter_t.klass, "set_path=", _wrap_svn_ra_reporter_t_set_path_set, -1);
17198   rb_define_method(SwigClassSvn_ra_reporter_t.klass, "set_path", _wrap_svn_ra_reporter_t_set_path_get, -1);
17199   rb_define_method(SwigClassSvn_ra_reporter_t.klass, "delete_path=", _wrap_svn_ra_reporter_t_delete_path_set, -1);
17200   rb_define_method(SwigClassSvn_ra_reporter_t.klass, "delete_path", _wrap_svn_ra_reporter_t_delete_path_get, -1);
17201   rb_define_method(SwigClassSvn_ra_reporter_t.klass, "link_path=", _wrap_svn_ra_reporter_t_link_path_set, -1);
17202   rb_define_method(SwigClassSvn_ra_reporter_t.klass, "link_path", _wrap_svn_ra_reporter_t_link_path_get, -1);
17203   rb_define_method(SwigClassSvn_ra_reporter_t.klass, "finish_report=", _wrap_svn_ra_reporter_t_finish_report_set, -1);
17204   rb_define_method(SwigClassSvn_ra_reporter_t.klass, "finish_report", _wrap_svn_ra_reporter_t_finish_report_get, -1);
17205   rb_define_method(SwigClassSvn_ra_reporter_t.klass, "abort_report=", _wrap_svn_ra_reporter_t_abort_report_set, -1);
17206   rb_define_method(SwigClassSvn_ra_reporter_t.klass, "abort_report", _wrap_svn_ra_reporter_t_abort_report_get, -1);
17207   SwigClassSvn_ra_reporter_t.mark = 0;
17208   SwigClassSvn_ra_reporter_t.destroy = (void (*)(void *)) free_svn_ra_reporter_t;
17209   SwigClassSvn_ra_reporter_t.trackObjects = 0;
17210 
17211   SwigClassSvn_ra_callbacks2_t.klass = rb_define_class_under(mRa, "Svn_ra_callbacks2_t", rb_cObject);
17212   SWIG_TypeClientData(SWIGTYPE_p_svn_ra_callbacks2_t, (void *) &SwigClassSvn_ra_callbacks2_t);
17213   rb_define_alloc_func(SwigClassSvn_ra_callbacks2_t.klass, _wrap_svn_ra_callbacks2_t_allocate);
17214   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "initialize", _wrap_new_svn_ra_callbacks2_t, -1);
17215   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "open_tmp_file=", _wrap_svn_ra_callbacks2_t_open_tmp_file_set, -1);
17216   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "open_tmp_file", _wrap_svn_ra_callbacks2_t_open_tmp_file_get, -1);
17217   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "auth_baton=", _wrap_svn_ra_callbacks2_t_auth_baton_set, -1);
17218   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "auth_baton", _wrap_svn_ra_callbacks2_t_auth_baton_get, -1);
17219   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "get_wc_prop=", _wrap_svn_ra_callbacks2_t_get_wc_prop_set, -1);
17220   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "get_wc_prop", _wrap_svn_ra_callbacks2_t_get_wc_prop_get, -1);
17221   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "set_wc_prop=", _wrap_svn_ra_callbacks2_t_set_wc_prop_set, -1);
17222   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "set_wc_prop", _wrap_svn_ra_callbacks2_t_set_wc_prop_get, -1);
17223   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "push_wc_prop=", _wrap_svn_ra_callbacks2_t_push_wc_prop_set, -1);
17224   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "push_wc_prop", _wrap_svn_ra_callbacks2_t_push_wc_prop_get, -1);
17225   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "invalidate_wc_props=", _wrap_svn_ra_callbacks2_t_invalidate_wc_props_set, -1);
17226   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "invalidate_wc_props", _wrap_svn_ra_callbacks2_t_invalidate_wc_props_get, -1);
17227   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "progress_func=", _wrap_svn_ra_callbacks2_t_progress_func_set, -1);
17228   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "progress_func", _wrap_svn_ra_callbacks2_t_progress_func_get, -1);
17229   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "progress_baton=", _wrap_svn_ra_callbacks2_t_progress_baton_set, -1);
17230   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "progress_baton", _wrap_svn_ra_callbacks2_t_progress_baton_get, -1);
17231   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "cancel_func=", _wrap_svn_ra_callbacks2_t_cancel_func_set, -1);
17232   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "cancel_func", _wrap_svn_ra_callbacks2_t_cancel_func_get, -1);
17233   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "get_client_string=", _wrap_svn_ra_callbacks2_t_get_client_string_set, -1);
17234   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "get_client_string", _wrap_svn_ra_callbacks2_t_get_client_string_get, -1);
17235   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "get_wc_contents=", _wrap_svn_ra_callbacks2_t_get_wc_contents_set, -1);
17236   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "get_wc_contents", _wrap_svn_ra_callbacks2_t_get_wc_contents_get, -1);
17237   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "check_tunnel_func=", _wrap_svn_ra_callbacks2_t_check_tunnel_func_set, -1);
17238   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "check_tunnel_func", _wrap_svn_ra_callbacks2_t_check_tunnel_func_get, -1);
17239   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "open_tunnel_func=", _wrap_svn_ra_callbacks2_t_open_tunnel_func_set, -1);
17240   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "open_tunnel_func", _wrap_svn_ra_callbacks2_t_open_tunnel_func_get, -1);
17241   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "tunnel_baton=", _wrap_svn_ra_callbacks2_t_tunnel_baton_set, -1);
17242   rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "tunnel_baton", _wrap_svn_ra_callbacks2_t_tunnel_baton_get, -1);
17243   SwigClassSvn_ra_callbacks2_t.mark = 0;
17244   SwigClassSvn_ra_callbacks2_t.destroy = (void (*)(void *)) free_svn_ra_callbacks2_t;
17245   SwigClassSvn_ra_callbacks2_t.trackObjects = 0;
17246 
17247   SwigClassSvn_ra_callbacks_t.klass = rb_define_class_under(mRa, "Svn_ra_callbacks_t", rb_cObject);
17248   SWIG_TypeClientData(SWIGTYPE_p_svn_ra_callbacks_t, (void *) &SwigClassSvn_ra_callbacks_t);
17249   rb_define_alloc_func(SwigClassSvn_ra_callbacks_t.klass, _wrap_svn_ra_callbacks_t_allocate);
17250   rb_define_method(SwigClassSvn_ra_callbacks_t.klass, "initialize", _wrap_new_svn_ra_callbacks_t, -1);
17251   rb_define_method(SwigClassSvn_ra_callbacks_t.klass, "open_tmp_file=", _wrap_svn_ra_callbacks_t_open_tmp_file_set, -1);
17252   rb_define_method(SwigClassSvn_ra_callbacks_t.klass, "open_tmp_file", _wrap_svn_ra_callbacks_t_open_tmp_file_get, -1);
17253   rb_define_method(SwigClassSvn_ra_callbacks_t.klass, "auth_baton=", _wrap_svn_ra_callbacks_t_auth_baton_set, -1);
17254   rb_define_method(SwigClassSvn_ra_callbacks_t.klass, "auth_baton", _wrap_svn_ra_callbacks_t_auth_baton_get, -1);
17255   rb_define_method(SwigClassSvn_ra_callbacks_t.klass, "get_wc_prop=", _wrap_svn_ra_callbacks_t_get_wc_prop_set, -1);
17256   rb_define_method(SwigClassSvn_ra_callbacks_t.klass, "get_wc_prop", _wrap_svn_ra_callbacks_t_get_wc_prop_get, -1);
17257   rb_define_method(SwigClassSvn_ra_callbacks_t.klass, "set_wc_prop=", _wrap_svn_ra_callbacks_t_set_wc_prop_set, -1);
17258   rb_define_method(SwigClassSvn_ra_callbacks_t.klass, "set_wc_prop", _wrap_svn_ra_callbacks_t_set_wc_prop_get, -1);
17259   rb_define_method(SwigClassSvn_ra_callbacks_t.klass, "push_wc_prop=", _wrap_svn_ra_callbacks_t_push_wc_prop_set, -1);
17260   rb_define_method(SwigClassSvn_ra_callbacks_t.klass, "push_wc_prop", _wrap_svn_ra_callbacks_t_push_wc_prop_get, -1);
17261   rb_define_method(SwigClassSvn_ra_callbacks_t.klass, "invalidate_wc_props=", _wrap_svn_ra_callbacks_t_invalidate_wc_props_set, -1);
17262   rb_define_method(SwigClassSvn_ra_callbacks_t.klass, "invalidate_wc_props", _wrap_svn_ra_callbacks_t_invalidate_wc_props_get, -1);
17263   SwigClassSvn_ra_callbacks_t.mark = 0;
17264   SwigClassSvn_ra_callbacks_t.destroy = (void (*)(void *)) free_svn_ra_callbacks_t;
17265   SwigClassSvn_ra_callbacks_t.trackObjects = 0;
17266   rb_define_module_function(mRa, "svn_ra_initialize", _wrap_svn_ra_initialize, -1);
17267   rb_define_module_function(mRa, "svn_ra_create_callbacks", _wrap_svn_ra_create_callbacks, -1);
17268   rb_define_module_function(mRa, "svn_ra_open5", _wrap_svn_ra_open5, -1);
17269   rb_define_module_function(mRa, "svn_ra_open4", _wrap_svn_ra_open4, -1);
17270   rb_define_module_function(mRa, "svn_ra_open3", _wrap_svn_ra_open3, -1);
17271   rb_define_module_function(mRa, "svn_ra_open2", _wrap_svn_ra_open2, -1);
17272   rb_define_module_function(mRa, "svn_ra_open", _wrap_svn_ra_open, -1);
17273   rb_define_module_function(mRa, "svn_ra_reparent", _wrap_svn_ra_reparent, -1);
17274   rb_define_module_function(mRa, "svn_ra_get_session_url", _wrap_svn_ra_get_session_url, -1);
17275   rb_define_module_function(mRa, "svn_ra_get_path_relative_to_session", _wrap_svn_ra_get_path_relative_to_session, -1);
17276   rb_define_module_function(mRa, "svn_ra_get_path_relative_to_root", _wrap_svn_ra_get_path_relative_to_root, -1);
17277   rb_define_module_function(mRa, "svn_ra_get_latest_revnum", _wrap_svn_ra_get_latest_revnum, -1);
17278   rb_define_module_function(mRa, "svn_ra_get_dated_revision", _wrap_svn_ra_get_dated_revision, -1);
17279   rb_define_module_function(mRa, "svn_ra_change_rev_prop2", _wrap_svn_ra_change_rev_prop2, -1);
17280   rb_define_module_function(mRa, "svn_ra_change_rev_prop", _wrap_svn_ra_change_rev_prop, -1);
17281   rb_define_module_function(mRa, "svn_ra_rev_proplist", _wrap_svn_ra_rev_proplist, -1);
17282   rb_define_module_function(mRa, "svn_ra_rev_prop", _wrap_svn_ra_rev_prop, -1);
17283   rb_define_module_function(mRa, "svn_ra_get_commit_editor3", _wrap_svn_ra_get_commit_editor3, -1);
17284   rb_define_module_function(mRa, "svn_ra_get_commit_editor2", _wrap_svn_ra_get_commit_editor2, -1);
17285   rb_define_module_function(mRa, "svn_ra_get_commit_editor", _wrap_svn_ra_get_commit_editor, -1);
17286   rb_define_module_function(mRa, "svn_ra_get_file", _wrap_svn_ra_get_file, -1);
17287   rb_define_module_function(mRa, "svn_ra_get_dir2", _wrap_svn_ra_get_dir2, -1);
17288   rb_define_module_function(mRa, "svn_ra_get_dir", _wrap_svn_ra_get_dir, -1);
17289   rb_define_module_function(mRa, "svn_ra_list", _wrap_svn_ra_list, -1);
17290   rb_define_module_function(mRa, "svn_ra_get_mergeinfo", _wrap_svn_ra_get_mergeinfo, -1);
17291   rb_define_module_function(mRa, "svn_ra_do_update3", _wrap_svn_ra_do_update3, -1);
17292   rb_define_module_function(mRa, "svn_ra_do_update2", _wrap_svn_ra_do_update2, -1);
17293   rb_define_module_function(mRa, "svn_ra_do_update", _wrap_svn_ra_do_update, -1);
17294   rb_define_module_function(mRa, "svn_ra_do_switch3", _wrap_svn_ra_do_switch3, -1);
17295   rb_define_module_function(mRa, "svn_ra_do_switch2", _wrap_svn_ra_do_switch2, -1);
17296   rb_define_module_function(mRa, "svn_ra_do_switch", _wrap_svn_ra_do_switch, -1);
17297   rb_define_module_function(mRa, "svn_ra_do_status2", _wrap_svn_ra_do_status2, -1);
17298   rb_define_module_function(mRa, "svn_ra_do_status", _wrap_svn_ra_do_status, -1);
17299   rb_define_module_function(mRa, "svn_ra_do_diff3", _wrap_svn_ra_do_diff3, -1);
17300   rb_define_module_function(mRa, "svn_ra_do_diff2", _wrap_svn_ra_do_diff2, -1);
17301   rb_define_module_function(mRa, "svn_ra_do_diff", _wrap_svn_ra_do_diff, -1);
17302   rb_define_module_function(mRa, "svn_ra_get_log2", _wrap_svn_ra_get_log2, -1);
17303   rb_define_module_function(mRa, "svn_ra_get_log", _wrap_svn_ra_get_log, -1);
17304   rb_define_module_function(mRa, "svn_ra_check_path", _wrap_svn_ra_check_path, -1);
17305   rb_define_module_function(mRa, "svn_ra_stat", _wrap_svn_ra_stat, -1);
17306   rb_define_module_function(mRa, "svn_ra_get_uuid2", _wrap_svn_ra_get_uuid2, -1);
17307   rb_define_module_function(mRa, "svn_ra_get_uuid", _wrap_svn_ra_get_uuid, -1);
17308   rb_define_module_function(mRa, "svn_ra_get_repos_root2", _wrap_svn_ra_get_repos_root2, -1);
17309   rb_define_module_function(mRa, "svn_ra_get_repos_root", _wrap_svn_ra_get_repos_root, -1);
17310   rb_define_module_function(mRa, "svn_ra_get_locations", _wrap_svn_ra_get_locations, -1);
17311   rb_define_module_function(mRa, "svn_ra_get_location_segments", _wrap_svn_ra_get_location_segments, -1);
17312   rb_define_module_function(mRa, "svn_ra_get_file_revs2", _wrap_svn_ra_get_file_revs2, -1);
17313   rb_define_module_function(mRa, "svn_ra_get_file_revs", _wrap_svn_ra_get_file_revs, -1);
17314   rb_define_module_function(mRa, "svn_ra_lock", _wrap_svn_ra_lock, -1);
17315   rb_define_module_function(mRa, "svn_ra_unlock", _wrap_svn_ra_unlock, -1);
17316   rb_define_module_function(mRa, "svn_ra_get_lock", _wrap_svn_ra_get_lock, -1);
17317   rb_define_module_function(mRa, "svn_ra_get_locks2", _wrap_svn_ra_get_locks2, -1);
17318   rb_define_module_function(mRa, "svn_ra_get_locks", _wrap_svn_ra_get_locks, -1);
17319   rb_define_module_function(mRa, "svn_ra_replay_range", _wrap_svn_ra_replay_range, -1);
17320   rb_define_module_function(mRa, "svn_ra_replay", _wrap_svn_ra_replay, -1);
17321   rb_define_module_function(mRa, "svn_ra_get_deleted_rev", _wrap_svn_ra_get_deleted_rev, -1);
17322   rb_define_module_function(mRa, "svn_ra_get_inherited_props", _wrap_svn_ra_get_inherited_props, -1);
17323   rb_define_module_function(mRa, "svn_ra_has_capability", _wrap_svn_ra_has_capability, -1);
17324   rb_define_const(mRa, "SVN_RA_CAPABILITY_DEPTH", SWIG_FromCharPtr("depth"));
17325   rb_define_const(mRa, "SVN_RA_CAPABILITY_MERGEINFO", SWIG_FromCharPtr("mergeinfo"));
17326   rb_define_const(mRa, "SVN_RA_CAPABILITY_LOG_REVPROPS", SWIG_FromCharPtr("log-revprops"));
17327   rb_define_const(mRa, "SVN_RA_CAPABILITY_PARTIAL_REPLAY", SWIG_FromCharPtr("partial-replay"));
17328   rb_define_const(mRa, "SVN_RA_CAPABILITY_COMMIT_REVPROPS", SWIG_FromCharPtr("commit-revprops"));
17329   rb_define_const(mRa, "SVN_RA_CAPABILITY_ATOMIC_REVPROPS", SWIG_FromCharPtr("atomic-revprops"));
17330   rb_define_const(mRa, "SVN_RA_CAPABILITY_INHERITED_PROPS", SWIG_FromCharPtr("inherited-props"));
17331   rb_define_const(mRa, "SVN_RA_CAPABILITY_EPHEMERAL_TXNPROPS", SWIG_FromCharPtr("ephemeral-txnprops"));
17332   rb_define_const(mRa, "SVN_RA_CAPABILITY_GET_FILE_REVS_REVERSE", SWIG_FromCharPtr("get-file-revs-reversed"));
17333   rb_define_const(mRa, "SVN_RA_CAPABILITY_LIST", SWIG_FromCharPtr("list"));
17334   rb_define_module_function(mRa, "svn_ra_print_modules", _wrap_svn_ra_print_modules, -1);
17335   rb_define_module_function(mRa, "svn_ra_print_ra_libraries", _wrap_svn_ra_print_ra_libraries, -1);
17336 
17337   SwigClassSvn_ra_plugin_t.klass = rb_define_class_under(mRa, "Svn_ra_plugin_t", rb_cObject);
17338   SWIG_TypeClientData(SWIGTYPE_p_svn_ra_plugin_t, (void *) &SwigClassSvn_ra_plugin_t);
17339   rb_define_alloc_func(SwigClassSvn_ra_plugin_t.klass, _wrap_svn_ra_plugin_t_allocate);
17340   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "initialize", _wrap_new_svn_ra_plugin_t, -1);
17341   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "name=", _wrap_svn_ra_plugin_t_name_set, -1);
17342   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "name", _wrap_svn_ra_plugin_t_name_get, -1);
17343   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "description=", _wrap_svn_ra_plugin_t_description_set, -1);
17344   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "description", _wrap_svn_ra_plugin_t_description_get, -1);
17345   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "open=", _wrap_svn_ra_plugin_t_open_set, -1);
17346   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "open", _wrap_svn_ra_plugin_t_open_get, -1);
17347   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "get_latest_revnum=", _wrap_svn_ra_plugin_t_get_latest_revnum_set, -1);
17348   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "get_latest_revnum", _wrap_svn_ra_plugin_t_get_latest_revnum_get, -1);
17349   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "get_dated_revision=", _wrap_svn_ra_plugin_t_get_dated_revision_set, -1);
17350   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "get_dated_revision", _wrap_svn_ra_plugin_t_get_dated_revision_get, -1);
17351   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "change_rev_prop=", _wrap_svn_ra_plugin_t_change_rev_prop_set, -1);
17352   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "change_rev_prop", _wrap_svn_ra_plugin_t_change_rev_prop_get, -1);
17353   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "rev_proplist=", _wrap_svn_ra_plugin_t_rev_proplist_set, -1);
17354   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "rev_proplist", _wrap_svn_ra_plugin_t_rev_proplist_get, -1);
17355   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "rev_prop=", _wrap_svn_ra_plugin_t_rev_prop_set, -1);
17356   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "rev_prop", _wrap_svn_ra_plugin_t_rev_prop_get, -1);
17357   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "get_commit_editor=", _wrap_svn_ra_plugin_t_get_commit_editor_set, -1);
17358   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "get_commit_editor", _wrap_svn_ra_plugin_t_get_commit_editor_get, -1);
17359   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "get_file=", _wrap_svn_ra_plugin_t_get_file_set, -1);
17360   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "get_file", _wrap_svn_ra_plugin_t_get_file_get, -1);
17361   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "get_dir=", _wrap_svn_ra_plugin_t_get_dir_set, -1);
17362   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "get_dir", _wrap_svn_ra_plugin_t_get_dir_get, -1);
17363   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "do_update=", _wrap_svn_ra_plugin_t_do_update_set, -1);
17364   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "do_update", _wrap_svn_ra_plugin_t_do_update_get, -1);
17365   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "do_switch=", _wrap_svn_ra_plugin_t_do_switch_set, -1);
17366   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "do_switch", _wrap_svn_ra_plugin_t_do_switch_get, -1);
17367   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "do_status=", _wrap_svn_ra_plugin_t_do_status_set, -1);
17368   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "do_status", _wrap_svn_ra_plugin_t_do_status_get, -1);
17369   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "do_diff=", _wrap_svn_ra_plugin_t_do_diff_set, -1);
17370   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "do_diff", _wrap_svn_ra_plugin_t_do_diff_get, -1);
17371   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "get_log=", _wrap_svn_ra_plugin_t_get_log_set, -1);
17372   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "get_log", _wrap_svn_ra_plugin_t_get_log_get, -1);
17373   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "check_path=", _wrap_svn_ra_plugin_t_check_path_set, -1);
17374   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "check_path", _wrap_svn_ra_plugin_t_check_path_get, -1);
17375   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "get_uuid=", _wrap_svn_ra_plugin_t_get_uuid_set, -1);
17376   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "get_uuid", _wrap_svn_ra_plugin_t_get_uuid_get, -1);
17377   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "get_repos_root=", _wrap_svn_ra_plugin_t_get_repos_root_set, -1);
17378   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "get_repos_root", _wrap_svn_ra_plugin_t_get_repos_root_get, -1);
17379   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "get_locations=", _wrap_svn_ra_plugin_t_get_locations_set, -1);
17380   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "get_locations", _wrap_svn_ra_plugin_t_get_locations_get, -1);
17381   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "get_file_revs=", _wrap_svn_ra_plugin_t_get_file_revs_set, -1);
17382   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "get_file_revs", _wrap_svn_ra_plugin_t_get_file_revs_get, -1);
17383   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "get_version=", _wrap_svn_ra_plugin_t_get_version_set, -1);
17384   rb_define_method(SwigClassSvn_ra_plugin_t.klass, "get_version", _wrap_svn_ra_plugin_t_get_version_get, -1);
17385   SwigClassSvn_ra_plugin_t.mark = 0;
17386   SwigClassSvn_ra_plugin_t.destroy = (void (*)(void *)) free_svn_ra_plugin_t;
17387   SwigClassSvn_ra_plugin_t.trackObjects = 0;
17388   rb_define_const(mRa, "SVN_RA_ABI_VERSION", SWIG_From_int((int)(2)));
17389   rb_define_module_function(mRa, "svn_ra_init_ra_libs", _wrap_svn_ra_init_ra_libs, -1);
17390   rb_define_module_function(mRa, "svn_ra_get_ra_library", _wrap_svn_ra_get_ra_library, -1);
17391   rb_define_module_function(mRa, "svn_ra_reporter3_invoke_set_path", _wrap_svn_ra_reporter3_invoke_set_path, -1);
17392   rb_define_module_function(mRa, "svn_ra_reporter3_invoke_delete_path", _wrap_svn_ra_reporter3_invoke_delete_path, -1);
17393   rb_define_module_function(mRa, "svn_ra_reporter3_invoke_link_path", _wrap_svn_ra_reporter3_invoke_link_path, -1);
17394   rb_define_module_function(mRa, "svn_ra_reporter3_invoke_finish_report", _wrap_svn_ra_reporter3_invoke_finish_report, -1);
17395   rb_define_module_function(mRa, "svn_ra_reporter3_invoke_abort_report", _wrap_svn_ra_reporter3_invoke_abort_report, -1);
17396   rb_define_module_function(mRa, "svn_ra_reporter2_invoke_set_path", _wrap_svn_ra_reporter2_invoke_set_path, -1);
17397   rb_define_module_function(mRa, "svn_ra_reporter2_invoke_delete_path", _wrap_svn_ra_reporter2_invoke_delete_path, -1);
17398   rb_define_module_function(mRa, "svn_ra_reporter2_invoke_link_path", _wrap_svn_ra_reporter2_invoke_link_path, -1);
17399   rb_define_module_function(mRa, "svn_ra_reporter2_invoke_finish_report", _wrap_svn_ra_reporter2_invoke_finish_report, -1);
17400   rb_define_module_function(mRa, "svn_ra_reporter2_invoke_abort_report", _wrap_svn_ra_reporter2_invoke_abort_report, -1);
17401   rb_define_module_function(mRa, "svn_ra_reporter_invoke_set_path", _wrap_svn_ra_reporter_invoke_set_path, -1);
17402   rb_define_module_function(mRa, "svn_ra_reporter_invoke_delete_path", _wrap_svn_ra_reporter_invoke_delete_path, -1);
17403   rb_define_module_function(mRa, "svn_ra_reporter_invoke_link_path", _wrap_svn_ra_reporter_invoke_link_path, -1);
17404   rb_define_module_function(mRa, "svn_ra_reporter_invoke_finish_report", _wrap_svn_ra_reporter_invoke_finish_report, -1);
17405   rb_define_module_function(mRa, "svn_ra_reporter_invoke_abort_report", _wrap_svn_ra_reporter_invoke_abort_report, -1);
17406   rb_define_module_function(mRa, "svn_ra_callbacks2_invoke_open_tmp_file", _wrap_svn_ra_callbacks2_invoke_open_tmp_file, -1);
17407   rb_define_module_function(mRa, "svn_ra_callbacks_invoke_open_tmp_file", _wrap_svn_ra_callbacks_invoke_open_tmp_file, -1);
17408   rb_define_module_function(mRa, "svn_ra_plugin_invoke_open", _wrap_svn_ra_plugin_invoke_open, -1);
17409   rb_define_module_function(mRa, "svn_ra_plugin_invoke_get_latest_revnum", _wrap_svn_ra_plugin_invoke_get_latest_revnum, -1);
17410   rb_define_module_function(mRa, "svn_ra_plugin_invoke_get_dated_revision", _wrap_svn_ra_plugin_invoke_get_dated_revision, -1);
17411   rb_define_module_function(mRa, "svn_ra_plugin_invoke_change_rev_prop", _wrap_svn_ra_plugin_invoke_change_rev_prop, -1);
17412   rb_define_module_function(mRa, "svn_ra_plugin_invoke_rev_proplist", _wrap_svn_ra_plugin_invoke_rev_proplist, -1);
17413   rb_define_module_function(mRa, "svn_ra_plugin_invoke_rev_prop", _wrap_svn_ra_plugin_invoke_rev_prop, -1);
17414   rb_define_module_function(mRa, "svn_ra_plugin_invoke_get_commit_editor", _wrap_svn_ra_plugin_invoke_get_commit_editor, -1);
17415   rb_define_module_function(mRa, "svn_ra_plugin_invoke_get_file", _wrap_svn_ra_plugin_invoke_get_file, -1);
17416   rb_define_module_function(mRa, "svn_ra_plugin_invoke_get_dir", _wrap_svn_ra_plugin_invoke_get_dir, -1);
17417   rb_define_module_function(mRa, "svn_ra_plugin_invoke_do_update", _wrap_svn_ra_plugin_invoke_do_update, -1);
17418   rb_define_module_function(mRa, "svn_ra_plugin_invoke_do_switch", _wrap_svn_ra_plugin_invoke_do_switch, -1);
17419   rb_define_module_function(mRa, "svn_ra_plugin_invoke_do_status", _wrap_svn_ra_plugin_invoke_do_status, -1);
17420   rb_define_module_function(mRa, "svn_ra_plugin_invoke_do_diff", _wrap_svn_ra_plugin_invoke_do_diff, -1);
17421   rb_define_module_function(mRa, "svn_ra_plugin_invoke_get_log", _wrap_svn_ra_plugin_invoke_get_log, -1);
17422   rb_define_module_function(mRa, "svn_ra_plugin_invoke_check_path", _wrap_svn_ra_plugin_invoke_check_path, -1);
17423   rb_define_module_function(mRa, "svn_ra_plugin_invoke_get_uuid", _wrap_svn_ra_plugin_invoke_get_uuid, -1);
17424   rb_define_module_function(mRa, "svn_ra_plugin_invoke_get_repos_root", _wrap_svn_ra_plugin_invoke_get_repos_root, -1);
17425   rb_define_module_function(mRa, "svn_ra_plugin_invoke_get_locations", _wrap_svn_ra_plugin_invoke_get_locations, -1);
17426   rb_define_module_function(mRa, "svn_ra_plugin_invoke_get_file_revs", _wrap_svn_ra_plugin_invoke_get_file_revs, -1);
17427   rb_define_module_function(mRa, "svn_ra_plugin_invoke_get_version", _wrap_svn_ra_plugin_invoke_get_version, -1);
17428   rb_define_module_function(mRa, "svn_ra_invoke_get_wc_prop_func", _wrap_svn_ra_invoke_get_wc_prop_func, -1);
17429   rb_define_module_function(mRa, "svn_ra_invoke_set_wc_prop_func", _wrap_svn_ra_invoke_set_wc_prop_func, -1);
17430   rb_define_module_function(mRa, "svn_ra_invoke_push_wc_prop_func", _wrap_svn_ra_invoke_push_wc_prop_func, -1);
17431   rb_define_module_function(mRa, "svn_ra_invoke_invalidate_wc_props_func", _wrap_svn_ra_invoke_invalidate_wc_props_func, -1);
17432   rb_define_module_function(mRa, "svn_ra_invoke_get_wc_contents_func", _wrap_svn_ra_invoke_get_wc_contents_func, -1);
17433   rb_define_module_function(mRa, "svn_ra_invoke_get_latest_revnum_func", _wrap_svn_ra_invoke_get_latest_revnum_func, -1);
17434   rb_define_module_function(mRa, "svn_ra_invoke_get_client_string_func", _wrap_svn_ra_invoke_get_client_string_func, -1);
17435   rb_define_module_function(mRa, "svn_ra_invoke_file_rev_handler", _wrap_svn_ra_invoke_file_rev_handler, -1);
17436   rb_define_module_function(mRa, "svn_ra_invoke_lock_callback", _wrap_svn_ra_invoke_lock_callback, -1);
17437   rb_define_module_function(mRa, "svn_ra_invoke_progress_notify_func", _wrap_svn_ra_invoke_progress_notify_func, -1);
17438   rb_define_module_function(mRa, "svn_ra_invoke_replay_revstart_callback", _wrap_svn_ra_invoke_replay_revstart_callback, -1);
17439   rb_define_module_function(mRa, "svn_ra_invoke_replay_revfinish_callback", _wrap_svn_ra_invoke_replay_revfinish_callback, -1);
17440   rb_define_module_function(mRa, "svn_ra_invoke_check_tunnel_func", _wrap_svn_ra_invoke_check_tunnel_func, -1);
17441   rb_define_module_function(mRa, "svn_ra_invoke_close_tunnel_func", _wrap_svn_ra_invoke_close_tunnel_func, -1);
17442   rb_define_module_function(mRa, "svn_ra_invoke_open_tunnel_func", _wrap_svn_ra_invoke_open_tunnel_func, -1);
17443   rb_define_module_function(mRa, "svn_ra_invoke_init_func", _wrap_svn_ra_invoke_init_func, -1);
17444 }
17445 
17446