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 SWIGPERL
13 #define SWIGPERL
14 #endif
15
16 #define SWIG_CASTRANK_MODE
17
18 /* -----------------------------------------------------------------------------
19 * This section contains generic SWIG labels for method/variable
20 * declarations/attributes, and other compiler dependent labels.
21 * ----------------------------------------------------------------------------- */
22
23 /* template workaround for compilers that cannot correctly implement the C++ standard */
24 #ifndef SWIGTEMPLATEDISAMBIGUATOR
25 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
26 # define SWIGTEMPLATEDISAMBIGUATOR template
27 # elif defined(__HP_aCC)
28 /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
29 /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
30 # define SWIGTEMPLATEDISAMBIGUATOR template
31 # else
32 # define SWIGTEMPLATEDISAMBIGUATOR
33 # endif
34 #endif
35
36 /* inline attribute */
37 #ifndef SWIGINLINE
38 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
39 # define SWIGINLINE inline
40 # else
41 # define SWIGINLINE
42 # endif
43 #endif
44
45 /* attribute recognised by some compilers to avoid 'unused' warnings */
46 #ifndef SWIGUNUSED
47 # if defined(__GNUC__)
48 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
49 # define SWIGUNUSED __attribute__ ((__unused__))
50 # else
51 # define SWIGUNUSED
52 # endif
53 # elif defined(__ICC)
54 # define SWIGUNUSED __attribute__ ((__unused__))
55 # else
56 # define SWIGUNUSED
57 # endif
58 #endif
59
60 #ifndef SWIG_MSC_UNSUPPRESS_4505
61 # if defined(_MSC_VER)
62 # pragma warning(disable : 4505) /* unreferenced local function has been removed */
63 # endif
64 #endif
65
66 #ifndef SWIGUNUSEDPARM
67 # ifdef __cplusplus
68 # define SWIGUNUSEDPARM(p)
69 # else
70 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
71 # endif
72 #endif
73
74 /* internal SWIG method */
75 #ifndef SWIGINTERN
76 # define SWIGINTERN static SWIGUNUSED
77 #endif
78
79 /* internal inline SWIG method */
80 #ifndef SWIGINTERNINLINE
81 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
82 #endif
83
84 /* exporting methods */
85 #if defined(__GNUC__)
86 # if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
87 # ifndef GCC_HASCLASSVISIBILITY
88 # define GCC_HASCLASSVISIBILITY
89 # endif
90 # endif
91 #endif
92
93 #ifndef SWIGEXPORT
94 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
95 # if defined(STATIC_LINKED)
96 # define SWIGEXPORT
97 # else
98 # define SWIGEXPORT __declspec(dllexport)
99 # endif
100 # else
101 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
102 # define SWIGEXPORT __attribute__ ((visibility("default")))
103 # else
104 # define SWIGEXPORT
105 # endif
106 # endif
107 #endif
108
109 /* calling conventions for Windows */
110 #ifndef SWIGSTDCALL
111 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
112 # define SWIGSTDCALL __stdcall
113 # else
114 # define SWIGSTDCALL
115 # endif
116 #endif
117
118 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
119 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
120 # define _CRT_SECURE_NO_DEPRECATE
121 #endif
122
123 /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
124 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
125 # define _SCL_SECURE_NO_DEPRECATE
126 #endif
127
128 /* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
129 #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
130 # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
131 #endif
132
133 /* Intel's compiler complains if a variable which was never initialised is
134 * cast to void, which is a common idiom which we use to indicate that we
135 * are aware a variable isn't used. So we just silence that warning.
136 * See: https://github.com/swig/swig/issues/192 for more discussion.
137 */
138 #ifdef __INTEL_COMPILER
139 # pragma warning disable 592
140 #endif
141
142 /* -----------------------------------------------------------------------------
143 * swigrun.swg
144 *
145 * This file contains generic C API SWIG runtime support for pointer
146 * type checking.
147 * ----------------------------------------------------------------------------- */
148
149 /* This should only be incremented when either the layout of swig_type_info changes,
150 or for whatever reason, the runtime changes incompatibly */
151 #define SWIG_RUNTIME_VERSION "4"
152
153 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
154 #ifdef SWIG_TYPE_TABLE
155 # define SWIG_QUOTE_STRING(x) #x
156 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
157 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
158 #else
159 # define SWIG_TYPE_TABLE_NAME
160 #endif
161
162 /*
163 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
164 creating a static or dynamic library from the SWIG runtime code.
165 In 99.9% of the cases, SWIG just needs to declare them as 'static'.
166
167 But only do this if strictly necessary, ie, if you have problems
168 with your compiler or suchlike.
169 */
170
171 #ifndef SWIGRUNTIME
172 # define SWIGRUNTIME SWIGINTERN
173 #endif
174
175 #ifndef SWIGRUNTIMEINLINE
176 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
177 #endif
178
179 /* Generic buffer size */
180 #ifndef SWIG_BUFFER_SIZE
181 # define SWIG_BUFFER_SIZE 1024
182 #endif
183
184 /* Flags for pointer conversions */
185 #define SWIG_POINTER_DISOWN 0x1
186 #define SWIG_CAST_NEW_MEMORY 0x2
187
188 /* Flags for new pointer objects */
189 #define SWIG_POINTER_OWN 0x1
190
191
192 /*
193 Flags/methods for returning states.
194
195 The SWIG conversion methods, as ConvertPtr, return an integer
196 that tells if the conversion was successful or not. And if not,
197 an error code can be returned (see swigerrors.swg for the codes).
198
199 Use the following macros/flags to set or process the returning
200 states.
201
202 In old versions of SWIG, code such as the following was usually written:
203
204 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
205 // success code
206 } else {
207 //fail code
208 }
209
210 Now you can be more explicit:
211
212 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
213 if (SWIG_IsOK(res)) {
214 // success code
215 } else {
216 // fail code
217 }
218
219 which is the same really, but now you can also do
220
221 Type *ptr;
222 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
223 if (SWIG_IsOK(res)) {
224 // success code
225 if (SWIG_IsNewObj(res) {
226 ...
227 delete *ptr;
228 } else {
229 ...
230 }
231 } else {
232 // fail code
233 }
234
235 I.e., now SWIG_ConvertPtr can return new objects and you can
236 identify the case and take care of the deallocation. Of course that
237 also requires SWIG_ConvertPtr to return new result values, such as
238
239 int SWIG_ConvertPtr(obj, ptr,...) {
240 if (<obj is ok>) {
241 if (<need new object>) {
242 *ptr = <ptr to new allocated object>;
243 return SWIG_NEWOBJ;
244 } else {
245 *ptr = <ptr to old object>;
246 return SWIG_OLDOBJ;
247 }
248 } else {
249 return SWIG_BADOBJ;
250 }
251 }
252
253 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
254 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
255 SWIG errors code.
256
257 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
258 allows to return the 'cast rank', for example, if you have this
259
260 int food(double)
261 int fooi(int);
262
263 and you call
264
265 food(1) // cast rank '1' (1 -> 1.0)
266 fooi(1) // cast rank '0'
267
268 just use the SWIG_AddCast()/SWIG_CheckState()
269 */
270
271 #define SWIG_OK (0)
272 #define SWIG_ERROR (-1)
273 #define SWIG_IsOK(r) (r >= 0)
274 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
275
276 /* The CastRankLimit says how many bits are used for the cast rank */
277 #define SWIG_CASTRANKLIMIT (1 << 8)
278 /* The NewMask denotes the object was created (using new/malloc) */
279 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
280 /* The TmpMask is for in/out typemaps that use temporal objects */
281 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
282 /* Simple returning values */
283 #define SWIG_BADOBJ (SWIG_ERROR)
284 #define SWIG_OLDOBJ (SWIG_OK)
285 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
286 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
287 /* Check, add and del mask methods */
288 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
289 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
290 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
291 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
292 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
293 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
294
295 /* Cast-Rank Mode */
296 #if defined(SWIG_CASTRANK_MODE)
297 # ifndef SWIG_TypeRank
298 # define SWIG_TypeRank unsigned long
299 # endif
300 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
301 # define SWIG_MAXCASTRANK (2)
302 # endif
303 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
304 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
SWIG_AddCast(int r)305 SWIGINTERNINLINE int SWIG_AddCast(int r) {
306 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
307 }
SWIG_CheckState(int r)308 SWIGINTERNINLINE int SWIG_CheckState(int r) {
309 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
310 }
311 #else /* no cast-rank mode */
312 # define SWIG_AddCast(r) (r)
313 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
314 #endif
315
316
317 #include <string.h>
318
319 #ifdef __cplusplus
320 extern "C" {
321 #endif
322
323 typedef void *(*swig_converter_func)(void *, int *);
324 typedef struct swig_type_info *(*swig_dycast_func)(void **);
325
326 /* Structure to store information on one type */
327 typedef struct swig_type_info {
328 const char *name; /* mangled name of this type */
329 const char *str; /* human readable name of this type */
330 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
331 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
332 void *clientdata; /* language specific type data */
333 int owndata; /* flag if the structure owns the clientdata */
334 } swig_type_info;
335
336 /* Structure to store a type and conversion function used for casting */
337 typedef struct swig_cast_info {
338 swig_type_info *type; /* pointer to type that is equivalent to this type */
339 swig_converter_func converter; /* function to cast the void pointers */
340 struct swig_cast_info *next; /* pointer to next cast in linked list */
341 struct swig_cast_info *prev; /* pointer to the previous cast */
342 } swig_cast_info;
343
344 /* Structure used to store module information
345 * Each module generates one structure like this, and the runtime collects
346 * all of these structures and stores them in a circularly linked list.*/
347 typedef struct swig_module_info {
348 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
349 size_t size; /* Number of types in this module */
350 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
351 swig_type_info **type_initial; /* Array of initially generated type structures */
352 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
353 void *clientdata; /* Language specific module data */
354 } swig_module_info;
355
356 /*
357 Compare two type names skipping the space characters, therefore
358 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
359
360 Return 0 when the two name types are equivalent, as in
361 strncmp, but skipping ' '.
362 */
363 SWIGRUNTIME int
SWIG_TypeNameComp(const char * f1,const char * l1,const char * f2,const char * l2)364 SWIG_TypeNameComp(const char *f1, const char *l1,
365 const char *f2, const char *l2) {
366 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
367 while ((*f1 == ' ') && (f1 != l1)) ++f1;
368 while ((*f2 == ' ') && (f2 != l2)) ++f2;
369 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
370 }
371 return (int)((l1 - f1) - (l2 - f2));
372 }
373
374 /*
375 Check type equivalence in a name list like <name1>|<name2>|...
376 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
377 */
378 SWIGRUNTIME int
SWIG_TypeCmp(const char * nb,const char * tb)379 SWIG_TypeCmp(const char *nb, const char *tb) {
380 int equiv = 1;
381 const char* te = tb + strlen(tb);
382 const char* ne = nb;
383 while (equiv != 0 && *ne) {
384 for (nb = ne; *ne; ++ne) {
385 if (*ne == '|') break;
386 }
387 equiv = SWIG_TypeNameComp(nb, ne, tb, te);
388 if (*ne) ++ne;
389 }
390 return equiv;
391 }
392
393 /*
394 Check type equivalence in a name list like <name1>|<name2>|...
395 Return 0 if not equal, 1 if equal
396 */
397 SWIGRUNTIME int
SWIG_TypeEquiv(const char * nb,const char * tb)398 SWIG_TypeEquiv(const char *nb, const char *tb) {
399 return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
400 }
401
402 /*
403 Check the typename
404 */
405 SWIGRUNTIME swig_cast_info *
SWIG_TypeCheck(const char * c,swig_type_info * ty)406 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
407 if (ty) {
408 swig_cast_info *iter = ty->cast;
409 while (iter) {
410 if (strcmp(iter->type->name, c) == 0) {
411 if (iter == ty->cast)
412 return iter;
413 /* Move iter to the top of the linked list */
414 iter->prev->next = iter->next;
415 if (iter->next)
416 iter->next->prev = iter->prev;
417 iter->next = ty->cast;
418 iter->prev = 0;
419 if (ty->cast) ty->cast->prev = iter;
420 ty->cast = iter;
421 return iter;
422 }
423 iter = iter->next;
424 }
425 }
426 return 0;
427 }
428
429 /*
430 Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
431 */
432 SWIGRUNTIME swig_cast_info *
SWIG_TypeCheckStruct(swig_type_info * from,swig_type_info * ty)433 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
434 if (ty) {
435 swig_cast_info *iter = ty->cast;
436 while (iter) {
437 if (iter->type == from) {
438 if (iter == ty->cast)
439 return iter;
440 /* Move iter to the top of the linked list */
441 iter->prev->next = iter->next;
442 if (iter->next)
443 iter->next->prev = iter->prev;
444 iter->next = ty->cast;
445 iter->prev = 0;
446 if (ty->cast) ty->cast->prev = iter;
447 ty->cast = iter;
448 return iter;
449 }
450 iter = iter->next;
451 }
452 }
453 return 0;
454 }
455
456 /*
457 Cast a pointer up an inheritance hierarchy
458 */
459 SWIGRUNTIMEINLINE void *
SWIG_TypeCast(swig_cast_info * ty,void * ptr,int * newmemory)460 SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
461 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
462 }
463
464 /*
465 Dynamic pointer casting. Down an inheritance hierarchy
466 */
467 SWIGRUNTIME swig_type_info *
SWIG_TypeDynamicCast(swig_type_info * ty,void ** ptr)468 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
469 swig_type_info *lastty = ty;
470 if (!ty || !ty->dcast) return ty;
471 while (ty && (ty->dcast)) {
472 ty = (*ty->dcast)(ptr);
473 if (ty) lastty = ty;
474 }
475 return lastty;
476 }
477
478 /*
479 Return the name associated with this type
480 */
481 SWIGRUNTIMEINLINE const char *
SWIG_TypeName(const swig_type_info * ty)482 SWIG_TypeName(const swig_type_info *ty) {
483 return ty->name;
484 }
485
486 /*
487 Return the pretty name associated with this type,
488 that is an unmangled type name in a form presentable to the user.
489 */
490 SWIGRUNTIME const char *
SWIG_TypePrettyName(const swig_type_info * type)491 SWIG_TypePrettyName(const swig_type_info *type) {
492 /* The "str" field contains the equivalent pretty names of the
493 type, separated by vertical-bar characters. We choose
494 to print the last name, as it is often (?) the most
495 specific. */
496 if (!type) return NULL;
497 if (type->str != NULL) {
498 const char *last_name = type->str;
499 const char *s;
500 for (s = type->str; *s; s++)
501 if (*s == '|') last_name = s+1;
502 return last_name;
503 }
504 else
505 return type->name;
506 }
507
508 /*
509 Set the clientdata field for a type
510 */
511 SWIGRUNTIME void
SWIG_TypeClientData(swig_type_info * ti,void * clientdata)512 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
513 swig_cast_info *cast = ti->cast;
514 /* if (ti->clientdata == clientdata) return; */
515 ti->clientdata = clientdata;
516
517 while (cast) {
518 if (!cast->converter) {
519 swig_type_info *tc = cast->type;
520 if (!tc->clientdata) {
521 SWIG_TypeClientData(tc, clientdata);
522 }
523 }
524 cast = cast->next;
525 }
526 }
527 SWIGRUNTIME void
SWIG_TypeNewClientData(swig_type_info * ti,void * clientdata)528 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
529 SWIG_TypeClientData(ti, clientdata);
530 ti->owndata = 1;
531 }
532
533 /*
534 Search for a swig_type_info structure only by mangled name
535 Search is a O(log #types)
536
537 We start searching at module start, and finish searching when start == end.
538 Note: if start == end at the beginning of the function, we go all the way around
539 the circular list.
540 */
541 SWIGRUNTIME swig_type_info *
SWIG_MangledTypeQueryModule(swig_module_info * start,swig_module_info * end,const char * name)542 SWIG_MangledTypeQueryModule(swig_module_info *start,
543 swig_module_info *end,
544 const char *name) {
545 swig_module_info *iter = start;
546 do {
547 if (iter->size) {
548 size_t l = 0;
549 size_t r = iter->size - 1;
550 do {
551 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
552 size_t i = (l + r) >> 1;
553 const char *iname = iter->types[i]->name;
554 if (iname) {
555 int compare = strcmp(name, iname);
556 if (compare == 0) {
557 return iter->types[i];
558 } else if (compare < 0) {
559 if (i) {
560 r = i - 1;
561 } else {
562 break;
563 }
564 } else if (compare > 0) {
565 l = i + 1;
566 }
567 } else {
568 break; /* should never happen */
569 }
570 } while (l <= r);
571 }
572 iter = iter->next;
573 } while (iter != end);
574 return 0;
575 }
576
577 /*
578 Search for a swig_type_info structure for either a mangled name or a human readable name.
579 It first searches the mangled names of the types, which is a O(log #types)
580 If a type is not found it then searches the human readable names, which is O(#types).
581
582 We start searching at module start, and finish searching when start == end.
583 Note: if start == end at the beginning of the function, we go all the way around
584 the circular list.
585 */
586 SWIGRUNTIME swig_type_info *
SWIG_TypeQueryModule(swig_module_info * start,swig_module_info * end,const char * name)587 SWIG_TypeQueryModule(swig_module_info *start,
588 swig_module_info *end,
589 const char *name) {
590 /* STEP 1: Search the name field using binary search */
591 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
592 if (ret) {
593 return ret;
594 } else {
595 /* STEP 2: If the type hasn't been found, do a complete search
596 of the str field (the human readable name) */
597 swig_module_info *iter = start;
598 do {
599 size_t i = 0;
600 for (; i < iter->size; ++i) {
601 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
602 return iter->types[i];
603 }
604 iter = iter->next;
605 } while (iter != end);
606 }
607
608 /* neither found a match */
609 return 0;
610 }
611
612 /*
613 Pack binary data into a string
614 */
615 SWIGRUNTIME char *
SWIG_PackData(char * c,void * ptr,size_t sz)616 SWIG_PackData(char *c, void *ptr, size_t sz) {
617 static const char hex[17] = "0123456789abcdef";
618 const unsigned char *u = (unsigned char *) ptr;
619 const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 unsigned char uu = *u;
622 *(c++) = hex[(uu & 0xf0) >> 4];
623 *(c++) = hex[uu & 0xf];
624 }
625 return c;
626 }
627
628 /*
629 Unpack binary data from a string
630 */
631 SWIGRUNTIME const char *
SWIG_UnpackData(const char * c,void * ptr,size_t sz)632 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
633 unsigned char *u = (unsigned char *) ptr;
634 const unsigned char *eu = u + sz;
635 for (; u != eu; ++u) {
636 char d = *(c++);
637 unsigned char uu;
638 if ((d >= '0') && (d <= '9'))
639 uu = (unsigned char)((d - '0') << 4);
640 else if ((d >= 'a') && (d <= 'f'))
641 uu = (unsigned char)((d - ('a'-10)) << 4);
642 else
643 return (char *) 0;
644 d = *(c++);
645 if ((d >= '0') && (d <= '9'))
646 uu |= (unsigned char)(d - '0');
647 else if ((d >= 'a') && (d <= 'f'))
648 uu |= (unsigned char)(d - ('a'-10));
649 else
650 return (char *) 0;
651 *u = uu;
652 }
653 return c;
654 }
655
656 /*
657 Pack 'void *' into a string buffer.
658 */
659 SWIGRUNTIME char *
SWIG_PackVoidPtr(char * buff,void * ptr,const char * name,size_t bsz)660 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
661 char *r = buff;
662 if ((2*sizeof(void *) + 2) > bsz) return 0;
663 *(r++) = '_';
664 r = SWIG_PackData(r,&ptr,sizeof(void *));
665 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
666 strcpy(r,name);
667 return buff;
668 }
669
670 SWIGRUNTIME const char *
SWIG_UnpackVoidPtr(const char * c,void ** ptr,const char * name)671 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
672 if (*c != '_') {
673 if (strcmp(c,"NULL") == 0) {
674 *ptr = (void *) 0;
675 return name;
676 } else {
677 return 0;
678 }
679 }
680 return SWIG_UnpackData(++c,ptr,sizeof(void *));
681 }
682
683 SWIGRUNTIME char *
SWIG_PackDataName(char * buff,void * ptr,size_t sz,const char * name,size_t bsz)684 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
685 char *r = buff;
686 size_t lname = (name ? strlen(name) : 0);
687 if ((2*sz + 2 + lname) > bsz) return 0;
688 *(r++) = '_';
689 r = SWIG_PackData(r,ptr,sz);
690 if (lname) {
691 strncpy(r,name,lname+1);
692 } else {
693 *r = 0;
694 }
695 return buff;
696 }
697
698 SWIGRUNTIME const char *
SWIG_UnpackDataName(const char * c,void * ptr,size_t sz,const char * name)699 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
700 if (*c != '_') {
701 if (strcmp(c,"NULL") == 0) {
702 memset(ptr,0,sz);
703 return name;
704 } else {
705 return 0;
706 }
707 }
708 return SWIG_UnpackData(++c,ptr,sz);
709 }
710
711 #ifdef __cplusplus
712 }
713 #endif
714
715 /* Errors in SWIG */
716 #define SWIG_UnknownError -1
717 #define SWIG_IOError -2
718 #define SWIG_RuntimeError -3
719 #define SWIG_IndexError -4
720 #define SWIG_TypeError -5
721 #define SWIG_DivisionByZero -6
722 #define SWIG_OverflowError -7
723 #define SWIG_SyntaxError -8
724 #define SWIG_ValueError -9
725 #define SWIG_SystemError -10
726 #define SWIG_AttributeError -11
727 #define SWIG_MemoryError -12
728 #define SWIG_NullReferenceError -13
729
730
731
732 #ifdef __cplusplus
733 /* Needed on some windows machines---since MS plays funny games with the header files under C++ */
734 #include <math.h>
735 #include <stdlib.h>
736 extern "C" {
737 #endif
738 #include "EXTERN.h"
739 #include "perl.h"
740 #include "XSUB.h"
741
742 /* Add in functionality missing in older versions of Perl. Much of this is based on Devel-PPPort on cpan. */
743
744 /* Add PERL_REVISION, PERL_VERSION, PERL_SUBVERSION if missing */
745 #ifndef PERL_REVISION
746 # if !defined(__PATCHLEVEL_H_INCLUDED__) && !(defined(PATCHLEVEL) && defined(SUBVERSION))
747 # define PERL_PATCHLEVEL_H_IMPLICIT
748 # include <patchlevel.h>
749 # endif
750 # if !(defined(PERL_VERSION) || (defined(SUBVERSION) && defined(PATCHLEVEL)))
751 # include <could_not_find_Perl_patchlevel.h>
752 # endif
753 # ifndef PERL_REVISION
754 # define PERL_REVISION (5)
755 # define PERL_VERSION PATCHLEVEL
756 # define PERL_SUBVERSION SUBVERSION
757 # endif
758 #endif
759
760 #if defined(WIN32) && defined(PERL_OBJECT) && !defined(PerlIO_exportFILE)
761 #define PerlIO_exportFILE(fh,fl) (FILE*)(fh)
762 #endif
763
764 #ifndef SvIOK_UV
765 # define SvIOK_UV(sv) (SvIOK(sv) && (SvUVX(sv) == SvIVX(sv)))
766 #endif
767
768 #ifndef SvUOK
769 # define SvUOK(sv) SvIOK_UV(sv)
770 #endif
771
772 #if ((PERL_VERSION < 4) || ((PERL_VERSION == 4) && (PERL_SUBVERSION <= 5)))
773 # define PL_sv_undef sv_undef
774 # define PL_na na
775 # define PL_errgv errgv
776 # define PL_sv_no sv_no
777 # define PL_sv_yes sv_yes
778 # define PL_markstack_ptr markstack_ptr
779 #endif
780
781 #ifndef IVSIZE
782 # ifdef LONGSIZE
783 # define IVSIZE LONGSIZE
784 # else
785 # define IVSIZE 4 /* A bold guess, but the best we can make. */
786 # endif
787 #endif
788
789 #ifndef INT2PTR
790 # if (IVSIZE == PTRSIZE) && (UVSIZE == PTRSIZE)
791 # define PTRV UV
792 # define INT2PTR(any,d) (any)(d)
793 # else
794 # if PTRSIZE == LONGSIZE
795 # define PTRV unsigned long
796 # else
797 # define PTRV unsigned
798 # endif
799 # define INT2PTR(any,d) (any)(PTRV)(d)
800 # endif
801
802 # define NUM2PTR(any,d) (any)(PTRV)(d)
803 # define PTR2IV(p) INT2PTR(IV,p)
804 # define PTR2UV(p) INT2PTR(UV,p)
805 # define PTR2NV(p) NUM2PTR(NV,p)
806
807 # if PTRSIZE == LONGSIZE
808 # define PTR2ul(p) (unsigned long)(p)
809 # else
810 # define PTR2ul(p) INT2PTR(unsigned long,p)
811 # endif
812 #endif /* !INT2PTR */
813
814 #ifndef SvPV_nolen
815 # define SvPV_nolen(x) SvPV(x,PL_na)
816 #endif
817
818 #ifndef get_sv
819 # define get_sv perl_get_sv
820 #endif
821
822 #ifndef ERRSV
823 # define ERRSV get_sv("@",FALSE)
824 #endif
825
826 #ifndef pTHX_
827 #define pTHX_
828 #endif
829
830 #include <string.h>
831 #ifdef __cplusplus
832 }
833 #endif
834
835 /* -----------------------------------------------------------------------------
836 * error manipulation
837 * ----------------------------------------------------------------------------- */
838
839 SWIGINTERN const char*
SWIG_Perl_ErrorType(int code)840 SWIG_Perl_ErrorType(int code) {
841 switch(code) {
842 case SWIG_MemoryError:
843 return "MemoryError";
844 case SWIG_IOError:
845 return "IOError";
846 case SWIG_RuntimeError:
847 return "RuntimeError";
848 case SWIG_IndexError:
849 return "IndexError";
850 case SWIG_TypeError:
851 return "TypeError";
852 case SWIG_DivisionByZero:
853 return "ZeroDivisionError";
854 case SWIG_OverflowError:
855 return "OverflowError";
856 case SWIG_SyntaxError:
857 return "SyntaxError";
858 case SWIG_ValueError:
859 return "ValueError";
860 case SWIG_SystemError:
861 return "SystemError";
862 case SWIG_AttributeError:
863 return "AttributeError";
864 default:
865 return "RuntimeError";
866 }
867 }
868
869
870 /* -----------------------------------------------------------------------------
871 * perlrun.swg
872 *
873 * This file contains the runtime support for Perl modules
874 * and includes code for managing global variables and pointer
875 * type checking.
876 * ----------------------------------------------------------------------------- */
877
878 #ifdef PERL_OBJECT
879 #define SWIG_PERL_OBJECT_DECL CPerlObj *SWIGUNUSEDPARM(pPerl),
880 #define SWIG_PERL_OBJECT_CALL pPerl,
881 #else
882 #define SWIG_PERL_OBJECT_DECL
883 #define SWIG_PERL_OBJECT_CALL
884 #endif
885
886 /* Common SWIG API */
887
888 /* for raw pointers */
889 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Perl_ConvertPtr(SWIG_PERL_OBJECT_CALL obj, pp, type, flags)
890 #define SWIG_ConvertPtrAndOwn(obj, pp, type, flags,own) SWIG_Perl_ConvertPtrAndOwn(SWIG_PERL_OBJECT_CALL obj, pp, type, flags, own)
891 #define SWIG_NewPointerObj(p, type, flags) SWIG_Perl_NewPointerObj(SWIG_PERL_OBJECT_CALL p, type, flags)
892 #define swig_owntype int
893
894 /* for raw packed data */
895 #define SWIG_ConvertPacked(obj, p, s, type) SWIG_Perl_ConvertPacked(SWIG_PERL_OBJECT_CALL obj, p, s, type)
896 #define SWIG_NewPackedObj(p, s, type) SWIG_Perl_NewPackedObj(SWIG_PERL_OBJECT_CALL p, s, type)
897
898 /* for class or struct pointers */
899 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
900 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
901
902 /* for C or C++ function pointers */
903 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_ConvertPtr(obj, pptr, type, 0)
904 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_NewPointerObj(ptr, type, 0)
905
906 /* for C++ member pointers, ie, member methods */
907 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_ConvertPacked(obj, ptr, sz, ty)
908 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_NewPackedObj(ptr, sz, type)
909
910
911 /* Runtime API */
912
913 #define SWIG_GetModule(clientdata) SWIG_Perl_GetModule(clientdata)
914 #define SWIG_SetModule(clientdata, pointer) SWIG_Perl_SetModule(pointer)
915
916
917 /* Error manipulation */
918
919 #define SWIG_ErrorType(code) SWIG_Perl_ErrorType(code)
920 #define SWIG_Error(code, msg) sv_setpvf(get_sv("@", GV_ADD), "%s %s", SWIG_ErrorType(code), msg)
921 #define SWIG_fail goto fail
922
923 /* Perl-specific SWIG API */
924
925 #define SWIG_MakePtr(sv, ptr, type, flags) SWIG_Perl_MakePtr(SWIG_PERL_OBJECT_CALL sv, ptr, type, flags)
926 #define SWIG_MakePackedObj(sv, p, s, type) SWIG_Perl_MakePackedObj(SWIG_PERL_OBJECT_CALL sv, p, s, type)
927 #define SWIG_SetError(str) SWIG_Error(SWIG_RuntimeError, str)
928
929
930 #define SWIG_PERL_DECL_ARGS_1(arg1) (SWIG_PERL_OBJECT_DECL arg1)
931 #define SWIG_PERL_CALL_ARGS_1(arg1) (SWIG_PERL_OBJECT_CALL arg1)
932 #define SWIG_PERL_DECL_ARGS_2(arg1, arg2) (SWIG_PERL_OBJECT_DECL arg1, arg2)
933 #define SWIG_PERL_CALL_ARGS_2(arg1, arg2) (SWIG_PERL_OBJECT_CALL arg1, arg2)
934
935 /* -----------------------------------------------------------------------------
936 * pointers/data manipulation
937 * ----------------------------------------------------------------------------- */
938
939 /* For backward compatibility only */
940 #define SWIG_POINTER_EXCEPTION 0
941
942 #ifdef __cplusplus
943 extern "C" {
944 #endif
945
946 #define SWIG_OWNER SWIG_POINTER_OWN
947 #define SWIG_SHADOW SWIG_OWNER << 1
948
949 #define SWIG_MAYBE_PERL_OBJECT SWIG_PERL_OBJECT_DECL
950
951 /* SWIG Perl macros */
952
953 /* Macro to declare an XS function */
954 #ifndef XSPROTO
955 # define XSPROTO(name) void name(pTHX_ CV* cv)
956 #endif
957
958 /* Macro to call an XS function */
959 #ifdef PERL_OBJECT
960 # define SWIG_CALLXS(_name) _name(cv,pPerl)
961 #else
962 # ifndef MULTIPLICITY
963 # define SWIG_CALLXS(_name) _name(cv)
964 # else
965 # define SWIG_CALLXS(_name) _name(PERL_GET_THX, cv)
966 # endif
967 #endif
968
969 #ifdef PERL_OBJECT
970 #define MAGIC_PPERL CPerlObj *pPerl = (CPerlObj *) this;
971
972 #ifdef __cplusplus
973 extern "C" {
974 #endif
975 typedef int (CPerlObj::*SwigMagicFunc)(SV *, MAGIC *);
976 #ifdef __cplusplus
977 }
978 #endif
979
980 #define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
981 #define SWIGCLASS_STATIC
982
983 #else /* PERL_OBJECT */
984
985 #define MAGIC_PPERL
986 #define SWIGCLASS_STATIC static SWIGUNUSED
987
988 #ifndef MULTIPLICITY
989 #define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
990
991 #ifdef __cplusplus
992 extern "C" {
993 #endif
994 typedef int (*SwigMagicFunc)(SV *, MAGIC *);
995 #ifdef __cplusplus
996 }
997 #endif
998
999 #else /* MULTIPLICITY */
1000
1001 #define SWIG_MAGIC(a,b) (struct interpreter *interp, SV *a, MAGIC *b)
1002
1003 #ifdef __cplusplus
1004 extern "C" {
1005 #endif
1006 typedef int (*SwigMagicFunc)(struct interpreter *, SV *, MAGIC *);
1007 #ifdef __cplusplus
1008 }
1009 #endif
1010
1011 #endif /* MULTIPLICITY */
1012 #endif /* PERL_OBJECT */
1013
1014 # ifdef PERL_OBJECT
1015 # define SWIG_croak_null() SWIG_Perl_croak_null(pPerl)
SWIG_Perl_croak_null(CPerlObj * pPerl)1016 static void SWIGUNUSED SWIG_Perl_croak_null(CPerlObj *pPerl)
1017 # else
1018 static void SWIGUNUSED SWIG_croak_null()
1019 # endif
1020 {
1021 SV *err = get_sv("@", GV_ADD);
1022 # if (PERL_VERSION < 6)
1023 croak("%_", err);
1024 # else
1025 if (sv_isobject(err))
1026 croak(0);
1027 else
1028 croak("%s", SvPV_nolen(err));
1029 # endif
1030 }
1031
1032
1033 /*
1034 Define how strict is the cast between strings and integers/doubles
1035 when overloading between these types occurs.
1036
1037 The default is making it as strict as possible by using SWIG_AddCast
1038 when needed.
1039
1040 You can use -DSWIG_PERL_NO_STRICT_STR2NUM at compilation time to
1041 disable the SWIG_AddCast, making the casting between string and
1042 numbers less strict.
1043
1044 In the end, we try to solve the overloading between strings and
1045 numerical types in the more natural way, but if you can avoid it,
1046 well, avoid it using %rename, for example.
1047 */
1048 #ifndef SWIG_PERL_NO_STRICT_STR2NUM
1049 # ifndef SWIG_PERL_STRICT_STR2NUM
1050 # define SWIG_PERL_STRICT_STR2NUM
1051 # endif
1052 #endif
1053 #ifdef SWIG_PERL_STRICT_STR2NUM
1054 /* string takes precedence */
1055 #define SWIG_Str2NumCast(x) SWIG_AddCast(x)
1056 #else
1057 /* number takes precedence */
1058 #define SWIG_Str2NumCast(x) x
1059 #endif
1060
1061
1062
1063 #include <stdlib.h>
1064
1065 SWIGRUNTIME const char *
SWIG_Perl_TypeProxyName(const swig_type_info * type)1066 SWIG_Perl_TypeProxyName(const swig_type_info *type) {
1067 if (!type) return NULL;
1068 if (type->clientdata != NULL) {
1069 return (const char*) type->clientdata;
1070 }
1071 else {
1072 return type->name;
1073 }
1074 }
1075
1076 /* Identical to SWIG_TypeCheck, except for strcmp comparison */
1077 SWIGRUNTIME swig_cast_info *
SWIG_TypeProxyCheck(const char * c,swig_type_info * ty)1078 SWIG_TypeProxyCheck(const char *c, swig_type_info *ty) {
1079 if (ty) {
1080 swig_cast_info *iter = ty->cast;
1081 while (iter) {
1082 if (strcmp(SWIG_Perl_TypeProxyName(iter->type), c) == 0) {
1083 if (iter == ty->cast)
1084 return iter;
1085 /* Move iter to the top of the linked list */
1086 iter->prev->next = iter->next;
1087 if (iter->next)
1088 iter->next->prev = iter->prev;
1089 iter->next = ty->cast;
1090 iter->prev = 0;
1091 if (ty->cast) ty->cast->prev = iter;
1092 ty->cast = iter;
1093 return iter;
1094 }
1095 iter = iter->next;
1096 }
1097 }
1098 return 0;
1099 }
1100
1101 /* Function for getting a pointer value */
1102
1103 SWIGRUNTIME int
SWIG_Perl_ConvertPtrAndOwn(SWIG_MAYBE_PERL_OBJECT SV * sv,void ** ptr,swig_type_info * _t,int flags,int * own)1104 SWIG_Perl_ConvertPtrAndOwn(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags, int *own) {
1105 swig_cast_info *tc;
1106 void *voidptr = (void *)0;
1107 SV *tsv = 0;
1108
1109 if (own)
1110 *own = 0;
1111
1112 /* If magical, apply more magic */
1113 if (SvGMAGICAL(sv))
1114 mg_get(sv);
1115
1116 /* Check to see if this is an object */
1117 if (sv_isobject(sv)) {
1118 IV tmp = 0;
1119 tsv = (SV*) SvRV(sv);
1120 if ((SvTYPE(tsv) == SVt_PVHV)) {
1121 MAGIC *mg;
1122 if (SvMAGICAL(tsv)) {
1123 mg = mg_find(tsv,'P');
1124 if (mg) {
1125 sv = mg->mg_obj;
1126 if (sv_isobject(sv)) {
1127 tsv = (SV*)SvRV(sv);
1128 tmp = SvIV(tsv);
1129 }
1130 }
1131 } else {
1132 return SWIG_ERROR;
1133 }
1134 } else {
1135 tmp = SvIV(tsv);
1136 }
1137 voidptr = INT2PTR(void *,tmp);
1138 } else if (! SvOK(sv)) { /* Check for undef */
1139 *(ptr) = (void *) 0;
1140 return SWIG_OK;
1141 } else if (SvTYPE(sv) == SVt_RV) { /* Check for NULL pointer */
1142 if (!SvROK(sv)) {
1143 /* In Perl 5.12 and later, SVt_RV == SVt_IV, so sv could be a valid integer value. */
1144 if (SvIOK(sv)) {
1145 return SWIG_ERROR;
1146 } else {
1147 /* NULL pointer (reference to undef). */
1148 *(ptr) = (void *) 0;
1149 return SWIG_OK;
1150 }
1151 } else {
1152 return SWIG_ERROR;
1153 }
1154 } else { /* Don't know what it is */
1155 return SWIG_ERROR;
1156 }
1157 if (_t) {
1158 /* Now see if the types match */
1159 char *_c = HvNAME(SvSTASH(SvRV(sv)));
1160 tc = SWIG_TypeProxyCheck(_c,_t);
1161 #ifdef SWIG_DIRECTORS
1162 if (!tc && !sv_derived_from(sv,SWIG_Perl_TypeProxyName(_t))) {
1163 #else
1164 if (!tc) {
1165 #endif
1166 return SWIG_ERROR;
1167 }
1168 {
1169 int newmemory = 0;
1170 *ptr = SWIG_TypeCast(tc,voidptr,&newmemory);
1171 if (newmemory == SWIG_CAST_NEW_MEMORY) {
1172 assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */
1173 if (own)
1174 *own = *own | SWIG_CAST_NEW_MEMORY;
1175 }
1176 }
1177 } else {
1178 *ptr = voidptr;
1179 }
1180
1181 /*
1182 * DISOWN implementation: we need a perl guru to check this one.
1183 */
1184 if (tsv && (flags & SWIG_POINTER_DISOWN)) {
1185 /*
1186 * almost copy paste code from below SWIG_POINTER_OWN setting
1187 */
1188 SV *obj = sv;
1189 HV *stash = SvSTASH(SvRV(obj));
1190 GV *gv = *(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
1191 if (isGV(gv)) {
1192 HV *hv = GvHVn(gv);
1193 /*
1194 * To set ownership (see below), a newSViv(1) entry is added.
1195 * Hence, to remove ownership, we delete the entry.
1196 */
1197 if (hv_exists_ent(hv, obj, 0)) {
1198 hv_delete_ent(hv, obj, 0, 0);
1199 }
1200 }
1201 }
1202 return SWIG_OK;
1203 }
1204
1205 SWIGRUNTIME int
1206 SWIG_Perl_ConvertPtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags) {
1207 return SWIG_Perl_ConvertPtrAndOwn(sv, ptr, _t, flags, 0);
1208 }
1209
1210 SWIGRUNTIME void
1211 SWIG_Perl_MakePtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, swig_type_info *t, int flags) {
1212 if (ptr && (flags & (SWIG_SHADOW | SWIG_POINTER_OWN))) {
1213 SV *self;
1214 SV *obj=newSV(0);
1215 HV *hash=newHV();
1216 HV *stash;
1217 sv_setref_pv(obj, SWIG_Perl_TypeProxyName(t), ptr);
1218 stash=SvSTASH(SvRV(obj));
1219 if (flags & SWIG_POINTER_OWN) {
1220 HV *hv;
1221 GV *gv = *(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
1222 if (!isGV(gv))
1223 gv_init(gv, stash, "OWNER", 5, FALSE);
1224 hv=GvHVn(gv);
1225 hv_store_ent(hv, obj, newSViv(1), 0);
1226 }
1227 sv_magic((SV *)hash, (SV *)obj, 'P', Nullch, 0);
1228 SvREFCNT_dec(obj);
1229 self=newRV_noinc((SV *)hash);
1230 sv_setsv(sv, self);
1231 SvREFCNT_dec((SV *)self);
1232 sv_bless(sv, stash);
1233 }
1234 else {
1235 sv_setref_pv(sv, SWIG_Perl_TypeProxyName(t), ptr);
1236 }
1237 }
1238
1239 SWIGRUNTIMEINLINE SV *
1240 SWIG_Perl_NewPointerObj(SWIG_MAYBE_PERL_OBJECT void *ptr, swig_type_info *t, int flags) {
1241 SV *result = sv_newmortal();
1242 SWIG_MakePtr(result, ptr, t, flags);
1243 return result;
1244 }
1245
1246 SWIGRUNTIME void
1247 SWIG_Perl_MakePackedObj(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, int sz, swig_type_info *type) {
1248 char result[1024];
1249 char *r = result;
1250 if ((2*sz + 1 + strlen(SWIG_Perl_TypeProxyName(type))) > 1000) return;
1251 *(r++) = '_';
1252 r = SWIG_PackData(r,ptr,sz);
1253 strcpy(r,SWIG_Perl_TypeProxyName(type));
1254 sv_setpv(sv, result);
1255 }
1256
1257 SWIGRUNTIME SV *
1258 SWIG_Perl_NewPackedObj(SWIG_MAYBE_PERL_OBJECT void *ptr, int sz, swig_type_info *type) {
1259 SV *result = sv_newmortal();
1260 SWIG_Perl_MakePackedObj(result, ptr, sz, type);
1261 return result;
1262 }
1263
1264 /* Convert a packed value value */
1265 SWIGRUNTIME int
1266 SWIG_Perl_ConvertPacked(SWIG_MAYBE_PERL_OBJECT SV *obj, void *ptr, int sz, swig_type_info *ty) {
1267 swig_cast_info *tc;
1268 const char *c = 0;
1269
1270 if ((!obj) || (!SvOK(obj))) return SWIG_ERROR;
1271 c = SvPV_nolen(obj);
1272 /* Pointer values must start with leading underscore */
1273 if (*c != '_') return SWIG_ERROR;
1274 c++;
1275 c = SWIG_UnpackData(c,ptr,sz);
1276 if (ty) {
1277 tc = SWIG_TypeCheck(c,ty);
1278 if (!tc) return SWIG_ERROR;
1279 }
1280 return SWIG_OK;
1281 }
1282
1283
1284 /* Macros for low-level exception handling */
1285 #define SWIG_croak(x) { SWIG_Error(SWIG_RuntimeError, x); SWIG_fail; }
1286
1287
1288 typedef XSPROTO(SwigPerlWrapper);
1289 typedef SwigPerlWrapper *SwigPerlWrapperPtr;
1290
1291 /* Structure for command table */
1292 typedef struct {
1293 const char *name;
1294 SwigPerlWrapperPtr wrapper;
1295 } swig_command_info;
1296
1297 /* Information for constant table */
1298
1299 #define SWIG_INT 1
1300 #define SWIG_FLOAT 2
1301 #define SWIG_STRING 3
1302 #define SWIG_POINTER 4
1303 #define SWIG_BINARY 5
1304
1305 /* Constant information structure */
1306 typedef struct swig_constant_info {
1307 int type;
1308 const char *name;
1309 long lvalue;
1310 double dvalue;
1311 void *pvalue;
1312 swig_type_info **ptype;
1313 } swig_constant_info;
1314
1315
1316 /* Structure for variable table */
1317 typedef struct {
1318 const char *name;
1319 SwigMagicFunc set;
1320 SwigMagicFunc get;
1321 swig_type_info **type;
1322 } swig_variable_info;
1323
1324 /* Magic variable code */
1325 #ifndef PERL_OBJECT
1326 # ifdef __cplusplus
1327 # define swig_create_magic(s,a,b,c) _swig_create_magic(s,const_cast<char*>(a),b,c)
1328 # else
1329 # define swig_create_magic(s,a,b,c) _swig_create_magic(s,(char*)(a),b,c)
1330 # endif
1331 # ifndef MULTIPLICITY
1332 SWIGRUNTIME void _swig_create_magic(SV *sv, char *name, int (*set)(SV *, MAGIC *), int (*get)(SV *,MAGIC *))
1333 # else
1334 SWIGRUNTIME void _swig_create_magic(SV *sv, char *name, int (*set)(struct interpreter*, SV *, MAGIC *), int (*get)(struct interpreter*, SV *,MAGIC *))
1335 # endif
1336 #else
1337 # define swig_create_magic(s,a,b,c) _swig_create_magic(pPerl,s,a,b,c)
1338 SWIGRUNTIME void _swig_create_magic(CPerlObj *pPerl, SV *sv, const char *name, int (CPerlObj::*set)(SV *, MAGIC *), int (CPerlObj::*get)(SV *, MAGIC *))
1339 #endif
1340 {
1341 MAGIC *mg;
1342 sv_magic(sv,sv,'U',name,strlen(name));
1343 mg = mg_find(sv,'U');
1344 mg->mg_virtual = (MGVTBL *) malloc(sizeof(MGVTBL));
1345 mg->mg_virtual->svt_get = (SwigMagicFunc) get;
1346 mg->mg_virtual->svt_set = (SwigMagicFunc) set;
1347 mg->mg_virtual->svt_len = 0;
1348 mg->mg_virtual->svt_clear = 0;
1349 mg->mg_virtual->svt_free = 0;
1350 }
1351
1352
1353 SWIGRUNTIME swig_module_info *
1354 SWIG_Perl_GetModule(void *SWIGUNUSEDPARM(clientdata)) {
1355 static void *type_pointer = (void *)0;
1356 SV *pointer;
1357
1358 /* first check if pointer already created */
1359 if (!type_pointer) {
1360 pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, FALSE | GV_ADDMULTI);
1361 if (pointer && SvOK(pointer)) {
1362 type_pointer = INT2PTR(swig_type_info **, SvIV(pointer));
1363 }
1364 }
1365
1366 return (swig_module_info *) type_pointer;
1367 }
1368
1369 SWIGRUNTIME void
1370 SWIG_Perl_SetModule(swig_module_info *module) {
1371 SV *pointer;
1372
1373 /* create a new pointer */
1374 pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, TRUE | GV_ADDMULTI);
1375 sv_setiv(pointer, PTR2IV(module));
1376 }
1377
1378 #ifdef __cplusplus
1379 }
1380 #endif
1381
1382 /* Workaround perl5 global namespace pollution. Note that undefining library
1383 * functions like fopen will not solve the problem on all platforms as fopen
1384 * might be a macro on Windows but not necessarily on other operating systems. */
1385 #ifdef do_open
1386 #undef do_open
1387 #endif
1388 #ifdef do_close
1389 #undef do_close
1390 #endif
1391 #ifdef do_exec
1392 #undef do_exec
1393 #endif
1394 #ifdef scalar
1395 #undef scalar
1396 #endif
1397 #ifdef list
1398 #undef list
1399 #endif
1400 #ifdef apply
1401 #undef apply
1402 #endif
1403 #ifdef convert
1404 #undef convert
1405 #endif
1406 #ifdef Error
1407 #undef Error
1408 #endif
1409 #ifdef form
1410 #undef form
1411 #endif
1412 #ifdef vform
1413 #undef vform
1414 #endif
1415 #ifdef LABEL
1416 #undef LABEL
1417 #endif
1418 #ifdef METHOD
1419 #undef METHOD
1420 #endif
1421 #ifdef Move
1422 #undef Move
1423 #endif
1424 #ifdef yylex
1425 #undef yylex
1426 #endif
1427 #ifdef yyparse
1428 #undef yyparse
1429 #endif
1430 #ifdef yyerror
1431 #undef yyerror
1432 #endif
1433 #ifdef invert
1434 #undef invert
1435 #endif
1436 #ifdef ref
1437 #undef ref
1438 #endif
1439 #ifdef read
1440 #undef read
1441 #endif
1442 #ifdef write
1443 #undef write
1444 #endif
1445 #ifdef eof
1446 #undef eof
1447 #endif
1448 #ifdef close
1449 #undef close
1450 #endif
1451 #ifdef rewind
1452 #undef rewind
1453 #endif
1454 #ifdef free
1455 #undef free
1456 #endif
1457 #ifdef malloc
1458 #undef malloc
1459 #endif
1460 #ifdef calloc
1461 #undef calloc
1462 #endif
1463 #ifdef Stat
1464 #undef Stat
1465 #endif
1466 #ifdef check
1467 #undef check
1468 #endif
1469 #ifdef seekdir
1470 #undef seekdir
1471 #endif
1472 #ifdef open
1473 #undef open
1474 #endif
1475 #ifdef readdir
1476 #undef readdir
1477 #endif
1478 #ifdef bind
1479 #undef bind
1480 #endif
1481 #ifdef access
1482 #undef access
1483 #endif
1484 #ifdef stat
1485 #undef stat
1486 #endif
1487 #ifdef seed
1488 #undef seed
1489 #endif
1490
1491 #ifdef bool
1492 /* Leave if macro is from C99 stdbool.h */
1493 #ifndef __bool_true_false_are_defined
1494 #undef bool
1495 #endif
1496 #endif
1497
1498
1499
1500
1501 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
1502
1503 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
1504
1505
1506
1507 #define SWIG_exception(code, msg) do { SWIG_Error(code, msg); SWIG_fail;; } while(0)
1508
1509
1510 /* -------- TYPES TABLE (BEGIN) -------- */
1511
1512 #define SWIGTYPE_p_apr_array_header_t swig_types[0]
1513 #define SWIGTYPE_p_apr_hash_t swig_types[1]
1514 #define SWIGTYPE_p_apr_int32_t swig_types[2]
1515 #define SWIGTYPE_p_apr_int64_t swig_types[3]
1516 #define SWIGTYPE_p_apr_pool_t swig_types[4]
1517 #define SWIGTYPE_p_char swig_types[5]
1518 #define SWIGTYPE_p_f_long_p_void_p_apr_pool_t__void swig_types[6]
1519 #define SWIGTYPE_p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[7]
1520 #define SWIGTYPE_p_f_p_q_const__char_svn_mergeinfo_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[8]
1521 #define SWIGTYPE_p_f_p_q_const__unsigned_char_apr_size_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[9]
1522 #define SWIGTYPE_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t swig_types[10]
1523 #define SWIGTYPE_p_f_p_void__p_svn_error_t swig_types[11]
1524 #define SWIGTYPE_p_f_p_void_apr_int64_t_svn_fs_pack_notify_action_t_p_apr_pool_t__p_svn_error_t swig_types[12]
1525 #define SWIGTYPE_p_f_p_void_apr_uint64_t_svn_fs_upgrade_notify_action_t_p_apr_pool_t__p_svn_error_t swig_types[13]
1526 #define SWIGTYPE_p_f_p_void_long_long_p_apr_pool_t__void swig_types[14]
1527 #define SWIGTYPE_p_f_p_void_p_apr_pool_t__p_svn_error_t swig_types[15]
1528 #define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t swig_types[16]
1529 #define SWIGTYPE_p_f_p_void_p_svn_error_t__void swig_types[17]
1530 #define SWIGTYPE_p_f_p_void_p_svn_lock_t_p_apr_pool_t__p_svn_error_t swig_types[18]
1531 #define SWIGTYPE_p_int swig_types[19]
1532 #define SWIGTYPE_p_long swig_types[20]
1533 #define SWIGTYPE_p_p_apr_array_header_t swig_types[21]
1534 #define SWIGTYPE_p_p_apr_hash_t swig_types[22]
1535 #define SWIGTYPE_p_p_char swig_types[23]
1536 #define SWIGTYPE_p_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t swig_types[24]
1537 #define SWIGTYPE_p_p_svn_checksum_t swig_types[25]
1538 #define SWIGTYPE_p_p_svn_fs_access_t swig_types[26]
1539 #define SWIGTYPE_p_p_svn_fs_history_t swig_types[27]
1540 #define SWIGTYPE_p_p_svn_fs_id_t swig_types[28]
1541 #define SWIGTYPE_p_p_svn_fs_info_placeholder_t swig_types[29]
1542 #define SWIGTYPE_p_p_svn_fs_path_change3_t swig_types[30]
1543 #define SWIGTYPE_p_p_svn_fs_path_change_iterator_t swig_types[31]
1544 #define SWIGTYPE_p_p_svn_fs_root_t swig_types[32]
1545 #define SWIGTYPE_p_p_svn_fs_t swig_types[33]
1546 #define SWIGTYPE_p_p_svn_fs_txn_t swig_types[34]
1547 #define SWIGTYPE_p_p_svn_lock_t swig_types[35]
1548 #define SWIGTYPE_p_p_svn_stream_t swig_types[36]
1549 #define SWIGTYPE_p_p_svn_string_t swig_types[37]
1550 #define SWIGTYPE_p_p_svn_txdelta_stream_t swig_types[38]
1551 #define SWIGTYPE_p_p_svn_version_t swig_types[39]
1552 #define SWIGTYPE_p_p_void swig_types[40]
1553 #define SWIGTYPE_p_svn_auth_baton_t swig_types[41]
1554 #define SWIGTYPE_p_svn_auth_cred_simple_t swig_types[42]
1555 #define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t swig_types[43]
1556 #define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t swig_types[44]
1557 #define SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t swig_types[45]
1558 #define SWIGTYPE_p_svn_auth_cred_username_t swig_types[46]
1559 #define SWIGTYPE_p_svn_auth_iterstate_t swig_types[47]
1560 #define SWIGTYPE_p_svn_auth_provider_object_t swig_types[48]
1561 #define SWIGTYPE_p_svn_auth_provider_t swig_types[49]
1562 #define SWIGTYPE_p_svn_auth_ssl_server_cert_info_t swig_types[50]
1563 #define SWIGTYPE_p_svn_cache_config_t swig_types[51]
1564 #define SWIGTYPE_p_svn_checksum_ctx_t swig_types[52]
1565 #define SWIGTYPE_p_svn_checksum_kind_t swig_types[53]
1566 #define SWIGTYPE_p_svn_checksum_t swig_types[54]
1567 #define SWIGTYPE_p_svn_commit_info_t swig_types[55]
1568 #define SWIGTYPE_p_svn_config_t swig_types[56]
1569 #define SWIGTYPE_p_svn_delta_editor_t swig_types[57]
1570 #define SWIGTYPE_p_svn_delta_path_driver_state_t swig_types[58]
1571 #define SWIGTYPE_p_svn_depth_t swig_types[59]
1572 #define SWIGTYPE_p_svn_diff_binary_patch_t swig_types[60]
1573 #define SWIGTYPE_p_svn_diff_conflict_display_style_t swig_types[61]
1574 #define SWIGTYPE_p_svn_diff_datasource_e swig_types[62]
1575 #define SWIGTYPE_p_svn_diff_file_ignore_space_t swig_types[63]
1576 #define SWIGTYPE_p_svn_diff_file_options_t swig_types[64]
1577 #define SWIGTYPE_p_svn_diff_fns2_t swig_types[65]
1578 #define SWIGTYPE_p_svn_diff_fns_t swig_types[66]
1579 #define SWIGTYPE_p_svn_diff_hunk_t swig_types[67]
1580 #define SWIGTYPE_p_svn_diff_operation_kind_e swig_types[68]
1581 #define SWIGTYPE_p_svn_diff_output_fns_t swig_types[69]
1582 #define SWIGTYPE_p_svn_diff_t swig_types[70]
1583 #define SWIGTYPE_p_svn_dirent_t swig_types[71]
1584 #define SWIGTYPE_p_svn_errno_t swig_types[72]
1585 #define SWIGTYPE_p_svn_error_t swig_types[73]
1586 #define SWIGTYPE_p_svn_fs_access_t swig_types[74]
1587 #define SWIGTYPE_p_svn_fs_dirent_t swig_types[75]
1588 #define SWIGTYPE_p_svn_fs_fsfs_info_t swig_types[76]
1589 #define SWIGTYPE_p_svn_fs_fsx_info_t swig_types[77]
1590 #define SWIGTYPE_p_svn_fs_history_t swig_types[78]
1591 #define SWIGTYPE_p_svn_fs_id_t swig_types[79]
1592 #define SWIGTYPE_p_svn_fs_info_placeholder_t swig_types[80]
1593 #define SWIGTYPE_p_svn_fs_ioctl_code_t swig_types[81]
1594 #define SWIGTYPE_p_svn_fs_lock_target_t swig_types[82]
1595 #define SWIGTYPE_p_svn_fs_node_relation_t swig_types[83]
1596 #define SWIGTYPE_p_svn_fs_pack_notify_action_t swig_types[84]
1597 #define SWIGTYPE_p_svn_fs_path_change2_t swig_types[85]
1598 #define SWIGTYPE_p_svn_fs_path_change3_t swig_types[86]
1599 #define SWIGTYPE_p_svn_fs_path_change_iterator_t swig_types[87]
1600 #define SWIGTYPE_p_svn_fs_path_change_kind_t swig_types[88]
1601 #define SWIGTYPE_p_svn_fs_path_change_t swig_types[89]
1602 #define SWIGTYPE_p_svn_fs_root_t swig_types[90]
1603 #define SWIGTYPE_p_svn_fs_t swig_types[91]
1604 #define SWIGTYPE_p_svn_fs_txn_t swig_types[92]
1605 #define SWIGTYPE_p_svn_fs_upgrade_notify_action_t swig_types[93]
1606 #define SWIGTYPE_p_svn_io_dirent2_t swig_types[94]
1607 #define SWIGTYPE_p_svn_io_dirent_t swig_types[95]
1608 #define SWIGTYPE_p_svn_io_file_del_t swig_types[96]
1609 #define SWIGTYPE_p_svn_location_segment_t swig_types[97]
1610 #define SWIGTYPE_p_svn_lock_t swig_types[98]
1611 #define SWIGTYPE_p_svn_log_changed_path2_t swig_types[99]
1612 #define SWIGTYPE_p_svn_log_changed_path_t swig_types[100]
1613 #define SWIGTYPE_p_svn_log_entry_t swig_types[101]
1614 #define SWIGTYPE_p_svn_merge_range_t swig_types[102]
1615 #define SWIGTYPE_p_svn_mergeinfo_inheritance_t swig_types[103]
1616 #define SWIGTYPE_p_svn_node_kind_t swig_types[104]
1617 #define SWIGTYPE_p_svn_opt_revision_range_t swig_types[105]
1618 #define SWIGTYPE_p_svn_opt_revision_t swig_types[106]
1619 #define SWIGTYPE_p_svn_opt_revision_value_t swig_types[107]
1620 #define SWIGTYPE_p_svn_opt_subcommand_desc2_t swig_types[108]
1621 #define SWIGTYPE_p_svn_opt_subcommand_desc3_t swig_types[109]
1622 #define SWIGTYPE_p_svn_opt_subcommand_desc_t swig_types[110]
1623 #define SWIGTYPE_p_svn_patch_file_t swig_types[111]
1624 #define SWIGTYPE_p_svn_patch_t swig_types[112]
1625 #define SWIGTYPE_p_svn_prop_inherited_item_t swig_types[113]
1626 #define SWIGTYPE_p_svn_prop_kind swig_types[114]
1627 #define SWIGTYPE_p_svn_prop_patch_t swig_types[115]
1628 #define SWIGTYPE_p_svn_stream_mark_t swig_types[116]
1629 #define SWIGTYPE_p_svn_stream_t swig_types[117]
1630 #define SWIGTYPE_p_svn_string_t swig_types[118]
1631 #define SWIGTYPE_p_svn_stringbuf_t swig_types[119]
1632 #define SWIGTYPE_p_svn_tristate_t swig_types[120]
1633 #define SWIGTYPE_p_svn_txdelta_op_t swig_types[121]
1634 #define SWIGTYPE_p_svn_txdelta_stream_t swig_types[122]
1635 #define SWIGTYPE_p_svn_txdelta_window_t swig_types[123]
1636 #define SWIGTYPE_p_svn_version_checklist_t swig_types[124]
1637 #define SWIGTYPE_p_svn_version_ext_linked_lib_t swig_types[125]
1638 #define SWIGTYPE_p_svn_version_ext_loaded_lib_t swig_types[126]
1639 #define SWIGTYPE_p_svn_version_extended_t swig_types[127]
1640 #define SWIGTYPE_p_svn_version_t swig_types[128]
1641 #define SWIGTYPE_p_svn_wc_external_item2_t swig_types[129]
1642 #define SWIGTYPE_p_unsigned_char swig_types[130]
1643 #define SWIGTYPE_p_unsigned_long swig_types[131]
1644 #define SWIGTYPE_p_void swig_types[132]
1645 static swig_type_info *swig_types[134];
1646 static swig_module_info swig_module = {swig_types, 133, 0, 0, 0, 0};
1647 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1648 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1649
1650 /* -------- TYPES TABLE (END) -------- */
1651
1652 #define SWIG_init boot_SVN___Fs
1653
1654 #define SWIG_name "SVN::_Fs::boot_SVN___Fs"
1655 #define SWIG_prefix "SVN::_Fs::"
1656
1657 #define SWIGVERSION 0x030012
1658 #define SWIG_VERSION SWIGVERSION
1659
1660
1661 #define SWIG_as_voidptr(a) (void *)((const void *)(a))
1662 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
1663
1664
1665 #ifdef __cplusplus
1666 extern "C"
1667 #endif
1668 #ifndef PERL_OBJECT
1669 #ifndef MULTIPLICITY
1670 SWIGEXPORT void SWIG_init (CV* cv);
1671 #else
1672 SWIGEXPORT void SWIG_init (pTHXo_ CV* cv);
1673 #endif
1674 #else
1675 SWIGEXPORT void SWIG_init (CV *cv, CPerlObj *);
1676 #endif
1677
1678
1679 #include "svn_time.h"
1680 #include "svn_pools.h"
1681
1682
1683 #include "swigutil_pl.h"
1684
1685
1686 #include <apr_md5.h>
1687 #include "svn_md5.h"
1688
1689
1690 #include "svn_fs.h"
1691
1692
1693 SWIGINTERNINLINE SV *
SWIG_FromCharPtrAndSize(const char * carray,size_t size)1694 SWIG_FromCharPtrAndSize(const char* carray, size_t size)
1695 {
1696 SV *obj = sv_newmortal();
1697 if (carray) {
1698 sv_setpvn(obj, carray, size);
1699 } else {
1700 sv_setsv(obj, &PL_sv_undef);
1701 }
1702 return obj;
1703 }
1704
1705
1706 SWIGINTERNINLINE SV *
SWIG_FromCharPtr(const char * cptr)1707 SWIG_FromCharPtr(const char *cptr)
1708 {
1709 return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
1710 }
1711
1712
1713 SWIGINTERN swig_type_info*
SWIG_pchar_descriptor(void)1714 SWIG_pchar_descriptor(void)
1715 {
1716 static int init = 0;
1717 static swig_type_info* info = 0;
1718 if (!init) {
1719 info = SWIG_TypeQuery("_p_char");
1720 init = 1;
1721 }
1722 return info;
1723 }
1724
1725
1726 SWIGINTERN int
SWIG_AsCharPtrAndSize(SV * obj,char ** cptr,size_t * psize,int * alloc)1727 SWIG_AsCharPtrAndSize(SV *obj, char** cptr, size_t* psize, int *alloc)
1728 {
1729 if (SvMAGICAL(obj)) {
1730 SV *tmp = sv_newmortal();
1731 SvSetSV(tmp, obj);
1732 obj = tmp;
1733 }
1734 if (SvPOK(obj)) {
1735 STRLEN len = 0;
1736 char *cstr = SvPV(obj, len);
1737 size_t size = len + 1;
1738 if (cptr) {
1739 if (alloc) {
1740 if (*alloc == SWIG_NEWOBJ) {
1741 *cptr = (char *)memcpy(malloc((size)*sizeof(char)), cstr, sizeof(char)*(size));
1742 } else {
1743 *cptr = cstr;
1744 *alloc = SWIG_OLDOBJ;
1745 }
1746 }
1747 }
1748 if (psize) *psize = size;
1749 return SWIG_OK;
1750 } else {
1751 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
1752 if (pchar_descriptor) {
1753 char* vptr = 0;
1754 if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_descriptor, 0) == SWIG_OK) {
1755 if (cptr) *cptr = vptr;
1756 if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0;
1757 if (alloc) *alloc = SWIG_OLDOBJ;
1758 return SWIG_OK;
1759 }
1760 }
1761 }
1762 return SWIG_TypeError;
1763 }
1764
1765
1766
1767
1768
1769 SWIGINTERNINLINE SV *
SWIG_PERL_DECL_ARGS_1(long value)1770 SWIG_From_long SWIG_PERL_DECL_ARGS_1(long value)
1771 {
1772 SV *sv;
1773 if (IVSIZE >= sizeof(value) || (value >= IV_MIN && value <= IV_MAX))
1774 sv = newSViv(value);
1775 else
1776 sv = newSVpvf("%ld", value);
1777 return sv_2mortal(sv);
1778 }
1779
1780
1781 SWIGINTERNINLINE SV *
SWIG_PERL_DECL_ARGS_1(int value)1782 SWIG_From_int SWIG_PERL_DECL_ARGS_1(int value)
1783 {
1784 return SWIG_From_long SWIG_PERL_CALL_ARGS_1(value);
1785 }
1786
1787
1788 #include <limits.h>
1789 #if !defined(SWIG_NO_LLONG_MAX)
1790 # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
1791 # define LLONG_MAX __LONG_LONG_MAX__
1792 # define LLONG_MIN (-LLONG_MAX - 1LL)
1793 # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
1794 # endif
1795 #endif
1796
1797
1798 #include <stdlib.h>
1799 #ifdef _MSC_VER
1800 # ifndef strtoull
1801 # define strtoull _strtoui64
1802 # endif
1803 # ifndef strtoll
1804 # define strtoll _strtoi64
1805 # endif
1806 #endif
1807
1808
1809 SWIGINTERN int
SWIG_PERL_DECL_ARGS_2(SV * obj,double * val)1810 SWIG_AsVal_double SWIG_PERL_DECL_ARGS_2(SV *obj, double *val)
1811 {
1812 if (SvNIOK(obj)) {
1813 if (val) *val = SvNV(obj);
1814 return SWIG_OK;
1815 } else if (SvIOK(obj)) {
1816 if (val) *val = (double) SvIV(obj);
1817 return SWIG_AddCast(SWIG_OK);
1818 } else {
1819 const char *nptr = SvPV_nolen(obj);
1820 if (nptr) {
1821 char *endptr;
1822 double v;
1823 errno = 0;
1824 v = strtod(nptr, &endptr);
1825 if (errno == ERANGE) {
1826 errno = 0;
1827 return SWIG_OverflowError;
1828 } else {
1829 if (*endptr == '\0') {
1830 if (val) *val = v;
1831 return SWIG_Str2NumCast(SWIG_OK);
1832 }
1833 }
1834 }
1835 }
1836 return SWIG_TypeError;
1837 }
1838
1839
1840 #include <float.h>
1841
1842
1843 #include <math.h>
1844
1845
1846 SWIGINTERNINLINE int
SWIG_CanCastAsInteger(double * d,double min,double max)1847 SWIG_CanCastAsInteger(double *d, double min, double max) {
1848 double x = *d;
1849 if ((min <= x && x <= max)) {
1850 double fx = floor(x);
1851 double cx = ceil(x);
1852 double rd = ((x - fx) < 0.5) ? fx : cx; /* simple rint */
1853 if ((errno == EDOM) || (errno == ERANGE)) {
1854 errno = 0;
1855 } else {
1856 double summ, reps, diff;
1857 if (rd < x) {
1858 diff = x - rd;
1859 } else if (rd > x) {
1860 diff = rd - x;
1861 } else {
1862 return 1;
1863 }
1864 summ = rd + x;
1865 reps = diff/summ;
1866 if (reps < 8*DBL_EPSILON) {
1867 *d = rd;
1868 return 1;
1869 }
1870 }
1871 }
1872 return 0;
1873 }
1874
1875
1876 SWIGINTERN int
SWIG_PERL_DECL_ARGS_2(SV * obj,long * val)1877 SWIG_AsVal_long SWIG_PERL_DECL_ARGS_2(SV *obj, long* val)
1878 {
1879 if (SvUOK(obj)) {
1880 UV v = SvUV(obj);
1881 if (UVSIZE < sizeof(*val) || v <= LONG_MAX) {
1882 if (val) *val = v;
1883 return SWIG_OK;
1884 }
1885 return SWIG_OverflowError;
1886 } else if (SvIOK(obj)) {
1887 IV v = SvIV(obj);
1888 if (IVSIZE <= sizeof(*val) || (v >= LONG_MIN && v <= LONG_MAX)) {
1889 if(val) *val = v;
1890 return SWIG_OK;
1891 }
1892 return SWIG_OverflowError;
1893 } else {
1894 int dispatch = 0;
1895 const char *nptr = SvPV_nolen(obj);
1896 if (nptr) {
1897 char *endptr;
1898 long v;
1899 errno = 0;
1900 v = strtol(nptr, &endptr,0);
1901 if (errno == ERANGE) {
1902 errno = 0;
1903 return SWIG_OverflowError;
1904 } else {
1905 if (*endptr == '\0') {
1906 if (val) *val = v;
1907 return SWIG_Str2NumCast(SWIG_OK);
1908 }
1909 }
1910 }
1911 if (!dispatch) {
1912 double d;
1913 int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
1914 if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) {
1915 if (val) *val = (long)(d);
1916 return res;
1917 }
1918 }
1919 }
1920 return SWIG_TypeError;
1921 }
1922
1923
1924 SWIGINTERN int
SWIG_PERL_DECL_ARGS_2(SV * obj,int * val)1925 SWIG_AsVal_int SWIG_PERL_DECL_ARGS_2(SV * obj, int *val)
1926 {
1927 long v;
1928 int res = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v);
1929 if (SWIG_IsOK(res)) {
1930 if ((v < INT_MIN || v > INT_MAX)) {
1931 return SWIG_OverflowError;
1932 } else {
1933 if (val) *val = (int)(v);
1934 }
1935 }
1936 return res;
1937 }
1938
1939
1940 SWIGINTERN int
SWIG_PERL_DECL_ARGS_2(SV * obj,unsigned long * val)1941 SWIG_AsVal_unsigned_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long *val)
1942 {
1943 if (SvUOK(obj)) {
1944 UV v = SvUV(obj);
1945 if (UVSIZE <= sizeof(*val) || v <= ULONG_MAX) {
1946 if (val) *val = v;
1947 return SWIG_OK;
1948 }
1949 return SWIG_OverflowError;
1950 } else if (SvIOK(obj)) {
1951 IV v = SvIV(obj);
1952 if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULONG_MAX)) {
1953 if (val) *val = v;
1954 return SWIG_OK;
1955 }
1956 return SWIG_OverflowError;
1957 } else {
1958 int dispatch = 0;
1959 const char *nptr = SvPV_nolen(obj);
1960 if (nptr) {
1961 char *endptr;
1962 unsigned long v;
1963 errno = 0;
1964 v = strtoul(nptr, &endptr,0);
1965 if (errno == ERANGE) {
1966 errno = 0;
1967 return SWIG_OverflowError;
1968 } else {
1969 if (*endptr == '\0') {
1970 if (val) *val = v;
1971 return SWIG_Str2NumCast(SWIG_OK);
1972 }
1973 }
1974 }
1975 if (!dispatch) {
1976 double d;
1977 int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
1978 if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) {
1979 if (val) *val = (unsigned long)(d);
1980 return res;
1981 }
1982 }
1983 }
1984 return SWIG_TypeError;
1985 }
1986
1987
1988 #if defined(LLONG_MAX) && !defined(SWIG_LONG_LONG_AVAILABLE)
1989 # define SWIG_LONG_LONG_AVAILABLE
1990 #endif
1991
1992
1993 #ifdef SWIG_LONG_LONG_AVAILABLE
1994 SWIGINTERN int
SWIG_PERL_DECL_ARGS_2(SV * obj,long long * val)1995 SWIG_AsVal_long_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, long long *val)
1996 {
1997 if (SvUOK(obj)) {
1998 UV v = SvUV(obj);
1999 /* pretty sure this could allow v == LLONG MAX */
2000 if (UVSIZE < sizeof(*val) || v < LLONG_MAX) {
2001 if (val) *val = v;
2002 return SWIG_OK;
2003 }
2004 return SWIG_OverflowError;
2005 } else if (SvIOK(obj)) {
2006 IV v = SvIV(obj);
2007 if (IVSIZE <= sizeof(*val) || (v >= LLONG_MIN && v <= LLONG_MAX)) {
2008 if (val) *val = v;
2009 return SWIG_OK;
2010 }
2011 return SWIG_OverflowError;
2012 } else {
2013 int dispatch = 0;
2014 const char *nptr = SvPV_nolen(obj);
2015 if (nptr) {
2016 char *endptr;
2017 long long v;
2018 errno = 0;
2019 v = strtoll(nptr, &endptr,0);
2020 if (errno == ERANGE) {
2021 errno = 0;
2022 return SWIG_OverflowError;
2023 } else {
2024 if (*endptr == '\0') {
2025 if (val) *val = v;
2026 return SWIG_Str2NumCast(SWIG_OK);
2027 }
2028 }
2029 }
2030 if (!dispatch) {
2031 const double mant_max = 1LL << DBL_MANT_DIG;
2032 const double mant_min = -mant_max;
2033 double d;
2034 int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
2035 if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, mant_min, mant_max)) {
2036 if (val) *val = (long long)(d);
2037 return res;
2038 }
2039 }
2040 }
2041 return SWIG_TypeError;
2042 }
2043 #endif
2044
2045
svn_fs_invoke_warning_callback(svn_fs_warning_callback_t _obj,void * baton,svn_error_t * err)2046 static void svn_fs_invoke_warning_callback(
2047 svn_fs_warning_callback_t _obj, void *baton, svn_error_t *err) {
2048 _obj(baton, err);
2049 }
2050
svn_fs_invoke_upgrade_notify(svn_fs_upgrade_notify_t _obj,void * baton,apr_uint64_t number,svn_fs_upgrade_notify_action_t action,apr_pool_t * scratch_pool)2051 static svn_error_t * svn_fs_invoke_upgrade_notify(
2052 svn_fs_upgrade_notify_t _obj, void *baton, apr_uint64_t number, svn_fs_upgrade_notify_action_t action, apr_pool_t *scratch_pool) {
2053 return _obj(baton, number, action, scratch_pool);
2054 }
2055
svn_fs_invoke_progress_notify_func(svn_fs_progress_notify_func_t _obj,svn_revnum_t revision,void * baton,apr_pool_t * pool)2056 static void svn_fs_invoke_progress_notify_func(
2057 svn_fs_progress_notify_func_t _obj, svn_revnum_t revision, void *baton, apr_pool_t *pool) {
2058 _obj(revision, baton, pool);
2059 }
2060
svn_fs_invoke_hotcopy_notify(svn_fs_hotcopy_notify_t _obj,void * baton,svn_revnum_t start_revision,svn_revnum_t end_revision,apr_pool_t * scratch_pool)2061 static void svn_fs_invoke_hotcopy_notify(
2062 svn_fs_hotcopy_notify_t _obj, void *baton, svn_revnum_t start_revision, svn_revnum_t end_revision, apr_pool_t *scratch_pool) {
2063 _obj(baton, start_revision, end_revision, scratch_pool);
2064 }
2065
svn_fs_invoke_freeze_func(svn_fs_freeze_func_t _obj,void * baton,apr_pool_t * pool)2066 static svn_error_t * svn_fs_invoke_freeze_func(
2067 svn_fs_freeze_func_t _obj, void *baton, apr_pool_t *pool) {
2068 return _obj(baton, pool);
2069 }
2070
svn_fs_invoke_mergeinfo_receiver(svn_fs_mergeinfo_receiver_t _obj,const char * path,svn_mergeinfo_t mergeinfo,void * baton,apr_pool_t * scratch_pool)2071 static svn_error_t * svn_fs_invoke_mergeinfo_receiver(
2072 svn_fs_mergeinfo_receiver_t _obj, const char *path, svn_mergeinfo_t mergeinfo, void *baton, apr_pool_t *scratch_pool) {
2073 return _obj(path, mergeinfo, baton, scratch_pool);
2074 }
2075
svn_fs_invoke_process_contents_func(svn_fs_process_contents_func_t _obj,const unsigned char * contents,apr_size_t len,void * baton,apr_pool_t * scratch_pool)2076 static svn_error_t * svn_fs_invoke_process_contents_func(
2077 svn_fs_process_contents_func_t _obj, const unsigned char *contents, apr_size_t len, void *baton, apr_pool_t *scratch_pool) {
2078 return _obj(contents, len, baton, scratch_pool);
2079 }
2080
svn_fs_invoke_lock_callback(svn_fs_lock_callback_t _obj,void * baton,const char * path,const svn_lock_t * lock,svn_error_t * fs_err,apr_pool_t * scratch_pool)2081 static svn_error_t * svn_fs_invoke_lock_callback(
2082 svn_fs_lock_callback_t _obj, void *baton, const char *path, const svn_lock_t *lock, svn_error_t *fs_err, apr_pool_t *scratch_pool) {
2083 return _obj(baton, path, lock, fs_err, scratch_pool);
2084 }
2085
svn_fs_invoke_get_locks_callback(svn_fs_get_locks_callback_t _obj,void * baton,svn_lock_t * lock,apr_pool_t * pool)2086 static svn_error_t * svn_fs_invoke_get_locks_callback(
2087 svn_fs_get_locks_callback_t _obj, void *baton, svn_lock_t *lock, apr_pool_t *pool) {
2088 return _obj(baton, lock, pool);
2089 }
2090
svn_fs_invoke_pack_notify(svn_fs_pack_notify_t _obj,void * baton,apr_int64_t shard,svn_fs_pack_notify_action_t action,apr_pool_t * pool)2091 static svn_error_t * svn_fs_invoke_pack_notify(
2092 svn_fs_pack_notify_t _obj, void *baton, apr_int64_t shard, svn_fs_pack_notify_action_t action, apr_pool_t *pool) {
2093 return _obj(baton, shard, action, pool);
2094 }
2095
2096
2097
2098 #ifdef SWIG_LONG_LONG_AVAILABLE
2099 SWIGINTERN int
SWIG_PERL_DECL_ARGS_2(SV * obj,unsigned long long * val)2100 SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long long *val)
2101 {
2102 if (SvUOK(obj)) {
2103 /* pretty sure this should be conditional on
2104 * (UVSIZE <= sizeof(*val) || v <= ULLONG_MAX) */
2105 if (val) *val = SvUV(obj);
2106 return SWIG_OK;
2107 } else if (SvIOK(obj)) {
2108 IV v = SvIV(obj);
2109 if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULLONG_MAX)) {
2110 if (val) *val = v;
2111 return SWIG_OK;
2112 } else {
2113 return SWIG_OverflowError;
2114 }
2115 } else {
2116 int dispatch = 0;
2117 const char *nptr = SvPV_nolen(obj);
2118 if (nptr) {
2119 char *endptr;
2120 unsigned long long v;
2121 errno = 0;
2122 v = strtoull(nptr, &endptr,0);
2123 if (errno == ERANGE) {
2124 errno = 0;
2125 return SWIG_OverflowError;
2126 } else {
2127 if (*endptr == '\0') {
2128 if (val) *val = v;
2129 return SWIG_Str2NumCast(SWIG_OK);
2130 }
2131 }
2132 }
2133 if (!dispatch) {
2134 const double mant_max = 1LL << DBL_MANT_DIG;
2135 double d;
2136 int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
2137 if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, mant_max)) {
2138 if (val) *val = (unsigned long long)(d);
2139 return res;
2140 }
2141 }
2142 }
2143 return SWIG_TypeError;
2144 }
2145 #endif
2146
2147 #ifdef __cplusplus
2148 extern "C" {
2149 #endif
2150
2151 #ifdef PERL_OBJECT
2152 #define MAGIC_CLASS _wrap_SVN___Fs_var::
2153 class _wrap_SVN___Fs_var : public CPerlObj {
2154 public:
2155 #else
2156 #define MAGIC_CLASS
2157 #endif
swig_magic_readonly(pTHX_ SV * SWIGUNUSEDPARM (sv),MAGIC * SWIGUNUSEDPARM (mg))2158 SWIGCLASS_STATIC int swig_magic_readonly(pTHX_ SV *SWIGUNUSEDPARM(sv), MAGIC *SWIGUNUSEDPARM(mg)) {
2159 MAGIC_PPERL
2160 croak("Value is read-only.");
2161 return 0;
2162 }
2163
2164
2165 #ifdef PERL_OBJECT
2166 };
2167 #endif
2168
2169 #ifdef __cplusplus
2170 }
2171 #endif
2172
2173 #ifdef __cplusplus
2174 extern "C" {
2175 #endif
XS(_wrap_svn_fs_version)2176 XS(_wrap_svn_fs_version) {
2177 {
2178 int argvi = 0;
2179 svn_version_t *result = 0 ;
2180 dXSARGS;
2181
2182 if ((items < 0) || (items > 0)) {
2183 SWIG_croak("Usage: svn_fs_version();");
2184 }
2185 {
2186 result = (svn_version_t *)svn_fs_version();
2187
2188
2189
2190 }
2191 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_version_t, 0 | 0); argvi++ ;
2192 XSRETURN(argvi);
2193 fail:
2194 SWIG_croak_null();
2195 }
2196 }
2197
2198
XS(_wrap_svn_fs_initialize)2199 XS(_wrap_svn_fs_initialize) {
2200 {
2201 apr_pool_t *arg1 = (apr_pool_t *) 0 ;
2202 apr_pool_t *_global_pool ;
2203 int argvi = 0;
2204 svn_error_t *result = 0 ;
2205 dXSARGS;
2206
2207 {
2208 _global_pool = arg1 = svn_swig_pl_make_pool (ST(items-1));
2209 SPAGAIN;
2210 }
2211 if ((items < 0) || (items > 1)) {
2212 SWIG_croak("Usage: svn_fs_initialize(pool);");
2213 }
2214 if (items > 0) {
2215
2216 }
2217 {
2218 result = (svn_error_t *)svn_fs_initialize(arg1);
2219
2220
2221
2222 }
2223 {
2224 if (result) {
2225 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
2226
2227 if (SvOK(exception_handler)) {
2228 SV *callback_result;
2229
2230 PUTBACK;
2231 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
2232 &callback_result, "S", result,
2233 SWIGTYPE_p_svn_error_t);
2234 SPAGAIN;
2235 } else {
2236 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
2237 argvi++;
2238 }
2239 }
2240 }
2241
2242 XSRETURN(argvi);
2243 fail:
2244
2245 SWIG_croak_null();
2246 }
2247 }
2248
2249
XS(_wrap_svn_fs_create2)2250 XS(_wrap_svn_fs_create2) {
2251 {
2252 svn_fs_t **arg1 = (svn_fs_t **) 0 ;
2253 char *arg2 = (char *) 0 ;
2254 apr_hash_t *arg3 = (apr_hash_t *) 0 ;
2255 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
2256 apr_pool_t *arg5 = (apr_pool_t *) 0 ;
2257 apr_pool_t *_global_pool ;
2258 svn_fs_t *temp1 ;
2259 int res2 ;
2260 char *buf2 = 0 ;
2261 int alloc2 = 0 ;
2262 int argvi = 0;
2263 svn_error_t *result = 0 ;
2264 dXSARGS;
2265
2266 {
2267 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
2268 SPAGAIN;
2269 }
2270 {
2271 _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
2272 SPAGAIN;
2273 }
2274 arg1 = &temp1;
2275 if ((items < 2) || (items > 4)) {
2276 SWIG_croak("Usage: svn_fs_create2(path,fs_config,result_pool,scratch_pool);");
2277 }
2278 res2 = SWIG_AsCharPtrAndSize(ST(0), &buf2, NULL, &alloc2);
2279 if (!SWIG_IsOK(res2)) {
2280 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_create2" "', argument " "2"" of type '" "char const *""'");
2281 }
2282 arg2 = (char *)(buf2);
2283 {
2284 /* PERL-FIXME: Handle undef -> NULL. */
2285 arg3 = svn_swig_pl_strings_to_hash(ST(1), _global_pool);
2286 }
2287 if (items > 2) {
2288
2289 }
2290 if (items > 3) {
2291
2292 }
2293 {
2294 result = (svn_error_t *)svn_fs_create2(arg1,(char const *)arg2,arg3,arg4,arg5);
2295
2296
2297
2298 }
2299 {
2300 if (result) {
2301 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
2302
2303 if (SvOK(exception_handler)) {
2304 SV *callback_result;
2305
2306 PUTBACK;
2307 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
2308 &callback_result, "S", result,
2309 SWIGTYPE_p_svn_error_t);
2310 SPAGAIN;
2311 } else {
2312 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
2313 argvi++;
2314 }
2315 }
2316 }
2317 {
2318 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_fs_t, 0); argvi++ ;
2319 }
2320
2321 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
2322
2323
2324
2325 XSRETURN(argvi);
2326 fail:
2327
2328 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
2329
2330
2331
2332 SWIG_croak_null();
2333 }
2334 }
2335
2336
XS(_wrap_svn_fs_create)2337 XS(_wrap_svn_fs_create) {
2338 {
2339 svn_fs_t **arg1 = (svn_fs_t **) 0 ;
2340 char *arg2 = (char *) 0 ;
2341 apr_hash_t *arg3 = (apr_hash_t *) 0 ;
2342 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
2343 apr_pool_t *_global_pool ;
2344 svn_fs_t *temp1 ;
2345 int res2 ;
2346 char *buf2 = 0 ;
2347 int alloc2 = 0 ;
2348 int argvi = 0;
2349 svn_error_t *result = 0 ;
2350 dXSARGS;
2351
2352 {
2353 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
2354 SPAGAIN;
2355 }
2356 arg1 = &temp1;
2357 if ((items < 2) || (items > 3)) {
2358 SWIG_croak("Usage: svn_fs_create(path,fs_config,pool);");
2359 }
2360 res2 = SWIG_AsCharPtrAndSize(ST(0), &buf2, NULL, &alloc2);
2361 if (!SWIG_IsOK(res2)) {
2362 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_create" "', argument " "2"" of type '" "char const *""'");
2363 }
2364 arg2 = (char *)(buf2);
2365 {
2366 /* PERL-FIXME: Handle undef -> NULL. */
2367 arg3 = svn_swig_pl_strings_to_hash(ST(1), _global_pool);
2368 }
2369 if (items > 2) {
2370
2371 }
2372 {
2373 result = (svn_error_t *)svn_fs_create(arg1,(char const *)arg2,arg3,arg4);
2374
2375
2376
2377 }
2378 {
2379 if (result) {
2380 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
2381
2382 if (SvOK(exception_handler)) {
2383 SV *callback_result;
2384
2385 PUTBACK;
2386 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
2387 &callback_result, "S", result,
2388 SWIGTYPE_p_svn_error_t);
2389 SPAGAIN;
2390 } else {
2391 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
2392 argvi++;
2393 }
2394 }
2395 }
2396 {
2397 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_fs_t, 0); argvi++ ;
2398 }
2399
2400 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
2401
2402
2403 XSRETURN(argvi);
2404 fail:
2405
2406 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
2407
2408
2409 SWIG_croak_null();
2410 }
2411 }
2412
2413
XS(_wrap_svn_fs_open2)2414 XS(_wrap_svn_fs_open2) {
2415 {
2416 svn_fs_t **arg1 = (svn_fs_t **) 0 ;
2417 char *arg2 = (char *) 0 ;
2418 apr_hash_t *arg3 = (apr_hash_t *) 0 ;
2419 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
2420 apr_pool_t *arg5 = (apr_pool_t *) 0 ;
2421 apr_pool_t *_global_pool ;
2422 svn_fs_t *temp1 ;
2423 int res2 ;
2424 char *buf2 = 0 ;
2425 int alloc2 = 0 ;
2426 int argvi = 0;
2427 svn_error_t *result = 0 ;
2428 dXSARGS;
2429
2430 {
2431 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
2432 SPAGAIN;
2433 }
2434 {
2435 _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
2436 SPAGAIN;
2437 }
2438 arg1 = &temp1;
2439 if ((items < 2) || (items > 4)) {
2440 SWIG_croak("Usage: svn_fs_open2(path,fs_config,result_pool,scratch_pool);");
2441 }
2442 res2 = SWIG_AsCharPtrAndSize(ST(0), &buf2, NULL, &alloc2);
2443 if (!SWIG_IsOK(res2)) {
2444 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_open2" "', argument " "2"" of type '" "char const *""'");
2445 }
2446 arg2 = (char *)(buf2);
2447 {
2448 /* PERL-FIXME: Handle undef -> NULL. */
2449 arg3 = svn_swig_pl_strings_to_hash(ST(1), _global_pool);
2450 }
2451 if (items > 2) {
2452
2453 }
2454 if (items > 3) {
2455
2456 }
2457 {
2458 result = (svn_error_t *)svn_fs_open2(arg1,(char const *)arg2,arg3,arg4,arg5);
2459
2460
2461
2462 }
2463 {
2464 if (result) {
2465 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
2466
2467 if (SvOK(exception_handler)) {
2468 SV *callback_result;
2469
2470 PUTBACK;
2471 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
2472 &callback_result, "S", result,
2473 SWIGTYPE_p_svn_error_t);
2474 SPAGAIN;
2475 } else {
2476 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
2477 argvi++;
2478 }
2479 }
2480 }
2481 {
2482 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_fs_t, 0); argvi++ ;
2483 }
2484
2485 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
2486
2487
2488
2489 XSRETURN(argvi);
2490 fail:
2491
2492 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
2493
2494
2495
2496 SWIG_croak_null();
2497 }
2498 }
2499
2500
XS(_wrap_svn_fs_open)2501 XS(_wrap_svn_fs_open) {
2502 {
2503 svn_fs_t **arg1 = (svn_fs_t **) 0 ;
2504 char *arg2 = (char *) 0 ;
2505 apr_hash_t *arg3 = (apr_hash_t *) 0 ;
2506 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
2507 apr_pool_t *_global_pool ;
2508 svn_fs_t *temp1 ;
2509 int res2 ;
2510 char *buf2 = 0 ;
2511 int alloc2 = 0 ;
2512 int argvi = 0;
2513 svn_error_t *result = 0 ;
2514 dXSARGS;
2515
2516 {
2517 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
2518 SPAGAIN;
2519 }
2520 arg1 = &temp1;
2521 if ((items < 2) || (items > 3)) {
2522 SWIG_croak("Usage: svn_fs_open(path,fs_config,pool);");
2523 }
2524 res2 = SWIG_AsCharPtrAndSize(ST(0), &buf2, NULL, &alloc2);
2525 if (!SWIG_IsOK(res2)) {
2526 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_open" "', argument " "2"" of type '" "char const *""'");
2527 }
2528 arg2 = (char *)(buf2);
2529 {
2530 /* PERL-FIXME: Handle undef -> NULL. */
2531 arg3 = svn_swig_pl_strings_to_hash(ST(1), _global_pool);
2532 }
2533 if (items > 2) {
2534
2535 }
2536 {
2537 result = (svn_error_t *)svn_fs_open(arg1,(char const *)arg2,arg3,arg4);
2538
2539
2540
2541 }
2542 {
2543 if (result) {
2544 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
2545
2546 if (SvOK(exception_handler)) {
2547 SV *callback_result;
2548
2549 PUTBACK;
2550 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
2551 &callback_result, "S", result,
2552 SWIGTYPE_p_svn_error_t);
2553 SPAGAIN;
2554 } else {
2555 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
2556 argvi++;
2557 }
2558 }
2559 }
2560 {
2561 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_fs_t, 0); argvi++ ;
2562 }
2563
2564 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
2565
2566
2567 XSRETURN(argvi);
2568 fail:
2569
2570 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
2571
2572
2573 SWIG_croak_null();
2574 }
2575 }
2576
2577
XS(_wrap_svn_fs_upgrade2)2578 XS(_wrap_svn_fs_upgrade2) {
2579 {
2580 char *arg1 = (char *) 0 ;
2581 svn_fs_upgrade_notify_t arg2 = (svn_fs_upgrade_notify_t) 0 ;
2582 void *arg3 = (void *) 0 ;
2583 svn_cancel_func_t arg4 = (svn_cancel_func_t) 0 ;
2584 void *arg5 = (void *) 0 ;
2585 apr_pool_t *arg6 = (apr_pool_t *) 0 ;
2586 apr_pool_t *_global_pool ;
2587 int res1 ;
2588 char *buf1 = 0 ;
2589 int alloc1 = 0 ;
2590 int res3 ;
2591 int argvi = 0;
2592 svn_error_t *result = 0 ;
2593 dXSARGS;
2594
2595 {
2596 _global_pool = arg6 = svn_swig_pl_make_pool (ST(items-1));
2597 SPAGAIN;
2598 }
2599 if ((items < 4) || (items > 5)) {
2600 SWIG_croak("Usage: svn_fs_upgrade2(path,notify_func,notify_baton,cancel_func,cancel_baton,scratch_pool);");
2601 }
2602 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
2603 if (!SWIG_IsOK(res1)) {
2604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_upgrade2" "', argument " "1"" of type '" "char const *""'");
2605 }
2606 arg1 = (char *)(buf1);
2607 {
2608 int res = SWIG_ConvertFunctionPtr(ST(1), (void**)(&arg2), SWIGTYPE_p_f_p_void_apr_uint64_t_svn_fs_upgrade_notify_action_t_p_apr_pool_t__p_svn_error_t);
2609 if (!SWIG_IsOK(res)) {
2610 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_fs_upgrade2" "', argument " "2"" of type '" "svn_fs_upgrade_notify_t""'");
2611 }
2612 }
2613 res3 = SWIG_ConvertPtr(ST(2),SWIG_as_voidptrptr(&arg3), 0, 0);
2614 if (!SWIG_IsOK(res3)) {
2615 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_upgrade2" "', argument " "3"" of type '" "void *""'");
2616 }
2617 {
2618 arg4 = (svn_cancel_func_t) svn_swig_pl_cancel_func;
2619 arg5 = ST(3);
2620 }
2621 if (items > 4) {
2622
2623 }
2624 {
2625 result = (svn_error_t *)svn_fs_upgrade2((char const *)arg1,arg2,arg3,arg4,arg5,arg6);
2626
2627
2628
2629 }
2630 {
2631 if (result) {
2632 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
2633
2634 if (SvOK(exception_handler)) {
2635 SV *callback_result;
2636
2637 PUTBACK;
2638 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
2639 &callback_result, "S", result,
2640 SWIGTYPE_p_svn_error_t);
2641 SPAGAIN;
2642 } else {
2643 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
2644 argvi++;
2645 }
2646 }
2647 }
2648 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
2649
2650
2651
2652 XSRETURN(argvi);
2653 fail:
2654 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
2655
2656
2657
2658 SWIG_croak_null();
2659 }
2660 }
2661
2662
XS(_wrap_svn_fs_upgrade)2663 XS(_wrap_svn_fs_upgrade) {
2664 {
2665 char *arg1 = (char *) 0 ;
2666 apr_pool_t *arg2 = (apr_pool_t *) 0 ;
2667 apr_pool_t *_global_pool ;
2668 int res1 ;
2669 char *buf1 = 0 ;
2670 int alloc1 = 0 ;
2671 int argvi = 0;
2672 svn_error_t *result = 0 ;
2673 dXSARGS;
2674
2675 {
2676 _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
2677 SPAGAIN;
2678 }
2679 if ((items < 1) || (items > 2)) {
2680 SWIG_croak("Usage: svn_fs_upgrade(path,pool);");
2681 }
2682 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
2683 if (!SWIG_IsOK(res1)) {
2684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_upgrade" "', argument " "1"" of type '" "char const *""'");
2685 }
2686 arg1 = (char *)(buf1);
2687 if (items > 1) {
2688
2689 }
2690 {
2691 result = (svn_error_t *)svn_fs_upgrade((char const *)arg1,arg2);
2692
2693
2694
2695 }
2696 {
2697 if (result) {
2698 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
2699
2700 if (SvOK(exception_handler)) {
2701 SV *callback_result;
2702
2703 PUTBACK;
2704 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
2705 &callback_result, "S", result,
2706 SWIGTYPE_p_svn_error_t);
2707 SPAGAIN;
2708 } else {
2709 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
2710 argvi++;
2711 }
2712 }
2713 }
2714 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
2715
2716 XSRETURN(argvi);
2717 fail:
2718 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
2719
2720 SWIG_croak_null();
2721 }
2722 }
2723
2724
XS(_wrap_svn_fs_type)2725 XS(_wrap_svn_fs_type) {
2726 {
2727 char **arg1 = (char **) 0 ;
2728 char *arg2 = (char *) 0 ;
2729 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
2730 apr_pool_t *_global_pool ;
2731 char *temp1 ;
2732 int res2 ;
2733 char *buf2 = 0 ;
2734 int alloc2 = 0 ;
2735 int argvi = 0;
2736 svn_error_t *result = 0 ;
2737 dXSARGS;
2738
2739 {
2740 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
2741 SPAGAIN;
2742 }
2743 arg1 = &temp1;
2744 if ((items < 1) || (items > 2)) {
2745 SWIG_croak("Usage: svn_fs_type(path,pool);");
2746 }
2747 res2 = SWIG_AsCharPtrAndSize(ST(0), &buf2, NULL, &alloc2);
2748 if (!SWIG_IsOK(res2)) {
2749 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_type" "', argument " "2"" of type '" "char const *""'");
2750 }
2751 arg2 = (char *)(buf2);
2752 if (items > 1) {
2753
2754 }
2755 {
2756 result = (svn_error_t *)svn_fs_type((char const **)arg1,(char const *)arg2,arg3);
2757
2758
2759
2760 }
2761 {
2762 if (result) {
2763 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
2764
2765 if (SvOK(exception_handler)) {
2766 SV *callback_result;
2767
2768 PUTBACK;
2769 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
2770 &callback_result, "S", result,
2771 SWIGTYPE_p_svn_error_t);
2772 SPAGAIN;
2773 } else {
2774 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
2775 argvi++;
2776 }
2777 }
2778 }
2779 {
2780 if (*arg1 == NULL) {
2781 if (argvi >= items) EXTEND(sp,1); ST(argvi) = &PL_sv_undef; argvi++ ;
2782 } else {
2783 if (argvi >= items) EXTEND(sp,1); ST(argvi) = sv_2mortal(newSVpv(*arg1, 0)); argvi++ ;
2784 }
2785 }
2786
2787 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
2788
2789 XSRETURN(argvi);
2790 fail:
2791
2792 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
2793
2794 SWIG_croak_null();
2795 }
2796 }
2797
2798
XS(_wrap_svn_fs_path)2799 XS(_wrap_svn_fs_path) {
2800 {
2801 svn_fs_t *arg1 = (svn_fs_t *) 0 ;
2802 apr_pool_t *arg2 = (apr_pool_t *) 0 ;
2803 apr_pool_t *_global_pool ;
2804 void *argp1 = 0 ;
2805 int res1 = 0 ;
2806 int argvi = 0;
2807 char *result = 0 ;
2808 dXSARGS;
2809
2810 {
2811 _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
2812 SPAGAIN;
2813 }
2814 if ((items < 1) || (items > 2)) {
2815 SWIG_croak("Usage: svn_fs_path(fs,pool);");
2816 }
2817 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_t, 0 | 0 );
2818 if (!SWIG_IsOK(res1)) {
2819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path" "', argument " "1"" of type '" "svn_fs_t *""'");
2820 }
2821 arg1 = (svn_fs_t *)(argp1);
2822 if (items > 1) {
2823
2824 }
2825 {
2826 result = (char *)svn_fs_path(arg1,arg2);
2827
2828
2829
2830 }
2831 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
2832
2833
2834 XSRETURN(argvi);
2835 fail:
2836
2837
2838 SWIG_croak_null();
2839 }
2840 }
2841
2842
XS(_wrap_svn_fs_config)2843 XS(_wrap_svn_fs_config) {
2844 {
2845 svn_fs_t *arg1 = (svn_fs_t *) 0 ;
2846 apr_pool_t *arg2 = (apr_pool_t *) 0 ;
2847 apr_pool_t *_global_pool ;
2848 void *argp1 = 0 ;
2849 int res1 = 0 ;
2850 int argvi = 0;
2851 apr_hash_t *result = 0 ;
2852 dXSARGS;
2853
2854 {
2855 _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
2856 SPAGAIN;
2857 }
2858 if ((items < 1) || (items > 2)) {
2859 SWIG_croak("Usage: svn_fs_config(fs,pool);");
2860 }
2861 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_t, 0 | 0 );
2862 if (!SWIG_IsOK(res1)) {
2863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_config" "', argument " "1"" of type '" "svn_fs_t *""'");
2864 }
2865 arg1 = (svn_fs_t *)(argp1);
2866 if (items > 1) {
2867
2868 }
2869 {
2870 result = (apr_hash_t *)svn_fs_config(arg1,arg2);
2871
2872
2873
2874 }
2875 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_apr_hash_t, 0 | 0); argvi++ ;
2876
2877
2878 XSRETURN(argvi);
2879 fail:
2880
2881
2882 SWIG_croak_null();
2883 }
2884 }
2885
2886
XS(_wrap_svn_fs_delete_fs)2887 XS(_wrap_svn_fs_delete_fs) {
2888 {
2889 char *arg1 = (char *) 0 ;
2890 apr_pool_t *arg2 = (apr_pool_t *) 0 ;
2891 apr_pool_t *_global_pool ;
2892 int res1 ;
2893 char *buf1 = 0 ;
2894 int alloc1 = 0 ;
2895 int argvi = 0;
2896 svn_error_t *result = 0 ;
2897 dXSARGS;
2898
2899 {
2900 _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
2901 SPAGAIN;
2902 }
2903 if ((items < 1) || (items > 2)) {
2904 SWIG_croak("Usage: svn_fs_delete_fs(path,pool);");
2905 }
2906 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
2907 if (!SWIG_IsOK(res1)) {
2908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_delete_fs" "', argument " "1"" of type '" "char const *""'");
2909 }
2910 arg1 = (char *)(buf1);
2911 if (items > 1) {
2912
2913 }
2914 {
2915 result = (svn_error_t *)svn_fs_delete_fs((char const *)arg1,arg2);
2916
2917
2918
2919 }
2920 {
2921 if (result) {
2922 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
2923
2924 if (SvOK(exception_handler)) {
2925 SV *callback_result;
2926
2927 PUTBACK;
2928 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
2929 &callback_result, "S", result,
2930 SWIGTYPE_p_svn_error_t);
2931 SPAGAIN;
2932 } else {
2933 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
2934 argvi++;
2935 }
2936 }
2937 }
2938 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
2939
2940 XSRETURN(argvi);
2941 fail:
2942 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
2943
2944 SWIG_croak_null();
2945 }
2946 }
2947
2948
XS(_wrap_svn_fs_hotcopy3)2949 XS(_wrap_svn_fs_hotcopy3) {
2950 {
2951 char *arg1 = (char *) 0 ;
2952 char *arg2 = (char *) 0 ;
2953 svn_boolean_t arg3 ;
2954 svn_boolean_t arg4 ;
2955 svn_fs_hotcopy_notify_t arg5 = (svn_fs_hotcopy_notify_t) 0 ;
2956 void *arg6 = (void *) 0 ;
2957 svn_cancel_func_t arg7 = (svn_cancel_func_t) 0 ;
2958 void *arg8 = (void *) 0 ;
2959 apr_pool_t *arg9 = (apr_pool_t *) 0 ;
2960 apr_pool_t *_global_pool ;
2961 int res1 ;
2962 char *buf1 = 0 ;
2963 int alloc1 = 0 ;
2964 int res2 ;
2965 char *buf2 = 0 ;
2966 int alloc2 = 0 ;
2967 int val3 ;
2968 int ecode3 = 0 ;
2969 int val4 ;
2970 int ecode4 = 0 ;
2971 int res6 ;
2972 int argvi = 0;
2973 svn_error_t *result = 0 ;
2974 dXSARGS;
2975
2976 {
2977 _global_pool = arg9 = svn_swig_pl_make_pool (ST(items-1));
2978 SPAGAIN;
2979 }
2980 if ((items < 7) || (items > 8)) {
2981 SWIG_croak("Usage: svn_fs_hotcopy3(src_path,dest_path,clean,incremental,notify_func,notify_baton,cancel_func,cancel_baton,scratch_pool);");
2982 }
2983 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
2984 if (!SWIG_IsOK(res1)) {
2985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_hotcopy3" "', argument " "1"" of type '" "char const *""'");
2986 }
2987 arg1 = (char *)(buf1);
2988 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
2989 if (!SWIG_IsOK(res2)) {
2990 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_hotcopy3" "', argument " "2"" of type '" "char const *""'");
2991 }
2992 arg2 = (char *)(buf2);
2993 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
2994 if (!SWIG_IsOK(ecode3)) {
2995 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_fs_hotcopy3" "', argument " "3"" of type '" "svn_boolean_t""'");
2996 }
2997 arg3 = (svn_boolean_t)(val3);
2998 ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
2999 if (!SWIG_IsOK(ecode4)) {
3000 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "svn_fs_hotcopy3" "', argument " "4"" of type '" "svn_boolean_t""'");
3001 }
3002 arg4 = (svn_boolean_t)(val4);
3003 {
3004 int res = SWIG_ConvertFunctionPtr(ST(4), (void**)(&arg5), SWIGTYPE_p_f_p_void_long_long_p_apr_pool_t__void);
3005 if (!SWIG_IsOK(res)) {
3006 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_fs_hotcopy3" "', argument " "5"" of type '" "svn_fs_hotcopy_notify_t""'");
3007 }
3008 }
3009 res6 = SWIG_ConvertPtr(ST(5),SWIG_as_voidptrptr(&arg6), 0, 0);
3010 if (!SWIG_IsOK(res6)) {
3011 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "svn_fs_hotcopy3" "', argument " "6"" of type '" "void *""'");
3012 }
3013 {
3014 arg7 = (svn_cancel_func_t) svn_swig_pl_cancel_func;
3015 arg8 = ST(6);
3016 }
3017 if (items > 7) {
3018
3019 }
3020 {
3021 result = (svn_error_t *)svn_fs_hotcopy3((char const *)arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
3022
3023
3024
3025 }
3026 {
3027 if (result) {
3028 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
3029
3030 if (SvOK(exception_handler)) {
3031 SV *callback_result;
3032
3033 PUTBACK;
3034 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
3035 &callback_result, "S", result,
3036 SWIGTYPE_p_svn_error_t);
3037 SPAGAIN;
3038 } else {
3039 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
3040 argvi++;
3041 }
3042 }
3043 }
3044 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
3045 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
3046
3047
3048
3049
3050
3051 XSRETURN(argvi);
3052 fail:
3053 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
3054 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
3055
3056
3057
3058
3059
3060 SWIG_croak_null();
3061 }
3062 }
3063
3064
XS(_wrap_svn_fs_hotcopy2)3065 XS(_wrap_svn_fs_hotcopy2) {
3066 {
3067 char *arg1 = (char *) 0 ;
3068 char *arg2 = (char *) 0 ;
3069 svn_boolean_t arg3 ;
3070 svn_boolean_t arg4 ;
3071 svn_cancel_func_t arg5 = (svn_cancel_func_t) 0 ;
3072 void *arg6 = (void *) 0 ;
3073 apr_pool_t *arg7 = (apr_pool_t *) 0 ;
3074 apr_pool_t *_global_pool ;
3075 int res1 ;
3076 char *buf1 = 0 ;
3077 int alloc1 = 0 ;
3078 int res2 ;
3079 char *buf2 = 0 ;
3080 int alloc2 = 0 ;
3081 int val3 ;
3082 int ecode3 = 0 ;
3083 int val4 ;
3084 int ecode4 = 0 ;
3085 int argvi = 0;
3086 svn_error_t *result = 0 ;
3087 dXSARGS;
3088
3089 {
3090 _global_pool = arg7 = svn_swig_pl_make_pool (ST(items-1));
3091 SPAGAIN;
3092 }
3093 if ((items < 5) || (items > 6)) {
3094 SWIG_croak("Usage: svn_fs_hotcopy2(src_path,dest_path,clean,incremental,cancel_func,cancel_baton,scratch_pool);");
3095 }
3096 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
3097 if (!SWIG_IsOK(res1)) {
3098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_hotcopy2" "', argument " "1"" of type '" "char const *""'");
3099 }
3100 arg1 = (char *)(buf1);
3101 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
3102 if (!SWIG_IsOK(res2)) {
3103 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_hotcopy2" "', argument " "2"" of type '" "char const *""'");
3104 }
3105 arg2 = (char *)(buf2);
3106 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3107 if (!SWIG_IsOK(ecode3)) {
3108 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_fs_hotcopy2" "', argument " "3"" of type '" "svn_boolean_t""'");
3109 }
3110 arg3 = (svn_boolean_t)(val3);
3111 ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
3112 if (!SWIG_IsOK(ecode4)) {
3113 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "svn_fs_hotcopy2" "', argument " "4"" of type '" "svn_boolean_t""'");
3114 }
3115 arg4 = (svn_boolean_t)(val4);
3116 {
3117 arg5 = (svn_cancel_func_t) svn_swig_pl_cancel_func;
3118 arg6 = ST(4);
3119 }
3120 if (items > 5) {
3121
3122 }
3123 {
3124 result = (svn_error_t *)svn_fs_hotcopy2((char const *)arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7);
3125
3126
3127
3128 }
3129 {
3130 if (result) {
3131 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
3132
3133 if (SvOK(exception_handler)) {
3134 SV *callback_result;
3135
3136 PUTBACK;
3137 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
3138 &callback_result, "S", result,
3139 SWIGTYPE_p_svn_error_t);
3140 SPAGAIN;
3141 } else {
3142 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
3143 argvi++;
3144 }
3145 }
3146 }
3147 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
3148 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
3149
3150
3151
3152 XSRETURN(argvi);
3153 fail:
3154 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
3155 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
3156
3157
3158
3159 SWIG_croak_null();
3160 }
3161 }
3162
3163
XS(_wrap_svn_fs_hotcopy)3164 XS(_wrap_svn_fs_hotcopy) {
3165 {
3166 char *arg1 = (char *) 0 ;
3167 char *arg2 = (char *) 0 ;
3168 svn_boolean_t arg3 ;
3169 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
3170 apr_pool_t *_global_pool ;
3171 int res1 ;
3172 char *buf1 = 0 ;
3173 int alloc1 = 0 ;
3174 int res2 ;
3175 char *buf2 = 0 ;
3176 int alloc2 = 0 ;
3177 int val3 ;
3178 int ecode3 = 0 ;
3179 int argvi = 0;
3180 svn_error_t *result = 0 ;
3181 dXSARGS;
3182
3183 {
3184 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
3185 SPAGAIN;
3186 }
3187 if ((items < 3) || (items > 4)) {
3188 SWIG_croak("Usage: svn_fs_hotcopy(src_path,dest_path,clean,pool);");
3189 }
3190 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
3191 if (!SWIG_IsOK(res1)) {
3192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_hotcopy" "', argument " "1"" of type '" "char const *""'");
3193 }
3194 arg1 = (char *)(buf1);
3195 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
3196 if (!SWIG_IsOK(res2)) {
3197 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_hotcopy" "', argument " "2"" of type '" "char const *""'");
3198 }
3199 arg2 = (char *)(buf2);
3200 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3201 if (!SWIG_IsOK(ecode3)) {
3202 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_fs_hotcopy" "', argument " "3"" of type '" "svn_boolean_t""'");
3203 }
3204 arg3 = (svn_boolean_t)(val3);
3205 if (items > 3) {
3206
3207 }
3208 {
3209 result = (svn_error_t *)svn_fs_hotcopy((char const *)arg1,(char const *)arg2,arg3,arg4);
3210
3211
3212
3213 }
3214 {
3215 if (result) {
3216 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
3217
3218 if (SvOK(exception_handler)) {
3219 SV *callback_result;
3220
3221 PUTBACK;
3222 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
3223 &callback_result, "S", result,
3224 SWIGTYPE_p_svn_error_t);
3225 SPAGAIN;
3226 } else {
3227 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
3228 argvi++;
3229 }
3230 }
3231 }
3232 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
3233 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
3234
3235
3236 XSRETURN(argvi);
3237 fail:
3238 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
3239 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
3240
3241
3242 SWIG_croak_null();
3243 }
3244 }
3245
3246
XS(_wrap_svn_fs_recover)3247 XS(_wrap_svn_fs_recover) {
3248 {
3249 char *arg1 = (char *) 0 ;
3250 svn_cancel_func_t arg2 = (svn_cancel_func_t) 0 ;
3251 void *arg3 = (void *) 0 ;
3252 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
3253 apr_pool_t *_global_pool ;
3254 int res1 ;
3255 char *buf1 = 0 ;
3256 int alloc1 = 0 ;
3257 int argvi = 0;
3258 svn_error_t *result = 0 ;
3259 dXSARGS;
3260
3261 {
3262 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
3263 SPAGAIN;
3264 }
3265 if ((items < 2) || (items > 3)) {
3266 SWIG_croak("Usage: svn_fs_recover(path,cancel_func,cancel_baton,pool);");
3267 }
3268 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
3269 if (!SWIG_IsOK(res1)) {
3270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_recover" "', argument " "1"" of type '" "char const *""'");
3271 }
3272 arg1 = (char *)(buf1);
3273 {
3274 arg2 = (svn_cancel_func_t) svn_swig_pl_cancel_func;
3275 arg3 = ST(1);
3276 }
3277 if (items > 2) {
3278
3279 }
3280 {
3281 result = (svn_error_t *)svn_fs_recover((char const *)arg1,arg2,arg3,arg4);
3282
3283
3284
3285 }
3286 {
3287 if (result) {
3288 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
3289
3290 if (SvOK(exception_handler)) {
3291 SV *callback_result;
3292
3293 PUTBACK;
3294 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
3295 &callback_result, "S", result,
3296 SWIGTYPE_p_svn_error_t);
3297 SPAGAIN;
3298 } else {
3299 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
3300 argvi++;
3301 }
3302 }
3303 }
3304 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
3305
3306 XSRETURN(argvi);
3307 fail:
3308 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
3309
3310 SWIG_croak_null();
3311 }
3312 }
3313
3314
XS(_wrap_svn_fs_freeze)3315 XS(_wrap_svn_fs_freeze) {
3316 {
3317 svn_fs_t *arg1 = (svn_fs_t *) 0 ;
3318 svn_fs_freeze_func_t arg2 = (svn_fs_freeze_func_t) 0 ;
3319 void *arg3 = (void *) 0 ;
3320 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
3321 apr_pool_t *_global_pool ;
3322 void *argp1 = 0 ;
3323 int res1 = 0 ;
3324 int res3 ;
3325 int argvi = 0;
3326 svn_error_t *result = 0 ;
3327 dXSARGS;
3328
3329 {
3330 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
3331 SPAGAIN;
3332 }
3333 if ((items < 3) || (items > 4)) {
3334 SWIG_croak("Usage: svn_fs_freeze(fs,freeze_func,freeze_baton,pool);");
3335 }
3336 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_t, 0 | 0 );
3337 if (!SWIG_IsOK(res1)) {
3338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_freeze" "', argument " "1"" of type '" "svn_fs_t *""'");
3339 }
3340 arg1 = (svn_fs_t *)(argp1);
3341 {
3342 int res = SWIG_ConvertFunctionPtr(ST(1), (void**)(&arg2), SWIGTYPE_p_f_p_void_p_apr_pool_t__p_svn_error_t);
3343 if (!SWIG_IsOK(res)) {
3344 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_fs_freeze" "', argument " "2"" of type '" "svn_fs_freeze_func_t""'");
3345 }
3346 }
3347 res3 = SWIG_ConvertPtr(ST(2),SWIG_as_voidptrptr(&arg3), 0, 0);
3348 if (!SWIG_IsOK(res3)) {
3349 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_freeze" "', argument " "3"" of type '" "void *""'");
3350 }
3351 if (items > 3) {
3352
3353 }
3354 {
3355 result = (svn_error_t *)svn_fs_freeze(arg1,arg2,arg3,arg4);
3356
3357
3358
3359 }
3360 {
3361 if (result) {
3362 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
3363
3364 if (SvOK(exception_handler)) {
3365 SV *callback_result;
3366
3367 PUTBACK;
3368 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
3369 &callback_result, "S", result,
3370 SWIGTYPE_p_svn_error_t);
3371 SPAGAIN;
3372 } else {
3373 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
3374 argvi++;
3375 }
3376 }
3377 }
3378
3379
3380
3381
3382 XSRETURN(argvi);
3383 fail:
3384
3385
3386
3387
3388 SWIG_croak_null();
3389 }
3390 }
3391
3392
XS(_wrap_svn_fs_berkeley_logfiles)3393 XS(_wrap_svn_fs_berkeley_logfiles) {
3394 {
3395 apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
3396 char *arg2 = (char *) 0 ;
3397 svn_boolean_t arg3 ;
3398 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
3399 apr_pool_t *_global_pool ;
3400 apr_array_header_t *temp1 ;
3401 int res2 ;
3402 char *buf2 = 0 ;
3403 int alloc2 = 0 ;
3404 int val3 ;
3405 int ecode3 = 0 ;
3406 int argvi = 0;
3407 svn_error_t *result = 0 ;
3408 dXSARGS;
3409
3410 {
3411 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
3412 SPAGAIN;
3413 }
3414 arg1 = &temp1;
3415 if ((items < 2) || (items > 3)) {
3416 SWIG_croak("Usage: svn_fs_berkeley_logfiles(path,only_unused,pool);");
3417 }
3418 res2 = SWIG_AsCharPtrAndSize(ST(0), &buf2, NULL, &alloc2);
3419 if (!SWIG_IsOK(res2)) {
3420 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_berkeley_logfiles" "', argument " "2"" of type '" "char const *""'");
3421 }
3422 arg2 = (char *)(buf2);
3423 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val3);
3424 if (!SWIG_IsOK(ecode3)) {
3425 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_fs_berkeley_logfiles" "', argument " "3"" of type '" "svn_boolean_t""'");
3426 }
3427 arg3 = (svn_boolean_t)(val3);
3428 if (items > 2) {
3429
3430 }
3431 {
3432 result = (svn_error_t *)svn_fs_berkeley_logfiles(arg1,(char const *)arg2,arg3,arg4);
3433
3434
3435
3436 }
3437 {
3438 if (result) {
3439 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
3440
3441 if (SvOK(exception_handler)) {
3442 SV *callback_result;
3443
3444 PUTBACK;
3445 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
3446 &callback_result, "S", result,
3447 SWIGTYPE_p_svn_error_t);
3448 SPAGAIN;
3449 } else {
3450 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
3451 argvi++;
3452 }
3453 }
3454 }
3455 {
3456 if (argvi >= items) EXTEND(sp,1); ST(argvi) = svn_swig_pl_array_to_list(*arg1); argvi++ ;
3457 }
3458
3459 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
3460
3461
3462 XSRETURN(argvi);
3463 fail:
3464
3465 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
3466
3467
3468 SWIG_croak_null();
3469 }
3470 }
3471
3472
XS(_wrap_svn_fs_new)3473 XS(_wrap_svn_fs_new) {
3474 {
3475 apr_hash_t *arg1 = (apr_hash_t *) 0 ;
3476 apr_pool_t *arg2 = (apr_pool_t *) 0 ;
3477 apr_pool_t *_global_pool ;
3478 int argvi = 0;
3479 svn_fs_t *result = 0 ;
3480 dXSARGS;
3481
3482 {
3483 _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
3484 SPAGAIN;
3485 }
3486 if ((items < 1) || (items > 2)) {
3487 SWIG_croak("Usage: svn_fs_new(fs_config,pool);");
3488 }
3489 {
3490 /* PERL-FIXME: Handle undef -> NULL. */
3491 arg1 = svn_swig_pl_strings_to_hash(ST(0), _global_pool);
3492 }
3493 if (items > 1) {
3494
3495 }
3496 {
3497 result = (svn_fs_t *)svn_fs_new(arg1,arg2);
3498
3499
3500
3501 }
3502 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_fs_t, 0 | 0); argvi++ ;
3503
3504
3505 XSRETURN(argvi);
3506 fail:
3507
3508
3509 SWIG_croak_null();
3510 }
3511 }
3512
3513
XS(_wrap_svn_fs_create_berkeley)3514 XS(_wrap_svn_fs_create_berkeley) {
3515 {
3516 svn_fs_t *arg1 = (svn_fs_t *) 0 ;
3517 char *arg2 = (char *) 0 ;
3518 void *argp1 = 0 ;
3519 int res1 = 0 ;
3520 int res2 ;
3521 char *buf2 = 0 ;
3522 int alloc2 = 0 ;
3523 int argvi = 0;
3524 svn_error_t *result = 0 ;
3525 dXSARGS;
3526
3527 if ((items < 2) || (items > 2)) {
3528 SWIG_croak("Usage: svn_fs_create_berkeley(fs,path);");
3529 }
3530 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_t, 0 | 0 );
3531 if (!SWIG_IsOK(res1)) {
3532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_create_berkeley" "', argument " "1"" of type '" "svn_fs_t *""'");
3533 }
3534 arg1 = (svn_fs_t *)(argp1);
3535 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
3536 if (!SWIG_IsOK(res2)) {
3537 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_create_berkeley" "', argument " "2"" of type '" "char const *""'");
3538 }
3539 arg2 = (char *)(buf2);
3540 {
3541 result = (svn_error_t *)svn_fs_create_berkeley(arg1,(char const *)arg2);
3542
3543
3544
3545 }
3546 {
3547 if (result) {
3548 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
3549
3550 if (SvOK(exception_handler)) {
3551 SV *callback_result;
3552
3553 PUTBACK;
3554 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
3555 &callback_result, "S", result,
3556 SWIGTYPE_p_svn_error_t);
3557 SPAGAIN;
3558 } else {
3559 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
3560 argvi++;
3561 }
3562 }
3563 }
3564
3565 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
3566 XSRETURN(argvi);
3567 fail:
3568
3569 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
3570 SWIG_croak_null();
3571 }
3572 }
3573
3574
XS(_wrap_svn_fs_open_berkeley)3575 XS(_wrap_svn_fs_open_berkeley) {
3576 {
3577 svn_fs_t *arg1 = (svn_fs_t *) 0 ;
3578 char *arg2 = (char *) 0 ;
3579 void *argp1 = 0 ;
3580 int res1 = 0 ;
3581 int res2 ;
3582 char *buf2 = 0 ;
3583 int alloc2 = 0 ;
3584 int argvi = 0;
3585 svn_error_t *result = 0 ;
3586 dXSARGS;
3587
3588 if ((items < 2) || (items > 2)) {
3589 SWIG_croak("Usage: svn_fs_open_berkeley(fs,path);");
3590 }
3591 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_t, 0 | 0 );
3592 if (!SWIG_IsOK(res1)) {
3593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_open_berkeley" "', argument " "1"" of type '" "svn_fs_t *""'");
3594 }
3595 arg1 = (svn_fs_t *)(argp1);
3596 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
3597 if (!SWIG_IsOK(res2)) {
3598 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_open_berkeley" "', argument " "2"" of type '" "char const *""'");
3599 }
3600 arg2 = (char *)(buf2);
3601 {
3602 result = (svn_error_t *)svn_fs_open_berkeley(arg1,(char const *)arg2);
3603
3604
3605
3606 }
3607 {
3608 if (result) {
3609 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
3610
3611 if (SvOK(exception_handler)) {
3612 SV *callback_result;
3613
3614 PUTBACK;
3615 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
3616 &callback_result, "S", result,
3617 SWIGTYPE_p_svn_error_t);
3618 SPAGAIN;
3619 } else {
3620 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
3621 argvi++;
3622 }
3623 }
3624 }
3625
3626 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
3627 XSRETURN(argvi);
3628 fail:
3629
3630 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
3631 SWIG_croak_null();
3632 }
3633 }
3634
3635
XS(_wrap_svn_fs_berkeley_path)3636 XS(_wrap_svn_fs_berkeley_path) {
3637 {
3638 svn_fs_t *arg1 = (svn_fs_t *) 0 ;
3639 apr_pool_t *arg2 = (apr_pool_t *) 0 ;
3640 apr_pool_t *_global_pool ;
3641 void *argp1 = 0 ;
3642 int res1 = 0 ;
3643 int argvi = 0;
3644 char *result = 0 ;
3645 dXSARGS;
3646
3647 {
3648 _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
3649 SPAGAIN;
3650 }
3651 if ((items < 1) || (items > 2)) {
3652 SWIG_croak("Usage: svn_fs_berkeley_path(fs,pool);");
3653 }
3654 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_t, 0 | 0 );
3655 if (!SWIG_IsOK(res1)) {
3656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_berkeley_path" "', argument " "1"" of type '" "svn_fs_t *""'");
3657 }
3658 arg1 = (svn_fs_t *)(argp1);
3659 if (items > 1) {
3660
3661 }
3662 {
3663 result = (char *)svn_fs_berkeley_path(arg1,arg2);
3664
3665
3666
3667 }
3668 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
3669
3670
3671 XSRETURN(argvi);
3672 fail:
3673
3674
3675 SWIG_croak_null();
3676 }
3677 }
3678
3679
XS(_wrap_svn_fs_delete_berkeley)3680 XS(_wrap_svn_fs_delete_berkeley) {
3681 {
3682 char *arg1 = (char *) 0 ;
3683 apr_pool_t *arg2 = (apr_pool_t *) 0 ;
3684 apr_pool_t *_global_pool ;
3685 int res1 ;
3686 char *buf1 = 0 ;
3687 int alloc1 = 0 ;
3688 int argvi = 0;
3689 svn_error_t *result = 0 ;
3690 dXSARGS;
3691
3692 {
3693 _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
3694 SPAGAIN;
3695 }
3696 if ((items < 1) || (items > 2)) {
3697 SWIG_croak("Usage: svn_fs_delete_berkeley(path,pool);");
3698 }
3699 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
3700 if (!SWIG_IsOK(res1)) {
3701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_delete_berkeley" "', argument " "1"" of type '" "char const *""'");
3702 }
3703 arg1 = (char *)(buf1);
3704 if (items > 1) {
3705
3706 }
3707 {
3708 result = (svn_error_t *)svn_fs_delete_berkeley((char const *)arg1,arg2);
3709
3710
3711
3712 }
3713 {
3714 if (result) {
3715 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
3716
3717 if (SvOK(exception_handler)) {
3718 SV *callback_result;
3719
3720 PUTBACK;
3721 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
3722 &callback_result, "S", result,
3723 SWIGTYPE_p_svn_error_t);
3724 SPAGAIN;
3725 } else {
3726 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
3727 argvi++;
3728 }
3729 }
3730 }
3731 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
3732
3733 XSRETURN(argvi);
3734 fail:
3735 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
3736
3737 SWIG_croak_null();
3738 }
3739 }
3740
3741
XS(_wrap_svn_fs_hotcopy_berkeley)3742 XS(_wrap_svn_fs_hotcopy_berkeley) {
3743 {
3744 char *arg1 = (char *) 0 ;
3745 char *arg2 = (char *) 0 ;
3746 svn_boolean_t arg3 ;
3747 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
3748 apr_pool_t *_global_pool ;
3749 int res1 ;
3750 char *buf1 = 0 ;
3751 int alloc1 = 0 ;
3752 int res2 ;
3753 char *buf2 = 0 ;
3754 int alloc2 = 0 ;
3755 int val3 ;
3756 int ecode3 = 0 ;
3757 int argvi = 0;
3758 svn_error_t *result = 0 ;
3759 dXSARGS;
3760
3761 {
3762 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
3763 SPAGAIN;
3764 }
3765 if ((items < 3) || (items > 4)) {
3766 SWIG_croak("Usage: svn_fs_hotcopy_berkeley(src_path,dest_path,clean_logs,pool);");
3767 }
3768 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
3769 if (!SWIG_IsOK(res1)) {
3770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_hotcopy_berkeley" "', argument " "1"" of type '" "char const *""'");
3771 }
3772 arg1 = (char *)(buf1);
3773 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
3774 if (!SWIG_IsOK(res2)) {
3775 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_hotcopy_berkeley" "', argument " "2"" of type '" "char const *""'");
3776 }
3777 arg2 = (char *)(buf2);
3778 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3779 if (!SWIG_IsOK(ecode3)) {
3780 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_fs_hotcopy_berkeley" "', argument " "3"" of type '" "svn_boolean_t""'");
3781 }
3782 arg3 = (svn_boolean_t)(val3);
3783 if (items > 3) {
3784
3785 }
3786 {
3787 result = (svn_error_t *)svn_fs_hotcopy_berkeley((char const *)arg1,(char const *)arg2,arg3,arg4);
3788
3789
3790
3791 }
3792 {
3793 if (result) {
3794 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
3795
3796 if (SvOK(exception_handler)) {
3797 SV *callback_result;
3798
3799 PUTBACK;
3800 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
3801 &callback_result, "S", result,
3802 SWIGTYPE_p_svn_error_t);
3803 SPAGAIN;
3804 } else {
3805 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
3806 argvi++;
3807 }
3808 }
3809 }
3810 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
3811 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
3812
3813
3814 XSRETURN(argvi);
3815 fail:
3816 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
3817 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
3818
3819
3820 SWIG_croak_null();
3821 }
3822 }
3823
3824
XS(_wrap_svn_fs_berkeley_recover)3825 XS(_wrap_svn_fs_berkeley_recover) {
3826 {
3827 char *arg1 = (char *) 0 ;
3828 apr_pool_t *arg2 = (apr_pool_t *) 0 ;
3829 apr_pool_t *_global_pool ;
3830 int res1 ;
3831 char *buf1 = 0 ;
3832 int alloc1 = 0 ;
3833 int argvi = 0;
3834 svn_error_t *result = 0 ;
3835 dXSARGS;
3836
3837 {
3838 _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
3839 SPAGAIN;
3840 }
3841 if ((items < 1) || (items > 2)) {
3842 SWIG_croak("Usage: svn_fs_berkeley_recover(path,pool);");
3843 }
3844 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
3845 if (!SWIG_IsOK(res1)) {
3846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_berkeley_recover" "', argument " "1"" of type '" "char const *""'");
3847 }
3848 arg1 = (char *)(buf1);
3849 if (items > 1) {
3850
3851 }
3852 {
3853 result = (svn_error_t *)svn_fs_berkeley_recover((char const *)arg1,arg2);
3854
3855
3856
3857 }
3858 {
3859 if (result) {
3860 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
3861
3862 if (SvOK(exception_handler)) {
3863 SV *callback_result;
3864
3865 PUTBACK;
3866 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
3867 &callback_result, "S", result,
3868 SWIGTYPE_p_svn_error_t);
3869 SPAGAIN;
3870 } else {
3871 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
3872 argvi++;
3873 }
3874 }
3875 }
3876 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
3877
3878 XSRETURN(argvi);
3879 fail:
3880 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
3881
3882 SWIG_croak_null();
3883 }
3884 }
3885
3886
XS(_wrap_svn_fs_create_access)3887 XS(_wrap_svn_fs_create_access) {
3888 {
3889 svn_fs_access_t **arg1 = (svn_fs_access_t **) 0 ;
3890 char *arg2 = (char *) 0 ;
3891 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
3892 apr_pool_t *_global_pool ;
3893 svn_fs_access_t *temp1 ;
3894 int res2 ;
3895 char *buf2 = 0 ;
3896 int alloc2 = 0 ;
3897 int argvi = 0;
3898 svn_error_t *result = 0 ;
3899 dXSARGS;
3900
3901 {
3902 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
3903 SPAGAIN;
3904 }
3905 arg1 = &temp1;
3906 if ((items < 1) || (items > 2)) {
3907 SWIG_croak("Usage: svn_fs_create_access(username,pool);");
3908 }
3909 res2 = SWIG_AsCharPtrAndSize(ST(0), &buf2, NULL, &alloc2);
3910 if (!SWIG_IsOK(res2)) {
3911 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_create_access" "', argument " "2"" of type '" "char const *""'");
3912 }
3913 arg2 = (char *)(buf2);
3914 if (items > 1) {
3915
3916 }
3917 {
3918 result = (svn_error_t *)svn_fs_create_access(arg1,(char const *)arg2,arg3);
3919
3920
3921
3922 }
3923 {
3924 if (result) {
3925 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
3926
3927 if (SvOK(exception_handler)) {
3928 SV *callback_result;
3929
3930 PUTBACK;
3931 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
3932 &callback_result, "S", result,
3933 SWIGTYPE_p_svn_error_t);
3934 SPAGAIN;
3935 } else {
3936 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
3937 argvi++;
3938 }
3939 }
3940 }
3941 {
3942 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_fs_access_t, 0); argvi++ ;
3943 }
3944
3945 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
3946
3947 XSRETURN(argvi);
3948 fail:
3949
3950 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
3951
3952 SWIG_croak_null();
3953 }
3954 }
3955
3956
XS(_wrap_svn_fs_set_access)3957 XS(_wrap_svn_fs_set_access) {
3958 {
3959 svn_fs_t *arg1 = (svn_fs_t *) 0 ;
3960 svn_fs_access_t *arg2 = (svn_fs_access_t *) 0 ;
3961 void *argp1 = 0 ;
3962 int res1 = 0 ;
3963 void *argp2 = 0 ;
3964 int res2 = 0 ;
3965 int argvi = 0;
3966 svn_error_t *result = 0 ;
3967 dXSARGS;
3968
3969 if ((items < 2) || (items > 2)) {
3970 SWIG_croak("Usage: svn_fs_set_access(fs,access_ctx);");
3971 }
3972 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_t, 0 | 0 );
3973 if (!SWIG_IsOK(res1)) {
3974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_set_access" "', argument " "1"" of type '" "svn_fs_t *""'");
3975 }
3976 arg1 = (svn_fs_t *)(argp1);
3977 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_svn_fs_access_t, 0 | 0 );
3978 if (!SWIG_IsOK(res2)) {
3979 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_set_access" "', argument " "2"" of type '" "svn_fs_access_t *""'");
3980 }
3981 arg2 = (svn_fs_access_t *)(argp2);
3982 {
3983 result = (svn_error_t *)svn_fs_set_access(arg1,arg2);
3984
3985
3986
3987 }
3988 {
3989 if (result) {
3990 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
3991
3992 if (SvOK(exception_handler)) {
3993 SV *callback_result;
3994
3995 PUTBACK;
3996 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
3997 &callback_result, "S", result,
3998 SWIGTYPE_p_svn_error_t);
3999 SPAGAIN;
4000 } else {
4001 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
4002 argvi++;
4003 }
4004 }
4005 }
4006
4007
4008 XSRETURN(argvi);
4009 fail:
4010
4011
4012 SWIG_croak_null();
4013 }
4014 }
4015
4016
XS(_wrap_svn_fs_get_access)4017 XS(_wrap_svn_fs_get_access) {
4018 {
4019 svn_fs_access_t **arg1 = (svn_fs_access_t **) 0 ;
4020 svn_fs_t *arg2 = (svn_fs_t *) 0 ;
4021 svn_fs_access_t *temp1 ;
4022 void *argp2 = 0 ;
4023 int res2 = 0 ;
4024 int argvi = 0;
4025 svn_error_t *result = 0 ;
4026 dXSARGS;
4027
4028 arg1 = &temp1;
4029 if ((items < 1) || (items > 1)) {
4030 SWIG_croak("Usage: svn_fs_get_access(fs);");
4031 }
4032 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_t, 0 | 0 );
4033 if (!SWIG_IsOK(res2)) {
4034 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_get_access" "', argument " "2"" of type '" "svn_fs_t *""'");
4035 }
4036 arg2 = (svn_fs_t *)(argp2);
4037 {
4038 result = (svn_error_t *)svn_fs_get_access(arg1,arg2);
4039
4040
4041
4042 }
4043 {
4044 if (result) {
4045 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
4046
4047 if (SvOK(exception_handler)) {
4048 SV *callback_result;
4049
4050 PUTBACK;
4051 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
4052 &callback_result, "S", result,
4053 SWIGTYPE_p_svn_error_t);
4054 SPAGAIN;
4055 } else {
4056 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
4057 argvi++;
4058 }
4059 }
4060 }
4061 {
4062 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_fs_access_t, 0); argvi++ ;
4063 }
4064
4065
4066 XSRETURN(argvi);
4067 fail:
4068
4069
4070 SWIG_croak_null();
4071 }
4072 }
4073
4074
XS(_wrap_svn_fs_access_get_username)4075 XS(_wrap_svn_fs_access_get_username) {
4076 {
4077 char **arg1 = (char **) 0 ;
4078 svn_fs_access_t *arg2 = (svn_fs_access_t *) 0 ;
4079 char *temp1 ;
4080 void *argp2 = 0 ;
4081 int res2 = 0 ;
4082 int argvi = 0;
4083 svn_error_t *result = 0 ;
4084 dXSARGS;
4085
4086 arg1 = &temp1;
4087 if ((items < 1) || (items > 1)) {
4088 SWIG_croak("Usage: svn_fs_access_get_username(access_ctx);");
4089 }
4090 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_access_t, 0 | 0 );
4091 if (!SWIG_IsOK(res2)) {
4092 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_access_get_username" "', argument " "2"" of type '" "svn_fs_access_t *""'");
4093 }
4094 arg2 = (svn_fs_access_t *)(argp2);
4095 {
4096 result = (svn_error_t *)svn_fs_access_get_username((char const **)arg1,arg2);
4097
4098
4099
4100 }
4101 {
4102 if (result) {
4103 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
4104
4105 if (SvOK(exception_handler)) {
4106 SV *callback_result;
4107
4108 PUTBACK;
4109 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
4110 &callback_result, "S", result,
4111 SWIGTYPE_p_svn_error_t);
4112 SPAGAIN;
4113 } else {
4114 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
4115 argvi++;
4116 }
4117 }
4118 }
4119 {
4120 if (*arg1 == NULL) {
4121 if (argvi >= items) EXTEND(sp,1); ST(argvi) = &PL_sv_undef; argvi++ ;
4122 } else {
4123 if (argvi >= items) EXTEND(sp,1); ST(argvi) = sv_2mortal(newSVpv(*arg1, 0)); argvi++ ;
4124 }
4125 }
4126
4127
4128 XSRETURN(argvi);
4129 fail:
4130
4131
4132 SWIG_croak_null();
4133 }
4134 }
4135
4136
XS(_wrap_svn_fs_access_add_lock_token2)4137 XS(_wrap_svn_fs_access_add_lock_token2) {
4138 {
4139 svn_fs_access_t *arg1 = (svn_fs_access_t *) 0 ;
4140 char *arg2 = (char *) 0 ;
4141 char *arg3 = (char *) 0 ;
4142 void *argp1 = 0 ;
4143 int res1 = 0 ;
4144 int res2 ;
4145 char *buf2 = 0 ;
4146 int alloc2 = 0 ;
4147 int res3 ;
4148 char *buf3 = 0 ;
4149 int alloc3 = 0 ;
4150 int argvi = 0;
4151 svn_error_t *result = 0 ;
4152 dXSARGS;
4153
4154 if ((items < 3) || (items > 3)) {
4155 SWIG_croak("Usage: svn_fs_access_add_lock_token2(access_ctx,path,token);");
4156 }
4157 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_access_t, 0 | 0 );
4158 if (!SWIG_IsOK(res1)) {
4159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_access_add_lock_token2" "', argument " "1"" of type '" "svn_fs_access_t *""'");
4160 }
4161 arg1 = (svn_fs_access_t *)(argp1);
4162 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
4163 if (!SWIG_IsOK(res2)) {
4164 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_access_add_lock_token2" "', argument " "2"" of type '" "char const *""'");
4165 }
4166 arg2 = (char *)(buf2);
4167 res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
4168 if (!SWIG_IsOK(res3)) {
4169 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_access_add_lock_token2" "', argument " "3"" of type '" "char const *""'");
4170 }
4171 arg3 = (char *)(buf3);
4172 {
4173 result = (svn_error_t *)svn_fs_access_add_lock_token2(arg1,(char const *)arg2,(char const *)arg3);
4174
4175
4176
4177 }
4178 {
4179 if (result) {
4180 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
4181
4182 if (SvOK(exception_handler)) {
4183 SV *callback_result;
4184
4185 PUTBACK;
4186 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
4187 &callback_result, "S", result,
4188 SWIGTYPE_p_svn_error_t);
4189 SPAGAIN;
4190 } else {
4191 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
4192 argvi++;
4193 }
4194 }
4195 }
4196
4197 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
4198 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
4199 XSRETURN(argvi);
4200 fail:
4201
4202 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
4203 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
4204 SWIG_croak_null();
4205 }
4206 }
4207
4208
XS(_wrap_svn_fs_access_add_lock_token)4209 XS(_wrap_svn_fs_access_add_lock_token) {
4210 {
4211 svn_fs_access_t *arg1 = (svn_fs_access_t *) 0 ;
4212 char *arg2 = (char *) 0 ;
4213 void *argp1 = 0 ;
4214 int res1 = 0 ;
4215 int res2 ;
4216 char *buf2 = 0 ;
4217 int alloc2 = 0 ;
4218 int argvi = 0;
4219 svn_error_t *result = 0 ;
4220 dXSARGS;
4221
4222 if ((items < 2) || (items > 2)) {
4223 SWIG_croak("Usage: svn_fs_access_add_lock_token(access_ctx,token);");
4224 }
4225 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_access_t, 0 | 0 );
4226 if (!SWIG_IsOK(res1)) {
4227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_access_add_lock_token" "', argument " "1"" of type '" "svn_fs_access_t *""'");
4228 }
4229 arg1 = (svn_fs_access_t *)(argp1);
4230 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
4231 if (!SWIG_IsOK(res2)) {
4232 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_access_add_lock_token" "', argument " "2"" of type '" "char const *""'");
4233 }
4234 arg2 = (char *)(buf2);
4235 {
4236 result = (svn_error_t *)svn_fs_access_add_lock_token(arg1,(char const *)arg2);
4237
4238
4239
4240 }
4241 {
4242 if (result) {
4243 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
4244
4245 if (SvOK(exception_handler)) {
4246 SV *callback_result;
4247
4248 PUTBACK;
4249 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
4250 &callback_result, "S", result,
4251 SWIGTYPE_p_svn_error_t);
4252 SPAGAIN;
4253 } else {
4254 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
4255 argvi++;
4256 }
4257 }
4258 }
4259
4260 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
4261 XSRETURN(argvi);
4262 fail:
4263
4264 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
4265 SWIG_croak_null();
4266 }
4267 }
4268
4269
XS(_wrap_svn_fs_compare_ids)4270 XS(_wrap_svn_fs_compare_ids) {
4271 {
4272 svn_fs_id_t *arg1 = (svn_fs_id_t *) 0 ;
4273 svn_fs_id_t *arg2 = (svn_fs_id_t *) 0 ;
4274 void *argp1 = 0 ;
4275 int res1 = 0 ;
4276 void *argp2 = 0 ;
4277 int res2 = 0 ;
4278 int argvi = 0;
4279 int result;
4280 dXSARGS;
4281
4282 if ((items < 2) || (items > 2)) {
4283 SWIG_croak("Usage: svn_fs_compare_ids(a,b);");
4284 }
4285 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_id_t, 0 | 0 );
4286 if (!SWIG_IsOK(res1)) {
4287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_compare_ids" "', argument " "1"" of type '" "svn_fs_id_t const *""'");
4288 }
4289 arg1 = (svn_fs_id_t *)(argp1);
4290 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_svn_fs_id_t, 0 | 0 );
4291 if (!SWIG_IsOK(res2)) {
4292 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_compare_ids" "', argument " "2"" of type '" "svn_fs_id_t const *""'");
4293 }
4294 arg2 = (svn_fs_id_t *)(argp2);
4295 {
4296 result = (int)svn_fs_compare_ids((struct svn_fs_id_t const *)arg1,(struct svn_fs_id_t const *)arg2);
4297
4298
4299
4300 }
4301 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4302
4303
4304 XSRETURN(argvi);
4305 fail:
4306
4307
4308 SWIG_croak_null();
4309 }
4310 }
4311
4312
XS(_wrap_svn_fs_check_related)4313 XS(_wrap_svn_fs_check_related) {
4314 {
4315 svn_fs_id_t *arg1 = (svn_fs_id_t *) 0 ;
4316 svn_fs_id_t *arg2 = (svn_fs_id_t *) 0 ;
4317 void *argp1 = 0 ;
4318 int res1 = 0 ;
4319 void *argp2 = 0 ;
4320 int res2 = 0 ;
4321 int argvi = 0;
4322 svn_boolean_t result;
4323 dXSARGS;
4324
4325 if ((items < 2) || (items > 2)) {
4326 SWIG_croak("Usage: svn_fs_check_related(id1,id2);");
4327 }
4328 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_id_t, 0 | 0 );
4329 if (!SWIG_IsOK(res1)) {
4330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_check_related" "', argument " "1"" of type '" "svn_fs_id_t const *""'");
4331 }
4332 arg1 = (svn_fs_id_t *)(argp1);
4333 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_svn_fs_id_t, 0 | 0 );
4334 if (!SWIG_IsOK(res2)) {
4335 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_check_related" "', argument " "2"" of type '" "svn_fs_id_t const *""'");
4336 }
4337 arg2 = (svn_fs_id_t *)(argp2);
4338 {
4339 result = (svn_boolean_t)svn_fs_check_related((struct svn_fs_id_t const *)arg1,(struct svn_fs_id_t const *)arg2);
4340
4341
4342
4343 }
4344 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4345
4346
4347 XSRETURN(argvi);
4348 fail:
4349
4350
4351 SWIG_croak_null();
4352 }
4353 }
4354
4355
XS(_wrap_svn_fs_parse_id)4356 XS(_wrap_svn_fs_parse_id) {
4357 {
4358 char *arg1 = (char *) 0 ;
4359 apr_size_t arg2 ;
4360 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
4361 apr_pool_t *_global_pool ;
4362 int argvi = 0;
4363 svn_fs_id_t *result = 0 ;
4364 dXSARGS;
4365
4366 {
4367 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
4368 SPAGAIN;
4369 }
4370 if ((items < 1) || (items > 2)) {
4371 SWIG_croak("Usage: svn_fs_parse_id(data,len,pool);");
4372 }
4373 {
4374 if (SvPOK(ST(0))) {
4375 arg1 = SvPV(ST(0), arg2);
4376 } else {
4377 /* set to 0 to avoid warning */
4378 arg1 = 0;
4379 arg2 = 0;
4380 SWIG_croak("Expecting a string");
4381 }
4382 }
4383 if (items > 1) {
4384
4385 }
4386 {
4387 result = (svn_fs_id_t *)svn_fs_parse_id((char const *)arg1,arg2,arg3);
4388
4389
4390
4391 }
4392 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_fs_id_t, 0 | 0); argvi++ ;
4393
4394
4395 XSRETURN(argvi);
4396 fail:
4397
4398
4399 SWIG_croak_null();
4400 }
4401 }
4402
4403
XS(_wrap_svn_fs_unparse_id)4404 XS(_wrap_svn_fs_unparse_id) {
4405 {
4406 svn_fs_id_t *arg1 = (svn_fs_id_t *) 0 ;
4407 apr_pool_t *arg2 = (apr_pool_t *) 0 ;
4408 apr_pool_t *_global_pool ;
4409 void *argp1 = 0 ;
4410 int res1 = 0 ;
4411 int argvi = 0;
4412 svn_string_t *result = 0 ;
4413 dXSARGS;
4414
4415 {
4416 _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
4417 SPAGAIN;
4418 }
4419 if ((items < 1) || (items > 2)) {
4420 SWIG_croak("Usage: svn_fs_unparse_id(id,pool);");
4421 }
4422 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_id_t, 0 | 0 );
4423 if (!SWIG_IsOK(res1)) {
4424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_unparse_id" "', argument " "1"" of type '" "svn_fs_id_t const *""'");
4425 }
4426 arg1 = (svn_fs_id_t *)(argp1);
4427 if (items > 1) {
4428
4429 }
4430 {
4431 result = (svn_string_t *)svn_fs_unparse_id((struct svn_fs_id_t const *)arg1,arg2);
4432
4433
4434
4435 }
4436 {
4437 ST(argvi) = sv_2mortal(newSVpv(result->data, result->len));
4438 ++argvi;
4439 }
4440
4441
4442 XSRETURN(argvi);
4443 fail:
4444
4445
4446 SWIG_croak_null();
4447 }
4448 }
4449
4450
XS(_wrap_svn_fs_begin_txn2)4451 XS(_wrap_svn_fs_begin_txn2) {
4452 {
4453 svn_fs_txn_t **arg1 = (svn_fs_txn_t **) 0 ;
4454 svn_fs_t *arg2 = (svn_fs_t *) 0 ;
4455 svn_revnum_t arg3 ;
4456 apr_uint32_t arg4 ;
4457 apr_pool_t *arg5 = (apr_pool_t *) 0 ;
4458 apr_pool_t *_global_pool ;
4459 svn_fs_txn_t *temp1 ;
4460 void *argp2 = 0 ;
4461 int res2 = 0 ;
4462 long val3 ;
4463 int ecode3 = 0 ;
4464 unsigned long val4 ;
4465 int ecode4 = 0 ;
4466 int argvi = 0;
4467 svn_error_t *result = 0 ;
4468 dXSARGS;
4469
4470 {
4471 _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
4472 SPAGAIN;
4473 }
4474 arg1 = &temp1;
4475 if ((items < 3) || (items > 4)) {
4476 SWIG_croak("Usage: svn_fs_begin_txn2(fs,rev,flags,pool);");
4477 }
4478 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_t, 0 | 0 );
4479 if (!SWIG_IsOK(res2)) {
4480 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_begin_txn2" "', argument " "2"" of type '" "svn_fs_t *""'");
4481 }
4482 arg2 = (svn_fs_t *)(argp2);
4483 ecode3 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(1), &val3);
4484 if (!SWIG_IsOK(ecode3)) {
4485 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_fs_begin_txn2" "', argument " "3"" of type '" "svn_revnum_t""'");
4486 }
4487 arg3 = (svn_revnum_t)(val3);
4488 ecode4 = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(ST(2), &val4);
4489 if (!SWIG_IsOK(ecode4)) {
4490 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "svn_fs_begin_txn2" "', argument " "4"" of type '" "apr_uint32_t""'");
4491 }
4492 arg4 = (apr_uint32_t)(val4);
4493 if (items > 3) {
4494
4495 }
4496 {
4497 result = (svn_error_t *)svn_fs_begin_txn2(arg1,arg2,arg3,arg4,arg5);
4498
4499
4500
4501 }
4502 {
4503 if (result) {
4504 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
4505
4506 if (SvOK(exception_handler)) {
4507 SV *callback_result;
4508
4509 PUTBACK;
4510 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
4511 &callback_result, "S", result,
4512 SWIGTYPE_p_svn_error_t);
4513 SPAGAIN;
4514 } else {
4515 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
4516 argvi++;
4517 }
4518 }
4519 }
4520 {
4521 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_fs_txn_t, 0); argvi++ ;
4522 }
4523
4524
4525
4526
4527
4528 XSRETURN(argvi);
4529 fail:
4530
4531
4532
4533
4534
4535 SWIG_croak_null();
4536 }
4537 }
4538
4539
XS(_wrap_svn_fs_begin_txn)4540 XS(_wrap_svn_fs_begin_txn) {
4541 {
4542 svn_fs_txn_t **arg1 = (svn_fs_txn_t **) 0 ;
4543 svn_fs_t *arg2 = (svn_fs_t *) 0 ;
4544 svn_revnum_t arg3 ;
4545 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
4546 apr_pool_t *_global_pool ;
4547 svn_fs_txn_t *temp1 ;
4548 void *argp2 = 0 ;
4549 int res2 = 0 ;
4550 long val3 ;
4551 int ecode3 = 0 ;
4552 int argvi = 0;
4553 svn_error_t *result = 0 ;
4554 dXSARGS;
4555
4556 {
4557 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
4558 SPAGAIN;
4559 }
4560 arg1 = &temp1;
4561 if ((items < 2) || (items > 3)) {
4562 SWIG_croak("Usage: svn_fs_begin_txn(fs,rev,pool);");
4563 }
4564 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_t, 0 | 0 );
4565 if (!SWIG_IsOK(res2)) {
4566 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_begin_txn" "', argument " "2"" of type '" "svn_fs_t *""'");
4567 }
4568 arg2 = (svn_fs_t *)(argp2);
4569 ecode3 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(1), &val3);
4570 if (!SWIG_IsOK(ecode3)) {
4571 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_fs_begin_txn" "', argument " "3"" of type '" "svn_revnum_t""'");
4572 }
4573 arg3 = (svn_revnum_t)(val3);
4574 if (items > 2) {
4575
4576 }
4577 {
4578 result = (svn_error_t *)svn_fs_begin_txn(arg1,arg2,arg3,arg4);
4579
4580
4581
4582 }
4583 {
4584 if (result) {
4585 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
4586
4587 if (SvOK(exception_handler)) {
4588 SV *callback_result;
4589
4590 PUTBACK;
4591 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
4592 &callback_result, "S", result,
4593 SWIGTYPE_p_svn_error_t);
4594 SPAGAIN;
4595 } else {
4596 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
4597 argvi++;
4598 }
4599 }
4600 }
4601 {
4602 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_fs_txn_t, 0); argvi++ ;
4603 }
4604
4605
4606
4607
4608 XSRETURN(argvi);
4609 fail:
4610
4611
4612
4613
4614 SWIG_croak_null();
4615 }
4616 }
4617
4618
XS(_wrap_svn_fs_commit_txn)4619 XS(_wrap_svn_fs_commit_txn) {
4620 {
4621 char **arg1 = (char **) 0 ;
4622 svn_revnum_t *arg2 = (svn_revnum_t *) 0 ;
4623 svn_fs_txn_t *arg3 = (svn_fs_txn_t *) 0 ;
4624 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
4625 apr_pool_t *_global_pool ;
4626 char *temp1 ;
4627 svn_revnum_t temp2 ;
4628 int res2 = SWIG_TMPOBJ ;
4629 void *argp3 = 0 ;
4630 int res3 = 0 ;
4631 int argvi = 0;
4632 svn_error_t *result = 0 ;
4633 dXSARGS;
4634
4635 {
4636 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
4637 SPAGAIN;
4638 }
4639 arg1 = &temp1;
4640 arg2 = &temp2;
4641 if ((items < 1) || (items > 2)) {
4642 SWIG_croak("Usage: svn_fs_commit_txn(txn,pool);");
4643 }
4644 res3 = SWIG_ConvertPtr(ST(0), &argp3,SWIGTYPE_p_svn_fs_txn_t, 0 | 0 );
4645 if (!SWIG_IsOK(res3)) {
4646 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_commit_txn" "', argument " "3"" of type '" "svn_fs_txn_t *""'");
4647 }
4648 arg3 = (svn_fs_txn_t *)(argp3);
4649 if (items > 1) {
4650
4651 }
4652 {
4653 result = (svn_error_t *)svn_fs_commit_txn((char const **)arg1,arg2,arg3,arg4);
4654
4655
4656
4657 }
4658 {
4659 if (result) {
4660 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
4661
4662 if (SvOK(exception_handler)) {
4663 SV *callback_result;
4664
4665 PUTBACK;
4666 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
4667 &callback_result, "S", result,
4668 SWIGTYPE_p_svn_error_t);
4669 SPAGAIN;
4670 } else {
4671 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
4672 argvi++;
4673 }
4674 }
4675 }
4676 {
4677 if (*arg1 == NULL) {
4678 if (argvi >= items) EXTEND(sp,1); ST(argvi) = &PL_sv_undef; argvi++ ;
4679 } else {
4680 if (argvi >= items) EXTEND(sp,1); ST(argvi) = sv_2mortal(newSVpv(*arg1, 0)); argvi++ ;
4681 }
4682 }
4683 if (SWIG_IsTmpObj(res2)) {
4684 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_long SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ ;
4685 } else {
4686 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0) : 0;
4687 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags); argvi++ ;
4688 }
4689
4690
4691
4692
4693 XSRETURN(argvi);
4694 fail:
4695
4696
4697
4698
4699 SWIG_croak_null();
4700 }
4701 }
4702
4703
XS(_wrap_svn_fs_abort_txn)4704 XS(_wrap_svn_fs_abort_txn) {
4705 {
4706 svn_fs_txn_t *arg1 = (svn_fs_txn_t *) 0 ;
4707 apr_pool_t *arg2 = (apr_pool_t *) 0 ;
4708 apr_pool_t *_global_pool ;
4709 void *argp1 = 0 ;
4710 int res1 = 0 ;
4711 int argvi = 0;
4712 svn_error_t *result = 0 ;
4713 dXSARGS;
4714
4715 {
4716 _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
4717 SPAGAIN;
4718 }
4719 if ((items < 1) || (items > 2)) {
4720 SWIG_croak("Usage: svn_fs_abort_txn(txn,pool);");
4721 }
4722 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_txn_t, 0 | 0 );
4723 if (!SWIG_IsOK(res1)) {
4724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_abort_txn" "', argument " "1"" of type '" "svn_fs_txn_t *""'");
4725 }
4726 arg1 = (svn_fs_txn_t *)(argp1);
4727 if (items > 1) {
4728
4729 }
4730 {
4731 result = (svn_error_t *)svn_fs_abort_txn(arg1,arg2);
4732
4733
4734
4735 }
4736 {
4737 if (result) {
4738 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
4739
4740 if (SvOK(exception_handler)) {
4741 SV *callback_result;
4742
4743 PUTBACK;
4744 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
4745 &callback_result, "S", result,
4746 SWIGTYPE_p_svn_error_t);
4747 SPAGAIN;
4748 } else {
4749 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
4750 argvi++;
4751 }
4752 }
4753 }
4754
4755
4756 XSRETURN(argvi);
4757 fail:
4758
4759
4760 SWIG_croak_null();
4761 }
4762 }
4763
4764
XS(_wrap_svn_fs_purge_txn)4765 XS(_wrap_svn_fs_purge_txn) {
4766 {
4767 svn_fs_t *arg1 = (svn_fs_t *) 0 ;
4768 char *arg2 = (char *) 0 ;
4769 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
4770 apr_pool_t *_global_pool ;
4771 void *argp1 = 0 ;
4772 int res1 = 0 ;
4773 int res2 ;
4774 char *buf2 = 0 ;
4775 int alloc2 = 0 ;
4776 int argvi = 0;
4777 svn_error_t *result = 0 ;
4778 dXSARGS;
4779
4780 {
4781 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
4782 SPAGAIN;
4783 }
4784 if ((items < 2) || (items > 3)) {
4785 SWIG_croak("Usage: svn_fs_purge_txn(fs,txn_id,pool);");
4786 }
4787 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_t, 0 | 0 );
4788 if (!SWIG_IsOK(res1)) {
4789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_purge_txn" "', argument " "1"" of type '" "svn_fs_t *""'");
4790 }
4791 arg1 = (svn_fs_t *)(argp1);
4792 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
4793 if (!SWIG_IsOK(res2)) {
4794 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_purge_txn" "', argument " "2"" of type '" "char const *""'");
4795 }
4796 arg2 = (char *)(buf2);
4797 if (items > 2) {
4798
4799 }
4800 {
4801 result = (svn_error_t *)svn_fs_purge_txn(arg1,(char const *)arg2,arg3);
4802
4803
4804
4805 }
4806 {
4807 if (result) {
4808 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
4809
4810 if (SvOK(exception_handler)) {
4811 SV *callback_result;
4812
4813 PUTBACK;
4814 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
4815 &callback_result, "S", result,
4816 SWIGTYPE_p_svn_error_t);
4817 SPAGAIN;
4818 } else {
4819 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
4820 argvi++;
4821 }
4822 }
4823 }
4824
4825 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
4826
4827 XSRETURN(argvi);
4828 fail:
4829
4830 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
4831
4832 SWIG_croak_null();
4833 }
4834 }
4835
4836
XS(_wrap_svn_fs_txn_name)4837 XS(_wrap_svn_fs_txn_name) {
4838 {
4839 char **arg1 = (char **) 0 ;
4840 svn_fs_txn_t *arg2 = (svn_fs_txn_t *) 0 ;
4841 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
4842 apr_pool_t *_global_pool ;
4843 char *temp1 ;
4844 void *argp2 = 0 ;
4845 int res2 = 0 ;
4846 int argvi = 0;
4847 svn_error_t *result = 0 ;
4848 dXSARGS;
4849
4850 {
4851 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
4852 SPAGAIN;
4853 }
4854 arg1 = &temp1;
4855 if ((items < 1) || (items > 2)) {
4856 SWIG_croak("Usage: svn_fs_txn_name(txn,pool);");
4857 }
4858 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_txn_t, 0 | 0 );
4859 if (!SWIG_IsOK(res2)) {
4860 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_txn_name" "', argument " "2"" of type '" "svn_fs_txn_t *""'");
4861 }
4862 arg2 = (svn_fs_txn_t *)(argp2);
4863 if (items > 1) {
4864
4865 }
4866 {
4867 result = (svn_error_t *)svn_fs_txn_name((char const **)arg1,arg2,arg3);
4868
4869
4870
4871 }
4872 {
4873 if (result) {
4874 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
4875
4876 if (SvOK(exception_handler)) {
4877 SV *callback_result;
4878
4879 PUTBACK;
4880 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
4881 &callback_result, "S", result,
4882 SWIGTYPE_p_svn_error_t);
4883 SPAGAIN;
4884 } else {
4885 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
4886 argvi++;
4887 }
4888 }
4889 }
4890 {
4891 if (*arg1 == NULL) {
4892 if (argvi >= items) EXTEND(sp,1); ST(argvi) = &PL_sv_undef; argvi++ ;
4893 } else {
4894 if (argvi >= items) EXTEND(sp,1); ST(argvi) = sv_2mortal(newSVpv(*arg1, 0)); argvi++ ;
4895 }
4896 }
4897
4898
4899
4900 XSRETURN(argvi);
4901 fail:
4902
4903
4904
4905 SWIG_croak_null();
4906 }
4907 }
4908
4909
XS(_wrap_svn_fs_txn_base_revision)4910 XS(_wrap_svn_fs_txn_base_revision) {
4911 {
4912 svn_fs_txn_t *arg1 = (svn_fs_txn_t *) 0 ;
4913 void *argp1 = 0 ;
4914 int res1 = 0 ;
4915 int argvi = 0;
4916 svn_revnum_t result;
4917 dXSARGS;
4918
4919 if ((items < 1) || (items > 1)) {
4920 SWIG_croak("Usage: svn_fs_txn_base_revision(txn);");
4921 }
4922 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_txn_t, 0 | 0 );
4923 if (!SWIG_IsOK(res1)) {
4924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_txn_base_revision" "', argument " "1"" of type '" "svn_fs_txn_t *""'");
4925 }
4926 arg1 = (svn_fs_txn_t *)(argp1);
4927 {
4928 result = (svn_revnum_t)svn_fs_txn_base_revision(arg1);
4929
4930
4931
4932 }
4933 ST(argvi) = SWIG_From_long SWIG_PERL_CALL_ARGS_1((long)(result)); argvi++ ;
4934
4935 XSRETURN(argvi);
4936 fail:
4937
4938 SWIG_croak_null();
4939 }
4940 }
4941
4942
XS(_wrap_svn_fs_open_txn)4943 XS(_wrap_svn_fs_open_txn) {
4944 {
4945 svn_fs_txn_t **arg1 = (svn_fs_txn_t **) 0 ;
4946 svn_fs_t *arg2 = (svn_fs_t *) 0 ;
4947 char *arg3 = (char *) 0 ;
4948 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
4949 apr_pool_t *_global_pool ;
4950 svn_fs_txn_t *temp1 ;
4951 void *argp2 = 0 ;
4952 int res2 = 0 ;
4953 int res3 ;
4954 char *buf3 = 0 ;
4955 int alloc3 = 0 ;
4956 int argvi = 0;
4957 svn_error_t *result = 0 ;
4958 dXSARGS;
4959
4960 {
4961 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
4962 SPAGAIN;
4963 }
4964 arg1 = &temp1;
4965 if ((items < 2) || (items > 3)) {
4966 SWIG_croak("Usage: svn_fs_open_txn(fs,name,pool);");
4967 }
4968 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_t, 0 | 0 );
4969 if (!SWIG_IsOK(res2)) {
4970 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_open_txn" "', argument " "2"" of type '" "svn_fs_t *""'");
4971 }
4972 arg2 = (svn_fs_t *)(argp2);
4973 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
4974 if (!SWIG_IsOK(res3)) {
4975 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_open_txn" "', argument " "3"" of type '" "char const *""'");
4976 }
4977 arg3 = (char *)(buf3);
4978 if (items > 2) {
4979
4980 }
4981 {
4982 result = (svn_error_t *)svn_fs_open_txn(arg1,arg2,(char const *)arg3,arg4);
4983
4984
4985
4986 }
4987 {
4988 if (result) {
4989 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
4990
4991 if (SvOK(exception_handler)) {
4992 SV *callback_result;
4993
4994 PUTBACK;
4995 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
4996 &callback_result, "S", result,
4997 SWIGTYPE_p_svn_error_t);
4998 SPAGAIN;
4999 } else {
5000 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
5001 argvi++;
5002 }
5003 }
5004 }
5005 {
5006 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_fs_txn_t, 0); argvi++ ;
5007 }
5008
5009
5010 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5011
5012 XSRETURN(argvi);
5013 fail:
5014
5015
5016 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5017
5018 SWIG_croak_null();
5019 }
5020 }
5021
5022
XS(_wrap_svn_fs_list_transactions)5023 XS(_wrap_svn_fs_list_transactions) {
5024 {
5025 apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
5026 svn_fs_t *arg2 = (svn_fs_t *) 0 ;
5027 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
5028 apr_pool_t *_global_pool ;
5029 apr_array_header_t *temp1 ;
5030 void *argp2 = 0 ;
5031 int res2 = 0 ;
5032 int argvi = 0;
5033 svn_error_t *result = 0 ;
5034 dXSARGS;
5035
5036 {
5037 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
5038 SPAGAIN;
5039 }
5040 arg1 = &temp1;
5041 if ((items < 1) || (items > 2)) {
5042 SWIG_croak("Usage: svn_fs_list_transactions(fs,pool);");
5043 }
5044 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_t, 0 | 0 );
5045 if (!SWIG_IsOK(res2)) {
5046 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_list_transactions" "', argument " "2"" of type '" "svn_fs_t *""'");
5047 }
5048 arg2 = (svn_fs_t *)(argp2);
5049 if (items > 1) {
5050
5051 }
5052 {
5053 result = (svn_error_t *)svn_fs_list_transactions(arg1,arg2,arg3);
5054
5055
5056
5057 }
5058 {
5059 if (result) {
5060 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
5061
5062 if (SvOK(exception_handler)) {
5063 SV *callback_result;
5064
5065 PUTBACK;
5066 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
5067 &callback_result, "S", result,
5068 SWIGTYPE_p_svn_error_t);
5069 SPAGAIN;
5070 } else {
5071 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
5072 argvi++;
5073 }
5074 }
5075 }
5076 {
5077 if (argvi >= items) EXTEND(sp,1); ST(argvi) = svn_swig_pl_array_to_list(*arg1); argvi++ ;
5078 }
5079
5080
5081
5082 XSRETURN(argvi);
5083 fail:
5084
5085
5086
5087 SWIG_croak_null();
5088 }
5089 }
5090
5091
XS(_wrap_svn_fs_txn_prop)5092 XS(_wrap_svn_fs_txn_prop) {
5093 {
5094 svn_string_t **arg1 = (svn_string_t **) 0 ;
5095 svn_fs_txn_t *arg2 = (svn_fs_txn_t *) 0 ;
5096 char *arg3 = (char *) 0 ;
5097 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
5098 apr_pool_t *_global_pool ;
5099 svn_string_t *temp1 ;
5100 void *argp2 = 0 ;
5101 int res2 = 0 ;
5102 int res3 ;
5103 char *buf3 = 0 ;
5104 int alloc3 = 0 ;
5105 int argvi = 0;
5106 svn_error_t *result = 0 ;
5107 dXSARGS;
5108
5109 {
5110 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
5111 SPAGAIN;
5112 }
5113 arg1 = &temp1;
5114 if ((items < 2) || (items > 3)) {
5115 SWIG_croak("Usage: svn_fs_txn_prop(txn,propname,pool);");
5116 }
5117 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_txn_t, 0 | 0 );
5118 if (!SWIG_IsOK(res2)) {
5119 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_txn_prop" "', argument " "2"" of type '" "svn_fs_txn_t *""'");
5120 }
5121 arg2 = (svn_fs_txn_t *)(argp2);
5122 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
5123 if (!SWIG_IsOK(res3)) {
5124 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_txn_prop" "', argument " "3"" of type '" "char const *""'");
5125 }
5126 arg3 = (char *)(buf3);
5127 if (items > 2) {
5128
5129 }
5130 {
5131 result = (svn_error_t *)svn_fs_txn_prop(arg1,arg2,(char const *)arg3,arg4);
5132
5133
5134
5135 }
5136 {
5137 if (result) {
5138 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
5139
5140 if (SvOK(exception_handler)) {
5141 SV *callback_result;
5142
5143 PUTBACK;
5144 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
5145 &callback_result, "S", result,
5146 SWIGTYPE_p_svn_error_t);
5147 SPAGAIN;
5148 } else {
5149 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
5150 argvi++;
5151 }
5152 }
5153 }
5154 {
5155 if (*arg1) {
5156 if (argvi >= items) EXTEND(sp,1); ST(argvi) = sv_2mortal(newSVpvn((*arg1)->data, (*arg1)->len)); argvi++ ;
5157 } else {
5158 if (argvi >= items) EXTEND(sp,1); ST(argvi) = &PL_sv_undef; argvi++ ;
5159 }
5160 }
5161
5162
5163 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5164
5165 XSRETURN(argvi);
5166 fail:
5167
5168
5169 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5170
5171 SWIG_croak_null();
5172 }
5173 }
5174
5175
XS(_wrap_svn_fs_txn_proplist)5176 XS(_wrap_svn_fs_txn_proplist) {
5177 {
5178 apr_hash_t **arg1 = (apr_hash_t **) 0 ;
5179 svn_fs_txn_t *arg2 = (svn_fs_txn_t *) 0 ;
5180 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
5181 apr_pool_t *_global_pool ;
5182 apr_hash_t *temp1 ;
5183 void *argp2 = 0 ;
5184 int res2 = 0 ;
5185 int argvi = 0;
5186 svn_error_t *result = 0 ;
5187 dXSARGS;
5188
5189 {
5190 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
5191 SPAGAIN;
5192 }
5193 arg1 = &temp1;
5194 if ((items < 1) || (items > 2)) {
5195 SWIG_croak("Usage: svn_fs_txn_proplist(txn,pool);");
5196 }
5197 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_txn_t, 0 | 0 );
5198 if (!SWIG_IsOK(res2)) {
5199 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_txn_proplist" "', argument " "2"" of type '" "svn_fs_txn_t *""'");
5200 }
5201 arg2 = (svn_fs_txn_t *)(argp2);
5202 if (items > 1) {
5203
5204 }
5205 {
5206 result = (svn_error_t *)svn_fs_txn_proplist(arg1,arg2,arg3);
5207
5208
5209
5210 }
5211 {
5212 if (result) {
5213 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
5214
5215 if (SvOK(exception_handler)) {
5216 SV *callback_result;
5217
5218 PUTBACK;
5219 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
5220 &callback_result, "S", result,
5221 SWIGTYPE_p_svn_error_t);
5222 SPAGAIN;
5223 } else {
5224 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
5225 argvi++;
5226 }
5227 }
5228 }
5229 {
5230 if (argvi >= items) EXTEND(sp,1); ST(argvi) = svn_swig_pl_prophash_to_hash(*arg1); argvi++ ;
5231 }
5232
5233
5234
5235 XSRETURN(argvi);
5236 fail:
5237
5238
5239
5240 SWIG_croak_null();
5241 }
5242 }
5243
5244
XS(_wrap_svn_fs_change_txn_prop)5245 XS(_wrap_svn_fs_change_txn_prop) {
5246 {
5247 svn_fs_txn_t *arg1 = (svn_fs_txn_t *) 0 ;
5248 char *arg2 = (char *) 0 ;
5249 svn_string_t *arg3 = (svn_string_t *) 0 ;
5250 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
5251 apr_pool_t *_global_pool ;
5252 void *argp1 = 0 ;
5253 int res1 = 0 ;
5254 int res2 ;
5255 char *buf2 = 0 ;
5256 int alloc2 = 0 ;
5257 svn_string_t value3 ;
5258 int argvi = 0;
5259 svn_error_t *result = 0 ;
5260 dXSARGS;
5261
5262 {
5263 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
5264 SPAGAIN;
5265 }
5266 if ((items < 3) || (items > 4)) {
5267 SWIG_croak("Usage: svn_fs_change_txn_prop(txn,name,value,pool);");
5268 }
5269 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_txn_t, 0 | 0 );
5270 if (!SWIG_IsOK(res1)) {
5271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_change_txn_prop" "', argument " "1"" of type '" "svn_fs_txn_t *""'");
5272 }
5273 arg1 = (svn_fs_txn_t *)(argp1);
5274 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
5275 if (!SWIG_IsOK(res2)) {
5276 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_change_txn_prop" "', argument " "2"" of type '" "char const *""'");
5277 }
5278 arg2 = (char *)(buf2);
5279 {
5280 if (SvOK(ST(2))) {
5281 value3.data = SvPV(ST(2), value3.len);
5282 arg3 = &value3;
5283 }
5284 else {
5285 arg3 = NULL;
5286 }
5287 }
5288 if (items > 3) {
5289
5290 }
5291 {
5292 result = (svn_error_t *)svn_fs_change_txn_prop(arg1,(char const *)arg2,(struct svn_string_t const *)arg3,arg4);
5293
5294
5295
5296 }
5297 {
5298 if (result) {
5299 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
5300
5301 if (SvOK(exception_handler)) {
5302 SV *callback_result;
5303
5304 PUTBACK;
5305 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
5306 &callback_result, "S", result,
5307 SWIGTYPE_p_svn_error_t);
5308 SPAGAIN;
5309 } else {
5310 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
5311 argvi++;
5312 }
5313 }
5314 }
5315
5316 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
5317
5318
5319 XSRETURN(argvi);
5320 fail:
5321
5322 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
5323
5324
5325 SWIG_croak_null();
5326 }
5327 }
5328
5329
XS(_wrap_svn_fs_change_txn_props)5330 XS(_wrap_svn_fs_change_txn_props) {
5331 {
5332 svn_fs_txn_t *arg1 = (svn_fs_txn_t *) 0 ;
5333 apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
5334 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
5335 apr_pool_t *_global_pool ;
5336 void *argp1 = 0 ;
5337 int res1 = 0 ;
5338 void *argp2 = 0 ;
5339 int res2 = 0 ;
5340 int argvi = 0;
5341 svn_error_t *result = 0 ;
5342 dXSARGS;
5343
5344 {
5345 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
5346 SPAGAIN;
5347 }
5348 if ((items < 2) || (items > 3)) {
5349 SWIG_croak("Usage: svn_fs_change_txn_props(txn,props,pool);");
5350 }
5351 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_txn_t, 0 | 0 );
5352 if (!SWIG_IsOK(res1)) {
5353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_change_txn_props" "', argument " "1"" of type '" "svn_fs_txn_t *""'");
5354 }
5355 arg1 = (svn_fs_txn_t *)(argp1);
5356 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_apr_array_header_t, 0 | 0 );
5357 if (!SWIG_IsOK(res2)) {
5358 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_change_txn_props" "', argument " "2"" of type '" "apr_array_header_t const *""'");
5359 }
5360 arg2 = (apr_array_header_t *)(argp2);
5361 if (items > 2) {
5362
5363 }
5364 {
5365 result = (svn_error_t *)svn_fs_change_txn_props(arg1,(apr_array_header_t const *)arg2,arg3);
5366
5367
5368
5369 }
5370 {
5371 if (result) {
5372 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
5373
5374 if (SvOK(exception_handler)) {
5375 SV *callback_result;
5376
5377 PUTBACK;
5378 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
5379 &callback_result, "S", result,
5380 SWIGTYPE_p_svn_error_t);
5381 SPAGAIN;
5382 } else {
5383 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
5384 argvi++;
5385 }
5386 }
5387 }
5388
5389
5390
5391 XSRETURN(argvi);
5392 fail:
5393
5394
5395
5396 SWIG_croak_null();
5397 }
5398 }
5399
5400
XS(_wrap_svn_fs_revision_root)5401 XS(_wrap_svn_fs_revision_root) {
5402 {
5403 svn_fs_root_t **arg1 = (svn_fs_root_t **) 0 ;
5404 svn_fs_t *arg2 = (svn_fs_t *) 0 ;
5405 svn_revnum_t arg3 ;
5406 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
5407 apr_pool_t *_global_pool ;
5408 svn_fs_root_t *temp1 ;
5409 void *argp2 = 0 ;
5410 int res2 = 0 ;
5411 long val3 ;
5412 int ecode3 = 0 ;
5413 int argvi = 0;
5414 svn_error_t *result = 0 ;
5415 dXSARGS;
5416
5417 {
5418 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
5419 SPAGAIN;
5420 }
5421 arg1 = &temp1;
5422 if ((items < 2) || (items > 3)) {
5423 SWIG_croak("Usage: svn_fs_revision_root(fs,rev,pool);");
5424 }
5425 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_t, 0 | 0 );
5426 if (!SWIG_IsOK(res2)) {
5427 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_revision_root" "', argument " "2"" of type '" "svn_fs_t *""'");
5428 }
5429 arg2 = (svn_fs_t *)(argp2);
5430 ecode3 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(1), &val3);
5431 if (!SWIG_IsOK(ecode3)) {
5432 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_fs_revision_root" "', argument " "3"" of type '" "svn_revnum_t""'");
5433 }
5434 arg3 = (svn_revnum_t)(val3);
5435 if (items > 2) {
5436
5437 }
5438 {
5439 result = (svn_error_t *)svn_fs_revision_root(arg1,arg2,arg3,arg4);
5440
5441
5442
5443 }
5444 {
5445 if (result) {
5446 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
5447
5448 if (SvOK(exception_handler)) {
5449 SV *callback_result;
5450
5451 PUTBACK;
5452 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
5453 &callback_result, "S", result,
5454 SWIGTYPE_p_svn_error_t);
5455 SPAGAIN;
5456 } else {
5457 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
5458 argvi++;
5459 }
5460 }
5461 }
5462 {
5463 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_fs_root_t, 0); argvi++ ;
5464 }
5465
5466
5467
5468
5469 XSRETURN(argvi);
5470 fail:
5471
5472
5473
5474
5475 SWIG_croak_null();
5476 }
5477 }
5478
5479
XS(_wrap_svn_fs_txn_root)5480 XS(_wrap_svn_fs_txn_root) {
5481 {
5482 svn_fs_root_t **arg1 = (svn_fs_root_t **) 0 ;
5483 svn_fs_txn_t *arg2 = (svn_fs_txn_t *) 0 ;
5484 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
5485 apr_pool_t *_global_pool ;
5486 svn_fs_root_t *temp1 ;
5487 void *argp2 = 0 ;
5488 int res2 = 0 ;
5489 int argvi = 0;
5490 svn_error_t *result = 0 ;
5491 dXSARGS;
5492
5493 {
5494 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
5495 SPAGAIN;
5496 }
5497 arg1 = &temp1;
5498 if ((items < 1) || (items > 2)) {
5499 SWIG_croak("Usage: svn_fs_txn_root(txn,pool);");
5500 }
5501 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_txn_t, 0 | 0 );
5502 if (!SWIG_IsOK(res2)) {
5503 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_txn_root" "', argument " "2"" of type '" "svn_fs_txn_t *""'");
5504 }
5505 arg2 = (svn_fs_txn_t *)(argp2);
5506 if (items > 1) {
5507
5508 }
5509 {
5510 result = (svn_error_t *)svn_fs_txn_root(arg1,arg2,arg3);
5511
5512
5513
5514 }
5515 {
5516 if (result) {
5517 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
5518
5519 if (SvOK(exception_handler)) {
5520 SV *callback_result;
5521
5522 PUTBACK;
5523 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
5524 &callback_result, "S", result,
5525 SWIGTYPE_p_svn_error_t);
5526 SPAGAIN;
5527 } else {
5528 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
5529 argvi++;
5530 }
5531 }
5532 }
5533 {
5534 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_fs_root_t, 0); argvi++ ;
5535 }
5536
5537
5538
5539 XSRETURN(argvi);
5540 fail:
5541
5542
5543
5544 SWIG_croak_null();
5545 }
5546 }
5547
5548
XS(_wrap_svn_fs_close_root)5549 XS(_wrap_svn_fs_close_root) {
5550 {
5551 svn_fs_root_t *arg1 = (svn_fs_root_t *) 0 ;
5552 void *argp1 = 0 ;
5553 int res1 = 0 ;
5554 int argvi = 0;
5555 dXSARGS;
5556
5557 if ((items < 1) || (items > 1)) {
5558 SWIG_croak("Usage: svn_fs_close_root(root);");
5559 }
5560 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
5561 if (!SWIG_IsOK(res1)) {
5562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_close_root" "', argument " "1"" of type '" "svn_fs_root_t *""'");
5563 }
5564 arg1 = (svn_fs_root_t *)(argp1);
5565 {
5566 svn_fs_close_root(arg1);
5567
5568
5569
5570 }
5571 ST(argvi) = sv_newmortal();
5572
5573 XSRETURN(argvi);
5574 fail:
5575
5576 SWIG_croak_null();
5577 }
5578 }
5579
5580
XS(_wrap_svn_fs_root_fs)5581 XS(_wrap_svn_fs_root_fs) {
5582 {
5583 svn_fs_root_t *arg1 = (svn_fs_root_t *) 0 ;
5584 void *argp1 = 0 ;
5585 int res1 = 0 ;
5586 int argvi = 0;
5587 svn_fs_t *result = 0 ;
5588 dXSARGS;
5589
5590 if ((items < 1) || (items > 1)) {
5591 SWIG_croak("Usage: svn_fs_root_fs(root);");
5592 }
5593 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
5594 if (!SWIG_IsOK(res1)) {
5595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_root_fs" "', argument " "1"" of type '" "svn_fs_root_t *""'");
5596 }
5597 arg1 = (svn_fs_root_t *)(argp1);
5598 {
5599 result = (svn_fs_t *)svn_fs_root_fs(arg1);
5600
5601
5602
5603 }
5604 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_fs_t, 0 | 0); argvi++ ;
5605
5606 XSRETURN(argvi);
5607 fail:
5608
5609 SWIG_croak_null();
5610 }
5611 }
5612
5613
XS(_wrap_svn_fs_is_txn_root)5614 XS(_wrap_svn_fs_is_txn_root) {
5615 {
5616 svn_fs_root_t *arg1 = (svn_fs_root_t *) 0 ;
5617 void *argp1 = 0 ;
5618 int res1 = 0 ;
5619 int argvi = 0;
5620 svn_boolean_t result;
5621 dXSARGS;
5622
5623 if ((items < 1) || (items > 1)) {
5624 SWIG_croak("Usage: svn_fs_is_txn_root(root);");
5625 }
5626 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
5627 if (!SWIG_IsOK(res1)) {
5628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_is_txn_root" "', argument " "1"" of type '" "svn_fs_root_t *""'");
5629 }
5630 arg1 = (svn_fs_root_t *)(argp1);
5631 {
5632 result = (svn_boolean_t)svn_fs_is_txn_root(arg1);
5633
5634
5635
5636 }
5637 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5638
5639 XSRETURN(argvi);
5640 fail:
5641
5642 SWIG_croak_null();
5643 }
5644 }
5645
5646
XS(_wrap_svn_fs_is_revision_root)5647 XS(_wrap_svn_fs_is_revision_root) {
5648 {
5649 svn_fs_root_t *arg1 = (svn_fs_root_t *) 0 ;
5650 void *argp1 = 0 ;
5651 int res1 = 0 ;
5652 int argvi = 0;
5653 svn_boolean_t result;
5654 dXSARGS;
5655
5656 if ((items < 1) || (items > 1)) {
5657 SWIG_croak("Usage: svn_fs_is_revision_root(root);");
5658 }
5659 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
5660 if (!SWIG_IsOK(res1)) {
5661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_is_revision_root" "', argument " "1"" of type '" "svn_fs_root_t *""'");
5662 }
5663 arg1 = (svn_fs_root_t *)(argp1);
5664 {
5665 result = (svn_boolean_t)svn_fs_is_revision_root(arg1);
5666
5667
5668
5669 }
5670 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5671
5672 XSRETURN(argvi);
5673 fail:
5674
5675 SWIG_croak_null();
5676 }
5677 }
5678
5679
XS(_wrap_svn_fs_txn_root_name)5680 XS(_wrap_svn_fs_txn_root_name) {
5681 {
5682 svn_fs_root_t *arg1 = (svn_fs_root_t *) 0 ;
5683 apr_pool_t *arg2 = (apr_pool_t *) 0 ;
5684 apr_pool_t *_global_pool ;
5685 void *argp1 = 0 ;
5686 int res1 = 0 ;
5687 int argvi = 0;
5688 char *result = 0 ;
5689 dXSARGS;
5690
5691 {
5692 _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
5693 SPAGAIN;
5694 }
5695 if ((items < 1) || (items > 2)) {
5696 SWIG_croak("Usage: svn_fs_txn_root_name(root,pool);");
5697 }
5698 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
5699 if (!SWIG_IsOK(res1)) {
5700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_txn_root_name" "', argument " "1"" of type '" "svn_fs_root_t *""'");
5701 }
5702 arg1 = (svn_fs_root_t *)(argp1);
5703 if (items > 1) {
5704
5705 }
5706 {
5707 result = (char *)svn_fs_txn_root_name(arg1,arg2);
5708
5709
5710
5711 }
5712 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
5713
5714
5715 XSRETURN(argvi);
5716 fail:
5717
5718
5719 SWIG_croak_null();
5720 }
5721 }
5722
5723
XS(_wrap_svn_fs_txn_root_base_revision)5724 XS(_wrap_svn_fs_txn_root_base_revision) {
5725 {
5726 svn_fs_root_t *arg1 = (svn_fs_root_t *) 0 ;
5727 void *argp1 = 0 ;
5728 int res1 = 0 ;
5729 int argvi = 0;
5730 svn_revnum_t result;
5731 dXSARGS;
5732
5733 if ((items < 1) || (items > 1)) {
5734 SWIG_croak("Usage: svn_fs_txn_root_base_revision(root);");
5735 }
5736 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
5737 if (!SWIG_IsOK(res1)) {
5738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_txn_root_base_revision" "', argument " "1"" of type '" "svn_fs_root_t *""'");
5739 }
5740 arg1 = (svn_fs_root_t *)(argp1);
5741 {
5742 result = (svn_revnum_t)svn_fs_txn_root_base_revision(arg1);
5743
5744
5745
5746 }
5747 ST(argvi) = SWIG_From_long SWIG_PERL_CALL_ARGS_1((long)(result)); argvi++ ;
5748
5749 XSRETURN(argvi);
5750 fail:
5751
5752 SWIG_croak_null();
5753 }
5754 }
5755
5756
XS(_wrap_svn_fs_revision_root_revision)5757 XS(_wrap_svn_fs_revision_root_revision) {
5758 {
5759 svn_fs_root_t *arg1 = (svn_fs_root_t *) 0 ;
5760 void *argp1 = 0 ;
5761 int res1 = 0 ;
5762 int argvi = 0;
5763 svn_revnum_t result;
5764 dXSARGS;
5765
5766 if ((items < 1) || (items > 1)) {
5767 SWIG_croak("Usage: svn_fs_revision_root_revision(root);");
5768 }
5769 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
5770 if (!SWIG_IsOK(res1)) {
5771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_revision_root_revision" "', argument " "1"" of type '" "svn_fs_root_t *""'");
5772 }
5773 arg1 = (svn_fs_root_t *)(argp1);
5774 {
5775 result = (svn_revnum_t)svn_fs_revision_root_revision(arg1);
5776
5777
5778
5779 }
5780 ST(argvi) = SWIG_From_long SWIG_PERL_CALL_ARGS_1((long)(result)); argvi++ ;
5781
5782 XSRETURN(argvi);
5783 fail:
5784
5785 SWIG_croak_null();
5786 }
5787 }
5788
5789
XS(_wrap_svn_fs_path_change3_t_path_set)5790 XS(_wrap_svn_fs_path_change3_t_path_set) {
5791 {
5792 struct svn_fs_path_change3_t *arg1 = (struct svn_fs_path_change3_t *) 0 ;
5793 svn_string_t arg2 ;
5794 void *argp1 = 0 ;
5795 int res1 = 0 ;
5796 void *argp2 ;
5797 int res2 = 0 ;
5798 int argvi = 0;
5799 dXSARGS;
5800
5801 if ((items < 2) || (items > 2)) {
5802 SWIG_croak("Usage: svn_fs_path_change3_t_path_set(self,path);");
5803 }
5804 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change3_t, 0 | 0 );
5805 if (!SWIG_IsOK(res1)) {
5806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change3_t_path_set" "', argument " "1"" of type '" "struct svn_fs_path_change3_t *""'");
5807 }
5808 arg1 = (struct svn_fs_path_change3_t *)(argp1);
5809 {
5810 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_svn_string_t, 0 );
5811 if (!SWIG_IsOK(res2)) {
5812 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_path_change3_t_path_set" "', argument " "2"" of type '" "svn_string_t""'");
5813 }
5814 if (!argp2) {
5815 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "svn_fs_path_change3_t_path_set" "', argument " "2"" of type '" "svn_string_t""'");
5816 } else {
5817 arg2 = *((svn_string_t *)(argp2));
5818 }
5819 }
5820 if (arg1) (arg1)->path = arg2;
5821 ST(argvi) = sv_newmortal();
5822
5823 XSRETURN(argvi);
5824 fail:
5825
5826 SWIG_croak_null();
5827 }
5828 }
5829
5830
XS(_wrap_svn_fs_path_change3_t_path_get)5831 XS(_wrap_svn_fs_path_change3_t_path_get) {
5832 {
5833 struct svn_fs_path_change3_t *arg1 = (struct svn_fs_path_change3_t *) 0 ;
5834 void *argp1 = 0 ;
5835 int res1 = 0 ;
5836 int argvi = 0;
5837 svn_string_t result;
5838 dXSARGS;
5839
5840 if ((items < 1) || (items > 1)) {
5841 SWIG_croak("Usage: svn_fs_path_change3_t_path_get(self);");
5842 }
5843 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change3_t, 0 | 0 );
5844 if (!SWIG_IsOK(res1)) {
5845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change3_t_path_get" "', argument " "1"" of type '" "struct svn_fs_path_change3_t *""'");
5846 }
5847 arg1 = (struct svn_fs_path_change3_t *)(argp1);
5848 result = ((arg1)->path);
5849 ST(argvi) = SWIG_NewPointerObj((svn_string_t *)memcpy((svn_string_t *)calloc(1,sizeof(svn_string_t)),&result,sizeof(svn_string_t)), SWIGTYPE_p_svn_string_t, SWIG_POINTER_OWN | 0); argvi++ ;
5850
5851 XSRETURN(argvi);
5852 fail:
5853
5854 SWIG_croak_null();
5855 }
5856 }
5857
5858
XS(_wrap_svn_fs_path_change3_t_change_kind_set)5859 XS(_wrap_svn_fs_path_change3_t_change_kind_set) {
5860 {
5861 struct svn_fs_path_change3_t *arg1 = (struct svn_fs_path_change3_t *) 0 ;
5862 svn_fs_path_change_kind_t arg2 ;
5863 void *argp1 = 0 ;
5864 int res1 = 0 ;
5865 int val2 ;
5866 int ecode2 = 0 ;
5867 int argvi = 0;
5868 dXSARGS;
5869
5870 if ((items < 2) || (items > 2)) {
5871 SWIG_croak("Usage: svn_fs_path_change3_t_change_kind_set(self,change_kind);");
5872 }
5873 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change3_t, 0 | 0 );
5874 if (!SWIG_IsOK(res1)) {
5875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change3_t_change_kind_set" "', argument " "1"" of type '" "struct svn_fs_path_change3_t *""'");
5876 }
5877 arg1 = (struct svn_fs_path_change3_t *)(argp1);
5878 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5879 if (!SWIG_IsOK(ecode2)) {
5880 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_path_change3_t_change_kind_set" "', argument " "2"" of type '" "svn_fs_path_change_kind_t""'");
5881 }
5882 arg2 = (svn_fs_path_change_kind_t)(val2);
5883 if (arg1) (arg1)->change_kind = arg2;
5884 ST(argvi) = sv_newmortal();
5885
5886
5887 XSRETURN(argvi);
5888 fail:
5889
5890
5891 SWIG_croak_null();
5892 }
5893 }
5894
5895
XS(_wrap_svn_fs_path_change3_t_change_kind_get)5896 XS(_wrap_svn_fs_path_change3_t_change_kind_get) {
5897 {
5898 struct svn_fs_path_change3_t *arg1 = (struct svn_fs_path_change3_t *) 0 ;
5899 void *argp1 = 0 ;
5900 int res1 = 0 ;
5901 int argvi = 0;
5902 svn_fs_path_change_kind_t result;
5903 dXSARGS;
5904
5905 if ((items < 1) || (items > 1)) {
5906 SWIG_croak("Usage: svn_fs_path_change3_t_change_kind_get(self);");
5907 }
5908 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change3_t, 0 | 0 );
5909 if (!SWIG_IsOK(res1)) {
5910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change3_t_change_kind_get" "', argument " "1"" of type '" "struct svn_fs_path_change3_t *""'");
5911 }
5912 arg1 = (struct svn_fs_path_change3_t *)(argp1);
5913 result = (svn_fs_path_change_kind_t) ((arg1)->change_kind);
5914 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5915
5916 XSRETURN(argvi);
5917 fail:
5918
5919 SWIG_croak_null();
5920 }
5921 }
5922
5923
XS(_wrap_svn_fs_path_change3_t_node_kind_set)5924 XS(_wrap_svn_fs_path_change3_t_node_kind_set) {
5925 {
5926 struct svn_fs_path_change3_t *arg1 = (struct svn_fs_path_change3_t *) 0 ;
5927 svn_node_kind_t arg2 ;
5928 void *argp1 = 0 ;
5929 int res1 = 0 ;
5930 int val2 ;
5931 int ecode2 = 0 ;
5932 int argvi = 0;
5933 dXSARGS;
5934
5935 if ((items < 2) || (items > 2)) {
5936 SWIG_croak("Usage: svn_fs_path_change3_t_node_kind_set(self,node_kind);");
5937 }
5938 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change3_t, 0 | 0 );
5939 if (!SWIG_IsOK(res1)) {
5940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change3_t_node_kind_set" "', argument " "1"" of type '" "struct svn_fs_path_change3_t *""'");
5941 }
5942 arg1 = (struct svn_fs_path_change3_t *)(argp1);
5943 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5944 if (!SWIG_IsOK(ecode2)) {
5945 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_path_change3_t_node_kind_set" "', argument " "2"" of type '" "svn_node_kind_t""'");
5946 }
5947 arg2 = (svn_node_kind_t)(val2);
5948 if (arg1) (arg1)->node_kind = arg2;
5949 ST(argvi) = sv_newmortal();
5950
5951
5952 XSRETURN(argvi);
5953 fail:
5954
5955
5956 SWIG_croak_null();
5957 }
5958 }
5959
5960
XS(_wrap_svn_fs_path_change3_t_node_kind_get)5961 XS(_wrap_svn_fs_path_change3_t_node_kind_get) {
5962 {
5963 struct svn_fs_path_change3_t *arg1 = (struct svn_fs_path_change3_t *) 0 ;
5964 void *argp1 = 0 ;
5965 int res1 = 0 ;
5966 int argvi = 0;
5967 svn_node_kind_t result;
5968 dXSARGS;
5969
5970 if ((items < 1) || (items > 1)) {
5971 SWIG_croak("Usage: svn_fs_path_change3_t_node_kind_get(self);");
5972 }
5973 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change3_t, 0 | 0 );
5974 if (!SWIG_IsOK(res1)) {
5975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change3_t_node_kind_get" "', argument " "1"" of type '" "struct svn_fs_path_change3_t *""'");
5976 }
5977 arg1 = (struct svn_fs_path_change3_t *)(argp1);
5978 result = (svn_node_kind_t) ((arg1)->node_kind);
5979 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5980
5981 XSRETURN(argvi);
5982 fail:
5983
5984 SWIG_croak_null();
5985 }
5986 }
5987
5988
XS(_wrap_svn_fs_path_change3_t_text_mod_set)5989 XS(_wrap_svn_fs_path_change3_t_text_mod_set) {
5990 {
5991 struct svn_fs_path_change3_t *arg1 = (struct svn_fs_path_change3_t *) 0 ;
5992 svn_boolean_t arg2 ;
5993 void *argp1 = 0 ;
5994 int res1 = 0 ;
5995 int val2 ;
5996 int ecode2 = 0 ;
5997 int argvi = 0;
5998 dXSARGS;
5999
6000 if ((items < 2) || (items > 2)) {
6001 SWIG_croak("Usage: svn_fs_path_change3_t_text_mod_set(self,text_mod);");
6002 }
6003 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change3_t, 0 | 0 );
6004 if (!SWIG_IsOK(res1)) {
6005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change3_t_text_mod_set" "', argument " "1"" of type '" "struct svn_fs_path_change3_t *""'");
6006 }
6007 arg1 = (struct svn_fs_path_change3_t *)(argp1);
6008 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6009 if (!SWIG_IsOK(ecode2)) {
6010 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_path_change3_t_text_mod_set" "', argument " "2"" of type '" "svn_boolean_t""'");
6011 }
6012 arg2 = (svn_boolean_t)(val2);
6013 if (arg1) (arg1)->text_mod = arg2;
6014 ST(argvi) = sv_newmortal();
6015
6016
6017 XSRETURN(argvi);
6018 fail:
6019
6020
6021 SWIG_croak_null();
6022 }
6023 }
6024
6025
XS(_wrap_svn_fs_path_change3_t_text_mod_get)6026 XS(_wrap_svn_fs_path_change3_t_text_mod_get) {
6027 {
6028 struct svn_fs_path_change3_t *arg1 = (struct svn_fs_path_change3_t *) 0 ;
6029 void *argp1 = 0 ;
6030 int res1 = 0 ;
6031 int argvi = 0;
6032 svn_boolean_t result;
6033 dXSARGS;
6034
6035 if ((items < 1) || (items > 1)) {
6036 SWIG_croak("Usage: svn_fs_path_change3_t_text_mod_get(self);");
6037 }
6038 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change3_t, 0 | 0 );
6039 if (!SWIG_IsOK(res1)) {
6040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change3_t_text_mod_get" "', argument " "1"" of type '" "struct svn_fs_path_change3_t *""'");
6041 }
6042 arg1 = (struct svn_fs_path_change3_t *)(argp1);
6043 result = (svn_boolean_t) ((arg1)->text_mod);
6044 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6045
6046 XSRETURN(argvi);
6047 fail:
6048
6049 SWIG_croak_null();
6050 }
6051 }
6052
6053
XS(_wrap_svn_fs_path_change3_t_prop_mod_set)6054 XS(_wrap_svn_fs_path_change3_t_prop_mod_set) {
6055 {
6056 struct svn_fs_path_change3_t *arg1 = (struct svn_fs_path_change3_t *) 0 ;
6057 svn_boolean_t arg2 ;
6058 void *argp1 = 0 ;
6059 int res1 = 0 ;
6060 int val2 ;
6061 int ecode2 = 0 ;
6062 int argvi = 0;
6063 dXSARGS;
6064
6065 if ((items < 2) || (items > 2)) {
6066 SWIG_croak("Usage: svn_fs_path_change3_t_prop_mod_set(self,prop_mod);");
6067 }
6068 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change3_t, 0 | 0 );
6069 if (!SWIG_IsOK(res1)) {
6070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change3_t_prop_mod_set" "', argument " "1"" of type '" "struct svn_fs_path_change3_t *""'");
6071 }
6072 arg1 = (struct svn_fs_path_change3_t *)(argp1);
6073 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6074 if (!SWIG_IsOK(ecode2)) {
6075 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_path_change3_t_prop_mod_set" "', argument " "2"" of type '" "svn_boolean_t""'");
6076 }
6077 arg2 = (svn_boolean_t)(val2);
6078 if (arg1) (arg1)->prop_mod = arg2;
6079 ST(argvi) = sv_newmortal();
6080
6081
6082 XSRETURN(argvi);
6083 fail:
6084
6085
6086 SWIG_croak_null();
6087 }
6088 }
6089
6090
XS(_wrap_svn_fs_path_change3_t_prop_mod_get)6091 XS(_wrap_svn_fs_path_change3_t_prop_mod_get) {
6092 {
6093 struct svn_fs_path_change3_t *arg1 = (struct svn_fs_path_change3_t *) 0 ;
6094 void *argp1 = 0 ;
6095 int res1 = 0 ;
6096 int argvi = 0;
6097 svn_boolean_t result;
6098 dXSARGS;
6099
6100 if ((items < 1) || (items > 1)) {
6101 SWIG_croak("Usage: svn_fs_path_change3_t_prop_mod_get(self);");
6102 }
6103 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change3_t, 0 | 0 );
6104 if (!SWIG_IsOK(res1)) {
6105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change3_t_prop_mod_get" "', argument " "1"" of type '" "struct svn_fs_path_change3_t *""'");
6106 }
6107 arg1 = (struct svn_fs_path_change3_t *)(argp1);
6108 result = (svn_boolean_t) ((arg1)->prop_mod);
6109 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6110
6111 XSRETURN(argvi);
6112 fail:
6113
6114 SWIG_croak_null();
6115 }
6116 }
6117
6118
XS(_wrap_svn_fs_path_change3_t_mergeinfo_mod_set)6119 XS(_wrap_svn_fs_path_change3_t_mergeinfo_mod_set) {
6120 {
6121 struct svn_fs_path_change3_t *arg1 = (struct svn_fs_path_change3_t *) 0 ;
6122 svn_tristate_t arg2 ;
6123 void *argp1 = 0 ;
6124 int res1 = 0 ;
6125 int val2 ;
6126 int ecode2 = 0 ;
6127 int argvi = 0;
6128 dXSARGS;
6129
6130 if ((items < 2) || (items > 2)) {
6131 SWIG_croak("Usage: svn_fs_path_change3_t_mergeinfo_mod_set(self,mergeinfo_mod);");
6132 }
6133 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change3_t, 0 | 0 );
6134 if (!SWIG_IsOK(res1)) {
6135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change3_t_mergeinfo_mod_set" "', argument " "1"" of type '" "struct svn_fs_path_change3_t *""'");
6136 }
6137 arg1 = (struct svn_fs_path_change3_t *)(argp1);
6138 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6139 if (!SWIG_IsOK(ecode2)) {
6140 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_path_change3_t_mergeinfo_mod_set" "', argument " "2"" of type '" "svn_tristate_t""'");
6141 }
6142 arg2 = (svn_tristate_t)(val2);
6143 if (arg1) (arg1)->mergeinfo_mod = arg2;
6144 ST(argvi) = sv_newmortal();
6145
6146
6147 XSRETURN(argvi);
6148 fail:
6149
6150
6151 SWIG_croak_null();
6152 }
6153 }
6154
6155
XS(_wrap_svn_fs_path_change3_t_mergeinfo_mod_get)6156 XS(_wrap_svn_fs_path_change3_t_mergeinfo_mod_get) {
6157 {
6158 struct svn_fs_path_change3_t *arg1 = (struct svn_fs_path_change3_t *) 0 ;
6159 void *argp1 = 0 ;
6160 int res1 = 0 ;
6161 int argvi = 0;
6162 svn_tristate_t result;
6163 dXSARGS;
6164
6165 if ((items < 1) || (items > 1)) {
6166 SWIG_croak("Usage: svn_fs_path_change3_t_mergeinfo_mod_get(self);");
6167 }
6168 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change3_t, 0 | 0 );
6169 if (!SWIG_IsOK(res1)) {
6170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change3_t_mergeinfo_mod_get" "', argument " "1"" of type '" "struct svn_fs_path_change3_t *""'");
6171 }
6172 arg1 = (struct svn_fs_path_change3_t *)(argp1);
6173 result = (svn_tristate_t) ((arg1)->mergeinfo_mod);
6174 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6175
6176 XSRETURN(argvi);
6177 fail:
6178
6179 SWIG_croak_null();
6180 }
6181 }
6182
6183
XS(_wrap_svn_fs_path_change3_t_copyfrom_known_set)6184 XS(_wrap_svn_fs_path_change3_t_copyfrom_known_set) {
6185 {
6186 struct svn_fs_path_change3_t *arg1 = (struct svn_fs_path_change3_t *) 0 ;
6187 svn_boolean_t arg2 ;
6188 void *argp1 = 0 ;
6189 int res1 = 0 ;
6190 int val2 ;
6191 int ecode2 = 0 ;
6192 int argvi = 0;
6193 dXSARGS;
6194
6195 if ((items < 2) || (items > 2)) {
6196 SWIG_croak("Usage: svn_fs_path_change3_t_copyfrom_known_set(self,copyfrom_known);");
6197 }
6198 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change3_t, 0 | 0 );
6199 if (!SWIG_IsOK(res1)) {
6200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change3_t_copyfrom_known_set" "', argument " "1"" of type '" "struct svn_fs_path_change3_t *""'");
6201 }
6202 arg1 = (struct svn_fs_path_change3_t *)(argp1);
6203 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6204 if (!SWIG_IsOK(ecode2)) {
6205 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_path_change3_t_copyfrom_known_set" "', argument " "2"" of type '" "svn_boolean_t""'");
6206 }
6207 arg2 = (svn_boolean_t)(val2);
6208 if (arg1) (arg1)->copyfrom_known = arg2;
6209 ST(argvi) = sv_newmortal();
6210
6211
6212 XSRETURN(argvi);
6213 fail:
6214
6215
6216 SWIG_croak_null();
6217 }
6218 }
6219
6220
XS(_wrap_svn_fs_path_change3_t_copyfrom_known_get)6221 XS(_wrap_svn_fs_path_change3_t_copyfrom_known_get) {
6222 {
6223 struct svn_fs_path_change3_t *arg1 = (struct svn_fs_path_change3_t *) 0 ;
6224 void *argp1 = 0 ;
6225 int res1 = 0 ;
6226 int argvi = 0;
6227 svn_boolean_t result;
6228 dXSARGS;
6229
6230 if ((items < 1) || (items > 1)) {
6231 SWIG_croak("Usage: svn_fs_path_change3_t_copyfrom_known_get(self);");
6232 }
6233 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change3_t, 0 | 0 );
6234 if (!SWIG_IsOK(res1)) {
6235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change3_t_copyfrom_known_get" "', argument " "1"" of type '" "struct svn_fs_path_change3_t *""'");
6236 }
6237 arg1 = (struct svn_fs_path_change3_t *)(argp1);
6238 result = (svn_boolean_t) ((arg1)->copyfrom_known);
6239 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6240
6241 XSRETURN(argvi);
6242 fail:
6243
6244 SWIG_croak_null();
6245 }
6246 }
6247
6248
XS(_wrap_svn_fs_path_change3_t_copyfrom_rev_set)6249 XS(_wrap_svn_fs_path_change3_t_copyfrom_rev_set) {
6250 {
6251 struct svn_fs_path_change3_t *arg1 = (struct svn_fs_path_change3_t *) 0 ;
6252 svn_revnum_t arg2 ;
6253 void *argp1 = 0 ;
6254 int res1 = 0 ;
6255 long val2 ;
6256 int ecode2 = 0 ;
6257 int argvi = 0;
6258 dXSARGS;
6259
6260 if ((items < 2) || (items > 2)) {
6261 SWIG_croak("Usage: svn_fs_path_change3_t_copyfrom_rev_set(self,copyfrom_rev);");
6262 }
6263 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change3_t, 0 | 0 );
6264 if (!SWIG_IsOK(res1)) {
6265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change3_t_copyfrom_rev_set" "', argument " "1"" of type '" "struct svn_fs_path_change3_t *""'");
6266 }
6267 arg1 = (struct svn_fs_path_change3_t *)(argp1);
6268 ecode2 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6269 if (!SWIG_IsOK(ecode2)) {
6270 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_path_change3_t_copyfrom_rev_set" "', argument " "2"" of type '" "svn_revnum_t""'");
6271 }
6272 arg2 = (svn_revnum_t)(val2);
6273 if (arg1) (arg1)->copyfrom_rev = arg2;
6274 ST(argvi) = sv_newmortal();
6275
6276
6277 XSRETURN(argvi);
6278 fail:
6279
6280
6281 SWIG_croak_null();
6282 }
6283 }
6284
6285
XS(_wrap_svn_fs_path_change3_t_copyfrom_rev_get)6286 XS(_wrap_svn_fs_path_change3_t_copyfrom_rev_get) {
6287 {
6288 struct svn_fs_path_change3_t *arg1 = (struct svn_fs_path_change3_t *) 0 ;
6289 void *argp1 = 0 ;
6290 int res1 = 0 ;
6291 int argvi = 0;
6292 svn_revnum_t result;
6293 dXSARGS;
6294
6295 if ((items < 1) || (items > 1)) {
6296 SWIG_croak("Usage: svn_fs_path_change3_t_copyfrom_rev_get(self);");
6297 }
6298 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change3_t, 0 | 0 );
6299 if (!SWIG_IsOK(res1)) {
6300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change3_t_copyfrom_rev_get" "', argument " "1"" of type '" "struct svn_fs_path_change3_t *""'");
6301 }
6302 arg1 = (struct svn_fs_path_change3_t *)(argp1);
6303 result = (svn_revnum_t) ((arg1)->copyfrom_rev);
6304 ST(argvi) = SWIG_From_long SWIG_PERL_CALL_ARGS_1((long)(result)); argvi++ ;
6305
6306 XSRETURN(argvi);
6307 fail:
6308
6309 SWIG_croak_null();
6310 }
6311 }
6312
6313
XS(_wrap_svn_fs_path_change3_t_copyfrom_path_set)6314 XS(_wrap_svn_fs_path_change3_t_copyfrom_path_set) {
6315 {
6316 struct svn_fs_path_change3_t *arg1 = (struct svn_fs_path_change3_t *) 0 ;
6317 char *arg2 = (char *) 0 ;
6318 void *argp1 = 0 ;
6319 int res1 = 0 ;
6320 int res2 ;
6321 char *buf2 = 0 ;
6322 int alloc2 = 0 ;
6323 int argvi = 0;
6324 dXSARGS;
6325
6326 if ((items < 2) || (items > 2)) {
6327 SWIG_croak("Usage: svn_fs_path_change3_t_copyfrom_path_set(self,copyfrom_path);");
6328 }
6329 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change3_t, 0 | 0 );
6330 if (!SWIG_IsOK(res1)) {
6331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change3_t_copyfrom_path_set" "', argument " "1"" of type '" "struct svn_fs_path_change3_t *""'");
6332 }
6333 arg1 = (struct svn_fs_path_change3_t *)(argp1);
6334 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6335 if (!SWIG_IsOK(res2)) {
6336 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_path_change3_t_copyfrom_path_set" "', argument " "2"" of type '" "char const *""'");
6337 }
6338 arg2 = (char *)(buf2);
6339 if (arg2) {
6340 size_t size = strlen((const char *)((const char *)(arg2))) + 1;
6341 arg1->copyfrom_path = (char const *)(char *)memcpy(malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));
6342 } else {
6343 arg1->copyfrom_path = 0;
6344 }
6345 ST(argvi) = sv_newmortal();
6346
6347 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6348 XSRETURN(argvi);
6349 fail:
6350
6351 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6352 SWIG_croak_null();
6353 }
6354 }
6355
6356
XS(_wrap_svn_fs_path_change3_t_copyfrom_path_get)6357 XS(_wrap_svn_fs_path_change3_t_copyfrom_path_get) {
6358 {
6359 struct svn_fs_path_change3_t *arg1 = (struct svn_fs_path_change3_t *) 0 ;
6360 void *argp1 = 0 ;
6361 int res1 = 0 ;
6362 int argvi = 0;
6363 char *result = 0 ;
6364 dXSARGS;
6365
6366 if ((items < 1) || (items > 1)) {
6367 SWIG_croak("Usage: svn_fs_path_change3_t_copyfrom_path_get(self);");
6368 }
6369 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change3_t, 0 | 0 );
6370 if (!SWIG_IsOK(res1)) {
6371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change3_t_copyfrom_path_get" "', argument " "1"" of type '" "struct svn_fs_path_change3_t *""'");
6372 }
6373 arg1 = (struct svn_fs_path_change3_t *)(argp1);
6374 result = (char *) ((arg1)->copyfrom_path);
6375 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6376
6377 XSRETURN(argvi);
6378 fail:
6379
6380 SWIG_croak_null();
6381 }
6382 }
6383
6384
XS(_wrap_svn_fs_path_change2_t_node_rev_id_set)6385 XS(_wrap_svn_fs_path_change2_t_node_rev_id_set) {
6386 {
6387 struct svn_fs_path_change2_t *arg1 = (struct svn_fs_path_change2_t *) 0 ;
6388 svn_fs_id_t *arg2 = (svn_fs_id_t *) 0 ;
6389 void *argp1 = 0 ;
6390 int res1 = 0 ;
6391 void *argp2 = 0 ;
6392 int res2 = 0 ;
6393 int argvi = 0;
6394 dXSARGS;
6395
6396 if ((items < 2) || (items > 2)) {
6397 SWIG_croak("Usage: svn_fs_path_change2_t_node_rev_id_set(self,node_rev_id);");
6398 }
6399 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change2_t, 0 | 0 );
6400 if (!SWIG_IsOK(res1)) {
6401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change2_t_node_rev_id_set" "', argument " "1"" of type '" "struct svn_fs_path_change2_t *""'");
6402 }
6403 arg1 = (struct svn_fs_path_change2_t *)(argp1);
6404 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_svn_fs_id_t, SWIG_POINTER_DISOWN | 0 );
6405 if (!SWIG_IsOK(res2)) {
6406 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_path_change2_t_node_rev_id_set" "', argument " "2"" of type '" "svn_fs_id_t const *""'");
6407 }
6408 arg2 = (svn_fs_id_t *)(argp2);
6409 if (arg1) (arg1)->node_rev_id = (svn_fs_id_t const *)arg2;
6410 ST(argvi) = sv_newmortal();
6411
6412
6413 XSRETURN(argvi);
6414 fail:
6415
6416
6417 SWIG_croak_null();
6418 }
6419 }
6420
6421
XS(_wrap_svn_fs_path_change2_t_node_rev_id_get)6422 XS(_wrap_svn_fs_path_change2_t_node_rev_id_get) {
6423 {
6424 struct svn_fs_path_change2_t *arg1 = (struct svn_fs_path_change2_t *) 0 ;
6425 void *argp1 = 0 ;
6426 int res1 = 0 ;
6427 int argvi = 0;
6428 svn_fs_id_t *result = 0 ;
6429 dXSARGS;
6430
6431 if ((items < 1) || (items > 1)) {
6432 SWIG_croak("Usage: svn_fs_path_change2_t_node_rev_id_get(self);");
6433 }
6434 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change2_t, 0 | 0 );
6435 if (!SWIG_IsOK(res1)) {
6436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change2_t_node_rev_id_get" "', argument " "1"" of type '" "struct svn_fs_path_change2_t *""'");
6437 }
6438 arg1 = (struct svn_fs_path_change2_t *)(argp1);
6439 result = (svn_fs_id_t *) ((arg1)->node_rev_id);
6440 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_fs_id_t, 0 | 0); argvi++ ;
6441
6442 XSRETURN(argvi);
6443 fail:
6444
6445 SWIG_croak_null();
6446 }
6447 }
6448
6449
XS(_wrap_svn_fs_path_change2_t_change_kind_set)6450 XS(_wrap_svn_fs_path_change2_t_change_kind_set) {
6451 {
6452 struct svn_fs_path_change2_t *arg1 = (struct svn_fs_path_change2_t *) 0 ;
6453 svn_fs_path_change_kind_t arg2 ;
6454 void *argp1 = 0 ;
6455 int res1 = 0 ;
6456 int val2 ;
6457 int ecode2 = 0 ;
6458 int argvi = 0;
6459 dXSARGS;
6460
6461 if ((items < 2) || (items > 2)) {
6462 SWIG_croak("Usage: svn_fs_path_change2_t_change_kind_set(self,change_kind);");
6463 }
6464 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change2_t, 0 | 0 );
6465 if (!SWIG_IsOK(res1)) {
6466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change2_t_change_kind_set" "', argument " "1"" of type '" "struct svn_fs_path_change2_t *""'");
6467 }
6468 arg1 = (struct svn_fs_path_change2_t *)(argp1);
6469 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6470 if (!SWIG_IsOK(ecode2)) {
6471 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_path_change2_t_change_kind_set" "', argument " "2"" of type '" "svn_fs_path_change_kind_t""'");
6472 }
6473 arg2 = (svn_fs_path_change_kind_t)(val2);
6474 if (arg1) (arg1)->change_kind = arg2;
6475 ST(argvi) = sv_newmortal();
6476
6477
6478 XSRETURN(argvi);
6479 fail:
6480
6481
6482 SWIG_croak_null();
6483 }
6484 }
6485
6486
XS(_wrap_svn_fs_path_change2_t_change_kind_get)6487 XS(_wrap_svn_fs_path_change2_t_change_kind_get) {
6488 {
6489 struct svn_fs_path_change2_t *arg1 = (struct svn_fs_path_change2_t *) 0 ;
6490 void *argp1 = 0 ;
6491 int res1 = 0 ;
6492 int argvi = 0;
6493 svn_fs_path_change_kind_t result;
6494 dXSARGS;
6495
6496 if ((items < 1) || (items > 1)) {
6497 SWIG_croak("Usage: svn_fs_path_change2_t_change_kind_get(self);");
6498 }
6499 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change2_t, 0 | 0 );
6500 if (!SWIG_IsOK(res1)) {
6501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change2_t_change_kind_get" "', argument " "1"" of type '" "struct svn_fs_path_change2_t *""'");
6502 }
6503 arg1 = (struct svn_fs_path_change2_t *)(argp1);
6504 result = (svn_fs_path_change_kind_t) ((arg1)->change_kind);
6505 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6506
6507 XSRETURN(argvi);
6508 fail:
6509
6510 SWIG_croak_null();
6511 }
6512 }
6513
6514
XS(_wrap_svn_fs_path_change2_t_text_mod_set)6515 XS(_wrap_svn_fs_path_change2_t_text_mod_set) {
6516 {
6517 struct svn_fs_path_change2_t *arg1 = (struct svn_fs_path_change2_t *) 0 ;
6518 svn_boolean_t arg2 ;
6519 void *argp1 = 0 ;
6520 int res1 = 0 ;
6521 int val2 ;
6522 int ecode2 = 0 ;
6523 int argvi = 0;
6524 dXSARGS;
6525
6526 if ((items < 2) || (items > 2)) {
6527 SWIG_croak("Usage: svn_fs_path_change2_t_text_mod_set(self,text_mod);");
6528 }
6529 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change2_t, 0 | 0 );
6530 if (!SWIG_IsOK(res1)) {
6531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change2_t_text_mod_set" "', argument " "1"" of type '" "struct svn_fs_path_change2_t *""'");
6532 }
6533 arg1 = (struct svn_fs_path_change2_t *)(argp1);
6534 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6535 if (!SWIG_IsOK(ecode2)) {
6536 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_path_change2_t_text_mod_set" "', argument " "2"" of type '" "svn_boolean_t""'");
6537 }
6538 arg2 = (svn_boolean_t)(val2);
6539 if (arg1) (arg1)->text_mod = arg2;
6540 ST(argvi) = sv_newmortal();
6541
6542
6543 XSRETURN(argvi);
6544 fail:
6545
6546
6547 SWIG_croak_null();
6548 }
6549 }
6550
6551
XS(_wrap_svn_fs_path_change2_t_text_mod_get)6552 XS(_wrap_svn_fs_path_change2_t_text_mod_get) {
6553 {
6554 struct svn_fs_path_change2_t *arg1 = (struct svn_fs_path_change2_t *) 0 ;
6555 void *argp1 = 0 ;
6556 int res1 = 0 ;
6557 int argvi = 0;
6558 svn_boolean_t result;
6559 dXSARGS;
6560
6561 if ((items < 1) || (items > 1)) {
6562 SWIG_croak("Usage: svn_fs_path_change2_t_text_mod_get(self);");
6563 }
6564 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change2_t, 0 | 0 );
6565 if (!SWIG_IsOK(res1)) {
6566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change2_t_text_mod_get" "', argument " "1"" of type '" "struct svn_fs_path_change2_t *""'");
6567 }
6568 arg1 = (struct svn_fs_path_change2_t *)(argp1);
6569 result = (svn_boolean_t) ((arg1)->text_mod);
6570 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6571
6572 XSRETURN(argvi);
6573 fail:
6574
6575 SWIG_croak_null();
6576 }
6577 }
6578
6579
XS(_wrap_svn_fs_path_change2_t_prop_mod_set)6580 XS(_wrap_svn_fs_path_change2_t_prop_mod_set) {
6581 {
6582 struct svn_fs_path_change2_t *arg1 = (struct svn_fs_path_change2_t *) 0 ;
6583 svn_boolean_t arg2 ;
6584 void *argp1 = 0 ;
6585 int res1 = 0 ;
6586 int val2 ;
6587 int ecode2 = 0 ;
6588 int argvi = 0;
6589 dXSARGS;
6590
6591 if ((items < 2) || (items > 2)) {
6592 SWIG_croak("Usage: svn_fs_path_change2_t_prop_mod_set(self,prop_mod);");
6593 }
6594 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change2_t, 0 | 0 );
6595 if (!SWIG_IsOK(res1)) {
6596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change2_t_prop_mod_set" "', argument " "1"" of type '" "struct svn_fs_path_change2_t *""'");
6597 }
6598 arg1 = (struct svn_fs_path_change2_t *)(argp1);
6599 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6600 if (!SWIG_IsOK(ecode2)) {
6601 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_path_change2_t_prop_mod_set" "', argument " "2"" of type '" "svn_boolean_t""'");
6602 }
6603 arg2 = (svn_boolean_t)(val2);
6604 if (arg1) (arg1)->prop_mod = arg2;
6605 ST(argvi) = sv_newmortal();
6606
6607
6608 XSRETURN(argvi);
6609 fail:
6610
6611
6612 SWIG_croak_null();
6613 }
6614 }
6615
6616
XS(_wrap_svn_fs_path_change2_t_prop_mod_get)6617 XS(_wrap_svn_fs_path_change2_t_prop_mod_get) {
6618 {
6619 struct svn_fs_path_change2_t *arg1 = (struct svn_fs_path_change2_t *) 0 ;
6620 void *argp1 = 0 ;
6621 int res1 = 0 ;
6622 int argvi = 0;
6623 svn_boolean_t result;
6624 dXSARGS;
6625
6626 if ((items < 1) || (items > 1)) {
6627 SWIG_croak("Usage: svn_fs_path_change2_t_prop_mod_get(self);");
6628 }
6629 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change2_t, 0 | 0 );
6630 if (!SWIG_IsOK(res1)) {
6631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change2_t_prop_mod_get" "', argument " "1"" of type '" "struct svn_fs_path_change2_t *""'");
6632 }
6633 arg1 = (struct svn_fs_path_change2_t *)(argp1);
6634 result = (svn_boolean_t) ((arg1)->prop_mod);
6635 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6636
6637 XSRETURN(argvi);
6638 fail:
6639
6640 SWIG_croak_null();
6641 }
6642 }
6643
6644
XS(_wrap_svn_fs_path_change2_t_node_kind_set)6645 XS(_wrap_svn_fs_path_change2_t_node_kind_set) {
6646 {
6647 struct svn_fs_path_change2_t *arg1 = (struct svn_fs_path_change2_t *) 0 ;
6648 svn_node_kind_t arg2 ;
6649 void *argp1 = 0 ;
6650 int res1 = 0 ;
6651 int val2 ;
6652 int ecode2 = 0 ;
6653 int argvi = 0;
6654 dXSARGS;
6655
6656 if ((items < 2) || (items > 2)) {
6657 SWIG_croak("Usage: svn_fs_path_change2_t_node_kind_set(self,node_kind);");
6658 }
6659 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change2_t, 0 | 0 );
6660 if (!SWIG_IsOK(res1)) {
6661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change2_t_node_kind_set" "', argument " "1"" of type '" "struct svn_fs_path_change2_t *""'");
6662 }
6663 arg1 = (struct svn_fs_path_change2_t *)(argp1);
6664 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6665 if (!SWIG_IsOK(ecode2)) {
6666 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_path_change2_t_node_kind_set" "', argument " "2"" of type '" "svn_node_kind_t""'");
6667 }
6668 arg2 = (svn_node_kind_t)(val2);
6669 if (arg1) (arg1)->node_kind = arg2;
6670 ST(argvi) = sv_newmortal();
6671
6672
6673 XSRETURN(argvi);
6674 fail:
6675
6676
6677 SWIG_croak_null();
6678 }
6679 }
6680
6681
XS(_wrap_svn_fs_path_change2_t_node_kind_get)6682 XS(_wrap_svn_fs_path_change2_t_node_kind_get) {
6683 {
6684 struct svn_fs_path_change2_t *arg1 = (struct svn_fs_path_change2_t *) 0 ;
6685 void *argp1 = 0 ;
6686 int res1 = 0 ;
6687 int argvi = 0;
6688 svn_node_kind_t result;
6689 dXSARGS;
6690
6691 if ((items < 1) || (items > 1)) {
6692 SWIG_croak("Usage: svn_fs_path_change2_t_node_kind_get(self);");
6693 }
6694 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change2_t, 0 | 0 );
6695 if (!SWIG_IsOK(res1)) {
6696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change2_t_node_kind_get" "', argument " "1"" of type '" "struct svn_fs_path_change2_t *""'");
6697 }
6698 arg1 = (struct svn_fs_path_change2_t *)(argp1);
6699 result = (svn_node_kind_t) ((arg1)->node_kind);
6700 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6701
6702 XSRETURN(argvi);
6703 fail:
6704
6705 SWIG_croak_null();
6706 }
6707 }
6708
6709
XS(_wrap_svn_fs_path_change2_t_copyfrom_known_set)6710 XS(_wrap_svn_fs_path_change2_t_copyfrom_known_set) {
6711 {
6712 struct svn_fs_path_change2_t *arg1 = (struct svn_fs_path_change2_t *) 0 ;
6713 svn_boolean_t arg2 ;
6714 void *argp1 = 0 ;
6715 int res1 = 0 ;
6716 int val2 ;
6717 int ecode2 = 0 ;
6718 int argvi = 0;
6719 dXSARGS;
6720
6721 if ((items < 2) || (items > 2)) {
6722 SWIG_croak("Usage: svn_fs_path_change2_t_copyfrom_known_set(self,copyfrom_known);");
6723 }
6724 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change2_t, 0 | 0 );
6725 if (!SWIG_IsOK(res1)) {
6726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change2_t_copyfrom_known_set" "', argument " "1"" of type '" "struct svn_fs_path_change2_t *""'");
6727 }
6728 arg1 = (struct svn_fs_path_change2_t *)(argp1);
6729 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6730 if (!SWIG_IsOK(ecode2)) {
6731 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_path_change2_t_copyfrom_known_set" "', argument " "2"" of type '" "svn_boolean_t""'");
6732 }
6733 arg2 = (svn_boolean_t)(val2);
6734 if (arg1) (arg1)->copyfrom_known = arg2;
6735 ST(argvi) = sv_newmortal();
6736
6737
6738 XSRETURN(argvi);
6739 fail:
6740
6741
6742 SWIG_croak_null();
6743 }
6744 }
6745
6746
XS(_wrap_svn_fs_path_change2_t_copyfrom_known_get)6747 XS(_wrap_svn_fs_path_change2_t_copyfrom_known_get) {
6748 {
6749 struct svn_fs_path_change2_t *arg1 = (struct svn_fs_path_change2_t *) 0 ;
6750 void *argp1 = 0 ;
6751 int res1 = 0 ;
6752 int argvi = 0;
6753 svn_boolean_t result;
6754 dXSARGS;
6755
6756 if ((items < 1) || (items > 1)) {
6757 SWIG_croak("Usage: svn_fs_path_change2_t_copyfrom_known_get(self);");
6758 }
6759 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change2_t, 0 | 0 );
6760 if (!SWIG_IsOK(res1)) {
6761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change2_t_copyfrom_known_get" "', argument " "1"" of type '" "struct svn_fs_path_change2_t *""'");
6762 }
6763 arg1 = (struct svn_fs_path_change2_t *)(argp1);
6764 result = (svn_boolean_t) ((arg1)->copyfrom_known);
6765 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6766
6767 XSRETURN(argvi);
6768 fail:
6769
6770 SWIG_croak_null();
6771 }
6772 }
6773
6774
XS(_wrap_svn_fs_path_change2_t_copyfrom_rev_set)6775 XS(_wrap_svn_fs_path_change2_t_copyfrom_rev_set) {
6776 {
6777 struct svn_fs_path_change2_t *arg1 = (struct svn_fs_path_change2_t *) 0 ;
6778 svn_revnum_t arg2 ;
6779 void *argp1 = 0 ;
6780 int res1 = 0 ;
6781 long val2 ;
6782 int ecode2 = 0 ;
6783 int argvi = 0;
6784 dXSARGS;
6785
6786 if ((items < 2) || (items > 2)) {
6787 SWIG_croak("Usage: svn_fs_path_change2_t_copyfrom_rev_set(self,copyfrom_rev);");
6788 }
6789 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change2_t, 0 | 0 );
6790 if (!SWIG_IsOK(res1)) {
6791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change2_t_copyfrom_rev_set" "', argument " "1"" of type '" "struct svn_fs_path_change2_t *""'");
6792 }
6793 arg1 = (struct svn_fs_path_change2_t *)(argp1);
6794 ecode2 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6795 if (!SWIG_IsOK(ecode2)) {
6796 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_path_change2_t_copyfrom_rev_set" "', argument " "2"" of type '" "svn_revnum_t""'");
6797 }
6798 arg2 = (svn_revnum_t)(val2);
6799 if (arg1) (arg1)->copyfrom_rev = arg2;
6800 ST(argvi) = sv_newmortal();
6801
6802
6803 XSRETURN(argvi);
6804 fail:
6805
6806
6807 SWIG_croak_null();
6808 }
6809 }
6810
6811
XS(_wrap_svn_fs_path_change2_t_copyfrom_rev_get)6812 XS(_wrap_svn_fs_path_change2_t_copyfrom_rev_get) {
6813 {
6814 struct svn_fs_path_change2_t *arg1 = (struct svn_fs_path_change2_t *) 0 ;
6815 void *argp1 = 0 ;
6816 int res1 = 0 ;
6817 int argvi = 0;
6818 svn_revnum_t result;
6819 dXSARGS;
6820
6821 if ((items < 1) || (items > 1)) {
6822 SWIG_croak("Usage: svn_fs_path_change2_t_copyfrom_rev_get(self);");
6823 }
6824 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change2_t, 0 | 0 );
6825 if (!SWIG_IsOK(res1)) {
6826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change2_t_copyfrom_rev_get" "', argument " "1"" of type '" "struct svn_fs_path_change2_t *""'");
6827 }
6828 arg1 = (struct svn_fs_path_change2_t *)(argp1);
6829 result = (svn_revnum_t) ((arg1)->copyfrom_rev);
6830 ST(argvi) = SWIG_From_long SWIG_PERL_CALL_ARGS_1((long)(result)); argvi++ ;
6831
6832 XSRETURN(argvi);
6833 fail:
6834
6835 SWIG_croak_null();
6836 }
6837 }
6838
6839
XS(_wrap_svn_fs_path_change2_t_copyfrom_path_set)6840 XS(_wrap_svn_fs_path_change2_t_copyfrom_path_set) {
6841 {
6842 struct svn_fs_path_change2_t *arg1 = (struct svn_fs_path_change2_t *) 0 ;
6843 char *arg2 = (char *) 0 ;
6844 void *argp1 = 0 ;
6845 int res1 = 0 ;
6846 int res2 ;
6847 char *buf2 = 0 ;
6848 int alloc2 = 0 ;
6849 int argvi = 0;
6850 dXSARGS;
6851
6852 if ((items < 2) || (items > 2)) {
6853 SWIG_croak("Usage: svn_fs_path_change2_t_copyfrom_path_set(self,copyfrom_path);");
6854 }
6855 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change2_t, 0 | 0 );
6856 if (!SWIG_IsOK(res1)) {
6857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change2_t_copyfrom_path_set" "', argument " "1"" of type '" "struct svn_fs_path_change2_t *""'");
6858 }
6859 arg1 = (struct svn_fs_path_change2_t *)(argp1);
6860 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6861 if (!SWIG_IsOK(res2)) {
6862 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_path_change2_t_copyfrom_path_set" "', argument " "2"" of type '" "char const *""'");
6863 }
6864 arg2 = (char *)(buf2);
6865 if (arg2) {
6866 size_t size = strlen((const char *)((const char *)(arg2))) + 1;
6867 arg1->copyfrom_path = (char const *)(char *)memcpy(malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));
6868 } else {
6869 arg1->copyfrom_path = 0;
6870 }
6871 ST(argvi) = sv_newmortal();
6872
6873 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6874 XSRETURN(argvi);
6875 fail:
6876
6877 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6878 SWIG_croak_null();
6879 }
6880 }
6881
6882
XS(_wrap_svn_fs_path_change2_t_copyfrom_path_get)6883 XS(_wrap_svn_fs_path_change2_t_copyfrom_path_get) {
6884 {
6885 struct svn_fs_path_change2_t *arg1 = (struct svn_fs_path_change2_t *) 0 ;
6886 void *argp1 = 0 ;
6887 int res1 = 0 ;
6888 int argvi = 0;
6889 char *result = 0 ;
6890 dXSARGS;
6891
6892 if ((items < 1) || (items > 1)) {
6893 SWIG_croak("Usage: svn_fs_path_change2_t_copyfrom_path_get(self);");
6894 }
6895 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change2_t, 0 | 0 );
6896 if (!SWIG_IsOK(res1)) {
6897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change2_t_copyfrom_path_get" "', argument " "1"" of type '" "struct svn_fs_path_change2_t *""'");
6898 }
6899 arg1 = (struct svn_fs_path_change2_t *)(argp1);
6900 result = (char *) ((arg1)->copyfrom_path);
6901 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6902
6903 XSRETURN(argvi);
6904 fail:
6905
6906 SWIG_croak_null();
6907 }
6908 }
6909
6910
XS(_wrap_svn_fs_path_change2_t_mergeinfo_mod_set)6911 XS(_wrap_svn_fs_path_change2_t_mergeinfo_mod_set) {
6912 {
6913 struct svn_fs_path_change2_t *arg1 = (struct svn_fs_path_change2_t *) 0 ;
6914 svn_tristate_t arg2 ;
6915 void *argp1 = 0 ;
6916 int res1 = 0 ;
6917 int val2 ;
6918 int ecode2 = 0 ;
6919 int argvi = 0;
6920 dXSARGS;
6921
6922 if ((items < 2) || (items > 2)) {
6923 SWIG_croak("Usage: svn_fs_path_change2_t_mergeinfo_mod_set(self,mergeinfo_mod);");
6924 }
6925 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change2_t, 0 | 0 );
6926 if (!SWIG_IsOK(res1)) {
6927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change2_t_mergeinfo_mod_set" "', argument " "1"" of type '" "struct svn_fs_path_change2_t *""'");
6928 }
6929 arg1 = (struct svn_fs_path_change2_t *)(argp1);
6930 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6931 if (!SWIG_IsOK(ecode2)) {
6932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_path_change2_t_mergeinfo_mod_set" "', argument " "2"" of type '" "svn_tristate_t""'");
6933 }
6934 arg2 = (svn_tristate_t)(val2);
6935 if (arg1) (arg1)->mergeinfo_mod = arg2;
6936 ST(argvi) = sv_newmortal();
6937
6938
6939 XSRETURN(argvi);
6940 fail:
6941
6942
6943 SWIG_croak_null();
6944 }
6945 }
6946
6947
XS(_wrap_svn_fs_path_change2_t_mergeinfo_mod_get)6948 XS(_wrap_svn_fs_path_change2_t_mergeinfo_mod_get) {
6949 {
6950 struct svn_fs_path_change2_t *arg1 = (struct svn_fs_path_change2_t *) 0 ;
6951 void *argp1 = 0 ;
6952 int res1 = 0 ;
6953 int argvi = 0;
6954 svn_tristate_t result;
6955 dXSARGS;
6956
6957 if ((items < 1) || (items > 1)) {
6958 SWIG_croak("Usage: svn_fs_path_change2_t_mergeinfo_mod_get(self);");
6959 }
6960 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change2_t, 0 | 0 );
6961 if (!SWIG_IsOK(res1)) {
6962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change2_t_mergeinfo_mod_get" "', argument " "1"" of type '" "struct svn_fs_path_change2_t *""'");
6963 }
6964 arg1 = (struct svn_fs_path_change2_t *)(argp1);
6965 result = (svn_tristate_t) ((arg1)->mergeinfo_mod);
6966 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6967
6968 XSRETURN(argvi);
6969 fail:
6970
6971 SWIG_croak_null();
6972 }
6973 }
6974
6975
XS(_wrap_svn_fs_path_change_t_node_rev_id_set)6976 XS(_wrap_svn_fs_path_change_t_node_rev_id_set) {
6977 {
6978 struct svn_fs_path_change_t *arg1 = (struct svn_fs_path_change_t *) 0 ;
6979 svn_fs_id_t *arg2 = (svn_fs_id_t *) 0 ;
6980 void *argp1 = 0 ;
6981 int res1 = 0 ;
6982 void *argp2 = 0 ;
6983 int res2 = 0 ;
6984 int argvi = 0;
6985 dXSARGS;
6986
6987 if ((items < 2) || (items > 2)) {
6988 SWIG_croak("Usage: svn_fs_path_change_t_node_rev_id_set(self,node_rev_id);");
6989 }
6990 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change_t, 0 | 0 );
6991 if (!SWIG_IsOK(res1)) {
6992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change_t_node_rev_id_set" "', argument " "1"" of type '" "struct svn_fs_path_change_t *""'");
6993 }
6994 arg1 = (struct svn_fs_path_change_t *)(argp1);
6995 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_svn_fs_id_t, SWIG_POINTER_DISOWN | 0 );
6996 if (!SWIG_IsOK(res2)) {
6997 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_path_change_t_node_rev_id_set" "', argument " "2"" of type '" "svn_fs_id_t const *""'");
6998 }
6999 arg2 = (svn_fs_id_t *)(argp2);
7000 if (arg1) (arg1)->node_rev_id = (svn_fs_id_t const *)arg2;
7001 ST(argvi) = sv_newmortal();
7002
7003
7004 XSRETURN(argvi);
7005 fail:
7006
7007
7008 SWIG_croak_null();
7009 }
7010 }
7011
7012
XS(_wrap_svn_fs_path_change_t_node_rev_id_get)7013 XS(_wrap_svn_fs_path_change_t_node_rev_id_get) {
7014 {
7015 struct svn_fs_path_change_t *arg1 = (struct svn_fs_path_change_t *) 0 ;
7016 void *argp1 = 0 ;
7017 int res1 = 0 ;
7018 int argvi = 0;
7019 svn_fs_id_t *result = 0 ;
7020 dXSARGS;
7021
7022 if ((items < 1) || (items > 1)) {
7023 SWIG_croak("Usage: svn_fs_path_change_t_node_rev_id_get(self);");
7024 }
7025 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change_t, 0 | 0 );
7026 if (!SWIG_IsOK(res1)) {
7027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change_t_node_rev_id_get" "', argument " "1"" of type '" "struct svn_fs_path_change_t *""'");
7028 }
7029 arg1 = (struct svn_fs_path_change_t *)(argp1);
7030 result = (svn_fs_id_t *) ((arg1)->node_rev_id);
7031 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_fs_id_t, 0 | 0); argvi++ ;
7032
7033 XSRETURN(argvi);
7034 fail:
7035
7036 SWIG_croak_null();
7037 }
7038 }
7039
7040
XS(_wrap_svn_fs_path_change_t_change_kind_set)7041 XS(_wrap_svn_fs_path_change_t_change_kind_set) {
7042 {
7043 struct svn_fs_path_change_t *arg1 = (struct svn_fs_path_change_t *) 0 ;
7044 svn_fs_path_change_kind_t arg2 ;
7045 void *argp1 = 0 ;
7046 int res1 = 0 ;
7047 int val2 ;
7048 int ecode2 = 0 ;
7049 int argvi = 0;
7050 dXSARGS;
7051
7052 if ((items < 2) || (items > 2)) {
7053 SWIG_croak("Usage: svn_fs_path_change_t_change_kind_set(self,change_kind);");
7054 }
7055 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change_t, 0 | 0 );
7056 if (!SWIG_IsOK(res1)) {
7057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change_t_change_kind_set" "', argument " "1"" of type '" "struct svn_fs_path_change_t *""'");
7058 }
7059 arg1 = (struct svn_fs_path_change_t *)(argp1);
7060 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7061 if (!SWIG_IsOK(ecode2)) {
7062 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_path_change_t_change_kind_set" "', argument " "2"" of type '" "svn_fs_path_change_kind_t""'");
7063 }
7064 arg2 = (svn_fs_path_change_kind_t)(val2);
7065 if (arg1) (arg1)->change_kind = arg2;
7066 ST(argvi) = sv_newmortal();
7067
7068
7069 XSRETURN(argvi);
7070 fail:
7071
7072
7073 SWIG_croak_null();
7074 }
7075 }
7076
7077
XS(_wrap_svn_fs_path_change_t_change_kind_get)7078 XS(_wrap_svn_fs_path_change_t_change_kind_get) {
7079 {
7080 struct svn_fs_path_change_t *arg1 = (struct svn_fs_path_change_t *) 0 ;
7081 void *argp1 = 0 ;
7082 int res1 = 0 ;
7083 int argvi = 0;
7084 svn_fs_path_change_kind_t result;
7085 dXSARGS;
7086
7087 if ((items < 1) || (items > 1)) {
7088 SWIG_croak("Usage: svn_fs_path_change_t_change_kind_get(self);");
7089 }
7090 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change_t, 0 | 0 );
7091 if (!SWIG_IsOK(res1)) {
7092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change_t_change_kind_get" "', argument " "1"" of type '" "struct svn_fs_path_change_t *""'");
7093 }
7094 arg1 = (struct svn_fs_path_change_t *)(argp1);
7095 result = (svn_fs_path_change_kind_t) ((arg1)->change_kind);
7096 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7097
7098 XSRETURN(argvi);
7099 fail:
7100
7101 SWIG_croak_null();
7102 }
7103 }
7104
7105
XS(_wrap_svn_fs_path_change_t_text_mod_set)7106 XS(_wrap_svn_fs_path_change_t_text_mod_set) {
7107 {
7108 struct svn_fs_path_change_t *arg1 = (struct svn_fs_path_change_t *) 0 ;
7109 svn_boolean_t arg2 ;
7110 void *argp1 = 0 ;
7111 int res1 = 0 ;
7112 int val2 ;
7113 int ecode2 = 0 ;
7114 int argvi = 0;
7115 dXSARGS;
7116
7117 if ((items < 2) || (items > 2)) {
7118 SWIG_croak("Usage: svn_fs_path_change_t_text_mod_set(self,text_mod);");
7119 }
7120 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change_t, 0 | 0 );
7121 if (!SWIG_IsOK(res1)) {
7122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change_t_text_mod_set" "', argument " "1"" of type '" "struct svn_fs_path_change_t *""'");
7123 }
7124 arg1 = (struct svn_fs_path_change_t *)(argp1);
7125 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7126 if (!SWIG_IsOK(ecode2)) {
7127 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_path_change_t_text_mod_set" "', argument " "2"" of type '" "svn_boolean_t""'");
7128 }
7129 arg2 = (svn_boolean_t)(val2);
7130 if (arg1) (arg1)->text_mod = arg2;
7131 ST(argvi) = sv_newmortal();
7132
7133
7134 XSRETURN(argvi);
7135 fail:
7136
7137
7138 SWIG_croak_null();
7139 }
7140 }
7141
7142
XS(_wrap_svn_fs_path_change_t_text_mod_get)7143 XS(_wrap_svn_fs_path_change_t_text_mod_get) {
7144 {
7145 struct svn_fs_path_change_t *arg1 = (struct svn_fs_path_change_t *) 0 ;
7146 void *argp1 = 0 ;
7147 int res1 = 0 ;
7148 int argvi = 0;
7149 svn_boolean_t result;
7150 dXSARGS;
7151
7152 if ((items < 1) || (items > 1)) {
7153 SWIG_croak("Usage: svn_fs_path_change_t_text_mod_get(self);");
7154 }
7155 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change_t, 0 | 0 );
7156 if (!SWIG_IsOK(res1)) {
7157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change_t_text_mod_get" "', argument " "1"" of type '" "struct svn_fs_path_change_t *""'");
7158 }
7159 arg1 = (struct svn_fs_path_change_t *)(argp1);
7160 result = (svn_boolean_t) ((arg1)->text_mod);
7161 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7162
7163 XSRETURN(argvi);
7164 fail:
7165
7166 SWIG_croak_null();
7167 }
7168 }
7169
7170
XS(_wrap_svn_fs_path_change_t_prop_mod_set)7171 XS(_wrap_svn_fs_path_change_t_prop_mod_set) {
7172 {
7173 struct svn_fs_path_change_t *arg1 = (struct svn_fs_path_change_t *) 0 ;
7174 svn_boolean_t arg2 ;
7175 void *argp1 = 0 ;
7176 int res1 = 0 ;
7177 int val2 ;
7178 int ecode2 = 0 ;
7179 int argvi = 0;
7180 dXSARGS;
7181
7182 if ((items < 2) || (items > 2)) {
7183 SWIG_croak("Usage: svn_fs_path_change_t_prop_mod_set(self,prop_mod);");
7184 }
7185 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change_t, 0 | 0 );
7186 if (!SWIG_IsOK(res1)) {
7187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change_t_prop_mod_set" "', argument " "1"" of type '" "struct svn_fs_path_change_t *""'");
7188 }
7189 arg1 = (struct svn_fs_path_change_t *)(argp1);
7190 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7191 if (!SWIG_IsOK(ecode2)) {
7192 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_path_change_t_prop_mod_set" "', argument " "2"" of type '" "svn_boolean_t""'");
7193 }
7194 arg2 = (svn_boolean_t)(val2);
7195 if (arg1) (arg1)->prop_mod = arg2;
7196 ST(argvi) = sv_newmortal();
7197
7198
7199 XSRETURN(argvi);
7200 fail:
7201
7202
7203 SWIG_croak_null();
7204 }
7205 }
7206
7207
XS(_wrap_svn_fs_path_change_t_prop_mod_get)7208 XS(_wrap_svn_fs_path_change_t_prop_mod_get) {
7209 {
7210 struct svn_fs_path_change_t *arg1 = (struct svn_fs_path_change_t *) 0 ;
7211 void *argp1 = 0 ;
7212 int res1 = 0 ;
7213 int argvi = 0;
7214 svn_boolean_t result;
7215 dXSARGS;
7216
7217 if ((items < 1) || (items > 1)) {
7218 SWIG_croak("Usage: svn_fs_path_change_t_prop_mod_get(self);");
7219 }
7220 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change_t, 0 | 0 );
7221 if (!SWIG_IsOK(res1)) {
7222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change_t_prop_mod_get" "', argument " "1"" of type '" "struct svn_fs_path_change_t *""'");
7223 }
7224 arg1 = (struct svn_fs_path_change_t *)(argp1);
7225 result = (svn_boolean_t) ((arg1)->prop_mod);
7226 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7227
7228 XSRETURN(argvi);
7229 fail:
7230
7231 SWIG_croak_null();
7232 }
7233 }
7234
7235
XS(_wrap_svn_fs_path_change2_create)7236 XS(_wrap_svn_fs_path_change2_create) {
7237 {
7238 svn_fs_id_t *arg1 = (svn_fs_id_t *) 0 ;
7239 svn_fs_path_change_kind_t arg2 ;
7240 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
7241 apr_pool_t *_global_pool ;
7242 void *argp1 = 0 ;
7243 int res1 = 0 ;
7244 int val2 ;
7245 int ecode2 = 0 ;
7246 int argvi = 0;
7247 svn_fs_path_change2_t *result = 0 ;
7248 dXSARGS;
7249
7250 {
7251 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
7252 SPAGAIN;
7253 }
7254 if ((items < 2) || (items > 3)) {
7255 SWIG_croak("Usage: svn_fs_path_change2_create(node_rev_id,change_kind,pool);");
7256 }
7257 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_id_t, 0 | 0 );
7258 if (!SWIG_IsOK(res1)) {
7259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change2_create" "', argument " "1"" of type '" "svn_fs_id_t const *""'");
7260 }
7261 arg1 = (svn_fs_id_t *)(argp1);
7262 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7263 if (!SWIG_IsOK(ecode2)) {
7264 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_path_change2_create" "', argument " "2"" of type '" "svn_fs_path_change_kind_t""'");
7265 }
7266 arg2 = (svn_fs_path_change_kind_t)(val2);
7267 if (items > 2) {
7268
7269 }
7270 {
7271 result = (svn_fs_path_change2_t *)svn_fs_path_change2_create((struct svn_fs_id_t const *)arg1,arg2,arg3);
7272
7273
7274
7275 }
7276 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_fs_path_change2_t, 0 | SWIG_SHADOW); argvi++ ;
7277
7278
7279
7280 XSRETURN(argvi);
7281 fail:
7282
7283
7284
7285 SWIG_croak_null();
7286 }
7287 }
7288
7289
XS(_wrap_svn_fs_path_change3_create)7290 XS(_wrap_svn_fs_path_change3_create) {
7291 {
7292 svn_fs_path_change_kind_t arg1 ;
7293 apr_pool_t *arg2 = (apr_pool_t *) 0 ;
7294 apr_pool_t *_global_pool ;
7295 int val1 ;
7296 int ecode1 = 0 ;
7297 int argvi = 0;
7298 svn_fs_path_change3_t *result = 0 ;
7299 dXSARGS;
7300
7301 {
7302 _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
7303 SPAGAIN;
7304 }
7305 if ((items < 1) || (items > 2)) {
7306 SWIG_croak("Usage: svn_fs_path_change3_create(change_kind,result_pool);");
7307 }
7308 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
7309 if (!SWIG_IsOK(ecode1)) {
7310 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "svn_fs_path_change3_create" "', argument " "1"" of type '" "svn_fs_path_change_kind_t""'");
7311 }
7312 arg1 = (svn_fs_path_change_kind_t)(val1);
7313 if (items > 1) {
7314
7315 }
7316 {
7317 result = (svn_fs_path_change3_t *)svn_fs_path_change3_create(arg1,arg2);
7318
7319
7320
7321 }
7322 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_fs_path_change3_t, 0 | SWIG_SHADOW); argvi++ ;
7323
7324
7325 XSRETURN(argvi);
7326 fail:
7327
7328
7329 SWIG_croak_null();
7330 }
7331 }
7332
7333
XS(_wrap_svn_fs_path_change3_dup)7334 XS(_wrap_svn_fs_path_change3_dup) {
7335 {
7336 svn_fs_path_change3_t *arg1 = (svn_fs_path_change3_t *) 0 ;
7337 apr_pool_t *arg2 = (apr_pool_t *) 0 ;
7338 apr_pool_t *_global_pool ;
7339 void *argp1 = 0 ;
7340 int res1 = 0 ;
7341 int argvi = 0;
7342 svn_fs_path_change3_t *result = 0 ;
7343 dXSARGS;
7344
7345 {
7346 _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
7347 SPAGAIN;
7348 }
7349 if ((items < 1) || (items > 2)) {
7350 SWIG_croak("Usage: svn_fs_path_change3_dup(change,result_pool);");
7351 }
7352 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_path_change3_t, 0 | 0 );
7353 if (!SWIG_IsOK(res1)) {
7354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_path_change3_dup" "', argument " "1"" of type '" "svn_fs_path_change3_t *""'");
7355 }
7356 arg1 = (svn_fs_path_change3_t *)(argp1);
7357 if (items > 1) {
7358
7359 }
7360 {
7361 result = (svn_fs_path_change3_t *)svn_fs_path_change3_dup(arg1,arg2);
7362
7363
7364
7365 }
7366 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_fs_path_change3_t, 0 | SWIG_SHADOW); argvi++ ;
7367
7368
7369 XSRETURN(argvi);
7370 fail:
7371
7372
7373 SWIG_croak_null();
7374 }
7375 }
7376
7377
XS(_wrap_svn_fs_path_change_get)7378 XS(_wrap_svn_fs_path_change_get) {
7379 {
7380 svn_fs_path_change3_t **arg1 = (svn_fs_path_change3_t **) 0 ;
7381 svn_fs_path_change_iterator_t *arg2 = (svn_fs_path_change_iterator_t *) 0 ;
7382 svn_fs_path_change3_t *temp1 ;
7383 void *argp2 = 0 ;
7384 int res2 = 0 ;
7385 int argvi = 0;
7386 svn_error_t *result = 0 ;
7387 dXSARGS;
7388
7389 arg1 = &temp1;
7390 if ((items < 1) || (items > 1)) {
7391 SWIG_croak("Usage: svn_fs_path_change_get(iterator);");
7392 }
7393 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_path_change_iterator_t, 0 | 0 );
7394 if (!SWIG_IsOK(res2)) {
7395 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_path_change_get" "', argument " "2"" of type '" "svn_fs_path_change_iterator_t *""'");
7396 }
7397 arg2 = (svn_fs_path_change_iterator_t *)(argp2);
7398 {
7399 result = (svn_error_t *)svn_fs_path_change_get(arg1,arg2);
7400
7401
7402
7403 }
7404 {
7405 if (result) {
7406 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
7407
7408 if (SvOK(exception_handler)) {
7409 SV *callback_result;
7410
7411 PUTBACK;
7412 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
7413 &callback_result, "S", result,
7414 SWIGTYPE_p_svn_error_t);
7415 SPAGAIN;
7416 } else {
7417 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
7418 argvi++;
7419 }
7420 }
7421 }
7422 {
7423 /* FIXME: Missing argout typemap: svn_fs_path_change_get arg 1 (svn_fs_path_change3_t **) */
7424
7425
7426
7427
7428 SWIG_exception(SWIG_ValueError, "svn_fs_path_change_get is not implemented yet");
7429
7430 }
7431
7432
7433 XSRETURN(argvi);
7434 fail:
7435
7436
7437 SWIG_croak_null();
7438 }
7439 }
7440
7441
XS(_wrap_svn_fs_paths_changed3)7442 XS(_wrap_svn_fs_paths_changed3) {
7443 {
7444 svn_fs_path_change_iterator_t **arg1 = (svn_fs_path_change_iterator_t **) 0 ;
7445 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
7446 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
7447 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
7448 apr_pool_t *_global_pool ;
7449 svn_fs_path_change_iterator_t *temp1 ;
7450 void *argp2 = 0 ;
7451 int res2 = 0 ;
7452 int argvi = 0;
7453 svn_error_t *result = 0 ;
7454 dXSARGS;
7455
7456 {
7457 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
7458 SPAGAIN;
7459 }
7460 {
7461 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
7462 SPAGAIN;
7463 }
7464 arg1 = &temp1;
7465 if ((items < 1) || (items > 3)) {
7466 SWIG_croak("Usage: svn_fs_paths_changed3(root,result_pool,scratch_pool);");
7467 }
7468 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
7469 if (!SWIG_IsOK(res2)) {
7470 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_paths_changed3" "', argument " "2"" of type '" "svn_fs_root_t *""'");
7471 }
7472 arg2 = (svn_fs_root_t *)(argp2);
7473 if (items > 1) {
7474
7475 }
7476 if (items > 2) {
7477
7478 }
7479 {
7480 result = (svn_error_t *)svn_fs_paths_changed3(arg1,arg2,arg3,arg4);
7481
7482
7483
7484 }
7485 {
7486 if (result) {
7487 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
7488
7489 if (SvOK(exception_handler)) {
7490 SV *callback_result;
7491
7492 PUTBACK;
7493 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
7494 &callback_result, "S", result,
7495 SWIGTYPE_p_svn_error_t);
7496 SPAGAIN;
7497 } else {
7498 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
7499 argvi++;
7500 }
7501 }
7502 }
7503 {
7504 /* FIXME: Missing argout typemap: svn_fs_paths_changed3 arg 1 (svn_fs_path_change_iterator_t **) */
7505
7506
7507
7508
7509 SWIG_exception(SWIG_ValueError, "svn_fs_paths_changed3 is not implemented yet");
7510
7511 }
7512
7513
7514
7515
7516 XSRETURN(argvi);
7517 fail:
7518
7519
7520
7521
7522 SWIG_croak_null();
7523 }
7524 }
7525
7526
XS(_wrap_svn_fs_paths_changed2)7527 XS(_wrap_svn_fs_paths_changed2) {
7528 {
7529 apr_hash_t **arg1 = (apr_hash_t **) 0 ;
7530 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
7531 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
7532 apr_pool_t *_global_pool ;
7533 apr_hash_t *temp1 ;
7534 void *argp2 = 0 ;
7535 int res2 = 0 ;
7536 int argvi = 0;
7537 svn_error_t *result = 0 ;
7538 dXSARGS;
7539
7540 {
7541 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
7542 SPAGAIN;
7543 }
7544 arg1 = &temp1;
7545 if ((items < 1) || (items > 2)) {
7546 SWIG_croak("Usage: svn_fs_paths_changed2(root,pool);");
7547 }
7548 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
7549 if (!SWIG_IsOK(res2)) {
7550 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_paths_changed2" "', argument " "2"" of type '" "svn_fs_root_t *""'");
7551 }
7552 arg2 = (svn_fs_root_t *)(argp2);
7553 if (items > 1) {
7554
7555 }
7556 {
7557 result = (svn_error_t *)svn_fs_paths_changed2(arg1,arg2,arg3);
7558
7559
7560
7561 }
7562 {
7563 if (result) {
7564 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
7565
7566 if (SvOK(exception_handler)) {
7567 SV *callback_result;
7568
7569 PUTBACK;
7570 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
7571 &callback_result, "S", result,
7572 SWIGTYPE_p_svn_error_t);
7573 SPAGAIN;
7574 } else {
7575 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
7576 argvi++;
7577 }
7578 }
7579 }
7580 {
7581 if (argvi >= items) EXTEND(sp,1); ST(argvi) = svn_swig_pl_convert_hash(*arg1, SWIGTYPE_p_svn_fs_path_change2_t); argvi++ ;
7582 }
7583
7584
7585
7586 XSRETURN(argvi);
7587 fail:
7588
7589
7590
7591 SWIG_croak_null();
7592 }
7593 }
7594
7595
XS(_wrap_svn_fs_paths_changed)7596 XS(_wrap_svn_fs_paths_changed) {
7597 {
7598 apr_hash_t **arg1 = (apr_hash_t **) 0 ;
7599 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
7600 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
7601 apr_pool_t *_global_pool ;
7602 apr_hash_t *temp1 ;
7603 void *argp2 = 0 ;
7604 int res2 = 0 ;
7605 int argvi = 0;
7606 svn_error_t *result = 0 ;
7607 dXSARGS;
7608
7609 {
7610 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
7611 SPAGAIN;
7612 }
7613 arg1 = &temp1;
7614 if ((items < 1) || (items > 2)) {
7615 SWIG_croak("Usage: svn_fs_paths_changed(root,pool);");
7616 }
7617 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
7618 if (!SWIG_IsOK(res2)) {
7619 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_paths_changed" "', argument " "2"" of type '" "svn_fs_root_t *""'");
7620 }
7621 arg2 = (svn_fs_root_t *)(argp2);
7622 if (items > 1) {
7623
7624 }
7625 {
7626 result = (svn_error_t *)svn_fs_paths_changed(arg1,arg2,arg3);
7627
7628
7629
7630 }
7631 {
7632 if (result) {
7633 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
7634
7635 if (SvOK(exception_handler)) {
7636 SV *callback_result;
7637
7638 PUTBACK;
7639 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
7640 &callback_result, "S", result,
7641 SWIGTYPE_p_svn_error_t);
7642 SPAGAIN;
7643 } else {
7644 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
7645 argvi++;
7646 }
7647 }
7648 }
7649 {
7650 if (argvi >= items) EXTEND(sp,1); ST(argvi) = svn_swig_pl_convert_hash(*arg1, SWIGTYPE_p_svn_fs_path_change_t); argvi++ ;
7651 }
7652
7653
7654
7655 XSRETURN(argvi);
7656 fail:
7657
7658
7659
7660 SWIG_croak_null();
7661 }
7662 }
7663
7664
XS(_wrap_svn_fs_check_path)7665 XS(_wrap_svn_fs_check_path) {
7666 {
7667 svn_node_kind_t *arg1 = (svn_node_kind_t *) 0 ;
7668 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
7669 char *arg3 = (char *) 0 ;
7670 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
7671 apr_pool_t *_global_pool ;
7672 svn_node_kind_t temp1 ;
7673 int res1 = SWIG_TMPOBJ ;
7674 void *argp2 = 0 ;
7675 int res2 = 0 ;
7676 int res3 ;
7677 char *buf3 = 0 ;
7678 int alloc3 = 0 ;
7679 int argvi = 0;
7680 svn_error_t *result = 0 ;
7681 dXSARGS;
7682
7683 {
7684 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
7685 SPAGAIN;
7686 }
7687 arg1 = &temp1;
7688 if ((items < 2) || (items > 3)) {
7689 SWIG_croak("Usage: svn_fs_check_path(root,path,pool);");
7690 }
7691 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
7692 if (!SWIG_IsOK(res2)) {
7693 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_check_path" "', argument " "2"" of type '" "svn_fs_root_t *""'");
7694 }
7695 arg2 = (svn_fs_root_t *)(argp2);
7696 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
7697 if (!SWIG_IsOK(res3)) {
7698 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_check_path" "', argument " "3"" of type '" "char const *""'");
7699 }
7700 arg3 = (char *)(buf3);
7701 if (items > 2) {
7702
7703 }
7704 {
7705 result = (svn_error_t *)svn_fs_check_path(arg1,arg2,(char const *)arg3,arg4);
7706
7707
7708
7709 }
7710 {
7711 if (result) {
7712 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
7713
7714 if (SvOK(exception_handler)) {
7715 SV *callback_result;
7716
7717 PUTBACK;
7718 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
7719 &callback_result, "S", result,
7720 SWIGTYPE_p_svn_error_t);
7721 SPAGAIN;
7722 } else {
7723 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
7724 argvi++;
7725 }
7726 }
7727 }
7728 if (SWIG_IsTmpObj(res1)) {
7729 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_long SWIG_PERL_CALL_ARGS_1((*arg1)); argvi++ ;
7730 } else {
7731 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0) : 0;
7732 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_svn_node_kind_t, new_flags); argvi++ ;
7733 }
7734
7735
7736 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7737
7738 XSRETURN(argvi);
7739 fail:
7740
7741
7742 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7743
7744 SWIG_croak_null();
7745 }
7746 }
7747
7748
XS(_wrap_svn_fs_node_history2)7749 XS(_wrap_svn_fs_node_history2) {
7750 {
7751 svn_fs_history_t **arg1 = (svn_fs_history_t **) 0 ;
7752 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
7753 char *arg3 = (char *) 0 ;
7754 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
7755 apr_pool_t *arg5 = (apr_pool_t *) 0 ;
7756 apr_pool_t *_global_pool ;
7757 svn_fs_history_t *temp1 ;
7758 void *argp2 = 0 ;
7759 int res2 = 0 ;
7760 int res3 ;
7761 char *buf3 = 0 ;
7762 int alloc3 = 0 ;
7763 int argvi = 0;
7764 svn_error_t *result = 0 ;
7765 dXSARGS;
7766
7767 {
7768 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
7769 SPAGAIN;
7770 }
7771 {
7772 _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
7773 SPAGAIN;
7774 }
7775 arg1 = &temp1;
7776 if ((items < 2) || (items > 4)) {
7777 SWIG_croak("Usage: svn_fs_node_history2(root,path,result_pool,scratch_pool);");
7778 }
7779 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
7780 if (!SWIG_IsOK(res2)) {
7781 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_node_history2" "', argument " "2"" of type '" "svn_fs_root_t *""'");
7782 }
7783 arg2 = (svn_fs_root_t *)(argp2);
7784 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
7785 if (!SWIG_IsOK(res3)) {
7786 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_node_history2" "', argument " "3"" of type '" "char const *""'");
7787 }
7788 arg3 = (char *)(buf3);
7789 if (items > 2) {
7790
7791 }
7792 if (items > 3) {
7793
7794 }
7795 {
7796 result = (svn_error_t *)svn_fs_node_history2(arg1,arg2,(char const *)arg3,arg4,arg5);
7797
7798
7799
7800 }
7801 {
7802 if (result) {
7803 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
7804
7805 if (SvOK(exception_handler)) {
7806 SV *callback_result;
7807
7808 PUTBACK;
7809 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
7810 &callback_result, "S", result,
7811 SWIGTYPE_p_svn_error_t);
7812 SPAGAIN;
7813 } else {
7814 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
7815 argvi++;
7816 }
7817 }
7818 }
7819 {
7820 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_fs_history_t, 0); argvi++ ;
7821 }
7822
7823
7824 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7825
7826
7827 XSRETURN(argvi);
7828 fail:
7829
7830
7831 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7832
7833
7834 SWIG_croak_null();
7835 }
7836 }
7837
7838
XS(_wrap_svn_fs_node_history)7839 XS(_wrap_svn_fs_node_history) {
7840 {
7841 svn_fs_history_t **arg1 = (svn_fs_history_t **) 0 ;
7842 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
7843 char *arg3 = (char *) 0 ;
7844 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
7845 apr_pool_t *_global_pool ;
7846 svn_fs_history_t *temp1 ;
7847 void *argp2 = 0 ;
7848 int res2 = 0 ;
7849 int res3 ;
7850 char *buf3 = 0 ;
7851 int alloc3 = 0 ;
7852 int argvi = 0;
7853 svn_error_t *result = 0 ;
7854 dXSARGS;
7855
7856 {
7857 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
7858 SPAGAIN;
7859 }
7860 arg1 = &temp1;
7861 if ((items < 2) || (items > 3)) {
7862 SWIG_croak("Usage: svn_fs_node_history(root,path,pool);");
7863 }
7864 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
7865 if (!SWIG_IsOK(res2)) {
7866 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_node_history" "', argument " "2"" of type '" "svn_fs_root_t *""'");
7867 }
7868 arg2 = (svn_fs_root_t *)(argp2);
7869 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
7870 if (!SWIG_IsOK(res3)) {
7871 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_node_history" "', argument " "3"" of type '" "char const *""'");
7872 }
7873 arg3 = (char *)(buf3);
7874 if (items > 2) {
7875
7876 }
7877 {
7878 result = (svn_error_t *)svn_fs_node_history(arg1,arg2,(char const *)arg3,arg4);
7879
7880
7881
7882 }
7883 {
7884 if (result) {
7885 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
7886
7887 if (SvOK(exception_handler)) {
7888 SV *callback_result;
7889
7890 PUTBACK;
7891 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
7892 &callback_result, "S", result,
7893 SWIGTYPE_p_svn_error_t);
7894 SPAGAIN;
7895 } else {
7896 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
7897 argvi++;
7898 }
7899 }
7900 }
7901 {
7902 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_fs_history_t, 0); argvi++ ;
7903 }
7904
7905
7906 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7907
7908 XSRETURN(argvi);
7909 fail:
7910
7911
7912 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7913
7914 SWIG_croak_null();
7915 }
7916 }
7917
7918
XS(_wrap_svn_fs_history_prev2)7919 XS(_wrap_svn_fs_history_prev2) {
7920 {
7921 svn_fs_history_t **arg1 = (svn_fs_history_t **) 0 ;
7922 svn_fs_history_t *arg2 = (svn_fs_history_t *) 0 ;
7923 svn_boolean_t arg3 ;
7924 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
7925 apr_pool_t *arg5 = (apr_pool_t *) 0 ;
7926 apr_pool_t *_global_pool ;
7927 svn_fs_history_t *temp1 ;
7928 void *argp2 = 0 ;
7929 int res2 = 0 ;
7930 int val3 ;
7931 int ecode3 = 0 ;
7932 int argvi = 0;
7933 svn_error_t *result = 0 ;
7934 dXSARGS;
7935
7936 {
7937 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
7938 SPAGAIN;
7939 }
7940 {
7941 _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
7942 SPAGAIN;
7943 }
7944 arg1 = &temp1;
7945 if ((items < 2) || (items > 4)) {
7946 SWIG_croak("Usage: svn_fs_history_prev2(history,cross_copies,result_pool,scratch_pool);");
7947 }
7948 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_history_t, 0 | 0 );
7949 if (!SWIG_IsOK(res2)) {
7950 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_history_prev2" "', argument " "2"" of type '" "svn_fs_history_t *""'");
7951 }
7952 arg2 = (svn_fs_history_t *)(argp2);
7953 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val3);
7954 if (!SWIG_IsOK(ecode3)) {
7955 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_fs_history_prev2" "', argument " "3"" of type '" "svn_boolean_t""'");
7956 }
7957 arg3 = (svn_boolean_t)(val3);
7958 if (items > 2) {
7959
7960 }
7961 if (items > 3) {
7962
7963 }
7964 {
7965 result = (svn_error_t *)svn_fs_history_prev2(arg1,arg2,arg3,arg4,arg5);
7966
7967
7968
7969 }
7970 {
7971 if (result) {
7972 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
7973
7974 if (SvOK(exception_handler)) {
7975 SV *callback_result;
7976
7977 PUTBACK;
7978 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
7979 &callback_result, "S", result,
7980 SWIGTYPE_p_svn_error_t);
7981 SPAGAIN;
7982 } else {
7983 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
7984 argvi++;
7985 }
7986 }
7987 }
7988 {
7989 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_fs_history_t, 0); argvi++ ;
7990 }
7991
7992
7993
7994
7995
7996 XSRETURN(argvi);
7997 fail:
7998
7999
8000
8001
8002
8003 SWIG_croak_null();
8004 }
8005 }
8006
8007
XS(_wrap_svn_fs_history_prev)8008 XS(_wrap_svn_fs_history_prev) {
8009 {
8010 svn_fs_history_t **arg1 = (svn_fs_history_t **) 0 ;
8011 svn_fs_history_t *arg2 = (svn_fs_history_t *) 0 ;
8012 svn_boolean_t arg3 ;
8013 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
8014 apr_pool_t *_global_pool ;
8015 svn_fs_history_t *temp1 ;
8016 void *argp2 = 0 ;
8017 int res2 = 0 ;
8018 int val3 ;
8019 int ecode3 = 0 ;
8020 int argvi = 0;
8021 svn_error_t *result = 0 ;
8022 dXSARGS;
8023
8024 {
8025 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
8026 SPAGAIN;
8027 }
8028 arg1 = &temp1;
8029 if ((items < 2) || (items > 3)) {
8030 SWIG_croak("Usage: svn_fs_history_prev(history,cross_copies,pool);");
8031 }
8032 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_history_t, 0 | 0 );
8033 if (!SWIG_IsOK(res2)) {
8034 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_history_prev" "', argument " "2"" of type '" "svn_fs_history_t *""'");
8035 }
8036 arg2 = (svn_fs_history_t *)(argp2);
8037 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val3);
8038 if (!SWIG_IsOK(ecode3)) {
8039 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_fs_history_prev" "', argument " "3"" of type '" "svn_boolean_t""'");
8040 }
8041 arg3 = (svn_boolean_t)(val3);
8042 if (items > 2) {
8043
8044 }
8045 {
8046 result = (svn_error_t *)svn_fs_history_prev(arg1,arg2,arg3,arg4);
8047
8048
8049
8050 }
8051 {
8052 if (result) {
8053 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
8054
8055 if (SvOK(exception_handler)) {
8056 SV *callback_result;
8057
8058 PUTBACK;
8059 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
8060 &callback_result, "S", result,
8061 SWIGTYPE_p_svn_error_t);
8062 SPAGAIN;
8063 } else {
8064 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
8065 argvi++;
8066 }
8067 }
8068 }
8069 {
8070 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_fs_history_t, 0); argvi++ ;
8071 }
8072
8073
8074
8075
8076 XSRETURN(argvi);
8077 fail:
8078
8079
8080
8081
8082 SWIG_croak_null();
8083 }
8084 }
8085
8086
XS(_wrap_svn_fs_history_location)8087 XS(_wrap_svn_fs_history_location) {
8088 {
8089 char **arg1 = (char **) 0 ;
8090 svn_revnum_t *arg2 = (svn_revnum_t *) 0 ;
8091 svn_fs_history_t *arg3 = (svn_fs_history_t *) 0 ;
8092 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
8093 apr_pool_t *_global_pool ;
8094 char *temp1 ;
8095 svn_revnum_t temp2 ;
8096 int res2 = SWIG_TMPOBJ ;
8097 void *argp3 = 0 ;
8098 int res3 = 0 ;
8099 int argvi = 0;
8100 svn_error_t *result = 0 ;
8101 dXSARGS;
8102
8103 {
8104 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
8105 SPAGAIN;
8106 }
8107 arg1 = &temp1;
8108 arg2 = &temp2;
8109 if ((items < 1) || (items > 2)) {
8110 SWIG_croak("Usage: svn_fs_history_location(history,pool);");
8111 }
8112 res3 = SWIG_ConvertPtr(ST(0), &argp3,SWIGTYPE_p_svn_fs_history_t, 0 | 0 );
8113 if (!SWIG_IsOK(res3)) {
8114 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_history_location" "', argument " "3"" of type '" "svn_fs_history_t *""'");
8115 }
8116 arg3 = (svn_fs_history_t *)(argp3);
8117 if (items > 1) {
8118
8119 }
8120 {
8121 result = (svn_error_t *)svn_fs_history_location((char const **)arg1,arg2,arg3,arg4);
8122
8123
8124
8125 }
8126 {
8127 if (result) {
8128 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
8129
8130 if (SvOK(exception_handler)) {
8131 SV *callback_result;
8132
8133 PUTBACK;
8134 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
8135 &callback_result, "S", result,
8136 SWIGTYPE_p_svn_error_t);
8137 SPAGAIN;
8138 } else {
8139 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
8140 argvi++;
8141 }
8142 }
8143 }
8144 {
8145 if (*arg1 == NULL) {
8146 if (argvi >= items) EXTEND(sp,1); ST(argvi) = &PL_sv_undef; argvi++ ;
8147 } else {
8148 if (argvi >= items) EXTEND(sp,1); ST(argvi) = sv_2mortal(newSVpv(*arg1, 0)); argvi++ ;
8149 }
8150 }
8151 if (SWIG_IsTmpObj(res2)) {
8152 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_long SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ ;
8153 } else {
8154 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0) : 0;
8155 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags); argvi++ ;
8156 }
8157
8158
8159
8160
8161 XSRETURN(argvi);
8162 fail:
8163
8164
8165
8166
8167 SWIG_croak_null();
8168 }
8169 }
8170
8171
XS(_wrap_svn_fs_is_dir)8172 XS(_wrap_svn_fs_is_dir) {
8173 {
8174 svn_boolean_t *arg1 = (svn_boolean_t *) 0 ;
8175 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
8176 char *arg3 = (char *) 0 ;
8177 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
8178 apr_pool_t *_global_pool ;
8179 svn_boolean_t temp1 ;
8180 int res1 = SWIG_TMPOBJ ;
8181 void *argp2 = 0 ;
8182 int res2 = 0 ;
8183 int res3 ;
8184 char *buf3 = 0 ;
8185 int alloc3 = 0 ;
8186 int argvi = 0;
8187 svn_error_t *result = 0 ;
8188 dXSARGS;
8189
8190 {
8191 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
8192 SPAGAIN;
8193 }
8194 arg1 = &temp1;
8195 if ((items < 2) || (items > 3)) {
8196 SWIG_croak("Usage: svn_fs_is_dir(root,path,pool);");
8197 }
8198 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
8199 if (!SWIG_IsOK(res2)) {
8200 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_is_dir" "', argument " "2"" of type '" "svn_fs_root_t *""'");
8201 }
8202 arg2 = (svn_fs_root_t *)(argp2);
8203 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
8204 if (!SWIG_IsOK(res3)) {
8205 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_is_dir" "', argument " "3"" of type '" "char const *""'");
8206 }
8207 arg3 = (char *)(buf3);
8208 if (items > 2) {
8209
8210 }
8211 {
8212 result = (svn_error_t *)svn_fs_is_dir(arg1,arg2,(char const *)arg3,arg4);
8213
8214
8215
8216 }
8217 {
8218 if (result) {
8219 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
8220
8221 if (SvOK(exception_handler)) {
8222 SV *callback_result;
8223
8224 PUTBACK;
8225 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
8226 &callback_result, "S", result,
8227 SWIGTYPE_p_svn_error_t);
8228 SPAGAIN;
8229 } else {
8230 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
8231 argvi++;
8232 }
8233 }
8234 }
8235 if (SWIG_IsTmpObj(res1)) {
8236 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((*arg1)); argvi++ ;
8237 } else {
8238 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0) : 0;
8239 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags); argvi++ ;
8240 }
8241
8242
8243 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8244
8245 XSRETURN(argvi);
8246 fail:
8247
8248
8249 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8250
8251 SWIG_croak_null();
8252 }
8253 }
8254
8255
XS(_wrap_svn_fs_is_file)8256 XS(_wrap_svn_fs_is_file) {
8257 {
8258 svn_boolean_t *arg1 = (svn_boolean_t *) 0 ;
8259 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
8260 char *arg3 = (char *) 0 ;
8261 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
8262 apr_pool_t *_global_pool ;
8263 svn_boolean_t temp1 ;
8264 int res1 = SWIG_TMPOBJ ;
8265 void *argp2 = 0 ;
8266 int res2 = 0 ;
8267 int res3 ;
8268 char *buf3 = 0 ;
8269 int alloc3 = 0 ;
8270 int argvi = 0;
8271 svn_error_t *result = 0 ;
8272 dXSARGS;
8273
8274 {
8275 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
8276 SPAGAIN;
8277 }
8278 arg1 = &temp1;
8279 if ((items < 2) || (items > 3)) {
8280 SWIG_croak("Usage: svn_fs_is_file(root,path,pool);");
8281 }
8282 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
8283 if (!SWIG_IsOK(res2)) {
8284 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_is_file" "', argument " "2"" of type '" "svn_fs_root_t *""'");
8285 }
8286 arg2 = (svn_fs_root_t *)(argp2);
8287 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
8288 if (!SWIG_IsOK(res3)) {
8289 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_is_file" "', argument " "3"" of type '" "char const *""'");
8290 }
8291 arg3 = (char *)(buf3);
8292 if (items > 2) {
8293
8294 }
8295 {
8296 result = (svn_error_t *)svn_fs_is_file(arg1,arg2,(char const *)arg3,arg4);
8297
8298
8299
8300 }
8301 {
8302 if (result) {
8303 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
8304
8305 if (SvOK(exception_handler)) {
8306 SV *callback_result;
8307
8308 PUTBACK;
8309 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
8310 &callback_result, "S", result,
8311 SWIGTYPE_p_svn_error_t);
8312 SPAGAIN;
8313 } else {
8314 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
8315 argvi++;
8316 }
8317 }
8318 }
8319 if (SWIG_IsTmpObj(res1)) {
8320 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((*arg1)); argvi++ ;
8321 } else {
8322 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0) : 0;
8323 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags); argvi++ ;
8324 }
8325
8326
8327 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8328
8329 XSRETURN(argvi);
8330 fail:
8331
8332
8333 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8334
8335 SWIG_croak_null();
8336 }
8337 }
8338
8339
XS(_wrap_svn_fs_node_id)8340 XS(_wrap_svn_fs_node_id) {
8341 {
8342 svn_fs_id_t **arg1 = (svn_fs_id_t **) 0 ;
8343 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
8344 char *arg3 = (char *) 0 ;
8345 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
8346 apr_pool_t *_global_pool ;
8347 svn_fs_id_t *temp1 ;
8348 void *argp2 = 0 ;
8349 int res2 = 0 ;
8350 int res3 ;
8351 char *buf3 = 0 ;
8352 int alloc3 = 0 ;
8353 int argvi = 0;
8354 svn_error_t *result = 0 ;
8355 dXSARGS;
8356
8357 {
8358 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
8359 SPAGAIN;
8360 }
8361 arg1 = &temp1;
8362 if ((items < 2) || (items > 3)) {
8363 SWIG_croak("Usage: svn_fs_node_id(root,path,pool);");
8364 }
8365 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
8366 if (!SWIG_IsOK(res2)) {
8367 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_node_id" "', argument " "2"" of type '" "svn_fs_root_t *""'");
8368 }
8369 arg2 = (svn_fs_root_t *)(argp2);
8370 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
8371 if (!SWIG_IsOK(res3)) {
8372 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_node_id" "', argument " "3"" of type '" "char const *""'");
8373 }
8374 arg3 = (char *)(buf3);
8375 if (items > 2) {
8376
8377 }
8378 {
8379 result = (svn_error_t *)svn_fs_node_id((struct svn_fs_id_t const **)arg1,arg2,(char const *)arg3,arg4);
8380
8381
8382
8383 }
8384 {
8385 if (result) {
8386 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
8387
8388 if (SvOK(exception_handler)) {
8389 SV *callback_result;
8390
8391 PUTBACK;
8392 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
8393 &callback_result, "S", result,
8394 SWIGTYPE_p_svn_error_t);
8395 SPAGAIN;
8396 } else {
8397 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
8398 argvi++;
8399 }
8400 }
8401 }
8402 {
8403 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_fs_id_t, 0); argvi++ ;
8404 }
8405
8406
8407 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8408
8409 XSRETURN(argvi);
8410 fail:
8411
8412
8413 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8414
8415 SWIG_croak_null();
8416 }
8417 }
8418
8419
XS(_wrap_svn_fs_node_relation)8420 XS(_wrap_svn_fs_node_relation) {
8421 {
8422 svn_fs_node_relation_t *arg1 = (svn_fs_node_relation_t *) 0 ;
8423 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
8424 char *arg3 = (char *) 0 ;
8425 svn_fs_root_t *arg4 = (svn_fs_root_t *) 0 ;
8426 char *arg5 = (char *) 0 ;
8427 apr_pool_t *arg6 = (apr_pool_t *) 0 ;
8428 apr_pool_t *_global_pool ;
8429 void *argp1 = 0 ;
8430 int res1 = 0 ;
8431 void *argp2 = 0 ;
8432 int res2 = 0 ;
8433 int res3 ;
8434 char *buf3 = 0 ;
8435 int alloc3 = 0 ;
8436 void *argp4 = 0 ;
8437 int res4 = 0 ;
8438 int res5 ;
8439 char *buf5 = 0 ;
8440 int alloc5 = 0 ;
8441 int argvi = 0;
8442 svn_error_t *result = 0 ;
8443 dXSARGS;
8444
8445 {
8446 _global_pool = arg6 = svn_swig_pl_make_pool (ST(items-1));
8447 SPAGAIN;
8448 }
8449 if ((items < 5) || (items > 6)) {
8450 SWIG_croak("Usage: svn_fs_node_relation(relation,root_a,path_a,root_b,path_b,scratch_pool);");
8451 }
8452 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_node_relation_t, 0 | 0 );
8453 if (!SWIG_IsOK(res1)) {
8454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_node_relation" "', argument " "1"" of type '" "svn_fs_node_relation_t *""'");
8455 }
8456 arg1 = (svn_fs_node_relation_t *)(argp1);
8457 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
8458 if (!SWIG_IsOK(res2)) {
8459 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_node_relation" "', argument " "2"" of type '" "svn_fs_root_t *""'");
8460 }
8461 arg2 = (svn_fs_root_t *)(argp2);
8462 res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
8463 if (!SWIG_IsOK(res3)) {
8464 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_node_relation" "', argument " "3"" of type '" "char const *""'");
8465 }
8466 arg3 = (char *)(buf3);
8467 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
8468 if (!SWIG_IsOK(res4)) {
8469 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "svn_fs_node_relation" "', argument " "4"" of type '" "svn_fs_root_t *""'");
8470 }
8471 arg4 = (svn_fs_root_t *)(argp4);
8472 res5 = SWIG_AsCharPtrAndSize(ST(4), &buf5, NULL, &alloc5);
8473 if (!SWIG_IsOK(res5)) {
8474 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "svn_fs_node_relation" "', argument " "5"" of type '" "char const *""'");
8475 }
8476 arg5 = (char *)(buf5);
8477 if (items > 5) {
8478
8479 }
8480 {
8481 result = (svn_error_t *)svn_fs_node_relation(arg1,arg2,(char const *)arg3,arg4,(char const *)arg5,arg6);
8482
8483
8484
8485 }
8486 {
8487 if (result) {
8488 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
8489
8490 if (SvOK(exception_handler)) {
8491 SV *callback_result;
8492
8493 PUTBACK;
8494 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
8495 &callback_result, "S", result,
8496 SWIGTYPE_p_svn_error_t);
8497 SPAGAIN;
8498 } else {
8499 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
8500 argvi++;
8501 }
8502 }
8503 }
8504
8505
8506 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8507
8508 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
8509
8510 XSRETURN(argvi);
8511 fail:
8512
8513
8514 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8515
8516 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
8517
8518 SWIG_croak_null();
8519 }
8520 }
8521
8522
XS(_wrap_svn_fs_node_created_rev)8523 XS(_wrap_svn_fs_node_created_rev) {
8524 {
8525 svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
8526 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
8527 char *arg3 = (char *) 0 ;
8528 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
8529 apr_pool_t *_global_pool ;
8530 svn_revnum_t temp1 ;
8531 int res1 = SWIG_TMPOBJ ;
8532 void *argp2 = 0 ;
8533 int res2 = 0 ;
8534 int res3 ;
8535 char *buf3 = 0 ;
8536 int alloc3 = 0 ;
8537 int argvi = 0;
8538 svn_error_t *result = 0 ;
8539 dXSARGS;
8540
8541 {
8542 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
8543 SPAGAIN;
8544 }
8545 arg1 = &temp1;
8546 if ((items < 2) || (items > 3)) {
8547 SWIG_croak("Usage: svn_fs_node_created_rev(root,path,pool);");
8548 }
8549 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
8550 if (!SWIG_IsOK(res2)) {
8551 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_node_created_rev" "', argument " "2"" of type '" "svn_fs_root_t *""'");
8552 }
8553 arg2 = (svn_fs_root_t *)(argp2);
8554 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
8555 if (!SWIG_IsOK(res3)) {
8556 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_node_created_rev" "', argument " "3"" of type '" "char const *""'");
8557 }
8558 arg3 = (char *)(buf3);
8559 if (items > 2) {
8560
8561 }
8562 {
8563 result = (svn_error_t *)svn_fs_node_created_rev(arg1,arg2,(char const *)arg3,arg4);
8564
8565
8566
8567 }
8568 {
8569 if (result) {
8570 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
8571
8572 if (SvOK(exception_handler)) {
8573 SV *callback_result;
8574
8575 PUTBACK;
8576 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
8577 &callback_result, "S", result,
8578 SWIGTYPE_p_svn_error_t);
8579 SPAGAIN;
8580 } else {
8581 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
8582 argvi++;
8583 }
8584 }
8585 }
8586 if (SWIG_IsTmpObj(res1)) {
8587 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_long SWIG_PERL_CALL_ARGS_1((*arg1)); argvi++ ;
8588 } else {
8589 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0) : 0;
8590 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags); argvi++ ;
8591 }
8592
8593
8594 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8595
8596 XSRETURN(argvi);
8597 fail:
8598
8599
8600 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8601
8602 SWIG_croak_null();
8603 }
8604 }
8605
8606
XS(_wrap_svn_fs_node_origin_rev)8607 XS(_wrap_svn_fs_node_origin_rev) {
8608 {
8609 svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
8610 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
8611 char *arg3 = (char *) 0 ;
8612 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
8613 apr_pool_t *_global_pool ;
8614 svn_revnum_t temp1 ;
8615 int res1 = SWIG_TMPOBJ ;
8616 void *argp2 = 0 ;
8617 int res2 = 0 ;
8618 int res3 ;
8619 char *buf3 = 0 ;
8620 int alloc3 = 0 ;
8621 int argvi = 0;
8622 svn_error_t *result = 0 ;
8623 dXSARGS;
8624
8625 {
8626 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
8627 SPAGAIN;
8628 }
8629 arg1 = &temp1;
8630 if ((items < 2) || (items > 3)) {
8631 SWIG_croak("Usage: svn_fs_node_origin_rev(root,path,pool);");
8632 }
8633 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
8634 if (!SWIG_IsOK(res2)) {
8635 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_node_origin_rev" "', argument " "2"" of type '" "svn_fs_root_t *""'");
8636 }
8637 arg2 = (svn_fs_root_t *)(argp2);
8638 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
8639 if (!SWIG_IsOK(res3)) {
8640 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_node_origin_rev" "', argument " "3"" of type '" "char const *""'");
8641 }
8642 arg3 = (char *)(buf3);
8643 if (items > 2) {
8644
8645 }
8646 {
8647 result = (svn_error_t *)svn_fs_node_origin_rev(arg1,arg2,(char const *)arg3,arg4);
8648
8649
8650
8651 }
8652 {
8653 if (result) {
8654 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
8655
8656 if (SvOK(exception_handler)) {
8657 SV *callback_result;
8658
8659 PUTBACK;
8660 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
8661 &callback_result, "S", result,
8662 SWIGTYPE_p_svn_error_t);
8663 SPAGAIN;
8664 } else {
8665 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
8666 argvi++;
8667 }
8668 }
8669 }
8670 if (SWIG_IsTmpObj(res1)) {
8671 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_long SWIG_PERL_CALL_ARGS_1((*arg1)); argvi++ ;
8672 } else {
8673 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0) : 0;
8674 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags); argvi++ ;
8675 }
8676
8677
8678 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8679
8680 XSRETURN(argvi);
8681 fail:
8682
8683
8684 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8685
8686 SWIG_croak_null();
8687 }
8688 }
8689
8690
XS(_wrap_svn_fs_node_created_path)8691 XS(_wrap_svn_fs_node_created_path) {
8692 {
8693 char **arg1 = (char **) 0 ;
8694 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
8695 char *arg3 = (char *) 0 ;
8696 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
8697 apr_pool_t *_global_pool ;
8698 char *temp1 ;
8699 void *argp2 = 0 ;
8700 int res2 = 0 ;
8701 int res3 ;
8702 char *buf3 = 0 ;
8703 int alloc3 = 0 ;
8704 int argvi = 0;
8705 svn_error_t *result = 0 ;
8706 dXSARGS;
8707
8708 {
8709 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
8710 SPAGAIN;
8711 }
8712 arg1 = &temp1;
8713 if ((items < 2) || (items > 3)) {
8714 SWIG_croak("Usage: svn_fs_node_created_path(root,path,pool);");
8715 }
8716 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
8717 if (!SWIG_IsOK(res2)) {
8718 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_node_created_path" "', argument " "2"" of type '" "svn_fs_root_t *""'");
8719 }
8720 arg2 = (svn_fs_root_t *)(argp2);
8721 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
8722 if (!SWIG_IsOK(res3)) {
8723 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_node_created_path" "', argument " "3"" of type '" "char const *""'");
8724 }
8725 arg3 = (char *)(buf3);
8726 if (items > 2) {
8727
8728 }
8729 {
8730 result = (svn_error_t *)svn_fs_node_created_path((char const **)arg1,arg2,(char const *)arg3,arg4);
8731
8732
8733
8734 }
8735 {
8736 if (result) {
8737 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
8738
8739 if (SvOK(exception_handler)) {
8740 SV *callback_result;
8741
8742 PUTBACK;
8743 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
8744 &callback_result, "S", result,
8745 SWIGTYPE_p_svn_error_t);
8746 SPAGAIN;
8747 } else {
8748 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
8749 argvi++;
8750 }
8751 }
8752 }
8753 {
8754 if (*arg1 == NULL) {
8755 if (argvi >= items) EXTEND(sp,1); ST(argvi) = &PL_sv_undef; argvi++ ;
8756 } else {
8757 if (argvi >= items) EXTEND(sp,1); ST(argvi) = sv_2mortal(newSVpv(*arg1, 0)); argvi++ ;
8758 }
8759 }
8760
8761
8762 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8763
8764 XSRETURN(argvi);
8765 fail:
8766
8767
8768 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8769
8770 SWIG_croak_null();
8771 }
8772 }
8773
8774
XS(_wrap_svn_fs_node_prop)8775 XS(_wrap_svn_fs_node_prop) {
8776 {
8777 svn_string_t **arg1 = (svn_string_t **) 0 ;
8778 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
8779 char *arg3 = (char *) 0 ;
8780 char *arg4 = (char *) 0 ;
8781 apr_pool_t *arg5 = (apr_pool_t *) 0 ;
8782 apr_pool_t *_global_pool ;
8783 svn_string_t *temp1 ;
8784 void *argp2 = 0 ;
8785 int res2 = 0 ;
8786 int res3 ;
8787 char *buf3 = 0 ;
8788 int alloc3 = 0 ;
8789 int res4 ;
8790 char *buf4 = 0 ;
8791 int alloc4 = 0 ;
8792 int argvi = 0;
8793 svn_error_t *result = 0 ;
8794 dXSARGS;
8795
8796 {
8797 _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
8798 SPAGAIN;
8799 }
8800 arg1 = &temp1;
8801 if ((items < 3) || (items > 4)) {
8802 SWIG_croak("Usage: svn_fs_node_prop(root,path,propname,pool);");
8803 }
8804 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
8805 if (!SWIG_IsOK(res2)) {
8806 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_node_prop" "', argument " "2"" of type '" "svn_fs_root_t *""'");
8807 }
8808 arg2 = (svn_fs_root_t *)(argp2);
8809 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
8810 if (!SWIG_IsOK(res3)) {
8811 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_node_prop" "', argument " "3"" of type '" "char const *""'");
8812 }
8813 arg3 = (char *)(buf3);
8814 res4 = SWIG_AsCharPtrAndSize(ST(2), &buf4, NULL, &alloc4);
8815 if (!SWIG_IsOK(res4)) {
8816 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "svn_fs_node_prop" "', argument " "4"" of type '" "char const *""'");
8817 }
8818 arg4 = (char *)(buf4);
8819 if (items > 3) {
8820
8821 }
8822 {
8823 result = (svn_error_t *)svn_fs_node_prop(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5);
8824
8825
8826
8827 }
8828 {
8829 if (result) {
8830 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
8831
8832 if (SvOK(exception_handler)) {
8833 SV *callback_result;
8834
8835 PUTBACK;
8836 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
8837 &callback_result, "S", result,
8838 SWIGTYPE_p_svn_error_t);
8839 SPAGAIN;
8840 } else {
8841 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
8842 argvi++;
8843 }
8844 }
8845 }
8846 {
8847 if (*arg1) {
8848 if (argvi >= items) EXTEND(sp,1); ST(argvi) = sv_2mortal(newSVpvn((*arg1)->data, (*arg1)->len)); argvi++ ;
8849 } else {
8850 if (argvi >= items) EXTEND(sp,1); ST(argvi) = &PL_sv_undef; argvi++ ;
8851 }
8852 }
8853
8854
8855 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8856 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
8857
8858 XSRETURN(argvi);
8859 fail:
8860
8861
8862 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8863 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
8864
8865 SWIG_croak_null();
8866 }
8867 }
8868
8869
XS(_wrap_svn_fs_node_proplist)8870 XS(_wrap_svn_fs_node_proplist) {
8871 {
8872 apr_hash_t **arg1 = (apr_hash_t **) 0 ;
8873 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
8874 char *arg3 = (char *) 0 ;
8875 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
8876 apr_pool_t *_global_pool ;
8877 apr_hash_t *temp1 ;
8878 void *argp2 = 0 ;
8879 int res2 = 0 ;
8880 int res3 ;
8881 char *buf3 = 0 ;
8882 int alloc3 = 0 ;
8883 int argvi = 0;
8884 svn_error_t *result = 0 ;
8885 dXSARGS;
8886
8887 {
8888 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
8889 SPAGAIN;
8890 }
8891 arg1 = &temp1;
8892 if ((items < 2) || (items > 3)) {
8893 SWIG_croak("Usage: svn_fs_node_proplist(root,path,pool);");
8894 }
8895 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
8896 if (!SWIG_IsOK(res2)) {
8897 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_node_proplist" "', argument " "2"" of type '" "svn_fs_root_t *""'");
8898 }
8899 arg2 = (svn_fs_root_t *)(argp2);
8900 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
8901 if (!SWIG_IsOK(res3)) {
8902 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_node_proplist" "', argument " "3"" of type '" "char const *""'");
8903 }
8904 arg3 = (char *)(buf3);
8905 if (items > 2) {
8906
8907 }
8908 {
8909 result = (svn_error_t *)svn_fs_node_proplist(arg1,arg2,(char const *)arg3,arg4);
8910
8911
8912
8913 }
8914 {
8915 if (result) {
8916 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
8917
8918 if (SvOK(exception_handler)) {
8919 SV *callback_result;
8920
8921 PUTBACK;
8922 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
8923 &callback_result, "S", result,
8924 SWIGTYPE_p_svn_error_t);
8925 SPAGAIN;
8926 } else {
8927 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
8928 argvi++;
8929 }
8930 }
8931 }
8932 {
8933 if (argvi >= items) EXTEND(sp,1); ST(argvi) = svn_swig_pl_prophash_to_hash(*arg1); argvi++ ;
8934 }
8935
8936
8937 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8938
8939 XSRETURN(argvi);
8940 fail:
8941
8942
8943 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8944
8945 SWIG_croak_null();
8946 }
8947 }
8948
8949
XS(_wrap_svn_fs_node_has_props)8950 XS(_wrap_svn_fs_node_has_props) {
8951 {
8952 svn_boolean_t *arg1 = (svn_boolean_t *) 0 ;
8953 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
8954 char *arg3 = (char *) 0 ;
8955 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
8956 apr_pool_t *_global_pool ;
8957 svn_boolean_t temp1 ;
8958 int res1 = SWIG_TMPOBJ ;
8959 void *argp2 = 0 ;
8960 int res2 = 0 ;
8961 int res3 ;
8962 char *buf3 = 0 ;
8963 int alloc3 = 0 ;
8964 int argvi = 0;
8965 svn_error_t *result = 0 ;
8966 dXSARGS;
8967
8968 {
8969 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
8970 SPAGAIN;
8971 }
8972 arg1 = &temp1;
8973 if ((items < 2) || (items > 3)) {
8974 SWIG_croak("Usage: svn_fs_node_has_props(root,path,scratch_pool);");
8975 }
8976 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
8977 if (!SWIG_IsOK(res2)) {
8978 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_node_has_props" "', argument " "2"" of type '" "svn_fs_root_t *""'");
8979 }
8980 arg2 = (svn_fs_root_t *)(argp2);
8981 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
8982 if (!SWIG_IsOK(res3)) {
8983 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_node_has_props" "', argument " "3"" of type '" "char const *""'");
8984 }
8985 arg3 = (char *)(buf3);
8986 if (items > 2) {
8987
8988 }
8989 {
8990 result = (svn_error_t *)svn_fs_node_has_props(arg1,arg2,(char const *)arg3,arg4);
8991
8992
8993
8994 }
8995 {
8996 if (result) {
8997 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
8998
8999 if (SvOK(exception_handler)) {
9000 SV *callback_result;
9001
9002 PUTBACK;
9003 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
9004 &callback_result, "S", result,
9005 SWIGTYPE_p_svn_error_t);
9006 SPAGAIN;
9007 } else {
9008 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
9009 argvi++;
9010 }
9011 }
9012 }
9013 if (SWIG_IsTmpObj(res1)) {
9014 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((*arg1)); argvi++ ;
9015 } else {
9016 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0) : 0;
9017 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags); argvi++ ;
9018 }
9019
9020
9021 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
9022
9023 XSRETURN(argvi);
9024 fail:
9025
9026
9027 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
9028
9029 SWIG_croak_null();
9030 }
9031 }
9032
9033
XS(_wrap_svn_fs_change_node_prop)9034 XS(_wrap_svn_fs_change_node_prop) {
9035 {
9036 svn_fs_root_t *arg1 = (svn_fs_root_t *) 0 ;
9037 char *arg2 = (char *) 0 ;
9038 char *arg3 = (char *) 0 ;
9039 svn_string_t *arg4 = (svn_string_t *) 0 ;
9040 apr_pool_t *arg5 = (apr_pool_t *) 0 ;
9041 apr_pool_t *_global_pool ;
9042 void *argp1 = 0 ;
9043 int res1 = 0 ;
9044 int res2 ;
9045 char *buf2 = 0 ;
9046 int alloc2 = 0 ;
9047 int res3 ;
9048 char *buf3 = 0 ;
9049 int alloc3 = 0 ;
9050 svn_string_t value4 ;
9051 int argvi = 0;
9052 svn_error_t *result = 0 ;
9053 dXSARGS;
9054
9055 {
9056 _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
9057 SPAGAIN;
9058 }
9059 if ((items < 4) || (items > 5)) {
9060 SWIG_croak("Usage: svn_fs_change_node_prop(root,path,name,value,pool);");
9061 }
9062 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
9063 if (!SWIG_IsOK(res1)) {
9064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_change_node_prop" "', argument " "1"" of type '" "svn_fs_root_t *""'");
9065 }
9066 arg1 = (svn_fs_root_t *)(argp1);
9067 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
9068 if (!SWIG_IsOK(res2)) {
9069 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_change_node_prop" "', argument " "2"" of type '" "char const *""'");
9070 }
9071 arg2 = (char *)(buf2);
9072 res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
9073 if (!SWIG_IsOK(res3)) {
9074 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_change_node_prop" "', argument " "3"" of type '" "char const *""'");
9075 }
9076 arg3 = (char *)(buf3);
9077 {
9078 if (SvOK(ST(3))) {
9079 value4.data = SvPV(ST(3), value4.len);
9080 arg4 = &value4;
9081 }
9082 else {
9083 arg4 = NULL;
9084 }
9085 }
9086 if (items > 4) {
9087
9088 }
9089 {
9090 result = (svn_error_t *)svn_fs_change_node_prop(arg1,(char const *)arg2,(char const *)arg3,(struct svn_string_t const *)arg4,arg5);
9091
9092
9093
9094 }
9095 {
9096 if (result) {
9097 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
9098
9099 if (SvOK(exception_handler)) {
9100 SV *callback_result;
9101
9102 PUTBACK;
9103 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
9104 &callback_result, "S", result,
9105 SWIGTYPE_p_svn_error_t);
9106 SPAGAIN;
9107 } else {
9108 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
9109 argvi++;
9110 }
9111 }
9112 }
9113
9114 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9115 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
9116
9117
9118 XSRETURN(argvi);
9119 fail:
9120
9121 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9122 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
9123
9124
9125 SWIG_croak_null();
9126 }
9127 }
9128
9129
XS(_wrap_svn_fs_props_different)9130 XS(_wrap_svn_fs_props_different) {
9131 {
9132 svn_boolean_t *arg1 = (svn_boolean_t *) 0 ;
9133 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
9134 char *arg3 = (char *) 0 ;
9135 svn_fs_root_t *arg4 = (svn_fs_root_t *) 0 ;
9136 char *arg5 = (char *) 0 ;
9137 apr_pool_t *arg6 = (apr_pool_t *) 0 ;
9138 apr_pool_t *_global_pool ;
9139 svn_boolean_t temp1 ;
9140 int res1 = SWIG_TMPOBJ ;
9141 void *argp2 = 0 ;
9142 int res2 = 0 ;
9143 int res3 ;
9144 char *buf3 = 0 ;
9145 int alloc3 = 0 ;
9146 void *argp4 = 0 ;
9147 int res4 = 0 ;
9148 int res5 ;
9149 char *buf5 = 0 ;
9150 int alloc5 = 0 ;
9151 int argvi = 0;
9152 svn_error_t *result = 0 ;
9153 dXSARGS;
9154
9155 {
9156 _global_pool = arg6 = svn_swig_pl_make_pool (ST(items-1));
9157 SPAGAIN;
9158 }
9159 arg1 = &temp1;
9160 if ((items < 4) || (items > 5)) {
9161 SWIG_croak("Usage: svn_fs_props_different(root1,path1,root2,path2,scratch_pool);");
9162 }
9163 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
9164 if (!SWIG_IsOK(res2)) {
9165 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_props_different" "', argument " "2"" of type '" "svn_fs_root_t *""'");
9166 }
9167 arg2 = (svn_fs_root_t *)(argp2);
9168 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
9169 if (!SWIG_IsOK(res3)) {
9170 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_props_different" "', argument " "3"" of type '" "char const *""'");
9171 }
9172 arg3 = (char *)(buf3);
9173 res4 = SWIG_ConvertPtr(ST(2), &argp4,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
9174 if (!SWIG_IsOK(res4)) {
9175 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "svn_fs_props_different" "', argument " "4"" of type '" "svn_fs_root_t *""'");
9176 }
9177 arg4 = (svn_fs_root_t *)(argp4);
9178 res5 = SWIG_AsCharPtrAndSize(ST(3), &buf5, NULL, &alloc5);
9179 if (!SWIG_IsOK(res5)) {
9180 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "svn_fs_props_different" "', argument " "5"" of type '" "char const *""'");
9181 }
9182 arg5 = (char *)(buf5);
9183 if (items > 4) {
9184
9185 }
9186 {
9187 result = (svn_error_t *)svn_fs_props_different(arg1,arg2,(char const *)arg3,arg4,(char const *)arg5,arg6);
9188
9189
9190
9191 }
9192 {
9193 if (result) {
9194 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
9195
9196 if (SvOK(exception_handler)) {
9197 SV *callback_result;
9198
9199 PUTBACK;
9200 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
9201 &callback_result, "S", result,
9202 SWIGTYPE_p_svn_error_t);
9203 SPAGAIN;
9204 } else {
9205 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
9206 argvi++;
9207 }
9208 }
9209 }
9210 if (SWIG_IsTmpObj(res1)) {
9211 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((*arg1)); argvi++ ;
9212 } else {
9213 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0) : 0;
9214 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags); argvi++ ;
9215 }
9216
9217
9218 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
9219
9220 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
9221
9222 XSRETURN(argvi);
9223 fail:
9224
9225
9226 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
9227
9228 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
9229
9230 SWIG_croak_null();
9231 }
9232 }
9233
9234
XS(_wrap_svn_fs_props_changed)9235 XS(_wrap_svn_fs_props_changed) {
9236 {
9237 svn_boolean_t *arg1 = (svn_boolean_t *) 0 ;
9238 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
9239 char *arg3 = (char *) 0 ;
9240 svn_fs_root_t *arg4 = (svn_fs_root_t *) 0 ;
9241 char *arg5 = (char *) 0 ;
9242 apr_pool_t *arg6 = (apr_pool_t *) 0 ;
9243 apr_pool_t *_global_pool ;
9244 svn_boolean_t temp1 ;
9245 int res1 = SWIG_TMPOBJ ;
9246 void *argp2 = 0 ;
9247 int res2 = 0 ;
9248 int res3 ;
9249 char *buf3 = 0 ;
9250 int alloc3 = 0 ;
9251 void *argp4 = 0 ;
9252 int res4 = 0 ;
9253 int res5 ;
9254 char *buf5 = 0 ;
9255 int alloc5 = 0 ;
9256 int argvi = 0;
9257 svn_error_t *result = 0 ;
9258 dXSARGS;
9259
9260 {
9261 _global_pool = arg6 = svn_swig_pl_make_pool (ST(items-1));
9262 SPAGAIN;
9263 }
9264 arg1 = &temp1;
9265 if ((items < 4) || (items > 5)) {
9266 SWIG_croak("Usage: svn_fs_props_changed(root1,path1,root2,path2,pool);");
9267 }
9268 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
9269 if (!SWIG_IsOK(res2)) {
9270 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_props_changed" "', argument " "2"" of type '" "svn_fs_root_t *""'");
9271 }
9272 arg2 = (svn_fs_root_t *)(argp2);
9273 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
9274 if (!SWIG_IsOK(res3)) {
9275 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_props_changed" "', argument " "3"" of type '" "char const *""'");
9276 }
9277 arg3 = (char *)(buf3);
9278 res4 = SWIG_ConvertPtr(ST(2), &argp4,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
9279 if (!SWIG_IsOK(res4)) {
9280 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "svn_fs_props_changed" "', argument " "4"" of type '" "svn_fs_root_t *""'");
9281 }
9282 arg4 = (svn_fs_root_t *)(argp4);
9283 res5 = SWIG_AsCharPtrAndSize(ST(3), &buf5, NULL, &alloc5);
9284 if (!SWIG_IsOK(res5)) {
9285 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "svn_fs_props_changed" "', argument " "5"" of type '" "char const *""'");
9286 }
9287 arg5 = (char *)(buf5);
9288 if (items > 4) {
9289
9290 }
9291 {
9292 result = (svn_error_t *)svn_fs_props_changed(arg1,arg2,(char const *)arg3,arg4,(char const *)arg5,arg6);
9293
9294
9295
9296 }
9297 {
9298 if (result) {
9299 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
9300
9301 if (SvOK(exception_handler)) {
9302 SV *callback_result;
9303
9304 PUTBACK;
9305 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
9306 &callback_result, "S", result,
9307 SWIGTYPE_p_svn_error_t);
9308 SPAGAIN;
9309 } else {
9310 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
9311 argvi++;
9312 }
9313 }
9314 }
9315 if (SWIG_IsTmpObj(res1)) {
9316 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((*arg1)); argvi++ ;
9317 } else {
9318 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0) : 0;
9319 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags); argvi++ ;
9320 }
9321
9322
9323 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
9324
9325 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
9326
9327 XSRETURN(argvi);
9328 fail:
9329
9330
9331 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
9332
9333 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
9334
9335 SWIG_croak_null();
9336 }
9337 }
9338
9339
XS(_wrap_svn_fs_copied_from)9340 XS(_wrap_svn_fs_copied_from) {
9341 {
9342 svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
9343 char **arg2 = (char **) 0 ;
9344 svn_fs_root_t *arg3 = (svn_fs_root_t *) 0 ;
9345 char *arg4 = (char *) 0 ;
9346 apr_pool_t *arg5 = (apr_pool_t *) 0 ;
9347 apr_pool_t *_global_pool ;
9348 svn_revnum_t temp1 ;
9349 int res1 = SWIG_TMPOBJ ;
9350 char *temp2 ;
9351 void *argp3 = 0 ;
9352 int res3 = 0 ;
9353 int res4 ;
9354 char *buf4 = 0 ;
9355 int alloc4 = 0 ;
9356 int argvi = 0;
9357 svn_error_t *result = 0 ;
9358 dXSARGS;
9359
9360 {
9361 _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
9362 SPAGAIN;
9363 }
9364 arg1 = &temp1;
9365 arg2 = &temp2;
9366 if ((items < 2) || (items > 3)) {
9367 SWIG_croak("Usage: svn_fs_copied_from(root,path,pool);");
9368 }
9369 res3 = SWIG_ConvertPtr(ST(0), &argp3,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
9370 if (!SWIG_IsOK(res3)) {
9371 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_copied_from" "', argument " "3"" of type '" "svn_fs_root_t *""'");
9372 }
9373 arg3 = (svn_fs_root_t *)(argp3);
9374 res4 = SWIG_AsCharPtrAndSize(ST(1), &buf4, NULL, &alloc4);
9375 if (!SWIG_IsOK(res4)) {
9376 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "svn_fs_copied_from" "', argument " "4"" of type '" "char const *""'");
9377 }
9378 arg4 = (char *)(buf4);
9379 if (items > 2) {
9380
9381 }
9382 {
9383 result = (svn_error_t *)svn_fs_copied_from(arg1,(char const **)arg2,arg3,(char const *)arg4,arg5);
9384
9385
9386
9387 }
9388 {
9389 if (result) {
9390 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
9391
9392 if (SvOK(exception_handler)) {
9393 SV *callback_result;
9394
9395 PUTBACK;
9396 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
9397 &callback_result, "S", result,
9398 SWIGTYPE_p_svn_error_t);
9399 SPAGAIN;
9400 } else {
9401 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
9402 argvi++;
9403 }
9404 }
9405 }
9406 if (SWIG_IsTmpObj(res1)) {
9407 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_long SWIG_PERL_CALL_ARGS_1((*arg1)); argvi++ ;
9408 } else {
9409 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0) : 0;
9410 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags); argvi++ ;
9411 }
9412 {
9413 if (*arg2 == NULL) {
9414 if (argvi >= items) EXTEND(sp,1); ST(argvi) = &PL_sv_undef; argvi++ ;
9415 } else {
9416 if (argvi >= items) EXTEND(sp,1); ST(argvi) = sv_2mortal(newSVpv(*arg2, 0)); argvi++ ;
9417 }
9418 }
9419
9420
9421
9422 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
9423
9424 XSRETURN(argvi);
9425 fail:
9426
9427
9428
9429 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
9430
9431 SWIG_croak_null();
9432 }
9433 }
9434
9435
XS(_wrap_svn_fs_closest_copy)9436 XS(_wrap_svn_fs_closest_copy) {
9437 {
9438 svn_fs_root_t **arg1 = (svn_fs_root_t **) 0 ;
9439 char **arg2 = (char **) 0 ;
9440 svn_fs_root_t *arg3 = (svn_fs_root_t *) 0 ;
9441 char *arg4 = (char *) 0 ;
9442 apr_pool_t *arg5 = (apr_pool_t *) 0 ;
9443 apr_pool_t *_global_pool ;
9444 svn_fs_root_t *temp1 ;
9445 char *temp2 ;
9446 void *argp3 = 0 ;
9447 int res3 = 0 ;
9448 int res4 ;
9449 char *buf4 = 0 ;
9450 int alloc4 = 0 ;
9451 int argvi = 0;
9452 svn_error_t *result = 0 ;
9453 dXSARGS;
9454
9455 {
9456 _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
9457 SPAGAIN;
9458 }
9459 arg1 = &temp1;
9460 arg2 = &temp2;
9461 if ((items < 2) || (items > 3)) {
9462 SWIG_croak("Usage: svn_fs_closest_copy(root,path,pool);");
9463 }
9464 res3 = SWIG_ConvertPtr(ST(0), &argp3,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
9465 if (!SWIG_IsOK(res3)) {
9466 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_closest_copy" "', argument " "3"" of type '" "svn_fs_root_t *""'");
9467 }
9468 arg3 = (svn_fs_root_t *)(argp3);
9469 res4 = SWIG_AsCharPtrAndSize(ST(1), &buf4, NULL, &alloc4);
9470 if (!SWIG_IsOK(res4)) {
9471 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "svn_fs_closest_copy" "', argument " "4"" of type '" "char const *""'");
9472 }
9473 arg4 = (char *)(buf4);
9474 if (items > 2) {
9475
9476 }
9477 {
9478 result = (svn_error_t *)svn_fs_closest_copy(arg1,(char const **)arg2,arg3,(char const *)arg4,arg5);
9479
9480
9481
9482 }
9483 {
9484 if (result) {
9485 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
9486
9487 if (SvOK(exception_handler)) {
9488 SV *callback_result;
9489
9490 PUTBACK;
9491 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
9492 &callback_result, "S", result,
9493 SWIGTYPE_p_svn_error_t);
9494 SPAGAIN;
9495 } else {
9496 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
9497 argvi++;
9498 }
9499 }
9500 }
9501 {
9502 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_fs_root_t, 0); argvi++ ;
9503 }
9504 {
9505 if (*arg2 == NULL) {
9506 if (argvi >= items) EXTEND(sp,1); ST(argvi) = &PL_sv_undef; argvi++ ;
9507 } else {
9508 if (argvi >= items) EXTEND(sp,1); ST(argvi) = sv_2mortal(newSVpv(*arg2, 0)); argvi++ ;
9509 }
9510 }
9511
9512
9513
9514 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
9515
9516 XSRETURN(argvi);
9517 fail:
9518
9519
9520
9521 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
9522
9523 SWIG_croak_null();
9524 }
9525 }
9526
9527
XS(_wrap_svn_fs_get_mergeinfo3)9528 XS(_wrap_svn_fs_get_mergeinfo3) {
9529 {
9530 svn_fs_root_t *arg1 = (svn_fs_root_t *) 0 ;
9531 apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
9532 svn_mergeinfo_inheritance_t arg3 ;
9533 svn_boolean_t arg4 ;
9534 svn_boolean_t arg5 ;
9535 svn_fs_mergeinfo_receiver_t arg6 = (svn_fs_mergeinfo_receiver_t) 0 ;
9536 void *arg7 = (void *) 0 ;
9537 apr_pool_t *arg8 = (apr_pool_t *) 0 ;
9538 apr_pool_t *_global_pool ;
9539 void *argp1 = 0 ;
9540 int res1 = 0 ;
9541 int val3 ;
9542 int ecode3 = 0 ;
9543 int val4 ;
9544 int ecode4 = 0 ;
9545 int val5 ;
9546 int ecode5 = 0 ;
9547 int res7 ;
9548 int argvi = 0;
9549 svn_error_t *result = 0 ;
9550 dXSARGS;
9551
9552 {
9553 _global_pool = arg8 = svn_swig_pl_make_pool (ST(items-1));
9554 SPAGAIN;
9555 }
9556 if ((items < 7) || (items > 8)) {
9557 SWIG_croak("Usage: svn_fs_get_mergeinfo3(root,paths,inherit,include_descendants,adjust_inherited_mergeinfo,receiver,baton,scratch_pool);");
9558 }
9559 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
9560 if (!SWIG_IsOK(res1)) {
9561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_get_mergeinfo3" "', argument " "1"" of type '" "svn_fs_root_t *""'");
9562 }
9563 arg1 = (svn_fs_root_t *)(argp1);
9564 {
9565 arg2 = svn_swig_pl_strings_to_array(ST(1),
9566 _global_pool);
9567 }
9568 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
9569 if (!SWIG_IsOK(ecode3)) {
9570 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_fs_get_mergeinfo3" "', argument " "3"" of type '" "svn_mergeinfo_inheritance_t""'");
9571 }
9572 arg3 = (svn_mergeinfo_inheritance_t)(val3);
9573 ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
9574 if (!SWIG_IsOK(ecode4)) {
9575 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "svn_fs_get_mergeinfo3" "', argument " "4"" of type '" "svn_boolean_t""'");
9576 }
9577 arg4 = (svn_boolean_t)(val4);
9578 ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
9579 if (!SWIG_IsOK(ecode5)) {
9580 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "svn_fs_get_mergeinfo3" "', argument " "5"" of type '" "svn_boolean_t""'");
9581 }
9582 arg5 = (svn_boolean_t)(val5);
9583 {
9584 int res = SWIG_ConvertFunctionPtr(ST(5), (void**)(&arg6), SWIGTYPE_p_f_p_q_const__char_svn_mergeinfo_t_p_void_p_apr_pool_t__p_svn_error_t);
9585 if (!SWIG_IsOK(res)) {
9586 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_fs_get_mergeinfo3" "', argument " "6"" of type '" "svn_fs_mergeinfo_receiver_t""'");
9587 }
9588 }
9589 res7 = SWIG_ConvertPtr(ST(6),SWIG_as_voidptrptr(&arg7), 0, 0);
9590 if (!SWIG_IsOK(res7)) {
9591 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "svn_fs_get_mergeinfo3" "', argument " "7"" of type '" "void *""'");
9592 }
9593 if (items > 7) {
9594
9595 }
9596 {
9597 result = (svn_error_t *)svn_fs_get_mergeinfo3(arg1,(apr_array_header_t const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8);
9598
9599
9600
9601 }
9602 {
9603 if (result) {
9604 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
9605
9606 if (SvOK(exception_handler)) {
9607 SV *callback_result;
9608
9609 PUTBACK;
9610 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
9611 &callback_result, "S", result,
9612 SWIGTYPE_p_svn_error_t);
9613 SPAGAIN;
9614 } else {
9615 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
9616 argvi++;
9617 }
9618 }
9619 }
9620
9621
9622
9623
9624
9625
9626
9627
9628 XSRETURN(argvi);
9629 fail:
9630
9631
9632
9633
9634
9635
9636
9637
9638 SWIG_croak_null();
9639 }
9640 }
9641
9642
XS(_wrap_svn_fs_get_mergeinfo2)9643 XS(_wrap_svn_fs_get_mergeinfo2) {
9644 {
9645 svn_mergeinfo_catalog_t *arg1 = (svn_mergeinfo_catalog_t *) 0 ;
9646 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
9647 apr_array_header_t *arg3 = (apr_array_header_t *) 0 ;
9648 svn_mergeinfo_inheritance_t arg4 ;
9649 svn_boolean_t arg5 ;
9650 svn_boolean_t arg6 ;
9651 apr_pool_t *arg7 = (apr_pool_t *) 0 ;
9652 apr_pool_t *arg8 = (apr_pool_t *) 0 ;
9653 apr_pool_t *_global_pool ;
9654 svn_mergeinfo_catalog_t temp1 ;
9655 void *argp2 = 0 ;
9656 int res2 = 0 ;
9657 int val4 ;
9658 int ecode4 = 0 ;
9659 int val5 ;
9660 int ecode5 = 0 ;
9661 int val6 ;
9662 int ecode6 = 0 ;
9663 int argvi = 0;
9664 svn_error_t *result = 0 ;
9665 dXSARGS;
9666
9667 {
9668 _global_pool = arg7 = svn_swig_pl_make_pool (ST(items-1));
9669 SPAGAIN;
9670 }
9671 {
9672 _global_pool = arg8 = svn_swig_pl_make_pool (ST(items-1));
9673 SPAGAIN;
9674 }
9675 arg1 = &temp1;
9676 if ((items < 5) || (items > 7)) {
9677 SWIG_croak("Usage: svn_fs_get_mergeinfo2(root,paths,inherit,include_descendants,adjust_inherited_mergeinfo,result_pool,scratch_pool);");
9678 }
9679 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
9680 if (!SWIG_IsOK(res2)) {
9681 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_get_mergeinfo2" "', argument " "2"" of type '" "svn_fs_root_t *""'");
9682 }
9683 arg2 = (svn_fs_root_t *)(argp2);
9684 {
9685 arg3 = svn_swig_pl_strings_to_array(ST(1),
9686 _global_pool);
9687 }
9688 ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val4);
9689 if (!SWIG_IsOK(ecode4)) {
9690 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "svn_fs_get_mergeinfo2" "', argument " "4"" of type '" "svn_mergeinfo_inheritance_t""'");
9691 }
9692 arg4 = (svn_mergeinfo_inheritance_t)(val4);
9693 ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val5);
9694 if (!SWIG_IsOK(ecode5)) {
9695 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "svn_fs_get_mergeinfo2" "', argument " "5"" of type '" "svn_boolean_t""'");
9696 }
9697 arg5 = (svn_boolean_t)(val5);
9698 ecode6 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val6);
9699 if (!SWIG_IsOK(ecode6)) {
9700 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "svn_fs_get_mergeinfo2" "', argument " "6"" of type '" "svn_boolean_t""'");
9701 }
9702 arg6 = (svn_boolean_t)(val6);
9703 if (items > 5) {
9704
9705 }
9706 if (items > 6) {
9707
9708 }
9709 {
9710 result = (svn_error_t *)svn_fs_get_mergeinfo2(arg1,arg2,(apr_array_header_t const *)arg3,arg4,arg5,arg6,arg7,arg8);
9711
9712
9713
9714 }
9715 {
9716 if (result) {
9717 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
9718
9719 if (SvOK(exception_handler)) {
9720 SV *callback_result;
9721
9722 PUTBACK;
9723 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
9724 &callback_result, "S", result,
9725 SWIGTYPE_p_svn_error_t);
9726 SPAGAIN;
9727 } else {
9728 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
9729 argvi++;
9730 }
9731 }
9732 }
9733 {
9734 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_apr_hash_t, 0); argvi++ ;
9735 }
9736
9737
9738
9739
9740
9741
9742
9743
9744 XSRETURN(argvi);
9745 fail:
9746
9747
9748
9749
9750
9751
9752
9753
9754 SWIG_croak_null();
9755 }
9756 }
9757
9758
XS(_wrap_svn_fs_get_mergeinfo)9759 XS(_wrap_svn_fs_get_mergeinfo) {
9760 {
9761 svn_mergeinfo_catalog_t *arg1 = (svn_mergeinfo_catalog_t *) 0 ;
9762 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
9763 apr_array_header_t *arg3 = (apr_array_header_t *) 0 ;
9764 svn_mergeinfo_inheritance_t arg4 ;
9765 svn_boolean_t arg5 ;
9766 apr_pool_t *arg6 = (apr_pool_t *) 0 ;
9767 apr_pool_t *_global_pool ;
9768 svn_mergeinfo_catalog_t temp1 ;
9769 void *argp2 = 0 ;
9770 int res2 = 0 ;
9771 int val4 ;
9772 int ecode4 = 0 ;
9773 int val5 ;
9774 int ecode5 = 0 ;
9775 int argvi = 0;
9776 svn_error_t *result = 0 ;
9777 dXSARGS;
9778
9779 {
9780 _global_pool = arg6 = svn_swig_pl_make_pool (ST(items-1));
9781 SPAGAIN;
9782 }
9783 arg1 = &temp1;
9784 if ((items < 4) || (items > 5)) {
9785 SWIG_croak("Usage: svn_fs_get_mergeinfo(root,paths,inherit,include_descendants,pool);");
9786 }
9787 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
9788 if (!SWIG_IsOK(res2)) {
9789 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_get_mergeinfo" "', argument " "2"" of type '" "svn_fs_root_t *""'");
9790 }
9791 arg2 = (svn_fs_root_t *)(argp2);
9792 {
9793 arg3 = svn_swig_pl_strings_to_array(ST(1),
9794 _global_pool);
9795 }
9796 ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val4);
9797 if (!SWIG_IsOK(ecode4)) {
9798 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "svn_fs_get_mergeinfo" "', argument " "4"" of type '" "svn_mergeinfo_inheritance_t""'");
9799 }
9800 arg4 = (svn_mergeinfo_inheritance_t)(val4);
9801 ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val5);
9802 if (!SWIG_IsOK(ecode5)) {
9803 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "svn_fs_get_mergeinfo" "', argument " "5"" of type '" "svn_boolean_t""'");
9804 }
9805 arg5 = (svn_boolean_t)(val5);
9806 if (items > 4) {
9807
9808 }
9809 {
9810 result = (svn_error_t *)svn_fs_get_mergeinfo(arg1,arg2,(apr_array_header_t const *)arg3,arg4,arg5,arg6);
9811
9812
9813
9814 }
9815 {
9816 if (result) {
9817 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
9818
9819 if (SvOK(exception_handler)) {
9820 SV *callback_result;
9821
9822 PUTBACK;
9823 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
9824 &callback_result, "S", result,
9825 SWIGTYPE_p_svn_error_t);
9826 SPAGAIN;
9827 } else {
9828 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
9829 argvi++;
9830 }
9831 }
9832 }
9833 {
9834 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_apr_hash_t, 0); argvi++ ;
9835 }
9836
9837
9838
9839
9840
9841
9842 XSRETURN(argvi);
9843 fail:
9844
9845
9846
9847
9848
9849
9850 SWIG_croak_null();
9851 }
9852 }
9853
9854
XS(_wrap_svn_fs_merge)9855 XS(_wrap_svn_fs_merge) {
9856 {
9857 char **arg1 = (char **) 0 ;
9858 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
9859 char *arg3 = (char *) 0 ;
9860 svn_fs_root_t *arg4 = (svn_fs_root_t *) 0 ;
9861 char *arg5 = (char *) 0 ;
9862 svn_fs_root_t *arg6 = (svn_fs_root_t *) 0 ;
9863 char *arg7 = (char *) 0 ;
9864 apr_pool_t *arg8 = (apr_pool_t *) 0 ;
9865 apr_pool_t *_global_pool ;
9866 char *temp1 ;
9867 void *argp2 = 0 ;
9868 int res2 = 0 ;
9869 int res3 ;
9870 char *buf3 = 0 ;
9871 int alloc3 = 0 ;
9872 void *argp4 = 0 ;
9873 int res4 = 0 ;
9874 int res5 ;
9875 char *buf5 = 0 ;
9876 int alloc5 = 0 ;
9877 void *argp6 = 0 ;
9878 int res6 = 0 ;
9879 int res7 ;
9880 char *buf7 = 0 ;
9881 int alloc7 = 0 ;
9882 int argvi = 0;
9883 svn_error_t *result = 0 ;
9884 dXSARGS;
9885
9886 {
9887 _global_pool = arg8 = svn_swig_pl_make_pool (ST(items-1));
9888 SPAGAIN;
9889 }
9890 arg1 = &temp1;
9891 if ((items < 6) || (items > 7)) {
9892 SWIG_croak("Usage: svn_fs_merge(source_root,source_path,target_root,target_path,ancestor_root,ancestor_path,pool);");
9893 }
9894 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
9895 if (!SWIG_IsOK(res2)) {
9896 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_merge" "', argument " "2"" of type '" "svn_fs_root_t *""'");
9897 }
9898 arg2 = (svn_fs_root_t *)(argp2);
9899 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
9900 if (!SWIG_IsOK(res3)) {
9901 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_merge" "', argument " "3"" of type '" "char const *""'");
9902 }
9903 arg3 = (char *)(buf3);
9904 res4 = SWIG_ConvertPtr(ST(2), &argp4,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
9905 if (!SWIG_IsOK(res4)) {
9906 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "svn_fs_merge" "', argument " "4"" of type '" "svn_fs_root_t *""'");
9907 }
9908 arg4 = (svn_fs_root_t *)(argp4);
9909 res5 = SWIG_AsCharPtrAndSize(ST(3), &buf5, NULL, &alloc5);
9910 if (!SWIG_IsOK(res5)) {
9911 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "svn_fs_merge" "', argument " "5"" of type '" "char const *""'");
9912 }
9913 arg5 = (char *)(buf5);
9914 res6 = SWIG_ConvertPtr(ST(4), &argp6,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
9915 if (!SWIG_IsOK(res6)) {
9916 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "svn_fs_merge" "', argument " "6"" of type '" "svn_fs_root_t *""'");
9917 }
9918 arg6 = (svn_fs_root_t *)(argp6);
9919 res7 = SWIG_AsCharPtrAndSize(ST(5), &buf7, NULL, &alloc7);
9920 if (!SWIG_IsOK(res7)) {
9921 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "svn_fs_merge" "', argument " "7"" of type '" "char const *""'");
9922 }
9923 arg7 = (char *)(buf7);
9924 if (items > 6) {
9925
9926 }
9927 {
9928 result = (svn_error_t *)svn_fs_merge((char const **)arg1,arg2,(char const *)arg3,arg4,(char const *)arg5,arg6,(char const *)arg7,arg8);
9929
9930
9931
9932 }
9933 {
9934 if (result) {
9935 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
9936
9937 if (SvOK(exception_handler)) {
9938 SV *callback_result;
9939
9940 PUTBACK;
9941 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
9942 &callback_result, "S", result,
9943 SWIGTYPE_p_svn_error_t);
9944 SPAGAIN;
9945 } else {
9946 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
9947 argvi++;
9948 }
9949 }
9950 }
9951 {
9952 if (*arg1 == NULL) {
9953 if (argvi >= items) EXTEND(sp,1); ST(argvi) = &PL_sv_undef; argvi++ ;
9954 } else {
9955 if (argvi >= items) EXTEND(sp,1); ST(argvi) = sv_2mortal(newSVpv(*arg1, 0)); argvi++ ;
9956 }
9957 }
9958
9959
9960 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
9961
9962 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
9963
9964 if (alloc7 == SWIG_NEWOBJ) free((char*)buf7);
9965
9966 XSRETURN(argvi);
9967 fail:
9968
9969
9970 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
9971
9972 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
9973
9974 if (alloc7 == SWIG_NEWOBJ) free((char*)buf7);
9975
9976 SWIG_croak_null();
9977 }
9978 }
9979
9980
XS(_wrap_svn_fs_dirent_t_name_set)9981 XS(_wrap_svn_fs_dirent_t_name_set) {
9982 {
9983 struct svn_fs_dirent_t *arg1 = (struct svn_fs_dirent_t *) 0 ;
9984 char *arg2 = (char *) 0 ;
9985 void *argp1 = 0 ;
9986 int res1 = 0 ;
9987 int res2 ;
9988 char *buf2 = 0 ;
9989 int alloc2 = 0 ;
9990 int argvi = 0;
9991 dXSARGS;
9992
9993 if ((items < 2) || (items > 2)) {
9994 SWIG_croak("Usage: svn_fs_dirent_t_name_set(self,name);");
9995 }
9996 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_dirent_t, 0 | 0 );
9997 if (!SWIG_IsOK(res1)) {
9998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_dirent_t_name_set" "', argument " "1"" of type '" "struct svn_fs_dirent_t *""'");
9999 }
10000 arg1 = (struct svn_fs_dirent_t *)(argp1);
10001 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
10002 if (!SWIG_IsOK(res2)) {
10003 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_dirent_t_name_set" "', argument " "2"" of type '" "char const *""'");
10004 }
10005 arg2 = (char *)(buf2);
10006 {
10007 apr_size_t len = strlen(arg2) + 1;
10008 char *copied;
10009 if (arg1->name) free((char *)arg1->name);
10010 copied = malloc(len);
10011 memcpy(copied, arg2, len);
10012 arg1->name = copied;
10013 }
10014 ST(argvi) = sv_newmortal();
10015
10016 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
10017 XSRETURN(argvi);
10018 fail:
10019
10020 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
10021 SWIG_croak_null();
10022 }
10023 }
10024
10025
XS(_wrap_svn_fs_dirent_t_name_get)10026 XS(_wrap_svn_fs_dirent_t_name_get) {
10027 {
10028 struct svn_fs_dirent_t *arg1 = (struct svn_fs_dirent_t *) 0 ;
10029 void *argp1 = 0 ;
10030 int res1 = 0 ;
10031 int argvi = 0;
10032 char *result = 0 ;
10033 dXSARGS;
10034
10035 if ((items < 1) || (items > 1)) {
10036 SWIG_croak("Usage: svn_fs_dirent_t_name_get(self);");
10037 }
10038 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_dirent_t, 0 | 0 );
10039 if (!SWIG_IsOK(res1)) {
10040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_dirent_t_name_get" "', argument " "1"" of type '" "struct svn_fs_dirent_t *""'");
10041 }
10042 arg1 = (struct svn_fs_dirent_t *)(argp1);
10043 result = (char *) ((arg1)->name);
10044 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
10045
10046 XSRETURN(argvi);
10047 fail:
10048
10049 SWIG_croak_null();
10050 }
10051 }
10052
10053
XS(_wrap_svn_fs_dirent_t_id_set)10054 XS(_wrap_svn_fs_dirent_t_id_set) {
10055 {
10056 struct svn_fs_dirent_t *arg1 = (struct svn_fs_dirent_t *) 0 ;
10057 svn_fs_id_t *arg2 = (svn_fs_id_t *) 0 ;
10058 void *argp1 = 0 ;
10059 int res1 = 0 ;
10060 void *argp2 = 0 ;
10061 int res2 = 0 ;
10062 int argvi = 0;
10063 dXSARGS;
10064
10065 if ((items < 2) || (items > 2)) {
10066 SWIG_croak("Usage: svn_fs_dirent_t_id_set(self,id);");
10067 }
10068 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_dirent_t, 0 | 0 );
10069 if (!SWIG_IsOK(res1)) {
10070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_dirent_t_id_set" "', argument " "1"" of type '" "struct svn_fs_dirent_t *""'");
10071 }
10072 arg1 = (struct svn_fs_dirent_t *)(argp1);
10073 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_svn_fs_id_t, SWIG_POINTER_DISOWN | 0 );
10074 if (!SWIG_IsOK(res2)) {
10075 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_dirent_t_id_set" "', argument " "2"" of type '" "svn_fs_id_t const *""'");
10076 }
10077 arg2 = (svn_fs_id_t *)(argp2);
10078 if (arg1) (arg1)->id = (svn_fs_id_t const *)arg2;
10079 ST(argvi) = sv_newmortal();
10080
10081
10082 XSRETURN(argvi);
10083 fail:
10084
10085
10086 SWIG_croak_null();
10087 }
10088 }
10089
10090
XS(_wrap_svn_fs_dirent_t_id_get)10091 XS(_wrap_svn_fs_dirent_t_id_get) {
10092 {
10093 struct svn_fs_dirent_t *arg1 = (struct svn_fs_dirent_t *) 0 ;
10094 void *argp1 = 0 ;
10095 int res1 = 0 ;
10096 int argvi = 0;
10097 svn_fs_id_t *result = 0 ;
10098 dXSARGS;
10099
10100 if ((items < 1) || (items > 1)) {
10101 SWIG_croak("Usage: svn_fs_dirent_t_id_get(self);");
10102 }
10103 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_dirent_t, 0 | 0 );
10104 if (!SWIG_IsOK(res1)) {
10105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_dirent_t_id_get" "', argument " "1"" of type '" "struct svn_fs_dirent_t *""'");
10106 }
10107 arg1 = (struct svn_fs_dirent_t *)(argp1);
10108 result = (svn_fs_id_t *) ((arg1)->id);
10109 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_fs_id_t, 0 | 0); argvi++ ;
10110
10111 XSRETURN(argvi);
10112 fail:
10113
10114 SWIG_croak_null();
10115 }
10116 }
10117
10118
XS(_wrap_svn_fs_dirent_t_kind_set)10119 XS(_wrap_svn_fs_dirent_t_kind_set) {
10120 {
10121 struct svn_fs_dirent_t *arg1 = (struct svn_fs_dirent_t *) 0 ;
10122 svn_node_kind_t arg2 ;
10123 void *argp1 = 0 ;
10124 int res1 = 0 ;
10125 int val2 ;
10126 int ecode2 = 0 ;
10127 int argvi = 0;
10128 dXSARGS;
10129
10130 if ((items < 2) || (items > 2)) {
10131 SWIG_croak("Usage: svn_fs_dirent_t_kind_set(self,kind);");
10132 }
10133 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_dirent_t, 0 | 0 );
10134 if (!SWIG_IsOK(res1)) {
10135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_dirent_t_kind_set" "', argument " "1"" of type '" "struct svn_fs_dirent_t *""'");
10136 }
10137 arg1 = (struct svn_fs_dirent_t *)(argp1);
10138 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10139 if (!SWIG_IsOK(ecode2)) {
10140 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_dirent_t_kind_set" "', argument " "2"" of type '" "svn_node_kind_t""'");
10141 }
10142 arg2 = (svn_node_kind_t)(val2);
10143 if (arg1) (arg1)->kind = arg2;
10144 ST(argvi) = sv_newmortal();
10145
10146
10147 XSRETURN(argvi);
10148 fail:
10149
10150
10151 SWIG_croak_null();
10152 }
10153 }
10154
10155
XS(_wrap_svn_fs_dirent_t_kind_get)10156 XS(_wrap_svn_fs_dirent_t_kind_get) {
10157 {
10158 struct svn_fs_dirent_t *arg1 = (struct svn_fs_dirent_t *) 0 ;
10159 void *argp1 = 0 ;
10160 int res1 = 0 ;
10161 int argvi = 0;
10162 svn_node_kind_t result;
10163 dXSARGS;
10164
10165 if ((items < 1) || (items > 1)) {
10166 SWIG_croak("Usage: svn_fs_dirent_t_kind_get(self);");
10167 }
10168 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_dirent_t, 0 | 0 );
10169 if (!SWIG_IsOK(res1)) {
10170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_dirent_t_kind_get" "', argument " "1"" of type '" "struct svn_fs_dirent_t *""'");
10171 }
10172 arg1 = (struct svn_fs_dirent_t *)(argp1);
10173 result = (svn_node_kind_t) ((arg1)->kind);
10174 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
10175
10176 XSRETURN(argvi);
10177 fail:
10178
10179 SWIG_croak_null();
10180 }
10181 }
10182
10183
XS(_wrap_svn_fs_dir_entries)10184 XS(_wrap_svn_fs_dir_entries) {
10185 {
10186 apr_hash_t **arg1 = (apr_hash_t **) 0 ;
10187 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
10188 char *arg3 = (char *) 0 ;
10189 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
10190 apr_pool_t *_global_pool ;
10191 apr_hash_t *temp1 ;
10192 void *argp2 = 0 ;
10193 int res2 = 0 ;
10194 int res3 ;
10195 char *buf3 = 0 ;
10196 int alloc3 = 0 ;
10197 int argvi = 0;
10198 svn_error_t *result = 0 ;
10199 dXSARGS;
10200
10201 {
10202 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
10203 SPAGAIN;
10204 }
10205 arg1 = &temp1;
10206 if ((items < 2) || (items > 3)) {
10207 SWIG_croak("Usage: svn_fs_dir_entries(root,path,pool);");
10208 }
10209 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
10210 if (!SWIG_IsOK(res2)) {
10211 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_dir_entries" "', argument " "2"" of type '" "svn_fs_root_t *""'");
10212 }
10213 arg2 = (svn_fs_root_t *)(argp2);
10214 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
10215 if (!SWIG_IsOK(res3)) {
10216 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_dir_entries" "', argument " "3"" of type '" "char const *""'");
10217 }
10218 arg3 = (char *)(buf3);
10219 if (items > 2) {
10220
10221 }
10222 {
10223 result = (svn_error_t *)svn_fs_dir_entries(arg1,arg2,(char const *)arg3,arg4);
10224
10225
10226
10227 }
10228 {
10229 if (result) {
10230 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
10231
10232 if (SvOK(exception_handler)) {
10233 SV *callback_result;
10234
10235 PUTBACK;
10236 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
10237 &callback_result, "S", result,
10238 SWIGTYPE_p_svn_error_t);
10239 SPAGAIN;
10240 } else {
10241 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
10242 argvi++;
10243 }
10244 }
10245 }
10246 {
10247 if (argvi >= items) EXTEND(sp,1); ST(argvi) = svn_swig_pl_convert_hash(*arg1, SWIGTYPE_p_svn_fs_dirent_t); argvi++ ;
10248 }
10249
10250
10251 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10252
10253 XSRETURN(argvi);
10254 fail:
10255
10256
10257 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10258
10259 SWIG_croak_null();
10260 }
10261 }
10262
10263
XS(_wrap_svn_fs_dir_optimal_order)10264 XS(_wrap_svn_fs_dir_optimal_order) {
10265 {
10266 apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
10267 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
10268 apr_hash_t *arg3 = (apr_hash_t *) 0 ;
10269 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
10270 apr_pool_t *arg5 = (apr_pool_t *) 0 ;
10271 apr_pool_t *_global_pool ;
10272 apr_array_header_t *temp1 ;
10273 void *argp2 = 0 ;
10274 int res2 = 0 ;
10275 void *argp3 = 0 ;
10276 int res3 = 0 ;
10277 int argvi = 0;
10278 svn_error_t *result = 0 ;
10279 dXSARGS;
10280
10281 {
10282 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
10283 SPAGAIN;
10284 }
10285 {
10286 _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
10287 SPAGAIN;
10288 }
10289 arg1 = &temp1;
10290 if ((items < 2) || (items > 4)) {
10291 SWIG_croak("Usage: svn_fs_dir_optimal_order(root,entries,result_pool,scratch_pool);");
10292 }
10293 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
10294 if (!SWIG_IsOK(res2)) {
10295 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_dir_optimal_order" "', argument " "2"" of type '" "svn_fs_root_t *""'");
10296 }
10297 arg2 = (svn_fs_root_t *)(argp2);
10298 res3 = SWIG_ConvertPtr(ST(1), &argp3,SWIGTYPE_p_apr_hash_t, 0 | 0 );
10299 if (!SWIG_IsOK(res3)) {
10300 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_dir_optimal_order" "', argument " "3"" of type '" "apr_hash_t *""'");
10301 }
10302 arg3 = (apr_hash_t *)(argp3);
10303 if (items > 2) {
10304
10305 }
10306 if (items > 3) {
10307
10308 }
10309 {
10310 result = (svn_error_t *)svn_fs_dir_optimal_order(arg1,arg2,arg3,arg4,arg5);
10311
10312
10313
10314 }
10315 {
10316 if (result) {
10317 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
10318
10319 if (SvOK(exception_handler)) {
10320 SV *callback_result;
10321
10322 PUTBACK;
10323 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
10324 &callback_result, "S", result,
10325 SWIGTYPE_p_svn_error_t);
10326 SPAGAIN;
10327 } else {
10328 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
10329 argvi++;
10330 }
10331 }
10332 }
10333 {
10334 /* FIXME: Missing argout typemap: svn_fs_dir_optimal_order arg 1 (apr_array_header_t **) */
10335
10336
10337
10338
10339 SWIG_exception(SWIG_ValueError, "svn_fs_dir_optimal_order is not implemented yet");
10340
10341 }
10342
10343
10344
10345
10346
10347 XSRETURN(argvi);
10348 fail:
10349
10350
10351
10352
10353
10354 SWIG_croak_null();
10355 }
10356 }
10357
10358
XS(_wrap_svn_fs_make_dir)10359 XS(_wrap_svn_fs_make_dir) {
10360 {
10361 svn_fs_root_t *arg1 = (svn_fs_root_t *) 0 ;
10362 char *arg2 = (char *) 0 ;
10363 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
10364 apr_pool_t *_global_pool ;
10365 void *argp1 = 0 ;
10366 int res1 = 0 ;
10367 int res2 ;
10368 char *buf2 = 0 ;
10369 int alloc2 = 0 ;
10370 int argvi = 0;
10371 svn_error_t *result = 0 ;
10372 dXSARGS;
10373
10374 {
10375 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
10376 SPAGAIN;
10377 }
10378 if ((items < 2) || (items > 3)) {
10379 SWIG_croak("Usage: svn_fs_make_dir(root,path,pool);");
10380 }
10381 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
10382 if (!SWIG_IsOK(res1)) {
10383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_make_dir" "', argument " "1"" of type '" "svn_fs_root_t *""'");
10384 }
10385 arg1 = (svn_fs_root_t *)(argp1);
10386 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
10387 if (!SWIG_IsOK(res2)) {
10388 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_make_dir" "', argument " "2"" of type '" "char const *""'");
10389 }
10390 arg2 = (char *)(buf2);
10391 if (items > 2) {
10392
10393 }
10394 {
10395 result = (svn_error_t *)svn_fs_make_dir(arg1,(char const *)arg2,arg3);
10396
10397
10398
10399 }
10400 {
10401 if (result) {
10402 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
10403
10404 if (SvOK(exception_handler)) {
10405 SV *callback_result;
10406
10407 PUTBACK;
10408 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
10409 &callback_result, "S", result,
10410 SWIGTYPE_p_svn_error_t);
10411 SPAGAIN;
10412 } else {
10413 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
10414 argvi++;
10415 }
10416 }
10417 }
10418
10419 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
10420
10421 XSRETURN(argvi);
10422 fail:
10423
10424 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
10425
10426 SWIG_croak_null();
10427 }
10428 }
10429
10430
XS(_wrap_svn_fs_delete)10431 XS(_wrap_svn_fs_delete) {
10432 {
10433 svn_fs_root_t *arg1 = (svn_fs_root_t *) 0 ;
10434 char *arg2 = (char *) 0 ;
10435 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
10436 apr_pool_t *_global_pool ;
10437 void *argp1 = 0 ;
10438 int res1 = 0 ;
10439 int res2 ;
10440 char *buf2 = 0 ;
10441 int alloc2 = 0 ;
10442 int argvi = 0;
10443 svn_error_t *result = 0 ;
10444 dXSARGS;
10445
10446 {
10447 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
10448 SPAGAIN;
10449 }
10450 if ((items < 2) || (items > 3)) {
10451 SWIG_croak("Usage: svn_fs_delete(root,path,pool);");
10452 }
10453 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
10454 if (!SWIG_IsOK(res1)) {
10455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_delete" "', argument " "1"" of type '" "svn_fs_root_t *""'");
10456 }
10457 arg1 = (svn_fs_root_t *)(argp1);
10458 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
10459 if (!SWIG_IsOK(res2)) {
10460 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_delete" "', argument " "2"" of type '" "char const *""'");
10461 }
10462 arg2 = (char *)(buf2);
10463 if (items > 2) {
10464
10465 }
10466 {
10467 result = (svn_error_t *)svn_fs_delete(arg1,(char const *)arg2,arg3);
10468
10469
10470
10471 }
10472 {
10473 if (result) {
10474 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
10475
10476 if (SvOK(exception_handler)) {
10477 SV *callback_result;
10478
10479 PUTBACK;
10480 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
10481 &callback_result, "S", result,
10482 SWIGTYPE_p_svn_error_t);
10483 SPAGAIN;
10484 } else {
10485 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
10486 argvi++;
10487 }
10488 }
10489 }
10490
10491 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
10492
10493 XSRETURN(argvi);
10494 fail:
10495
10496 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
10497
10498 SWIG_croak_null();
10499 }
10500 }
10501
10502
XS(_wrap_svn_fs_copy)10503 XS(_wrap_svn_fs_copy) {
10504 {
10505 svn_fs_root_t *arg1 = (svn_fs_root_t *) 0 ;
10506 char *arg2 = (char *) 0 ;
10507 svn_fs_root_t *arg3 = (svn_fs_root_t *) 0 ;
10508 char *arg4 = (char *) 0 ;
10509 apr_pool_t *arg5 = (apr_pool_t *) 0 ;
10510 apr_pool_t *_global_pool ;
10511 void *argp1 = 0 ;
10512 int res1 = 0 ;
10513 int res2 ;
10514 char *buf2 = 0 ;
10515 int alloc2 = 0 ;
10516 void *argp3 = 0 ;
10517 int res3 = 0 ;
10518 int res4 ;
10519 char *buf4 = 0 ;
10520 int alloc4 = 0 ;
10521 int argvi = 0;
10522 svn_error_t *result = 0 ;
10523 dXSARGS;
10524
10525 {
10526 _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
10527 SPAGAIN;
10528 }
10529 if ((items < 4) || (items > 5)) {
10530 SWIG_croak("Usage: svn_fs_copy(from_root,from_path,to_root,to_path,pool);");
10531 }
10532 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
10533 if (!SWIG_IsOK(res1)) {
10534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_copy" "', argument " "1"" of type '" "svn_fs_root_t *""'");
10535 }
10536 arg1 = (svn_fs_root_t *)(argp1);
10537 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
10538 if (!SWIG_IsOK(res2)) {
10539 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_copy" "', argument " "2"" of type '" "char const *""'");
10540 }
10541 arg2 = (char *)(buf2);
10542 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
10543 if (!SWIG_IsOK(res3)) {
10544 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_copy" "', argument " "3"" of type '" "svn_fs_root_t *""'");
10545 }
10546 arg3 = (svn_fs_root_t *)(argp3);
10547 res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
10548 if (!SWIG_IsOK(res4)) {
10549 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "svn_fs_copy" "', argument " "4"" of type '" "char const *""'");
10550 }
10551 arg4 = (char *)(buf4);
10552 if (items > 4) {
10553
10554 }
10555 {
10556 result = (svn_error_t *)svn_fs_copy(arg1,(char const *)arg2,arg3,(char const *)arg4,arg5);
10557
10558
10559
10560 }
10561 {
10562 if (result) {
10563 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
10564
10565 if (SvOK(exception_handler)) {
10566 SV *callback_result;
10567
10568 PUTBACK;
10569 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
10570 &callback_result, "S", result,
10571 SWIGTYPE_p_svn_error_t);
10572 SPAGAIN;
10573 } else {
10574 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
10575 argvi++;
10576 }
10577 }
10578 }
10579
10580 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
10581
10582 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
10583
10584 XSRETURN(argvi);
10585 fail:
10586
10587 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
10588
10589 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
10590
10591 SWIG_croak_null();
10592 }
10593 }
10594
10595
XS(_wrap_svn_fs_revision_link)10596 XS(_wrap_svn_fs_revision_link) {
10597 {
10598 svn_fs_root_t *arg1 = (svn_fs_root_t *) 0 ;
10599 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
10600 char *arg3 = (char *) 0 ;
10601 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
10602 apr_pool_t *_global_pool ;
10603 void *argp1 = 0 ;
10604 int res1 = 0 ;
10605 void *argp2 = 0 ;
10606 int res2 = 0 ;
10607 int res3 ;
10608 char *buf3 = 0 ;
10609 int alloc3 = 0 ;
10610 int argvi = 0;
10611 svn_error_t *result = 0 ;
10612 dXSARGS;
10613
10614 {
10615 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
10616 SPAGAIN;
10617 }
10618 if ((items < 3) || (items > 4)) {
10619 SWIG_croak("Usage: svn_fs_revision_link(from_root,to_root,path,pool);");
10620 }
10621 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
10622 if (!SWIG_IsOK(res1)) {
10623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_revision_link" "', argument " "1"" of type '" "svn_fs_root_t *""'");
10624 }
10625 arg1 = (svn_fs_root_t *)(argp1);
10626 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
10627 if (!SWIG_IsOK(res2)) {
10628 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_revision_link" "', argument " "2"" of type '" "svn_fs_root_t *""'");
10629 }
10630 arg2 = (svn_fs_root_t *)(argp2);
10631 res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
10632 if (!SWIG_IsOK(res3)) {
10633 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_revision_link" "', argument " "3"" of type '" "char const *""'");
10634 }
10635 arg3 = (char *)(buf3);
10636 if (items > 3) {
10637
10638 }
10639 {
10640 result = (svn_error_t *)svn_fs_revision_link(arg1,arg2,(char const *)arg3,arg4);
10641
10642
10643
10644 }
10645 {
10646 if (result) {
10647 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
10648
10649 if (SvOK(exception_handler)) {
10650 SV *callback_result;
10651
10652 PUTBACK;
10653 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
10654 &callback_result, "S", result,
10655 SWIGTYPE_p_svn_error_t);
10656 SPAGAIN;
10657 } else {
10658 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
10659 argvi++;
10660 }
10661 }
10662 }
10663
10664
10665 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10666
10667 XSRETURN(argvi);
10668 fail:
10669
10670
10671 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10672
10673 SWIG_croak_null();
10674 }
10675 }
10676
10677
XS(_wrap_svn_fs_file_length)10678 XS(_wrap_svn_fs_file_length) {
10679 {
10680 svn_filesize_t *arg1 = (svn_filesize_t *) 0 ;
10681 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
10682 char *arg3 = (char *) 0 ;
10683 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
10684 apr_pool_t *_global_pool ;
10685 apr_int64_t temp1 ;
10686 void *argp2 = 0 ;
10687 int res2 = 0 ;
10688 int res3 ;
10689 char *buf3 = 0 ;
10690 int alloc3 = 0 ;
10691 int argvi = 0;
10692 svn_error_t *result = 0 ;
10693 dXSARGS;
10694
10695 {
10696 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
10697 SPAGAIN;
10698 }
10699 arg1 = &temp1;
10700 if ((items < 2) || (items > 3)) {
10701 SWIG_croak("Usage: svn_fs_file_length(root,path,pool);");
10702 }
10703 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
10704 if (!SWIG_IsOK(res2)) {
10705 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_file_length" "', argument " "2"" of type '" "svn_fs_root_t *""'");
10706 }
10707 arg2 = (svn_fs_root_t *)(argp2);
10708 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
10709 if (!SWIG_IsOK(res3)) {
10710 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_file_length" "', argument " "3"" of type '" "char const *""'");
10711 }
10712 arg3 = (char *)(buf3);
10713 if (items > 2) {
10714
10715 }
10716 {
10717 result = (svn_error_t *)svn_fs_file_length(arg1,arg2,(char const *)arg3,arg4);
10718
10719
10720
10721 }
10722 {
10723 if (result) {
10724 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
10725
10726 if (SvOK(exception_handler)) {
10727 SV *callback_result;
10728
10729 PUTBACK;
10730 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
10731 &callback_result, "S", result,
10732 SWIGTYPE_p_svn_error_t);
10733 SPAGAIN;
10734 } else {
10735 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
10736 argvi++;
10737 }
10738 }
10739 }
10740 {
10741 char temp[30];
10742 sprintf(temp, "%" APR_INT64_T_FMT, (apr_int64_t)*(arg1));
10743 if (argvi >= items) EXTEND(sp,1); ST(argvi) = sv_2mortal(newSVpv(temp, 0)); argvi++ ;
10744 }
10745
10746
10747 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10748
10749 XSRETURN(argvi);
10750 fail:
10751
10752
10753 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10754
10755 SWIG_croak_null();
10756 }
10757 }
10758
10759
XS(_wrap_svn_fs_file_checksum)10760 XS(_wrap_svn_fs_file_checksum) {
10761 {
10762 svn_checksum_t **arg1 = (svn_checksum_t **) 0 ;
10763 svn_checksum_kind_t arg2 ;
10764 svn_fs_root_t *arg3 = (svn_fs_root_t *) 0 ;
10765 char *arg4 = (char *) 0 ;
10766 svn_boolean_t arg5 ;
10767 apr_pool_t *arg6 = (apr_pool_t *) 0 ;
10768 apr_pool_t *_global_pool ;
10769 svn_checksum_t *temp1 ;
10770 int val2 ;
10771 int ecode2 = 0 ;
10772 void *argp3 = 0 ;
10773 int res3 = 0 ;
10774 int res4 ;
10775 char *buf4 = 0 ;
10776 int alloc4 = 0 ;
10777 int val5 ;
10778 int ecode5 = 0 ;
10779 int argvi = 0;
10780 svn_error_t *result = 0 ;
10781 dXSARGS;
10782
10783 {
10784 _global_pool = arg6 = svn_swig_pl_make_pool (ST(items-1));
10785 SPAGAIN;
10786 }
10787 arg1 = &temp1;
10788 if ((items < 4) || (items > 5)) {
10789 SWIG_croak("Usage: svn_fs_file_checksum(kind,root,path,force,pool);");
10790 }
10791 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val2);
10792 if (!SWIG_IsOK(ecode2)) {
10793 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_file_checksum" "', argument " "2"" of type '" "svn_checksum_kind_t""'");
10794 }
10795 arg2 = (svn_checksum_kind_t)(val2);
10796 res3 = SWIG_ConvertPtr(ST(1), &argp3,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
10797 if (!SWIG_IsOK(res3)) {
10798 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_file_checksum" "', argument " "3"" of type '" "svn_fs_root_t *""'");
10799 }
10800 arg3 = (svn_fs_root_t *)(argp3);
10801 res4 = SWIG_AsCharPtrAndSize(ST(2), &buf4, NULL, &alloc4);
10802 if (!SWIG_IsOK(res4)) {
10803 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "svn_fs_file_checksum" "', argument " "4"" of type '" "char const *""'");
10804 }
10805 arg4 = (char *)(buf4);
10806 ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val5);
10807 if (!SWIG_IsOK(ecode5)) {
10808 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "svn_fs_file_checksum" "', argument " "5"" of type '" "svn_boolean_t""'");
10809 }
10810 arg5 = (svn_boolean_t)(val5);
10811 if (items > 4) {
10812
10813 }
10814 {
10815 result = (svn_error_t *)svn_fs_file_checksum(arg1,arg2,arg3,(char const *)arg4,arg5,arg6);
10816
10817
10818
10819 }
10820 {
10821 if (result) {
10822 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
10823
10824 if (SvOK(exception_handler)) {
10825 SV *callback_result;
10826
10827 PUTBACK;
10828 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
10829 &callback_result, "S", result,
10830 SWIGTYPE_p_svn_error_t);
10831 SPAGAIN;
10832 } else {
10833 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
10834 argvi++;
10835 }
10836 }
10837 }
10838 {
10839 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_checksum_t, 0); argvi++ ;
10840 }
10841
10842
10843
10844 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
10845
10846
10847 XSRETURN(argvi);
10848 fail:
10849
10850
10851
10852 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
10853
10854
10855 SWIG_croak_null();
10856 }
10857 }
10858
10859
XS(_wrap_svn_fs_file_md5_checksum)10860 XS(_wrap_svn_fs_file_md5_checksum) {
10861 {
10862 unsigned char *arg1 ;
10863 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
10864 char *arg3 = (char *) 0 ;
10865 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
10866 apr_pool_t *_global_pool ;
10867 unsigned char temp1[APR_MD5_DIGESTSIZE] ;
10868 void *argp2 = 0 ;
10869 int res2 = 0 ;
10870 int res3 ;
10871 char *buf3 = 0 ;
10872 int alloc3 = 0 ;
10873 int argvi = 0;
10874 svn_error_t *result = 0 ;
10875 dXSARGS;
10876
10877 {
10878 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
10879 SPAGAIN;
10880 }
10881 arg1 = temp1;
10882 if ((items < 2) || (items > 3)) {
10883 SWIG_croak("Usage: svn_fs_file_md5_checksum(root,path,pool);");
10884 }
10885 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
10886 if (!SWIG_IsOK(res2)) {
10887 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_file_md5_checksum" "', argument " "2"" of type '" "svn_fs_root_t *""'");
10888 }
10889 arg2 = (svn_fs_root_t *)(argp2);
10890 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
10891 if (!SWIG_IsOK(res3)) {
10892 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_file_md5_checksum" "', argument " "3"" of type '" "char const *""'");
10893 }
10894 arg3 = (char *)(buf3);
10895 if (items > 2) {
10896
10897 }
10898 {
10899 result = (svn_error_t *)svn_fs_file_md5_checksum(arg1,arg2,(char const *)arg3,arg4);
10900
10901
10902
10903 }
10904 {
10905 if (result) {
10906 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
10907
10908 if (SvOK(exception_handler)) {
10909 SV *callback_result;
10910
10911 PUTBACK;
10912 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
10913 &callback_result, "S", result,
10914 SWIGTYPE_p_svn_error_t);
10915 SPAGAIN;
10916 } else {
10917 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
10918 argvi++;
10919 }
10920 }
10921 }
10922 {
10923 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,59,%append_output@*/ if (argvi >= items) EXTEND(sp,1); /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,56,%set_output@*/ ST(argvi) = sv_2mortal(newSVpv(svn_md5_digest_to_cstring(arg1,
10924 _global_pool),
10925 0)); argvi++ /*@SWIG@*/
10926
10927 /*@SWIG@*/
10928
10929 ;
10930 }
10931
10932
10933 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10934
10935 XSRETURN(argvi);
10936 fail:
10937
10938
10939 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10940
10941 SWIG_croak_null();
10942 }
10943 }
10944
10945
XS(_wrap_svn_fs_file_contents)10946 XS(_wrap_svn_fs_file_contents) {
10947 {
10948 svn_stream_t **arg1 = (svn_stream_t **) 0 ;
10949 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
10950 char *arg3 = (char *) 0 ;
10951 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
10952 apr_pool_t *_global_pool ;
10953 svn_stream_t *temp1 ;
10954 void *argp2 = 0 ;
10955 int res2 = 0 ;
10956 int res3 ;
10957 char *buf3 = 0 ;
10958 int alloc3 = 0 ;
10959 int argvi = 0;
10960 svn_error_t *result = 0 ;
10961 dXSARGS;
10962
10963 {
10964 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
10965 SPAGAIN;
10966 }
10967 arg1 = &temp1;
10968 if ((items < 2) || (items > 3)) {
10969 SWIG_croak("Usage: svn_fs_file_contents(root,path,pool);");
10970 }
10971 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
10972 if (!SWIG_IsOK(res2)) {
10973 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_file_contents" "', argument " "2"" of type '" "svn_fs_root_t *""'");
10974 }
10975 arg2 = (svn_fs_root_t *)(argp2);
10976 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
10977 if (!SWIG_IsOK(res3)) {
10978 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_file_contents" "', argument " "3"" of type '" "char const *""'");
10979 }
10980 arg3 = (char *)(buf3);
10981 if (items > 2) {
10982
10983 }
10984 {
10985 result = (svn_error_t *)svn_fs_file_contents(arg1,arg2,(char const *)arg3,arg4);
10986
10987
10988
10989 }
10990 {
10991 if (result) {
10992 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
10993
10994 if (SvOK(exception_handler)) {
10995 SV *callback_result;
10996
10997 PUTBACK;
10998 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
10999 &callback_result, "S", result,
11000 SWIGTYPE_p_svn_error_t);
11001 SPAGAIN;
11002 } else {
11003 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
11004 argvi++;
11005 }
11006 }
11007 }
11008 {
11009 SV *tmp;
11010 PUTBACK;
11011 tmp = svn_swig_pl_from_stream(*arg1);
11012 SPAGAIN;
11013 if (argvi >= items) EXTEND(sp,1); ST(argvi) = tmp; argvi++ ;
11014 }
11015
11016
11017 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11018
11019 XSRETURN(argvi);
11020 fail:
11021
11022
11023 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11024
11025 SWIG_croak_null();
11026 }
11027 }
11028
11029
XS(_wrap_svn_fs_try_process_file_contents)11030 XS(_wrap_svn_fs_try_process_file_contents) {
11031 {
11032 svn_boolean_t *arg1 = (svn_boolean_t *) 0 ;
11033 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
11034 char *arg3 = (char *) 0 ;
11035 svn_fs_process_contents_func_t arg4 = (svn_fs_process_contents_func_t) 0 ;
11036 void *arg5 = (void *) 0 ;
11037 apr_pool_t *arg6 = (apr_pool_t *) 0 ;
11038 apr_pool_t *_global_pool ;
11039 svn_boolean_t temp1 ;
11040 int res1 = SWIG_TMPOBJ ;
11041 void *argp2 = 0 ;
11042 int res2 = 0 ;
11043 int res3 ;
11044 char *buf3 = 0 ;
11045 int alloc3 = 0 ;
11046 int res5 ;
11047 int argvi = 0;
11048 svn_error_t *result = 0 ;
11049 dXSARGS;
11050
11051 {
11052 _global_pool = arg6 = svn_swig_pl_make_pool (ST(items-1));
11053 SPAGAIN;
11054 }
11055 arg1 = &temp1;
11056 if ((items < 4) || (items > 5)) {
11057 SWIG_croak("Usage: svn_fs_try_process_file_contents(root,path,processor,baton,pool);");
11058 }
11059 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
11060 if (!SWIG_IsOK(res2)) {
11061 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_try_process_file_contents" "', argument " "2"" of type '" "svn_fs_root_t *""'");
11062 }
11063 arg2 = (svn_fs_root_t *)(argp2);
11064 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
11065 if (!SWIG_IsOK(res3)) {
11066 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_try_process_file_contents" "', argument " "3"" of type '" "char const *""'");
11067 }
11068 arg3 = (char *)(buf3);
11069 {
11070 int res = SWIG_ConvertFunctionPtr(ST(2), (void**)(&arg4), SWIGTYPE_p_f_p_q_const__unsigned_char_apr_size_t_p_void_p_apr_pool_t__p_svn_error_t);
11071 if (!SWIG_IsOK(res)) {
11072 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_fs_try_process_file_contents" "', argument " "4"" of type '" "svn_fs_process_contents_func_t""'");
11073 }
11074 }
11075 res5 = SWIG_ConvertPtr(ST(3),SWIG_as_voidptrptr(&arg5), 0, 0);
11076 if (!SWIG_IsOK(res5)) {
11077 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "svn_fs_try_process_file_contents" "', argument " "5"" of type '" "void *""'");
11078 }
11079 if (items > 4) {
11080
11081 }
11082 {
11083 result = (svn_error_t *)svn_fs_try_process_file_contents(arg1,arg2,(char const *)arg3,arg4,arg5,arg6);
11084
11085
11086
11087 }
11088 {
11089 if (result) {
11090 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
11091
11092 if (SvOK(exception_handler)) {
11093 SV *callback_result;
11094
11095 PUTBACK;
11096 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
11097 &callback_result, "S", result,
11098 SWIGTYPE_p_svn_error_t);
11099 SPAGAIN;
11100 } else {
11101 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
11102 argvi++;
11103 }
11104 }
11105 }
11106 if (SWIG_IsTmpObj(res1)) {
11107 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((*arg1)); argvi++ ;
11108 } else {
11109 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0) : 0;
11110 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags); argvi++ ;
11111 }
11112
11113
11114 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11115
11116
11117
11118 XSRETURN(argvi);
11119 fail:
11120
11121
11122 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11123
11124
11125
11126 SWIG_croak_null();
11127 }
11128 }
11129
11130
XS(_wrap_svn_fs_make_file)11131 XS(_wrap_svn_fs_make_file) {
11132 {
11133 svn_fs_root_t *arg1 = (svn_fs_root_t *) 0 ;
11134 char *arg2 = (char *) 0 ;
11135 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
11136 apr_pool_t *_global_pool ;
11137 void *argp1 = 0 ;
11138 int res1 = 0 ;
11139 int res2 ;
11140 char *buf2 = 0 ;
11141 int alloc2 = 0 ;
11142 int argvi = 0;
11143 svn_error_t *result = 0 ;
11144 dXSARGS;
11145
11146 {
11147 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
11148 SPAGAIN;
11149 }
11150 if ((items < 2) || (items > 3)) {
11151 SWIG_croak("Usage: svn_fs_make_file(root,path,pool);");
11152 }
11153 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
11154 if (!SWIG_IsOK(res1)) {
11155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_make_file" "', argument " "1"" of type '" "svn_fs_root_t *""'");
11156 }
11157 arg1 = (svn_fs_root_t *)(argp1);
11158 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
11159 if (!SWIG_IsOK(res2)) {
11160 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_make_file" "', argument " "2"" of type '" "char const *""'");
11161 }
11162 arg2 = (char *)(buf2);
11163 if (items > 2) {
11164
11165 }
11166 {
11167 result = (svn_error_t *)svn_fs_make_file(arg1,(char const *)arg2,arg3);
11168
11169
11170
11171 }
11172 {
11173 if (result) {
11174 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
11175
11176 if (SvOK(exception_handler)) {
11177 SV *callback_result;
11178
11179 PUTBACK;
11180 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
11181 &callback_result, "S", result,
11182 SWIGTYPE_p_svn_error_t);
11183 SPAGAIN;
11184 } else {
11185 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
11186 argvi++;
11187 }
11188 }
11189 }
11190
11191 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11192
11193 XSRETURN(argvi);
11194 fail:
11195
11196 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11197
11198 SWIG_croak_null();
11199 }
11200 }
11201
11202
XS(_wrap_svn_fs_apply_textdelta)11203 XS(_wrap_svn_fs_apply_textdelta) {
11204 {
11205 svn_txdelta_window_handler_t *arg1 = (svn_txdelta_window_handler_t *) 0 ;
11206 void **arg2 = (void **) 0 ;
11207 svn_fs_root_t *arg3 = (svn_fs_root_t *) 0 ;
11208 char *arg4 = (char *) 0 ;
11209 char *arg5 = (char *) 0 ;
11210 char *arg6 = (char *) 0 ;
11211 apr_pool_t *arg7 = (apr_pool_t *) 0 ;
11212 apr_pool_t *_global_pool ;
11213 svn_txdelta_window_handler_t temp1 ;
11214 void *temp2 ;
11215 void *argp3 = 0 ;
11216 int res3 = 0 ;
11217 int res4 ;
11218 char *buf4 = 0 ;
11219 int alloc4 = 0 ;
11220 int res5 ;
11221 char *buf5 = 0 ;
11222 int alloc5 = 0 ;
11223 int res6 ;
11224 char *buf6 = 0 ;
11225 int alloc6 = 0 ;
11226 int argvi = 0;
11227 svn_error_t *result = 0 ;
11228 dXSARGS;
11229
11230 {
11231 _global_pool = arg7 = svn_swig_pl_make_pool (ST(items-1));
11232 SPAGAIN;
11233 }
11234 arg1 = &temp1;
11235 arg2 = &temp2;
11236 if ((items < 4) || (items > 5)) {
11237 SWIG_croak("Usage: svn_fs_apply_textdelta(root,path,base_checksum,result_checksum,pool);");
11238 }
11239 res3 = SWIG_ConvertPtr(ST(0), &argp3,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
11240 if (!SWIG_IsOK(res3)) {
11241 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_apply_textdelta" "', argument " "3"" of type '" "svn_fs_root_t *""'");
11242 }
11243 arg3 = (svn_fs_root_t *)(argp3);
11244 res4 = SWIG_AsCharPtrAndSize(ST(1), &buf4, NULL, &alloc4);
11245 if (!SWIG_IsOK(res4)) {
11246 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "svn_fs_apply_textdelta" "', argument " "4"" of type '" "char const *""'");
11247 }
11248 arg4 = (char *)(buf4);
11249 res5 = SWIG_AsCharPtrAndSize(ST(2), &buf5, NULL, &alloc5);
11250 if (!SWIG_IsOK(res5)) {
11251 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "svn_fs_apply_textdelta" "', argument " "5"" of type '" "char const *""'");
11252 }
11253 arg5 = (char *)(buf5);
11254 res6 = SWIG_AsCharPtrAndSize(ST(3), &buf6, NULL, &alloc6);
11255 if (!SWIG_IsOK(res6)) {
11256 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "svn_fs_apply_textdelta" "', argument " "6"" of type '" "char const *""'");
11257 }
11258 arg6 = (char *)(buf6);
11259 if (items > 4) {
11260
11261 }
11262 {
11263 result = (svn_error_t *)svn_fs_apply_textdelta(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,arg7);
11264
11265
11266
11267 }
11268 {
11269 if (result) {
11270 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
11271
11272 if (SvOK(exception_handler)) {
11273 SV *callback_result;
11274
11275 PUTBACK;
11276 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
11277 &callback_result, "S", result,
11278 SWIGTYPE_p_svn_error_t);
11279 SPAGAIN;
11280 } else {
11281 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
11282 argvi++;
11283 }
11284 }
11285 }
11286 {
11287 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t, 0); argvi++ ;
11288 }
11289 {
11290 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg2, SWIGTYPE_p_void, 0); argvi++ ;
11291 }
11292
11293
11294
11295 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
11296 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
11297 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
11298
11299 XSRETURN(argvi);
11300 fail:
11301
11302
11303
11304 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
11305 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
11306 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
11307
11308 SWIG_croak_null();
11309 }
11310 }
11311
11312
XS(_wrap_svn_fs_apply_text)11313 XS(_wrap_svn_fs_apply_text) {
11314 {
11315 svn_stream_t **arg1 = (svn_stream_t **) 0 ;
11316 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
11317 char *arg3 = (char *) 0 ;
11318 char *arg4 = (char *) 0 ;
11319 apr_pool_t *arg5 = (apr_pool_t *) 0 ;
11320 apr_pool_t *_global_pool ;
11321 svn_stream_t *temp1 ;
11322 void *argp2 = 0 ;
11323 int res2 = 0 ;
11324 int res3 ;
11325 char *buf3 = 0 ;
11326 int alloc3 = 0 ;
11327 int res4 ;
11328 char *buf4 = 0 ;
11329 int alloc4 = 0 ;
11330 int argvi = 0;
11331 svn_error_t *result = 0 ;
11332 dXSARGS;
11333
11334 {
11335 _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
11336 SPAGAIN;
11337 }
11338 arg1 = &temp1;
11339 if ((items < 3) || (items > 4)) {
11340 SWIG_croak("Usage: svn_fs_apply_text(root,path,result_checksum,pool);");
11341 }
11342 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
11343 if (!SWIG_IsOK(res2)) {
11344 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_apply_text" "', argument " "2"" of type '" "svn_fs_root_t *""'");
11345 }
11346 arg2 = (svn_fs_root_t *)(argp2);
11347 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
11348 if (!SWIG_IsOK(res3)) {
11349 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_apply_text" "', argument " "3"" of type '" "char const *""'");
11350 }
11351 arg3 = (char *)(buf3);
11352 res4 = SWIG_AsCharPtrAndSize(ST(2), &buf4, NULL, &alloc4);
11353 if (!SWIG_IsOK(res4)) {
11354 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "svn_fs_apply_text" "', argument " "4"" of type '" "char const *""'");
11355 }
11356 arg4 = (char *)(buf4);
11357 if (items > 3) {
11358
11359 }
11360 {
11361 result = (svn_error_t *)svn_fs_apply_text(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5);
11362
11363
11364
11365 }
11366 {
11367 if (result) {
11368 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
11369
11370 if (SvOK(exception_handler)) {
11371 SV *callback_result;
11372
11373 PUTBACK;
11374 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
11375 &callback_result, "S", result,
11376 SWIGTYPE_p_svn_error_t);
11377 SPAGAIN;
11378 } else {
11379 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
11380 argvi++;
11381 }
11382 }
11383 }
11384 {
11385 SV *tmp;
11386 PUTBACK;
11387 tmp = svn_swig_pl_from_stream(*arg1);
11388 SPAGAIN;
11389 if (argvi >= items) EXTEND(sp,1); ST(argvi) = tmp; argvi++ ;
11390 }
11391
11392
11393 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11394 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
11395
11396 XSRETURN(argvi);
11397 fail:
11398
11399
11400 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11401 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
11402
11403 SWIG_croak_null();
11404 }
11405 }
11406
11407
XS(_wrap_svn_fs_contents_different)11408 XS(_wrap_svn_fs_contents_different) {
11409 {
11410 svn_boolean_t *arg1 = (svn_boolean_t *) 0 ;
11411 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
11412 char *arg3 = (char *) 0 ;
11413 svn_fs_root_t *arg4 = (svn_fs_root_t *) 0 ;
11414 char *arg5 = (char *) 0 ;
11415 apr_pool_t *arg6 = (apr_pool_t *) 0 ;
11416 apr_pool_t *_global_pool ;
11417 svn_boolean_t temp1 ;
11418 int res1 = SWIG_TMPOBJ ;
11419 void *argp2 = 0 ;
11420 int res2 = 0 ;
11421 int res3 ;
11422 char *buf3 = 0 ;
11423 int alloc3 = 0 ;
11424 void *argp4 = 0 ;
11425 int res4 = 0 ;
11426 int res5 ;
11427 char *buf5 = 0 ;
11428 int alloc5 = 0 ;
11429 int argvi = 0;
11430 svn_error_t *result = 0 ;
11431 dXSARGS;
11432
11433 {
11434 _global_pool = arg6 = svn_swig_pl_make_pool (ST(items-1));
11435 SPAGAIN;
11436 }
11437 arg1 = &temp1;
11438 if ((items < 4) || (items > 5)) {
11439 SWIG_croak("Usage: svn_fs_contents_different(root1,path1,root2,path2,scratch_pool);");
11440 }
11441 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
11442 if (!SWIG_IsOK(res2)) {
11443 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_contents_different" "', argument " "2"" of type '" "svn_fs_root_t *""'");
11444 }
11445 arg2 = (svn_fs_root_t *)(argp2);
11446 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
11447 if (!SWIG_IsOK(res3)) {
11448 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_contents_different" "', argument " "3"" of type '" "char const *""'");
11449 }
11450 arg3 = (char *)(buf3);
11451 res4 = SWIG_ConvertPtr(ST(2), &argp4,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
11452 if (!SWIG_IsOK(res4)) {
11453 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "svn_fs_contents_different" "', argument " "4"" of type '" "svn_fs_root_t *""'");
11454 }
11455 arg4 = (svn_fs_root_t *)(argp4);
11456 res5 = SWIG_AsCharPtrAndSize(ST(3), &buf5, NULL, &alloc5);
11457 if (!SWIG_IsOK(res5)) {
11458 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "svn_fs_contents_different" "', argument " "5"" of type '" "char const *""'");
11459 }
11460 arg5 = (char *)(buf5);
11461 if (items > 4) {
11462
11463 }
11464 {
11465 result = (svn_error_t *)svn_fs_contents_different(arg1,arg2,(char const *)arg3,arg4,(char const *)arg5,arg6);
11466
11467
11468
11469 }
11470 {
11471 if (result) {
11472 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
11473
11474 if (SvOK(exception_handler)) {
11475 SV *callback_result;
11476
11477 PUTBACK;
11478 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
11479 &callback_result, "S", result,
11480 SWIGTYPE_p_svn_error_t);
11481 SPAGAIN;
11482 } else {
11483 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
11484 argvi++;
11485 }
11486 }
11487 }
11488 if (SWIG_IsTmpObj(res1)) {
11489 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((*arg1)); argvi++ ;
11490 } else {
11491 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0) : 0;
11492 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags); argvi++ ;
11493 }
11494
11495
11496 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11497
11498 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
11499
11500 XSRETURN(argvi);
11501 fail:
11502
11503
11504 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11505
11506 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
11507
11508 SWIG_croak_null();
11509 }
11510 }
11511
11512
XS(_wrap_svn_fs_contents_changed)11513 XS(_wrap_svn_fs_contents_changed) {
11514 {
11515 svn_boolean_t *arg1 = (svn_boolean_t *) 0 ;
11516 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
11517 char *arg3 = (char *) 0 ;
11518 svn_fs_root_t *arg4 = (svn_fs_root_t *) 0 ;
11519 char *arg5 = (char *) 0 ;
11520 apr_pool_t *arg6 = (apr_pool_t *) 0 ;
11521 apr_pool_t *_global_pool ;
11522 svn_boolean_t temp1 ;
11523 int res1 = SWIG_TMPOBJ ;
11524 void *argp2 = 0 ;
11525 int res2 = 0 ;
11526 int res3 ;
11527 char *buf3 = 0 ;
11528 int alloc3 = 0 ;
11529 void *argp4 = 0 ;
11530 int res4 = 0 ;
11531 int res5 ;
11532 char *buf5 = 0 ;
11533 int alloc5 = 0 ;
11534 int argvi = 0;
11535 svn_error_t *result = 0 ;
11536 dXSARGS;
11537
11538 {
11539 _global_pool = arg6 = svn_swig_pl_make_pool (ST(items-1));
11540 SPAGAIN;
11541 }
11542 arg1 = &temp1;
11543 if ((items < 4) || (items > 5)) {
11544 SWIG_croak("Usage: svn_fs_contents_changed(root1,path1,root2,path2,pool);");
11545 }
11546 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
11547 if (!SWIG_IsOK(res2)) {
11548 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_contents_changed" "', argument " "2"" of type '" "svn_fs_root_t *""'");
11549 }
11550 arg2 = (svn_fs_root_t *)(argp2);
11551 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
11552 if (!SWIG_IsOK(res3)) {
11553 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_contents_changed" "', argument " "3"" of type '" "char const *""'");
11554 }
11555 arg3 = (char *)(buf3);
11556 res4 = SWIG_ConvertPtr(ST(2), &argp4,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
11557 if (!SWIG_IsOK(res4)) {
11558 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "svn_fs_contents_changed" "', argument " "4"" of type '" "svn_fs_root_t *""'");
11559 }
11560 arg4 = (svn_fs_root_t *)(argp4);
11561 res5 = SWIG_AsCharPtrAndSize(ST(3), &buf5, NULL, &alloc5);
11562 if (!SWIG_IsOK(res5)) {
11563 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "svn_fs_contents_changed" "', argument " "5"" of type '" "char const *""'");
11564 }
11565 arg5 = (char *)(buf5);
11566 if (items > 4) {
11567
11568 }
11569 {
11570 result = (svn_error_t *)svn_fs_contents_changed(arg1,arg2,(char const *)arg3,arg4,(char const *)arg5,arg6);
11571
11572
11573
11574 }
11575 {
11576 if (result) {
11577 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
11578
11579 if (SvOK(exception_handler)) {
11580 SV *callback_result;
11581
11582 PUTBACK;
11583 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
11584 &callback_result, "S", result,
11585 SWIGTYPE_p_svn_error_t);
11586 SPAGAIN;
11587 } else {
11588 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
11589 argvi++;
11590 }
11591 }
11592 }
11593 if (SWIG_IsTmpObj(res1)) {
11594 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((*arg1)); argvi++ ;
11595 } else {
11596 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0) : 0;
11597 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags); argvi++ ;
11598 }
11599
11600
11601 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11602
11603 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
11604
11605 XSRETURN(argvi);
11606 fail:
11607
11608
11609 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11610
11611 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
11612
11613 SWIG_croak_null();
11614 }
11615 }
11616
11617
XS(_wrap_svn_fs_youngest_rev)11618 XS(_wrap_svn_fs_youngest_rev) {
11619 {
11620 svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
11621 svn_fs_t *arg2 = (svn_fs_t *) 0 ;
11622 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
11623 apr_pool_t *_global_pool ;
11624 svn_revnum_t temp1 ;
11625 int res1 = SWIG_TMPOBJ ;
11626 void *argp2 = 0 ;
11627 int res2 = 0 ;
11628 int argvi = 0;
11629 svn_error_t *result = 0 ;
11630 dXSARGS;
11631
11632 {
11633 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
11634 SPAGAIN;
11635 }
11636 arg1 = &temp1;
11637 if ((items < 1) || (items > 2)) {
11638 SWIG_croak("Usage: svn_fs_youngest_rev(fs,pool);");
11639 }
11640 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_t, 0 | 0 );
11641 if (!SWIG_IsOK(res2)) {
11642 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_youngest_rev" "', argument " "2"" of type '" "svn_fs_t *""'");
11643 }
11644 arg2 = (svn_fs_t *)(argp2);
11645 if (items > 1) {
11646
11647 }
11648 {
11649 result = (svn_error_t *)svn_fs_youngest_rev(arg1,arg2,arg3);
11650
11651
11652
11653 }
11654 {
11655 if (result) {
11656 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
11657
11658 if (SvOK(exception_handler)) {
11659 SV *callback_result;
11660
11661 PUTBACK;
11662 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
11663 &callback_result, "S", result,
11664 SWIGTYPE_p_svn_error_t);
11665 SPAGAIN;
11666 } else {
11667 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
11668 argvi++;
11669 }
11670 }
11671 }
11672 if (SWIG_IsTmpObj(res1)) {
11673 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_long SWIG_PERL_CALL_ARGS_1((*arg1)); argvi++ ;
11674 } else {
11675 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0) : 0;
11676 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags); argvi++ ;
11677 }
11678
11679
11680
11681 XSRETURN(argvi);
11682 fail:
11683
11684
11685
11686 SWIG_croak_null();
11687 }
11688 }
11689
11690
XS(_wrap_svn_fs_info_format)11691 XS(_wrap_svn_fs_info_format) {
11692 {
11693 int *arg1 = (int *) 0 ;
11694 svn_version_t **arg2 = (svn_version_t **) 0 ;
11695 svn_fs_t *arg3 = (svn_fs_t *) 0 ;
11696 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
11697 apr_pool_t *arg5 = (apr_pool_t *) 0 ;
11698 apr_pool_t *_global_pool ;
11699 int temp1 ;
11700 int res1 = SWIG_TMPOBJ ;
11701 svn_version_t *temp2 ;
11702 void *argp3 = 0 ;
11703 int res3 = 0 ;
11704 int argvi = 0;
11705 svn_error_t *result = 0 ;
11706 dXSARGS;
11707
11708 {
11709 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
11710 SPAGAIN;
11711 }
11712 {
11713 _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
11714 SPAGAIN;
11715 }
11716 arg1 = &temp1;
11717 arg2 = &temp2;
11718 if ((items < 1) || (items > 3)) {
11719 SWIG_croak("Usage: svn_fs_info_format(fs,result_pool,scratch_pool);");
11720 }
11721 res3 = SWIG_ConvertPtr(ST(0), &argp3,SWIGTYPE_p_svn_fs_t, 0 | 0 );
11722 if (!SWIG_IsOK(res3)) {
11723 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_info_format" "', argument " "3"" of type '" "svn_fs_t *""'");
11724 }
11725 arg3 = (svn_fs_t *)(argp3);
11726 if (items > 1) {
11727
11728 }
11729 if (items > 2) {
11730
11731 }
11732 {
11733 result = (svn_error_t *)svn_fs_info_format(arg1,arg2,arg3,arg4,arg5);
11734
11735
11736
11737 }
11738 {
11739 if (result) {
11740 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
11741
11742 if (SvOK(exception_handler)) {
11743 SV *callback_result;
11744
11745 PUTBACK;
11746 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
11747 &callback_result, "S", result,
11748 SWIGTYPE_p_svn_error_t);
11749 SPAGAIN;
11750 } else {
11751 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
11752 argvi++;
11753 }
11754 }
11755 }
11756 if (SWIG_IsTmpObj(res1)) {
11757 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((*arg1)); argvi++ ;
11758 } else {
11759 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0) : 0;
11760 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags); argvi++ ;
11761 }
11762 {
11763 /* FIXME: Missing argout typemap: svn_fs_info_format arg 2 (svn_version_t **) */
11764
11765
11766
11767
11768 SWIG_exception(SWIG_ValueError, "svn_fs_info_format is not implemented yet");
11769
11770 }
11771
11772
11773
11774
11775
11776 XSRETURN(argvi);
11777 fail:
11778
11779
11780
11781
11782
11783 SWIG_croak_null();
11784 }
11785 }
11786
11787
XS(_wrap_svn_fs_info_config_files)11788 XS(_wrap_svn_fs_info_config_files) {
11789 {
11790 apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
11791 svn_fs_t *arg2 = (svn_fs_t *) 0 ;
11792 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
11793 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
11794 apr_pool_t *_global_pool ;
11795 apr_array_header_t *temp1 ;
11796 void *argp2 = 0 ;
11797 int res2 = 0 ;
11798 int argvi = 0;
11799 svn_error_t *result = 0 ;
11800 dXSARGS;
11801
11802 {
11803 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
11804 SPAGAIN;
11805 }
11806 {
11807 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
11808 SPAGAIN;
11809 }
11810 arg1 = &temp1;
11811 if ((items < 1) || (items > 3)) {
11812 SWIG_croak("Usage: svn_fs_info_config_files(fs,result_pool,scratch_pool);");
11813 }
11814 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_t, 0 | 0 );
11815 if (!SWIG_IsOK(res2)) {
11816 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_info_config_files" "', argument " "2"" of type '" "svn_fs_t *""'");
11817 }
11818 arg2 = (svn_fs_t *)(argp2);
11819 if (items > 1) {
11820
11821 }
11822 if (items > 2) {
11823
11824 }
11825 {
11826 result = (svn_error_t *)svn_fs_info_config_files(arg1,arg2,arg3,arg4);
11827
11828
11829
11830 }
11831 {
11832 if (result) {
11833 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
11834
11835 if (SvOK(exception_handler)) {
11836 SV *callback_result;
11837
11838 PUTBACK;
11839 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
11840 &callback_result, "S", result,
11841 SWIGTYPE_p_svn_error_t);
11842 SPAGAIN;
11843 } else {
11844 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
11845 argvi++;
11846 }
11847 }
11848 }
11849 {
11850 /* FIXME: Missing argout typemap: svn_fs_info_config_files arg 1 (apr_array_header_t **) */
11851
11852
11853
11854
11855 SWIG_exception(SWIG_ValueError, "svn_fs_info_config_files is not implemented yet");
11856
11857 }
11858
11859
11860
11861
11862 XSRETURN(argvi);
11863 fail:
11864
11865
11866
11867
11868 SWIG_croak_null();
11869 }
11870 }
11871
11872
XS(_wrap_svn_fs_deltify_revision)11873 XS(_wrap_svn_fs_deltify_revision) {
11874 {
11875 svn_fs_t *arg1 = (svn_fs_t *) 0 ;
11876 svn_revnum_t arg2 ;
11877 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
11878 apr_pool_t *_global_pool ;
11879 void *argp1 = 0 ;
11880 int res1 = 0 ;
11881 long val2 ;
11882 int ecode2 = 0 ;
11883 int argvi = 0;
11884 svn_error_t *result = 0 ;
11885 dXSARGS;
11886
11887 {
11888 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
11889 SPAGAIN;
11890 }
11891 if ((items < 2) || (items > 3)) {
11892 SWIG_croak("Usage: svn_fs_deltify_revision(fs,revision,pool);");
11893 }
11894 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_t, 0 | 0 );
11895 if (!SWIG_IsOK(res1)) {
11896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_deltify_revision" "', argument " "1"" of type '" "svn_fs_t *""'");
11897 }
11898 arg1 = (svn_fs_t *)(argp1);
11899 ecode2 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11900 if (!SWIG_IsOK(ecode2)) {
11901 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_deltify_revision" "', argument " "2"" of type '" "svn_revnum_t""'");
11902 }
11903 arg2 = (svn_revnum_t)(val2);
11904 if (items > 2) {
11905
11906 }
11907 {
11908 result = (svn_error_t *)svn_fs_deltify_revision(arg1,arg2,arg3);
11909
11910
11911
11912 }
11913 {
11914 if (result) {
11915 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
11916
11917 if (SvOK(exception_handler)) {
11918 SV *callback_result;
11919
11920 PUTBACK;
11921 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
11922 &callback_result, "S", result,
11923 SWIGTYPE_p_svn_error_t);
11924 SPAGAIN;
11925 } else {
11926 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
11927 argvi++;
11928 }
11929 }
11930 }
11931
11932
11933
11934 XSRETURN(argvi);
11935 fail:
11936
11937
11938
11939 SWIG_croak_null();
11940 }
11941 }
11942
11943
XS(_wrap_svn_fs_refresh_revision_props)11944 XS(_wrap_svn_fs_refresh_revision_props) {
11945 {
11946 svn_fs_t *arg1 = (svn_fs_t *) 0 ;
11947 apr_pool_t *arg2 = (apr_pool_t *) 0 ;
11948 apr_pool_t *_global_pool ;
11949 void *argp1 = 0 ;
11950 int res1 = 0 ;
11951 int argvi = 0;
11952 svn_error_t *result = 0 ;
11953 dXSARGS;
11954
11955 {
11956 _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
11957 SPAGAIN;
11958 }
11959 if ((items < 1) || (items > 2)) {
11960 SWIG_croak("Usage: svn_fs_refresh_revision_props(fs,scratch_pool);");
11961 }
11962 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_t, 0 | 0 );
11963 if (!SWIG_IsOK(res1)) {
11964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_refresh_revision_props" "', argument " "1"" of type '" "svn_fs_t *""'");
11965 }
11966 arg1 = (svn_fs_t *)(argp1);
11967 if (items > 1) {
11968
11969 }
11970 {
11971 result = (svn_error_t *)svn_fs_refresh_revision_props(arg1,arg2);
11972
11973
11974
11975 }
11976 {
11977 if (result) {
11978 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
11979
11980 if (SvOK(exception_handler)) {
11981 SV *callback_result;
11982
11983 PUTBACK;
11984 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
11985 &callback_result, "S", result,
11986 SWIGTYPE_p_svn_error_t);
11987 SPAGAIN;
11988 } else {
11989 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
11990 argvi++;
11991 }
11992 }
11993 }
11994
11995
11996 XSRETURN(argvi);
11997 fail:
11998
11999
12000 SWIG_croak_null();
12001 }
12002 }
12003
12004
XS(_wrap_svn_fs_revision_prop2)12005 XS(_wrap_svn_fs_revision_prop2) {
12006 {
12007 svn_string_t **arg1 = (svn_string_t **) 0 ;
12008 svn_fs_t *arg2 = (svn_fs_t *) 0 ;
12009 svn_revnum_t arg3 ;
12010 char *arg4 = (char *) 0 ;
12011 svn_boolean_t arg5 ;
12012 apr_pool_t *arg6 = (apr_pool_t *) 0 ;
12013 apr_pool_t *arg7 = (apr_pool_t *) 0 ;
12014 apr_pool_t *_global_pool ;
12015 svn_string_t *temp1 ;
12016 void *argp2 = 0 ;
12017 int res2 = 0 ;
12018 long val3 ;
12019 int ecode3 = 0 ;
12020 int res4 ;
12021 char *buf4 = 0 ;
12022 int alloc4 = 0 ;
12023 int val5 ;
12024 int ecode5 = 0 ;
12025 int argvi = 0;
12026 svn_error_t *result = 0 ;
12027 dXSARGS;
12028
12029 {
12030 _global_pool = arg6 = svn_swig_pl_make_pool (ST(items-1));
12031 SPAGAIN;
12032 }
12033 {
12034 _global_pool = arg7 = svn_swig_pl_make_pool (ST(items-1));
12035 SPAGAIN;
12036 }
12037 arg1 = &temp1;
12038 if ((items < 4) || (items > 6)) {
12039 SWIG_croak("Usage: svn_fs_revision_prop2(fs,rev,propname,refresh,result_pool,scratch_pool);");
12040 }
12041 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_t, 0 | 0 );
12042 if (!SWIG_IsOK(res2)) {
12043 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_revision_prop2" "', argument " "2"" of type '" "svn_fs_t *""'");
12044 }
12045 arg2 = (svn_fs_t *)(argp2);
12046 ecode3 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(1), &val3);
12047 if (!SWIG_IsOK(ecode3)) {
12048 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_fs_revision_prop2" "', argument " "3"" of type '" "svn_revnum_t""'");
12049 }
12050 arg3 = (svn_revnum_t)(val3);
12051 res4 = SWIG_AsCharPtrAndSize(ST(2), &buf4, NULL, &alloc4);
12052 if (!SWIG_IsOK(res4)) {
12053 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "svn_fs_revision_prop2" "', argument " "4"" of type '" "char const *""'");
12054 }
12055 arg4 = (char *)(buf4);
12056 ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val5);
12057 if (!SWIG_IsOK(ecode5)) {
12058 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "svn_fs_revision_prop2" "', argument " "5"" of type '" "svn_boolean_t""'");
12059 }
12060 arg5 = (svn_boolean_t)(val5);
12061 if (items > 4) {
12062
12063 }
12064 if (items > 5) {
12065
12066 }
12067 {
12068 result = (svn_error_t *)svn_fs_revision_prop2(arg1,arg2,arg3,(char const *)arg4,arg5,arg6,arg7);
12069
12070
12071
12072 }
12073 {
12074 if (result) {
12075 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
12076
12077 if (SvOK(exception_handler)) {
12078 SV *callback_result;
12079
12080 PUTBACK;
12081 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
12082 &callback_result, "S", result,
12083 SWIGTYPE_p_svn_error_t);
12084 SPAGAIN;
12085 } else {
12086 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
12087 argvi++;
12088 }
12089 }
12090 }
12091 {
12092 if (*arg1) {
12093 if (argvi >= items) EXTEND(sp,1); ST(argvi) = sv_2mortal(newSVpvn((*arg1)->data, (*arg1)->len)); argvi++ ;
12094 } else {
12095 if (argvi >= items) EXTEND(sp,1); ST(argvi) = &PL_sv_undef; argvi++ ;
12096 }
12097 }
12098
12099
12100
12101 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
12102
12103
12104
12105 XSRETURN(argvi);
12106 fail:
12107
12108
12109
12110 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
12111
12112
12113
12114 SWIG_croak_null();
12115 }
12116 }
12117
12118
XS(_wrap_svn_fs_revision_prop)12119 XS(_wrap_svn_fs_revision_prop) {
12120 {
12121 svn_string_t **arg1 = (svn_string_t **) 0 ;
12122 svn_fs_t *arg2 = (svn_fs_t *) 0 ;
12123 svn_revnum_t arg3 ;
12124 char *arg4 = (char *) 0 ;
12125 apr_pool_t *arg5 = (apr_pool_t *) 0 ;
12126 apr_pool_t *_global_pool ;
12127 svn_string_t *temp1 ;
12128 void *argp2 = 0 ;
12129 int res2 = 0 ;
12130 long val3 ;
12131 int ecode3 = 0 ;
12132 int res4 ;
12133 char *buf4 = 0 ;
12134 int alloc4 = 0 ;
12135 int argvi = 0;
12136 svn_error_t *result = 0 ;
12137 dXSARGS;
12138
12139 {
12140 _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
12141 SPAGAIN;
12142 }
12143 arg1 = &temp1;
12144 if ((items < 3) || (items > 4)) {
12145 SWIG_croak("Usage: svn_fs_revision_prop(fs,rev,propname,pool);");
12146 }
12147 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_t, 0 | 0 );
12148 if (!SWIG_IsOK(res2)) {
12149 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_revision_prop" "', argument " "2"" of type '" "svn_fs_t *""'");
12150 }
12151 arg2 = (svn_fs_t *)(argp2);
12152 ecode3 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(1), &val3);
12153 if (!SWIG_IsOK(ecode3)) {
12154 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_fs_revision_prop" "', argument " "3"" of type '" "svn_revnum_t""'");
12155 }
12156 arg3 = (svn_revnum_t)(val3);
12157 res4 = SWIG_AsCharPtrAndSize(ST(2), &buf4, NULL, &alloc4);
12158 if (!SWIG_IsOK(res4)) {
12159 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "svn_fs_revision_prop" "', argument " "4"" of type '" "char const *""'");
12160 }
12161 arg4 = (char *)(buf4);
12162 if (items > 3) {
12163
12164 }
12165 {
12166 result = (svn_error_t *)svn_fs_revision_prop(arg1,arg2,arg3,(char const *)arg4,arg5);
12167
12168
12169
12170 }
12171 {
12172 if (result) {
12173 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
12174
12175 if (SvOK(exception_handler)) {
12176 SV *callback_result;
12177
12178 PUTBACK;
12179 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
12180 &callback_result, "S", result,
12181 SWIGTYPE_p_svn_error_t);
12182 SPAGAIN;
12183 } else {
12184 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
12185 argvi++;
12186 }
12187 }
12188 }
12189 {
12190 if (*arg1) {
12191 if (argvi >= items) EXTEND(sp,1); ST(argvi) = sv_2mortal(newSVpvn((*arg1)->data, (*arg1)->len)); argvi++ ;
12192 } else {
12193 if (argvi >= items) EXTEND(sp,1); ST(argvi) = &PL_sv_undef; argvi++ ;
12194 }
12195 }
12196
12197
12198
12199 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
12200
12201 XSRETURN(argvi);
12202 fail:
12203
12204
12205
12206 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
12207
12208 SWIG_croak_null();
12209 }
12210 }
12211
12212
XS(_wrap_svn_fs_revision_proplist2)12213 XS(_wrap_svn_fs_revision_proplist2) {
12214 {
12215 apr_hash_t **arg1 = (apr_hash_t **) 0 ;
12216 svn_fs_t *arg2 = (svn_fs_t *) 0 ;
12217 svn_revnum_t arg3 ;
12218 svn_boolean_t arg4 ;
12219 apr_pool_t *arg5 = (apr_pool_t *) 0 ;
12220 apr_pool_t *arg6 = (apr_pool_t *) 0 ;
12221 apr_pool_t *_global_pool ;
12222 apr_hash_t *temp1 ;
12223 void *argp2 = 0 ;
12224 int res2 = 0 ;
12225 long val3 ;
12226 int ecode3 = 0 ;
12227 int val4 ;
12228 int ecode4 = 0 ;
12229 int argvi = 0;
12230 svn_error_t *result = 0 ;
12231 dXSARGS;
12232
12233 {
12234 _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
12235 SPAGAIN;
12236 }
12237 {
12238 _global_pool = arg6 = svn_swig_pl_make_pool (ST(items-1));
12239 SPAGAIN;
12240 }
12241 arg1 = &temp1;
12242 if ((items < 3) || (items > 5)) {
12243 SWIG_croak("Usage: svn_fs_revision_proplist2(fs,rev,refresh,result_pool,scratch_pool);");
12244 }
12245 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_t, 0 | 0 );
12246 if (!SWIG_IsOK(res2)) {
12247 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_revision_proplist2" "', argument " "2"" of type '" "svn_fs_t *""'");
12248 }
12249 arg2 = (svn_fs_t *)(argp2);
12250 ecode3 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(1), &val3);
12251 if (!SWIG_IsOK(ecode3)) {
12252 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_fs_revision_proplist2" "', argument " "3"" of type '" "svn_revnum_t""'");
12253 }
12254 arg3 = (svn_revnum_t)(val3);
12255 ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val4);
12256 if (!SWIG_IsOK(ecode4)) {
12257 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "svn_fs_revision_proplist2" "', argument " "4"" of type '" "svn_boolean_t""'");
12258 }
12259 arg4 = (svn_boolean_t)(val4);
12260 if (items > 3) {
12261
12262 }
12263 if (items > 4) {
12264
12265 }
12266 {
12267 result = (svn_error_t *)svn_fs_revision_proplist2(arg1,arg2,arg3,arg4,arg5,arg6);
12268
12269
12270
12271 }
12272 {
12273 if (result) {
12274 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
12275
12276 if (SvOK(exception_handler)) {
12277 SV *callback_result;
12278
12279 PUTBACK;
12280 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
12281 &callback_result, "S", result,
12282 SWIGTYPE_p_svn_error_t);
12283 SPAGAIN;
12284 } else {
12285 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
12286 argvi++;
12287 }
12288 }
12289 }
12290 {
12291 if (argvi >= items) EXTEND(sp,1); ST(argvi) = svn_swig_pl_prophash_to_hash(*arg1); argvi++ ;
12292 }
12293
12294
12295
12296
12297
12298
12299 XSRETURN(argvi);
12300 fail:
12301
12302
12303
12304
12305
12306
12307 SWIG_croak_null();
12308 }
12309 }
12310
12311
XS(_wrap_svn_fs_revision_proplist)12312 XS(_wrap_svn_fs_revision_proplist) {
12313 {
12314 apr_hash_t **arg1 = (apr_hash_t **) 0 ;
12315 svn_fs_t *arg2 = (svn_fs_t *) 0 ;
12316 svn_revnum_t arg3 ;
12317 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
12318 apr_pool_t *_global_pool ;
12319 apr_hash_t *temp1 ;
12320 void *argp2 = 0 ;
12321 int res2 = 0 ;
12322 long val3 ;
12323 int ecode3 = 0 ;
12324 int argvi = 0;
12325 svn_error_t *result = 0 ;
12326 dXSARGS;
12327
12328 {
12329 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
12330 SPAGAIN;
12331 }
12332 arg1 = &temp1;
12333 if ((items < 2) || (items > 3)) {
12334 SWIG_croak("Usage: svn_fs_revision_proplist(fs,rev,pool);");
12335 }
12336 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_t, 0 | 0 );
12337 if (!SWIG_IsOK(res2)) {
12338 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_revision_proplist" "', argument " "2"" of type '" "svn_fs_t *""'");
12339 }
12340 arg2 = (svn_fs_t *)(argp2);
12341 ecode3 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(1), &val3);
12342 if (!SWIG_IsOK(ecode3)) {
12343 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_fs_revision_proplist" "', argument " "3"" of type '" "svn_revnum_t""'");
12344 }
12345 arg3 = (svn_revnum_t)(val3);
12346 if (items > 2) {
12347
12348 }
12349 {
12350 result = (svn_error_t *)svn_fs_revision_proplist(arg1,arg2,arg3,arg4);
12351
12352
12353
12354 }
12355 {
12356 if (result) {
12357 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
12358
12359 if (SvOK(exception_handler)) {
12360 SV *callback_result;
12361
12362 PUTBACK;
12363 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
12364 &callback_result, "S", result,
12365 SWIGTYPE_p_svn_error_t);
12366 SPAGAIN;
12367 } else {
12368 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
12369 argvi++;
12370 }
12371 }
12372 }
12373 {
12374 if (argvi >= items) EXTEND(sp,1); ST(argvi) = svn_swig_pl_prophash_to_hash(*arg1); argvi++ ;
12375 }
12376
12377
12378
12379
12380 XSRETURN(argvi);
12381 fail:
12382
12383
12384
12385
12386 SWIG_croak_null();
12387 }
12388 }
12389
12390
XS(_wrap_svn_fs_change_rev_prop2)12391 XS(_wrap_svn_fs_change_rev_prop2) {
12392 {
12393 svn_fs_t *arg1 = (svn_fs_t *) 0 ;
12394 svn_revnum_t arg2 ;
12395 char *arg3 = (char *) 0 ;
12396 svn_string_t **arg4 = (svn_string_t **) 0 ;
12397 svn_string_t *arg5 = (svn_string_t *) 0 ;
12398 apr_pool_t *arg6 = (apr_pool_t *) 0 ;
12399 apr_pool_t *_global_pool ;
12400 void *argp1 = 0 ;
12401 int res1 = 0 ;
12402 long val2 ;
12403 int ecode2 = 0 ;
12404 int res3 ;
12405 char *buf3 = 0 ;
12406 int alloc3 = 0 ;
12407 svn_string_t value5 ;
12408 int argvi = 0;
12409 SV * _saved[1] ;
12410 svn_error_t *result = 0 ;
12411 dXSARGS;
12412
12413 {
12414 _global_pool = arg6 = svn_swig_pl_make_pool (ST(items-1));
12415 SPAGAIN;
12416 }
12417 if ((items < 5) || (items > 6)) {
12418 SWIG_croak("Usage: svn_fs_change_rev_prop2(fs,rev,name,old_value_p,value,pool);");
12419 }
12420 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_t, 0 | 0 );
12421 if (!SWIG_IsOK(res1)) {
12422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_change_rev_prop2" "', argument " "1"" of type '" "svn_fs_t *""'");
12423 }
12424 arg1 = (svn_fs_t *)(argp1);
12425 ecode2 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12426 if (!SWIG_IsOK(ecode2)) {
12427 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_change_rev_prop2" "', argument " "2"" of type '" "svn_revnum_t""'");
12428 }
12429 arg2 = (svn_revnum_t)(val2);
12430 res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
12431 if (!SWIG_IsOK(res3)) {
12432 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_change_rev_prop2" "', argument " "3"" of type '" "char const *""'");
12433 }
12434 arg3 = (char *)(buf3);
12435 {
12436 SWIG_exception(SWIG_ValueError, "svn_fs_change_rev_prop2 is not implemented yet");
12437
12438 }
12439 {
12440 if (SvOK(ST(4))) {
12441 value5.data = SvPV(ST(4), value5.len);
12442 arg5 = &value5;
12443 }
12444 else {
12445 arg5 = NULL;
12446 }
12447 }
12448 if (items > 5) {
12449
12450 }
12451 _saved[0] = ST(3);
12452 {
12453 result = (svn_error_t *)svn_fs_change_rev_prop2(arg1,arg2,(char const *)arg3,(struct svn_string_t const *const *)arg4,(struct svn_string_t const *)arg5,arg6);
12454
12455
12456
12457 }
12458 {
12459 if (result) {
12460 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
12461
12462 if (SvOK(exception_handler)) {
12463 SV *callback_result;
12464
12465 PUTBACK;
12466 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
12467 &callback_result, "S", result,
12468 SWIGTYPE_p_svn_error_t);
12469 SPAGAIN;
12470 } else {
12471 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
12472 argvi++;
12473 }
12474 }
12475 }
12476 {
12477 if (*arg4) {
12478 if (argvi >= items) EXTEND(sp,1); ST(argvi) = sv_2mortal(newSVpvn((*arg4)->data, (*arg4)->len)); argvi++ ;
12479 } else {
12480 if (argvi >= items) EXTEND(sp,1); ST(argvi) = &PL_sv_undef; argvi++ ;
12481 }
12482 }
12483
12484
12485 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12486
12487
12488
12489 XSRETURN(argvi);
12490 fail:
12491
12492
12493 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12494
12495
12496
12497 SWIG_croak_null();
12498 }
12499 }
12500
12501
XS(_wrap_svn_fs_change_rev_prop)12502 XS(_wrap_svn_fs_change_rev_prop) {
12503 {
12504 svn_fs_t *arg1 = (svn_fs_t *) 0 ;
12505 svn_revnum_t arg2 ;
12506 char *arg3 = (char *) 0 ;
12507 svn_string_t *arg4 = (svn_string_t *) 0 ;
12508 apr_pool_t *arg5 = (apr_pool_t *) 0 ;
12509 apr_pool_t *_global_pool ;
12510 void *argp1 = 0 ;
12511 int res1 = 0 ;
12512 long val2 ;
12513 int ecode2 = 0 ;
12514 int res3 ;
12515 char *buf3 = 0 ;
12516 int alloc3 = 0 ;
12517 svn_string_t value4 ;
12518 int argvi = 0;
12519 svn_error_t *result = 0 ;
12520 dXSARGS;
12521
12522 {
12523 _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
12524 SPAGAIN;
12525 }
12526 if ((items < 4) || (items > 5)) {
12527 SWIG_croak("Usage: svn_fs_change_rev_prop(fs,rev,name,value,pool);");
12528 }
12529 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_t, 0 | 0 );
12530 if (!SWIG_IsOK(res1)) {
12531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_change_rev_prop" "', argument " "1"" of type '" "svn_fs_t *""'");
12532 }
12533 arg1 = (svn_fs_t *)(argp1);
12534 ecode2 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12535 if (!SWIG_IsOK(ecode2)) {
12536 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_change_rev_prop" "', argument " "2"" of type '" "svn_revnum_t""'");
12537 }
12538 arg2 = (svn_revnum_t)(val2);
12539 res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
12540 if (!SWIG_IsOK(res3)) {
12541 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_change_rev_prop" "', argument " "3"" of type '" "char const *""'");
12542 }
12543 arg3 = (char *)(buf3);
12544 {
12545 if (SvOK(ST(3))) {
12546 value4.data = SvPV(ST(3), value4.len);
12547 arg4 = &value4;
12548 }
12549 else {
12550 arg4 = NULL;
12551 }
12552 }
12553 if (items > 4) {
12554
12555 }
12556 {
12557 result = (svn_error_t *)svn_fs_change_rev_prop(arg1,arg2,(char const *)arg3,(struct svn_string_t const *)arg4,arg5);
12558
12559
12560
12561 }
12562 {
12563 if (result) {
12564 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
12565
12566 if (SvOK(exception_handler)) {
12567 SV *callback_result;
12568
12569 PUTBACK;
12570 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
12571 &callback_result, "S", result,
12572 SWIGTYPE_p_svn_error_t);
12573 SPAGAIN;
12574 } else {
12575 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
12576 argvi++;
12577 }
12578 }
12579 }
12580
12581
12582 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12583
12584
12585 XSRETURN(argvi);
12586 fail:
12587
12588
12589 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12590
12591
12592 SWIG_croak_null();
12593 }
12594 }
12595
12596
XS(_wrap_svn_fs_get_file_delta_stream)12597 XS(_wrap_svn_fs_get_file_delta_stream) {
12598 {
12599 svn_txdelta_stream_t **arg1 = (svn_txdelta_stream_t **) 0 ;
12600 svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
12601 char *arg3 = (char *) 0 ;
12602 svn_fs_root_t *arg4 = (svn_fs_root_t *) 0 ;
12603 char *arg5 = (char *) 0 ;
12604 apr_pool_t *arg6 = (apr_pool_t *) 0 ;
12605 apr_pool_t *_global_pool ;
12606 svn_txdelta_stream_t *temp1 ;
12607 void *argp2 = 0 ;
12608 int res2 = 0 ;
12609 int res3 ;
12610 char *buf3 = 0 ;
12611 int alloc3 = 0 ;
12612 void *argp4 = 0 ;
12613 int res4 = 0 ;
12614 int res5 ;
12615 char *buf5 = 0 ;
12616 int alloc5 = 0 ;
12617 int argvi = 0;
12618 svn_error_t *result = 0 ;
12619 dXSARGS;
12620
12621 {
12622 _global_pool = arg6 = svn_swig_pl_make_pool (ST(items-1));
12623 SPAGAIN;
12624 }
12625 arg1 = &temp1;
12626 if ((items < 4) || (items > 5)) {
12627 SWIG_croak("Usage: svn_fs_get_file_delta_stream(source_root,source_path,target_root,target_path,pool);");
12628 }
12629 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
12630 if (!SWIG_IsOK(res2)) {
12631 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_get_file_delta_stream" "', argument " "2"" of type '" "svn_fs_root_t *""'");
12632 }
12633 arg2 = (svn_fs_root_t *)(argp2);
12634 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
12635 if (!SWIG_IsOK(res3)) {
12636 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_get_file_delta_stream" "', argument " "3"" of type '" "char const *""'");
12637 }
12638 arg3 = (char *)(buf3);
12639 res4 = SWIG_ConvertPtr(ST(2), &argp4,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
12640 if (!SWIG_IsOK(res4)) {
12641 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "svn_fs_get_file_delta_stream" "', argument " "4"" of type '" "svn_fs_root_t *""'");
12642 }
12643 arg4 = (svn_fs_root_t *)(argp4);
12644 res5 = SWIG_AsCharPtrAndSize(ST(3), &buf5, NULL, &alloc5);
12645 if (!SWIG_IsOK(res5)) {
12646 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "svn_fs_get_file_delta_stream" "', argument " "5"" of type '" "char const *""'");
12647 }
12648 arg5 = (char *)(buf5);
12649 if (items > 4) {
12650
12651 }
12652 {
12653 result = (svn_error_t *)svn_fs_get_file_delta_stream(arg1,arg2,(char const *)arg3,arg4,(char const *)arg5,arg6);
12654
12655
12656
12657 }
12658 {
12659 if (result) {
12660 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
12661
12662 if (SvOK(exception_handler)) {
12663 SV *callback_result;
12664
12665 PUTBACK;
12666 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
12667 &callback_result, "S", result,
12668 SWIGTYPE_p_svn_error_t);
12669 SPAGAIN;
12670 } else {
12671 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
12672 argvi++;
12673 }
12674 }
12675 }
12676 {
12677 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_txdelta_stream_t, 0); argvi++ ;
12678 }
12679
12680
12681 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12682
12683 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
12684
12685 XSRETURN(argvi);
12686 fail:
12687
12688
12689 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12690
12691 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
12692
12693 SWIG_croak_null();
12694 }
12695 }
12696
12697
XS(_wrap_svn_fs_get_uuid)12698 XS(_wrap_svn_fs_get_uuid) {
12699 {
12700 svn_fs_t *arg1 = (svn_fs_t *) 0 ;
12701 char **arg2 = (char **) 0 ;
12702 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
12703 apr_pool_t *_global_pool ;
12704 void *argp1 = 0 ;
12705 int res1 = 0 ;
12706 char *temp2 ;
12707 int argvi = 0;
12708 svn_error_t *result = 0 ;
12709 dXSARGS;
12710
12711 {
12712 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
12713 SPAGAIN;
12714 }
12715 arg2 = &temp2;
12716 if ((items < 1) || (items > 2)) {
12717 SWIG_croak("Usage: svn_fs_get_uuid(fs,pool);");
12718 }
12719 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_t, 0 | 0 );
12720 if (!SWIG_IsOK(res1)) {
12721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_get_uuid" "', argument " "1"" of type '" "svn_fs_t *""'");
12722 }
12723 arg1 = (svn_fs_t *)(argp1);
12724 if (items > 1) {
12725
12726 }
12727 {
12728 result = (svn_error_t *)svn_fs_get_uuid(arg1,(char const **)arg2,arg3);
12729
12730
12731
12732 }
12733 {
12734 if (result) {
12735 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
12736
12737 if (SvOK(exception_handler)) {
12738 SV *callback_result;
12739
12740 PUTBACK;
12741 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
12742 &callback_result, "S", result,
12743 SWIGTYPE_p_svn_error_t);
12744 SPAGAIN;
12745 } else {
12746 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
12747 argvi++;
12748 }
12749 }
12750 }
12751 {
12752 if (*arg2 == NULL) {
12753 if (argvi >= items) EXTEND(sp,1); ST(argvi) = &PL_sv_undef; argvi++ ;
12754 } else {
12755 if (argvi >= items) EXTEND(sp,1); ST(argvi) = sv_2mortal(newSVpv(*arg2, 0)); argvi++ ;
12756 }
12757 }
12758
12759
12760
12761 XSRETURN(argvi);
12762 fail:
12763
12764
12765
12766 SWIG_croak_null();
12767 }
12768 }
12769
12770
XS(_wrap_svn_fs_set_uuid)12771 XS(_wrap_svn_fs_set_uuid) {
12772 {
12773 svn_fs_t *arg1 = (svn_fs_t *) 0 ;
12774 char *arg2 = (char *) 0 ;
12775 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
12776 apr_pool_t *_global_pool ;
12777 void *argp1 = 0 ;
12778 int res1 = 0 ;
12779 int res2 ;
12780 char *buf2 = 0 ;
12781 int alloc2 = 0 ;
12782 int argvi = 0;
12783 svn_error_t *result = 0 ;
12784 dXSARGS;
12785
12786 {
12787 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
12788 SPAGAIN;
12789 }
12790 if ((items < 2) || (items > 3)) {
12791 SWIG_croak("Usage: svn_fs_set_uuid(fs,uuid,pool);");
12792 }
12793 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_t, 0 | 0 );
12794 if (!SWIG_IsOK(res1)) {
12795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_set_uuid" "', argument " "1"" of type '" "svn_fs_t *""'");
12796 }
12797 arg1 = (svn_fs_t *)(argp1);
12798 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
12799 if (!SWIG_IsOK(res2)) {
12800 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_set_uuid" "', argument " "2"" of type '" "char const *""'");
12801 }
12802 arg2 = (char *)(buf2);
12803 if (items > 2) {
12804
12805 }
12806 {
12807 result = (svn_error_t *)svn_fs_set_uuid(arg1,(char const *)arg2,arg3);
12808
12809
12810
12811 }
12812 {
12813 if (result) {
12814 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
12815
12816 if (SvOK(exception_handler)) {
12817 SV *callback_result;
12818
12819 PUTBACK;
12820 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
12821 &callback_result, "S", result,
12822 SWIGTYPE_p_svn_error_t);
12823 SPAGAIN;
12824 } else {
12825 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
12826 argvi++;
12827 }
12828 }
12829 }
12830
12831 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12832
12833 XSRETURN(argvi);
12834 fail:
12835
12836 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12837
12838 SWIG_croak_null();
12839 }
12840 }
12841
12842
XS(_wrap_svn_fs_lock_target_create)12843 XS(_wrap_svn_fs_lock_target_create) {
12844 {
12845 char *arg1 = (char *) 0 ;
12846 svn_revnum_t arg2 ;
12847 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
12848 apr_pool_t *_global_pool ;
12849 int res1 ;
12850 char *buf1 = 0 ;
12851 int alloc1 = 0 ;
12852 long val2 ;
12853 int ecode2 = 0 ;
12854 int argvi = 0;
12855 svn_fs_lock_target_t *result = 0 ;
12856 dXSARGS;
12857
12858 {
12859 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
12860 SPAGAIN;
12861 }
12862 if ((items < 2) || (items > 3)) {
12863 SWIG_croak("Usage: svn_fs_lock_target_create(token,current_rev,result_pool);");
12864 }
12865 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
12866 if (!SWIG_IsOK(res1)) {
12867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_lock_target_create" "', argument " "1"" of type '" "char const *""'");
12868 }
12869 arg1 = (char *)(buf1);
12870 ecode2 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12871 if (!SWIG_IsOK(ecode2)) {
12872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_lock_target_create" "', argument " "2"" of type '" "svn_revnum_t""'");
12873 }
12874 arg2 = (svn_revnum_t)(val2);
12875 if (items > 2) {
12876
12877 }
12878 {
12879 result = (svn_fs_lock_target_t *)svn_fs_lock_target_create((char const *)arg1,arg2,arg3);
12880
12881
12882
12883 }
12884 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_fs_lock_target_t, 0 | 0); argvi++ ;
12885 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
12886
12887
12888 XSRETURN(argvi);
12889 fail:
12890 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
12891
12892
12893 SWIG_croak_null();
12894 }
12895 }
12896
12897
XS(_wrap_svn_fs_lock_target_set_token)12898 XS(_wrap_svn_fs_lock_target_set_token) {
12899 {
12900 svn_fs_lock_target_t *arg1 = (svn_fs_lock_target_t *) 0 ;
12901 char *arg2 = (char *) 0 ;
12902 void *argp1 = 0 ;
12903 int res1 = 0 ;
12904 int res2 ;
12905 char *buf2 = 0 ;
12906 int alloc2 = 0 ;
12907 int argvi = 0;
12908 dXSARGS;
12909
12910 if ((items < 2) || (items > 2)) {
12911 SWIG_croak("Usage: svn_fs_lock_target_set_token(target,token);");
12912 }
12913 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_lock_target_t, 0 | 0 );
12914 if (!SWIG_IsOK(res1)) {
12915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_lock_target_set_token" "', argument " "1"" of type '" "svn_fs_lock_target_t *""'");
12916 }
12917 arg1 = (svn_fs_lock_target_t *)(argp1);
12918 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
12919 if (!SWIG_IsOK(res2)) {
12920 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_lock_target_set_token" "', argument " "2"" of type '" "char const *""'");
12921 }
12922 arg2 = (char *)(buf2);
12923 {
12924 svn_fs_lock_target_set_token(arg1,(char const *)arg2);
12925
12926
12927
12928 }
12929 ST(argvi) = sv_newmortal();
12930
12931 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12932 XSRETURN(argvi);
12933 fail:
12934
12935 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12936 SWIG_croak_null();
12937 }
12938 }
12939
12940
XS(_wrap_svn_fs_lock_many)12941 XS(_wrap_svn_fs_lock_many) {
12942 {
12943 svn_fs_t *arg1 = (svn_fs_t *) 0 ;
12944 apr_hash_t *arg2 = (apr_hash_t *) 0 ;
12945 char *arg3 = (char *) 0 ;
12946 svn_boolean_t arg4 ;
12947 apr_time_t arg5 ;
12948 svn_boolean_t arg6 ;
12949 svn_fs_lock_callback_t arg7 = (svn_fs_lock_callback_t) 0 ;
12950 void *arg8 = (void *) 0 ;
12951 apr_pool_t *arg9 = (apr_pool_t *) 0 ;
12952 apr_pool_t *arg10 = (apr_pool_t *) 0 ;
12953 apr_pool_t *_global_pool ;
12954 void *argp1 = 0 ;
12955 int res1 = 0 ;
12956 void *argp2 = 0 ;
12957 int res2 = 0 ;
12958 int res3 ;
12959 char *buf3 = 0 ;
12960 int alloc3 = 0 ;
12961 int val4 ;
12962 int ecode4 = 0 ;
12963 long long val5 ;
12964 int ecode5 = 0 ;
12965 int val6 ;
12966 int ecode6 = 0 ;
12967 int res8 ;
12968 int argvi = 0;
12969 svn_error_t *result = 0 ;
12970 dXSARGS;
12971
12972 {
12973 _global_pool = arg9 = svn_swig_pl_make_pool (ST(items-1));
12974 SPAGAIN;
12975 }
12976 {
12977 _global_pool = arg10 = svn_swig_pl_make_pool (ST(items-1));
12978 SPAGAIN;
12979 }
12980 if ((items < 8) || (items > 10)) {
12981 SWIG_croak("Usage: svn_fs_lock_many(fs,lock_targets,comment,is_dav_comment,expiration_date,steal_lock,lock_callback,lock_baton,result_pool,scratch_pool);");
12982 }
12983 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_t, 0 | 0 );
12984 if (!SWIG_IsOK(res1)) {
12985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_lock_many" "', argument " "1"" of type '" "svn_fs_t *""'");
12986 }
12987 arg1 = (svn_fs_t *)(argp1);
12988 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_apr_hash_t, 0 | 0 );
12989 if (!SWIG_IsOK(res2)) {
12990 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_lock_many" "', argument " "2"" of type '" "apr_hash_t *""'");
12991 }
12992 arg2 = (apr_hash_t *)(argp2);
12993 res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
12994 if (!SWIG_IsOK(res3)) {
12995 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_lock_many" "', argument " "3"" of type '" "char const *""'");
12996 }
12997 arg3 = (char *)(buf3);
12998 ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
12999 if (!SWIG_IsOK(ecode4)) {
13000 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "svn_fs_lock_many" "', argument " "4"" of type '" "svn_boolean_t""'");
13001 }
13002 arg4 = (svn_boolean_t)(val4);
13003 ecode5 = SWIG_AsVal_long_SS_long SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
13004 if (!SWIG_IsOK(ecode5)) {
13005 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "svn_fs_lock_many" "', argument " "5"" of type '" "apr_time_t""'");
13006 }
13007 arg5 = (apr_time_t)(val5);
13008 ecode6 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(5), &val6);
13009 if (!SWIG_IsOK(ecode6)) {
13010 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "svn_fs_lock_many" "', argument " "6"" of type '" "svn_boolean_t""'");
13011 }
13012 arg6 = (svn_boolean_t)(val6);
13013 {
13014 int res = SWIG_ConvertFunctionPtr(ST(6), (void**)(&arg7), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t);
13015 if (!SWIG_IsOK(res)) {
13016 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_fs_lock_many" "', argument " "7"" of type '" "svn_fs_lock_callback_t""'");
13017 }
13018 }
13019 res8 = SWIG_ConvertPtr(ST(7),SWIG_as_voidptrptr(&arg8), 0, 0);
13020 if (!SWIG_IsOK(res8)) {
13021 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "svn_fs_lock_many" "', argument " "8"" of type '" "void *""'");
13022 }
13023 if (items > 8) {
13024
13025 }
13026 if (items > 9) {
13027
13028 }
13029 {
13030 result = (svn_error_t *)svn_fs_lock_many(arg1,arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
13031
13032
13033
13034 }
13035 {
13036 if (result) {
13037 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
13038
13039 if (SvOK(exception_handler)) {
13040 SV *callback_result;
13041
13042 PUTBACK;
13043 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
13044 &callback_result, "S", result,
13045 SWIGTYPE_p_svn_error_t);
13046 SPAGAIN;
13047 } else {
13048 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
13049 argvi++;
13050 }
13051 }
13052 }
13053
13054
13055 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
13056
13057
13058
13059
13060
13061
13062
13063 XSRETURN(argvi);
13064 fail:
13065
13066
13067 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
13068
13069
13070
13071
13072
13073
13074
13075 SWIG_croak_null();
13076 }
13077 }
13078
13079
XS(_wrap_svn_fs_lock)13080 XS(_wrap_svn_fs_lock) {
13081 {
13082 svn_lock_t **arg1 = (svn_lock_t **) 0 ;
13083 svn_fs_t *arg2 = (svn_fs_t *) 0 ;
13084 char *arg3 = (char *) 0 ;
13085 char *arg4 = (char *) 0 ;
13086 char *arg5 = (char *) 0 ;
13087 svn_boolean_t arg6 ;
13088 apr_time_t arg7 ;
13089 svn_revnum_t arg8 ;
13090 svn_boolean_t arg9 ;
13091 apr_pool_t *arg10 = (apr_pool_t *) 0 ;
13092 apr_pool_t *_global_pool ;
13093 svn_lock_t *temp1 ;
13094 void *argp2 = 0 ;
13095 int res2 = 0 ;
13096 int res3 ;
13097 char *buf3 = 0 ;
13098 int alloc3 = 0 ;
13099 int res4 ;
13100 char *buf4 = 0 ;
13101 int alloc4 = 0 ;
13102 int res5 ;
13103 char *buf5 = 0 ;
13104 int alloc5 = 0 ;
13105 int val6 ;
13106 int ecode6 = 0 ;
13107 long long val7 ;
13108 int ecode7 = 0 ;
13109 long val8 ;
13110 int ecode8 = 0 ;
13111 int val9 ;
13112 int ecode9 = 0 ;
13113 int argvi = 0;
13114 svn_error_t *result = 0 ;
13115 dXSARGS;
13116
13117 {
13118 _global_pool = arg10 = svn_swig_pl_make_pool (ST(items-1));
13119 SPAGAIN;
13120 }
13121 arg1 = &temp1;
13122 if ((items < 8) || (items > 9)) {
13123 SWIG_croak("Usage: svn_fs_lock(fs,path,token,comment,is_dav_comment,expiration_date,current_rev,steal_lock,pool);");
13124 }
13125 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_t, 0 | 0 );
13126 if (!SWIG_IsOK(res2)) {
13127 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_lock" "', argument " "2"" of type '" "svn_fs_t *""'");
13128 }
13129 arg2 = (svn_fs_t *)(argp2);
13130 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
13131 if (!SWIG_IsOK(res3)) {
13132 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_lock" "', argument " "3"" of type '" "char const *""'");
13133 }
13134 arg3 = (char *)(buf3);
13135 res4 = SWIG_AsCharPtrAndSize(ST(2), &buf4, NULL, &alloc4);
13136 if (!SWIG_IsOK(res4)) {
13137 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "svn_fs_lock" "', argument " "4"" of type '" "char const *""'");
13138 }
13139 arg4 = (char *)(buf4);
13140 res5 = SWIG_AsCharPtrAndSize(ST(3), &buf5, NULL, &alloc5);
13141 if (!SWIG_IsOK(res5)) {
13142 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "svn_fs_lock" "', argument " "5"" of type '" "char const *""'");
13143 }
13144 arg5 = (char *)(buf5);
13145 ecode6 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val6);
13146 if (!SWIG_IsOK(ecode6)) {
13147 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "svn_fs_lock" "', argument " "6"" of type '" "svn_boolean_t""'");
13148 }
13149 arg6 = (svn_boolean_t)(val6);
13150 ecode7 = SWIG_AsVal_long_SS_long SWIG_PERL_CALL_ARGS_2(ST(5), &val7);
13151 if (!SWIG_IsOK(ecode7)) {
13152 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "svn_fs_lock" "', argument " "7"" of type '" "apr_time_t""'");
13153 }
13154 arg7 = (apr_time_t)(val7);
13155 ecode8 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(6), &val8);
13156 if (!SWIG_IsOK(ecode8)) {
13157 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "svn_fs_lock" "', argument " "8"" of type '" "svn_revnum_t""'");
13158 }
13159 arg8 = (svn_revnum_t)(val8);
13160 ecode9 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(7), &val9);
13161 if (!SWIG_IsOK(ecode9)) {
13162 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "svn_fs_lock" "', argument " "9"" of type '" "svn_boolean_t""'");
13163 }
13164 arg9 = (svn_boolean_t)(val9);
13165 if (items > 8) {
13166
13167 }
13168 {
13169 result = (svn_error_t *)svn_fs_lock(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,arg6,arg7,arg8,arg9,arg10);
13170
13171
13172
13173 }
13174 {
13175 if (result) {
13176 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
13177
13178 if (SvOK(exception_handler)) {
13179 SV *callback_result;
13180
13181 PUTBACK;
13182 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
13183 &callback_result, "S", result,
13184 SWIGTYPE_p_svn_error_t);
13185 SPAGAIN;
13186 } else {
13187 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
13188 argvi++;
13189 }
13190 }
13191 }
13192 {
13193 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_lock_t, 0); argvi++ ;
13194 }
13195
13196
13197 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
13198 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
13199 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
13200
13201
13202
13203
13204
13205 XSRETURN(argvi);
13206 fail:
13207
13208
13209 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
13210 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
13211 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
13212
13213
13214
13215
13216
13217 SWIG_croak_null();
13218 }
13219 }
13220
13221
XS(_wrap_svn_fs_generate_lock_token)13222 XS(_wrap_svn_fs_generate_lock_token) {
13223 {
13224 char **arg1 = (char **) 0 ;
13225 svn_fs_t *arg2 = (svn_fs_t *) 0 ;
13226 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
13227 apr_pool_t *_global_pool ;
13228 char *temp1 ;
13229 void *argp2 = 0 ;
13230 int res2 = 0 ;
13231 int argvi = 0;
13232 svn_error_t *result = 0 ;
13233 dXSARGS;
13234
13235 {
13236 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
13237 SPAGAIN;
13238 }
13239 arg1 = &temp1;
13240 if ((items < 1) || (items > 2)) {
13241 SWIG_croak("Usage: svn_fs_generate_lock_token(fs,pool);");
13242 }
13243 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_t, 0 | 0 );
13244 if (!SWIG_IsOK(res2)) {
13245 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_generate_lock_token" "', argument " "2"" of type '" "svn_fs_t *""'");
13246 }
13247 arg2 = (svn_fs_t *)(argp2);
13248 if (items > 1) {
13249
13250 }
13251 {
13252 result = (svn_error_t *)svn_fs_generate_lock_token((char const **)arg1,arg2,arg3);
13253
13254
13255
13256 }
13257 {
13258 if (result) {
13259 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
13260
13261 if (SvOK(exception_handler)) {
13262 SV *callback_result;
13263
13264 PUTBACK;
13265 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
13266 &callback_result, "S", result,
13267 SWIGTYPE_p_svn_error_t);
13268 SPAGAIN;
13269 } else {
13270 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
13271 argvi++;
13272 }
13273 }
13274 }
13275 {
13276 if (*arg1 == NULL) {
13277 if (argvi >= items) EXTEND(sp,1); ST(argvi) = &PL_sv_undef; argvi++ ;
13278 } else {
13279 if (argvi >= items) EXTEND(sp,1); ST(argvi) = sv_2mortal(newSVpv(*arg1, 0)); argvi++ ;
13280 }
13281 }
13282
13283
13284
13285 XSRETURN(argvi);
13286 fail:
13287
13288
13289
13290 SWIG_croak_null();
13291 }
13292 }
13293
13294
XS(_wrap_svn_fs_unlock_many)13295 XS(_wrap_svn_fs_unlock_many) {
13296 {
13297 svn_fs_t *arg1 = (svn_fs_t *) 0 ;
13298 apr_hash_t *arg2 = (apr_hash_t *) 0 ;
13299 svn_boolean_t arg3 ;
13300 svn_fs_lock_callback_t arg4 = (svn_fs_lock_callback_t) 0 ;
13301 void *arg5 = (void *) 0 ;
13302 apr_pool_t *arg6 = (apr_pool_t *) 0 ;
13303 apr_pool_t *arg7 = (apr_pool_t *) 0 ;
13304 apr_pool_t *_global_pool ;
13305 void *argp1 = 0 ;
13306 int res1 = 0 ;
13307 void *argp2 = 0 ;
13308 int res2 = 0 ;
13309 int val3 ;
13310 int ecode3 = 0 ;
13311 int res5 ;
13312 int argvi = 0;
13313 svn_error_t *result = 0 ;
13314 dXSARGS;
13315
13316 {
13317 _global_pool = arg6 = svn_swig_pl_make_pool (ST(items-1));
13318 SPAGAIN;
13319 }
13320 {
13321 _global_pool = arg7 = svn_swig_pl_make_pool (ST(items-1));
13322 SPAGAIN;
13323 }
13324 if ((items < 5) || (items > 7)) {
13325 SWIG_croak("Usage: svn_fs_unlock_many(fs,unlock_targets,break_lock,lock_callback,lock_baton,result_pool,scratch_pool);");
13326 }
13327 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_t, 0 | 0 );
13328 if (!SWIG_IsOK(res1)) {
13329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_unlock_many" "', argument " "1"" of type '" "svn_fs_t *""'");
13330 }
13331 arg1 = (svn_fs_t *)(argp1);
13332 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_apr_hash_t, 0 | 0 );
13333 if (!SWIG_IsOK(res2)) {
13334 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_unlock_many" "', argument " "2"" of type '" "apr_hash_t *""'");
13335 }
13336 arg2 = (apr_hash_t *)(argp2);
13337 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
13338 if (!SWIG_IsOK(ecode3)) {
13339 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_fs_unlock_many" "', argument " "3"" of type '" "svn_boolean_t""'");
13340 }
13341 arg3 = (svn_boolean_t)(val3);
13342 {
13343 int res = SWIG_ConvertFunctionPtr(ST(3), (void**)(&arg4), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t);
13344 if (!SWIG_IsOK(res)) {
13345 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_fs_unlock_many" "', argument " "4"" of type '" "svn_fs_lock_callback_t""'");
13346 }
13347 }
13348 res5 = SWIG_ConvertPtr(ST(4),SWIG_as_voidptrptr(&arg5), 0, 0);
13349 if (!SWIG_IsOK(res5)) {
13350 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "svn_fs_unlock_many" "', argument " "5"" of type '" "void *""'");
13351 }
13352 if (items > 5) {
13353
13354 }
13355 if (items > 6) {
13356
13357 }
13358 {
13359 result = (svn_error_t *)svn_fs_unlock_many(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
13360
13361
13362
13363 }
13364 {
13365 if (result) {
13366 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
13367
13368 if (SvOK(exception_handler)) {
13369 SV *callback_result;
13370
13371 PUTBACK;
13372 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
13373 &callback_result, "S", result,
13374 SWIGTYPE_p_svn_error_t);
13375 SPAGAIN;
13376 } else {
13377 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
13378 argvi++;
13379 }
13380 }
13381 }
13382
13383
13384
13385
13386
13387
13388
13389 XSRETURN(argvi);
13390 fail:
13391
13392
13393
13394
13395
13396
13397
13398 SWIG_croak_null();
13399 }
13400 }
13401
13402
XS(_wrap_svn_fs_unlock)13403 XS(_wrap_svn_fs_unlock) {
13404 {
13405 svn_fs_t *arg1 = (svn_fs_t *) 0 ;
13406 char *arg2 = (char *) 0 ;
13407 char *arg3 = (char *) 0 ;
13408 svn_boolean_t arg4 ;
13409 apr_pool_t *arg5 = (apr_pool_t *) 0 ;
13410 apr_pool_t *_global_pool ;
13411 void *argp1 = 0 ;
13412 int res1 = 0 ;
13413 int res2 ;
13414 char *buf2 = 0 ;
13415 int alloc2 = 0 ;
13416 int res3 ;
13417 char *buf3 = 0 ;
13418 int alloc3 = 0 ;
13419 int val4 ;
13420 int ecode4 = 0 ;
13421 int argvi = 0;
13422 svn_error_t *result = 0 ;
13423 dXSARGS;
13424
13425 {
13426 _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
13427 SPAGAIN;
13428 }
13429 if ((items < 4) || (items > 5)) {
13430 SWIG_croak("Usage: svn_fs_unlock(fs,path,token,break_lock,pool);");
13431 }
13432 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_t, 0 | 0 );
13433 if (!SWIG_IsOK(res1)) {
13434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_unlock" "', argument " "1"" of type '" "svn_fs_t *""'");
13435 }
13436 arg1 = (svn_fs_t *)(argp1);
13437 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
13438 if (!SWIG_IsOK(res2)) {
13439 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_unlock" "', argument " "2"" of type '" "char const *""'");
13440 }
13441 arg2 = (char *)(buf2);
13442 res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
13443 if (!SWIG_IsOK(res3)) {
13444 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_unlock" "', argument " "3"" of type '" "char const *""'");
13445 }
13446 arg3 = (char *)(buf3);
13447 ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
13448 if (!SWIG_IsOK(ecode4)) {
13449 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "svn_fs_unlock" "', argument " "4"" of type '" "svn_boolean_t""'");
13450 }
13451 arg4 = (svn_boolean_t)(val4);
13452 if (items > 4) {
13453
13454 }
13455 {
13456 result = (svn_error_t *)svn_fs_unlock(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5);
13457
13458
13459
13460 }
13461 {
13462 if (result) {
13463 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
13464
13465 if (SvOK(exception_handler)) {
13466 SV *callback_result;
13467
13468 PUTBACK;
13469 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
13470 &callback_result, "S", result,
13471 SWIGTYPE_p_svn_error_t);
13472 SPAGAIN;
13473 } else {
13474 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
13475 argvi++;
13476 }
13477 }
13478 }
13479
13480 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13481 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
13482
13483
13484 XSRETURN(argvi);
13485 fail:
13486
13487 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13488 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
13489
13490
13491 SWIG_croak_null();
13492 }
13493 }
13494
13495
XS(_wrap_svn_fs_get_lock)13496 XS(_wrap_svn_fs_get_lock) {
13497 {
13498 svn_lock_t **arg1 = (svn_lock_t **) 0 ;
13499 svn_fs_t *arg2 = (svn_fs_t *) 0 ;
13500 char *arg3 = (char *) 0 ;
13501 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
13502 apr_pool_t *_global_pool ;
13503 svn_lock_t *temp1 ;
13504 void *argp2 = 0 ;
13505 int res2 = 0 ;
13506 int res3 ;
13507 char *buf3 = 0 ;
13508 int alloc3 = 0 ;
13509 int argvi = 0;
13510 svn_error_t *result = 0 ;
13511 dXSARGS;
13512
13513 {
13514 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
13515 SPAGAIN;
13516 }
13517 arg1 = &temp1;
13518 if ((items < 2) || (items > 3)) {
13519 SWIG_croak("Usage: svn_fs_get_lock(fs,path,pool);");
13520 }
13521 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_t, 0 | 0 );
13522 if (!SWIG_IsOK(res2)) {
13523 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_get_lock" "', argument " "2"" of type '" "svn_fs_t *""'");
13524 }
13525 arg2 = (svn_fs_t *)(argp2);
13526 res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
13527 if (!SWIG_IsOK(res3)) {
13528 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_get_lock" "', argument " "3"" of type '" "char const *""'");
13529 }
13530 arg3 = (char *)(buf3);
13531 if (items > 2) {
13532
13533 }
13534 {
13535 result = (svn_error_t *)svn_fs_get_lock(arg1,arg2,(char const *)arg3,arg4);
13536
13537
13538
13539 }
13540 {
13541 if (result) {
13542 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
13543
13544 if (SvOK(exception_handler)) {
13545 SV *callback_result;
13546
13547 PUTBACK;
13548 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
13549 &callback_result, "S", result,
13550 SWIGTYPE_p_svn_error_t);
13551 SPAGAIN;
13552 } else {
13553 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
13554 argvi++;
13555 }
13556 }
13557 }
13558 {
13559 if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_lock_t, 0); argvi++ ;
13560 }
13561
13562
13563 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
13564
13565 XSRETURN(argvi);
13566 fail:
13567
13568
13569 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
13570
13571 SWIG_croak_null();
13572 }
13573 }
13574
13575
XS(_wrap_svn_fs_get_locks2)13576 XS(_wrap_svn_fs_get_locks2) {
13577 {
13578 svn_fs_t *arg1 = (svn_fs_t *) 0 ;
13579 char *arg2 = (char *) 0 ;
13580 svn_depth_t arg3 ;
13581 svn_fs_get_locks_callback_t arg4 = (svn_fs_get_locks_callback_t) 0 ;
13582 void *arg5 = (void *) 0 ;
13583 apr_pool_t *arg6 = (apr_pool_t *) 0 ;
13584 apr_pool_t *_global_pool ;
13585 void *argp1 = 0 ;
13586 int res1 = 0 ;
13587 int res2 ;
13588 char *buf2 = 0 ;
13589 int alloc2 = 0 ;
13590 int val3 ;
13591 int ecode3 = 0 ;
13592 int res5 ;
13593 int argvi = 0;
13594 svn_error_t *result = 0 ;
13595 dXSARGS;
13596
13597 {
13598 _global_pool = arg6 = svn_swig_pl_make_pool (ST(items-1));
13599 SPAGAIN;
13600 }
13601 if ((items < 5) || (items > 6)) {
13602 SWIG_croak("Usage: svn_fs_get_locks2(fs,path,depth,get_locks_func,get_locks_baton,pool);");
13603 }
13604 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_t, 0 | 0 );
13605 if (!SWIG_IsOK(res1)) {
13606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_get_locks2" "', argument " "1"" of type '" "svn_fs_t *""'");
13607 }
13608 arg1 = (svn_fs_t *)(argp1);
13609 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
13610 if (!SWIG_IsOK(res2)) {
13611 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_get_locks2" "', argument " "2"" of type '" "char const *""'");
13612 }
13613 arg2 = (char *)(buf2);
13614 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
13615 if (!SWIG_IsOK(ecode3)) {
13616 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_fs_get_locks2" "', argument " "3"" of type '" "svn_depth_t""'");
13617 }
13618 arg3 = (svn_depth_t)(val3);
13619 {
13620 int res = SWIG_ConvertFunctionPtr(ST(3), (void**)(&arg4), SWIGTYPE_p_f_p_void_p_svn_lock_t_p_apr_pool_t__p_svn_error_t);
13621 if (!SWIG_IsOK(res)) {
13622 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_fs_get_locks2" "', argument " "4"" of type '" "svn_fs_get_locks_callback_t""'");
13623 }
13624 }
13625 res5 = SWIG_ConvertPtr(ST(4),SWIG_as_voidptrptr(&arg5), 0, 0);
13626 if (!SWIG_IsOK(res5)) {
13627 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "svn_fs_get_locks2" "', argument " "5"" of type '" "void *""'");
13628 }
13629 if (items > 5) {
13630
13631 }
13632 {
13633 result = (svn_error_t *)svn_fs_get_locks2(arg1,(char const *)arg2,arg3,arg4,arg5,arg6);
13634
13635
13636
13637 }
13638 {
13639 if (result) {
13640 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
13641
13642 if (SvOK(exception_handler)) {
13643 SV *callback_result;
13644
13645 PUTBACK;
13646 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
13647 &callback_result, "S", result,
13648 SWIGTYPE_p_svn_error_t);
13649 SPAGAIN;
13650 } else {
13651 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
13652 argvi++;
13653 }
13654 }
13655 }
13656
13657 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13658
13659
13660
13661
13662 XSRETURN(argvi);
13663 fail:
13664
13665 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13666
13667
13668
13669
13670 SWIG_croak_null();
13671 }
13672 }
13673
13674
XS(_wrap_svn_fs_get_locks)13675 XS(_wrap_svn_fs_get_locks) {
13676 {
13677 svn_fs_t *arg1 = (svn_fs_t *) 0 ;
13678 char *arg2 = (char *) 0 ;
13679 svn_fs_get_locks_callback_t arg3 = (svn_fs_get_locks_callback_t) 0 ;
13680 void *arg4 = (void *) 0 ;
13681 apr_pool_t *arg5 = (apr_pool_t *) 0 ;
13682 apr_pool_t *_global_pool ;
13683 void *argp1 = 0 ;
13684 int res1 = 0 ;
13685 int res2 ;
13686 char *buf2 = 0 ;
13687 int alloc2 = 0 ;
13688 int res4 ;
13689 int argvi = 0;
13690 svn_error_t *result = 0 ;
13691 dXSARGS;
13692
13693 {
13694 _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
13695 SPAGAIN;
13696 }
13697 if ((items < 4) || (items > 5)) {
13698 SWIG_croak("Usage: svn_fs_get_locks(fs,path,get_locks_func,get_locks_baton,pool);");
13699 }
13700 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_t, 0 | 0 );
13701 if (!SWIG_IsOK(res1)) {
13702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_get_locks" "', argument " "1"" of type '" "svn_fs_t *""'");
13703 }
13704 arg1 = (svn_fs_t *)(argp1);
13705 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
13706 if (!SWIG_IsOK(res2)) {
13707 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_get_locks" "', argument " "2"" of type '" "char const *""'");
13708 }
13709 arg2 = (char *)(buf2);
13710 {
13711 int res = SWIG_ConvertFunctionPtr(ST(2), (void**)(&arg3), SWIGTYPE_p_f_p_void_p_svn_lock_t_p_apr_pool_t__p_svn_error_t);
13712 if (!SWIG_IsOK(res)) {
13713 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_fs_get_locks" "', argument " "3"" of type '" "svn_fs_get_locks_callback_t""'");
13714 }
13715 }
13716 res4 = SWIG_ConvertPtr(ST(3),SWIG_as_voidptrptr(&arg4), 0, 0);
13717 if (!SWIG_IsOK(res4)) {
13718 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "svn_fs_get_locks" "', argument " "4"" of type '" "void *""'");
13719 }
13720 if (items > 4) {
13721
13722 }
13723 {
13724 result = (svn_error_t *)svn_fs_get_locks(arg1,(char const *)arg2,arg3,arg4,arg5);
13725
13726
13727
13728 }
13729 {
13730 if (result) {
13731 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
13732
13733 if (SvOK(exception_handler)) {
13734 SV *callback_result;
13735
13736 PUTBACK;
13737 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
13738 &callback_result, "S", result,
13739 SWIGTYPE_p_svn_error_t);
13740 SPAGAIN;
13741 } else {
13742 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
13743 argvi++;
13744 }
13745 }
13746 }
13747
13748 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13749
13750
13751
13752 XSRETURN(argvi);
13753 fail:
13754
13755 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13756
13757
13758
13759 SWIG_croak_null();
13760 }
13761 }
13762
13763
XS(_wrap_svn_fs_print_modules)13764 XS(_wrap_svn_fs_print_modules) {
13765 {
13766 svn_stringbuf_t *arg1 = (svn_stringbuf_t *) 0 ;
13767 apr_pool_t *arg2 = (apr_pool_t *) 0 ;
13768 apr_pool_t *_global_pool ;
13769 int argvi = 0;
13770 svn_error_t *result = 0 ;
13771 dXSARGS;
13772
13773 {
13774 _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
13775 SPAGAIN;
13776 }
13777 if ((items < 1) || (items > 2)) {
13778 SWIG_croak("Usage: svn_fs_print_modules(output,pool);");
13779 }
13780 {
13781 apr_size_t len;
13782 char *buf;
13783 apr_pool_t *pool;
13784
13785 if (!SvOK(ST(0))) {
13786 arg1 = NULL;
13787 } else if (SvPOK(ST(0))) {
13788 buf = SvPV(ST(0), len);
13789 /* Another case of ugly pool handling, this should use the current
13790 default pool, or make a new one if it doesn't exist yet */
13791 pool = svn_swig_pl_make_pool ((SV *)NULL);
13792 SPAGAIN;
13793 arg1 = svn_stringbuf_ncreate(buf,len, pool);
13794 } else {
13795 croak("Not a string");
13796 }
13797 }
13798 if (items > 1) {
13799
13800 }
13801 {
13802 result = (svn_error_t *)svn_fs_print_modules(arg1,arg2);
13803
13804
13805
13806 }
13807 {
13808 if (result) {
13809 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
13810
13811 if (SvOK(exception_handler)) {
13812 SV *callback_result;
13813
13814 PUTBACK;
13815 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
13816 &callback_result, "S", result,
13817 SWIGTYPE_p_svn_error_t);
13818 SPAGAIN;
13819 } else {
13820 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
13821 argvi++;
13822 }
13823 }
13824 }
13825
13826
13827 XSRETURN(argvi);
13828 fail:
13829
13830
13831 SWIG_croak_null();
13832 }
13833 }
13834
13835
XS(_wrap_svn_fs_pack)13836 XS(_wrap_svn_fs_pack) {
13837 {
13838 char *arg1 = (char *) 0 ;
13839 svn_fs_pack_notify_t arg2 = (svn_fs_pack_notify_t) 0 ;
13840 void *arg3 = (void *) 0 ;
13841 svn_cancel_func_t arg4 = (svn_cancel_func_t) 0 ;
13842 void *arg5 = (void *) 0 ;
13843 apr_pool_t *arg6 = (apr_pool_t *) 0 ;
13844 apr_pool_t *_global_pool ;
13845 int res1 ;
13846 char *buf1 = 0 ;
13847 int alloc1 = 0 ;
13848 int res3 ;
13849 int argvi = 0;
13850 svn_error_t *result = 0 ;
13851 dXSARGS;
13852
13853 {
13854 _global_pool = arg6 = svn_swig_pl_make_pool (ST(items-1));
13855 SPAGAIN;
13856 }
13857 if ((items < 4) || (items > 5)) {
13858 SWIG_croak("Usage: svn_fs_pack(db_path,notify_func,notify_baton,cancel_func,cancel_baton,pool);");
13859 }
13860 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
13861 if (!SWIG_IsOK(res1)) {
13862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_pack" "', argument " "1"" of type '" "char const *""'");
13863 }
13864 arg1 = (char *)(buf1);
13865 {
13866 int res = SWIG_ConvertFunctionPtr(ST(1), (void**)(&arg2), SWIGTYPE_p_f_p_void_apr_int64_t_svn_fs_pack_notify_action_t_p_apr_pool_t__p_svn_error_t);
13867 if (!SWIG_IsOK(res)) {
13868 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_fs_pack" "', argument " "2"" of type '" "svn_fs_pack_notify_t""'");
13869 }
13870 }
13871 res3 = SWIG_ConvertPtr(ST(2),SWIG_as_voidptrptr(&arg3), 0, 0);
13872 if (!SWIG_IsOK(res3)) {
13873 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_pack" "', argument " "3"" of type '" "void *""'");
13874 }
13875 {
13876 arg4 = (svn_cancel_func_t) svn_swig_pl_cancel_func;
13877 arg5 = ST(3);
13878 }
13879 if (items > 4) {
13880
13881 }
13882 {
13883 result = (svn_error_t *)svn_fs_pack((char const *)arg1,arg2,arg3,arg4,arg5,arg6);
13884
13885
13886
13887 }
13888 {
13889 if (result) {
13890 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
13891
13892 if (SvOK(exception_handler)) {
13893 SV *callback_result;
13894
13895 PUTBACK;
13896 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
13897 &callback_result, "S", result,
13898 SWIGTYPE_p_svn_error_t);
13899 SPAGAIN;
13900 } else {
13901 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
13902 argvi++;
13903 }
13904 }
13905 }
13906 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
13907
13908
13909
13910 XSRETURN(argvi);
13911 fail:
13912 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
13913
13914
13915
13916 SWIG_croak_null();
13917 }
13918 }
13919
13920
XS(_wrap_svn_fs_verify)13921 XS(_wrap_svn_fs_verify) {
13922 {
13923 char *arg1 = (char *) 0 ;
13924 apr_hash_t *arg2 = (apr_hash_t *) 0 ;
13925 svn_revnum_t arg3 ;
13926 svn_revnum_t arg4 ;
13927 svn_fs_progress_notify_func_t arg5 = (svn_fs_progress_notify_func_t) 0 ;
13928 void *arg6 = (void *) 0 ;
13929 svn_cancel_func_t arg7 = (svn_cancel_func_t) 0 ;
13930 void *arg8 = (void *) 0 ;
13931 apr_pool_t *arg9 = (apr_pool_t *) 0 ;
13932 apr_pool_t *_global_pool ;
13933 int res1 ;
13934 char *buf1 = 0 ;
13935 int alloc1 = 0 ;
13936 long val3 ;
13937 int ecode3 = 0 ;
13938 long val4 ;
13939 int ecode4 = 0 ;
13940 int res6 ;
13941 int argvi = 0;
13942 svn_error_t *result = 0 ;
13943 dXSARGS;
13944
13945 {
13946 _global_pool = arg9 = svn_swig_pl_make_pool (ST(items-1));
13947 SPAGAIN;
13948 }
13949 if ((items < 7) || (items > 8)) {
13950 SWIG_croak("Usage: svn_fs_verify(path,fs_config,start,end,notify_func,notify_baton,cancel_func,cancel_baton,scratch_pool);");
13951 }
13952 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
13953 if (!SWIG_IsOK(res1)) {
13954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_verify" "', argument " "1"" of type '" "char const *""'");
13955 }
13956 arg1 = (char *)(buf1);
13957 {
13958 /* PERL-FIXME: Handle undef -> NULL. */
13959 arg2 = svn_swig_pl_strings_to_hash(ST(1), _global_pool);
13960 }
13961 ecode3 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
13962 if (!SWIG_IsOK(ecode3)) {
13963 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_fs_verify" "', argument " "3"" of type '" "svn_revnum_t""'");
13964 }
13965 arg3 = (svn_revnum_t)(val3);
13966 ecode4 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
13967 if (!SWIG_IsOK(ecode4)) {
13968 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "svn_fs_verify" "', argument " "4"" of type '" "svn_revnum_t""'");
13969 }
13970 arg4 = (svn_revnum_t)(val4);
13971 {
13972 int res = SWIG_ConvertFunctionPtr(ST(4), (void**)(&arg5), SWIGTYPE_p_f_long_p_void_p_apr_pool_t__void);
13973 if (!SWIG_IsOK(res)) {
13974 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_fs_verify" "', argument " "5"" of type '" "svn_fs_progress_notify_func_t""'");
13975 }
13976 }
13977 res6 = SWIG_ConvertPtr(ST(5),SWIG_as_voidptrptr(&arg6), 0, 0);
13978 if (!SWIG_IsOK(res6)) {
13979 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "svn_fs_verify" "', argument " "6"" of type '" "void *""'");
13980 }
13981 {
13982 arg7 = (svn_cancel_func_t) svn_swig_pl_cancel_func;
13983 arg8 = ST(6);
13984 }
13985 if (items > 7) {
13986
13987 }
13988 {
13989 result = (svn_error_t *)svn_fs_verify((char const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
13990
13991
13992
13993 }
13994 {
13995 if (result) {
13996 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
13997
13998 if (SvOK(exception_handler)) {
13999 SV *callback_result;
14000
14001 PUTBACK;
14002 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
14003 &callback_result, "S", result,
14004 SWIGTYPE_p_svn_error_t);
14005 SPAGAIN;
14006 } else {
14007 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
14008 argvi++;
14009 }
14010 }
14011 }
14012 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
14013
14014
14015
14016
14017
14018
14019 XSRETURN(argvi);
14020 fail:
14021 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
14022
14023
14024
14025
14026
14027
14028 SWIG_croak_null();
14029 }
14030 }
14031
14032
XS(_wrap_svn_fs_verify_root)14033 XS(_wrap_svn_fs_verify_root) {
14034 {
14035 svn_fs_root_t *arg1 = (svn_fs_root_t *) 0 ;
14036 apr_pool_t *arg2 = (apr_pool_t *) 0 ;
14037 apr_pool_t *_global_pool ;
14038 void *argp1 = 0 ;
14039 int res1 = 0 ;
14040 int argvi = 0;
14041 svn_error_t *result = 0 ;
14042 dXSARGS;
14043
14044 {
14045 _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
14046 SPAGAIN;
14047 }
14048 if ((items < 1) || (items > 2)) {
14049 SWIG_croak("Usage: svn_fs_verify_root(root,scratch_pool);");
14050 }
14051 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
14052 if (!SWIG_IsOK(res1)) {
14053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_verify_root" "', argument " "1"" of type '" "svn_fs_root_t *""'");
14054 }
14055 arg1 = (svn_fs_root_t *)(argp1);
14056 if (items > 1) {
14057
14058 }
14059 {
14060 result = (svn_error_t *)svn_fs_verify_root(arg1,arg2);
14061
14062
14063
14064 }
14065 {
14066 if (result) {
14067 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
14068
14069 if (SvOK(exception_handler)) {
14070 SV *callback_result;
14071
14072 PUTBACK;
14073 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
14074 &callback_result, "S", result,
14075 SWIGTYPE_p_svn_error_t);
14076 SPAGAIN;
14077 } else {
14078 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
14079 argvi++;
14080 }
14081 }
14082 }
14083
14084
14085 XSRETURN(argvi);
14086 fail:
14087
14088
14089 SWIG_croak_null();
14090 }
14091 }
14092
14093
XS(_wrap_svn_fs_fsfs_info_t_fs_type_set)14094 XS(_wrap_svn_fs_fsfs_info_t_fs_type_set) {
14095 {
14096 struct svn_fs_fsfs_info_t *arg1 = (struct svn_fs_fsfs_info_t *) 0 ;
14097 char *arg2 = (char *) 0 ;
14098 void *argp1 = 0 ;
14099 int res1 = 0 ;
14100 int res2 ;
14101 char *buf2 = 0 ;
14102 int alloc2 = 0 ;
14103 int argvi = 0;
14104 dXSARGS;
14105
14106 if ((items < 2) || (items > 2)) {
14107 SWIG_croak("Usage: svn_fs_fsfs_info_t_fs_type_set(self,fs_type);");
14108 }
14109 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_fsfs_info_t, 0 | 0 );
14110 if (!SWIG_IsOK(res1)) {
14111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_fsfs_info_t_fs_type_set" "', argument " "1"" of type '" "struct svn_fs_fsfs_info_t *""'");
14112 }
14113 arg1 = (struct svn_fs_fsfs_info_t *)(argp1);
14114 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
14115 if (!SWIG_IsOK(res2)) {
14116 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_fsfs_info_t_fs_type_set" "', argument " "2"" of type '" "char const *""'");
14117 }
14118 arg2 = (char *)(buf2);
14119 {
14120 apr_size_t len = strlen(arg2) + 1;
14121 char *copied;
14122 if (arg1->fs_type) free((char *)arg1->fs_type);
14123 copied = malloc(len);
14124 memcpy(copied, arg2, len);
14125 arg1->fs_type = copied;
14126 }
14127 ST(argvi) = sv_newmortal();
14128
14129 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14130 XSRETURN(argvi);
14131 fail:
14132
14133 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14134 SWIG_croak_null();
14135 }
14136 }
14137
14138
XS(_wrap_svn_fs_fsfs_info_t_fs_type_get)14139 XS(_wrap_svn_fs_fsfs_info_t_fs_type_get) {
14140 {
14141 struct svn_fs_fsfs_info_t *arg1 = (struct svn_fs_fsfs_info_t *) 0 ;
14142 void *argp1 = 0 ;
14143 int res1 = 0 ;
14144 int argvi = 0;
14145 char *result = 0 ;
14146 dXSARGS;
14147
14148 if ((items < 1) || (items > 1)) {
14149 SWIG_croak("Usage: svn_fs_fsfs_info_t_fs_type_get(self);");
14150 }
14151 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_fsfs_info_t, 0 | 0 );
14152 if (!SWIG_IsOK(res1)) {
14153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_fsfs_info_t_fs_type_get" "', argument " "1"" of type '" "struct svn_fs_fsfs_info_t *""'");
14154 }
14155 arg1 = (struct svn_fs_fsfs_info_t *)(argp1);
14156 result = (char *) ((arg1)->fs_type);
14157 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
14158
14159 XSRETURN(argvi);
14160 fail:
14161
14162 SWIG_croak_null();
14163 }
14164 }
14165
14166
XS(_wrap_svn_fs_fsfs_info_t_shard_size_set)14167 XS(_wrap_svn_fs_fsfs_info_t_shard_size_set) {
14168 {
14169 struct svn_fs_fsfs_info_t *arg1 = (struct svn_fs_fsfs_info_t *) 0 ;
14170 int arg2 ;
14171 void *argp1 = 0 ;
14172 int res1 = 0 ;
14173 int val2 ;
14174 int ecode2 = 0 ;
14175 int argvi = 0;
14176 dXSARGS;
14177
14178 if ((items < 2) || (items > 2)) {
14179 SWIG_croak("Usage: svn_fs_fsfs_info_t_shard_size_set(self,shard_size);");
14180 }
14181 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_fsfs_info_t, 0 | 0 );
14182 if (!SWIG_IsOK(res1)) {
14183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_fsfs_info_t_shard_size_set" "', argument " "1"" of type '" "struct svn_fs_fsfs_info_t *""'");
14184 }
14185 arg1 = (struct svn_fs_fsfs_info_t *)(argp1);
14186 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14187 if (!SWIG_IsOK(ecode2)) {
14188 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_fsfs_info_t_shard_size_set" "', argument " "2"" of type '" "int""'");
14189 }
14190 arg2 = (int)(val2);
14191 if (arg1) (arg1)->shard_size = arg2;
14192 ST(argvi) = sv_newmortal();
14193
14194
14195 XSRETURN(argvi);
14196 fail:
14197
14198
14199 SWIG_croak_null();
14200 }
14201 }
14202
14203
XS(_wrap_svn_fs_fsfs_info_t_shard_size_get)14204 XS(_wrap_svn_fs_fsfs_info_t_shard_size_get) {
14205 {
14206 struct svn_fs_fsfs_info_t *arg1 = (struct svn_fs_fsfs_info_t *) 0 ;
14207 void *argp1 = 0 ;
14208 int res1 = 0 ;
14209 int argvi = 0;
14210 int result;
14211 dXSARGS;
14212
14213 if ((items < 1) || (items > 1)) {
14214 SWIG_croak("Usage: svn_fs_fsfs_info_t_shard_size_get(self);");
14215 }
14216 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_fsfs_info_t, 0 | 0 );
14217 if (!SWIG_IsOK(res1)) {
14218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_fsfs_info_t_shard_size_get" "', argument " "1"" of type '" "struct svn_fs_fsfs_info_t *""'");
14219 }
14220 arg1 = (struct svn_fs_fsfs_info_t *)(argp1);
14221 result = (int) ((arg1)->shard_size);
14222 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14223
14224 XSRETURN(argvi);
14225 fail:
14226
14227 SWIG_croak_null();
14228 }
14229 }
14230
14231
XS(_wrap_svn_fs_fsfs_info_t_min_unpacked_rev_set)14232 XS(_wrap_svn_fs_fsfs_info_t_min_unpacked_rev_set) {
14233 {
14234 struct svn_fs_fsfs_info_t *arg1 = (struct svn_fs_fsfs_info_t *) 0 ;
14235 svn_revnum_t arg2 ;
14236 void *argp1 = 0 ;
14237 int res1 = 0 ;
14238 long val2 ;
14239 int ecode2 = 0 ;
14240 int argvi = 0;
14241 dXSARGS;
14242
14243 if ((items < 2) || (items > 2)) {
14244 SWIG_croak("Usage: svn_fs_fsfs_info_t_min_unpacked_rev_set(self,min_unpacked_rev);");
14245 }
14246 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_fsfs_info_t, 0 | 0 );
14247 if (!SWIG_IsOK(res1)) {
14248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_fsfs_info_t_min_unpacked_rev_set" "', argument " "1"" of type '" "struct svn_fs_fsfs_info_t *""'");
14249 }
14250 arg1 = (struct svn_fs_fsfs_info_t *)(argp1);
14251 ecode2 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14252 if (!SWIG_IsOK(ecode2)) {
14253 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_fsfs_info_t_min_unpacked_rev_set" "', argument " "2"" of type '" "svn_revnum_t""'");
14254 }
14255 arg2 = (svn_revnum_t)(val2);
14256 if (arg1) (arg1)->min_unpacked_rev = arg2;
14257 ST(argvi) = sv_newmortal();
14258
14259
14260 XSRETURN(argvi);
14261 fail:
14262
14263
14264 SWIG_croak_null();
14265 }
14266 }
14267
14268
XS(_wrap_svn_fs_fsfs_info_t_min_unpacked_rev_get)14269 XS(_wrap_svn_fs_fsfs_info_t_min_unpacked_rev_get) {
14270 {
14271 struct svn_fs_fsfs_info_t *arg1 = (struct svn_fs_fsfs_info_t *) 0 ;
14272 void *argp1 = 0 ;
14273 int res1 = 0 ;
14274 int argvi = 0;
14275 svn_revnum_t result;
14276 dXSARGS;
14277
14278 if ((items < 1) || (items > 1)) {
14279 SWIG_croak("Usage: svn_fs_fsfs_info_t_min_unpacked_rev_get(self);");
14280 }
14281 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_fsfs_info_t, 0 | 0 );
14282 if (!SWIG_IsOK(res1)) {
14283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_fsfs_info_t_min_unpacked_rev_get" "', argument " "1"" of type '" "struct svn_fs_fsfs_info_t *""'");
14284 }
14285 arg1 = (struct svn_fs_fsfs_info_t *)(argp1);
14286 result = (svn_revnum_t) ((arg1)->min_unpacked_rev);
14287 ST(argvi) = SWIG_From_long SWIG_PERL_CALL_ARGS_1((long)(result)); argvi++ ;
14288
14289 XSRETURN(argvi);
14290 fail:
14291
14292 SWIG_croak_null();
14293 }
14294 }
14295
14296
XS(_wrap_svn_fs_fsfs_info_t_log_addressing_set)14297 XS(_wrap_svn_fs_fsfs_info_t_log_addressing_set) {
14298 {
14299 struct svn_fs_fsfs_info_t *arg1 = (struct svn_fs_fsfs_info_t *) 0 ;
14300 svn_boolean_t arg2 ;
14301 void *argp1 = 0 ;
14302 int res1 = 0 ;
14303 int val2 ;
14304 int ecode2 = 0 ;
14305 int argvi = 0;
14306 dXSARGS;
14307
14308 if ((items < 2) || (items > 2)) {
14309 SWIG_croak("Usage: svn_fs_fsfs_info_t_log_addressing_set(self,log_addressing);");
14310 }
14311 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_fsfs_info_t, 0 | 0 );
14312 if (!SWIG_IsOK(res1)) {
14313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_fsfs_info_t_log_addressing_set" "', argument " "1"" of type '" "struct svn_fs_fsfs_info_t *""'");
14314 }
14315 arg1 = (struct svn_fs_fsfs_info_t *)(argp1);
14316 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14317 if (!SWIG_IsOK(ecode2)) {
14318 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_fsfs_info_t_log_addressing_set" "', argument " "2"" of type '" "svn_boolean_t""'");
14319 }
14320 arg2 = (svn_boolean_t)(val2);
14321 if (arg1) (arg1)->log_addressing = arg2;
14322 ST(argvi) = sv_newmortal();
14323
14324
14325 XSRETURN(argvi);
14326 fail:
14327
14328
14329 SWIG_croak_null();
14330 }
14331 }
14332
14333
XS(_wrap_svn_fs_fsfs_info_t_log_addressing_get)14334 XS(_wrap_svn_fs_fsfs_info_t_log_addressing_get) {
14335 {
14336 struct svn_fs_fsfs_info_t *arg1 = (struct svn_fs_fsfs_info_t *) 0 ;
14337 void *argp1 = 0 ;
14338 int res1 = 0 ;
14339 int argvi = 0;
14340 svn_boolean_t result;
14341 dXSARGS;
14342
14343 if ((items < 1) || (items > 1)) {
14344 SWIG_croak("Usage: svn_fs_fsfs_info_t_log_addressing_get(self);");
14345 }
14346 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_fsfs_info_t, 0 | 0 );
14347 if (!SWIG_IsOK(res1)) {
14348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_fsfs_info_t_log_addressing_get" "', argument " "1"" of type '" "struct svn_fs_fsfs_info_t *""'");
14349 }
14350 arg1 = (struct svn_fs_fsfs_info_t *)(argp1);
14351 result = (svn_boolean_t) ((arg1)->log_addressing);
14352 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14353
14354 XSRETURN(argvi);
14355 fail:
14356
14357 SWIG_croak_null();
14358 }
14359 }
14360
14361
XS(_wrap_svn_fs_fsx_info_t_fs_type_set)14362 XS(_wrap_svn_fs_fsx_info_t_fs_type_set) {
14363 {
14364 struct svn_fs_fsx_info_t *arg1 = (struct svn_fs_fsx_info_t *) 0 ;
14365 char *arg2 = (char *) 0 ;
14366 void *argp1 = 0 ;
14367 int res1 = 0 ;
14368 int res2 ;
14369 char *buf2 = 0 ;
14370 int alloc2 = 0 ;
14371 int argvi = 0;
14372 dXSARGS;
14373
14374 if ((items < 2) || (items > 2)) {
14375 SWIG_croak("Usage: svn_fs_fsx_info_t_fs_type_set(self,fs_type);");
14376 }
14377 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_fsx_info_t, 0 | 0 );
14378 if (!SWIG_IsOK(res1)) {
14379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_fsx_info_t_fs_type_set" "', argument " "1"" of type '" "struct svn_fs_fsx_info_t *""'");
14380 }
14381 arg1 = (struct svn_fs_fsx_info_t *)(argp1);
14382 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
14383 if (!SWIG_IsOK(res2)) {
14384 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_fsx_info_t_fs_type_set" "', argument " "2"" of type '" "char const *""'");
14385 }
14386 arg2 = (char *)(buf2);
14387 {
14388 apr_size_t len = strlen(arg2) + 1;
14389 char *copied;
14390 if (arg1->fs_type) free((char *)arg1->fs_type);
14391 copied = malloc(len);
14392 memcpy(copied, arg2, len);
14393 arg1->fs_type = copied;
14394 }
14395 ST(argvi) = sv_newmortal();
14396
14397 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14398 XSRETURN(argvi);
14399 fail:
14400
14401 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14402 SWIG_croak_null();
14403 }
14404 }
14405
14406
XS(_wrap_svn_fs_fsx_info_t_fs_type_get)14407 XS(_wrap_svn_fs_fsx_info_t_fs_type_get) {
14408 {
14409 struct svn_fs_fsx_info_t *arg1 = (struct svn_fs_fsx_info_t *) 0 ;
14410 void *argp1 = 0 ;
14411 int res1 = 0 ;
14412 int argvi = 0;
14413 char *result = 0 ;
14414 dXSARGS;
14415
14416 if ((items < 1) || (items > 1)) {
14417 SWIG_croak("Usage: svn_fs_fsx_info_t_fs_type_get(self);");
14418 }
14419 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_fsx_info_t, 0 | 0 );
14420 if (!SWIG_IsOK(res1)) {
14421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_fsx_info_t_fs_type_get" "', argument " "1"" of type '" "struct svn_fs_fsx_info_t *""'");
14422 }
14423 arg1 = (struct svn_fs_fsx_info_t *)(argp1);
14424 result = (char *) ((arg1)->fs_type);
14425 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
14426
14427 XSRETURN(argvi);
14428 fail:
14429
14430 SWIG_croak_null();
14431 }
14432 }
14433
14434
XS(_wrap_svn_fs_fsx_info_t_shard_size_set)14435 XS(_wrap_svn_fs_fsx_info_t_shard_size_set) {
14436 {
14437 struct svn_fs_fsx_info_t *arg1 = (struct svn_fs_fsx_info_t *) 0 ;
14438 int arg2 ;
14439 void *argp1 = 0 ;
14440 int res1 = 0 ;
14441 int val2 ;
14442 int ecode2 = 0 ;
14443 int argvi = 0;
14444 dXSARGS;
14445
14446 if ((items < 2) || (items > 2)) {
14447 SWIG_croak("Usage: svn_fs_fsx_info_t_shard_size_set(self,shard_size);");
14448 }
14449 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_fsx_info_t, 0 | 0 );
14450 if (!SWIG_IsOK(res1)) {
14451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_fsx_info_t_shard_size_set" "', argument " "1"" of type '" "struct svn_fs_fsx_info_t *""'");
14452 }
14453 arg1 = (struct svn_fs_fsx_info_t *)(argp1);
14454 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14455 if (!SWIG_IsOK(ecode2)) {
14456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_fsx_info_t_shard_size_set" "', argument " "2"" of type '" "int""'");
14457 }
14458 arg2 = (int)(val2);
14459 if (arg1) (arg1)->shard_size = arg2;
14460 ST(argvi) = sv_newmortal();
14461
14462
14463 XSRETURN(argvi);
14464 fail:
14465
14466
14467 SWIG_croak_null();
14468 }
14469 }
14470
14471
XS(_wrap_svn_fs_fsx_info_t_shard_size_get)14472 XS(_wrap_svn_fs_fsx_info_t_shard_size_get) {
14473 {
14474 struct svn_fs_fsx_info_t *arg1 = (struct svn_fs_fsx_info_t *) 0 ;
14475 void *argp1 = 0 ;
14476 int res1 = 0 ;
14477 int argvi = 0;
14478 int result;
14479 dXSARGS;
14480
14481 if ((items < 1) || (items > 1)) {
14482 SWIG_croak("Usage: svn_fs_fsx_info_t_shard_size_get(self);");
14483 }
14484 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_fsx_info_t, 0 | 0 );
14485 if (!SWIG_IsOK(res1)) {
14486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_fsx_info_t_shard_size_get" "', argument " "1"" of type '" "struct svn_fs_fsx_info_t *""'");
14487 }
14488 arg1 = (struct svn_fs_fsx_info_t *)(argp1);
14489 result = (int) ((arg1)->shard_size);
14490 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14491
14492 XSRETURN(argvi);
14493 fail:
14494
14495 SWIG_croak_null();
14496 }
14497 }
14498
14499
XS(_wrap_svn_fs_fsx_info_t_min_unpacked_rev_set)14500 XS(_wrap_svn_fs_fsx_info_t_min_unpacked_rev_set) {
14501 {
14502 struct svn_fs_fsx_info_t *arg1 = (struct svn_fs_fsx_info_t *) 0 ;
14503 svn_revnum_t arg2 ;
14504 void *argp1 = 0 ;
14505 int res1 = 0 ;
14506 long val2 ;
14507 int ecode2 = 0 ;
14508 int argvi = 0;
14509 dXSARGS;
14510
14511 if ((items < 2) || (items > 2)) {
14512 SWIG_croak("Usage: svn_fs_fsx_info_t_min_unpacked_rev_set(self,min_unpacked_rev);");
14513 }
14514 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_fsx_info_t, 0 | 0 );
14515 if (!SWIG_IsOK(res1)) {
14516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_fsx_info_t_min_unpacked_rev_set" "', argument " "1"" of type '" "struct svn_fs_fsx_info_t *""'");
14517 }
14518 arg1 = (struct svn_fs_fsx_info_t *)(argp1);
14519 ecode2 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14520 if (!SWIG_IsOK(ecode2)) {
14521 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_fsx_info_t_min_unpacked_rev_set" "', argument " "2"" of type '" "svn_revnum_t""'");
14522 }
14523 arg2 = (svn_revnum_t)(val2);
14524 if (arg1) (arg1)->min_unpacked_rev = arg2;
14525 ST(argvi) = sv_newmortal();
14526
14527
14528 XSRETURN(argvi);
14529 fail:
14530
14531
14532 SWIG_croak_null();
14533 }
14534 }
14535
14536
XS(_wrap_svn_fs_fsx_info_t_min_unpacked_rev_get)14537 XS(_wrap_svn_fs_fsx_info_t_min_unpacked_rev_get) {
14538 {
14539 struct svn_fs_fsx_info_t *arg1 = (struct svn_fs_fsx_info_t *) 0 ;
14540 void *argp1 = 0 ;
14541 int res1 = 0 ;
14542 int argvi = 0;
14543 svn_revnum_t result;
14544 dXSARGS;
14545
14546 if ((items < 1) || (items > 1)) {
14547 SWIG_croak("Usage: svn_fs_fsx_info_t_min_unpacked_rev_get(self);");
14548 }
14549 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_fsx_info_t, 0 | 0 );
14550 if (!SWIG_IsOK(res1)) {
14551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_fsx_info_t_min_unpacked_rev_get" "', argument " "1"" of type '" "struct svn_fs_fsx_info_t *""'");
14552 }
14553 arg1 = (struct svn_fs_fsx_info_t *)(argp1);
14554 result = (svn_revnum_t) ((arg1)->min_unpacked_rev);
14555 ST(argvi) = SWIG_From_long SWIG_PERL_CALL_ARGS_1((long)(result)); argvi++ ;
14556
14557 XSRETURN(argvi);
14558 fail:
14559
14560 SWIG_croak_null();
14561 }
14562 }
14563
14564
XS(_wrap_svn_fs_info_placeholder_t_fs_type_set)14565 XS(_wrap_svn_fs_info_placeholder_t_fs_type_set) {
14566 {
14567 struct svn_fs_info_placeholder_t *arg1 = (struct svn_fs_info_placeholder_t *) 0 ;
14568 char *arg2 = (char *) 0 ;
14569 void *argp1 = 0 ;
14570 int res1 = 0 ;
14571 int res2 ;
14572 char *buf2 = 0 ;
14573 int alloc2 = 0 ;
14574 int argvi = 0;
14575 dXSARGS;
14576
14577 if ((items < 2) || (items > 2)) {
14578 SWIG_croak("Usage: svn_fs_info_placeholder_t_fs_type_set(self,fs_type);");
14579 }
14580 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_info_placeholder_t, 0 | 0 );
14581 if (!SWIG_IsOK(res1)) {
14582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_info_placeholder_t_fs_type_set" "', argument " "1"" of type '" "struct svn_fs_info_placeholder_t *""'");
14583 }
14584 arg1 = (struct svn_fs_info_placeholder_t *)(argp1);
14585 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
14586 if (!SWIG_IsOK(res2)) {
14587 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_info_placeholder_t_fs_type_set" "', argument " "2"" of type '" "char const *""'");
14588 }
14589 arg2 = (char *)(buf2);
14590 {
14591 apr_size_t len = strlen(arg2) + 1;
14592 char *copied;
14593 if (arg1->fs_type) free((char *)arg1->fs_type);
14594 copied = malloc(len);
14595 memcpy(copied, arg2, len);
14596 arg1->fs_type = copied;
14597 }
14598 ST(argvi) = sv_newmortal();
14599
14600 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14601 XSRETURN(argvi);
14602 fail:
14603
14604 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14605 SWIG_croak_null();
14606 }
14607 }
14608
14609
XS(_wrap_svn_fs_info_placeholder_t_fs_type_get)14610 XS(_wrap_svn_fs_info_placeholder_t_fs_type_get) {
14611 {
14612 struct svn_fs_info_placeholder_t *arg1 = (struct svn_fs_info_placeholder_t *) 0 ;
14613 void *argp1 = 0 ;
14614 int res1 = 0 ;
14615 int argvi = 0;
14616 char *result = 0 ;
14617 dXSARGS;
14618
14619 if ((items < 1) || (items > 1)) {
14620 SWIG_croak("Usage: svn_fs_info_placeholder_t_fs_type_get(self);");
14621 }
14622 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_info_placeholder_t, 0 | 0 );
14623 if (!SWIG_IsOK(res1)) {
14624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_info_placeholder_t_fs_type_get" "', argument " "1"" of type '" "struct svn_fs_info_placeholder_t *""'");
14625 }
14626 arg1 = (struct svn_fs_info_placeholder_t *)(argp1);
14627 result = (char *) ((arg1)->fs_type);
14628 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
14629
14630 XSRETURN(argvi);
14631 fail:
14632
14633 SWIG_croak_null();
14634 }
14635 }
14636
14637
XS(_wrap_svn_fs_info)14638 XS(_wrap_svn_fs_info) {
14639 {
14640 svn_fs_info_placeholder_t **arg1 = (svn_fs_info_placeholder_t **) 0 ;
14641 svn_fs_t *arg2 = (svn_fs_t *) 0 ;
14642 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
14643 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
14644 apr_pool_t *_global_pool ;
14645 svn_fs_info_placeholder_t *temp1 ;
14646 void *argp2 = 0 ;
14647 int res2 = 0 ;
14648 int argvi = 0;
14649 svn_error_t *result = 0 ;
14650 dXSARGS;
14651
14652 {
14653 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
14654 SPAGAIN;
14655 }
14656 {
14657 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
14658 SPAGAIN;
14659 }
14660 arg1 = &temp1;
14661 if ((items < 1) || (items > 3)) {
14662 SWIG_croak("Usage: svn_fs_info(fs,result_pool,scratch_pool);");
14663 }
14664 res2 = SWIG_ConvertPtr(ST(0), &argp2,SWIGTYPE_p_svn_fs_t, 0 | 0 );
14665 if (!SWIG_IsOK(res2)) {
14666 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_info" "', argument " "2"" of type '" "svn_fs_t *""'");
14667 }
14668 arg2 = (svn_fs_t *)(argp2);
14669 if (items > 1) {
14670
14671 }
14672 if (items > 2) {
14673
14674 }
14675 {
14676 result = (svn_error_t *)svn_fs_info((struct svn_fs_info_placeholder_t const **)arg1,arg2,arg3,arg4);
14677
14678
14679
14680 }
14681 {
14682 if (result) {
14683 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
14684
14685 if (SvOK(exception_handler)) {
14686 SV *callback_result;
14687
14688 PUTBACK;
14689 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
14690 &callback_result, "S", result,
14691 SWIGTYPE_p_svn_error_t);
14692 SPAGAIN;
14693 } else {
14694 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
14695 argvi++;
14696 }
14697 }
14698 }
14699 {
14700 /* FIXME: Missing argout typemap: svn_fs_info arg 1 (svn_fs_info_placeholder_t const **) */
14701
14702
14703
14704
14705 SWIG_exception(SWIG_ValueError, "svn_fs_info is not implemented yet");
14706
14707 }
14708
14709
14710
14711
14712 XSRETURN(argvi);
14713 fail:
14714
14715
14716
14717
14718 SWIG_croak_null();
14719 }
14720 }
14721
14722
XS(_wrap_svn_fs_info_dup)14723 XS(_wrap_svn_fs_info_dup) {
14724 {
14725 void *arg1 = (void *) 0 ;
14726 apr_pool_t *arg2 = (apr_pool_t *) 0 ;
14727 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
14728 apr_pool_t *_global_pool ;
14729 int res1 ;
14730 int argvi = 0;
14731 void *result = 0 ;
14732 dXSARGS;
14733
14734 {
14735 _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
14736 SPAGAIN;
14737 }
14738 {
14739 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
14740 SPAGAIN;
14741 }
14742 if ((items < 1) || (items > 3)) {
14743 SWIG_croak("Usage: svn_fs_info_dup(info,result_pool,scratch_pool);");
14744 }
14745 res1 = SWIG_ConvertPtr(ST(0),SWIG_as_voidptrptr(&arg1), 0, 0);
14746 if (!SWIG_IsOK(res1)) {
14747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_info_dup" "', argument " "1"" of type '" "void const *""'");
14748 }
14749 if (items > 1) {
14750
14751 }
14752 if (items > 2) {
14753
14754 }
14755 {
14756 result = (void *)svn_fs_info_dup((void const *)arg1,arg2,arg3);
14757
14758
14759
14760 }
14761 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0); argvi++ ;
14762
14763
14764
14765 XSRETURN(argvi);
14766 fail:
14767
14768
14769
14770 SWIG_croak_null();
14771 }
14772 }
14773
14774
XS(_wrap_svn_fs_ioctl_code_t_fs_type_set)14775 XS(_wrap_svn_fs_ioctl_code_t_fs_type_set) {
14776 {
14777 struct svn_fs_ioctl_code_t *arg1 = (struct svn_fs_ioctl_code_t *) 0 ;
14778 char *arg2 = (char *) 0 ;
14779 void *argp1 = 0 ;
14780 int res1 = 0 ;
14781 int res2 ;
14782 char *buf2 = 0 ;
14783 int alloc2 = 0 ;
14784 int argvi = 0;
14785 dXSARGS;
14786
14787 if ((items < 2) || (items > 2)) {
14788 SWIG_croak("Usage: svn_fs_ioctl_code_t_fs_type_set(self,fs_type);");
14789 }
14790 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_ioctl_code_t, 0 | 0 );
14791 if (!SWIG_IsOK(res1)) {
14792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_ioctl_code_t_fs_type_set" "', argument " "1"" of type '" "struct svn_fs_ioctl_code_t *""'");
14793 }
14794 arg1 = (struct svn_fs_ioctl_code_t *)(argp1);
14795 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
14796 if (!SWIG_IsOK(res2)) {
14797 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_ioctl_code_t_fs_type_set" "', argument " "2"" of type '" "char const *""'");
14798 }
14799 arg2 = (char *)(buf2);
14800 {
14801 apr_size_t len = strlen(arg2) + 1;
14802 char *copied;
14803 if (arg1->fs_type) free((char *)arg1->fs_type);
14804 copied = malloc(len);
14805 memcpy(copied, arg2, len);
14806 arg1->fs_type = copied;
14807 }
14808 ST(argvi) = sv_newmortal();
14809
14810 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14811 XSRETURN(argvi);
14812 fail:
14813
14814 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14815 SWIG_croak_null();
14816 }
14817 }
14818
14819
XS(_wrap_svn_fs_ioctl_code_t_fs_type_get)14820 XS(_wrap_svn_fs_ioctl_code_t_fs_type_get) {
14821 {
14822 struct svn_fs_ioctl_code_t *arg1 = (struct svn_fs_ioctl_code_t *) 0 ;
14823 void *argp1 = 0 ;
14824 int res1 = 0 ;
14825 int argvi = 0;
14826 char *result = 0 ;
14827 dXSARGS;
14828
14829 if ((items < 1) || (items > 1)) {
14830 SWIG_croak("Usage: svn_fs_ioctl_code_t_fs_type_get(self);");
14831 }
14832 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_ioctl_code_t, 0 | 0 );
14833 if (!SWIG_IsOK(res1)) {
14834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_ioctl_code_t_fs_type_get" "', argument " "1"" of type '" "struct svn_fs_ioctl_code_t *""'");
14835 }
14836 arg1 = (struct svn_fs_ioctl_code_t *)(argp1);
14837 result = (char *) ((arg1)->fs_type);
14838 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
14839
14840 XSRETURN(argvi);
14841 fail:
14842
14843 SWIG_croak_null();
14844 }
14845 }
14846
14847
XS(_wrap_svn_fs_ioctl_code_t_code_set)14848 XS(_wrap_svn_fs_ioctl_code_t_code_set) {
14849 {
14850 struct svn_fs_ioctl_code_t *arg1 = (struct svn_fs_ioctl_code_t *) 0 ;
14851 int arg2 ;
14852 void *argp1 = 0 ;
14853 int res1 = 0 ;
14854 int val2 ;
14855 int ecode2 = 0 ;
14856 int argvi = 0;
14857 dXSARGS;
14858
14859 if ((items < 2) || (items > 2)) {
14860 SWIG_croak("Usage: svn_fs_ioctl_code_t_code_set(self,code);");
14861 }
14862 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_ioctl_code_t, 0 | 0 );
14863 if (!SWIG_IsOK(res1)) {
14864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_ioctl_code_t_code_set" "', argument " "1"" of type '" "struct svn_fs_ioctl_code_t *""'");
14865 }
14866 arg1 = (struct svn_fs_ioctl_code_t *)(argp1);
14867 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14868 if (!SWIG_IsOK(ecode2)) {
14869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_ioctl_code_t_code_set" "', argument " "2"" of type '" "int""'");
14870 }
14871 arg2 = (int)(val2);
14872 if (arg1) (arg1)->code = arg2;
14873 ST(argvi) = sv_newmortal();
14874
14875
14876 XSRETURN(argvi);
14877 fail:
14878
14879
14880 SWIG_croak_null();
14881 }
14882 }
14883
14884
XS(_wrap_svn_fs_ioctl_code_t_code_get)14885 XS(_wrap_svn_fs_ioctl_code_t_code_get) {
14886 {
14887 struct svn_fs_ioctl_code_t *arg1 = (struct svn_fs_ioctl_code_t *) 0 ;
14888 void *argp1 = 0 ;
14889 int res1 = 0 ;
14890 int argvi = 0;
14891 int result;
14892 dXSARGS;
14893
14894 if ((items < 1) || (items > 1)) {
14895 SWIG_croak("Usage: svn_fs_ioctl_code_t_code_get(self);");
14896 }
14897 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_ioctl_code_t, 0 | 0 );
14898 if (!SWIG_IsOK(res1)) {
14899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_ioctl_code_t_code_get" "', argument " "1"" of type '" "struct svn_fs_ioctl_code_t *""'");
14900 }
14901 arg1 = (struct svn_fs_ioctl_code_t *)(argp1);
14902 result = (int) ((arg1)->code);
14903 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14904
14905 XSRETURN(argvi);
14906 fail:
14907
14908 SWIG_croak_null();
14909 }
14910 }
14911
14912
XS(_wrap_svn_fs_ioctl)14913 XS(_wrap_svn_fs_ioctl) {
14914 {
14915 svn_fs_t *arg1 = (svn_fs_t *) 0 ;
14916 svn_fs_ioctl_code_t arg2 ;
14917 void *arg3 = (void *) 0 ;
14918 void **arg4 = (void **) 0 ;
14919 svn_cancel_func_t arg5 = (svn_cancel_func_t) 0 ;
14920 void *arg6 = (void *) 0 ;
14921 apr_pool_t *arg7 = (apr_pool_t *) 0 ;
14922 apr_pool_t *arg8 = (apr_pool_t *) 0 ;
14923 apr_pool_t *_global_pool ;
14924 void *argp1 = 0 ;
14925 int res1 = 0 ;
14926 void *argp2 ;
14927 int res2 = 0 ;
14928 int res3 ;
14929 void *temp4 ;
14930 int argvi = 0;
14931 svn_error_t *result = 0 ;
14932 dXSARGS;
14933
14934 {
14935 _global_pool = arg7 = svn_swig_pl_make_pool (ST(items-1));
14936 SPAGAIN;
14937 }
14938 {
14939 _global_pool = arg8 = svn_swig_pl_make_pool (ST(items-1));
14940 SPAGAIN;
14941 }
14942 arg4 = &temp4;
14943 if ((items < 4) || (items > 6)) {
14944 SWIG_croak("Usage: svn_fs_ioctl(fs,ctlcode,input,cancel_func,cancel_baton,result_pool,scratch_pool);");
14945 }
14946 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_t, 0 | 0 );
14947 if (!SWIG_IsOK(res1)) {
14948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_ioctl" "', argument " "1"" of type '" "svn_fs_t *""'");
14949 }
14950 arg1 = (svn_fs_t *)(argp1);
14951 {
14952 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_svn_fs_ioctl_code_t, 0 );
14953 if (!SWIG_IsOK(res2)) {
14954 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_ioctl" "', argument " "2"" of type '" "svn_fs_ioctl_code_t""'");
14955 }
14956 if (!argp2) {
14957 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "svn_fs_ioctl" "', argument " "2"" of type '" "svn_fs_ioctl_code_t""'");
14958 } else {
14959 arg2 = *((svn_fs_ioctl_code_t *)(argp2));
14960 }
14961 }
14962 res3 = SWIG_ConvertPtr(ST(2),SWIG_as_voidptrptr(&arg3), 0, 0);
14963 if (!SWIG_IsOK(res3)) {
14964 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_ioctl" "', argument " "3"" of type '" "void *""'");
14965 }
14966 {
14967 arg5 = (svn_cancel_func_t) svn_swig_pl_cancel_func;
14968 arg6 = ST(3);
14969 }
14970 if (items > 4) {
14971
14972 }
14973 if (items > 5) {
14974
14975 }
14976 {
14977 result = (svn_error_t *)svn_fs_ioctl(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
14978
14979
14980
14981 }
14982 {
14983 if (result) {
14984 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
14985
14986 if (SvOK(exception_handler)) {
14987 SV *callback_result;
14988
14989 PUTBACK;
14990 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
14991 &callback_result, "S", result,
14992 SWIGTYPE_p_svn_error_t);
14993 SPAGAIN;
14994 } else {
14995 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
14996 argvi++;
14997 }
14998 }
14999 }
15000 {
15001 /* FIXME: Missing argout typemap: svn_fs_ioctl arg 4 (void **) */
15002
15003
15004
15005
15006 SWIG_exception(SWIG_ValueError, "svn_fs_ioctl is not implemented yet");
15007
15008 }
15009
15010
15011
15012
15013
15014 XSRETURN(argvi);
15015 fail:
15016
15017
15018
15019
15020
15021 SWIG_croak_null();
15022 }
15023 }
15024
15025
XS(_wrap_svn_fs_invoke_warning_callback)15026 XS(_wrap_svn_fs_invoke_warning_callback) {
15027 {
15028 svn_fs_warning_callback_t arg1 = (svn_fs_warning_callback_t) 0 ;
15029 void *arg2 = (void *) 0 ;
15030 svn_error_t *arg3 = (svn_error_t *) 0 ;
15031 int res2 ;
15032 void *argp3 = 0 ;
15033 int res3 = 0 ;
15034 int argvi = 0;
15035 dXSARGS;
15036
15037 if ((items < 3) || (items > 3)) {
15038 SWIG_croak("Usage: svn_fs_invoke_warning_callback(_obj,baton,err);");
15039 }
15040 {
15041 int res = SWIG_ConvertFunctionPtr(ST(0), (void**)(&arg1), SWIGTYPE_p_f_p_void_p_svn_error_t__void);
15042 if (!SWIG_IsOK(res)) {
15043 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_fs_invoke_warning_callback" "', argument " "1"" of type '" "svn_fs_warning_callback_t""'");
15044 }
15045 }
15046 res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
15047 if (!SWIG_IsOK(res2)) {
15048 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_invoke_warning_callback" "', argument " "2"" of type '" "void *""'");
15049 }
15050 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_svn_error_t, 0 | 0 );
15051 if (!SWIG_IsOK(res3)) {
15052 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_invoke_warning_callback" "', argument " "3"" of type '" "svn_error_t *""'");
15053 }
15054 arg3 = (svn_error_t *)(argp3);
15055 {
15056 svn_fs_invoke_warning_callback(arg1,arg2,arg3);
15057
15058
15059
15060 }
15061 ST(argvi) = sv_newmortal();
15062
15063
15064
15065 XSRETURN(argvi);
15066 fail:
15067
15068
15069
15070 SWIG_croak_null();
15071 }
15072 }
15073
15074
XS(_wrap_svn_fs_invoke_upgrade_notify)15075 XS(_wrap_svn_fs_invoke_upgrade_notify) {
15076 {
15077 svn_fs_upgrade_notify_t arg1 = (svn_fs_upgrade_notify_t) 0 ;
15078 void *arg2 = (void *) 0 ;
15079 apr_uint64_t arg3 ;
15080 svn_fs_upgrade_notify_action_t arg4 ;
15081 apr_pool_t *arg5 = (apr_pool_t *) 0 ;
15082 apr_pool_t *_global_pool ;
15083 int res2 ;
15084 unsigned long long val3 ;
15085 int ecode3 = 0 ;
15086 int val4 ;
15087 int ecode4 = 0 ;
15088 int argvi = 0;
15089 svn_error_t *result = 0 ;
15090 dXSARGS;
15091
15092 {
15093 _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
15094 SPAGAIN;
15095 }
15096 if ((items < 4) || (items > 5)) {
15097 SWIG_croak("Usage: svn_fs_invoke_upgrade_notify(_obj,baton,number,action,scratch_pool);");
15098 }
15099 {
15100 int res = SWIG_ConvertFunctionPtr(ST(0), (void**)(&arg1), SWIGTYPE_p_f_p_void_apr_uint64_t_svn_fs_upgrade_notify_action_t_p_apr_pool_t__p_svn_error_t);
15101 if (!SWIG_IsOK(res)) {
15102 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_fs_invoke_upgrade_notify" "', argument " "1"" of type '" "svn_fs_upgrade_notify_t""'");
15103 }
15104 }
15105 res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
15106 if (!SWIG_IsOK(res2)) {
15107 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_invoke_upgrade_notify" "', argument " "2"" of type '" "void *""'");
15108 }
15109 ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
15110 if (!SWIG_IsOK(ecode3)) {
15111 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_fs_invoke_upgrade_notify" "', argument " "3"" of type '" "apr_uint64_t""'");
15112 }
15113 arg3 = (apr_uint64_t)(val3);
15114 ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
15115 if (!SWIG_IsOK(ecode4)) {
15116 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "svn_fs_invoke_upgrade_notify" "', argument " "4"" of type '" "svn_fs_upgrade_notify_action_t""'");
15117 }
15118 arg4 = (svn_fs_upgrade_notify_action_t)(val4);
15119 if (items > 4) {
15120
15121 }
15122 {
15123 result = (svn_error_t *)svn_fs_invoke_upgrade_notify(arg1,arg2,arg3,arg4,arg5);
15124
15125
15126
15127 }
15128 {
15129 if (result) {
15130 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
15131
15132 if (SvOK(exception_handler)) {
15133 SV *callback_result;
15134
15135 PUTBACK;
15136 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
15137 &callback_result, "S", result,
15138 SWIGTYPE_p_svn_error_t);
15139 SPAGAIN;
15140 } else {
15141 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
15142 argvi++;
15143 }
15144 }
15145 }
15146
15147
15148
15149
15150
15151 XSRETURN(argvi);
15152 fail:
15153
15154
15155
15156
15157
15158 SWIG_croak_null();
15159 }
15160 }
15161
15162
XS(_wrap_svn_fs_invoke_progress_notify_func)15163 XS(_wrap_svn_fs_invoke_progress_notify_func) {
15164 {
15165 svn_fs_progress_notify_func_t arg1 = (svn_fs_progress_notify_func_t) 0 ;
15166 svn_revnum_t arg2 ;
15167 void *arg3 = (void *) 0 ;
15168 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
15169 apr_pool_t *_global_pool ;
15170 long val2 ;
15171 int ecode2 = 0 ;
15172 int res3 ;
15173 int argvi = 0;
15174 dXSARGS;
15175
15176 {
15177 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
15178 SPAGAIN;
15179 }
15180 if ((items < 3) || (items > 4)) {
15181 SWIG_croak("Usage: svn_fs_invoke_progress_notify_func(_obj,revision,baton,pool);");
15182 }
15183 {
15184 int res = SWIG_ConvertFunctionPtr(ST(0), (void**)(&arg1), SWIGTYPE_p_f_long_p_void_p_apr_pool_t__void);
15185 if (!SWIG_IsOK(res)) {
15186 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_fs_invoke_progress_notify_func" "', argument " "1"" of type '" "svn_fs_progress_notify_func_t""'");
15187 }
15188 }
15189 ecode2 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15190 if (!SWIG_IsOK(ecode2)) {
15191 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_fs_invoke_progress_notify_func" "', argument " "2"" of type '" "svn_revnum_t""'");
15192 }
15193 arg2 = (svn_revnum_t)(val2);
15194 res3 = SWIG_ConvertPtr(ST(2),SWIG_as_voidptrptr(&arg3), 0, 0);
15195 if (!SWIG_IsOK(res3)) {
15196 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_invoke_progress_notify_func" "', argument " "3"" of type '" "void *""'");
15197 }
15198 if (items > 3) {
15199
15200 }
15201 {
15202 svn_fs_invoke_progress_notify_func(arg1,arg2,arg3,arg4);
15203
15204
15205
15206 }
15207 ST(argvi) = sv_newmortal();
15208
15209
15210
15211
15212 XSRETURN(argvi);
15213 fail:
15214
15215
15216
15217
15218 SWIG_croak_null();
15219 }
15220 }
15221
15222
XS(_wrap_svn_fs_invoke_hotcopy_notify)15223 XS(_wrap_svn_fs_invoke_hotcopy_notify) {
15224 {
15225 svn_fs_hotcopy_notify_t arg1 = (svn_fs_hotcopy_notify_t) 0 ;
15226 void *arg2 = (void *) 0 ;
15227 svn_revnum_t arg3 ;
15228 svn_revnum_t arg4 ;
15229 apr_pool_t *arg5 = (apr_pool_t *) 0 ;
15230 apr_pool_t *_global_pool ;
15231 int res2 ;
15232 long val3 ;
15233 int ecode3 = 0 ;
15234 long val4 ;
15235 int ecode4 = 0 ;
15236 int argvi = 0;
15237 dXSARGS;
15238
15239 {
15240 _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
15241 SPAGAIN;
15242 }
15243 if ((items < 4) || (items > 5)) {
15244 SWIG_croak("Usage: svn_fs_invoke_hotcopy_notify(_obj,baton,start_revision,end_revision,scratch_pool);");
15245 }
15246 {
15247 int res = SWIG_ConvertFunctionPtr(ST(0), (void**)(&arg1), SWIGTYPE_p_f_p_void_long_long_p_apr_pool_t__void);
15248 if (!SWIG_IsOK(res)) {
15249 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_fs_invoke_hotcopy_notify" "', argument " "1"" of type '" "svn_fs_hotcopy_notify_t""'");
15250 }
15251 }
15252 res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
15253 if (!SWIG_IsOK(res2)) {
15254 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_invoke_hotcopy_notify" "', argument " "2"" of type '" "void *""'");
15255 }
15256 ecode3 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
15257 if (!SWIG_IsOK(ecode3)) {
15258 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_fs_invoke_hotcopy_notify" "', argument " "3"" of type '" "svn_revnum_t""'");
15259 }
15260 arg3 = (svn_revnum_t)(val3);
15261 ecode4 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
15262 if (!SWIG_IsOK(ecode4)) {
15263 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "svn_fs_invoke_hotcopy_notify" "', argument " "4"" of type '" "svn_revnum_t""'");
15264 }
15265 arg4 = (svn_revnum_t)(val4);
15266 if (items > 4) {
15267
15268 }
15269 {
15270 svn_fs_invoke_hotcopy_notify(arg1,arg2,arg3,arg4,arg5);
15271
15272
15273
15274 }
15275 ST(argvi) = sv_newmortal();
15276
15277
15278
15279
15280
15281 XSRETURN(argvi);
15282 fail:
15283
15284
15285
15286
15287
15288 SWIG_croak_null();
15289 }
15290 }
15291
15292
XS(_wrap_svn_fs_invoke_freeze_func)15293 XS(_wrap_svn_fs_invoke_freeze_func) {
15294 {
15295 svn_fs_freeze_func_t arg1 = (svn_fs_freeze_func_t) 0 ;
15296 void *arg2 = (void *) 0 ;
15297 apr_pool_t *arg3 = (apr_pool_t *) 0 ;
15298 apr_pool_t *_global_pool ;
15299 int res2 ;
15300 int argvi = 0;
15301 svn_error_t *result = 0 ;
15302 dXSARGS;
15303
15304 {
15305 _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
15306 SPAGAIN;
15307 }
15308 if ((items < 2) || (items > 3)) {
15309 SWIG_croak("Usage: svn_fs_invoke_freeze_func(_obj,baton,pool);");
15310 }
15311 {
15312 int res = SWIG_ConvertFunctionPtr(ST(0), (void**)(&arg1), SWIGTYPE_p_f_p_void_p_apr_pool_t__p_svn_error_t);
15313 if (!SWIG_IsOK(res)) {
15314 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_fs_invoke_freeze_func" "', argument " "1"" of type '" "svn_fs_freeze_func_t""'");
15315 }
15316 }
15317 res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
15318 if (!SWIG_IsOK(res2)) {
15319 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_invoke_freeze_func" "', argument " "2"" of type '" "void *""'");
15320 }
15321 if (items > 2) {
15322
15323 }
15324 {
15325 result = (svn_error_t *)svn_fs_invoke_freeze_func(arg1,arg2,arg3);
15326
15327
15328
15329 }
15330 {
15331 if (result) {
15332 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
15333
15334 if (SvOK(exception_handler)) {
15335 SV *callback_result;
15336
15337 PUTBACK;
15338 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
15339 &callback_result, "S", result,
15340 SWIGTYPE_p_svn_error_t);
15341 SPAGAIN;
15342 } else {
15343 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
15344 argvi++;
15345 }
15346 }
15347 }
15348
15349
15350
15351 XSRETURN(argvi);
15352 fail:
15353
15354
15355
15356 SWIG_croak_null();
15357 }
15358 }
15359
15360
XS(_wrap_svn_fs_invoke_mergeinfo_receiver)15361 XS(_wrap_svn_fs_invoke_mergeinfo_receiver) {
15362 {
15363 svn_fs_mergeinfo_receiver_t arg1 = (svn_fs_mergeinfo_receiver_t) 0 ;
15364 char *arg2 = (char *) 0 ;
15365 svn_mergeinfo_t arg3 = (svn_mergeinfo_t) 0 ;
15366 void *arg4 = (void *) 0 ;
15367 apr_pool_t *arg5 = (apr_pool_t *) 0 ;
15368 apr_pool_t *_global_pool ;
15369 int res2 ;
15370 char *buf2 = 0 ;
15371 int alloc2 = 0 ;
15372 void *argp3 = 0 ;
15373 int res3 = 0 ;
15374 int res4 ;
15375 int argvi = 0;
15376 svn_error_t *result = 0 ;
15377 dXSARGS;
15378
15379 {
15380 _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
15381 SPAGAIN;
15382 }
15383 if ((items < 4) || (items > 5)) {
15384 SWIG_croak("Usage: svn_fs_invoke_mergeinfo_receiver(_obj,path,mergeinfo,baton,scratch_pool);");
15385 }
15386 {
15387 int res = SWIG_ConvertFunctionPtr(ST(0), (void**)(&arg1), SWIGTYPE_p_f_p_q_const__char_svn_mergeinfo_t_p_void_p_apr_pool_t__p_svn_error_t);
15388 if (!SWIG_IsOK(res)) {
15389 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_fs_invoke_mergeinfo_receiver" "', argument " "1"" of type '" "svn_fs_mergeinfo_receiver_t""'");
15390 }
15391 }
15392 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
15393 if (!SWIG_IsOK(res2)) {
15394 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_invoke_mergeinfo_receiver" "', argument " "2"" of type '" "char const *""'");
15395 }
15396 arg2 = (char *)(buf2);
15397 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_apr_hash_t, 0 | 0 );
15398 if (!SWIG_IsOK(res3)) {
15399 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_invoke_mergeinfo_receiver" "', argument " "3"" of type '" "svn_mergeinfo_t""'");
15400 }
15401 arg3 = (svn_mergeinfo_t)(argp3);
15402 res4 = SWIG_ConvertPtr(ST(3),SWIG_as_voidptrptr(&arg4), 0, 0);
15403 if (!SWIG_IsOK(res4)) {
15404 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "svn_fs_invoke_mergeinfo_receiver" "', argument " "4"" of type '" "void *""'");
15405 }
15406 if (items > 4) {
15407
15408 }
15409 {
15410 result = (svn_error_t *)svn_fs_invoke_mergeinfo_receiver(arg1,(char const *)arg2,arg3,arg4,arg5);
15411
15412
15413
15414 }
15415 {
15416 if (result) {
15417 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
15418
15419 if (SvOK(exception_handler)) {
15420 SV *callback_result;
15421
15422 PUTBACK;
15423 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
15424 &callback_result, "S", result,
15425 SWIGTYPE_p_svn_error_t);
15426 SPAGAIN;
15427 } else {
15428 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
15429 argvi++;
15430 }
15431 }
15432 }
15433
15434 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15435
15436
15437
15438 XSRETURN(argvi);
15439 fail:
15440
15441 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15442
15443
15444
15445 SWIG_croak_null();
15446 }
15447 }
15448
15449
XS(_wrap_svn_fs_invoke_process_contents_func)15450 XS(_wrap_svn_fs_invoke_process_contents_func) {
15451 {
15452 svn_fs_process_contents_func_t arg1 = (svn_fs_process_contents_func_t) 0 ;
15453 unsigned char *arg2 = (unsigned char *) 0 ;
15454 apr_size_t arg3 ;
15455 void *arg4 = (void *) 0 ;
15456 apr_pool_t *arg5 = (apr_pool_t *) 0 ;
15457 apr_pool_t *_global_pool ;
15458 void *argp2 = 0 ;
15459 int res2 = 0 ;
15460 unsigned long val3 ;
15461 int ecode3 = 0 ;
15462 int res4 ;
15463 int argvi = 0;
15464 svn_error_t *result = 0 ;
15465 dXSARGS;
15466
15467 {
15468 _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
15469 SPAGAIN;
15470 }
15471 if ((items < 4) || (items > 5)) {
15472 SWIG_croak("Usage: svn_fs_invoke_process_contents_func(_obj,contents,len,baton,scratch_pool);");
15473 }
15474 {
15475 int res = SWIG_ConvertFunctionPtr(ST(0), (void**)(&arg1), SWIGTYPE_p_f_p_q_const__unsigned_char_apr_size_t_p_void_p_apr_pool_t__p_svn_error_t);
15476 if (!SWIG_IsOK(res)) {
15477 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_fs_invoke_process_contents_func" "', argument " "1"" of type '" "svn_fs_process_contents_func_t""'");
15478 }
15479 }
15480 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 );
15481 if (!SWIG_IsOK(res2)) {
15482 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_invoke_process_contents_func" "', argument " "2"" of type '" "unsigned char const *""'");
15483 }
15484 arg2 = (unsigned char *)(argp2);
15485 ecode3 = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
15486 if (!SWIG_IsOK(ecode3)) {
15487 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_fs_invoke_process_contents_func" "', argument " "3"" of type '" "apr_size_t""'");
15488 }
15489 arg3 = (apr_size_t)(val3);
15490 res4 = SWIG_ConvertPtr(ST(3),SWIG_as_voidptrptr(&arg4), 0, 0);
15491 if (!SWIG_IsOK(res4)) {
15492 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "svn_fs_invoke_process_contents_func" "', argument " "4"" of type '" "void *""'");
15493 }
15494 if (items > 4) {
15495
15496 }
15497 {
15498 result = (svn_error_t *)svn_fs_invoke_process_contents_func(arg1,(unsigned char const *)arg2,arg3,arg4,arg5);
15499
15500
15501
15502 }
15503 {
15504 if (result) {
15505 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
15506
15507 if (SvOK(exception_handler)) {
15508 SV *callback_result;
15509
15510 PUTBACK;
15511 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
15512 &callback_result, "S", result,
15513 SWIGTYPE_p_svn_error_t);
15514 SPAGAIN;
15515 } else {
15516 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
15517 argvi++;
15518 }
15519 }
15520 }
15521
15522
15523
15524
15525
15526 XSRETURN(argvi);
15527 fail:
15528
15529
15530
15531
15532
15533 SWIG_croak_null();
15534 }
15535 }
15536
15537
XS(_wrap_svn_fs_invoke_lock_callback)15538 XS(_wrap_svn_fs_invoke_lock_callback) {
15539 {
15540 svn_fs_lock_callback_t arg1 = (svn_fs_lock_callback_t) 0 ;
15541 void *arg2 = (void *) 0 ;
15542 char *arg3 = (char *) 0 ;
15543 svn_lock_t *arg4 = (svn_lock_t *) 0 ;
15544 svn_error_t *arg5 = (svn_error_t *) 0 ;
15545 apr_pool_t *arg6 = (apr_pool_t *) 0 ;
15546 apr_pool_t *_global_pool ;
15547 int res2 ;
15548 int res3 ;
15549 char *buf3 = 0 ;
15550 int alloc3 = 0 ;
15551 void *argp4 = 0 ;
15552 int res4 = 0 ;
15553 void *argp5 = 0 ;
15554 int res5 = 0 ;
15555 int argvi = 0;
15556 svn_error_t *result = 0 ;
15557 dXSARGS;
15558
15559 {
15560 _global_pool = arg6 = svn_swig_pl_make_pool (ST(items-1));
15561 SPAGAIN;
15562 }
15563 if ((items < 5) || (items > 6)) {
15564 SWIG_croak("Usage: svn_fs_invoke_lock_callback(_obj,baton,path,lock,fs_err,scratch_pool);");
15565 }
15566 {
15567 int res = SWIG_ConvertFunctionPtr(ST(0), (void**)(&arg1), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t);
15568 if (!SWIG_IsOK(res)) {
15569 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_fs_invoke_lock_callback" "', argument " "1"" of type '" "svn_fs_lock_callback_t""'");
15570 }
15571 }
15572 res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
15573 if (!SWIG_IsOK(res2)) {
15574 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_invoke_lock_callback" "', argument " "2"" of type '" "void *""'");
15575 }
15576 res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
15577 if (!SWIG_IsOK(res3)) {
15578 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_invoke_lock_callback" "', argument " "3"" of type '" "char const *""'");
15579 }
15580 arg3 = (char *)(buf3);
15581 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_svn_lock_t, 0 | 0 );
15582 if (!SWIG_IsOK(res4)) {
15583 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "svn_fs_invoke_lock_callback" "', argument " "4"" of type '" "svn_lock_t const *""'");
15584 }
15585 arg4 = (svn_lock_t *)(argp4);
15586 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_svn_error_t, 0 | 0 );
15587 if (!SWIG_IsOK(res5)) {
15588 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "svn_fs_invoke_lock_callback" "', argument " "5"" of type '" "svn_error_t *""'");
15589 }
15590 arg5 = (svn_error_t *)(argp5);
15591 if (items > 5) {
15592
15593 }
15594 {
15595 result = (svn_error_t *)svn_fs_invoke_lock_callback(arg1,arg2,(char const *)arg3,(struct svn_lock_t const *)arg4,arg5,arg6);
15596
15597
15598
15599 }
15600 {
15601 if (result) {
15602 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
15603
15604 if (SvOK(exception_handler)) {
15605 SV *callback_result;
15606
15607 PUTBACK;
15608 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
15609 &callback_result, "S", result,
15610 SWIGTYPE_p_svn_error_t);
15611 SPAGAIN;
15612 } else {
15613 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
15614 argvi++;
15615 }
15616 }
15617 }
15618
15619
15620 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
15621
15622
15623
15624 XSRETURN(argvi);
15625 fail:
15626
15627
15628 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
15629
15630
15631
15632 SWIG_croak_null();
15633 }
15634 }
15635
15636
XS(_wrap_svn_fs_invoke_get_locks_callback)15637 XS(_wrap_svn_fs_invoke_get_locks_callback) {
15638 {
15639 svn_fs_get_locks_callback_t arg1 = (svn_fs_get_locks_callback_t) 0 ;
15640 void *arg2 = (void *) 0 ;
15641 svn_lock_t *arg3 = (svn_lock_t *) 0 ;
15642 apr_pool_t *arg4 = (apr_pool_t *) 0 ;
15643 apr_pool_t *_global_pool ;
15644 int res2 ;
15645 void *argp3 = 0 ;
15646 int res3 = 0 ;
15647 int argvi = 0;
15648 svn_error_t *result = 0 ;
15649 dXSARGS;
15650
15651 {
15652 _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
15653 SPAGAIN;
15654 }
15655 if ((items < 3) || (items > 4)) {
15656 SWIG_croak("Usage: svn_fs_invoke_get_locks_callback(_obj,baton,lock,pool);");
15657 }
15658 {
15659 int res = SWIG_ConvertFunctionPtr(ST(0), (void**)(&arg1), SWIGTYPE_p_f_p_void_p_svn_lock_t_p_apr_pool_t__p_svn_error_t);
15660 if (!SWIG_IsOK(res)) {
15661 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_fs_invoke_get_locks_callback" "', argument " "1"" of type '" "svn_fs_get_locks_callback_t""'");
15662 }
15663 }
15664 res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
15665 if (!SWIG_IsOK(res2)) {
15666 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_invoke_get_locks_callback" "', argument " "2"" of type '" "void *""'");
15667 }
15668 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_svn_lock_t, 0 | 0 );
15669 if (!SWIG_IsOK(res3)) {
15670 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_fs_invoke_get_locks_callback" "', argument " "3"" of type '" "svn_lock_t *""'");
15671 }
15672 arg3 = (svn_lock_t *)(argp3);
15673 if (items > 3) {
15674
15675 }
15676 {
15677 result = (svn_error_t *)svn_fs_invoke_get_locks_callback(arg1,arg2,arg3,arg4);
15678
15679
15680
15681 }
15682 {
15683 if (result) {
15684 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
15685
15686 if (SvOK(exception_handler)) {
15687 SV *callback_result;
15688
15689 PUTBACK;
15690 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
15691 &callback_result, "S", result,
15692 SWIGTYPE_p_svn_error_t);
15693 SPAGAIN;
15694 } else {
15695 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
15696 argvi++;
15697 }
15698 }
15699 }
15700
15701
15702
15703
15704 XSRETURN(argvi);
15705 fail:
15706
15707
15708
15709
15710 SWIG_croak_null();
15711 }
15712 }
15713
15714
XS(_wrap_svn_fs_invoke_pack_notify)15715 XS(_wrap_svn_fs_invoke_pack_notify) {
15716 {
15717 svn_fs_pack_notify_t arg1 = (svn_fs_pack_notify_t) 0 ;
15718 void *arg2 = (void *) 0 ;
15719 apr_int64_t arg3 ;
15720 svn_fs_pack_notify_action_t arg4 ;
15721 apr_pool_t *arg5 = (apr_pool_t *) 0 ;
15722 apr_pool_t *_global_pool ;
15723 int res2 ;
15724 long long val3 ;
15725 int ecode3 = 0 ;
15726 int val4 ;
15727 int ecode4 = 0 ;
15728 int argvi = 0;
15729 svn_error_t *result = 0 ;
15730 dXSARGS;
15731
15732 {
15733 _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
15734 SPAGAIN;
15735 }
15736 if ((items < 4) || (items > 5)) {
15737 SWIG_croak("Usage: svn_fs_invoke_pack_notify(_obj,baton,shard,action,pool);");
15738 }
15739 {
15740 int res = SWIG_ConvertFunctionPtr(ST(0), (void**)(&arg1), SWIGTYPE_p_f_p_void_apr_int64_t_svn_fs_pack_notify_action_t_p_apr_pool_t__p_svn_error_t);
15741 if (!SWIG_IsOK(res)) {
15742 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_fs_invoke_pack_notify" "', argument " "1"" of type '" "svn_fs_pack_notify_t""'");
15743 }
15744 }
15745 res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
15746 if (!SWIG_IsOK(res2)) {
15747 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_fs_invoke_pack_notify" "', argument " "2"" of type '" "void *""'");
15748 }
15749 ecode3 = SWIG_AsVal_long_SS_long SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
15750 if (!SWIG_IsOK(ecode3)) {
15751 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_fs_invoke_pack_notify" "', argument " "3"" of type '" "apr_int64_t""'");
15752 }
15753 arg3 = (apr_int64_t)(val3);
15754 ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
15755 if (!SWIG_IsOK(ecode4)) {
15756 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "svn_fs_invoke_pack_notify" "', argument " "4"" of type '" "svn_fs_pack_notify_action_t""'");
15757 }
15758 arg4 = (svn_fs_pack_notify_action_t)(val4);
15759 if (items > 4) {
15760
15761 }
15762 {
15763 result = (svn_error_t *)svn_fs_invoke_pack_notify(arg1,arg2,arg3,arg4,arg5);
15764
15765
15766
15767 }
15768 {
15769 if (result) {
15770 SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
15771
15772 if (SvOK(exception_handler)) {
15773 SV *callback_result;
15774
15775 PUTBACK;
15776 svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
15777 &callback_result, "S", result,
15778 SWIGTYPE_p_svn_error_t);
15779 SPAGAIN;
15780 } else {
15781 ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
15782 argvi++;
15783 }
15784 }
15785 }
15786
15787
15788
15789
15790
15791 XSRETURN(argvi);
15792 fail:
15793
15794
15795
15796
15797
15798 SWIG_croak_null();
15799 }
15800 }
15801
15802
15803
15804 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
15805
15806 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};
15807 static swig_type_info _swigt__p_apr_hash_t = {"_p_apr_hash_t", "svn_mergeinfo_catalog_t|svn_mergeinfo_t|apr_hash_t *", 0, 0, (void*)0, 0};
15808 static swig_type_info _swigt__p_apr_int32_t = {"_p_apr_int32_t", "apr_int32_t *|time_t *", 0, 0, (void*)0, 0};
15809 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};
15810 static swig_type_info _swigt__p_apr_pool_t = {"_p_apr_pool_t", "apr_pool_t *", 0, 0, (void*)0, 0};
15811 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
15812 static swig_type_info _swigt__p_f_long_p_void_p_apr_pool_t__void = {"_p_f_long_p_void_p_apr_pool_t__void", "void (*)(long,void *,apr_pool_t *)|svn_fs_progress_notify_func_t", 0, 0, (void*)0, 0};
15813 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};
15814 static swig_type_info _swigt__p_f_p_q_const__char_svn_mergeinfo_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_q_const__char_svn_mergeinfo_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(char const *,svn_mergeinfo_t,void *,apr_pool_t *)|svn_fs_mergeinfo_receiver_t", 0, 0, (void*)0, 0};
15815 static swig_type_info _swigt__p_f_p_q_const__unsigned_char_apr_size_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_q_const__unsigned_char_apr_size_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(unsigned char const *,apr_size_t,void *,apr_pool_t *)|svn_fs_process_contents_func_t", 0, 0, (void*)0, 0};
15816 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};
15817 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};
15818 static swig_type_info _swigt__p_f_p_void_apr_int64_t_svn_fs_pack_notify_action_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_apr_int64_t_svn_fs_pack_notify_action_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,apr_int64_t,svn_fs_pack_notify_action_t,apr_pool_t *)|svn_fs_pack_notify_t", 0, 0, (void*)0, 0};
15819 static swig_type_info _swigt__p_f_p_void_apr_uint64_t_svn_fs_upgrade_notify_action_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_apr_uint64_t_svn_fs_upgrade_notify_action_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,apr_uint64_t,svn_fs_upgrade_notify_action_t,apr_pool_t *)|svn_fs_upgrade_notify_t", 0, 0, (void*)0, 0};
15820 static swig_type_info _swigt__p_f_p_void_long_long_p_apr_pool_t__void = {"_p_f_p_void_long_long_p_apr_pool_t__void", "void (*)(void *,long,long,apr_pool_t *)|svn_fs_hotcopy_notify_t", 0, 0, (void*)0, 0};
15821 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 *)|svn_fs_freeze_func_t", 0, 0, (void*)0, 0};
15822 static swig_type_info _swigt__p_f_p_void_p_q_const__char_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_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_lock_t const *,svn_error_t *,apr_pool_t *)|svn_fs_lock_callback_t", 0, 0, (void*)0, 0};
15823 static swig_type_info _swigt__p_f_p_void_p_svn_error_t__void = {"_p_f_p_void_p_svn_error_t__void", "void (*)(void *,svn_error_t *)|svn_fs_warning_callback_t", 0, 0, (void*)0, 0};
15824 static swig_type_info _swigt__p_f_p_void_p_svn_lock_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_svn_lock_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,svn_lock_t *,apr_pool_t *)|svn_fs_get_locks_callback_t", 0, 0, (void*)0, 0};
15825 static swig_type_info _swigt__p_int = {"_p_int", "int *|svn_boolean_t *|apr_status_t *", 0, 0, (void*)0, 0};
15826 static swig_type_info _swigt__p_long = {"_p_long", "long *|svn_revnum_t *", 0, 0, (void*)0, 0};
15827 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};
15828 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};
15829 static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0};
15830 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};
15831 static swig_type_info _swigt__p_p_svn_checksum_t = {"_p_p_svn_checksum_t", "struct svn_checksum_t **|svn_checksum_t **", 0, 0, (void*)0, 0};
15832 static swig_type_info _swigt__p_p_svn_fs_access_t = {"_p_p_svn_fs_access_t", "struct svn_fs_access_t **|svn_fs_access_t **", 0, 0, (void*)0, 0};
15833 static swig_type_info _swigt__p_p_svn_fs_history_t = {"_p_p_svn_fs_history_t", "struct svn_fs_history_t **|svn_fs_history_t **", 0, 0, (void*)0, 0};
15834 static swig_type_info _swigt__p_p_svn_fs_id_t = {"_p_p_svn_fs_id_t", "struct svn_fs_id_t **|svn_fs_id_t **", 0, 0, (void*)0, 0};
15835 static swig_type_info _swigt__p_p_svn_fs_info_placeholder_t = {"_p_p_svn_fs_info_placeholder_t", "struct svn_fs_info_placeholder_t **|svn_fs_info_placeholder_t **", 0, 0, (void*)0, 0};
15836 static swig_type_info _swigt__p_p_svn_fs_path_change3_t = {"_p_p_svn_fs_path_change3_t", "struct svn_fs_path_change3_t **|svn_fs_path_change3_t **", 0, 0, (void*)0, 0};
15837 static swig_type_info _swigt__p_p_svn_fs_path_change_iterator_t = {"_p_p_svn_fs_path_change_iterator_t", "struct svn_fs_path_change_iterator_t **|svn_fs_path_change_iterator_t **", 0, 0, (void*)0, 0};
15838 static swig_type_info _swigt__p_p_svn_fs_root_t = {"_p_p_svn_fs_root_t", "struct svn_fs_root_t **|svn_fs_root_t **", 0, 0, (void*)0, 0};
15839 static swig_type_info _swigt__p_p_svn_fs_t = {"_p_p_svn_fs_t", "struct svn_fs_t **|svn_fs_t **", 0, 0, (void*)0, 0};
15840 static swig_type_info _swigt__p_p_svn_fs_txn_t = {"_p_p_svn_fs_txn_t", "struct svn_fs_txn_t **|svn_fs_txn_t **", 0, 0, (void*)0, 0};
15841 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};
15842 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};
15843 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};
15844 static swig_type_info _swigt__p_p_svn_txdelta_stream_t = {"_p_p_svn_txdelta_stream_t", "struct svn_txdelta_stream_t **|svn_txdelta_stream_t **", 0, 0, (void*)0, 0};
15845 static swig_type_info _swigt__p_p_svn_version_t = {"_p_p_svn_version_t", "struct svn_version_t **|svn_version_t **", 0, 0, (void*)0, 0};
15846 static swig_type_info _swigt__p_p_void = {"_p_p_void", "void **", 0, 0, (void*)0, 0};
15847 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};
15848 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};
15849 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};
15850 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};
15851 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};
15852 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};
15853 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};
15854 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};
15855 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};
15856 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};
15857 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};
15858 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};
15859 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};
15860 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};
15861 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};
15862 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};
15863 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};
15864 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};
15865 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};
15866 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};
15867 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};
15868 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};
15869 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};
15870 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};
15871 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};
15872 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};
15873 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};
15874 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};
15875 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};
15876 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};
15877 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};
15878 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};
15879 static swig_type_info _swigt__p_svn_error_t = {"_p_svn_error_t", "svn_error_t *", 0, 0, (void*)0, 0};
15880 static swig_type_info _swigt__p_svn_fs_access_t = {"_p_svn_fs_access_t", "struct svn_fs_access_t *|svn_fs_access_t *", 0, 0, (void*)0, 0};
15881 static swig_type_info _swigt__p_svn_fs_dirent_t = {"_p_svn_fs_dirent_t", "struct svn_fs_dirent_t *|svn_fs_dirent_t *", 0, 0, (void*)0, 0};
15882 static swig_type_info _swigt__p_svn_fs_fsfs_info_t = {"_p_svn_fs_fsfs_info_t", "struct svn_fs_fsfs_info_t *|svn_fs_fsfs_info_t *", 0, 0, (void*)0, 0};
15883 static swig_type_info _swigt__p_svn_fs_fsx_info_t = {"_p_svn_fs_fsx_info_t", "struct svn_fs_fsx_info_t *|svn_fs_fsx_info_t *", 0, 0, (void*)0, 0};
15884 static swig_type_info _swigt__p_svn_fs_history_t = {"_p_svn_fs_history_t", "struct svn_fs_history_t *|svn_fs_history_t *", 0, 0, (void*)0, 0};
15885 static swig_type_info _swigt__p_svn_fs_id_t = {"_p_svn_fs_id_t", "struct svn_fs_id_t *|svn_fs_id_t *", 0, 0, (void*)0, 0};
15886 static swig_type_info _swigt__p_svn_fs_info_placeholder_t = {"_p_svn_fs_info_placeholder_t", "struct svn_fs_info_placeholder_t *|svn_fs_info_placeholder_t *", 0, 0, (void*)0, 0};
15887 static swig_type_info _swigt__p_svn_fs_ioctl_code_t = {"_p_svn_fs_ioctl_code_t", "struct svn_fs_ioctl_code_t *|svn_fs_ioctl_code_t *", 0, 0, (void*)0, 0};
15888 static swig_type_info _swigt__p_svn_fs_lock_target_t = {"_p_svn_fs_lock_target_t", "struct svn_fs_lock_target_t *|svn_fs_lock_target_t *", 0, 0, (void*)0, 0};
15889 static swig_type_info _swigt__p_svn_fs_node_relation_t = {"_p_svn_fs_node_relation_t", "enum svn_fs_node_relation_t *|svn_fs_node_relation_t *", 0, 0, (void*)0, 0};
15890 static swig_type_info _swigt__p_svn_fs_pack_notify_action_t = {"_p_svn_fs_pack_notify_action_t", "enum svn_fs_pack_notify_action_t *|svn_fs_pack_notify_action_t *", 0, 0, (void*)0, 0};
15891 static swig_type_info _swigt__p_svn_fs_path_change2_t = {"_p_svn_fs_path_change2_t", "struct svn_fs_path_change2_t *|svn_fs_path_change2_t *", 0, 0, (void*)0, 0};
15892 static swig_type_info _swigt__p_svn_fs_path_change3_t = {"_p_svn_fs_path_change3_t", "struct svn_fs_path_change3_t *|svn_fs_path_change3_t *", 0, 0, (void*)0, 0};
15893 static swig_type_info _swigt__p_svn_fs_path_change_iterator_t = {"_p_svn_fs_path_change_iterator_t", "struct svn_fs_path_change_iterator_t *|svn_fs_path_change_iterator_t *", 0, 0, (void*)0, 0};
15894 static swig_type_info _swigt__p_svn_fs_path_change_kind_t = {"_p_svn_fs_path_change_kind_t", "enum svn_fs_path_change_kind_t *|svn_fs_path_change_kind_t *", 0, 0, (void*)0, 0};
15895 static swig_type_info _swigt__p_svn_fs_path_change_t = {"_p_svn_fs_path_change_t", "struct svn_fs_path_change_t *|svn_fs_path_change_t *", 0, 0, (void*)0, 0};
15896 static swig_type_info _swigt__p_svn_fs_root_t = {"_p_svn_fs_root_t", "struct svn_fs_root_t *|svn_fs_root_t *", 0, 0, (void*)0, 0};
15897 static swig_type_info _swigt__p_svn_fs_t = {"_p_svn_fs_t", "struct svn_fs_t *|svn_fs_t *", 0, 0, (void*)0, 0};
15898 static swig_type_info _swigt__p_svn_fs_txn_t = {"_p_svn_fs_txn_t", "struct svn_fs_txn_t *|svn_fs_txn_t *", 0, 0, (void*)0, 0};
15899 static swig_type_info _swigt__p_svn_fs_upgrade_notify_action_t = {"_p_svn_fs_upgrade_notify_action_t", "enum svn_fs_upgrade_notify_action_t *|svn_fs_upgrade_notify_action_t *", 0, 0, (void*)0, 0};
15900 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};
15901 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};
15902 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};
15903 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};
15904 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};
15905 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};
15906 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};
15907 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};
15908 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};
15909 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};
15910 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};
15911 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};
15912 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};
15913 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};
15914 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};
15915 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};
15916 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};
15917 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};
15918 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};
15919 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};
15920 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};
15921 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};
15922 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};
15923 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};
15924 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};
15925 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};
15926 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};
15927 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};
15928 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};
15929 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};
15930 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};
15931 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};
15932 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};
15933 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};
15934 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};
15935 static swig_type_info _swigt__p_svn_wc_external_item2_t = {"_p_svn_wc_external_item2_t", "svn_wc_external_item2_t *", 0, 0, (void*)0, 0};
15936 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *", 0, 0, (void*)0, 0};
15937 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|svn_linenum_t *", 0, 0, (void*)0, 0};
15938 static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
15939
15940 static swig_type_info *swig_type_initial[] = {
15941 &_swigt__p_apr_array_header_t,
15942 &_swigt__p_apr_hash_t,
15943 &_swigt__p_apr_int32_t,
15944 &_swigt__p_apr_int64_t,
15945 &_swigt__p_apr_pool_t,
15946 &_swigt__p_char,
15947 &_swigt__p_f_long_p_void_p_apr_pool_t__void,
15948 &_swigt__p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t,
15949 &_swigt__p_f_p_q_const__char_svn_mergeinfo_t_p_void_p_apr_pool_t__p_svn_error_t,
15950 &_swigt__p_f_p_q_const__unsigned_char_apr_size_t_p_void_p_apr_pool_t__p_svn_error_t,
15951 &_swigt__p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t,
15952 &_swigt__p_f_p_void__p_svn_error_t,
15953 &_swigt__p_f_p_void_apr_int64_t_svn_fs_pack_notify_action_t_p_apr_pool_t__p_svn_error_t,
15954 &_swigt__p_f_p_void_apr_uint64_t_svn_fs_upgrade_notify_action_t_p_apr_pool_t__p_svn_error_t,
15955 &_swigt__p_f_p_void_long_long_p_apr_pool_t__void,
15956 &_swigt__p_f_p_void_p_apr_pool_t__p_svn_error_t,
15957 &_swigt__p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t,
15958 &_swigt__p_f_p_void_p_svn_error_t__void,
15959 &_swigt__p_f_p_void_p_svn_lock_t_p_apr_pool_t__p_svn_error_t,
15960 &_swigt__p_int,
15961 &_swigt__p_long,
15962 &_swigt__p_p_apr_array_header_t,
15963 &_swigt__p_p_apr_hash_t,
15964 &_swigt__p_p_char,
15965 &_swigt__p_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t,
15966 &_swigt__p_p_svn_checksum_t,
15967 &_swigt__p_p_svn_fs_access_t,
15968 &_swigt__p_p_svn_fs_history_t,
15969 &_swigt__p_p_svn_fs_id_t,
15970 &_swigt__p_p_svn_fs_info_placeholder_t,
15971 &_swigt__p_p_svn_fs_path_change3_t,
15972 &_swigt__p_p_svn_fs_path_change_iterator_t,
15973 &_swigt__p_p_svn_fs_root_t,
15974 &_swigt__p_p_svn_fs_t,
15975 &_swigt__p_p_svn_fs_txn_t,
15976 &_swigt__p_p_svn_lock_t,
15977 &_swigt__p_p_svn_stream_t,
15978 &_swigt__p_p_svn_string_t,
15979 &_swigt__p_p_svn_txdelta_stream_t,
15980 &_swigt__p_p_svn_version_t,
15981 &_swigt__p_p_void,
15982 &_swigt__p_svn_auth_baton_t,
15983 &_swigt__p_svn_auth_cred_simple_t,
15984 &_swigt__p_svn_auth_cred_ssl_client_cert_pw_t,
15985 &_swigt__p_svn_auth_cred_ssl_client_cert_t,
15986 &_swigt__p_svn_auth_cred_ssl_server_trust_t,
15987 &_swigt__p_svn_auth_cred_username_t,
15988 &_swigt__p_svn_auth_iterstate_t,
15989 &_swigt__p_svn_auth_provider_object_t,
15990 &_swigt__p_svn_auth_provider_t,
15991 &_swigt__p_svn_auth_ssl_server_cert_info_t,
15992 &_swigt__p_svn_cache_config_t,
15993 &_swigt__p_svn_checksum_ctx_t,
15994 &_swigt__p_svn_checksum_kind_t,
15995 &_swigt__p_svn_checksum_t,
15996 &_swigt__p_svn_commit_info_t,
15997 &_swigt__p_svn_config_t,
15998 &_swigt__p_svn_delta_editor_t,
15999 &_swigt__p_svn_delta_path_driver_state_t,
16000 &_swigt__p_svn_depth_t,
16001 &_swigt__p_svn_diff_binary_patch_t,
16002 &_swigt__p_svn_diff_conflict_display_style_t,
16003 &_swigt__p_svn_diff_datasource_e,
16004 &_swigt__p_svn_diff_file_ignore_space_t,
16005 &_swigt__p_svn_diff_file_options_t,
16006 &_swigt__p_svn_diff_fns2_t,
16007 &_swigt__p_svn_diff_fns_t,
16008 &_swigt__p_svn_diff_hunk_t,
16009 &_swigt__p_svn_diff_operation_kind_e,
16010 &_swigt__p_svn_diff_output_fns_t,
16011 &_swigt__p_svn_diff_t,
16012 &_swigt__p_svn_dirent_t,
16013 &_swigt__p_svn_errno_t,
16014 &_swigt__p_svn_error_t,
16015 &_swigt__p_svn_fs_access_t,
16016 &_swigt__p_svn_fs_dirent_t,
16017 &_swigt__p_svn_fs_fsfs_info_t,
16018 &_swigt__p_svn_fs_fsx_info_t,
16019 &_swigt__p_svn_fs_history_t,
16020 &_swigt__p_svn_fs_id_t,
16021 &_swigt__p_svn_fs_info_placeholder_t,
16022 &_swigt__p_svn_fs_ioctl_code_t,
16023 &_swigt__p_svn_fs_lock_target_t,
16024 &_swigt__p_svn_fs_node_relation_t,
16025 &_swigt__p_svn_fs_pack_notify_action_t,
16026 &_swigt__p_svn_fs_path_change2_t,
16027 &_swigt__p_svn_fs_path_change3_t,
16028 &_swigt__p_svn_fs_path_change_iterator_t,
16029 &_swigt__p_svn_fs_path_change_kind_t,
16030 &_swigt__p_svn_fs_path_change_t,
16031 &_swigt__p_svn_fs_root_t,
16032 &_swigt__p_svn_fs_t,
16033 &_swigt__p_svn_fs_txn_t,
16034 &_swigt__p_svn_fs_upgrade_notify_action_t,
16035 &_swigt__p_svn_io_dirent2_t,
16036 &_swigt__p_svn_io_dirent_t,
16037 &_swigt__p_svn_io_file_del_t,
16038 &_swigt__p_svn_location_segment_t,
16039 &_swigt__p_svn_lock_t,
16040 &_swigt__p_svn_log_changed_path2_t,
16041 &_swigt__p_svn_log_changed_path_t,
16042 &_swigt__p_svn_log_entry_t,
16043 &_swigt__p_svn_merge_range_t,
16044 &_swigt__p_svn_mergeinfo_inheritance_t,
16045 &_swigt__p_svn_node_kind_t,
16046 &_swigt__p_svn_opt_revision_range_t,
16047 &_swigt__p_svn_opt_revision_t,
16048 &_swigt__p_svn_opt_revision_value_t,
16049 &_swigt__p_svn_opt_subcommand_desc2_t,
16050 &_swigt__p_svn_opt_subcommand_desc3_t,
16051 &_swigt__p_svn_opt_subcommand_desc_t,
16052 &_swigt__p_svn_patch_file_t,
16053 &_swigt__p_svn_patch_t,
16054 &_swigt__p_svn_prop_inherited_item_t,
16055 &_swigt__p_svn_prop_kind,
16056 &_swigt__p_svn_prop_patch_t,
16057 &_swigt__p_svn_stream_mark_t,
16058 &_swigt__p_svn_stream_t,
16059 &_swigt__p_svn_string_t,
16060 &_swigt__p_svn_stringbuf_t,
16061 &_swigt__p_svn_tristate_t,
16062 &_swigt__p_svn_txdelta_op_t,
16063 &_swigt__p_svn_txdelta_stream_t,
16064 &_swigt__p_svn_txdelta_window_t,
16065 &_swigt__p_svn_version_checklist_t,
16066 &_swigt__p_svn_version_ext_linked_lib_t,
16067 &_swigt__p_svn_version_ext_loaded_lib_t,
16068 &_swigt__p_svn_version_extended_t,
16069 &_swigt__p_svn_version_t,
16070 &_swigt__p_svn_wc_external_item2_t,
16071 &_swigt__p_unsigned_char,
16072 &_swigt__p_unsigned_long,
16073 &_swigt__p_void,
16074 };
16075
16076 static swig_cast_info _swigc__p_apr_array_header_t[] = { {&_swigt__p_apr_array_header_t, 0, 0, 0},{0, 0, 0, 0}};
16077 static swig_cast_info _swigc__p_apr_hash_t[] = { {&_swigt__p_apr_hash_t, 0, 0, 0},{0, 0, 0, 0}};
16078 static swig_cast_info _swigc__p_apr_int32_t[] = { {&_swigt__p_apr_int32_t, 0, 0, 0},{0, 0, 0, 0}};
16079 static swig_cast_info _swigc__p_apr_int64_t[] = { {&_swigt__p_apr_int64_t, 0, 0, 0},{0, 0, 0, 0}};
16080 static swig_cast_info _swigc__p_apr_pool_t[] = { {&_swigt__p_apr_pool_t, 0, 0, 0},{0, 0, 0, 0}};
16081 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
16082 static swig_cast_info _swigc__p_f_long_p_void_p_apr_pool_t__void[] = { {&_swigt__p_f_long_p_void_p_apr_pool_t__void, 0, 0, 0},{0, 0, 0, 0}};
16083 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}};
16084 static swig_cast_info _swigc__p_f_p_q_const__char_svn_mergeinfo_t_p_void_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_q_const__char_svn_mergeinfo_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16085 static swig_cast_info _swigc__p_f_p_q_const__unsigned_char_apr_size_t_p_void_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_q_const__unsigned_char_apr_size_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16086 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}};
16087 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}};
16088 static swig_cast_info _swigc__p_f_p_void_apr_int64_t_svn_fs_pack_notify_action_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_apr_int64_t_svn_fs_pack_notify_action_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16089 static swig_cast_info _swigc__p_f_p_void_apr_uint64_t_svn_fs_upgrade_notify_action_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_apr_uint64_t_svn_fs_upgrade_notify_action_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16090 static swig_cast_info _swigc__p_f_p_void_long_long_p_apr_pool_t__void[] = { {&_swigt__p_f_p_void_long_long_p_apr_pool_t__void, 0, 0, 0},{0, 0, 0, 0}};
16091 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}};
16092 static swig_cast_info _swigc__p_f_p_void_p_q_const__char_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_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}};
16093 static swig_cast_info _swigc__p_f_p_void_p_svn_error_t__void[] = { {&_swigt__p_f_p_void_p_svn_error_t__void, 0, 0, 0},{0, 0, 0, 0}};
16094 static swig_cast_info _swigc__p_f_p_void_p_svn_lock_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_svn_lock_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16095 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
16096 static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
16097 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}};
16098 static swig_cast_info _swigc__p_p_apr_hash_t[] = { {&_swigt__p_p_apr_hash_t, 0, 0, 0},{0, 0, 0, 0}};
16099 static swig_cast_info _swigc__p_p_char[] = { {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}};
16100 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}};
16101 static swig_cast_info _swigc__p_p_svn_checksum_t[] = { {&_swigt__p_p_svn_checksum_t, 0, 0, 0},{0, 0, 0, 0}};
16102 static swig_cast_info _swigc__p_p_svn_fs_access_t[] = { {&_swigt__p_p_svn_fs_access_t, 0, 0, 0},{0, 0, 0, 0}};
16103 static swig_cast_info _swigc__p_p_svn_fs_history_t[] = { {&_swigt__p_p_svn_fs_history_t, 0, 0, 0},{0, 0, 0, 0}};
16104 static swig_cast_info _swigc__p_p_svn_fs_id_t[] = { {&_swigt__p_p_svn_fs_id_t, 0, 0, 0},{0, 0, 0, 0}};
16105 static swig_cast_info _swigc__p_p_svn_fs_info_placeholder_t[] = { {&_swigt__p_p_svn_fs_info_placeholder_t, 0, 0, 0},{0, 0, 0, 0}};
16106 static swig_cast_info _swigc__p_p_svn_fs_path_change3_t[] = { {&_swigt__p_p_svn_fs_path_change3_t, 0, 0, 0},{0, 0, 0, 0}};
16107 static swig_cast_info _swigc__p_p_svn_fs_path_change_iterator_t[] = { {&_swigt__p_p_svn_fs_path_change_iterator_t, 0, 0, 0},{0, 0, 0, 0}};
16108 static swig_cast_info _swigc__p_p_svn_fs_root_t[] = { {&_swigt__p_p_svn_fs_root_t, 0, 0, 0},{0, 0, 0, 0}};
16109 static swig_cast_info _swigc__p_p_svn_fs_t[] = { {&_swigt__p_p_svn_fs_t, 0, 0, 0},{0, 0, 0, 0}};
16110 static swig_cast_info _swigc__p_p_svn_fs_txn_t[] = { {&_swigt__p_p_svn_fs_txn_t, 0, 0, 0},{0, 0, 0, 0}};
16111 static swig_cast_info _swigc__p_p_svn_lock_t[] = { {&_swigt__p_p_svn_lock_t, 0, 0, 0},{0, 0, 0, 0}};
16112 static swig_cast_info _swigc__p_p_svn_stream_t[] = { {&_swigt__p_p_svn_stream_t, 0, 0, 0},{0, 0, 0, 0}};
16113 static swig_cast_info _swigc__p_p_svn_string_t[] = { {&_swigt__p_p_svn_string_t, 0, 0, 0},{0, 0, 0, 0}};
16114 static swig_cast_info _swigc__p_p_svn_txdelta_stream_t[] = { {&_swigt__p_p_svn_txdelta_stream_t, 0, 0, 0},{0, 0, 0, 0}};
16115 static swig_cast_info _swigc__p_p_svn_version_t[] = { {&_swigt__p_p_svn_version_t, 0, 0, 0},{0, 0, 0, 0}};
16116 static swig_cast_info _swigc__p_p_void[] = { {&_swigt__p_p_void, 0, 0, 0},{0, 0, 0, 0}};
16117 static swig_cast_info _swigc__p_svn_auth_baton_t[] = { {&_swigt__p_svn_auth_baton_t, 0, 0, 0},{0, 0, 0, 0}};
16118 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}};
16119 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}};
16120 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}};
16121 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}};
16122 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}};
16123 static swig_cast_info _swigc__p_svn_auth_iterstate_t[] = { {&_swigt__p_svn_auth_iterstate_t, 0, 0, 0},{0, 0, 0, 0}};
16124 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}};
16125 static swig_cast_info _swigc__p_svn_auth_provider_t[] = { {&_swigt__p_svn_auth_provider_t, 0, 0, 0},{0, 0, 0, 0}};
16126 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}};
16127 static swig_cast_info _swigc__p_svn_cache_config_t[] = { {&_swigt__p_svn_cache_config_t, 0, 0, 0},{0, 0, 0, 0}};
16128 static swig_cast_info _swigc__p_svn_checksum_ctx_t[] = { {&_swigt__p_svn_checksum_ctx_t, 0, 0, 0},{0, 0, 0, 0}};
16129 static swig_cast_info _swigc__p_svn_checksum_kind_t[] = { {&_swigt__p_svn_checksum_kind_t, 0, 0, 0},{0, 0, 0, 0}};
16130 static swig_cast_info _swigc__p_svn_checksum_t[] = { {&_swigt__p_svn_checksum_t, 0, 0, 0},{0, 0, 0, 0}};
16131 static swig_cast_info _swigc__p_svn_commit_info_t[] = { {&_swigt__p_svn_commit_info_t, 0, 0, 0},{0, 0, 0, 0}};
16132 static swig_cast_info _swigc__p_svn_config_t[] = { {&_swigt__p_svn_config_t, 0, 0, 0},{0, 0, 0, 0}};
16133 static swig_cast_info _swigc__p_svn_delta_editor_t[] = { {&_swigt__p_svn_delta_editor_t, 0, 0, 0},{0, 0, 0, 0}};
16134 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}};
16135 static swig_cast_info _swigc__p_svn_depth_t[] = { {&_swigt__p_svn_depth_t, 0, 0, 0},{0, 0, 0, 0}};
16136 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}};
16137 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}};
16138 static swig_cast_info _swigc__p_svn_diff_datasource_e[] = { {&_swigt__p_svn_diff_datasource_e, 0, 0, 0},{0, 0, 0, 0}};
16139 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}};
16140 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}};
16141 static swig_cast_info _swigc__p_svn_diff_fns2_t[] = { {&_swigt__p_svn_diff_fns2_t, 0, 0, 0},{0, 0, 0, 0}};
16142 static swig_cast_info _swigc__p_svn_diff_fns_t[] = { {&_swigt__p_svn_diff_fns_t, 0, 0, 0},{0, 0, 0, 0}};
16143 static swig_cast_info _swigc__p_svn_diff_hunk_t[] = { {&_swigt__p_svn_diff_hunk_t, 0, 0, 0},{0, 0, 0, 0}};
16144 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}};
16145 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}};
16146 static swig_cast_info _swigc__p_svn_diff_t[] = { {&_swigt__p_svn_diff_t, 0, 0, 0},{0, 0, 0, 0}};
16147 static swig_cast_info _swigc__p_svn_dirent_t[] = { {&_swigt__p_svn_dirent_t, 0, 0, 0},{0, 0, 0, 0}};
16148 static swig_cast_info _swigc__p_svn_errno_t[] = { {&_swigt__p_svn_errno_t, 0, 0, 0},{0, 0, 0, 0}};
16149 static swig_cast_info _swigc__p_svn_error_t[] = { {&_swigt__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
16150 static swig_cast_info _swigc__p_svn_fs_access_t[] = { {&_swigt__p_svn_fs_access_t, 0, 0, 0},{0, 0, 0, 0}};
16151 static swig_cast_info _swigc__p_svn_fs_dirent_t[] = { {&_swigt__p_svn_fs_dirent_t, 0, 0, 0},{0, 0, 0, 0}};
16152 static swig_cast_info _swigc__p_svn_fs_fsfs_info_t[] = { {&_swigt__p_svn_fs_fsfs_info_t, 0, 0, 0},{0, 0, 0, 0}};
16153 static swig_cast_info _swigc__p_svn_fs_fsx_info_t[] = { {&_swigt__p_svn_fs_fsx_info_t, 0, 0, 0},{0, 0, 0, 0}};
16154 static swig_cast_info _swigc__p_svn_fs_history_t[] = { {&_swigt__p_svn_fs_history_t, 0, 0, 0},{0, 0, 0, 0}};
16155 static swig_cast_info _swigc__p_svn_fs_id_t[] = { {&_swigt__p_svn_fs_id_t, 0, 0, 0},{0, 0, 0, 0}};
16156 static swig_cast_info _swigc__p_svn_fs_info_placeholder_t[] = { {&_swigt__p_svn_fs_info_placeholder_t, 0, 0, 0},{0, 0, 0, 0}};
16157 static swig_cast_info _swigc__p_svn_fs_ioctl_code_t[] = { {&_swigt__p_svn_fs_ioctl_code_t, 0, 0, 0},{0, 0, 0, 0}};
16158 static swig_cast_info _swigc__p_svn_fs_lock_target_t[] = { {&_swigt__p_svn_fs_lock_target_t, 0, 0, 0},{0, 0, 0, 0}};
16159 static swig_cast_info _swigc__p_svn_fs_node_relation_t[] = { {&_swigt__p_svn_fs_node_relation_t, 0, 0, 0},{0, 0, 0, 0}};
16160 static swig_cast_info _swigc__p_svn_fs_pack_notify_action_t[] = { {&_swigt__p_svn_fs_pack_notify_action_t, 0, 0, 0},{0, 0, 0, 0}};
16161 static swig_cast_info _swigc__p_svn_fs_path_change2_t[] = { {&_swigt__p_svn_fs_path_change2_t, 0, 0, 0},{0, 0, 0, 0}};
16162 static swig_cast_info _swigc__p_svn_fs_path_change3_t[] = { {&_swigt__p_svn_fs_path_change3_t, 0, 0, 0},{0, 0, 0, 0}};
16163 static swig_cast_info _swigc__p_svn_fs_path_change_iterator_t[] = { {&_swigt__p_svn_fs_path_change_iterator_t, 0, 0, 0},{0, 0, 0, 0}};
16164 static swig_cast_info _swigc__p_svn_fs_path_change_kind_t[] = { {&_swigt__p_svn_fs_path_change_kind_t, 0, 0, 0},{0, 0, 0, 0}};
16165 static swig_cast_info _swigc__p_svn_fs_path_change_t[] = { {&_swigt__p_svn_fs_path_change_t, 0, 0, 0},{0, 0, 0, 0}};
16166 static swig_cast_info _swigc__p_svn_fs_root_t[] = { {&_swigt__p_svn_fs_root_t, 0, 0, 0},{0, 0, 0, 0}};
16167 static swig_cast_info _swigc__p_svn_fs_t[] = { {&_swigt__p_svn_fs_t, 0, 0, 0},{0, 0, 0, 0}};
16168 static swig_cast_info _swigc__p_svn_fs_txn_t[] = { {&_swigt__p_svn_fs_txn_t, 0, 0, 0},{0, 0, 0, 0}};
16169 static swig_cast_info _swigc__p_svn_fs_upgrade_notify_action_t[] = { {&_swigt__p_svn_fs_upgrade_notify_action_t, 0, 0, 0},{0, 0, 0, 0}};
16170 static swig_cast_info _swigc__p_svn_io_dirent2_t[] = { {&_swigt__p_svn_io_dirent2_t, 0, 0, 0},{0, 0, 0, 0}};
16171 static swig_cast_info _swigc__p_svn_io_dirent_t[] = { {&_swigt__p_svn_io_dirent_t, 0, 0, 0},{0, 0, 0, 0}};
16172 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}};
16173 static swig_cast_info _swigc__p_svn_location_segment_t[] = { {&_swigt__p_svn_location_segment_t, 0, 0, 0},{0, 0, 0, 0}};
16174 static swig_cast_info _swigc__p_svn_lock_t[] = { {&_swigt__p_svn_lock_t, 0, 0, 0},{0, 0, 0, 0}};
16175 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}};
16176 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}};
16177 static swig_cast_info _swigc__p_svn_log_entry_t[] = { {&_swigt__p_svn_log_entry_t, 0, 0, 0},{0, 0, 0, 0}};
16178 static swig_cast_info _swigc__p_svn_merge_range_t[] = { {&_swigt__p_svn_merge_range_t, 0, 0, 0},{0, 0, 0, 0}};
16179 static swig_cast_info _swigc__p_svn_mergeinfo_inheritance_t[] = { {&_swigt__p_svn_mergeinfo_inheritance_t, 0, 0, 0},{0, 0, 0, 0}};
16180 static swig_cast_info _swigc__p_svn_node_kind_t[] = { {&_swigt__p_svn_node_kind_t, 0, 0, 0},{0, 0, 0, 0}};
16181 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}};
16182 static swig_cast_info _swigc__p_svn_opt_revision_t[] = { {&_swigt__p_svn_opt_revision_t, 0, 0, 0},{0, 0, 0, 0}};
16183 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}};
16184 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}};
16185 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}};
16186 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}};
16187 static swig_cast_info _swigc__p_svn_patch_file_t[] = { {&_swigt__p_svn_patch_file_t, 0, 0, 0},{0, 0, 0, 0}};
16188 static swig_cast_info _swigc__p_svn_patch_t[] = { {&_swigt__p_svn_patch_t, 0, 0, 0},{0, 0, 0, 0}};
16189 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}};
16190 static swig_cast_info _swigc__p_svn_prop_kind[] = { {&_swigt__p_svn_prop_kind, 0, 0, 0},{0, 0, 0, 0}};
16191 static swig_cast_info _swigc__p_svn_prop_patch_t[] = { {&_swigt__p_svn_prop_patch_t, 0, 0, 0},{0, 0, 0, 0}};
16192 static swig_cast_info _swigc__p_svn_stream_mark_t[] = { {&_swigt__p_svn_stream_mark_t, 0, 0, 0},{0, 0, 0, 0}};
16193 static swig_cast_info _swigc__p_svn_stream_t[] = { {&_swigt__p_svn_stream_t, 0, 0, 0},{0, 0, 0, 0}};
16194 static swig_cast_info _swigc__p_svn_string_t[] = { {&_swigt__p_svn_string_t, 0, 0, 0},{0, 0, 0, 0}};
16195 static swig_cast_info _swigc__p_svn_stringbuf_t[] = { {&_swigt__p_svn_stringbuf_t, 0, 0, 0},{0, 0, 0, 0}};
16196 static swig_cast_info _swigc__p_svn_tristate_t[] = { {&_swigt__p_svn_tristate_t, 0, 0, 0},{0, 0, 0, 0}};
16197 static swig_cast_info _swigc__p_svn_txdelta_op_t[] = { {&_swigt__p_svn_txdelta_op_t, 0, 0, 0},{0, 0, 0, 0}};
16198 static swig_cast_info _swigc__p_svn_txdelta_stream_t[] = { {&_swigt__p_svn_txdelta_stream_t, 0, 0, 0},{0, 0, 0, 0}};
16199 static swig_cast_info _swigc__p_svn_txdelta_window_t[] = { {&_swigt__p_svn_txdelta_window_t, 0, 0, 0},{0, 0, 0, 0}};
16200 static swig_cast_info _swigc__p_svn_version_checklist_t[] = { {&_swigt__p_svn_version_checklist_t, 0, 0, 0},{0, 0, 0, 0}};
16201 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}};
16202 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}};
16203 static swig_cast_info _swigc__p_svn_version_extended_t[] = { {&_swigt__p_svn_version_extended_t, 0, 0, 0},{0, 0, 0, 0}};
16204 static swig_cast_info _swigc__p_svn_version_t[] = { {&_swigt__p_svn_version_t, 0, 0, 0},{0, 0, 0, 0}};
16205 static swig_cast_info _swigc__p_svn_wc_external_item2_t[] = { {&_swigt__p_svn_wc_external_item2_t, 0, 0, 0},{0, 0, 0, 0}};
16206 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
16207 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
16208 static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
16209
16210 static swig_cast_info *swig_cast_initial[] = {
16211 _swigc__p_apr_array_header_t,
16212 _swigc__p_apr_hash_t,
16213 _swigc__p_apr_int32_t,
16214 _swigc__p_apr_int64_t,
16215 _swigc__p_apr_pool_t,
16216 _swigc__p_char,
16217 _swigc__p_f_long_p_void_p_apr_pool_t__void,
16218 _swigc__p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t,
16219 _swigc__p_f_p_q_const__char_svn_mergeinfo_t_p_void_p_apr_pool_t__p_svn_error_t,
16220 _swigc__p_f_p_q_const__unsigned_char_apr_size_t_p_void_p_apr_pool_t__p_svn_error_t,
16221 _swigc__p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t,
16222 _swigc__p_f_p_void__p_svn_error_t,
16223 _swigc__p_f_p_void_apr_int64_t_svn_fs_pack_notify_action_t_p_apr_pool_t__p_svn_error_t,
16224 _swigc__p_f_p_void_apr_uint64_t_svn_fs_upgrade_notify_action_t_p_apr_pool_t__p_svn_error_t,
16225 _swigc__p_f_p_void_long_long_p_apr_pool_t__void,
16226 _swigc__p_f_p_void_p_apr_pool_t__p_svn_error_t,
16227 _swigc__p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t,
16228 _swigc__p_f_p_void_p_svn_error_t__void,
16229 _swigc__p_f_p_void_p_svn_lock_t_p_apr_pool_t__p_svn_error_t,
16230 _swigc__p_int,
16231 _swigc__p_long,
16232 _swigc__p_p_apr_array_header_t,
16233 _swigc__p_p_apr_hash_t,
16234 _swigc__p_p_char,
16235 _swigc__p_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t,
16236 _swigc__p_p_svn_checksum_t,
16237 _swigc__p_p_svn_fs_access_t,
16238 _swigc__p_p_svn_fs_history_t,
16239 _swigc__p_p_svn_fs_id_t,
16240 _swigc__p_p_svn_fs_info_placeholder_t,
16241 _swigc__p_p_svn_fs_path_change3_t,
16242 _swigc__p_p_svn_fs_path_change_iterator_t,
16243 _swigc__p_p_svn_fs_root_t,
16244 _swigc__p_p_svn_fs_t,
16245 _swigc__p_p_svn_fs_txn_t,
16246 _swigc__p_p_svn_lock_t,
16247 _swigc__p_p_svn_stream_t,
16248 _swigc__p_p_svn_string_t,
16249 _swigc__p_p_svn_txdelta_stream_t,
16250 _swigc__p_p_svn_version_t,
16251 _swigc__p_p_void,
16252 _swigc__p_svn_auth_baton_t,
16253 _swigc__p_svn_auth_cred_simple_t,
16254 _swigc__p_svn_auth_cred_ssl_client_cert_pw_t,
16255 _swigc__p_svn_auth_cred_ssl_client_cert_t,
16256 _swigc__p_svn_auth_cred_ssl_server_trust_t,
16257 _swigc__p_svn_auth_cred_username_t,
16258 _swigc__p_svn_auth_iterstate_t,
16259 _swigc__p_svn_auth_provider_object_t,
16260 _swigc__p_svn_auth_provider_t,
16261 _swigc__p_svn_auth_ssl_server_cert_info_t,
16262 _swigc__p_svn_cache_config_t,
16263 _swigc__p_svn_checksum_ctx_t,
16264 _swigc__p_svn_checksum_kind_t,
16265 _swigc__p_svn_checksum_t,
16266 _swigc__p_svn_commit_info_t,
16267 _swigc__p_svn_config_t,
16268 _swigc__p_svn_delta_editor_t,
16269 _swigc__p_svn_delta_path_driver_state_t,
16270 _swigc__p_svn_depth_t,
16271 _swigc__p_svn_diff_binary_patch_t,
16272 _swigc__p_svn_diff_conflict_display_style_t,
16273 _swigc__p_svn_diff_datasource_e,
16274 _swigc__p_svn_diff_file_ignore_space_t,
16275 _swigc__p_svn_diff_file_options_t,
16276 _swigc__p_svn_diff_fns2_t,
16277 _swigc__p_svn_diff_fns_t,
16278 _swigc__p_svn_diff_hunk_t,
16279 _swigc__p_svn_diff_operation_kind_e,
16280 _swigc__p_svn_diff_output_fns_t,
16281 _swigc__p_svn_diff_t,
16282 _swigc__p_svn_dirent_t,
16283 _swigc__p_svn_errno_t,
16284 _swigc__p_svn_error_t,
16285 _swigc__p_svn_fs_access_t,
16286 _swigc__p_svn_fs_dirent_t,
16287 _swigc__p_svn_fs_fsfs_info_t,
16288 _swigc__p_svn_fs_fsx_info_t,
16289 _swigc__p_svn_fs_history_t,
16290 _swigc__p_svn_fs_id_t,
16291 _swigc__p_svn_fs_info_placeholder_t,
16292 _swigc__p_svn_fs_ioctl_code_t,
16293 _swigc__p_svn_fs_lock_target_t,
16294 _swigc__p_svn_fs_node_relation_t,
16295 _swigc__p_svn_fs_pack_notify_action_t,
16296 _swigc__p_svn_fs_path_change2_t,
16297 _swigc__p_svn_fs_path_change3_t,
16298 _swigc__p_svn_fs_path_change_iterator_t,
16299 _swigc__p_svn_fs_path_change_kind_t,
16300 _swigc__p_svn_fs_path_change_t,
16301 _swigc__p_svn_fs_root_t,
16302 _swigc__p_svn_fs_t,
16303 _swigc__p_svn_fs_txn_t,
16304 _swigc__p_svn_fs_upgrade_notify_action_t,
16305 _swigc__p_svn_io_dirent2_t,
16306 _swigc__p_svn_io_dirent_t,
16307 _swigc__p_svn_io_file_del_t,
16308 _swigc__p_svn_location_segment_t,
16309 _swigc__p_svn_lock_t,
16310 _swigc__p_svn_log_changed_path2_t,
16311 _swigc__p_svn_log_changed_path_t,
16312 _swigc__p_svn_log_entry_t,
16313 _swigc__p_svn_merge_range_t,
16314 _swigc__p_svn_mergeinfo_inheritance_t,
16315 _swigc__p_svn_node_kind_t,
16316 _swigc__p_svn_opt_revision_range_t,
16317 _swigc__p_svn_opt_revision_t,
16318 _swigc__p_svn_opt_revision_value_t,
16319 _swigc__p_svn_opt_subcommand_desc2_t,
16320 _swigc__p_svn_opt_subcommand_desc3_t,
16321 _swigc__p_svn_opt_subcommand_desc_t,
16322 _swigc__p_svn_patch_file_t,
16323 _swigc__p_svn_patch_t,
16324 _swigc__p_svn_prop_inherited_item_t,
16325 _swigc__p_svn_prop_kind,
16326 _swigc__p_svn_prop_patch_t,
16327 _swigc__p_svn_stream_mark_t,
16328 _swigc__p_svn_stream_t,
16329 _swigc__p_svn_string_t,
16330 _swigc__p_svn_stringbuf_t,
16331 _swigc__p_svn_tristate_t,
16332 _swigc__p_svn_txdelta_op_t,
16333 _swigc__p_svn_txdelta_stream_t,
16334 _swigc__p_svn_txdelta_window_t,
16335 _swigc__p_svn_version_checklist_t,
16336 _swigc__p_svn_version_ext_linked_lib_t,
16337 _swigc__p_svn_version_ext_loaded_lib_t,
16338 _swigc__p_svn_version_extended_t,
16339 _swigc__p_svn_version_t,
16340 _swigc__p_svn_wc_external_item2_t,
16341 _swigc__p_unsigned_char,
16342 _swigc__p_unsigned_long,
16343 _swigc__p_void,
16344 };
16345
16346
16347 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
16348
16349 static swig_constant_info swig_constants[] = {
16350 {0,0,0,0,0,0}
16351 };
16352 #ifdef __cplusplus
16353 }
16354 #endif
16355 static swig_variable_info swig_variables[] = {
16356 {0,0,0,0}
16357 };
16358 static swig_command_info swig_commands[] = {
16359 {"SVN::_Fs::svn_fs_version", _wrap_svn_fs_version},
16360 {"SVN::_Fs::svn_fs_initialize", _wrap_svn_fs_initialize},
16361 {"SVN::_Fs::svn_fs_create2", _wrap_svn_fs_create2},
16362 {"SVN::_Fs::svn_fs_create", _wrap_svn_fs_create},
16363 {"SVN::_Fs::svn_fs_open2", _wrap_svn_fs_open2},
16364 {"SVN::_Fs::svn_fs_open", _wrap_svn_fs_open},
16365 {"SVN::_Fs::svn_fs_upgrade2", _wrap_svn_fs_upgrade2},
16366 {"SVN::_Fs::svn_fs_upgrade", _wrap_svn_fs_upgrade},
16367 {"SVN::_Fs::svn_fs_type", _wrap_svn_fs_type},
16368 {"SVN::_Fs::svn_fs_path", _wrap_svn_fs_path},
16369 {"SVN::_Fs::svn_fs_config", _wrap_svn_fs_config},
16370 {"SVN::_Fs::svn_fs_delete_fs", _wrap_svn_fs_delete_fs},
16371 {"SVN::_Fs::svn_fs_hotcopy3", _wrap_svn_fs_hotcopy3},
16372 {"SVN::_Fs::svn_fs_hotcopy2", _wrap_svn_fs_hotcopy2},
16373 {"SVN::_Fs::svn_fs_hotcopy", _wrap_svn_fs_hotcopy},
16374 {"SVN::_Fs::svn_fs_recover", _wrap_svn_fs_recover},
16375 {"SVN::_Fs::svn_fs_freeze", _wrap_svn_fs_freeze},
16376 {"SVN::_Fs::svn_fs_berkeley_logfiles", _wrap_svn_fs_berkeley_logfiles},
16377 {"SVN::_Fs::svn_fs_new", _wrap_svn_fs_new},
16378 {"SVN::_Fs::svn_fs_create_berkeley", _wrap_svn_fs_create_berkeley},
16379 {"SVN::_Fs::svn_fs_open_berkeley", _wrap_svn_fs_open_berkeley},
16380 {"SVN::_Fs::svn_fs_berkeley_path", _wrap_svn_fs_berkeley_path},
16381 {"SVN::_Fs::svn_fs_delete_berkeley", _wrap_svn_fs_delete_berkeley},
16382 {"SVN::_Fs::svn_fs_hotcopy_berkeley", _wrap_svn_fs_hotcopy_berkeley},
16383 {"SVN::_Fs::svn_fs_berkeley_recover", _wrap_svn_fs_berkeley_recover},
16384 {"SVN::_Fs::svn_fs_create_access", _wrap_svn_fs_create_access},
16385 {"SVN::_Fs::svn_fs_set_access", _wrap_svn_fs_set_access},
16386 {"SVN::_Fs::svn_fs_get_access", _wrap_svn_fs_get_access},
16387 {"SVN::_Fs::svn_fs_access_get_username", _wrap_svn_fs_access_get_username},
16388 {"SVN::_Fs::svn_fs_access_add_lock_token2", _wrap_svn_fs_access_add_lock_token2},
16389 {"SVN::_Fs::svn_fs_access_add_lock_token", _wrap_svn_fs_access_add_lock_token},
16390 {"SVN::_Fs::svn_fs_compare_ids", _wrap_svn_fs_compare_ids},
16391 {"SVN::_Fs::svn_fs_check_related", _wrap_svn_fs_check_related},
16392 {"SVN::_Fs::svn_fs_parse_id", _wrap_svn_fs_parse_id},
16393 {"SVN::_Fs::svn_fs_unparse_id", _wrap_svn_fs_unparse_id},
16394 {"SVN::_Fs::svn_fs_begin_txn2", _wrap_svn_fs_begin_txn2},
16395 {"SVN::_Fs::svn_fs_begin_txn", _wrap_svn_fs_begin_txn},
16396 {"SVN::_Fs::svn_fs_commit_txn", _wrap_svn_fs_commit_txn},
16397 {"SVN::_Fs::svn_fs_abort_txn", _wrap_svn_fs_abort_txn},
16398 {"SVN::_Fs::svn_fs_purge_txn", _wrap_svn_fs_purge_txn},
16399 {"SVN::_Fs::svn_fs_txn_name", _wrap_svn_fs_txn_name},
16400 {"SVN::_Fs::svn_fs_txn_base_revision", _wrap_svn_fs_txn_base_revision},
16401 {"SVN::_Fs::svn_fs_open_txn", _wrap_svn_fs_open_txn},
16402 {"SVN::_Fs::svn_fs_list_transactions", _wrap_svn_fs_list_transactions},
16403 {"SVN::_Fs::svn_fs_txn_prop", _wrap_svn_fs_txn_prop},
16404 {"SVN::_Fs::svn_fs_txn_proplist", _wrap_svn_fs_txn_proplist},
16405 {"SVN::_Fs::svn_fs_change_txn_prop", _wrap_svn_fs_change_txn_prop},
16406 {"SVN::_Fs::svn_fs_change_txn_props", _wrap_svn_fs_change_txn_props},
16407 {"SVN::_Fs::svn_fs_revision_root", _wrap_svn_fs_revision_root},
16408 {"SVN::_Fs::svn_fs_txn_root", _wrap_svn_fs_txn_root},
16409 {"SVN::_Fs::svn_fs_close_root", _wrap_svn_fs_close_root},
16410 {"SVN::_Fs::svn_fs_root_fs", _wrap_svn_fs_root_fs},
16411 {"SVN::_Fs::svn_fs_is_txn_root", _wrap_svn_fs_is_txn_root},
16412 {"SVN::_Fs::svn_fs_is_revision_root", _wrap_svn_fs_is_revision_root},
16413 {"SVN::_Fs::svn_fs_txn_root_name", _wrap_svn_fs_txn_root_name},
16414 {"SVN::_Fs::svn_fs_txn_root_base_revision", _wrap_svn_fs_txn_root_base_revision},
16415 {"SVN::_Fs::svn_fs_revision_root_revision", _wrap_svn_fs_revision_root_revision},
16416 {"SVN::_Fs::svn_fs_path_change3_t_path_set", _wrap_svn_fs_path_change3_t_path_set},
16417 {"SVN::_Fs::svn_fs_path_change3_t_path_get", _wrap_svn_fs_path_change3_t_path_get},
16418 {"SVN::_Fs::svn_fs_path_change3_t_change_kind_set", _wrap_svn_fs_path_change3_t_change_kind_set},
16419 {"SVN::_Fs::svn_fs_path_change3_t_change_kind_get", _wrap_svn_fs_path_change3_t_change_kind_get},
16420 {"SVN::_Fs::svn_fs_path_change3_t_node_kind_set", _wrap_svn_fs_path_change3_t_node_kind_set},
16421 {"SVN::_Fs::svn_fs_path_change3_t_node_kind_get", _wrap_svn_fs_path_change3_t_node_kind_get},
16422 {"SVN::_Fs::svn_fs_path_change3_t_text_mod_set", _wrap_svn_fs_path_change3_t_text_mod_set},
16423 {"SVN::_Fs::svn_fs_path_change3_t_text_mod_get", _wrap_svn_fs_path_change3_t_text_mod_get},
16424 {"SVN::_Fs::svn_fs_path_change3_t_prop_mod_set", _wrap_svn_fs_path_change3_t_prop_mod_set},
16425 {"SVN::_Fs::svn_fs_path_change3_t_prop_mod_get", _wrap_svn_fs_path_change3_t_prop_mod_get},
16426 {"SVN::_Fs::svn_fs_path_change3_t_mergeinfo_mod_set", _wrap_svn_fs_path_change3_t_mergeinfo_mod_set},
16427 {"SVN::_Fs::svn_fs_path_change3_t_mergeinfo_mod_get", _wrap_svn_fs_path_change3_t_mergeinfo_mod_get},
16428 {"SVN::_Fs::svn_fs_path_change3_t_copyfrom_known_set", _wrap_svn_fs_path_change3_t_copyfrom_known_set},
16429 {"SVN::_Fs::svn_fs_path_change3_t_copyfrom_known_get", _wrap_svn_fs_path_change3_t_copyfrom_known_get},
16430 {"SVN::_Fs::svn_fs_path_change3_t_copyfrom_rev_set", _wrap_svn_fs_path_change3_t_copyfrom_rev_set},
16431 {"SVN::_Fs::svn_fs_path_change3_t_copyfrom_rev_get", _wrap_svn_fs_path_change3_t_copyfrom_rev_get},
16432 {"SVN::_Fs::svn_fs_path_change3_t_copyfrom_path_set", _wrap_svn_fs_path_change3_t_copyfrom_path_set},
16433 {"SVN::_Fs::svn_fs_path_change3_t_copyfrom_path_get", _wrap_svn_fs_path_change3_t_copyfrom_path_get},
16434 {"SVN::_Fs::svn_fs_path_change2_t_node_rev_id_set", _wrap_svn_fs_path_change2_t_node_rev_id_set},
16435 {"SVN::_Fs::svn_fs_path_change2_t_node_rev_id_get", _wrap_svn_fs_path_change2_t_node_rev_id_get},
16436 {"SVN::_Fs::svn_fs_path_change2_t_change_kind_set", _wrap_svn_fs_path_change2_t_change_kind_set},
16437 {"SVN::_Fs::svn_fs_path_change2_t_change_kind_get", _wrap_svn_fs_path_change2_t_change_kind_get},
16438 {"SVN::_Fs::svn_fs_path_change2_t_text_mod_set", _wrap_svn_fs_path_change2_t_text_mod_set},
16439 {"SVN::_Fs::svn_fs_path_change2_t_text_mod_get", _wrap_svn_fs_path_change2_t_text_mod_get},
16440 {"SVN::_Fs::svn_fs_path_change2_t_prop_mod_set", _wrap_svn_fs_path_change2_t_prop_mod_set},
16441 {"SVN::_Fs::svn_fs_path_change2_t_prop_mod_get", _wrap_svn_fs_path_change2_t_prop_mod_get},
16442 {"SVN::_Fs::svn_fs_path_change2_t_node_kind_set", _wrap_svn_fs_path_change2_t_node_kind_set},
16443 {"SVN::_Fs::svn_fs_path_change2_t_node_kind_get", _wrap_svn_fs_path_change2_t_node_kind_get},
16444 {"SVN::_Fs::svn_fs_path_change2_t_copyfrom_known_set", _wrap_svn_fs_path_change2_t_copyfrom_known_set},
16445 {"SVN::_Fs::svn_fs_path_change2_t_copyfrom_known_get", _wrap_svn_fs_path_change2_t_copyfrom_known_get},
16446 {"SVN::_Fs::svn_fs_path_change2_t_copyfrom_rev_set", _wrap_svn_fs_path_change2_t_copyfrom_rev_set},
16447 {"SVN::_Fs::svn_fs_path_change2_t_copyfrom_rev_get", _wrap_svn_fs_path_change2_t_copyfrom_rev_get},
16448 {"SVN::_Fs::svn_fs_path_change2_t_copyfrom_path_set", _wrap_svn_fs_path_change2_t_copyfrom_path_set},
16449 {"SVN::_Fs::svn_fs_path_change2_t_copyfrom_path_get", _wrap_svn_fs_path_change2_t_copyfrom_path_get},
16450 {"SVN::_Fs::svn_fs_path_change2_t_mergeinfo_mod_set", _wrap_svn_fs_path_change2_t_mergeinfo_mod_set},
16451 {"SVN::_Fs::svn_fs_path_change2_t_mergeinfo_mod_get", _wrap_svn_fs_path_change2_t_mergeinfo_mod_get},
16452 {"SVN::_Fs::svn_fs_path_change_t_node_rev_id_set", _wrap_svn_fs_path_change_t_node_rev_id_set},
16453 {"SVN::_Fs::svn_fs_path_change_t_node_rev_id_get", _wrap_svn_fs_path_change_t_node_rev_id_get},
16454 {"SVN::_Fs::svn_fs_path_change_t_change_kind_set", _wrap_svn_fs_path_change_t_change_kind_set},
16455 {"SVN::_Fs::svn_fs_path_change_t_change_kind_get", _wrap_svn_fs_path_change_t_change_kind_get},
16456 {"SVN::_Fs::svn_fs_path_change_t_text_mod_set", _wrap_svn_fs_path_change_t_text_mod_set},
16457 {"SVN::_Fs::svn_fs_path_change_t_text_mod_get", _wrap_svn_fs_path_change_t_text_mod_get},
16458 {"SVN::_Fs::svn_fs_path_change_t_prop_mod_set", _wrap_svn_fs_path_change_t_prop_mod_set},
16459 {"SVN::_Fs::svn_fs_path_change_t_prop_mod_get", _wrap_svn_fs_path_change_t_prop_mod_get},
16460 {"SVN::_Fs::svn_fs_path_change2_create", _wrap_svn_fs_path_change2_create},
16461 {"SVN::_Fs::svn_fs_path_change3_create", _wrap_svn_fs_path_change3_create},
16462 {"SVN::_Fs::svn_fs_path_change3_dup", _wrap_svn_fs_path_change3_dup},
16463 {"SVN::_Fs::svn_fs_path_change_get", _wrap_svn_fs_path_change_get},
16464 {"SVN::_Fs::svn_fs_paths_changed3", _wrap_svn_fs_paths_changed3},
16465 {"SVN::_Fs::svn_fs_paths_changed2", _wrap_svn_fs_paths_changed2},
16466 {"SVN::_Fs::svn_fs_paths_changed", _wrap_svn_fs_paths_changed},
16467 {"SVN::_Fs::svn_fs_check_path", _wrap_svn_fs_check_path},
16468 {"SVN::_Fs::svn_fs_node_history2", _wrap_svn_fs_node_history2},
16469 {"SVN::_Fs::svn_fs_node_history", _wrap_svn_fs_node_history},
16470 {"SVN::_Fs::svn_fs_history_prev2", _wrap_svn_fs_history_prev2},
16471 {"SVN::_Fs::svn_fs_history_prev", _wrap_svn_fs_history_prev},
16472 {"SVN::_Fs::svn_fs_history_location", _wrap_svn_fs_history_location},
16473 {"SVN::_Fs::svn_fs_is_dir", _wrap_svn_fs_is_dir},
16474 {"SVN::_Fs::svn_fs_is_file", _wrap_svn_fs_is_file},
16475 {"SVN::_Fs::svn_fs_node_id", _wrap_svn_fs_node_id},
16476 {"SVN::_Fs::svn_fs_node_relation", _wrap_svn_fs_node_relation},
16477 {"SVN::_Fs::svn_fs_node_created_rev", _wrap_svn_fs_node_created_rev},
16478 {"SVN::_Fs::svn_fs_node_origin_rev", _wrap_svn_fs_node_origin_rev},
16479 {"SVN::_Fs::svn_fs_node_created_path", _wrap_svn_fs_node_created_path},
16480 {"SVN::_Fs::svn_fs_node_prop", _wrap_svn_fs_node_prop},
16481 {"SVN::_Fs::svn_fs_node_proplist", _wrap_svn_fs_node_proplist},
16482 {"SVN::_Fs::svn_fs_node_has_props", _wrap_svn_fs_node_has_props},
16483 {"SVN::_Fs::svn_fs_change_node_prop", _wrap_svn_fs_change_node_prop},
16484 {"SVN::_Fs::svn_fs_props_different", _wrap_svn_fs_props_different},
16485 {"SVN::_Fs::svn_fs_props_changed", _wrap_svn_fs_props_changed},
16486 {"SVN::_Fs::svn_fs_copied_from", _wrap_svn_fs_copied_from},
16487 {"SVN::_Fs::svn_fs_closest_copy", _wrap_svn_fs_closest_copy},
16488 {"SVN::_Fs::svn_fs_get_mergeinfo3", _wrap_svn_fs_get_mergeinfo3},
16489 {"SVN::_Fs::svn_fs_get_mergeinfo2", _wrap_svn_fs_get_mergeinfo2},
16490 {"SVN::_Fs::svn_fs_get_mergeinfo", _wrap_svn_fs_get_mergeinfo},
16491 {"SVN::_Fs::svn_fs_merge", _wrap_svn_fs_merge},
16492 {"SVN::_Fs::svn_fs_dirent_t_name_set", _wrap_svn_fs_dirent_t_name_set},
16493 {"SVN::_Fs::svn_fs_dirent_t_name_get", _wrap_svn_fs_dirent_t_name_get},
16494 {"SVN::_Fs::svn_fs_dirent_t_id_set", _wrap_svn_fs_dirent_t_id_set},
16495 {"SVN::_Fs::svn_fs_dirent_t_id_get", _wrap_svn_fs_dirent_t_id_get},
16496 {"SVN::_Fs::svn_fs_dirent_t_kind_set", _wrap_svn_fs_dirent_t_kind_set},
16497 {"SVN::_Fs::svn_fs_dirent_t_kind_get", _wrap_svn_fs_dirent_t_kind_get},
16498 {"SVN::_Fs::svn_fs_dir_entries", _wrap_svn_fs_dir_entries},
16499 {"SVN::_Fs::svn_fs_dir_optimal_order", _wrap_svn_fs_dir_optimal_order},
16500 {"SVN::_Fs::svn_fs_make_dir", _wrap_svn_fs_make_dir},
16501 {"SVN::_Fs::svn_fs_delete", _wrap_svn_fs_delete},
16502 {"SVN::_Fs::svn_fs_copy", _wrap_svn_fs_copy},
16503 {"SVN::_Fs::svn_fs_revision_link", _wrap_svn_fs_revision_link},
16504 {"SVN::_Fs::svn_fs_file_length", _wrap_svn_fs_file_length},
16505 {"SVN::_Fs::svn_fs_file_checksum", _wrap_svn_fs_file_checksum},
16506 {"SVN::_Fs::svn_fs_file_md5_checksum", _wrap_svn_fs_file_md5_checksum},
16507 {"SVN::_Fs::svn_fs_file_contents", _wrap_svn_fs_file_contents},
16508 {"SVN::_Fs::svn_fs_try_process_file_contents", _wrap_svn_fs_try_process_file_contents},
16509 {"SVN::_Fs::svn_fs_make_file", _wrap_svn_fs_make_file},
16510 {"SVN::_Fs::svn_fs_apply_textdelta", _wrap_svn_fs_apply_textdelta},
16511 {"SVN::_Fs::svn_fs_apply_text", _wrap_svn_fs_apply_text},
16512 {"SVN::_Fs::svn_fs_contents_different", _wrap_svn_fs_contents_different},
16513 {"SVN::_Fs::svn_fs_contents_changed", _wrap_svn_fs_contents_changed},
16514 {"SVN::_Fs::svn_fs_youngest_rev", _wrap_svn_fs_youngest_rev},
16515 {"SVN::_Fs::svn_fs_info_format", _wrap_svn_fs_info_format},
16516 {"SVN::_Fs::svn_fs_info_config_files", _wrap_svn_fs_info_config_files},
16517 {"SVN::_Fs::svn_fs_deltify_revision", _wrap_svn_fs_deltify_revision},
16518 {"SVN::_Fs::svn_fs_refresh_revision_props", _wrap_svn_fs_refresh_revision_props},
16519 {"SVN::_Fs::svn_fs_revision_prop2", _wrap_svn_fs_revision_prop2},
16520 {"SVN::_Fs::svn_fs_revision_prop", _wrap_svn_fs_revision_prop},
16521 {"SVN::_Fs::svn_fs_revision_proplist2", _wrap_svn_fs_revision_proplist2},
16522 {"SVN::_Fs::svn_fs_revision_proplist", _wrap_svn_fs_revision_proplist},
16523 {"SVN::_Fs::svn_fs_change_rev_prop2", _wrap_svn_fs_change_rev_prop2},
16524 {"SVN::_Fs::svn_fs_change_rev_prop", _wrap_svn_fs_change_rev_prop},
16525 {"SVN::_Fs::svn_fs_get_file_delta_stream", _wrap_svn_fs_get_file_delta_stream},
16526 {"SVN::_Fs::svn_fs_get_uuid", _wrap_svn_fs_get_uuid},
16527 {"SVN::_Fs::svn_fs_set_uuid", _wrap_svn_fs_set_uuid},
16528 {"SVN::_Fs::svn_fs_lock_target_create", _wrap_svn_fs_lock_target_create},
16529 {"SVN::_Fs::svn_fs_lock_target_set_token", _wrap_svn_fs_lock_target_set_token},
16530 {"SVN::_Fs::svn_fs_lock_many", _wrap_svn_fs_lock_many},
16531 {"SVN::_Fs::svn_fs_lock", _wrap_svn_fs_lock},
16532 {"SVN::_Fs::svn_fs_generate_lock_token", _wrap_svn_fs_generate_lock_token},
16533 {"SVN::_Fs::svn_fs_unlock_many", _wrap_svn_fs_unlock_many},
16534 {"SVN::_Fs::svn_fs_unlock", _wrap_svn_fs_unlock},
16535 {"SVN::_Fs::svn_fs_get_lock", _wrap_svn_fs_get_lock},
16536 {"SVN::_Fs::svn_fs_get_locks2", _wrap_svn_fs_get_locks2},
16537 {"SVN::_Fs::svn_fs_get_locks", _wrap_svn_fs_get_locks},
16538 {"SVN::_Fs::svn_fs_print_modules", _wrap_svn_fs_print_modules},
16539 {"SVN::_Fs::svn_fs_pack", _wrap_svn_fs_pack},
16540 {"SVN::_Fs::svn_fs_verify", _wrap_svn_fs_verify},
16541 {"SVN::_Fs::svn_fs_verify_root", _wrap_svn_fs_verify_root},
16542 {"SVN::_Fs::svn_fs_fsfs_info_t_fs_type_set", _wrap_svn_fs_fsfs_info_t_fs_type_set},
16543 {"SVN::_Fs::svn_fs_fsfs_info_t_fs_type_get", _wrap_svn_fs_fsfs_info_t_fs_type_get},
16544 {"SVN::_Fs::svn_fs_fsfs_info_t_shard_size_set", _wrap_svn_fs_fsfs_info_t_shard_size_set},
16545 {"SVN::_Fs::svn_fs_fsfs_info_t_shard_size_get", _wrap_svn_fs_fsfs_info_t_shard_size_get},
16546 {"SVN::_Fs::svn_fs_fsfs_info_t_min_unpacked_rev_set", _wrap_svn_fs_fsfs_info_t_min_unpacked_rev_set},
16547 {"SVN::_Fs::svn_fs_fsfs_info_t_min_unpacked_rev_get", _wrap_svn_fs_fsfs_info_t_min_unpacked_rev_get},
16548 {"SVN::_Fs::svn_fs_fsfs_info_t_log_addressing_set", _wrap_svn_fs_fsfs_info_t_log_addressing_set},
16549 {"SVN::_Fs::svn_fs_fsfs_info_t_log_addressing_get", _wrap_svn_fs_fsfs_info_t_log_addressing_get},
16550 {"SVN::_Fs::svn_fs_fsx_info_t_fs_type_set", _wrap_svn_fs_fsx_info_t_fs_type_set},
16551 {"SVN::_Fs::svn_fs_fsx_info_t_fs_type_get", _wrap_svn_fs_fsx_info_t_fs_type_get},
16552 {"SVN::_Fs::svn_fs_fsx_info_t_shard_size_set", _wrap_svn_fs_fsx_info_t_shard_size_set},
16553 {"SVN::_Fs::svn_fs_fsx_info_t_shard_size_get", _wrap_svn_fs_fsx_info_t_shard_size_get},
16554 {"SVN::_Fs::svn_fs_fsx_info_t_min_unpacked_rev_set", _wrap_svn_fs_fsx_info_t_min_unpacked_rev_set},
16555 {"SVN::_Fs::svn_fs_fsx_info_t_min_unpacked_rev_get", _wrap_svn_fs_fsx_info_t_min_unpacked_rev_get},
16556 {"SVN::_Fs::svn_fs_info_placeholder_t_fs_type_set", _wrap_svn_fs_info_placeholder_t_fs_type_set},
16557 {"SVN::_Fs::svn_fs_info_placeholder_t_fs_type_get", _wrap_svn_fs_info_placeholder_t_fs_type_get},
16558 {"SVN::_Fs::svn_fs_info", _wrap_svn_fs_info},
16559 {"SVN::_Fs::svn_fs_info_dup", _wrap_svn_fs_info_dup},
16560 {"SVN::_Fs::svn_fs_ioctl_code_t_fs_type_set", _wrap_svn_fs_ioctl_code_t_fs_type_set},
16561 {"SVN::_Fs::svn_fs_ioctl_code_t_fs_type_get", _wrap_svn_fs_ioctl_code_t_fs_type_get},
16562 {"SVN::_Fs::svn_fs_ioctl_code_t_code_set", _wrap_svn_fs_ioctl_code_t_code_set},
16563 {"SVN::_Fs::svn_fs_ioctl_code_t_code_get", _wrap_svn_fs_ioctl_code_t_code_get},
16564 {"SVN::_Fs::svn_fs_ioctl", _wrap_svn_fs_ioctl},
16565 {"SVN::_Fs::svn_fs_invoke_warning_callback", _wrap_svn_fs_invoke_warning_callback},
16566 {"SVN::_Fs::svn_fs_invoke_upgrade_notify", _wrap_svn_fs_invoke_upgrade_notify},
16567 {"SVN::_Fs::svn_fs_invoke_progress_notify_func", _wrap_svn_fs_invoke_progress_notify_func},
16568 {"SVN::_Fs::svn_fs_invoke_hotcopy_notify", _wrap_svn_fs_invoke_hotcopy_notify},
16569 {"SVN::_Fs::svn_fs_invoke_freeze_func", _wrap_svn_fs_invoke_freeze_func},
16570 {"SVN::_Fs::svn_fs_invoke_mergeinfo_receiver", _wrap_svn_fs_invoke_mergeinfo_receiver},
16571 {"SVN::_Fs::svn_fs_invoke_process_contents_func", _wrap_svn_fs_invoke_process_contents_func},
16572 {"SVN::_Fs::svn_fs_invoke_lock_callback", _wrap_svn_fs_invoke_lock_callback},
16573 {"SVN::_Fs::svn_fs_invoke_get_locks_callback", _wrap_svn_fs_invoke_get_locks_callback},
16574 {"SVN::_Fs::svn_fs_invoke_pack_notify", _wrap_svn_fs_invoke_pack_notify},
16575 {0,0}
16576 };
16577 /* -----------------------------------------------------------------------------
16578 * Type initialization:
16579 * This problem is tough by the requirement that no dynamic
16580 * memory is used. Also, since swig_type_info structures store pointers to
16581 * swig_cast_info structures and swig_cast_info structures store pointers back
16582 * to swig_type_info structures, we need some lookup code at initialization.
16583 * The idea is that swig generates all the structures that are needed.
16584 * The runtime then collects these partially filled structures.
16585 * The SWIG_InitializeModule function takes these initial arrays out of
16586 * swig_module, and does all the lookup, filling in the swig_module.types
16587 * array with the correct data and linking the correct swig_cast_info
16588 * structures together.
16589 *
16590 * The generated swig_type_info structures are assigned statically to an initial
16591 * array. We just loop through that array, and handle each type individually.
16592 * First we lookup if this type has been already loaded, and if so, use the
16593 * loaded structure instead of the generated one. Then we have to fill in the
16594 * cast linked list. The cast data is initially stored in something like a
16595 * two-dimensional array. Each row corresponds to a type (there are the same
16596 * number of rows as there are in the swig_type_initial array). Each entry in
16597 * a column is one of the swig_cast_info structures for that type.
16598 * The cast_initial array is actually an array of arrays, because each row has
16599 * a variable number of columns. So to actually build the cast linked list,
16600 * we find the array of casts associated with the type, and loop through it
16601 * adding the casts to the list. The one last trick we need to do is making
16602 * sure the type pointer in the swig_cast_info struct is correct.
16603 *
16604 * First off, we lookup the cast->type name to see if it is already loaded.
16605 * There are three cases to handle:
16606 * 1) If the cast->type has already been loaded AND the type we are adding
16607 * casting info to has not been loaded (it is in this module), THEN we
16608 * replace the cast->type pointer with the type pointer that has already
16609 * been loaded.
16610 * 2) If BOTH types (the one we are adding casting info to, and the
16611 * cast->type) are loaded, THEN the cast info has already been loaded by
16612 * the previous module so we just ignore it.
16613 * 3) Finally, if cast->type has not already been loaded, then we add that
16614 * swig_cast_info to the linked list (because the cast->type) pointer will
16615 * be correct.
16616 * ----------------------------------------------------------------------------- */
16617
16618 #ifdef __cplusplus
16619 extern "C" {
16620 #if 0
16621 } /* c-mode */
16622 #endif
16623 #endif
16624
16625 #if 0
16626 #define SWIGRUNTIME_DEBUG
16627 #endif
16628
16629
16630 SWIGRUNTIME void
SWIG_InitializeModule(void * clientdata)16631 SWIG_InitializeModule(void *clientdata) {
16632 size_t i;
16633 swig_module_info *module_head, *iter;
16634 int init;
16635
16636 /* check to see if the circular list has been setup, if not, set it up */
16637 if (swig_module.next==0) {
16638 /* Initialize the swig_module */
16639 swig_module.type_initial = swig_type_initial;
16640 swig_module.cast_initial = swig_cast_initial;
16641 swig_module.next = &swig_module;
16642 init = 1;
16643 } else {
16644 init = 0;
16645 }
16646
16647 /* Try and load any already created modules */
16648 module_head = SWIG_GetModule(clientdata);
16649 if (!module_head) {
16650 /* This is the first module loaded for this interpreter */
16651 /* so set the swig module into the interpreter */
16652 SWIG_SetModule(clientdata, &swig_module);
16653 } else {
16654 /* the interpreter has loaded a SWIG module, but has it loaded this one? */
16655 iter=module_head;
16656 do {
16657 if (iter==&swig_module) {
16658 /* Our module is already in the list, so there's nothing more to do. */
16659 return;
16660 }
16661 iter=iter->next;
16662 } while (iter!= module_head);
16663
16664 /* otherwise we must add our module into the list */
16665 swig_module.next = module_head->next;
16666 module_head->next = &swig_module;
16667 }
16668
16669 /* When multiple interpreters are used, a module could have already been initialized in
16670 a different interpreter, but not yet have a pointer in this interpreter.
16671 In this case, we do not want to continue adding types... everything should be
16672 set up already */
16673 if (init == 0) return;
16674
16675 /* Now work on filling in swig_module.types */
16676 #ifdef SWIGRUNTIME_DEBUG
16677 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
16678 #endif
16679 for (i = 0; i < swig_module.size; ++i) {
16680 swig_type_info *type = 0;
16681 swig_type_info *ret;
16682 swig_cast_info *cast;
16683
16684 #ifdef SWIGRUNTIME_DEBUG
16685 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
16686 #endif
16687
16688 /* if there is another module already loaded */
16689 if (swig_module.next != &swig_module) {
16690 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
16691 }
16692 if (type) {
16693 /* Overwrite clientdata field */
16694 #ifdef SWIGRUNTIME_DEBUG
16695 printf("SWIG_InitializeModule: found type %s\n", type->name);
16696 #endif
16697 if (swig_module.type_initial[i]->clientdata) {
16698 type->clientdata = swig_module.type_initial[i]->clientdata;
16699 #ifdef SWIGRUNTIME_DEBUG
16700 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
16701 #endif
16702 }
16703 } else {
16704 type = swig_module.type_initial[i];
16705 }
16706
16707 /* Insert casting types */
16708 cast = swig_module.cast_initial[i];
16709 while (cast->type) {
16710 /* Don't need to add information already in the list */
16711 ret = 0;
16712 #ifdef SWIGRUNTIME_DEBUG
16713 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
16714 #endif
16715 if (swig_module.next != &swig_module) {
16716 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
16717 #ifdef SWIGRUNTIME_DEBUG
16718 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
16719 #endif
16720 }
16721 if (ret) {
16722 if (type == swig_module.type_initial[i]) {
16723 #ifdef SWIGRUNTIME_DEBUG
16724 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
16725 #endif
16726 cast->type = ret;
16727 ret = 0;
16728 } else {
16729 /* Check for casting already in the list */
16730 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
16731 #ifdef SWIGRUNTIME_DEBUG
16732 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
16733 #endif
16734 if (!ocast) ret = 0;
16735 }
16736 }
16737
16738 if (!ret) {
16739 #ifdef SWIGRUNTIME_DEBUG
16740 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
16741 #endif
16742 if (type->cast) {
16743 type->cast->prev = cast;
16744 cast->next = type->cast;
16745 }
16746 type->cast = cast;
16747 }
16748 cast++;
16749 }
16750 /* Set entry in modules->types array equal to the type */
16751 swig_module.types[i] = type;
16752 }
16753 swig_module.types[i] = 0;
16754
16755 #ifdef SWIGRUNTIME_DEBUG
16756 printf("**** SWIG_InitializeModule: Cast List ******\n");
16757 for (i = 0; i < swig_module.size; ++i) {
16758 int j = 0;
16759 swig_cast_info *cast = swig_module.cast_initial[i];
16760 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
16761 while (cast->type) {
16762 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
16763 cast++;
16764 ++j;
16765 }
16766 printf("---- Total casts: %d\n",j);
16767 }
16768 printf("**** SWIG_InitializeModule: Cast List ******\n");
16769 #endif
16770 }
16771
16772 /* This function will propagate the clientdata field of type to
16773 * any new swig_type_info structures that have been added into the list
16774 * of equivalent types. It is like calling
16775 * SWIG_TypeClientData(type, clientdata) a second time.
16776 */
16777 SWIGRUNTIME void
SWIG_PropagateClientData(void)16778 SWIG_PropagateClientData(void) {
16779 size_t i;
16780 swig_cast_info *equiv;
16781 static int init_run = 0;
16782
16783 if (init_run) return;
16784 init_run = 1;
16785
16786 for (i = 0; i < swig_module.size; i++) {
16787 if (swig_module.types[i]->clientdata) {
16788 equiv = swig_module.types[i]->cast;
16789 while (equiv) {
16790 if (!equiv->converter) {
16791 if (equiv->type && !equiv->type->clientdata)
16792 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
16793 }
16794 equiv = equiv->next;
16795 }
16796 }
16797 }
16798 }
16799
16800 #ifdef __cplusplus
16801 #if 0
16802 {
16803 /* c-mode */
16804 #endif
16805 }
16806 #endif
16807
16808
16809
16810 #if defined(__cplusplus) && ! defined(XSPROTO)
16811 extern "C"
16812 #endif
16813
XS(SWIG_init)16814 XS(SWIG_init) {
16815 dXSARGS;
16816 int i;
16817 (void)items;
16818
16819 SWIG_InitializeModule(0);
16820
16821 /* Install commands */
16822 for (i = 0; swig_commands[i].name; i++) {
16823 /* Casts only needed for Perl < 5.10. */
16824 #ifdef __cplusplus
16825 newXS(const_cast<char*>(swig_commands[i].name), swig_commands[i].wrapper, const_cast<char*>(__FILE__));
16826 #else
16827 newXS((char*)swig_commands[i].name, swig_commands[i].wrapper, (char*)__FILE__);
16828 #endif
16829 }
16830
16831 /* Install variables */
16832 for (i = 0; swig_variables[i].name; i++) {
16833 SV *sv;
16834 sv = get_sv(swig_variables[i].name, TRUE | 0x2 | GV_ADDMULTI);
16835 if (swig_variables[i].type) {
16836 SWIG_MakePtr(sv,(void *)1, *swig_variables[i].type,0);
16837 } else {
16838 sv_setiv(sv,(IV) 0);
16839 }
16840 swig_create_magic(sv, swig_variables[i].name, swig_variables[i].set, swig_variables[i].get);
16841 }
16842
16843 /* Install constant */
16844 for (i = 0; swig_constants[i].type; i++) {
16845 SV *sv;
16846 sv = get_sv(swig_constants[i].name, TRUE | 0x2 | GV_ADDMULTI);
16847 switch(swig_constants[i].type) {
16848 case SWIG_INT:
16849 sv_setiv(sv, (IV) swig_constants[i].lvalue);
16850 break;
16851 case SWIG_FLOAT:
16852 sv_setnv(sv, (double) swig_constants[i].dvalue);
16853 break;
16854 case SWIG_STRING:
16855 sv_setpv(sv, (const char *) swig_constants[i].pvalue);
16856 break;
16857 case SWIG_POINTER:
16858 SWIG_MakePtr(sv, swig_constants[i].pvalue, *(swig_constants[i].ptype),0);
16859 break;
16860 case SWIG_BINARY:
16861 SWIG_MakePackedObj(sv, swig_constants[i].pvalue, swig_constants[i].lvalue, *(swig_constants[i].ptype));
16862 break;
16863 default:
16864 break;
16865 }
16866 SvREADONLY_on(sv);
16867 }
16868
16869 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16870 SV *sv = get_sv((char*) SWIG_prefix "SVN_FS_TYPE_BDB", TRUE | 0x2 | GV_ADDMULTI);
16871 sv_setsv(sv, SWIG_FromCharPtr("bdb"));
16872 SvREADONLY_on(sv);
16873 } while(0) /*@SWIG@*/;
16874 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16875 SV *sv = get_sv((char*) SWIG_prefix "SVN_FS_TYPE_FSFS", TRUE | 0x2 | GV_ADDMULTI);
16876 sv_setsv(sv, SWIG_FromCharPtr("fsfs"));
16877 SvREADONLY_on(sv);
16878 } while(0) /*@SWIG@*/;
16879 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16880 SV *sv = get_sv((char*) SWIG_prefix "SVN_FS_TYPE_FSX", TRUE | 0x2 | GV_ADDMULTI);
16881 sv_setsv(sv, SWIG_FromCharPtr("fsx"));
16882 SvREADONLY_on(sv);
16883 } while(0) /*@SWIG@*/;
16884 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16885 SV *sv = get_sv((char*) SWIG_prefix "SVN_FS_CONFIG_BDB_TXN_NOSYNC", TRUE | 0x2 | GV_ADDMULTI);
16886 sv_setsv(sv, SWIG_FromCharPtr("bdb-txn-nosync"));
16887 SvREADONLY_on(sv);
16888 } while(0) /*@SWIG@*/;
16889 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16890 SV *sv = get_sv((char*) SWIG_prefix "SVN_FS_CONFIG_BDB_LOG_AUTOREMOVE", TRUE | 0x2 | GV_ADDMULTI);
16891 sv_setsv(sv, SWIG_FromCharPtr("bdb-log-autoremove"));
16892 SvREADONLY_on(sv);
16893 } while(0) /*@SWIG@*/;
16894 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16895 SV *sv = get_sv((char*) SWIG_prefix "SVN_FS_CONFIG_FSFS_CACHE_DELTAS", TRUE | 0x2 | GV_ADDMULTI);
16896 sv_setsv(sv, SWIG_FromCharPtr("fsfs-cache-deltas"));
16897 SvREADONLY_on(sv);
16898 } while(0) /*@SWIG@*/;
16899 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16900 SV *sv = get_sv((char*) SWIG_prefix "SVN_FS_CONFIG_FSFS_CACHE_FULLTEXTS", TRUE | 0x2 | GV_ADDMULTI);
16901 sv_setsv(sv, SWIG_FromCharPtr("fsfs-cache-fulltexts"));
16902 SvREADONLY_on(sv);
16903 } while(0) /*@SWIG@*/;
16904 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16905 SV *sv = get_sv((char*) SWIG_prefix "SVN_FS_CONFIG_FSFS_CACHE_REVPROPS", TRUE | 0x2 | GV_ADDMULTI);
16906 sv_setsv(sv, SWIG_FromCharPtr("fsfs-cache-revprops"));
16907 SvREADONLY_on(sv);
16908 } while(0) /*@SWIG@*/;
16909 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16910 SV *sv = get_sv((char*) SWIG_prefix "SVN_FS_CONFIG_FSFS_CACHE_NS", TRUE | 0x2 | GV_ADDMULTI);
16911 sv_setsv(sv, SWIG_FromCharPtr("fsfs-cache-namespace"));
16912 SvREADONLY_on(sv);
16913 } while(0) /*@SWIG@*/;
16914 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16915 SV *sv = get_sv((char*) SWIG_prefix "SVN_FS_CONFIG_FSFS_CACHE_NODEPROPS", TRUE | 0x2 | GV_ADDMULTI);
16916 sv_setsv(sv, SWIG_FromCharPtr("fsfs-cache-nodeprops"));
16917 SvREADONLY_on(sv);
16918 } while(0) /*@SWIG@*/;
16919 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16920 SV *sv = get_sv((char*) SWIG_prefix "SVN_FS_CONFIG_FSFS_BLOCK_READ", TRUE | 0x2 | GV_ADDMULTI);
16921 sv_setsv(sv, SWIG_FromCharPtr("fsfs-block-read"));
16922 SvREADONLY_on(sv);
16923 } while(0) /*@SWIG@*/;
16924 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16925 SV *sv = get_sv((char*) SWIG_prefix "SVN_FS_CONFIG_FSFS_SHARD_SIZE", TRUE | 0x2 | GV_ADDMULTI);
16926 sv_setsv(sv, SWIG_FromCharPtr("fsfs-shard-size"));
16927 SvREADONLY_on(sv);
16928 } while(0) /*@SWIG@*/;
16929 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16930 SV *sv = get_sv((char*) SWIG_prefix "SVN_FS_CONFIG_FSFS_LOG_ADDRESSING", TRUE | 0x2 | GV_ADDMULTI);
16931 sv_setsv(sv, SWIG_FromCharPtr("fsfs-log-addressing"));
16932 SvREADONLY_on(sv);
16933 } while(0) /*@SWIG@*/;
16934 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16935 SV *sv = get_sv((char*) SWIG_prefix "SVN_FS_CONFIG_FS_TYPE", TRUE | 0x2 | GV_ADDMULTI);
16936 sv_setsv(sv, SWIG_FromCharPtr("fs-type"));
16937 SvREADONLY_on(sv);
16938 } while(0) /*@SWIG@*/;
16939 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16940 SV *sv = get_sv((char*) SWIG_prefix "SVN_FS_CONFIG_PRE_1_4_COMPATIBLE", TRUE | 0x2 | GV_ADDMULTI);
16941 sv_setsv(sv, SWIG_FromCharPtr("pre-1.4-compatible"));
16942 SvREADONLY_on(sv);
16943 } while(0) /*@SWIG@*/;
16944 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16945 SV *sv = get_sv((char*) SWIG_prefix "SVN_FS_CONFIG_PRE_1_5_COMPATIBLE", TRUE | 0x2 | GV_ADDMULTI);
16946 sv_setsv(sv, SWIG_FromCharPtr("pre-1.5-compatible"));
16947 SvREADONLY_on(sv);
16948 } while(0) /*@SWIG@*/;
16949 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16950 SV *sv = get_sv((char*) SWIG_prefix "SVN_FS_CONFIG_PRE_1_6_COMPATIBLE", TRUE | 0x2 | GV_ADDMULTI);
16951 sv_setsv(sv, SWIG_FromCharPtr("pre-1.6-compatible"));
16952 SvREADONLY_on(sv);
16953 } while(0) /*@SWIG@*/;
16954 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16955 SV *sv = get_sv((char*) SWIG_prefix "SVN_FS_CONFIG_PRE_1_8_COMPATIBLE", TRUE | 0x2 | GV_ADDMULTI);
16956 sv_setsv(sv, SWIG_FromCharPtr("pre-1.8-compatible"));
16957 SvREADONLY_on(sv);
16958 } while(0) /*@SWIG@*/;
16959 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16960 SV *sv = get_sv((char*) SWIG_prefix "SVN_FS_CONFIG_COMPATIBLE_VERSION", TRUE | 0x2 | GV_ADDMULTI);
16961 sv_setsv(sv, SWIG_FromCharPtr("compatible-version"));
16962 SvREADONLY_on(sv);
16963 } while(0) /*@SWIG@*/;
16964 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16965 SV *sv = get_sv((char*) SWIG_prefix "SVN_FS_CONFIG_NO_FLUSH_TO_DISK", TRUE | 0x2 | GV_ADDMULTI);
16966 sv_setsv(sv, SWIG_FromCharPtr("no-flush-to-disk"));
16967 SvREADONLY_on(sv);
16968 } while(0) /*@SWIG@*/;
16969 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16970 SV *sv = get_sv((char*) SWIG_prefix "svn_fs_upgrade_pack_revprops", TRUE | 0x2 | GV_ADDMULTI);
16971 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_fs_upgrade_pack_revprops)));
16972 SvREADONLY_on(sv);
16973 } while(0) /*@SWIG@*/;
16974 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16975 SV *sv = get_sv((char*) SWIG_prefix "svn_fs_upgrade_cleanup_revprops", TRUE | 0x2 | GV_ADDMULTI);
16976 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_fs_upgrade_cleanup_revprops)));
16977 SvREADONLY_on(sv);
16978 } while(0) /*@SWIG@*/;
16979 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16980 SV *sv = get_sv((char*) SWIG_prefix "svn_fs_upgrade_format_bumped", TRUE | 0x2 | GV_ADDMULTI);
16981 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_fs_upgrade_format_bumped)));
16982 SvREADONLY_on(sv);
16983 } while(0) /*@SWIG@*/;
16984 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16985 SV *sv = get_sv((char*) SWIG_prefix "svn_fs_node_unrelated", TRUE | 0x2 | GV_ADDMULTI);
16986 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_fs_node_unrelated)));
16987 SvREADONLY_on(sv);
16988 } while(0) /*@SWIG@*/;
16989 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16990 SV *sv = get_sv((char*) SWIG_prefix "svn_fs_node_unchanged", TRUE | 0x2 | GV_ADDMULTI);
16991 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_fs_node_unchanged)));
16992 SvREADONLY_on(sv);
16993 } while(0) /*@SWIG@*/;
16994 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
16995 SV *sv = get_sv((char*) SWIG_prefix "svn_fs_node_common_ancestor", TRUE | 0x2 | GV_ADDMULTI);
16996 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_fs_node_common_ancestor)));
16997 SvREADONLY_on(sv);
16998 } while(0) /*@SWIG@*/;
16999 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
17000 SV *sv = get_sv((char*) SWIG_prefix "SVN_FS_TXN_CHECK_OOD", TRUE | 0x2 | GV_ADDMULTI);
17001 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(0x00001)));
17002 SvREADONLY_on(sv);
17003 } while(0) /*@SWIG@*/;
17004 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
17005 SV *sv = get_sv((char*) SWIG_prefix "SVN_FS_TXN_CHECK_LOCKS", TRUE | 0x2 | GV_ADDMULTI);
17006 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(0x00002)));
17007 SvREADONLY_on(sv);
17008 } while(0) /*@SWIG@*/;
17009 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
17010 SV *sv = get_sv((char*) SWIG_prefix "SVN_FS_TXN_CLIENT_DATE", TRUE | 0x2 | GV_ADDMULTI);
17011 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(0x00004)));
17012 SvREADONLY_on(sv);
17013 } while(0) /*@SWIG@*/;
17014 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
17015 SV *sv = get_sv((char*) SWIG_prefix "svn_fs_path_change_modify", TRUE | 0x2 | GV_ADDMULTI);
17016 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_fs_path_change_modify)));
17017 SvREADONLY_on(sv);
17018 } while(0) /*@SWIG@*/;
17019 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
17020 SV *sv = get_sv((char*) SWIG_prefix "svn_fs_path_change_add", TRUE | 0x2 | GV_ADDMULTI);
17021 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_fs_path_change_add)));
17022 SvREADONLY_on(sv);
17023 } while(0) /*@SWIG@*/;
17024 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
17025 SV *sv = get_sv((char*) SWIG_prefix "svn_fs_path_change_delete", TRUE | 0x2 | GV_ADDMULTI);
17026 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_fs_path_change_delete)));
17027 SvREADONLY_on(sv);
17028 } while(0) /*@SWIG@*/;
17029 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
17030 SV *sv = get_sv((char*) SWIG_prefix "svn_fs_path_change_replace", TRUE | 0x2 | GV_ADDMULTI);
17031 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_fs_path_change_replace)));
17032 SvREADONLY_on(sv);
17033 } while(0) /*@SWIG@*/;
17034 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
17035 SV *sv = get_sv((char*) SWIG_prefix "svn_fs_path_change_reset", TRUE | 0x2 | GV_ADDMULTI);
17036 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_fs_path_change_reset)));
17037 SvREADONLY_on(sv);
17038 } while(0) /*@SWIG@*/;
17039 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
17040 SV *sv = get_sv((char*) SWIG_prefix "svn_fs_pack_notify_start", TRUE | 0x2 | GV_ADDMULTI);
17041 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_fs_pack_notify_start)));
17042 SvREADONLY_on(sv);
17043 } while(0) /*@SWIG@*/;
17044 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
17045 SV *sv = get_sv((char*) SWIG_prefix "svn_fs_pack_notify_end", TRUE | 0x2 | GV_ADDMULTI);
17046 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_fs_pack_notify_end)));
17047 SvREADONLY_on(sv);
17048 } while(0) /*@SWIG@*/;
17049 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
17050 SV *sv = get_sv((char*) SWIG_prefix "svn_fs_pack_notify_start_revprop", TRUE | 0x2 | GV_ADDMULTI);
17051 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_fs_pack_notify_start_revprop)));
17052 SvREADONLY_on(sv);
17053 } while(0) /*@SWIG@*/;
17054 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
17055 SV *sv = get_sv((char*) SWIG_prefix "svn_fs_pack_notify_end_revprop", TRUE | 0x2 | GV_ADDMULTI);
17056 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_fs_pack_notify_end_revprop)));
17057 SvREADONLY_on(sv);
17058 } while(0) /*@SWIG@*/;
17059 /*@SWIG:/opt/svnrm/prefix/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
17060 SV *sv = get_sv((char*) SWIG_prefix "svn_fs_pack_notify_noop", TRUE | 0x2 | GV_ADDMULTI);
17061 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_fs_pack_notify_noop)));
17062 SvREADONLY_on(sv);
17063 } while(0) /*@SWIG@*/;
17064 ST(0) = &PL_sv_yes;
17065 XSRETURN(1);
17066 }
17067
17068