/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.25
 * 
 * This file is not intended to be easily readable and contains a number of 
 * coding conventions designed to improve portability and efficiency. Do not make
 * changes to this file unless you know what you are doing--modify the SWIG 
 * interface file instead. 
 * ----------------------------------------------------------------------------- */

/***********************************************************************
 *
 *  This section contains generic SWIG labels for method/variable
 *  declarations/attributes, and other compiler dependent labels.
 *
 ************************************************************************/

/* template workaround for compilers that cannot correctly implement the C++ standard */
#ifndef SWIGTEMPLATEDISAMBIGUATOR
#  if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
#    define SWIGTEMPLATEDISAMBIGUATOR template
#  else
#    define SWIGTEMPLATEDISAMBIGUATOR 
#  endif
#endif

/* inline attribute */
#ifndef SWIGINLINE
# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
#   define SWIGINLINE inline
# else
#   define SWIGINLINE
# endif
#endif

/* attribute recognised by some compilers to avoid 'unused' warnings */
#ifndef SWIGUNUSED
# if defined(__GNUC__) || defined(__ICC)
#   define SWIGUNUSED __attribute__ ((unused)) 
# else
#   define SWIGUNUSED 
# endif
#endif

/* internal SWIG method */
#ifndef SWIGINTERN
# define SWIGINTERN static SWIGUNUSED
#endif

/* internal inline SWIG method */
#ifndef SWIGINTERNINLINE
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
#endif

/* exporting methods for Windows DLLs */
#ifndef SWIGEXPORT
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#   if defined(STATIC_LINKED)
#     define SWIGEXPORT
#   else
#     define SWIGEXPORT __declspec(dllexport)
#   endif
# else
#   define SWIGEXPORT
# endif
#endif

/* calling conventions for Windows */
#ifndef SWIGSTDCALL
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#   define SWIGSTDCALL __stdcall
# else
#   define SWIGSTDCALL
# endif 
#endif


/***********************************************************************
 * swigrun.swg
 *
 *     This file contains generic CAPI SWIG runtime support for pointer
 *     type checking.
 *
 ************************************************************************/

/* This should only be incremented when either the layout of swig_type_info changes,
   or for whatever reason, the runtime changes incompatibly */
#define SWIG_RUNTIME_VERSION "2"

/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
#ifdef SWIG_TYPE_TABLE
# define SWIG_QUOTE_STRING(x) #x
# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
#else
# define SWIG_TYPE_TABLE_NAME
#endif

/*
  You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
  creating a static or dynamic library from the swig runtime code.
  In 99.9% of the cases, swig just needs to declare them as 'static'.
  
  But only do this if is strictly necessary, ie, if you have problems
  with your compiler or so.
*/

#ifndef SWIGRUNTIME
# define SWIGRUNTIME SWIGINTERN
#endif

#ifndef SWIGRUNTIMEINLINE
# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
#endif

#include <string.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef void *(*swig_converter_func)(void *);
typedef struct swig_type_info *(*swig_dycast_func)(void **);

/* Structure to store inforomation on one type */
typedef struct swig_type_info {
  const char             *name;			/* mangled name of this type */
  const char             *str;			/* human readable name of this type */
  swig_dycast_func        dcast;		/* dynamic cast function down a hierarchy */
  struct swig_cast_info  *cast;			/* linked list of types that can cast into this type */
  void                   *clientdata;		/* language specific type data */
} swig_type_info;

/* Structure to store a type and conversion function used for casting */
typedef struct swig_cast_info {
  swig_type_info         *type;			/* pointer to type that is equivalent to this type */
  swig_converter_func     converter;		/* function to cast the void pointers */
  struct swig_cast_info  *next;			/* pointer to next cast in linked list */
  struct swig_cast_info  *prev;			/* pointer to the previous cast */
} swig_cast_info;

/* Structure used to store module information
 * Each module generates one structure like this, and the runtime collects
 * all of these structures and stores them in a circularly linked list.*/
typedef struct swig_module_info {
  swig_type_info         **types;		/* Array of pointers to swig_type_info structures that are in this module */
  size_t                 size;		        /* Number of types in this module */
  struct swig_module_info *next;		/* Pointer to next element in circularly linked list */
  swig_type_info         **type_initial;	/* Array of initially generated type structures */
  swig_cast_info         **cast_initial;	/* Array of initially generated casting structures */
  void                    *clientdata;		/* Language specific module data */
} swig_module_info;


/* 
  Compare two type names skipping the space characters, therefore
  "char*" == "char *" and "Class<int>" == "Class<int >", etc.

  Return 0 when the two name types are equivalent, as in
  strncmp, but skipping ' '.
*/
SWIGRUNTIME int
SWIG_TypeNameComp(const char *f1, const char *l1,
		  const char *f2, const char *l2) {
  for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
    while ((*f1 == ' ') && (f1 != l1)) ++f1;
    while ((*f2 == ' ') && (f2 != l2)) ++f2;
    if (*f1 != *f2) return (int)(*f1 - *f2);
  }
  return (l1 - f1) - (l2 - f2);
}

/*
  Check type equivalence in a name list like <name1>|<name2>|...
  Return 0 if not equal, 1 if equal
*/
SWIGRUNTIME int
SWIG_TypeEquiv(const char *nb, const char *tb) {
  int equiv = 0;
  const char* te = tb + strlen(tb);
  const char* ne = nb;
  while (!equiv && *ne) {
    for (nb = ne; *ne; ++ne) {
      if (*ne == '|') break;
    }
    equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
    if (*ne) ++ne;
  }
  return equiv;
}

/*
  Check type equivalence in a name list like <name1>|<name2>|...
  Return 0 if equal, -1 if nb < tb, 1 if nb > tb
*/
SWIGRUNTIME int
SWIG_TypeCompare(const char *nb, const char *tb) {
  int equiv = 0;
  const char* te = tb + strlen(tb);
  const char* ne = nb;
  while (!equiv && *ne) {
    for (nb = ne; *ne; ++ne) {
      if (*ne == '|') break;
    }
    equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
    if (*ne) ++ne;
  }
  return equiv;
}


/* think of this as a c++ template<> or a scheme macro */
#define SWIG_TypeCheck_Template(comparison, ty)         \
  if (ty) {                                             \
    swig_cast_info *iter = ty->cast;                    \
    while (iter) {                                      \
      if (comparison) {                                 \
        if (iter == ty->cast) return iter;              \
        /* Move iter to the top of the linked list */   \
        iter->prev->next = iter->next;                  \
        if (iter->next)                                 \
          iter->next->prev = iter->prev;                \
        iter->next = ty->cast;                          \
        iter->prev = 0;                                 \
        if (ty->cast) ty->cast->prev = iter;            \
        ty->cast = iter;                                \
        return iter;                                    \
      }                                                 \
      iter = iter->next;                                \
    }                                                   \
  }                                                     \
  return 0

/*
  Check the typename
*/
SWIGRUNTIME swig_cast_info *
SWIG_TypeCheck(const char *c, swig_type_info *ty) {
  SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
}

/* Same as previous function, except strcmp is replaced with a pointer comparison */
SWIGRUNTIME swig_cast_info *
SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
  SWIG_TypeCheck_Template(iter->type == from, into);
}

/*
  Cast a pointer up an inheritance hierarchy
*/
SWIGRUNTIMEINLINE void *
SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
  return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
}

/* 
   Dynamic pointer casting. Down an inheritance hierarchy
*/
SWIGRUNTIME swig_type_info *
SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
  swig_type_info *lastty = ty;
  if (!ty || !ty->dcast) return ty;
  while (ty && (ty->dcast)) {
    ty = (*ty->dcast)(ptr);
    if (ty) lastty = ty;
  }
  return lastty;
}

/*
  Return the name associated with this type
*/
SWIGRUNTIMEINLINE const char *
SWIG_TypeName(const swig_type_info *ty) {
  return ty->name;
}

/*
  Return the pretty name associated with this type,
  that is an unmangled type name in a form presentable to the user.
*/
SWIGRUNTIME const char *
SWIG_TypePrettyName(const swig_type_info *type) {
  /* The "str" field contains the equivalent pretty names of the
     type, separated by vertical-bar characters.  We choose
     to print the last name, as it is often (?) the most
     specific. */
  if (type->str != NULL) {
    const char *last_name = type->str;
    const char *s;
    for (s = type->str; *s; s++)
      if (*s == '|') last_name = s+1;
    return last_name;
  }
  else
    return type->name;
}

/* 
   Set the clientdata field for a type
*/
SWIGRUNTIME void
SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
  if (!ti->clientdata) {
    swig_cast_info *cast = ti->cast;
    /* if (ti->clientdata == clientdata) return; */
    ti->clientdata = clientdata;
    
    while (cast) {
      if (!cast->converter)
	SWIG_TypeClientData(cast->type, clientdata);
      cast = cast->next;
    }
  }
}

/*
  Search for a swig_type_info structure only by mangled name
  Search is a O(log #types)
  
  We start searching at module start, and finish searching when start == end.  
  Note: if start == end at the beginning of the function, we go all the way around
  the circular list.
*/
SWIGRUNTIME swig_type_info *
SWIG_MangledTypeQueryModule(swig_module_info *start, 
                            swig_module_info *end, 
		            const char *name) {
  swig_module_info *iter = start;
  do {
    if (iter->size) {
      register size_t l = 0;
      register size_t r = iter->size - 1;
      do {
	/* since l+r >= 0, we can (>> 1) instead (/ 2) */
	register size_t i = (l + r) >> 1; 
	const char *iname = iter->types[i]->name;
	if (iname) {
	  register int compare = strcmp(name, iname);
	  if (compare == 0) {	    
	    return iter->types[i];
	  } else if (compare < 0) {
	    if (i) {
	      r = i - 1;
	    } else {
	      break;
	    }
	  } else if (compare > 0) {
	    l = i + 1;
	  }
	} else {
	  break; /* should never happen */
	}
      } while (l <= r);
    }
    iter = iter->next;
  } while (iter != end);
  return 0;
}

/*
  Search for a swig_type_info structure for either a mangled name or a human readable name.
  It first searches the mangled names of the types, which is a O(log #types)
  If a type is not found it then searches the human readable names, which is O(#types).
  
  We start searching at module start, and finish searching when start == end.  
  Note: if start == end at the beginning of the function, we go all the way around
  the circular list.
*/
SWIGRUNTIME swig_type_info *
SWIG_TypeQueryModule(swig_module_info *start, 
                     swig_module_info *end, 
		     const char *name) {
  /* STEP 1: Search the name field using binary search */
  swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
  if (ret) {
    return ret;
  } else {
    /* STEP 2: If the type hasn't been found, do a complete search
       of the str field (the human readable name) */
    swig_module_info *iter = start;
    do {
      register size_t i = 0;
      for (; i < iter->size; ++i) {
	if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
	  return iter->types[i];
      }
      iter = iter->next;
    } while (iter != end);
  }
  
  /* neither found a match */
  return 0;
}


/* 
   Pack binary data into a string
*/
SWIGRUNTIME char *
SWIG_PackData(char *c, void *ptr, size_t sz) {
  static const char hex[17] = "0123456789abcdef";
  register const unsigned char *u = (unsigned char *) ptr;
  register const unsigned char *eu =  u + sz;
  for (; u != eu; ++u) {
    register unsigned char uu = *u;
    *(c++) = hex[(uu & 0xf0) >> 4];
    *(c++) = hex[uu & 0xf];
  }
  return c;
}

/* 
   Unpack binary data from a string
*/
SWIGRUNTIME const char *
SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
  register unsigned char *u = (unsigned char *) ptr;
  register const unsigned char *eu = u + sz;
  for (; u != eu; ++u) {
    register char d = *(c++);
    register unsigned char uu = 0;
    if ((d >= '0') && (d <= '9'))
      uu = ((d - '0') << 4);
    else if ((d >= 'a') && (d <= 'f'))
      uu = ((d - ('a'-10)) << 4);
    else 
      return (char *) 0;
    d = *(c++);
    if ((d >= '0') && (d <= '9'))
      uu |= (d - '0');
    else if ((d >= 'a') && (d <= 'f'))
      uu |= (d - ('a'-10));
    else 
      return (char *) 0;
    *u = uu;
  }
  return c;
}

/* 
   Pack 'void *' into a string buffer.
*/
SWIGRUNTIME char *
SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
  char *r = buff;
  if ((2*sizeof(void *) + 2) > bsz) return 0;
  *(r++) = '_';
  r = SWIG_PackData(r,&ptr,sizeof(void *));
  if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
  strcpy(r,name);
  return buff;
}

SWIGRUNTIME const char *
SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
  if (*c != '_') {
    if (strcmp(c,"NULL") == 0) {
      *ptr = (void *) 0;
      return name;
    } else {
      return 0;
    }
  }
  return SWIG_UnpackData(++c,ptr,sizeof(void *));
}

SWIGRUNTIME char *
SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
  char *r = buff;
  size_t lname = (name ? strlen(name) : 0);
  if ((2*sz + 2 + lname) > bsz) return 0;
  *(r++) = '_';
  r = SWIG_PackData(r,ptr,sz);
  if (lname) {
    strncpy(r,name,lname+1);
  } else {
    *r = 0;
  }
  return buff;
}

SWIGRUNTIME const char *
SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
  if (*c != '_') {
    if (strcmp(c,"NULL") == 0) {
      memset(ptr,0,sz);
      return name;
    } else {
      return 0;
    }
  }
  return SWIG_UnpackData(++c,ptr,sz);
}

#ifdef __cplusplus
}
#endif


/* ---------------------------------------------------------------------- -*- c -*-
 * perl5.swg
 *
 * Perl5 runtime library
 * $Header: /cvsroot/swig/SWIG/Lib/perl5/perlrun.swg,v 1.21 2005/02/01 00:08:17 wuzzeb Exp $
 * ----------------------------------------------------------------------------- */

#define SWIGPERL
#define SWIGPERL5
#ifdef __cplusplus
/* Needed on some windows machines---since MS plays funny games with the header files under C++ */
#include <math.h>
#include <stdlib.h>
extern "C" {
#endif
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"

/* Get rid of free and malloc defined by perl */
#undef free
#undef malloc

#ifndef pTHX_
#define pTHX_
#endif

#include <string.h>
#ifdef __cplusplus
}
#endif

/* Macro to call an XS function */

#ifdef PERL_OBJECT 
#  define SWIG_CALLXS(_name) _name(cv,pPerl) 
#else 
#  ifndef MULTIPLICITY 
#    define SWIG_CALLXS(_name) _name(cv) 
#  else 
#    define SWIG_CALLXS(_name) _name(PERL_GET_THX, cv) 
#  endif 
#endif 

/* Contract support */

#define SWIG_contract_assert(expr,msg) if (!(expr)) { SWIG_croak(msg); } else

/* Note: SwigMagicFuncHack is a typedef used to get the C++ compiler to just shut up already */

#ifdef PERL_OBJECT
#define MAGIC_PPERL  CPerlObj *pPerl = (CPerlObj *) this;
typedef int (CPerlObj::*SwigMagicFunc)(SV *, MAGIC *);

#ifdef __cplusplus
extern "C" {
#endif
typedef int (CPerlObj::*SwigMagicFuncHack)(SV *, MAGIC *);
#ifdef __cplusplus
}
#endif

#define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
#define SWIGCLASS_STATIC
#else
#define MAGIC_PPERL
#define SWIGCLASS_STATIC static
#ifndef MULTIPLICITY
#define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
typedef int (*SwigMagicFunc)(SV *, MAGIC *);

#ifdef __cplusplus
extern "C" {
#endif
typedef int (*SwigMagicFuncHack)(SV *, MAGIC *);
#ifdef __cplusplus
}
#endif


#else
#define SWIG_MAGIC(a,b) (struct interpreter *interp, SV *a, MAGIC *b)
typedef int (*SwigMagicFunc)(struct interpreter *, SV *, MAGIC *);
#ifdef __cplusplus
extern "C" {
#endif
typedef int (*SwigMagicFuncHack)(struct interpreter *, SV *, MAGIC *);
#ifdef __cplusplus
}
#endif

#endif
#endif

#if defined(WIN32) && defined(PERL_OBJECT) && !defined(PerlIO_exportFILE)
#define PerlIO_exportFILE(fh,fl) (FILE*)(fh)
#endif

/* Modifications for newer Perl 5.005 releases */

#if !defined(PERL_REVISION) || ((PERL_REVISION >= 5) && ((PERL_VERSION < 5) || ((PERL_VERSION == 5) && (PERL_SUBVERSION < 50))))
#  ifndef PL_sv_yes
#    define PL_sv_yes sv_yes
#  endif
#  ifndef PL_sv_undef
#    define PL_sv_undef sv_undef
#  endif
#  ifndef PL_na
#    define PL_na na
#  endif
#endif

#include <stdlib.h>

#ifdef __cplusplus
extern "C" {
#endif

#define SWIG_OWNER 1
#define SWIG_SHADOW 2

/* Common SWIG API */

#ifdef PERL_OBJECT
#  define SWIG_ConvertPtr(obj, pp, type, flags) \
     SWIG_Perl_ConvertPtr(pPerl, obj, pp, type, flags)
#  define SWIG_NewPointerObj(p, type, flags) \
     SWIG_Perl_NewPointerObj(pPerl, p, type, flags)
#  define SWIG_MakePackedObj(sv, p, s, type)	\
     SWIG_Perl_MakePackedObj(pPerl, sv, p, s, type)
#  define SWIG_ConvertPacked(obj, p, s, type, flags) \
     SWIG_Perl_ConvertPacked(pPerl, obj, p, s, type, flags)

#else
#  define SWIG_ConvertPtr(obj, pp, type, flags) \
     SWIG_Perl_ConvertPtr(obj, pp, type, flags)
#  define SWIG_NewPointerObj(p, type, flags) \
     SWIG_Perl_NewPointerObj(p, type, flags)
#  define SWIG_MakePackedObj(sv, p, s, type)	\
     SWIG_Perl_MakePackedObj(sv, p, s, type )
#  define SWIG_ConvertPacked(obj, p, s, type, flags) \
     SWIG_Perl_ConvertPacked(obj, p, s, type, flags)
#endif

/* Runtime API */
#define SWIG_GetModule(clientdata) SWIG_Perl_GetModule()
#define SWIG_SetModule(clientdata, pointer) SWIG_Perl_SetModule(pointer)

/* Perl-specific API */
#ifdef PERL_OBJECT
#  define SWIG_MakePtr(sv, ptr, type, flags) \
     SWIG_Perl_MakePtr(pPerl, sv, ptr, type, flags)
#  define SWIG_SetError(str) \
     SWIG_Perl_SetError(pPerl, str)
#else
#  define SWIG_MakePtr(sv, ptr, type, flags) \
     SWIG_Perl_MakePtr(sv, ptr, type, flags)
#  define SWIG_SetError(str) \
     SWIG_Perl_SetError(str)
#  define SWIG_SetErrorSV(str) \
     SWIG_Perl_SetErrorSV(str)
#endif

#define SWIG_SetErrorf SWIG_Perl_SetErrorf


#ifdef PERL_OBJECT
#  define SWIG_MAYBE_PERL_OBJECT CPerlObj *pPerl,
#else
#  define SWIG_MAYBE_PERL_OBJECT
#endif

static swig_cast_info *
SWIG_Perl_TypeCheckRV(SWIG_MAYBE_PERL_OBJECT SV *rv, swig_type_info *ty) {
  SWIG_TypeCheck_Template(sv_derived_from(rv, (char *) iter->type->name), ty);
}

/* Function for getting a pointer value */

static int
SWIG_Perl_ConvertPtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags) {
  swig_cast_info *tc;
  void *voidptr = (void *)0;

  /* If magical, apply more magic */
  if (SvGMAGICAL(sv))
    mg_get(sv);

  /* Check to see if this is an object */
  if (sv_isobject(sv)) {
    SV *tsv = (SV*) SvRV(sv);
    IV tmp = 0;
    if ((SvTYPE(tsv) == SVt_PVHV)) {
      MAGIC *mg;
      if (SvMAGICAL(tsv)) {
        mg = mg_find(tsv,'P');
        if (mg) {
          sv = mg->mg_obj;
          if (sv_isobject(sv)) {
            tmp = SvIV((SV*)SvRV(sv));
          }
        }
      } else {
        return -1;
      }
    } else {
      tmp = SvIV((SV*)SvRV(sv));
    }
    voidptr = (void *)tmp;
    if (!_t) {
      *(ptr) = voidptr;
      return 0;
    }
  } else if (! SvOK(sv)) {            /* Check for undef */
    *(ptr) = (void *) 0;
    return 0;
  } else if (SvTYPE(sv) == SVt_RV) {  /* Check for NULL pointer */
    *(ptr) = (void *) 0;
    if (!SvROK(sv))
      return 0;
    else
      return -1;
  } else {                            /* Don't know what it is */
    *(ptr) = (void *) 0;
    return -1;
  }
  if (_t) {
    /* Now see if the types match */
    char *_c = HvNAME(SvSTASH(SvRV(sv)));
    tc = SWIG_TypeCheck(_c,_t);
    if (!tc) {
      *ptr = voidptr;
      return -1;
    }
    *ptr = SWIG_TypeCast(tc,voidptr);
    return 0;
  }
  *ptr = voidptr;
  return 0;
}

static void
SWIG_Perl_MakePtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, swig_type_info *t, int flags) {
  if (ptr && (flags & SWIG_SHADOW)) {
    SV *self;
    SV *obj=newSV(0);
    HV *hash=newHV();
    HV *stash;
    sv_setref_pv(obj, (char *) t->name, ptr);
    stash=SvSTASH(SvRV(obj));
    if (flags & SWIG_OWNER) {
      HV *hv;
      GV *gv=*(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
      if (!isGV(gv))
        gv_init(gv, stash, "OWNER", 5, FALSE);
      hv=GvHVn(gv);
      hv_store_ent(hv, obj, newSViv(1), 0);
    }
    sv_magic((SV *)hash, (SV *)obj, 'P', Nullch, 0);
    SvREFCNT_dec(obj);
    self=newRV_noinc((SV *)hash);
    sv_setsv(sv, self);
    SvREFCNT_dec((SV *)self);
    sv_bless(sv, stash);
  }
  else {
    sv_setref_pv(sv, (char *) t->name, ptr);
  }
}

static SWIGINLINE SV *
SWIG_Perl_NewPointerObj(SWIG_MAYBE_PERL_OBJECT void *ptr, swig_type_info *t, int flags) {
  SV *result = sv_newmortal();
  SWIG_MakePtr(result, ptr, t, flags);
  return result;
}

static void
  SWIG_Perl_MakePackedObj(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, int sz, swig_type_info *type) {
  char result[1024];
  char *r = result;
  if ((2*sz + 1 + strlen(type->name)) > 1000) return;
  *(r++) = '_';
  r = SWIG_PackData(r,ptr,sz);
  strcpy(r,type->name);
  sv_setpv(sv, result);
}

/* Convert a packed value value */
static int
SWIG_Perl_ConvertPacked(SWIG_MAYBE_PERL_OBJECT SV *obj, void *ptr, int sz, swig_type_info *ty, int flags) {
  swig_cast_info *tc;
  const char  *c = 0;

  if ((!obj) || (!SvOK(obj))) return -1;
  c = SvPV(obj, PL_na);
  /* Pointer values must start with leading underscore */
  if (*c != '_') return -1;
  c++;
  c = SWIG_UnpackData(c,ptr,sz);
  if (ty) {
    tc = SWIG_TypeCheck(c,ty);
    if (!tc) return -1;
  }
  return 0;
}

static SWIGINLINE void
SWIG_Perl_SetError(SWIG_MAYBE_PERL_OBJECT const char *error) {
  if (error) sv_setpv(perl_get_sv("@", TRUE), error);
}

static SWIGINLINE void
SWIG_Perl_SetErrorSV(SWIG_MAYBE_PERL_OBJECT SV *error) {
  if (error) sv_setsv(perl_get_sv("@", TRUE), error);
}

static void
SWIG_Perl_SetErrorf(const char *fmt, ...) {
  va_list args;
  va_start(args, fmt);
  sv_vsetpvfn(perl_get_sv("@", TRUE), fmt, strlen(fmt), &args, Null(SV**), 0, Null(bool*));
  va_end(args);
}

/* Macros for low-level exception handling */
#define SWIG_fail       goto fail
#define SWIG_croak(x)   { SWIG_SetError(x); goto fail; }
#define SWIG_croakSV(x) { SWIG_SetErrorSV(x); goto fail; }
/* most preprocessors do not support vararg macros :-( */
/* #define SWIG_croakf(x...) { SWIG_SetErrorf(x); goto fail; } */


typedef XS(SwigPerlWrapper);
typedef SwigPerlWrapper *SwigPerlWrapperPtr;

/* Structure for command table */
typedef struct {
  const char         *name;
  SwigPerlWrapperPtr  wrapper;
} swig_command_info;

/* Information for constant table */

#define SWIG_INT     1
#define SWIG_FLOAT   2
#define SWIG_STRING  3
#define SWIG_POINTER 4
#define SWIG_BINARY  5

/* Constant information structure */
typedef struct swig_constant_info {
    int              type;
    const char      *name;
    long             lvalue;
    double           dvalue;
    void            *pvalue;
    swig_type_info **ptype;
} swig_constant_info;

#ifdef __cplusplus
}
#endif

/* Structure for variable table */
typedef struct {
  const char   *name;
  SwigMagicFunc   set;
  SwigMagicFunc   get;
  swig_type_info  **type;
} swig_variable_info;

/* Magic variable code */
#ifndef PERL_OBJECT
#define swig_create_magic(s,a,b,c) _swig_create_magic(s,a,b,c)
  #ifndef MULTIPLICITY
     static void _swig_create_magic(SV *sv, char *name, int (*set)(SV *, MAGIC *), int (*get)(SV *,MAGIC *)) {
  #else
     static void _swig_create_magic(SV *sv, char *name, int (*set)(struct interpreter*, SV *, MAGIC *), int (*get)(struct interpreter*, SV *,MAGIC *)) {
  #endif
#else
#  define swig_create_magic(s,a,b,c) _swig_create_magic(pPerl,s,a,b,c)
static void _swig_create_magic(CPerlObj *pPerl, SV *sv, const char *name, int (CPerlObj::*set)(SV *, MAGIC *), int (CPerlObj::*get)(SV *, MAGIC *)) {
#endif
  MAGIC *mg;
  sv_magic(sv,sv,'U',(char *) name,strlen(name));
  mg = mg_find(sv,'U');
  mg->mg_virtual = (MGVTBL *) malloc(sizeof(MGVTBL));
  mg->mg_virtual->svt_get = (SwigMagicFuncHack) get;
  mg->mg_virtual->svt_set = (SwigMagicFuncHack) set;
  mg->mg_virtual->svt_len = 0;
  mg->mg_virtual->svt_clear = 0;
  mg->mg_virtual->svt_free = 0;
}


static swig_module_info *
SWIG_Perl_GetModule() {
  static void *type_pointer = (void *)0;
  SV *pointer;

  /* first check if pointer already created */
  if (!type_pointer) {
    pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, FALSE);
    if (pointer && SvOK(pointer)) {
      type_pointer = INT2PTR(swig_type_info **, SvIV(pointer));
    }
  }

  return (swig_module_info *) type_pointer;
}

static void
SWIG_Perl_SetModule(swig_module_info *module) {
  SV *pointer;

  /* create a new pointer */
  pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, TRUE);
  sv_setiv(pointer, PTR2IV(module));
}


#ifdef do_open
  #undef do_open
#endif
#ifdef do_close
  #undef do_close
#endif
#ifdef scalar
  #undef scalar
#endif
#ifdef list
  #undef list
#endif
#ifdef apply
  #undef apply
#endif
#ifdef convert
  #undef convert
#endif
#ifdef Error
  #undef Error
#endif
#ifdef form
  #undef form
#endif
#ifdef vform
  #undef vform
#endif
#ifdef LABEL
  #undef LABEL
#endif
#ifdef METHOD
  #undef METHOD
#endif
#ifdef Move
  #undef Move
#endif
#ifdef yylex
  #undef yylex
#endif
#ifdef yyparse
  #undef yyparse
#endif
#ifdef yyerror
  #undef yyerror
#endif
#ifdef invert
  #undef invert
#endif
#ifdef ref
  #undef ref
#endif
#ifdef ENTER
  #undef ENTER
#endif
#ifdef read
  #undef read
#endif
#ifdef write
  #undef write
#endif
#ifdef eof
  #undef eof
#endif



/* -------- TYPES TABLE (BEGIN) -------- */

#define SWIGTYPE_p_FILE swig_types[0]
#define SWIGTYPE_p_apr_allocator_t swig_types[1]
#define SWIGTYPE_p_apr_array_header_t swig_types[2]
#define SWIGTYPE_p_apr_file_t swig_types[3]
#define SWIGTYPE_p_apr_getopt_option_t swig_types[4]
#define SWIGTYPE_p_apr_getopt_t swig_types[5]
#define SWIGTYPE_p_apr_hash_t swig_types[6]
#define SWIGTYPE_p_apr_int32_t swig_types[7]
#define SWIGTYPE_p_apr_int64_t swig_types[8]
#define SWIGTYPE_p_apr_pool_t swig_types[9]
#define SWIGTYPE_p_apr_size_t swig_types[10]
#define SWIGTYPE_p_apr_uint32_t swig_types[11]
#define SWIGTYPE_p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[12]
#define SWIGTYPE_p_f_p_apr_uint32_t_p_p_void_p_void_svn_diff_datasource_e__p_svn_error_t swig_types[13]
#define SWIGTYPE_p_f_p_p_void_p_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[14]
#define SWIGTYPE_p_f_p_p_void_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[15]
#define SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void__int swig_types[16]
#define SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void_p_apr_pool_t__int swig_types[17]
#define SWIGTYPE_p_f_p_q_const__char_p_void__int swig_types[18]
#define SWIGTYPE_p_f_p_q_const__char_p_void_p_apr_pool_t__int swig_types[19]
#define SWIGTYPE_p_f_p_svn_boolean_t_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[20]
#define SWIGTYPE_p_f_p_void__void swig_types[21]
#define SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t swig_types[22]
#define SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_p_svn_diff_t__p_svn_error_t swig_types[23]
#define SWIGTYPE_p_f_p_void_p_void__void swig_types[24]
#define SWIGTYPE_p_f_p_void_p_void_p_void_p_int__p_svn_error_t swig_types[25]
#define SWIGTYPE_p_f_p_void_svn_diff_datasource_e__p_svn_error_t swig_types[26]
#define SWIGTYPE_p_f_void__p_svn_version_t swig_types[27]
#define SWIGTYPE_p_int swig_types[28]
#define SWIGTYPE_p_long swig_types[29]
#define SWIGTYPE_p_p_apr_array_header_t swig_types[30]
#define SWIGTYPE_p_p_apr_file_t swig_types[31]
#define SWIGTYPE_p_p_apr_hash_t swig_types[32]
#define SWIGTYPE_p_p_char swig_types[33]
#define SWIGTYPE_p_p_svn_auth_baton_t swig_types[34]
#define SWIGTYPE_p_p_svn_auth_iterstate_t swig_types[35]
#define SWIGTYPE_p_p_svn_config_t swig_types[36]
#define SWIGTYPE_p_p_svn_diff_t swig_types[37]
#define SWIGTYPE_p_p_svn_stream_t swig_types[38]
#define SWIGTYPE_p_p_svn_string_t swig_types[39]
#define SWIGTYPE_p_p_svn_stringbuf_t swig_types[40]
#define SWIGTYPE_p_p_void swig_types[41]
#define SWIGTYPE_p_svn_auth_baton_t swig_types[42]
#define SWIGTYPE_p_svn_auth_cred_simple_t swig_types[43]
#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t swig_types[44]
#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t swig_types[45]
#define SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t swig_types[46]
#define SWIGTYPE_p_svn_auth_cred_username_t swig_types[47]
#define SWIGTYPE_p_svn_auth_iterstate_t swig_types[48]
#define SWIGTYPE_p_svn_auth_provider_object_t swig_types[49]
#define SWIGTYPE_p_svn_auth_provider_t swig_types[50]
#define SWIGTYPE_p_svn_auth_ssl_server_cert_info_t swig_types[51]
#define SWIGTYPE_p_svn_commit_info_t swig_types[52]
#define SWIGTYPE_p_svn_config_t swig_types[53]
#define SWIGTYPE_p_svn_diff_datasource_e swig_types[54]
#define SWIGTYPE_p_svn_diff_fns_t swig_types[55]
#define SWIGTYPE_p_svn_diff_output_fns_t swig_types[56]
#define SWIGTYPE_p_svn_diff_t swig_types[57]
#define SWIGTYPE_p_svn_dirent_t swig_types[58]
#define SWIGTYPE_p_svn_errno_t swig_types[59]
#define SWIGTYPE_p_svn_error_t swig_types[60]
#define SWIGTYPE_p_svn_io_dirent_t swig_types[61]
#define SWIGTYPE_p_svn_lock_t swig_types[62]
#define SWIGTYPE_p_svn_log_changed_path_t swig_types[63]
#define SWIGTYPE_p_svn_node_kind_t swig_types[64]
#define SWIGTYPE_p_svn_opt_revision_t swig_types[65]
#define SWIGTYPE_p_svn_opt_revision_value_t swig_types[66]
#define SWIGTYPE_p_svn_opt_subcommand_desc_t swig_types[67]
#define SWIGTYPE_p_svn_prop_kind swig_types[68]
#define SWIGTYPE_p_svn_prop_t swig_types[69]
#define SWIGTYPE_p_svn_stream_t swig_types[70]
#define SWIGTYPE_p_svn_string_t swig_types[71]
#define SWIGTYPE_p_svn_stringbuf_t swig_types[72]
#define SWIGTYPE_p_svn_version_checklist_t swig_types[73]
#define SWIGTYPE_p_svn_version_t swig_types[74]
#define SWIGTYPE_p_unsigned_char swig_types[75]
#define SWIGTYPE_p_void swig_types[76]
static swig_type_info *swig_types[77];
static swig_module_info swig_module = {swig_types, 77, 0, 0, 0, 0};
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)

/* -------- TYPES TABLE (END) -------- */

#define SWIG_init    boot_SVN___Core

#define SWIG_name   "SVN::_Core::boot_SVN___Core"
#define SWIG_prefix "SVN::_Core::"

#ifdef __cplusplus
extern "C"
#endif
#ifndef PERL_OBJECT
#ifndef MULTIPLICITY
SWIGEXPORT void SWIG_init (CV* cv);
#else
SWIGEXPORT void SWIG_init (pTHXo_ CV* cv);
#endif
#else
SWIGEXPORT void SWIG_init (CV *cv, CPerlObj *);
#endif


#include "svn_time.h"
#include <svn_pools.h>


#include <apr.h>
#include <apr_general.h>

#include "svn_md5.h"
#include "svn_diff.h"

#ifdef SWIGPYTHON
#include "swigutil_py.h"
#endif

#ifdef SWIGPERL
#include "swigutil_pl.h"
#endif

#ifdef SWIGRUBY
#include <apu.h>
#include <apr_xlate.h>
#include "swigutil_rb.h"
#endif


#include "svn_error_codes.h"




#define  SWIG_MemoryError    1
#define  SWIG_IOError        2
#define  SWIG_RuntimeError   3
#define  SWIG_IndexError     4
#define  SWIG_TypeError      5
#define  SWIG_DivisionByZero 6
#define  SWIG_OverflowError  7
#define  SWIG_SyntaxError    8
#define  SWIG_ValueError     9
#define  SWIG_SystemError   10
#define  SWIG_UnknownError  99


#define SWIG_exception(a,b)   SWIG_croak(b)


#ifdef SWIGPYTHON
#include "swigutil_py.h"
#endif

#ifdef SWIGPERL
#include "swigutil_pl.h"
#endif

#ifdef SWIGRUBY
#include <apu.h>
#include <apr_xlate.h>
#include "swigutil_rb.h"
#endif


#include "svn_time.h"




#include "svn_types.h"




#define SVN_SWIGEXPORT(t) SWIGEXPORT t



static apr_pool_t *current_pool = 0;

SVN_SWIGEXPORT(apr_pool_t *)
svn_swig_pl_get_current_pool (void)
{
  return current_pool;
}

SVN_SWIGEXPORT(void)
svn_swig_pl_set_current_pool (apr_pool_t *pool)
{
  current_pool = pool;
}



#include "svn_pools.h"




#include "svn_version.h"




#include "svn_props.h"




#include "svn_opt.h"




#include "svn_auth.h"




#include "svn_config.h"




#include "svn_utf.h"




#include "svn_nls.h"




#include "svn_io.h"




#include "svn_md5.h"




#include "svn_diff.h"


static svn_error_t *svn_diff_fns_invoke_datasource_open(
  svn_diff_fns_t *_obj, void *diff_baton, svn_diff_datasource_e datasource) {
  return _obj->datasource_open(diff_baton, datasource);
}

static svn_error_t *svn_diff_fns_invoke_datasource_close(
  svn_diff_fns_t *_obj, void *diff_baton, svn_diff_datasource_e datasource) {
  return _obj->datasource_close(diff_baton, datasource);
}

static svn_error_t *svn_diff_fns_invoke_datasource_get_next_token(
  svn_diff_fns_t *_obj, apr_uint32_t *hash, void **token, void *diff_baton, svn_diff_datasource_e datasource) {
  return _obj->datasource_get_next_token(hash, token, diff_baton, datasource);
}

static svn_error_t *svn_diff_fns_invoke_token_compare(
  svn_diff_fns_t *_obj, void *diff_baton, void *ltoken, void *rtoken, int *compare) {
  return _obj->token_compare(diff_baton, ltoken, rtoken, compare);
}

static svn_error_t *svn_diff_output_fns_invoke_output_common(
  svn_diff_output_fns_t *_obj, void *output_baton, apr_off_t original_start, apr_off_t original_length, apr_off_t modified_start, apr_off_t modified_length, apr_off_t latest_start, apr_off_t latest_length) {
  return _obj->output_common(output_baton, original_start, original_length, modified_start, modified_length, latest_start, latest_length);
}

static svn_error_t *svn_diff_output_fns_invoke_output_diff_modified(
  svn_diff_output_fns_t *_obj, void *output_baton, apr_off_t original_start, apr_off_t original_length, apr_off_t modified_start, apr_off_t modified_length, apr_off_t latest_start, apr_off_t latest_length) {
  return _obj->output_diff_modified(output_baton, original_start, original_length, modified_start, modified_length, latest_start, latest_length);
}

static svn_error_t *svn_diff_output_fns_invoke_output_diff_latest(
  svn_diff_output_fns_t *_obj, void *output_baton, apr_off_t original_start, apr_off_t original_length, apr_off_t modified_start, apr_off_t modified_length, apr_off_t latest_start, apr_off_t latest_length) {
  return _obj->output_diff_latest(output_baton, original_start, original_length, modified_start, modified_length, latest_start, latest_length);
}

static svn_error_t *svn_diff_output_fns_invoke_output_diff_common(
  svn_diff_output_fns_t *_obj, void *output_baton, apr_off_t original_start, apr_off_t original_length, apr_off_t modified_start, apr_off_t modified_length, apr_off_t latest_start, apr_off_t latest_length) {
  return _obj->output_diff_common(output_baton, original_start, original_length, modified_start, modified_length, latest_start, latest_length);
}

static svn_error_t *svn_diff_output_fns_invoke_output_conflict(
  svn_diff_output_fns_t *_obj, void *output_baton, apr_off_t original_start, apr_off_t original_length, apr_off_t modified_start, apr_off_t modified_length, apr_off_t latest_start, apr_off_t latest_length, svn_diff_t *resolved_diff) {
  return _obj->output_conflict(output_baton, original_start, original_length, modified_start, modified_length, latest_start, latest_length, resolved_diff);
}



#include "svn_error.h"



#ifdef PERL_OBJECT
#define MAGIC_CLASS _wrap_SVN::_Core_var::
class _wrap_SVN::_Core_var : public CPerlObj {
public:
#else
#define MAGIC_CLASS
#endif
SWIGCLASS_STATIC int swig_magic_readonly(pTHX_ SV *sv, MAGIC *mg) {
    MAGIC_PPERL
    sv = sv; mg = mg;
    croak("Value is read-only.");
    return 0;
}
SWIGCLASS_STATIC int _wrap_set_current_pool(pTHX_ SV* sv, MAGIC *mg) {
    MAGIC_PPERL
    mg = mg;
    {
        void *temp;
        if (SWIG_ConvertPtr(sv, &temp, SWIGTYPE_p_apr_pool_t,0) < 0) {
            croak("Type error in argument $argnum of current_pool. Expected _p_apr_pool_t");
        }
        current_pool = (apr_pool_t *) temp;
    }
    return 1;
}


SWIGCLASS_STATIC int _wrap_val_current_pool(pTHX_ SV *sv, MAGIC *mg) {
    MAGIC_PPERL
    mg = mg;
    sv_setiv(SvRV(sv),(IV) current_pool);
    return 1;
}




#ifdef PERL_OBJECT
};
#endif

#ifdef __cplusplus
extern "C" {
#endif
XS(_wrap_svn_time_to_cstring) {
    {
        apr_time_t arg1 ;
        apr_pool_t *arg2 = (apr_pool_t *) 0 ;
        char *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_time_to_cstring(when,pool);");
        }
        arg1 = (apr_time_t) strtoll(SvPV(ST(0), PL_na), 0, 0);
        if (items > 1) {
            
        }
        {
            result = (char *)svn_time_to_cstring(arg1,arg2);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_time_from_cstring) {
    {
        apr_time_t *arg1 = (apr_time_t *) 0 ;
        char *arg2 = (char *) 0 ;
        apr_pool_t *arg3 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        apr_int64_t temp1 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
        }
        arg1 = &temp1;
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_time_from_cstring(data,pool);");
        }
        if (!SvOK((SV*) ST(0))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(0), PL_na);
        if (items > 1) {
            
        }
        {
            result = (svn_error_t *)svn_time_from_cstring(arg1,(char const *)arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            char temp[256];
            if (argvi >= items) {
                EXTEND(sp,1);
            }
            sprintf(temp, "%" APR_INT64_T_FMT, (apr_int64_t)*(arg1));
            ST(argvi) = sv_newmortal();
            sv_setpv(ST(argvi),temp);
            argvi++;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_time_to_human_cstring) {
    {
        apr_time_t arg1 ;
        apr_pool_t *arg2 = (apr_pool_t *) 0 ;
        char *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_time_to_human_cstring(when,pool);");
        }
        arg1 = (apr_time_t) strtoll(SvPV(ST(0), PL_na), 0, 0);
        if (items > 1) {
            
        }
        {
            result = (char *)svn_time_to_human_cstring(arg1,arg2);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_parse_date) {
    {
        svn_boolean_t *arg1 = (svn_boolean_t *) 0 ;
        apr_time_t *arg2 = (apr_time_t *) 0 ;
        char *arg3 = (char *) 0 ;
        apr_time_t arg4 ;
        apr_pool_t *arg5 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        int temp1 ;
        apr_int64_t temp2 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
        }
        arg1 = &temp1;
        arg2 = &temp2;
        if ((items < 2) || (items > 3)) {
            SWIG_croak("Usage: svn_parse_date(text,now,pool);");
        }
        if (!SvOK((SV*) ST(0))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(0), PL_na);
        arg4 = (apr_time_t) strtoll(SvPV(ST(1), PL_na), 0, 0);
        if (items > 2) {
            
        }
        {
            result = (svn_error_t *)svn_parse_date(arg1,arg2,(char const *)arg3,arg4,arg5);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            if (argvi >= items) {
                EXTEND(sp,1);
            }
            ST(argvi) = sv_newmortal();
            sv_setiv(ST(argvi),(IV) *(arg1));
            argvi++;
        }
        {
            char temp[256];
            if (argvi >= items) {
                EXTEND(sp,1);
            }
            sprintf(temp, "%" APR_INT64_T_FMT, (apr_int64_t)*(arg2));
            ST(argvi) = sv_newmortal();
            sv_setpv(ST(argvi),temp);
            argvi++;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_sleep_for_timestamps) {
    {
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: svn_sleep_for_timestamps();");
        }
        {
            svn_sleep_for_timestamps();
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_error_t_apr_err_set) {
    {
        svn_error_t *arg1 = (svn_error_t *) 0 ;
        apr_status_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_error_t_apr_err_set(self,apr_err);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_error_t_apr_err_set. Expected _p_svn_error_t");
            }
        }
        arg2 = (apr_status_t) SvIV(ST(1));
        if (arg1) (arg1)->apr_err = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_error_t_apr_err_get) {
    {
        svn_error_t *arg1 = (svn_error_t *) 0 ;
        apr_status_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_error_t_apr_err_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_error_t_apr_err_get. Expected _p_svn_error_t");
            }
        }
        result = (apr_status_t) ((arg1)->apr_err);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_error_t_message_get) {
    {
        svn_error_t *arg1 = (svn_error_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_error_t_message_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_error_t_message_get. Expected _p_svn_error_t");
            }
        }
        result = (char *) ((arg1)->message);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_error_t_child_set) {
    {
        svn_error_t *arg1 = (svn_error_t *) 0 ;
        struct svn_error_t *arg2 = (struct svn_error_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_error_t_child_set(self,child);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_error_t_child_set. Expected _p_svn_error_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_error_t_child_set. Expected _p_svn_error_t");
            }
        }
        if (arg1) (arg1)->child = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_error_t_child_get) {
    {
        svn_error_t *arg1 = (svn_error_t *) 0 ;
        struct svn_error_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_error_t_child_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_error_t_child_get. Expected _p_svn_error_t");
            }
        }
        result = (struct svn_error_t *) ((arg1)->child);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_error_t, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_error_t_pool_set) {
    {
        svn_error_t *arg1 = (svn_error_t *) 0 ;
        apr_pool_t *arg2 = (apr_pool_t *) 0 ;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_error_t_pool_set(self,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_error_t_pool_set. Expected _p_svn_error_t");
            }
        }
        if (items > 1) {
            
        }
        if (arg1) (arg1)->pool = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_error_t_pool_get) {
    {
        svn_error_t *arg1 = (svn_error_t *) 0 ;
        apr_pool_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_error_t_pool_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_error_t_pool_get. Expected _p_svn_error_t");
            }
        }
        result = (apr_pool_t *) ((arg1)->pool);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_apr_pool_t, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_error_t_file_get) {
    {
        svn_error_t *arg1 = (svn_error_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_error_t_file_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_error_t_file_get. Expected _p_svn_error_t");
            }
        }
        result = (char *) ((arg1)->file);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_error_t_line_set) {
    {
        svn_error_t *arg1 = (svn_error_t *) 0 ;
        long arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_error_t_line_set(self,line);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_error_t_line_set. Expected _p_svn_error_t");
            }
        }
        arg2 = (long) SvIV(ST(1));
        if (arg1) (arg1)->line = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_error_t_line_get) {
    {
        svn_error_t *arg1 = (svn_error_t *) 0 ;
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_error_t_line_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_error_t_line_get. Expected _p_svn_error_t");
            }
        }
        result = (long) ((arg1)->line);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_svn_error_t) {
    {
        svn_error_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_svn_error_t();");
        }
        {
            result = (svn_error_t *)(svn_error_t *) calloc(1, sizeof(svn_error_t));
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_svn_error_t) {
    {
        svn_error_t *arg1 = (svn_error_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_svn_error_t(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_svn_error_t. Expected _p_svn_error_t");
            }
        }
        {
            free((char *) arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_dirent_t_kind_set) {
    {
        svn_dirent_t *arg1 = (svn_dirent_t *) 0 ;
        svn_node_kind_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_dirent_t_kind_set(self,kind);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_dirent_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_dirent_t_kind_set. Expected _p_svn_dirent_t");
            }
        }
        arg2 = (svn_node_kind_t) SvIV(ST(1));
        if (arg1) (arg1)->kind = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_dirent_t_kind_get) {
    {
        svn_dirent_t *arg1 = (svn_dirent_t *) 0 ;
        svn_node_kind_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_dirent_t_kind_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_dirent_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_dirent_t_kind_get. Expected _p_svn_dirent_t");
            }
        }
        result = (svn_node_kind_t) ((arg1)->kind);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_dirent_t_size_set) {
    {
        svn_dirent_t *arg1 = (svn_dirent_t *) 0 ;
        svn_filesize_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_dirent_t_size_set(self,size);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_dirent_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_dirent_t_size_set. Expected _p_svn_dirent_t");
            }
        }
        arg2 = (svn_filesize_t) strtoll(SvPV(ST(1), PL_na), 0, 0);
        if (arg1) (arg1)->size = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_dirent_t_size_get) {
    {
        svn_dirent_t *arg1 = (svn_dirent_t *) 0 ;
        svn_filesize_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_dirent_t_size_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_dirent_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_dirent_t_size_get. Expected _p_svn_dirent_t");
            }
        }
        result =  ((arg1)->size);
        
        {
            char temp[256];
            sprintf(temp, "%" APR_INT64_T_FMT, (apr_int64_t) result);
            ST(argvi) = sv_newmortal();
            sv_setpv((SV*)ST(argvi++), temp);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_dirent_t_has_props_set) {
    {
        svn_dirent_t *arg1 = (svn_dirent_t *) 0 ;
        svn_boolean_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_dirent_t_has_props_set(self,has_props);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_dirent_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_dirent_t_has_props_set. Expected _p_svn_dirent_t");
            }
        }
        arg2 = (svn_boolean_t) SvIV(ST(1));
        if (arg1) (arg1)->has_props = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_dirent_t_has_props_get) {
    {
        svn_dirent_t *arg1 = (svn_dirent_t *) 0 ;
        svn_boolean_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_dirent_t_has_props_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_dirent_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_dirent_t_has_props_get. Expected _p_svn_dirent_t");
            }
        }
        result = (svn_boolean_t) ((arg1)->has_props);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_dirent_t_created_rev_set) {
    {
        svn_dirent_t *arg1 = (svn_dirent_t *) 0 ;
        svn_revnum_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_dirent_t_created_rev_set(self,created_rev);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_dirent_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_dirent_t_created_rev_set. Expected _p_svn_dirent_t");
            }
        }
        arg2 = (svn_revnum_t) SvIV(ST(1));
        if (arg1) (arg1)->created_rev = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_dirent_t_created_rev_get) {
    {
        svn_dirent_t *arg1 = (svn_dirent_t *) 0 ;
        svn_revnum_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_dirent_t_created_rev_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_dirent_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_dirent_t_created_rev_get. Expected _p_svn_dirent_t");
            }
        }
        result = (svn_revnum_t) ((arg1)->created_rev);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_dirent_t_time_set) {
    {
        svn_dirent_t *arg1 = (svn_dirent_t *) 0 ;
        apr_time_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_dirent_t_time_set(self,time);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_dirent_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_dirent_t_time_set. Expected _p_svn_dirent_t");
            }
        }
        arg2 = (apr_time_t) strtoll(SvPV(ST(1), PL_na), 0, 0);
        if (arg1) (arg1)->time = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_dirent_t_time_get) {
    {
        svn_dirent_t *arg1 = (svn_dirent_t *) 0 ;
        apr_time_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_dirent_t_time_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_dirent_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_dirent_t_time_get. Expected _p_svn_dirent_t");
            }
        }
        result =  ((arg1)->time);
        
        {
            char temp[256];
            sprintf(temp, "%" APR_INT64_T_FMT, (apr_int64_t) result);
            ST(argvi) = sv_newmortal();
            sv_setpv((SV*)ST(argvi++), temp);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_dirent_t_last_author_get) {
    {
        svn_dirent_t *arg1 = (svn_dirent_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_dirent_t_last_author_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_dirent_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_dirent_t_last_author_get. Expected _p_svn_dirent_t");
            }
        }
        result = (char *) ((arg1)->last_author);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_svn_dirent_t) {
    {
        svn_dirent_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_svn_dirent_t();");
        }
        {
            result = (svn_dirent_t *)(svn_dirent_t *) calloc(1, sizeof(svn_dirent_t));
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_dirent_t, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_svn_dirent_t) {
    {
        svn_dirent_t *arg1 = (svn_dirent_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_svn_dirent_t(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_dirent_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_svn_dirent_t. Expected _p_svn_dirent_t");
            }
        }
        {
            free((char *) arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_commit_info_t_revision_set) {
    {
        svn_commit_info_t *arg1 = (svn_commit_info_t *) 0 ;
        svn_revnum_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_commit_info_t_revision_set(self,revision);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_commit_info_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_commit_info_t_revision_set. Expected _p_svn_commit_info_t");
            }
        }
        arg2 = (svn_revnum_t) SvIV(ST(1));
        if (arg1) (arg1)->revision = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_commit_info_t_revision_get) {
    {
        svn_commit_info_t *arg1 = (svn_commit_info_t *) 0 ;
        svn_revnum_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_commit_info_t_revision_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_commit_info_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_commit_info_t_revision_get. Expected _p_svn_commit_info_t");
            }
        }
        result = (svn_revnum_t) ((arg1)->revision);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_commit_info_t_date_set) {
    {
        svn_commit_info_t *arg1 = (svn_commit_info_t *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_commit_info_t_date_set(self,date);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_commit_info_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_commit_info_t_date_set. Expected _p_svn_commit_info_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            apr_size_t len = strlen(arg2) + 1;
            char *copied;
            if (arg1->date) free((char *)arg1->date);
            copied = malloc(len);
            memcpy(copied, arg2, len);
            arg1->date = copied;
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_commit_info_t_date_get) {
    {
        svn_commit_info_t *arg1 = (svn_commit_info_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_commit_info_t_date_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_commit_info_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_commit_info_t_date_get. Expected _p_svn_commit_info_t");
            }
        }
        result = (char *) ((arg1)->date);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_commit_info_t_author_set) {
    {
        svn_commit_info_t *arg1 = (svn_commit_info_t *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_commit_info_t_author_set(self,author);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_commit_info_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_commit_info_t_author_set. Expected _p_svn_commit_info_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            apr_size_t len = strlen(arg2) + 1;
            char *copied;
            if (arg1->author) free((char *)arg1->author);
            copied = malloc(len);
            memcpy(copied, arg2, len);
            arg1->author = copied;
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_commit_info_t_author_get) {
    {
        svn_commit_info_t *arg1 = (svn_commit_info_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_commit_info_t_author_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_commit_info_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_commit_info_t_author_get. Expected _p_svn_commit_info_t");
            }
        }
        result = (char *) ((arg1)->author);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_commit_info_t_post_commit_err_set) {
    {
        svn_commit_info_t *arg1 = (svn_commit_info_t *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_commit_info_t_post_commit_err_set(self,post_commit_err);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_commit_info_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_commit_info_t_post_commit_err_set. Expected _p_svn_commit_info_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            apr_size_t len = strlen(arg2) + 1;
            char *copied;
            if (arg1->post_commit_err) free((char *)arg1->post_commit_err);
            copied = malloc(len);
            memcpy(copied, arg2, len);
            arg1->post_commit_err = copied;
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_commit_info_t_post_commit_err_get) {
    {
        svn_commit_info_t *arg1 = (svn_commit_info_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_commit_info_t_post_commit_err_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_commit_info_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_commit_info_t_post_commit_err_get. Expected _p_svn_commit_info_t");
            }
        }
        result = (char *) ((arg1)->post_commit_err);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_svn_commit_info_t) {
    {
        svn_commit_info_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_svn_commit_info_t();");
        }
        {
            result = (svn_commit_info_t *)(svn_commit_info_t *) calloc(1, sizeof(svn_commit_info_t));
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_commit_info_t, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_svn_commit_info_t) {
    {
        svn_commit_info_t *arg1 = (svn_commit_info_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_svn_commit_info_t(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_commit_info_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_svn_commit_info_t. Expected _p_svn_commit_info_t");
            }
        }
        {
            free((char *) arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_create_commit_info) {
    {
        apr_pool_t *arg1 = (apr_pool_t *) 0 ;
        svn_commit_info_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg1 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 0) || (items > 1)) {
            SWIG_croak("Usage: svn_create_commit_info(pool);");
        }
        if (items > 0) {
            
        }
        {
            result = (svn_commit_info_t *)svn_create_commit_info(arg1);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_commit_info_t, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_log_changed_path_t_action_set) {
    {
        svn_log_changed_path_t *arg1 = (svn_log_changed_path_t *) 0 ;
        char arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_log_changed_path_t_action_set(self,action);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_log_changed_path_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_log_changed_path_t_action_set. Expected _p_svn_log_changed_path_t");
            }
        }
        arg2 = (char) *SvPV(ST(1),PL_na);
        if (arg1) (arg1)->action = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_log_changed_path_t_action_get) {
    {
        svn_log_changed_path_t *arg1 = (svn_log_changed_path_t *) 0 ;
        char result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_log_changed_path_t_action_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_log_changed_path_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_log_changed_path_t_action_get. Expected _p_svn_log_changed_path_t");
            }
        }
        result = (char) ((arg1)->action);
        
        ST(argvi) = sv_newmortal();
        sv_setpvn((SV*)ST(argvi++), &result, 1);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_log_changed_path_t_copyfrom_path_get) {
    {
        svn_log_changed_path_t *arg1 = (svn_log_changed_path_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_log_changed_path_t_copyfrom_path_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_log_changed_path_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_log_changed_path_t_copyfrom_path_get. Expected _p_svn_log_changed_path_t");
            }
        }
        result = (char *) ((arg1)->copyfrom_path);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_log_changed_path_t_copyfrom_rev_set) {
    {
        svn_log_changed_path_t *arg1 = (svn_log_changed_path_t *) 0 ;
        svn_revnum_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_log_changed_path_t_copyfrom_rev_set(self,copyfrom_rev);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_log_changed_path_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_log_changed_path_t_copyfrom_rev_set. Expected _p_svn_log_changed_path_t");
            }
        }
        arg2 = (svn_revnum_t) SvIV(ST(1));
        if (arg1) (arg1)->copyfrom_rev = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_log_changed_path_t_copyfrom_rev_get) {
    {
        svn_log_changed_path_t *arg1 = (svn_log_changed_path_t *) 0 ;
        svn_revnum_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_log_changed_path_t_copyfrom_rev_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_log_changed_path_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_log_changed_path_t_copyfrom_rev_get. Expected _p_svn_log_changed_path_t");
            }
        }
        result = (svn_revnum_t) ((arg1)->copyfrom_rev);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_svn_log_changed_path_t) {
    {
        svn_log_changed_path_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_svn_log_changed_path_t();");
        }
        {
            result = (svn_log_changed_path_t *)(svn_log_changed_path_t *) calloc(1, sizeof(svn_log_changed_path_t));
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_log_changed_path_t, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_svn_log_changed_path_t) {
    {
        svn_log_changed_path_t *arg1 = (svn_log_changed_path_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_svn_log_changed_path_t(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_log_changed_path_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_svn_log_changed_path_t. Expected _p_svn_log_changed_path_t");
            }
        }
        {
            free((char *) arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_log_changed_path_dup) {
    {
        svn_log_changed_path_t *arg1 = (svn_log_changed_path_t *) 0 ;
        apr_pool_t *arg2 = (apr_pool_t *) 0 ;
        svn_log_changed_path_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_log_changed_path_dup(changed_path,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_log_changed_path_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_log_changed_path_dup. Expected _p_svn_log_changed_path_t");
            }
        }
        if (items > 1) {
            
        }
        {
            result = (svn_log_changed_path_t *)svn_log_changed_path_dup((struct svn_log_changed_path_t const *)arg1,arg2);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_log_changed_path_t, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_mime_type_validate) {
    {
        char *arg1 = (char *) 0 ;
        apr_pool_t *arg2 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_mime_type_validate(mime_type,pool);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        if (items > 1) {
            
        }
        {
            result = (svn_error_t *)svn_mime_type_validate((char const *)arg1,arg2);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_mime_type_is_binary) {
    {
        char *arg1 = (char *) 0 ;
        svn_boolean_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_mime_type_is_binary(mime_type);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        {
            result = (svn_boolean_t)svn_mime_type_is_binary((char const *)arg1);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_lock_t_path_set) {
    {
        svn_lock_t *arg1 = (svn_lock_t *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_lock_t_path_set(self,path);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_lock_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_lock_t_path_set. Expected _p_svn_lock_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            apr_size_t len = strlen(arg2) + 1;
            char *copied;
            if (arg1->path) free((char *)arg1->path);
            copied = malloc(len);
            memcpy(copied, arg2, len);
            arg1->path = copied;
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_lock_t_path_get) {
    {
        svn_lock_t *arg1 = (svn_lock_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_lock_t_path_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_lock_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_lock_t_path_get. Expected _p_svn_lock_t");
            }
        }
        result = (char *) ((arg1)->path);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_lock_t_token_set) {
    {
        svn_lock_t *arg1 = (svn_lock_t *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_lock_t_token_set(self,token);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_lock_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_lock_t_token_set. Expected _p_svn_lock_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            apr_size_t len = strlen(arg2) + 1;
            char *copied;
            if (arg1->token) free((char *)arg1->token);
            copied = malloc(len);
            memcpy(copied, arg2, len);
            arg1->token = copied;
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_lock_t_token_get) {
    {
        svn_lock_t *arg1 = (svn_lock_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_lock_t_token_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_lock_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_lock_t_token_get. Expected _p_svn_lock_t");
            }
        }
        result = (char *) ((arg1)->token);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_lock_t_owner_set) {
    {
        svn_lock_t *arg1 = (svn_lock_t *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_lock_t_owner_set(self,owner);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_lock_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_lock_t_owner_set. Expected _p_svn_lock_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            apr_size_t len = strlen(arg2) + 1;
            char *copied;
            if (arg1->owner) free((char *)arg1->owner);
            copied = malloc(len);
            memcpy(copied, arg2, len);
            arg1->owner = copied;
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_lock_t_owner_get) {
    {
        svn_lock_t *arg1 = (svn_lock_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_lock_t_owner_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_lock_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_lock_t_owner_get. Expected _p_svn_lock_t");
            }
        }
        result = (char *) ((arg1)->owner);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_lock_t_comment_set) {
    {
        svn_lock_t *arg1 = (svn_lock_t *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_lock_t_comment_set(self,comment);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_lock_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_lock_t_comment_set. Expected _p_svn_lock_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            apr_size_t len = strlen(arg2) + 1;
            char *copied;
            if (arg1->comment) free((char *)arg1->comment);
            copied = malloc(len);
            memcpy(copied, arg2, len);
            arg1->comment = copied;
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_lock_t_comment_get) {
    {
        svn_lock_t *arg1 = (svn_lock_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_lock_t_comment_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_lock_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_lock_t_comment_get. Expected _p_svn_lock_t");
            }
        }
        result = (char *) ((arg1)->comment);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_lock_t_is_dav_comment_set) {
    {
        svn_lock_t *arg1 = (svn_lock_t *) 0 ;
        svn_boolean_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_lock_t_is_dav_comment_set(self,is_dav_comment);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_lock_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_lock_t_is_dav_comment_set. Expected _p_svn_lock_t");
            }
        }
        arg2 = (svn_boolean_t) SvIV(ST(1));
        if (arg1) (arg1)->is_dav_comment = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_lock_t_is_dav_comment_get) {
    {
        svn_lock_t *arg1 = (svn_lock_t *) 0 ;
        svn_boolean_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_lock_t_is_dav_comment_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_lock_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_lock_t_is_dav_comment_get. Expected _p_svn_lock_t");
            }
        }
        result = (svn_boolean_t) ((arg1)->is_dav_comment);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_lock_t_creation_date_set) {
    {
        svn_lock_t *arg1 = (svn_lock_t *) 0 ;
        apr_time_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_lock_t_creation_date_set(self,creation_date);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_lock_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_lock_t_creation_date_set. Expected _p_svn_lock_t");
            }
        }
        arg2 = (apr_time_t) strtoll(SvPV(ST(1), PL_na), 0, 0);
        if (arg1) (arg1)->creation_date = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_lock_t_creation_date_get) {
    {
        svn_lock_t *arg1 = (svn_lock_t *) 0 ;
        apr_time_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_lock_t_creation_date_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_lock_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_lock_t_creation_date_get. Expected _p_svn_lock_t");
            }
        }
        result =  ((arg1)->creation_date);
        
        {
            char temp[256];
            sprintf(temp, "%" APR_INT64_T_FMT, (apr_int64_t) result);
            ST(argvi) = sv_newmortal();
            sv_setpv((SV*)ST(argvi++), temp);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_lock_t_expiration_date_set) {
    {
        svn_lock_t *arg1 = (svn_lock_t *) 0 ;
        apr_time_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_lock_t_expiration_date_set(self,expiration_date);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_lock_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_lock_t_expiration_date_set. Expected _p_svn_lock_t");
            }
        }
        arg2 = (apr_time_t) strtoll(SvPV(ST(1), PL_na), 0, 0);
        if (arg1) (arg1)->expiration_date = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_lock_t_expiration_date_get) {
    {
        svn_lock_t *arg1 = (svn_lock_t *) 0 ;
        apr_time_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_lock_t_expiration_date_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_lock_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_lock_t_expiration_date_get. Expected _p_svn_lock_t");
            }
        }
        result =  ((arg1)->expiration_date);
        
        {
            char temp[256];
            sprintf(temp, "%" APR_INT64_T_FMT, (apr_int64_t) result);
            ST(argvi) = sv_newmortal();
            sv_setpv((SV*)ST(argvi++), temp);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_svn_lock_t) {
    {
        svn_lock_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_svn_lock_t();");
        }
        {
            result = (svn_lock_t *)(svn_lock_t *) calloc(1, sizeof(svn_lock_t));
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_lock_t, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_svn_lock_t) {
    {
        svn_lock_t *arg1 = (svn_lock_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_svn_lock_t(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_lock_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_svn_lock_t. Expected _p_svn_lock_t");
            }
        }
        {
            free((char *) arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_lock_create) {
    {
        apr_pool_t *arg1 = (apr_pool_t *) 0 ;
        svn_lock_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg1 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 0) || (items > 1)) {
            SWIG_croak("Usage: svn_lock_create(pool);");
        }
        if (items > 0) {
            
        }
        {
            result = (svn_lock_t *)svn_lock_create(arg1);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_lock_t, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_lock_dup) {
    {
        svn_lock_t *arg1 = (svn_lock_t *) 0 ;
        apr_pool_t *arg2 = (apr_pool_t *) 0 ;
        svn_lock_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_lock_dup(lock,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_lock_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_lock_dup. Expected _p_svn_lock_t");
            }
        }
        if (items > 1) {
            
        }
        {
            result = (svn_lock_t *)svn_lock_dup((struct svn_lock_t const *)arg1,arg2);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_lock_t, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_apr_initialize) {
    {
        apr_status_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: apr_initialize();");
        }
        {
            result = (apr_status_t)apr_initialize();
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_apr_terminate) {
    {
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: apr_terminate();");
        }
        {
            apr_terminate();
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_apr_time_ansi_put) {
    {
        apr_time_t *arg1 = (apr_time_t *) 0 ;
        time_t arg2 ;
        apr_status_t result;
        apr_int64_t temp1 ;
        int argvi = 0;
        dXSARGS;
        
        arg1 = &temp1;
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: apr_time_ansi_put(input);");
        }
        arg2 = (time_t) SvIV(ST(0));
        {
            result = (apr_status_t)apr_time_ansi_put(arg1,arg2);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        {
            char temp[256];
            if (argvi >= items) {
                EXTEND(sp,1);
            }
            sprintf(temp, "%" APR_INT64_T_FMT, (apr_int64_t)*(arg1));
            ST(argvi) = sv_newmortal();
            sv_setpv(ST(argvi),temp);
            argvi++;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_apr_pool_destroy) {
    {
        apr_pool_t *arg1 = (apr_pool_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: apr_pool_destroy(p);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_apr_pool_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of apr_pool_destroy. Expected _p_apr_pool_t");
            }
        }
        {
            apr_pool_destroy(arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_apr_pool_clear) {
    {
        apr_pool_t *arg1 = (apr_pool_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: apr_pool_clear(p);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_apr_pool_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of apr_pool_clear. Expected _p_apr_pool_t");
            }
        }
        {
            apr_pool_clear(arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_apr_file_open_stdout) {
    {
        apr_file_t **arg1 = (apr_file_t **) 0 ;
        apr_pool_t *arg2 = (apr_pool_t *) 0 ;
        apr_status_t result;
        apr_pool_t *_global_pool ;
        apr_file_t *temp1 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
        }
        arg1 = &temp1;
        if ((items < 0) || (items > 1)) {
            SWIG_croak("Usage: apr_file_open_stdout(pool);");
        }
        if (items > 0) {
            
        }
        {
            result = (apr_status_t)apr_file_open_stdout(arg1,arg2);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        {
            ST(argvi) = sv_newmortal();
            SWIG_MakePtr(ST(argvi++), (void *)*arg1, SWIGTYPE_p_apr_file_t,0);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_apr_file_open_stderr) {
    {
        apr_file_t **arg1 = (apr_file_t **) 0 ;
        apr_pool_t *arg2 = (apr_pool_t *) 0 ;
        apr_status_t result;
        apr_pool_t *_global_pool ;
        apr_file_t *temp1 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
        }
        arg1 = &temp1;
        if ((items < 0) || (items > 1)) {
            SWIG_croak("Usage: apr_file_open_stderr(pool);");
        }
        if (items > 0) {
            
        }
        {
            result = (apr_status_t)apr_file_open_stderr(arg1,arg2);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        {
            ST(argvi) = sv_newmortal();
            SWIG_MakePtr(ST(argvi++), (void *)*arg1, SWIGTYPE_p_apr_file_t,0);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_pool_create) {
    {
        apr_pool_t *arg1 = (apr_pool_t *) 0 ;
        apr_allocator_t *arg2 = (apr_allocator_t *) 0 ;
        apr_pool_t *result;
        int argvi = 0;
        dXSARGS;
        
        {
            arg2 = NULL;
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_pool_create(parent_pool,allocator);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_apr_pool_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_pool_create. Expected _p_apr_pool_t");
            }
        }
        if (items > 1) {
            {
                if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_apr_allocator_t,0) < 0) {
                    SWIG_croak("Type error in argument 2 of svn_pool_create. Expected _p_apr_allocator_t");
                }
            }
        }
        {
            result = (apr_pool_t *)svn_pool_create_ex(arg1,arg2);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_apr_pool_t, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_version_t_major_set) {
    {
        svn_version_t *arg1 = (svn_version_t *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_version_t_major_set(self,major);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_version_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_version_t_major_set. Expected _p_svn_version_t");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->major = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_version_t_major_get) {
    {
        svn_version_t *arg1 = (svn_version_t *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_version_t_major_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_version_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_version_t_major_get. Expected _p_svn_version_t");
            }
        }
        result = (int) ((arg1)->major);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_version_t_minor_set) {
    {
        svn_version_t *arg1 = (svn_version_t *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_version_t_minor_set(self,minor);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_version_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_version_t_minor_set. Expected _p_svn_version_t");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->minor = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_version_t_minor_get) {
    {
        svn_version_t *arg1 = (svn_version_t *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_version_t_minor_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_version_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_version_t_minor_get. Expected _p_svn_version_t");
            }
        }
        result = (int) ((arg1)->minor);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_version_t_patch_set) {
    {
        svn_version_t *arg1 = (svn_version_t *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_version_t_patch_set(self,patch);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_version_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_version_t_patch_set. Expected _p_svn_version_t");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->patch = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_version_t_patch_get) {
    {
        svn_version_t *arg1 = (svn_version_t *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_version_t_patch_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_version_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_version_t_patch_get. Expected _p_svn_version_t");
            }
        }
        result = (int) ((arg1)->patch);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_version_t_tag_set) {
    {
        svn_version_t *arg1 = (svn_version_t *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_version_t_tag_set(self,tag);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_version_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_version_t_tag_set. Expected _p_svn_version_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            apr_size_t len = strlen(arg2) + 1;
            char *copied;
            if (arg1->tag) free((char *)arg1->tag);
            copied = malloc(len);
            memcpy(copied, arg2, len);
            arg1->tag = copied;
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_version_t_tag_get) {
    {
        svn_version_t *arg1 = (svn_version_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_version_t_tag_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_version_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_version_t_tag_get. Expected _p_svn_version_t");
            }
        }
        result = (char *) ((arg1)->tag);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_svn_version_t) {
    {
        svn_version_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_svn_version_t();");
        }
        {
            result = (svn_version_t *)(svn_version_t *) calloc(1, sizeof(svn_version_t));
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_version_t, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_svn_version_t) {
    {
        svn_version_t *arg1 = (svn_version_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_svn_version_t(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_version_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_svn_version_t. Expected _p_svn_version_t");
            }
        }
        {
            free((char *) arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_ver_compatible) {
    {
        svn_version_t *arg1 = (svn_version_t *) 0 ;
        svn_version_t *arg2 = (svn_version_t *) 0 ;
        svn_boolean_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_ver_compatible(my_version,lib_version);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_version_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_ver_compatible. Expected _p_svn_version_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_svn_version_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_ver_compatible. Expected _p_svn_version_t");
            }
        }
        {
            result = (svn_boolean_t)svn_ver_compatible((struct svn_version_t const *)arg1,(struct svn_version_t const *)arg2);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_ver_equal) {
    {
        svn_version_t *arg1 = (svn_version_t *) 0 ;
        svn_version_t *arg2 = (svn_version_t *) 0 ;
        svn_boolean_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_ver_equal(my_version,lib_version);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_version_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_ver_equal. Expected _p_svn_version_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_svn_version_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_ver_equal. Expected _p_svn_version_t");
            }
        }
        {
            result = (svn_boolean_t)svn_ver_equal((struct svn_version_t const *)arg1,(struct svn_version_t const *)arg2);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_version_checklist_t_label_set) {
    {
        svn_version_checklist_t *arg1 = (svn_version_checklist_t *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_version_checklist_t_label_set(self,label);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_version_checklist_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_version_checklist_t_label_set. Expected _p_svn_version_checklist_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            apr_size_t len = strlen(arg2) + 1;
            char *copied;
            if (arg1->label) free((char *)arg1->label);
            copied = malloc(len);
            memcpy(copied, arg2, len);
            arg1->label = copied;
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_version_checklist_t_label_get) {
    {
        svn_version_checklist_t *arg1 = (svn_version_checklist_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_version_checklist_t_label_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_version_checklist_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_version_checklist_t_label_get. Expected _p_svn_version_checklist_t");
            }
        }
        result = (char *) ((arg1)->label);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_version_checklist_t_version_query_set) {
    {
        svn_version_checklist_t *arg1 = (svn_version_checklist_t *) 0 ;
        svn_version_t *(*arg2)(void) = (svn_version_t *(*)(void)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_version_checklist_t_version_query_set(self,version_query);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_version_checklist_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_version_checklist_t_version_query_set. Expected _p_svn_version_checklist_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_void__p_svn_version_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_version_checklist_t_version_query_set. Expected _p_f_void__p_svn_version_t");
            }
        }
        if (arg1) (arg1)->version_query = (svn_version_t const *(*)(void))arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_version_checklist_t_version_query_get) {
    {
        svn_version_checklist_t *arg1 = (svn_version_checklist_t *) 0 ;
        svn_version_t *(*result)(void);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_version_checklist_t_version_query_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_version_checklist_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_version_checklist_t_version_query_get. Expected _p_svn_version_checklist_t");
            }
        }
        result = (svn_version_t *(*)(void)) ((arg1)->version_query);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_void__p_svn_version_t, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_svn_version_checklist_t) {
    {
        svn_version_checklist_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_svn_version_checklist_t();");
        }
        {
            result = (svn_version_checklist_t *)(svn_version_checklist_t *) calloc(1, sizeof(svn_version_checklist_t));
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_version_checklist_t, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_svn_version_checklist_t) {
    {
        svn_version_checklist_t *arg1 = (svn_version_checklist_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_svn_version_checklist_t(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_version_checklist_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_svn_version_checklist_t. Expected _p_svn_version_checklist_t");
            }
        }
        {
            free((char *) arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_ver_check_list) {
    {
        svn_version_t *arg1 = (svn_version_t *) 0 ;
        svn_version_checklist_t *arg2 = (svn_version_checklist_t *) 0 ;
        svn_error_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_ver_check_list(my_version,checklist);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_version_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_ver_check_list. Expected _p_svn_version_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_svn_version_checklist_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_ver_check_list. Expected _p_svn_version_checklist_t");
            }
        }
        {
            result = (svn_error_t *)svn_ver_check_list((struct svn_version_t const *)arg1,(struct svn_version_checklist_t const *)arg2);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_subr_version) {
    {
        svn_version_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: svn_subr_version();");
        }
        {
            result = (svn_version_t *)svn_subr_version();
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_version_t, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_prop_dup) {
    {
        svn_prop_t *arg1 = (svn_prop_t *) 0 ;
        apr_pool_t *arg2 = (apr_pool_t *) 0 ;
        svn_prop_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_prop_dup(prop,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_prop_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_prop_dup. Expected _p_svn_prop_t");
            }
        }
        if (items > 1) {
            
        }
        {
            result = (svn_prop_t *)svn_prop_dup((struct svn_prop_t const *)arg1,arg2);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_prop_t, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_prop_array_dup) {
    {
        apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
        apr_pool_t *arg2 = (apr_pool_t *) 0 ;
        apr_array_header_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_prop_array_dup(array,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_apr_array_header_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_prop_array_dup. Expected _p_apr_array_header_t");
            }
        }
        if (items > 1) {
            
        }
        {
            result = (apr_array_header_t *)svn_prop_array_dup((apr_array_header_t const *)arg1,arg2);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_apr_array_header_t, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_property_kind) {
    {
        int *arg1 = (int *) 0 ;
        char *arg2 = (char *) 0 ;
        svn_prop_kind_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_property_kind(prefix_len,prop_name);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_int,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_property_kind. Expected _p_int");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            result = (svn_prop_kind_t)svn_property_kind(arg1,(char const *)arg2);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_prop_is_svn_prop) {
    {
        char *arg1 = (char *) 0 ;
        svn_boolean_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_prop_is_svn_prop(prop_name);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        {
            result = (svn_boolean_t)svn_prop_is_svn_prop((char const *)arg1);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_prop_needs_translation) {
    {
        char *arg1 = (char *) 0 ;
        svn_boolean_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_prop_needs_translation(propname);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        {
            result = (svn_boolean_t)svn_prop_needs_translation((char const *)arg1);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_categorize_props) {
    {
        apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
        apr_array_header_t **arg2 = (apr_array_header_t **) 0 ;
        apr_array_header_t **arg3 = (apr_array_header_t **) 0 ;
        apr_array_header_t **arg4 = (apr_array_header_t **) 0 ;
        apr_pool_t *arg5 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 4) || (items > 5)) {
            SWIG_croak("Usage: svn_categorize_props(proplist,entry_props,wc_props,regular_props,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_apr_array_header_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_categorize_props. Expected _p_apr_array_header_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_p_apr_array_header_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_categorize_props. Expected _p_p_apr_array_header_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_p_apr_array_header_t,0) < 0) {
                SWIG_croak("Type error in argument 3 of svn_categorize_props. Expected _p_p_apr_array_header_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(3), (void **) &arg4, SWIGTYPE_p_p_apr_array_header_t,0) < 0) {
                SWIG_croak("Type error in argument 4 of svn_categorize_props. Expected _p_p_apr_array_header_t");
            }
        }
        if (items > 4) {
            
        }
        {
            result = (svn_error_t *)svn_categorize_props((apr_array_header_t const *)arg1,arg2,arg3,arg4,arg5);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_prop_diffs) {
    {
        apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
        apr_hash_t *arg2 = (apr_hash_t *) 0 ;
        apr_hash_t *arg3 = (apr_hash_t *) 0 ;
        apr_pool_t *arg4 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 3) || (items > 4)) {
            SWIG_croak("Usage: svn_prop_diffs(propdiffs,target_props,source_props,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_p_apr_array_header_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_prop_diffs. Expected _p_p_apr_array_header_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_apr_hash_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_prop_diffs. Expected _p_apr_hash_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_apr_hash_t,0) < 0) {
                SWIG_croak("Type error in argument 3 of svn_prop_diffs. Expected _p_apr_hash_t");
            }
        }
        if (items > 3) {
            
        }
        {
            result = (svn_error_t *)svn_prop_diffs(arg1,arg2,arg3,arg4);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_subcommand_desc_t_name_set) {
    {
        svn_opt_subcommand_desc_t *arg1 = (svn_opt_subcommand_desc_t *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_opt_subcommand_desc_t_name_set(self,name);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_opt_subcommand_desc_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_opt_subcommand_desc_t_name_set. Expected _p_svn_opt_subcommand_desc_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            apr_size_t len = strlen(arg2) + 1;
            char *copied;
            if (arg1->name) free((char *)arg1->name);
            copied = malloc(len);
            memcpy(copied, arg2, len);
            arg1->name = copied;
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_subcommand_desc_t_name_get) {
    {
        svn_opt_subcommand_desc_t *arg1 = (svn_opt_subcommand_desc_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_opt_subcommand_desc_t_name_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_opt_subcommand_desc_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_opt_subcommand_desc_t_name_get. Expected _p_svn_opt_subcommand_desc_t");
            }
        }
        result = (char *) ((arg1)->name);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_subcommand_desc_t_cmd_func_set) {
    {
        svn_opt_subcommand_desc_t *arg1 = (svn_opt_subcommand_desc_t *) 0 ;
        svn_opt_subcommand_t *arg2 = (svn_opt_subcommand_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_opt_subcommand_desc_t_cmd_func_set(self,cmd_func);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_opt_subcommand_desc_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_opt_subcommand_desc_t_cmd_func_set. Expected _p_svn_opt_subcommand_desc_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_opt_subcommand_desc_t_cmd_func_set. Expected _p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t");
            }
        }
        if (arg1) (arg1)->cmd_func = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_subcommand_desc_t_cmd_func_get) {
    {
        svn_opt_subcommand_desc_t *arg1 = (svn_opt_subcommand_desc_t *) 0 ;
        svn_opt_subcommand_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_opt_subcommand_desc_t_cmd_func_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_opt_subcommand_desc_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_opt_subcommand_desc_t_cmd_func_get. Expected _p_svn_opt_subcommand_desc_t");
            }
        }
        result = (svn_opt_subcommand_t *) ((arg1)->cmd_func);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_subcommand_desc_t_aliases_set) {
    {
        svn_opt_subcommand_desc_t *arg1 = (svn_opt_subcommand_desc_t *) 0 ;
        char **arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_opt_subcommand_desc_t_aliases_set(self,aliases);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_opt_subcommand_desc_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_opt_subcommand_desc_t_aliases_set. Expected _p_svn_opt_subcommand_desc_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_p_char,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_opt_subcommand_desc_t_aliases_set. Expected _p_p_char");
            }
        }
        {
            size_t ii;
            char const * *b = (char const * *) arg1->aliases;
            for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((char const * *) arg2 + ii);
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_subcommand_desc_t_aliases_get) {
    {
        svn_opt_subcommand_desc_t *arg1 = (svn_opt_subcommand_desc_t *) 0 ;
        char **result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_opt_subcommand_desc_t_aliases_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_opt_subcommand_desc_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_opt_subcommand_desc_t_aliases_get. Expected _p_svn_opt_subcommand_desc_t");
            }
        }
        result = (char **)(char **) ((arg1)->aliases);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_p_char, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_subcommand_desc_t_help_set) {
    {
        svn_opt_subcommand_desc_t *arg1 = (svn_opt_subcommand_desc_t *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_opt_subcommand_desc_t_help_set(self,help);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_opt_subcommand_desc_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_opt_subcommand_desc_t_help_set. Expected _p_svn_opt_subcommand_desc_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            apr_size_t len = strlen(arg2) + 1;
            char *copied;
            if (arg1->help) free((char *)arg1->help);
            copied = malloc(len);
            memcpy(copied, arg2, len);
            arg1->help = copied;
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_subcommand_desc_t_help_get) {
    {
        svn_opt_subcommand_desc_t *arg1 = (svn_opt_subcommand_desc_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_opt_subcommand_desc_t_help_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_opt_subcommand_desc_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_opt_subcommand_desc_t_help_get. Expected _p_svn_opt_subcommand_desc_t");
            }
        }
        result = (char *) ((arg1)->help);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_subcommand_desc_t_valid_options_set) {
    {
        svn_opt_subcommand_desc_t *arg1 = (svn_opt_subcommand_desc_t *) 0 ;
        int *arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_opt_subcommand_desc_t_valid_options_set(self,valid_options);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_opt_subcommand_desc_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_opt_subcommand_desc_t_valid_options_set. Expected _p_svn_opt_subcommand_desc_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_int,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_opt_subcommand_desc_t_valid_options_set. Expected _p_int");
            }
        }
        {
            size_t ii;
            int *b = (int *) arg1->valid_options;
            for (ii = 0; ii < (size_t)50; ii++) b[ii] = *((int *) arg2 + ii);
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_subcommand_desc_t_valid_options_get) {
    {
        svn_opt_subcommand_desc_t *arg1 = (svn_opt_subcommand_desc_t *) 0 ;
        int *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_opt_subcommand_desc_t_valid_options_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_opt_subcommand_desc_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_opt_subcommand_desc_t_valid_options_get. Expected _p_svn_opt_subcommand_desc_t");
            }
        }
        result = (int *)(int *) ((arg1)->valid_options);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_int, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_svn_opt_subcommand_desc_t) {
    {
        svn_opt_subcommand_desc_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_svn_opt_subcommand_desc_t();");
        }
        {
            result = (svn_opt_subcommand_desc_t *)(svn_opt_subcommand_desc_t *) calloc(1, sizeof(svn_opt_subcommand_desc_t));
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_opt_subcommand_desc_t, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_svn_opt_subcommand_desc_t) {
    {
        svn_opt_subcommand_desc_t *arg1 = (svn_opt_subcommand_desc_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_svn_opt_subcommand_desc_t(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_opt_subcommand_desc_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_svn_opt_subcommand_desc_t. Expected _p_svn_opt_subcommand_desc_t");
            }
        }
        {
            free((char *) arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_get_canonical_subcommand) {
    {
        svn_opt_subcommand_desc_t *arg1 = (svn_opt_subcommand_desc_t *) 0 ;
        char *arg2 = (char *) 0 ;
        svn_opt_subcommand_desc_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_opt_get_canonical_subcommand(table,cmd_name);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_opt_subcommand_desc_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_opt_get_canonical_subcommand. Expected _p_svn_opt_subcommand_desc_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            result = (svn_opt_subcommand_desc_t *)svn_opt_get_canonical_subcommand((struct svn_opt_subcommand_desc_t const *)arg1,(char const *)arg2);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_opt_subcommand_desc_t, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_get_option_from_code) {
    {
        int arg1 ;
        apr_getopt_option_t *arg2 = (apr_getopt_option_t *) 0 ;
        apr_getopt_option_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_opt_get_option_from_code(code,option_table);");
        }
        arg1 = (int) SvIV(ST(0));
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_apr_getopt_option_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_opt_get_option_from_code. Expected _p_apr_getopt_option_t");
            }
        }
        {
            result = (apr_getopt_option_t *)svn_opt_get_option_from_code(arg1,(apr_getopt_option_t const *)arg2);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_apr_getopt_option_t, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_subcommand_takes_option) {
    {
        svn_opt_subcommand_desc_t *arg1 = (svn_opt_subcommand_desc_t *) 0 ;
        int arg2 ;
        svn_boolean_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_opt_subcommand_takes_option(command,option_code);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_opt_subcommand_desc_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_opt_subcommand_takes_option. Expected _p_svn_opt_subcommand_desc_t");
            }
        }
        arg2 = (int) SvIV(ST(1));
        {
            result = (svn_boolean_t)svn_opt_subcommand_takes_option((struct svn_opt_subcommand_desc_t const *)arg1,arg2);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_format_option) {
    {
        char **arg1 = (char **) 0 ;
        apr_getopt_option_t *arg2 = (apr_getopt_option_t *) 0 ;
        svn_boolean_t arg3 ;
        apr_pool_t *arg4 = (apr_pool_t *) 0 ;
        apr_pool_t *_global_pool ;
        char const *temp1 = NULL ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
        }
        arg1 = (char **)&temp1;
        if ((items < 2) || (items > 3)) {
            SWIG_croak("Usage: svn_opt_format_option(opt,doc,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg2, SWIGTYPE_p_apr_getopt_option_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_opt_format_option. Expected _p_apr_getopt_option_t");
            }
        }
        arg3 = (svn_boolean_t) SvIV(ST(1));
        if (items > 2) {
            
        }
        {
            svn_opt_format_option((char const **)arg1,(apr_getopt_option_t const *)arg2,arg3,arg4);
            
            
            
            
        }
        
        {
            if (*arg1 == NULL)
            ST(argvi) = &PL_sv_undef;
            else
            ST(argvi) = sv_2mortal(newSVpv(*arg1, 0));
            ++argvi;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_subcommand_help) {
    {
        char *arg1 = (char *) 0 ;
        svn_opt_subcommand_desc_t *arg2 = (svn_opt_subcommand_desc_t *) 0 ;
        apr_getopt_option_t *arg3 = (apr_getopt_option_t *) 0 ;
        apr_pool_t *arg4 = (apr_pool_t *) 0 ;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 3) || (items > 4)) {
            SWIG_croak("Usage: svn_opt_subcommand_help(subcommand,table,options_table,pool);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_svn_opt_subcommand_desc_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_opt_subcommand_help. Expected _p_svn_opt_subcommand_desc_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_apr_getopt_option_t,0) < 0) {
                SWIG_croak("Type error in argument 3 of svn_opt_subcommand_help. Expected _p_apr_getopt_option_t");
            }
        }
        if (items > 3) {
            
        }
        {
            svn_opt_subcommand_help((char const *)arg1,(struct svn_opt_subcommand_desc_t const *)arg2,(apr_getopt_option_t const *)arg3,arg4);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_revision_value_t_number_set) {
    {
        svn_opt_revision_value_t *arg1 = (svn_opt_revision_value_t *) 0 ;
        svn_revnum_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_opt_revision_value_t_number_set(self,number);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_opt_revision_value_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_opt_revision_value_t_number_set. Expected _p_svn_opt_revision_value_t");
            }
        }
        arg2 = (svn_revnum_t) SvIV(ST(1));
        if (arg1) (arg1)->number = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_revision_value_t_number_get) {
    {
        svn_opt_revision_value_t *arg1 = (svn_opt_revision_value_t *) 0 ;
        svn_revnum_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_opt_revision_value_t_number_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_opt_revision_value_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_opt_revision_value_t_number_get. Expected _p_svn_opt_revision_value_t");
            }
        }
        result = (svn_revnum_t) ((arg1)->number);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_revision_value_t_date_set) {
    {
        svn_opt_revision_value_t *arg1 = (svn_opt_revision_value_t *) 0 ;
        apr_time_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_opt_revision_value_t_date_set(self,date);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_opt_revision_value_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_opt_revision_value_t_date_set. Expected _p_svn_opt_revision_value_t");
            }
        }
        arg2 = (apr_time_t) strtoll(SvPV(ST(1), PL_na), 0, 0);
        if (arg1) (arg1)->date = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_revision_value_t_date_get) {
    {
        svn_opt_revision_value_t *arg1 = (svn_opt_revision_value_t *) 0 ;
        apr_time_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_opt_revision_value_t_date_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_opt_revision_value_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_opt_revision_value_t_date_get. Expected _p_svn_opt_revision_value_t");
            }
        }
        result =  ((arg1)->date);
        
        {
            char temp[256];
            sprintf(temp, "%" APR_INT64_T_FMT, (apr_int64_t) result);
            ST(argvi) = sv_newmortal();
            sv_setpv((SV*)ST(argvi++), temp);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_svn_opt_revision_value_t) {
    {
        svn_opt_revision_value_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_svn_opt_revision_value_t();");
        }
        {
            result = (svn_opt_revision_value_t *)(svn_opt_revision_value_t *) calloc(1, sizeof(svn_opt_revision_value_t));
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_opt_revision_value_t, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_svn_opt_revision_value_t) {
    {
        svn_opt_revision_value_t *arg1 = (svn_opt_revision_value_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_svn_opt_revision_value_t(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_opt_revision_value_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_svn_opt_revision_value_t. Expected _p_svn_opt_revision_value_t");
            }
        }
        {
            free((char *) arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_revision_t_kind_set) {
    {
        svn_opt_revision_t *arg1 = (svn_opt_revision_t *) 0 ;
        enum svn_opt_revision_kind arg2 ;
        svn_opt_revision_t rev1 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_opt_revision_t_kind_set(self,kind);");
        }
        {
            arg1 = &rev1;
            if (ST(0) == NULL || ST(0) == &PL_sv_undef || !SvOK(ST(0))) {
                rev1.kind = svn_opt_revision_unspecified;
            }
            else if (sv_isobject(ST(0)) && sv_derived_from(ST(0), "_p_svn_opt_revision_t")) {
                SWIG_ConvertPtr(ST(0), (void **)&arg1, SWIGTYPE_p_svn_opt_revision_t, 0);
            }
            else if (looks_like_number(ST(0))) {
                rev1.kind = svn_opt_revision_number;
                rev1.value.number = SvIV(ST(0));
            }
            else if (SvPOK(ST(0))) {
                char *input = SvPV_nolen(ST(0));
                if (strcasecmp(input, "BASE") == 0)
                rev1.kind = svn_opt_revision_base;
                else if (strcasecmp(input, "HEAD") == 0)
                rev1.kind = svn_opt_revision_head;
                else if (strcasecmp(input, "WORKING") == 0)
                rev1.kind = svn_opt_revision_working;
                else if (strcasecmp(input, "COMMITTED") == 0)
                rev1.kind = svn_opt_revision_committed;
                else if (strcasecmp(input, "PREV") == 0)
                rev1.kind = svn_opt_revision_previous;
                else if (*input == '{') {
                    svn_boolean_t matched;
                    apr_time_t tm;
                    svn_error_t *err;
                    
                    char *end = strchr(input,'}');
                    if (!end)
                    SWIG_croak("unknown opt_revision_t type");
                    *end = '\0';
                    err = svn_parse_date (&matched, &tm, input + 1, apr_time_now(),
                    svn_swig_pl_make_pool ((SV *)NULL));
                    if (err) {
                        svn_error_clear (err);
                        SWIG_croak("unknown opt_revision_t type");
                    }
                    if (!matched)
                    SWIG_croak("unknown opt_revision_t type");
                    
                    rev1.kind = svn_opt_revision_date;
                    rev1.value.date = tm;
                } else
                SWIG_croak("unknown opt_revision_t type");
            } else
            SWIG_croak("unknown opt_revision_t type");
        }
        arg2 = (enum svn_opt_revision_kind) SvIV(ST(1));
        if (arg1) (arg1)->kind = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_revision_t_kind_get) {
    {
        svn_opt_revision_t *arg1 = (svn_opt_revision_t *) 0 ;
        enum svn_opt_revision_kind result;
        svn_opt_revision_t rev1 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_opt_revision_t_kind_get(self);");
        }
        {
            arg1 = &rev1;
            if (ST(0) == NULL || ST(0) == &PL_sv_undef || !SvOK(ST(0))) {
                rev1.kind = svn_opt_revision_unspecified;
            }
            else if (sv_isobject(ST(0)) && sv_derived_from(ST(0), "_p_svn_opt_revision_t")) {
                SWIG_ConvertPtr(ST(0), (void **)&arg1, SWIGTYPE_p_svn_opt_revision_t, 0);
            }
            else if (looks_like_number(ST(0))) {
                rev1.kind = svn_opt_revision_number;
                rev1.value.number = SvIV(ST(0));
            }
            else if (SvPOK(ST(0))) {
                char *input = SvPV_nolen(ST(0));
                if (strcasecmp(input, "BASE") == 0)
                rev1.kind = svn_opt_revision_base;
                else if (strcasecmp(input, "HEAD") == 0)
                rev1.kind = svn_opt_revision_head;
                else if (strcasecmp(input, "WORKING") == 0)
                rev1.kind = svn_opt_revision_working;
                else if (strcasecmp(input, "COMMITTED") == 0)
                rev1.kind = svn_opt_revision_committed;
                else if (strcasecmp(input, "PREV") == 0)
                rev1.kind = svn_opt_revision_previous;
                else if (*input == '{') {
                    svn_boolean_t matched;
                    apr_time_t tm;
                    svn_error_t *err;
                    
                    char *end = strchr(input,'}');
                    if (!end)
                    SWIG_croak("unknown opt_revision_t type");
                    *end = '\0';
                    err = svn_parse_date (&matched, &tm, input + 1, apr_time_now(),
                    svn_swig_pl_make_pool ((SV *)NULL));
                    if (err) {
                        svn_error_clear (err);
                        SWIG_croak("unknown opt_revision_t type");
                    }
                    if (!matched)
                    SWIG_croak("unknown opt_revision_t type");
                    
                    rev1.kind = svn_opt_revision_date;
                    rev1.value.date = tm;
                } else
                SWIG_croak("unknown opt_revision_t type");
            } else
            SWIG_croak("unknown opt_revision_t type");
        }
        result = (enum svn_opt_revision_kind) ((arg1)->kind);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_revision_t_value_set) {
    {
        svn_opt_revision_t *arg1 = (svn_opt_revision_t *) 0 ;
        svn_opt_revision_value_t *arg2 = (svn_opt_revision_value_t *) 0 ;
        svn_opt_revision_t rev1 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_opt_revision_t_value_set(self,value);");
        }
        {
            arg1 = &rev1;
            if (ST(0) == NULL || ST(0) == &PL_sv_undef || !SvOK(ST(0))) {
                rev1.kind = svn_opt_revision_unspecified;
            }
            else if (sv_isobject(ST(0)) && sv_derived_from(ST(0), "_p_svn_opt_revision_t")) {
                SWIG_ConvertPtr(ST(0), (void **)&arg1, SWIGTYPE_p_svn_opt_revision_t, 0);
            }
            else if (looks_like_number(ST(0))) {
                rev1.kind = svn_opt_revision_number;
                rev1.value.number = SvIV(ST(0));
            }
            else if (SvPOK(ST(0))) {
                char *input = SvPV_nolen(ST(0));
                if (strcasecmp(input, "BASE") == 0)
                rev1.kind = svn_opt_revision_base;
                else if (strcasecmp(input, "HEAD") == 0)
                rev1.kind = svn_opt_revision_head;
                else if (strcasecmp(input, "WORKING") == 0)
                rev1.kind = svn_opt_revision_working;
                else if (strcasecmp(input, "COMMITTED") == 0)
                rev1.kind = svn_opt_revision_committed;
                else if (strcasecmp(input, "PREV") == 0)
                rev1.kind = svn_opt_revision_previous;
                else if (*input == '{') {
                    svn_boolean_t matched;
                    apr_time_t tm;
                    svn_error_t *err;
                    
                    char *end = strchr(input,'}');
                    if (!end)
                    SWIG_croak("unknown opt_revision_t type");
                    *end = '\0';
                    err = svn_parse_date (&matched, &tm, input + 1, apr_time_now(),
                    svn_swig_pl_make_pool ((SV *)NULL));
                    if (err) {
                        svn_error_clear (err);
                        SWIG_croak("unknown opt_revision_t type");
                    }
                    if (!matched)
                    SWIG_croak("unknown opt_revision_t type");
                    
                    rev1.kind = svn_opt_revision_date;
                    rev1.value.date = tm;
                } else
                SWIG_croak("unknown opt_revision_t type");
            } else
            SWIG_croak("unknown opt_revision_t type");
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_svn_opt_revision_value_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_opt_revision_t_value_set. Expected _p_svn_opt_revision_value_t");
            }
        }
        if (arg1) (arg1)->value = *arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_revision_t_value_get) {
    {
        svn_opt_revision_t *arg1 = (svn_opt_revision_t *) 0 ;
        svn_opt_revision_value_t *result;
        svn_opt_revision_t rev1 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_opt_revision_t_value_get(self);");
        }
        {
            arg1 = &rev1;
            if (ST(0) == NULL || ST(0) == &PL_sv_undef || !SvOK(ST(0))) {
                rev1.kind = svn_opt_revision_unspecified;
            }
            else if (sv_isobject(ST(0)) && sv_derived_from(ST(0), "_p_svn_opt_revision_t")) {
                SWIG_ConvertPtr(ST(0), (void **)&arg1, SWIGTYPE_p_svn_opt_revision_t, 0);
            }
            else if (looks_like_number(ST(0))) {
                rev1.kind = svn_opt_revision_number;
                rev1.value.number = SvIV(ST(0));
            }
            else if (SvPOK(ST(0))) {
                char *input = SvPV_nolen(ST(0));
                if (strcasecmp(input, "BASE") == 0)
                rev1.kind = svn_opt_revision_base;
                else if (strcasecmp(input, "HEAD") == 0)
                rev1.kind = svn_opt_revision_head;
                else if (strcasecmp(input, "WORKING") == 0)
                rev1.kind = svn_opt_revision_working;
                else if (strcasecmp(input, "COMMITTED") == 0)
                rev1.kind = svn_opt_revision_committed;
                else if (strcasecmp(input, "PREV") == 0)
                rev1.kind = svn_opt_revision_previous;
                else if (*input == '{') {
                    svn_boolean_t matched;
                    apr_time_t tm;
                    svn_error_t *err;
                    
                    char *end = strchr(input,'}');
                    if (!end)
                    SWIG_croak("unknown opt_revision_t type");
                    *end = '\0';
                    err = svn_parse_date (&matched, &tm, input + 1, apr_time_now(),
                    svn_swig_pl_make_pool ((SV *)NULL));
                    if (err) {
                        svn_error_clear (err);
                        SWIG_croak("unknown opt_revision_t type");
                    }
                    if (!matched)
                    SWIG_croak("unknown opt_revision_t type");
                    
                    rev1.kind = svn_opt_revision_date;
                    rev1.value.date = tm;
                } else
                SWIG_croak("unknown opt_revision_t type");
            } else
            SWIG_croak("unknown opt_revision_t type");
        }
        result = (svn_opt_revision_value_t *)& ((arg1)->value);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_opt_revision_value_t, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_svn_opt_revision_t) {
    {
        svn_opt_revision_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_svn_opt_revision_t();");
        }
        {
            result = (svn_opt_revision_t *)(svn_opt_revision_t *) calloc(1, sizeof(svn_opt_revision_t));
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_opt_revision_t, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_svn_opt_revision_t) {
    {
        svn_opt_revision_t *arg1 = (svn_opt_revision_t *) 0 ;
        svn_opt_revision_t rev1 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_svn_opt_revision_t(self);");
        }
        {
            arg1 = &rev1;
            if (ST(0) == NULL || ST(0) == &PL_sv_undef || !SvOK(ST(0))) {
                rev1.kind = svn_opt_revision_unspecified;
            }
            else if (sv_isobject(ST(0)) && sv_derived_from(ST(0), "_p_svn_opt_revision_t")) {
                SWIG_ConvertPtr(ST(0), (void **)&arg1, SWIGTYPE_p_svn_opt_revision_t, 0);
            }
            else if (looks_like_number(ST(0))) {
                rev1.kind = svn_opt_revision_number;
                rev1.value.number = SvIV(ST(0));
            }
            else if (SvPOK(ST(0))) {
                char *input = SvPV_nolen(ST(0));
                if (strcasecmp(input, "BASE") == 0)
                rev1.kind = svn_opt_revision_base;
                else if (strcasecmp(input, "HEAD") == 0)
                rev1.kind = svn_opt_revision_head;
                else if (strcasecmp(input, "WORKING") == 0)
                rev1.kind = svn_opt_revision_working;
                else if (strcasecmp(input, "COMMITTED") == 0)
                rev1.kind = svn_opt_revision_committed;
                else if (strcasecmp(input, "PREV") == 0)
                rev1.kind = svn_opt_revision_previous;
                else if (*input == '{') {
                    svn_boolean_t matched;
                    apr_time_t tm;
                    svn_error_t *err;
                    
                    char *end = strchr(input,'}');
                    if (!end)
                    SWIG_croak("unknown opt_revision_t type");
                    *end = '\0';
                    err = svn_parse_date (&matched, &tm, input + 1, apr_time_now(),
                    svn_swig_pl_make_pool ((SV *)NULL));
                    if (err) {
                        svn_error_clear (err);
                        SWIG_croak("unknown opt_revision_t type");
                    }
                    if (!matched)
                    SWIG_croak("unknown opt_revision_t type");
                    
                    rev1.kind = svn_opt_revision_date;
                    rev1.value.date = tm;
                } else
                SWIG_croak("unknown opt_revision_t type");
            } else
            SWIG_croak("unknown opt_revision_t type");
        }
        {
            free((char *) arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_parse_revision) {
    {
        svn_opt_revision_t *arg1 = (svn_opt_revision_t *) 0 ;
        svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
        char *arg3 = (char *) 0 ;
        apr_pool_t *arg4 = (apr_pool_t *) 0 ;
        int result;
        apr_pool_t *_global_pool ;
        svn_opt_revision_t rev1 ;
        svn_opt_revision_t rev2 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 3) || (items > 4)) {
            SWIG_croak("Usage: svn_opt_parse_revision(start_revision,end_revision,arg,pool);");
        }
        {
            arg1 = &rev1;
            if (ST(0) == NULL || ST(0) == &PL_sv_undef || !SvOK(ST(0))) {
                rev1.kind = svn_opt_revision_unspecified;
            }
            else if (sv_isobject(ST(0)) && sv_derived_from(ST(0), "_p_svn_opt_revision_t")) {
                SWIG_ConvertPtr(ST(0), (void **)&arg1, SWIGTYPE_p_svn_opt_revision_t, 0);
            }
            else if (looks_like_number(ST(0))) {
                rev1.kind = svn_opt_revision_number;
                rev1.value.number = SvIV(ST(0));
            }
            else if (SvPOK(ST(0))) {
                char *input = SvPV_nolen(ST(0));
                if (strcasecmp(input, "BASE") == 0)
                rev1.kind = svn_opt_revision_base;
                else if (strcasecmp(input, "HEAD") == 0)
                rev1.kind = svn_opt_revision_head;
                else if (strcasecmp(input, "WORKING") == 0)
                rev1.kind = svn_opt_revision_working;
                else if (strcasecmp(input, "COMMITTED") == 0)
                rev1.kind = svn_opt_revision_committed;
                else if (strcasecmp(input, "PREV") == 0)
                rev1.kind = svn_opt_revision_previous;
                else if (*input == '{') {
                    svn_boolean_t matched;
                    apr_time_t tm;
                    svn_error_t *err;
                    
                    char *end = strchr(input,'}');
                    if (!end)
                    SWIG_croak("unknown opt_revision_t type");
                    *end = '\0';
                    err = svn_parse_date (&matched, &tm, input + 1, apr_time_now(),
                    svn_swig_pl_make_pool ((SV *)NULL));
                    if (err) {
                        svn_error_clear (err);
                        SWIG_croak("unknown opt_revision_t type");
                    }
                    if (!matched)
                    SWIG_croak("unknown opt_revision_t type");
                    
                    rev1.kind = svn_opt_revision_date;
                    rev1.value.date = tm;
                } else
                SWIG_croak("unknown opt_revision_t type");
            } else
            SWIG_croak("unknown opt_revision_t type");
        }
        {
            arg2 = &rev2;
            if (ST(1) == NULL || ST(1) == &PL_sv_undef || !SvOK(ST(1))) {
                rev2.kind = svn_opt_revision_unspecified;
            }
            else if (sv_isobject(ST(1)) && sv_derived_from(ST(1), "_p_svn_opt_revision_t")) {
                SWIG_ConvertPtr(ST(1), (void **)&arg2, SWIGTYPE_p_svn_opt_revision_t, 0);
            }
            else if (looks_like_number(ST(1))) {
                rev2.kind = svn_opt_revision_number;
                rev2.value.number = SvIV(ST(1));
            }
            else if (SvPOK(ST(1))) {
                char *input = SvPV_nolen(ST(1));
                if (strcasecmp(input, "BASE") == 0)
                rev2.kind = svn_opt_revision_base;
                else if (strcasecmp(input, "HEAD") == 0)
                rev2.kind = svn_opt_revision_head;
                else if (strcasecmp(input, "WORKING") == 0)
                rev2.kind = svn_opt_revision_working;
                else if (strcasecmp(input, "COMMITTED") == 0)
                rev2.kind = svn_opt_revision_committed;
                else if (strcasecmp(input, "PREV") == 0)
                rev2.kind = svn_opt_revision_previous;
                else if (*input == '{') {
                    svn_boolean_t matched;
                    apr_time_t tm;
                    svn_error_t *err;
                    
                    char *end = strchr(input,'}');
                    if (!end)
                    SWIG_croak("unknown opt_revision_t type");
                    *end = '\0';
                    err = svn_parse_date (&matched, &tm, input + 1, apr_time_now(),
                    svn_swig_pl_make_pool ((SV *)NULL));
                    if (err) {
                        svn_error_clear (err);
                        SWIG_croak("unknown opt_revision_t type");
                    }
                    if (!matched)
                    SWIG_croak("unknown opt_revision_t type");
                    
                    rev2.kind = svn_opt_revision_date;
                    rev2.value.date = tm;
                } else
                SWIG_croak("unknown opt_revision_t type");
            } else
            SWIG_croak("unknown opt_revision_t type");
        }
        if (!SvOK((SV*) ST(2))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(2), PL_na);
        if (items > 3) {
            
        }
        {
            result = (int)svn_opt_parse_revision(arg1,arg2,(char const *)arg3,arg4);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_args_to_target_array2) {
    {
        apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
        apr_getopt_t *arg2 = (apr_getopt_t *) 0 ;
        apr_array_header_t *arg3 = (apr_array_header_t *) 0 ;
        apr_pool_t *arg4 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 3) || (items > 4)) {
            SWIG_croak("Usage: svn_opt_args_to_target_array2(targets_p,os,known_targets,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_p_apr_array_header_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_opt_args_to_target_array2. Expected _p_p_apr_array_header_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_apr_getopt_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_opt_args_to_target_array2. Expected _p_apr_getopt_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_apr_array_header_t,0) < 0) {
                SWIG_croak("Type error in argument 3 of svn_opt_args_to_target_array2. Expected _p_apr_array_header_t");
            }
        }
        if (items > 3) {
            
        }
        {
            result = (svn_error_t *)svn_opt_args_to_target_array2(arg1,arg2,arg3,arg4);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_args_to_target_array) {
    {
        apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
        apr_getopt_t *arg2 = (apr_getopt_t *) 0 ;
        apr_array_header_t *arg3 = (apr_array_header_t *) 0 ;
        svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
        svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
        svn_boolean_t arg6 ;
        apr_pool_t *arg7 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        svn_opt_revision_t rev4 ;
        svn_opt_revision_t rev5 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg7 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 6) || (items > 7)) {
            SWIG_croak("Usage: svn_opt_args_to_target_array(targets_p,os,known_targets,start_revision,end_revision,extract_revisions,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_p_apr_array_header_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_opt_args_to_target_array. Expected _p_p_apr_array_header_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_apr_getopt_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_opt_args_to_target_array. Expected _p_apr_getopt_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_apr_array_header_t,0) < 0) {
                SWIG_croak("Type error in argument 3 of svn_opt_args_to_target_array. Expected _p_apr_array_header_t");
            }
        }
        {
            arg4 = &rev4;
            if (ST(3) == NULL || ST(3) == &PL_sv_undef || !SvOK(ST(3))) {
                rev4.kind = svn_opt_revision_unspecified;
            }
            else if (sv_isobject(ST(3)) && sv_derived_from(ST(3), "_p_svn_opt_revision_t")) {
                SWIG_ConvertPtr(ST(3), (void **)&arg4, SWIGTYPE_p_svn_opt_revision_t, 0);
            }
            else if (looks_like_number(ST(3))) {
                rev4.kind = svn_opt_revision_number;
                rev4.value.number = SvIV(ST(3));
            }
            else if (SvPOK(ST(3))) {
                char *input = SvPV_nolen(ST(3));
                if (strcasecmp(input, "BASE") == 0)
                rev4.kind = svn_opt_revision_base;
                else if (strcasecmp(input, "HEAD") == 0)
                rev4.kind = svn_opt_revision_head;
                else if (strcasecmp(input, "WORKING") == 0)
                rev4.kind = svn_opt_revision_working;
                else if (strcasecmp(input, "COMMITTED") == 0)
                rev4.kind = svn_opt_revision_committed;
                else if (strcasecmp(input, "PREV") == 0)
                rev4.kind = svn_opt_revision_previous;
                else if (*input == '{') {
                    svn_boolean_t matched;
                    apr_time_t tm;
                    svn_error_t *err;
                    
                    char *end = strchr(input,'}');
                    if (!end)
                    SWIG_croak("unknown opt_revision_t type");
                    *end = '\0';
                    err = svn_parse_date (&matched, &tm, input + 1, apr_time_now(),
                    svn_swig_pl_make_pool ((SV *)NULL));
                    if (err) {
                        svn_error_clear (err);
                        SWIG_croak("unknown opt_revision_t type");
                    }
                    if (!matched)
                    SWIG_croak("unknown opt_revision_t type");
                    
                    rev4.kind = svn_opt_revision_date;
                    rev4.value.date = tm;
                } else
                SWIG_croak("unknown opt_revision_t type");
            } else
            SWIG_croak("unknown opt_revision_t type");
        }
        {
            arg5 = &rev5;
            if (ST(4) == NULL || ST(4) == &PL_sv_undef || !SvOK(ST(4))) {
                rev5.kind = svn_opt_revision_unspecified;
            }
            else if (sv_isobject(ST(4)) && sv_derived_from(ST(4), "_p_svn_opt_revision_t")) {
                SWIG_ConvertPtr(ST(4), (void **)&arg5, SWIGTYPE_p_svn_opt_revision_t, 0);
            }
            else if (looks_like_number(ST(4))) {
                rev5.kind = svn_opt_revision_number;
                rev5.value.number = SvIV(ST(4));
            }
            else if (SvPOK(ST(4))) {
                char *input = SvPV_nolen(ST(4));
                if (strcasecmp(input, "BASE") == 0)
                rev5.kind = svn_opt_revision_base;
                else if (strcasecmp(input, "HEAD") == 0)
                rev5.kind = svn_opt_revision_head;
                else if (strcasecmp(input, "WORKING") == 0)
                rev5.kind = svn_opt_revision_working;
                else if (strcasecmp(input, "COMMITTED") == 0)
                rev5.kind = svn_opt_revision_committed;
                else if (strcasecmp(input, "PREV") == 0)
                rev5.kind = svn_opt_revision_previous;
                else if (*input == '{') {
                    svn_boolean_t matched;
                    apr_time_t tm;
                    svn_error_t *err;
                    
                    char *end = strchr(input,'}');
                    if (!end)
                    SWIG_croak("unknown opt_revision_t type");
                    *end = '\0';
                    err = svn_parse_date (&matched, &tm, input + 1, apr_time_now(),
                    svn_swig_pl_make_pool ((SV *)NULL));
                    if (err) {
                        svn_error_clear (err);
                        SWIG_croak("unknown opt_revision_t type");
                    }
                    if (!matched)
                    SWIG_croak("unknown opt_revision_t type");
                    
                    rev5.kind = svn_opt_revision_date;
                    rev5.value.date = tm;
                } else
                SWIG_croak("unknown opt_revision_t type");
            } else
            SWIG_croak("unknown opt_revision_t type");
        }
        arg6 = (svn_boolean_t) SvIV(ST(5));
        if (items > 6) {
            
        }
        {
            result = (svn_error_t *)svn_opt_args_to_target_array(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_push_implicit_dot_target) {
    {
        apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
        apr_pool_t *arg2 = (apr_pool_t *) 0 ;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_opt_push_implicit_dot_target(targets,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_apr_array_header_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_opt_push_implicit_dot_target. Expected _p_apr_array_header_t");
            }
        }
        if (items > 1) {
            
        }
        {
            svn_opt_push_implicit_dot_target(arg1,arg2);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_parse_num_args) {
    {
        apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
        apr_getopt_t *arg2 = (apr_getopt_t *) 0 ;
        int arg3 ;
        apr_pool_t *arg4 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 3) || (items > 4)) {
            SWIG_croak("Usage: svn_opt_parse_num_args(args_p,os,num_args,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_p_apr_array_header_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_opt_parse_num_args. Expected _p_p_apr_array_header_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_apr_getopt_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_opt_parse_num_args. Expected _p_apr_getopt_t");
            }
        }
        arg3 = (int) SvIV(ST(2));
        if (items > 3) {
            
        }
        {
            result = (svn_error_t *)svn_opt_parse_num_args(arg1,arg2,arg3,arg4);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_parse_all_args) {
    {
        apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
        apr_getopt_t *arg2 = (apr_getopt_t *) 0 ;
        apr_pool_t *arg3 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 2) || (items > 3)) {
            SWIG_croak("Usage: svn_opt_parse_all_args(args_p,os,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_p_apr_array_header_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_opt_parse_all_args. Expected _p_p_apr_array_header_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_apr_getopt_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_opt_parse_all_args. Expected _p_apr_getopt_t");
            }
        }
        if (items > 2) {
            
        }
        {
            result = (svn_error_t *)svn_opt_parse_all_args(arg1,arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_parse_path) {
    {
        svn_opt_revision_t *arg1 = (svn_opt_revision_t *) 0 ;
        char **arg2 = (char **) 0 ;
        char *arg3 = (char *) 0 ;
        apr_pool_t *arg4 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        svn_opt_revision_t rev1 ;
        char const *temp2 = NULL ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
        }
        arg2 = (char **)&temp2;
        if ((items < 2) || (items > 3)) {
            SWIG_croak("Usage: svn_opt_parse_path(rev,path,pool);");
        }
        {
            arg1 = &rev1;
            if (ST(0) == NULL || ST(0) == &PL_sv_undef || !SvOK(ST(0))) {
                rev1.kind = svn_opt_revision_unspecified;
            }
            else if (sv_isobject(ST(0)) && sv_derived_from(ST(0), "_p_svn_opt_revision_t")) {
                SWIG_ConvertPtr(ST(0), (void **)&arg1, SWIGTYPE_p_svn_opt_revision_t, 0);
            }
            else if (looks_like_number(ST(0))) {
                rev1.kind = svn_opt_revision_number;
                rev1.value.number = SvIV(ST(0));
            }
            else if (SvPOK(ST(0))) {
                char *input = SvPV_nolen(ST(0));
                if (strcasecmp(input, "BASE") == 0)
                rev1.kind = svn_opt_revision_base;
                else if (strcasecmp(input, "HEAD") == 0)
                rev1.kind = svn_opt_revision_head;
                else if (strcasecmp(input, "WORKING") == 0)
                rev1.kind = svn_opt_revision_working;
                else if (strcasecmp(input, "COMMITTED") == 0)
                rev1.kind = svn_opt_revision_committed;
                else if (strcasecmp(input, "PREV") == 0)
                rev1.kind = svn_opt_revision_previous;
                else if (*input == '{') {
                    svn_boolean_t matched;
                    apr_time_t tm;
                    svn_error_t *err;
                    
                    char *end = strchr(input,'}');
                    if (!end)
                    SWIG_croak("unknown opt_revision_t type");
                    *end = '\0';
                    err = svn_parse_date (&matched, &tm, input + 1, apr_time_now(),
                    svn_swig_pl_make_pool ((SV *)NULL));
                    if (err) {
                        svn_error_clear (err);
                        SWIG_croak("unknown opt_revision_t type");
                    }
                    if (!matched)
                    SWIG_croak("unknown opt_revision_t type");
                    
                    rev1.kind = svn_opt_revision_date;
                    rev1.value.date = tm;
                } else
                SWIG_croak("unknown opt_revision_t type");
            } else
            SWIG_croak("unknown opt_revision_t type");
        }
        if (!SvOK((SV*) ST(1))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(1), PL_na);
        if (items > 2) {
            
        }
        {
            result = (svn_error_t *)svn_opt_parse_path(arg1,(char const **)arg2,(char const *)arg3,arg4);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            if (*arg2 == NULL)
            ST(argvi) = &PL_sv_undef;
            else
            ST(argvi) = sv_2mortal(newSVpv(*arg2, 0));
            ++argvi;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_opt_print_help) {
    {
        apr_getopt_t *arg1 = (apr_getopt_t *) 0 ;
        char *arg2 = (char *) 0 ;
        svn_boolean_t arg3 ;
        svn_boolean_t arg4 ;
        char *arg5 = (char *) 0 ;
        char *arg6 = (char *) 0 ;
        svn_opt_subcommand_desc_t *arg7 = (svn_opt_subcommand_desc_t *) 0 ;
        apr_getopt_option_t *arg8 = (apr_getopt_option_t *) 0 ;
        char *arg9 = (char *) 0 ;
        apr_pool_t *arg10 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg10 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 9) || (items > 10)) {
            SWIG_croak("Usage: svn_opt_print_help(os,pgm_name,print_version,quiet,version_footer,header,cmd_table,option_table,footer,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_apr_getopt_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_opt_print_help. Expected _p_apr_getopt_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        arg3 = (svn_boolean_t) SvIV(ST(2));
        arg4 = (svn_boolean_t) SvIV(ST(3));
        if (!SvOK((SV*) ST(4))) arg5 = 0;
        else arg5 = (char *) SvPV(ST(4), PL_na);
        if (!SvOK((SV*) ST(5))) arg6 = 0;
        else arg6 = (char *) SvPV(ST(5), PL_na);
        {
            if (SWIG_ConvertPtr(ST(6), (void **) &arg7, SWIGTYPE_p_svn_opt_subcommand_desc_t,0) < 0) {
                SWIG_croak("Type error in argument 7 of svn_opt_print_help. Expected _p_svn_opt_subcommand_desc_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(7), (void **) &arg8, SWIGTYPE_p_apr_getopt_option_t,0) < 0) {
                SWIG_croak("Type error in argument 8 of svn_opt_print_help. Expected _p_apr_getopt_option_t");
            }
        }
        if (!SvOK((SV*) ST(8))) arg9 = 0;
        else arg9 = (char *) SvPV(ST(8), PL_na);
        if (items > 9) {
            
        }
        {
            result = (svn_error_t *)svn_opt_print_help(arg1,(char const *)arg2,arg3,arg4,(char const *)arg5,(char const *)arg6,(struct svn_opt_subcommand_desc_t const *)arg7,(apr_getopt_option_t const *)arg8,(char const *)arg9,arg10);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_provider_t_cred_kind_set) {
    {
        svn_auth_provider_t *arg1 = (svn_auth_provider_t *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_provider_t_cred_kind_set(self,cred_kind);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_provider_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_provider_t_cred_kind_set. Expected _p_svn_auth_provider_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            apr_size_t len = strlen(arg2) + 1;
            char *copied;
            if (arg1->cred_kind) free((char *)arg1->cred_kind);
            copied = malloc(len);
            memcpy(copied, arg2, len);
            arg1->cred_kind = copied;
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_provider_t_cred_kind_get) {
    {
        svn_auth_provider_t *arg1 = (svn_auth_provider_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_auth_provider_t_cred_kind_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_provider_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_provider_t_cred_kind_get. Expected _p_svn_auth_provider_t");
            }
        }
        result = (char *) ((arg1)->cred_kind);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_provider_t_first_credentials_set) {
    {
        svn_auth_provider_t *arg1 = (svn_auth_provider_t *) 0 ;
        svn_error_t *(*arg2)(void **,void **,void *,apr_hash_t *,char const *,apr_pool_t *) = (svn_error_t *(*)(void **,void **,void *,apr_hash_t *,char const *,apr_pool_t *)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_provider_t_first_credentials_set(self,first_credentials);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_provider_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_provider_t_first_credentials_set. Expected _p_svn_auth_provider_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_p_void_p_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_auth_provider_t_first_credentials_set. Expected _p_f_p_p_void_p_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t");
            }
        }
        if (arg1) (arg1)->first_credentials = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_provider_t_first_credentials_get) {
    {
        svn_auth_provider_t *arg1 = (svn_auth_provider_t *) 0 ;
        svn_error_t *(*result)(void **,void **,void *,apr_hash_t *,char const *,apr_pool_t *);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_auth_provider_t_first_credentials_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_provider_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_provider_t_first_credentials_get. Expected _p_svn_auth_provider_t");
            }
        }
        result = (svn_error_t *(*)(void **,void **,void *,apr_hash_t *,char const *,apr_pool_t *)) ((arg1)->first_credentials);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_p_void_p_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_provider_t_next_credentials_set) {
    {
        svn_auth_provider_t *arg1 = (svn_auth_provider_t *) 0 ;
        svn_error_t *(*arg2)(void **,void *,void *,apr_hash_t *,char const *,apr_pool_t *) = (svn_error_t *(*)(void **,void *,void *,apr_hash_t *,char const *,apr_pool_t *)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_provider_t_next_credentials_set(self,next_credentials);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_provider_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_provider_t_next_credentials_set. Expected _p_svn_auth_provider_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_p_void_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_auth_provider_t_next_credentials_set. Expected _p_f_p_p_void_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t");
            }
        }
        if (arg1) (arg1)->next_credentials = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_provider_t_next_credentials_get) {
    {
        svn_auth_provider_t *arg1 = (svn_auth_provider_t *) 0 ;
        svn_error_t *(*result)(void **,void *,void *,apr_hash_t *,char const *,apr_pool_t *);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_auth_provider_t_next_credentials_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_provider_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_provider_t_next_credentials_get. Expected _p_svn_auth_provider_t");
            }
        }
        result = (svn_error_t *(*)(void **,void *,void *,apr_hash_t *,char const *,apr_pool_t *)) ((arg1)->next_credentials);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_p_void_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_provider_t_save_credentials_set) {
    {
        svn_auth_provider_t *arg1 = (svn_auth_provider_t *) 0 ;
        svn_error_t *(*arg2)(svn_boolean_t *,void *,void *,apr_hash_t *,char const *,apr_pool_t *) = (svn_error_t *(*)(svn_boolean_t *,void *,void *,apr_hash_t *,char const *,apr_pool_t *)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_provider_t_save_credentials_set(self,save_credentials);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_provider_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_provider_t_save_credentials_set. Expected _p_svn_auth_provider_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_svn_boolean_t_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_auth_provider_t_save_credentials_set. Expected _p_f_p_svn_boolean_t_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t");
            }
        }
        if (arg1) (arg1)->save_credentials = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_provider_t_save_credentials_get) {
    {
        svn_auth_provider_t *arg1 = (svn_auth_provider_t *) 0 ;
        svn_error_t *(*result)(svn_boolean_t *,void *,void *,apr_hash_t *,char const *,apr_pool_t *);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_auth_provider_t_save_credentials_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_provider_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_provider_t_save_credentials_get. Expected _p_svn_auth_provider_t");
            }
        }
        result = (svn_error_t *(*)(svn_boolean_t *,void *,void *,apr_hash_t *,char const *,apr_pool_t *)) ((arg1)->save_credentials);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_svn_boolean_t_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_svn_auth_provider_t) {
    {
        svn_auth_provider_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_svn_auth_provider_t();");
        }
        {
            result = (svn_auth_provider_t *)(svn_auth_provider_t *) calloc(1, sizeof(svn_auth_provider_t));
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_auth_provider_t, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_svn_auth_provider_t) {
    {
        svn_auth_provider_t *arg1 = (svn_auth_provider_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_svn_auth_provider_t(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_provider_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_svn_auth_provider_t. Expected _p_svn_auth_provider_t");
            }
        }
        {
            free((char *) arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_provider_object_t_vtable_set) {
    {
        svn_auth_provider_object_t *arg1 = (svn_auth_provider_object_t *) 0 ;
        svn_auth_provider_t *arg2 = (svn_auth_provider_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_provider_object_t_vtable_set(self,vtable);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_provider_object_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_provider_object_t_vtable_set. Expected _p_svn_auth_provider_object_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_svn_auth_provider_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_auth_provider_object_t_vtable_set. Expected _p_svn_auth_provider_t");
            }
        }
        if (arg1) (arg1)->vtable = (svn_auth_provider_t const *)arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_provider_object_t_vtable_get) {
    {
        svn_auth_provider_object_t *arg1 = (svn_auth_provider_object_t *) 0 ;
        svn_auth_provider_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_auth_provider_object_t_vtable_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_provider_object_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_provider_object_t_vtable_get. Expected _p_svn_auth_provider_object_t");
            }
        }
        result = (svn_auth_provider_t *) ((arg1)->vtable);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_auth_provider_t, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_provider_object_t_provider_baton_set) {
    {
        svn_auth_provider_object_t *arg1 = (svn_auth_provider_object_t *) 0 ;
        void *arg2 = (void *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_provider_object_t_provider_baton_set(self,provider_baton);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_provider_object_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_provider_object_t_provider_baton_set. Expected _p_svn_auth_provider_object_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, 0,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_auth_provider_object_t_provider_baton_set. Expected _p_void");
            }
        }
        if (arg1) (arg1)->provider_baton = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_provider_object_t_provider_baton_get) {
    {
        svn_auth_provider_object_t *arg1 = (svn_auth_provider_object_t *) 0 ;
        void *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_auth_provider_object_t_provider_baton_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_provider_object_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_provider_object_t_provider_baton_get. Expected _p_svn_auth_provider_object_t");
            }
        }
        result = (void *) ((arg1)->provider_baton);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_void, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_svn_auth_provider_object_t) {
    {
        svn_auth_provider_object_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_svn_auth_provider_object_t();");
        }
        {
            result = (svn_auth_provider_object_t *)(svn_auth_provider_object_t *) calloc(1, sizeof(svn_auth_provider_object_t));
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_auth_provider_object_t, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_svn_auth_provider_object_t) {
    {
        svn_auth_provider_object_t *arg1 = (svn_auth_provider_object_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_svn_auth_provider_object_t(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_provider_object_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_svn_auth_provider_object_t. Expected _p_svn_auth_provider_object_t");
            }
        }
        {
            free((char *) arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_cred_simple_t_username_set) {
    {
        svn_auth_cred_simple_t *arg1 = (svn_auth_cred_simple_t *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_cred_simple_t_username_set(self,username);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_simple_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_cred_simple_t_username_set. Expected _p_svn_auth_cred_simple_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            apr_size_t len = strlen(arg2) + 1;
            char *copied;
            if (arg1->username) free((char *)arg1->username);
            copied = malloc(len);
            memcpy(copied, arg2, len);
            arg1->username = copied;
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_cred_simple_t_username_get) {
    {
        svn_auth_cred_simple_t *arg1 = (svn_auth_cred_simple_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_auth_cred_simple_t_username_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_simple_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_cred_simple_t_username_get. Expected _p_svn_auth_cred_simple_t");
            }
        }
        result = (char *) ((arg1)->username);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_cred_simple_t_password_set) {
    {
        svn_auth_cred_simple_t *arg1 = (svn_auth_cred_simple_t *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_cred_simple_t_password_set(self,password);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_simple_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_cred_simple_t_password_set. Expected _p_svn_auth_cred_simple_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            apr_size_t len = strlen(arg2) + 1;
            char *copied;
            if (arg1->password) free((char *)arg1->password);
            copied = malloc(len);
            memcpy(copied, arg2, len);
            arg1->password = copied;
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_cred_simple_t_password_get) {
    {
        svn_auth_cred_simple_t *arg1 = (svn_auth_cred_simple_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_auth_cred_simple_t_password_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_simple_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_cred_simple_t_password_get. Expected _p_svn_auth_cred_simple_t");
            }
        }
        result = (char *) ((arg1)->password);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_cred_simple_t_may_save_set) {
    {
        svn_auth_cred_simple_t *arg1 = (svn_auth_cred_simple_t *) 0 ;
        svn_boolean_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_cred_simple_t_may_save_set(self,may_save);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_simple_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_cred_simple_t_may_save_set. Expected _p_svn_auth_cred_simple_t");
            }
        }
        arg2 = (svn_boolean_t) SvIV(ST(1));
        if (arg1) (arg1)->may_save = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_cred_simple_t_may_save_get) {
    {
        svn_auth_cred_simple_t *arg1 = (svn_auth_cred_simple_t *) 0 ;
        svn_boolean_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_auth_cred_simple_t_may_save_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_simple_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_cred_simple_t_may_save_get. Expected _p_svn_auth_cred_simple_t");
            }
        }
        result = (svn_boolean_t) ((arg1)->may_save);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_svn_auth_cred_simple_t) {
    {
        svn_auth_cred_simple_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_svn_auth_cred_simple_t();");
        }
        {
            result = (svn_auth_cred_simple_t *)(svn_auth_cred_simple_t *) calloc(1, sizeof(svn_auth_cred_simple_t));
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_auth_cred_simple_t, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_svn_auth_cred_simple_t) {
    {
        svn_auth_cred_simple_t *arg1 = (svn_auth_cred_simple_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_svn_auth_cred_simple_t(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_simple_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_svn_auth_cred_simple_t. Expected _p_svn_auth_cred_simple_t");
            }
        }
        {
            free((char *) arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_cred_username_t_username_set) {
    {
        svn_auth_cred_username_t *arg1 = (svn_auth_cred_username_t *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_cred_username_t_username_set(self,username);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_username_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_cred_username_t_username_set. Expected _p_svn_auth_cred_username_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            apr_size_t len = strlen(arg2) + 1;
            char *copied;
            if (arg1->username) free((char *)arg1->username);
            copied = malloc(len);
            memcpy(copied, arg2, len);
            arg1->username = copied;
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_cred_username_t_username_get) {
    {
        svn_auth_cred_username_t *arg1 = (svn_auth_cred_username_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_auth_cred_username_t_username_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_username_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_cred_username_t_username_get. Expected _p_svn_auth_cred_username_t");
            }
        }
        result = (char *) ((arg1)->username);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_cred_username_t_may_save_set) {
    {
        svn_auth_cred_username_t *arg1 = (svn_auth_cred_username_t *) 0 ;
        svn_boolean_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_cred_username_t_may_save_set(self,may_save);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_username_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_cred_username_t_may_save_set. Expected _p_svn_auth_cred_username_t");
            }
        }
        arg2 = (svn_boolean_t) SvIV(ST(1));
        if (arg1) (arg1)->may_save = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_cred_username_t_may_save_get) {
    {
        svn_auth_cred_username_t *arg1 = (svn_auth_cred_username_t *) 0 ;
        svn_boolean_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_auth_cred_username_t_may_save_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_username_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_cred_username_t_may_save_get. Expected _p_svn_auth_cred_username_t");
            }
        }
        result = (svn_boolean_t) ((arg1)->may_save);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_svn_auth_cred_username_t) {
    {
        svn_auth_cred_username_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_svn_auth_cred_username_t();");
        }
        {
            result = (svn_auth_cred_username_t *)(svn_auth_cred_username_t *) calloc(1, sizeof(svn_auth_cred_username_t));
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_auth_cred_username_t, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_svn_auth_cred_username_t) {
    {
        svn_auth_cred_username_t *arg1 = (svn_auth_cred_username_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_svn_auth_cred_username_t(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_username_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_svn_auth_cred_username_t. Expected _p_svn_auth_cred_username_t");
            }
        }
        {
            free((char *) arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_cred_ssl_client_cert_t_cert_file_set) {
    {
        svn_auth_cred_ssl_client_cert_t *arg1 = (svn_auth_cred_ssl_client_cert_t *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_cred_ssl_client_cert_t_cert_file_set(self,cert_file);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_cred_ssl_client_cert_t_cert_file_set. Expected _p_svn_auth_cred_ssl_client_cert_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            apr_size_t len = strlen(arg2) + 1;
            char *copied;
            if (arg1->cert_file) free((char *)arg1->cert_file);
            copied = malloc(len);
            memcpy(copied, arg2, len);
            arg1->cert_file = copied;
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_cred_ssl_client_cert_t_cert_file_get) {
    {
        svn_auth_cred_ssl_client_cert_t *arg1 = (svn_auth_cred_ssl_client_cert_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_auth_cred_ssl_client_cert_t_cert_file_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_cred_ssl_client_cert_t_cert_file_get. Expected _p_svn_auth_cred_ssl_client_cert_t");
            }
        }
        result = (char *) ((arg1)->cert_file);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_cred_ssl_client_cert_t_may_save_set) {
    {
        svn_auth_cred_ssl_client_cert_t *arg1 = (svn_auth_cred_ssl_client_cert_t *) 0 ;
        svn_boolean_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_cred_ssl_client_cert_t_may_save_set(self,may_save);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_cred_ssl_client_cert_t_may_save_set. Expected _p_svn_auth_cred_ssl_client_cert_t");
            }
        }
        arg2 = (svn_boolean_t) SvIV(ST(1));
        if (arg1) (arg1)->may_save = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_cred_ssl_client_cert_t_may_save_get) {
    {
        svn_auth_cred_ssl_client_cert_t *arg1 = (svn_auth_cred_ssl_client_cert_t *) 0 ;
        svn_boolean_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_auth_cred_ssl_client_cert_t_may_save_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_cred_ssl_client_cert_t_may_save_get. Expected _p_svn_auth_cred_ssl_client_cert_t");
            }
        }
        result = (svn_boolean_t) ((arg1)->may_save);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_svn_auth_cred_ssl_client_cert_t) {
    {
        svn_auth_cred_ssl_client_cert_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_svn_auth_cred_ssl_client_cert_t();");
        }
        {
            result = (svn_auth_cred_ssl_client_cert_t *)(svn_auth_cred_ssl_client_cert_t *) calloc(1, sizeof(svn_auth_cred_ssl_client_cert_t));
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_svn_auth_cred_ssl_client_cert_t) {
    {
        svn_auth_cred_ssl_client_cert_t *arg1 = (svn_auth_cred_ssl_client_cert_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_svn_auth_cred_ssl_client_cert_t(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_svn_auth_cred_ssl_client_cert_t. Expected _p_svn_auth_cred_ssl_client_cert_t");
            }
        }
        {
            free((char *) arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_cred_ssl_client_cert_pw_t_password_set) {
    {
        svn_auth_cred_ssl_client_cert_pw_t *arg1 = (svn_auth_cred_ssl_client_cert_pw_t *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_cred_ssl_client_cert_pw_t_password_set(self,password);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_cred_ssl_client_cert_pw_t_password_set. Expected _p_svn_auth_cred_ssl_client_cert_pw_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            apr_size_t len = strlen(arg2) + 1;
            char *copied;
            if (arg1->password) free((char *)arg1->password);
            copied = malloc(len);
            memcpy(copied, arg2, len);
            arg1->password = copied;
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_cred_ssl_client_cert_pw_t_password_get) {
    {
        svn_auth_cred_ssl_client_cert_pw_t *arg1 = (svn_auth_cred_ssl_client_cert_pw_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_auth_cred_ssl_client_cert_pw_t_password_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_cred_ssl_client_cert_pw_t_password_get. Expected _p_svn_auth_cred_ssl_client_cert_pw_t");
            }
        }
        result = (char *) ((arg1)->password);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_cred_ssl_client_cert_pw_t_may_save_set) {
    {
        svn_auth_cred_ssl_client_cert_pw_t *arg1 = (svn_auth_cred_ssl_client_cert_pw_t *) 0 ;
        svn_boolean_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_cred_ssl_client_cert_pw_t_may_save_set(self,may_save);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_cred_ssl_client_cert_pw_t_may_save_set. Expected _p_svn_auth_cred_ssl_client_cert_pw_t");
            }
        }
        arg2 = (svn_boolean_t) SvIV(ST(1));
        if (arg1) (arg1)->may_save = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_cred_ssl_client_cert_pw_t_may_save_get) {
    {
        svn_auth_cred_ssl_client_cert_pw_t *arg1 = (svn_auth_cred_ssl_client_cert_pw_t *) 0 ;
        svn_boolean_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_auth_cred_ssl_client_cert_pw_t_may_save_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_cred_ssl_client_cert_pw_t_may_save_get. Expected _p_svn_auth_cred_ssl_client_cert_pw_t");
            }
        }
        result = (svn_boolean_t) ((arg1)->may_save);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_svn_auth_cred_ssl_client_cert_pw_t) {
    {
        svn_auth_cred_ssl_client_cert_pw_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_svn_auth_cred_ssl_client_cert_pw_t();");
        }
        {
            result = (svn_auth_cred_ssl_client_cert_pw_t *)(svn_auth_cred_ssl_client_cert_pw_t *) calloc(1, sizeof(svn_auth_cred_ssl_client_cert_pw_t));
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_svn_auth_cred_ssl_client_cert_pw_t) {
    {
        svn_auth_cred_ssl_client_cert_pw_t *arg1 = (svn_auth_cred_ssl_client_cert_pw_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_svn_auth_cred_ssl_client_cert_pw_t(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_svn_auth_cred_ssl_client_cert_pw_t. Expected _p_svn_auth_cred_ssl_client_cert_pw_t");
            }
        }
        {
            free((char *) arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_ssl_server_cert_info_t_hostname_set) {
    {
        svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_ssl_server_cert_info_t_hostname_set(self,hostname);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_ssl_server_cert_info_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_ssl_server_cert_info_t_hostname_set. Expected _p_svn_auth_ssl_server_cert_info_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            apr_size_t len = strlen(arg2) + 1;
            char *copied;
            if (arg1->hostname) free((char *)arg1->hostname);
            copied = malloc(len);
            memcpy(copied, arg2, len);
            arg1->hostname = copied;
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_ssl_server_cert_info_t_hostname_get) {
    {
        svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_auth_ssl_server_cert_info_t_hostname_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_ssl_server_cert_info_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_ssl_server_cert_info_t_hostname_get. Expected _p_svn_auth_ssl_server_cert_info_t");
            }
        }
        result = (char *) ((arg1)->hostname);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_ssl_server_cert_info_t_fingerprint_set) {
    {
        svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_ssl_server_cert_info_t_fingerprint_set(self,fingerprint);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_ssl_server_cert_info_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_ssl_server_cert_info_t_fingerprint_set. Expected _p_svn_auth_ssl_server_cert_info_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            apr_size_t len = strlen(arg2) + 1;
            char *copied;
            if (arg1->fingerprint) free((char *)arg1->fingerprint);
            copied = malloc(len);
            memcpy(copied, arg2, len);
            arg1->fingerprint = copied;
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_ssl_server_cert_info_t_fingerprint_get) {
    {
        svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_auth_ssl_server_cert_info_t_fingerprint_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_ssl_server_cert_info_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_ssl_server_cert_info_t_fingerprint_get. Expected _p_svn_auth_ssl_server_cert_info_t");
            }
        }
        result = (char *) ((arg1)->fingerprint);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_ssl_server_cert_info_t_valid_from_set) {
    {
        svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_ssl_server_cert_info_t_valid_from_set(self,valid_from);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_ssl_server_cert_info_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_ssl_server_cert_info_t_valid_from_set. Expected _p_svn_auth_ssl_server_cert_info_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            apr_size_t len = strlen(arg2) + 1;
            char *copied;
            if (arg1->valid_from) free((char *)arg1->valid_from);
            copied = malloc(len);
            memcpy(copied, arg2, len);
            arg1->valid_from = copied;
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_ssl_server_cert_info_t_valid_from_get) {
    {
        svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_auth_ssl_server_cert_info_t_valid_from_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_ssl_server_cert_info_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_ssl_server_cert_info_t_valid_from_get. Expected _p_svn_auth_ssl_server_cert_info_t");
            }
        }
        result = (char *) ((arg1)->valid_from);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_ssl_server_cert_info_t_valid_until_set) {
    {
        svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_ssl_server_cert_info_t_valid_until_set(self,valid_until);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_ssl_server_cert_info_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_ssl_server_cert_info_t_valid_until_set. Expected _p_svn_auth_ssl_server_cert_info_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            apr_size_t len = strlen(arg2) + 1;
            char *copied;
            if (arg1->valid_until) free((char *)arg1->valid_until);
            copied = malloc(len);
            memcpy(copied, arg2, len);
            arg1->valid_until = copied;
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_ssl_server_cert_info_t_valid_until_get) {
    {
        svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_auth_ssl_server_cert_info_t_valid_until_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_ssl_server_cert_info_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_ssl_server_cert_info_t_valid_until_get. Expected _p_svn_auth_ssl_server_cert_info_t");
            }
        }
        result = (char *) ((arg1)->valid_until);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_ssl_server_cert_info_t_issuer_dname_set) {
    {
        svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_ssl_server_cert_info_t_issuer_dname_set(self,issuer_dname);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_ssl_server_cert_info_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_ssl_server_cert_info_t_issuer_dname_set. Expected _p_svn_auth_ssl_server_cert_info_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            apr_size_t len = strlen(arg2) + 1;
            char *copied;
            if (arg1->issuer_dname) free((char *)arg1->issuer_dname);
            copied = malloc(len);
            memcpy(copied, arg2, len);
            arg1->issuer_dname = copied;
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_ssl_server_cert_info_t_issuer_dname_get) {
    {
        svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_auth_ssl_server_cert_info_t_issuer_dname_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_ssl_server_cert_info_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_ssl_server_cert_info_t_issuer_dname_get. Expected _p_svn_auth_ssl_server_cert_info_t");
            }
        }
        result = (char *) ((arg1)->issuer_dname);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_ssl_server_cert_info_t_ascii_cert_set) {
    {
        svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_ssl_server_cert_info_t_ascii_cert_set(self,ascii_cert);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_ssl_server_cert_info_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_ssl_server_cert_info_t_ascii_cert_set. Expected _p_svn_auth_ssl_server_cert_info_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            apr_size_t len = strlen(arg2) + 1;
            char *copied;
            if (arg1->ascii_cert) free((char *)arg1->ascii_cert);
            copied = malloc(len);
            memcpy(copied, arg2, len);
            arg1->ascii_cert = copied;
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_ssl_server_cert_info_t_ascii_cert_get) {
    {
        svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_auth_ssl_server_cert_info_t_ascii_cert_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_ssl_server_cert_info_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_ssl_server_cert_info_t_ascii_cert_get. Expected _p_svn_auth_ssl_server_cert_info_t");
            }
        }
        result = (char *) ((arg1)->ascii_cert);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_svn_auth_ssl_server_cert_info_t) {
    {
        svn_auth_ssl_server_cert_info_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_svn_auth_ssl_server_cert_info_t();");
        }
        {
            result = (svn_auth_ssl_server_cert_info_t *)(svn_auth_ssl_server_cert_info_t *) calloc(1, sizeof(svn_auth_ssl_server_cert_info_t));
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_auth_ssl_server_cert_info_t, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_svn_auth_ssl_server_cert_info_t) {
    {
        svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_svn_auth_ssl_server_cert_info_t(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_ssl_server_cert_info_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_svn_auth_ssl_server_cert_info_t. Expected _p_svn_auth_ssl_server_cert_info_t");
            }
        }
        {
            free((char *) arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_ssl_server_cert_info_dup) {
    {
        svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ;
        apr_pool_t *arg2 = (apr_pool_t *) 0 ;
        svn_auth_ssl_server_cert_info_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_ssl_server_cert_info_dup(info,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_ssl_server_cert_info_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_ssl_server_cert_info_dup. Expected _p_svn_auth_ssl_server_cert_info_t");
            }
        }
        if (items > 1) {
            
        }
        {
            result = (svn_auth_ssl_server_cert_info_t *)svn_auth_ssl_server_cert_info_dup((struct svn_auth_ssl_server_cert_info_t const *)arg1,arg2);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_auth_ssl_server_cert_info_t, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_cred_ssl_server_trust_t_may_save_set) {
    {
        svn_auth_cred_ssl_server_trust_t *arg1 = (svn_auth_cred_ssl_server_trust_t *) 0 ;
        svn_boolean_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_cred_ssl_server_trust_t_may_save_set(self,may_save);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_cred_ssl_server_trust_t_may_save_set. Expected _p_svn_auth_cred_ssl_server_trust_t");
            }
        }
        arg2 = (svn_boolean_t) SvIV(ST(1));
        if (arg1) (arg1)->may_save = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_cred_ssl_server_trust_t_may_save_get) {
    {
        svn_auth_cred_ssl_server_trust_t *arg1 = (svn_auth_cred_ssl_server_trust_t *) 0 ;
        svn_boolean_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_auth_cred_ssl_server_trust_t_may_save_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_cred_ssl_server_trust_t_may_save_get. Expected _p_svn_auth_cred_ssl_server_trust_t");
            }
        }
        result = (svn_boolean_t) ((arg1)->may_save);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_cred_ssl_server_trust_t_accepted_failures_set) {
    {
        svn_auth_cred_ssl_server_trust_t *arg1 = (svn_auth_cred_ssl_server_trust_t *) 0 ;
        apr_uint32_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_cred_ssl_server_trust_t_accepted_failures_set(self,accepted_failures);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_cred_ssl_server_trust_t_accepted_failures_set. Expected _p_svn_auth_cred_ssl_server_trust_t");
            }
        }
        arg2 = (apr_uint32_t) SvUV(ST(1));
        if (arg1) (arg1)->accepted_failures = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_cred_ssl_server_trust_t_accepted_failures_get) {
    {
        svn_auth_cred_ssl_server_trust_t *arg1 = (svn_auth_cred_ssl_server_trust_t *) 0 ;
        apr_uint32_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_auth_cred_ssl_server_trust_t_accepted_failures_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_cred_ssl_server_trust_t_accepted_failures_get. Expected _p_svn_auth_cred_ssl_server_trust_t");
            }
        }
        result =  ((arg1)->accepted_failures);
        
        ST(argvi) = sv_newmortal();
        sv_setuv(ST(argvi++), (UV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_svn_auth_cred_ssl_server_trust_t) {
    {
        svn_auth_cred_ssl_server_trust_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_svn_auth_cred_ssl_server_trust_t();");
        }
        {
            result = (svn_auth_cred_ssl_server_trust_t *)(svn_auth_cred_ssl_server_trust_t *) calloc(1, sizeof(svn_auth_cred_ssl_server_trust_t));
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_svn_auth_cred_ssl_server_trust_t) {
    {
        svn_auth_cred_ssl_server_trust_t *arg1 = (svn_auth_cred_ssl_server_trust_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_svn_auth_cred_ssl_server_trust_t(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_svn_auth_cred_ssl_server_trust_t. Expected _p_svn_auth_cred_ssl_server_trust_t");
            }
        }
        {
            free((char *) arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_open) {
    {
        svn_auth_baton_t **arg1 = (svn_auth_baton_t **) 0 ;
        apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
        apr_pool_t *arg3 = (apr_pool_t *) 0 ;
        apr_pool_t *_global_pool ;
        svn_auth_baton_t *temp1 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
        }
        {
            arg1 = (svn_auth_baton_t **)&temp1;
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_open(providers,pool);");
        }
        {
            arg2 = (apr_array_header_t *) svn_swig_pl_objs_to_array(ST(0),
            SWIGTYPE_p_svn_auth_provider_object_t, _global_pool);
        }
        if (items > 1) {
            
        }
        {
            svn_auth_open(arg1,arg2,arg3);
            
            
            
            
        }
        
        {
            ST(argvi) = sv_newmortal();
            SWIG_MakePtr(ST(argvi++), (void *)*arg1, SWIGTYPE_p_svn_auth_baton_t,0);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_set_parameter) {
    {
        svn_auth_baton_t *arg1 = (svn_auth_baton_t *) 0 ;
        char *arg2 = (char *) 0 ;
        void *arg3 = (void *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: svn_auth_set_parameter(auth_baton,name,value);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_baton_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_set_parameter. Expected _p_svn_auth_baton_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, 0,0) < 0) {
                SWIG_croak("Type error in argument 3 of svn_auth_set_parameter. Expected _p_void");
            }
        }
        {
            svn_auth_set_parameter(arg1,(char const *)arg2,(void const *)arg3);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_first_credentials) {
    {
        void **arg1 = (void **) 0 ;
        svn_auth_iterstate_t **arg2 = (svn_auth_iterstate_t **) 0 ;
        char *arg3 = (char *) 0 ;
        char *arg4 = (char *) 0 ;
        svn_auth_baton_t *arg5 = (svn_auth_baton_t *) 0 ;
        apr_pool_t *arg6 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg6 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 5) || (items > 6)) {
            SWIG_croak("Usage: svn_auth_first_credentials(credentials,state,cred_kind,realmstring,auth_baton,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_p_void,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_first_credentials. Expected _p_p_void");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_p_svn_auth_iterstate_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_auth_first_credentials. Expected _p_p_svn_auth_iterstate_t");
            }
        }
        if (!SvOK((SV*) ST(2))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(2), PL_na);
        if (!SvOK((SV*) ST(3))) arg4 = 0;
        else arg4 = (char *) SvPV(ST(3), PL_na);
        {
            if (SWIG_ConvertPtr(ST(4), (void **) &arg5, SWIGTYPE_p_svn_auth_baton_t,0) < 0) {
                SWIG_croak("Type error in argument 5 of svn_auth_first_credentials. Expected _p_svn_auth_baton_t");
            }
        }
        if (items > 5) {
            
        }
        {
            result = (svn_error_t *)svn_auth_first_credentials(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5,arg6);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_next_credentials) {
    {
        void **arg1 = (void **) 0 ;
        svn_auth_iterstate_t *arg2 = (svn_auth_iterstate_t *) 0 ;
        apr_pool_t *arg3 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 2) || (items > 3)) {
            SWIG_croak("Usage: svn_auth_next_credentials(credentials,state,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_p_void,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_next_credentials. Expected _p_p_void");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_svn_auth_iterstate_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_auth_next_credentials. Expected _p_svn_auth_iterstate_t");
            }
        }
        if (items > 2) {
            
        }
        {
            result = (svn_error_t *)svn_auth_next_credentials(arg1,arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_auth_save_credentials) {
    {
        svn_auth_iterstate_t *arg1 = (svn_auth_iterstate_t *) 0 ;
        apr_pool_t *arg2 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_auth_save_credentials(state,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_auth_iterstate_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_auth_save_credentials. Expected _p_svn_auth_iterstate_t");
            }
        }
        if (items > 1) {
            
        }
        {
            result = (svn_error_t *)svn_auth_save_credentials(arg1,arg2);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_config_get_config) {
    {
        apr_hash_t **arg1 = (apr_hash_t **) 0 ;
        char *arg2 = (char *) 0 ;
        apr_pool_t *arg3 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        apr_hash_t *temp1 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
        }
        arg1 = &temp1;
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_config_get_config(config_dir,pool);");
        }
        if (!SvOK((SV*) ST(0))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(0), PL_na);
        if (items > 1) {
            
        }
        {
            result = (svn_error_t *)svn_config_get_config(arg1,(char const *)arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            ST(argvi++) = svn_swig_pl_convert_hash(*arg1, SWIGTYPE_p_svn_config_t);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_config_read) {
    {
        svn_config_t **arg1 = (svn_config_t **) 0 ;
        char *arg2 = (char *) 0 ;
        svn_boolean_t arg3 ;
        apr_pool_t *arg4 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        svn_config_t *temp1 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
        }
        {
            arg1 = (svn_config_t **)&temp1;
        }
        if ((items < 2) || (items > 3)) {
            SWIG_croak("Usage: svn_config_read(file,must_exist,pool);");
        }
        if (!SvOK((SV*) ST(0))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(0), PL_na);
        arg3 = (svn_boolean_t) SvIV(ST(1));
        if (items > 2) {
            
        }
        {
            result = (svn_error_t *)svn_config_read(arg1,(char const *)arg2,arg3,arg4);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            ST(argvi) = sv_newmortal();
            SWIG_MakePtr(ST(argvi++), (void *)*arg1, SWIGTYPE_p_svn_config_t,0);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_config_merge) {
    {
        svn_config_t *arg1 = (svn_config_t *) 0 ;
        char *arg2 = (char *) 0 ;
        svn_boolean_t arg3 ;
        svn_error_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: svn_config_merge(cfg,file,must_exist);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_config_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_config_merge. Expected _p_svn_config_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        arg3 = (svn_boolean_t) SvIV(ST(2));
        {
            result = (svn_error_t *)svn_config_merge(arg1,(char const *)arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_config_get) {
    {
        svn_config_t *arg1 = (svn_config_t *) 0 ;
        char **arg2 = (char **) 0 ;
        char *arg3 = (char *) 0 ;
        char *arg4 = (char *) 0 ;
        char *arg5 = (char *) 0 ;
        char const *temp2 = NULL ;
        int argvi = 0;
        dXSARGS;
        
        arg2 = (char **)&temp2;
        if ((items < 4) || (items > 4)) {
            SWIG_croak("Usage: svn_config_get(cfg,section,option,default_value);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_config_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_config_get. Expected _p_svn_config_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(1), PL_na);
        if (!SvOK((SV*) ST(2))) arg4 = 0;
        else arg4 = (char *) SvPV(ST(2), PL_na);
        if (!SvOK((SV*) ST(3))) arg5 = 0;
        else arg5 = (char *) SvPV(ST(3), PL_na);
        {
            svn_config_get(arg1,(char const **)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5);
            
            
            
            
        }
        
        {
            if (*arg2 == NULL)
            ST(argvi) = &PL_sv_undef;
            else
            ST(argvi) = sv_2mortal(newSVpv(*arg2, 0));
            ++argvi;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_config_set) {
    {
        svn_config_t *arg1 = (svn_config_t *) 0 ;
        char *arg2 = (char *) 0 ;
        char *arg3 = (char *) 0 ;
        char *arg4 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 4) || (items > 4)) {
            SWIG_croak("Usage: svn_config_set(cfg,section,option,value);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_config_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_config_set. Expected _p_svn_config_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        if (!SvOK((SV*) ST(2))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(2), PL_na);
        if (!SvOK((SV*) ST(3))) arg4 = 0;
        else arg4 = (char *) SvPV(ST(3), PL_na);
        {
            svn_config_set(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_config_get_bool) {
    {
        svn_config_t *arg1 = (svn_config_t *) 0 ;
        svn_boolean_t *arg2 = (svn_boolean_t *) 0 ;
        char *arg3 = (char *) 0 ;
        char *arg4 = (char *) 0 ;
        svn_boolean_t arg5 ;
        svn_error_t *result;
        int temp2 ;
        int argvi = 0;
        dXSARGS;
        
        arg2 = &temp2;
        if ((items < 4) || (items > 4)) {
            SWIG_croak("Usage: svn_config_get_bool(cfg,section,option,default_value);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_config_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_config_get_bool. Expected _p_svn_config_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(1), PL_na);
        if (!SvOK((SV*) ST(2))) arg4 = 0;
        else arg4 = (char *) SvPV(ST(2), PL_na);
        arg5 = (svn_boolean_t) SvIV(ST(3));
        {
            result = (svn_error_t *)svn_config_get_bool(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            if (argvi >= items) {
                EXTEND(sp,1);
            }
            ST(argvi) = sv_newmortal();
            sv_setiv(ST(argvi),(IV) *(arg2));
            argvi++;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_config_set_bool) {
    {
        svn_config_t *arg1 = (svn_config_t *) 0 ;
        char *arg2 = (char *) 0 ;
        char *arg3 = (char *) 0 ;
        svn_boolean_t arg4 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 4) || (items > 4)) {
            SWIG_croak("Usage: svn_config_set_bool(cfg,section,option,value);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_config_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_config_set_bool. Expected _p_svn_config_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        if (!SvOK((SV*) ST(2))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(2), PL_na);
        arg4 = (svn_boolean_t) SvIV(ST(3));
        {
            svn_config_set_bool(arg1,(char const *)arg2,(char const *)arg3,arg4);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_config_enumerate_sections) {
    {
        svn_config_t *arg1 = (svn_config_t *) 0 ;
        svn_config_section_enumerator_t arg2 = (svn_config_section_enumerator_t) 0 ;
        void *arg3 = (void *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: svn_config_enumerate_sections(cfg,callback,baton);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_config_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_config_enumerate_sections. Expected _p_svn_config_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_q_const__char_p_void__int,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_config_enumerate_sections. Expected _p_f_p_q_const__char_p_void__int");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, 0,0) < 0) {
                SWIG_croak("Type error in argument 3 of svn_config_enumerate_sections. Expected _p_void");
            }
        }
        {
            result = (int)svn_config_enumerate_sections(arg1,arg2,arg3);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_config_enumerate_sections2) {
    {
        svn_config_t *arg1 = (svn_config_t *) 0 ;
        svn_config_section_enumerator2_t arg2 = (svn_config_section_enumerator2_t) 0 ;
        void *arg3 = (void *) 0 ;
        apr_pool_t *arg4 = (apr_pool_t *) 0 ;
        int result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 3) || (items > 4)) {
            SWIG_croak("Usage: svn_config_enumerate_sections2(cfg,callback,baton,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_config_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_config_enumerate_sections2. Expected _p_svn_config_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_q_const__char_p_void_p_apr_pool_t__int,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_config_enumerate_sections2. Expected _p_f_p_q_const__char_p_void_p_apr_pool_t__int");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, 0,0) < 0) {
                SWIG_croak("Type error in argument 3 of svn_config_enumerate_sections2. Expected _p_void");
            }
        }
        if (items > 3) {
            
        }
        {
            result = (int)svn_config_enumerate_sections2(arg1,arg2,arg3,arg4);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_config_enumerate) {
    {
        svn_config_t *arg1 = (svn_config_t *) 0 ;
        char *arg2 = (char *) 0 ;
        svn_config_enumerator_t arg3 = (svn_config_enumerator_t) 0 ;
        void *arg4 = (void *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: svn_config_enumerate(cfg,section,callback,baton);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_config_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_config_enumerate. Expected _p_svn_config_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            arg3 = svn_swig_pl_thunk_config_enumerator,
            arg4 = (void *)ST(2);
        }
        {
            result = (int)svn_config_enumerate(arg1,(char const *)arg2,arg3,arg4);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_config_enumerate2) {
    {
        svn_config_t *arg1 = (svn_config_t *) 0 ;
        char *arg2 = (char *) 0 ;
        svn_config_enumerator2_t arg3 = (svn_config_enumerator2_t) 0 ;
        void *arg4 = (void *) 0 ;
        apr_pool_t *arg5 = (apr_pool_t *) 0 ;
        int result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 4) || (items > 5)) {
            SWIG_croak("Usage: svn_config_enumerate2(cfg,section,callback,baton,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_config_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_config_enumerate2. Expected _p_svn_config_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void_p_apr_pool_t__int,0) < 0) {
                SWIG_croak("Type error in argument 3 of svn_config_enumerate2. Expected _p_f_p_q_const__char_p_q_const__char_p_void_p_apr_pool_t__int");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(3), (void **) &arg4, 0,0) < 0) {
                SWIG_croak("Type error in argument 4 of svn_config_enumerate2. Expected _p_void");
            }
        }
        if (items > 4) {
            
        }
        {
            result = (int)svn_config_enumerate2(arg1,(char const *)arg2,arg3,arg4,arg5);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_config_find_group) {
    {
        svn_config_t *arg1 = (svn_config_t *) 0 ;
        char *arg2 = (char *) 0 ;
        char *arg3 = (char *) 0 ;
        apr_pool_t *arg4 = (apr_pool_t *) 0 ;
        char *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 3) || (items > 4)) {
            SWIG_croak("Usage: svn_config_find_group(cfg,key,master_section,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_config_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_config_find_group. Expected _p_svn_config_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        if (!SvOK((SV*) ST(2))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(2), PL_na);
        if (items > 3) {
            
        }
        {
            result = (char *)svn_config_find_group(arg1,(char const *)arg2,(char const *)arg3,arg4);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_config_get_server_setting) {
    {
        svn_config_t *arg1 = (svn_config_t *) 0 ;
        char *arg2 = (char *) 0 ;
        char *arg3 = (char *) 0 ;
        char *arg4 = (char *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 4) || (items > 4)) {
            SWIG_croak("Usage: svn_config_get_server_setting(cfg,server_group,option_name,default_value);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_config_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_config_get_server_setting. Expected _p_svn_config_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        if (!SvOK((SV*) ST(2))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(2), PL_na);
        if (!SvOK((SV*) ST(3))) arg4 = 0;
        else arg4 = (char *) SvPV(ST(3), PL_na);
        {
            result = (char *)svn_config_get_server_setting(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_config_get_server_setting_int) {
    {
        svn_config_t *arg1 = (svn_config_t *) 0 ;
        char *arg2 = (char *) 0 ;
        char *arg3 = (char *) 0 ;
        apr_int64_t arg4 ;
        apr_int64_t *arg5 = (apr_int64_t *) 0 ;
        apr_pool_t *arg6 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        apr_int64_t temp5 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg6 = svn_swig_pl_make_pool (ST(items-1));
        }
        arg5 = &temp5;
        if ((items < 4) || (items > 5)) {
            SWIG_croak("Usage: svn_config_get_server_setting_int(cfg,server_group,option_name,default_value,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_config_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_config_get_server_setting_int. Expected _p_svn_config_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        if (!SvOK((SV*) ST(2))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(2), PL_na);
        arg4 = (apr_int64_t) strtoll(SvPV(ST(3), PL_na), 0, 0);
        if (items > 4) {
            
        }
        {
            result = (svn_error_t *)svn_config_get_server_setting_int(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            char temp[256];
            if (argvi >= items) {
                EXTEND(sp,1);
            }
            sprintf(temp, "%" APR_INT64_T_FMT, (apr_int64_t)*(arg5));
            ST(argvi) = sv_newmortal();
            sv_setpv(ST(argvi),temp);
            argvi++;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_config_ensure) {
    {
        char *arg1 = (char *) 0 ;
        apr_pool_t *arg2 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_config_ensure(config_dir,pool);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        if (items > 1) {
            
        }
        {
            result = (svn_error_t *)svn_config_ensure((char const *)arg1,arg2);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_config_read_auth_data) {
    {
        apr_hash_t **arg1 = (apr_hash_t **) 0 ;
        char *arg2 = (char *) 0 ;
        char *arg3 = (char *) 0 ;
        char *arg4 = (char *) 0 ;
        apr_pool_t *arg5 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 4) || (items > 5)) {
            SWIG_croak("Usage: svn_config_read_auth_data(hash,cred_kind,realmstring,config_dir,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_p_apr_hash_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_config_read_auth_data. Expected _p_p_apr_hash_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        if (!SvOK((SV*) ST(2))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(2), PL_na);
        if (!SvOK((SV*) ST(3))) arg4 = 0;
        else arg4 = (char *) SvPV(ST(3), PL_na);
        if (items > 4) {
            
        }
        {
            result = (svn_error_t *)svn_config_read_auth_data(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_config_write_auth_data) {
    {
        apr_hash_t *arg1 = (apr_hash_t *) 0 ;
        char *arg2 = (char *) 0 ;
        char *arg3 = (char *) 0 ;
        char *arg4 = (char *) 0 ;
        apr_pool_t *arg5 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 4) || (items > 5)) {
            SWIG_croak("Usage: svn_config_write_auth_data(hash,cred_kind,realmstring,config_dir,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_apr_hash_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_config_write_auth_data. Expected _p_apr_hash_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        if (!SvOK((SV*) ST(2))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(2), PL_na);
        if (!SvOK((SV*) ST(3))) arg4 = 0;
        else arg4 = (char *) SvPV(ST(3), PL_na);
        if (items > 4) {
            
        }
        {
            result = (svn_error_t *)svn_config_write_auth_data(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_utf_initialize) {
    {
        apr_pool_t *arg1 = (apr_pool_t *) 0 ;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg1 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 0) || (items > 1)) {
            SWIG_croak("Usage: svn_utf_initialize(pool);");
        }
        if (items > 0) {
            
        }
        {
            svn_utf_initialize(arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_utf_stringbuf_to_utf8) {
    {
        svn_stringbuf_t **arg1 = (svn_stringbuf_t **) 0 ;
        svn_stringbuf_t *arg2 = (svn_stringbuf_t *) 0 ;
        apr_pool_t *arg3 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        svn_stringbuf_t *temp1 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
        }
        {
            arg1 = &temp1;
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_utf_stringbuf_to_utf8(src,pool);");
        }
        {
            apr_size_t len;
            char *buf;
            
            if (!SvOK(ST(0))) {
                arg2 = NULL;
            } else if (SvPOK(ST(0))) {
                buf = SvPV(ST(0), len);
                /* Another case of ugly pool handling, this should use the current
                           default pool, or make a new one if it doesn't exist yet */
                arg2 = svn_stringbuf_ncreate(buf,len,
                svn_swig_pl_make_pool ((SV *)NULL));
            } else {
                croak("Not a string");
            }
        }
        if (items > 1) {
            
        }
        {
            result = (svn_error_t *)svn_utf_stringbuf_to_utf8(arg1,(struct svn_stringbuf_t const *)arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            if (*arg1) {
                ST(argvi) = sv_newmortal();
                sv_setpvn (ST(argvi), (*arg1)->data, (*arg1)->len);
            }
            else
            ST(argvi) = &PL_sv_undef;
            argvi++;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_utf_string_to_utf8) {
    {
        svn_string_t **arg1 = (svn_string_t **) 0 ;
        svn_string_t *arg2 = (svn_string_t *) 0 ;
        apr_pool_t *arg3 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        svn_string_t *temp1 ;
        svn_string_t value2 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
        }
        {
            arg1 = &temp1;
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_utf_string_to_utf8(src,pool);");
        }
        {
            if (SvOK(ST(0))) {
                value2.data = SvPV(ST(0), value2.len);
                arg2 = &value2;
            }
            else {
                arg2 = NULL;
            }
        }
        if (items > 1) {
            
        }
        {
            result = (svn_error_t *)svn_utf_string_to_utf8((struct svn_string_t const **)arg1,(struct svn_string_t const *)arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            if (*arg1) {
                ST(argvi) = sv_newmortal();
                sv_setpvn (ST(argvi), (*arg1)->data, (*arg1)->len);
            }
            else
            ST(argvi) = &PL_sv_undef;
            argvi++;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_utf_cstring_to_utf8) {
    {
        char **arg1 = (char **) 0 ;
        char *arg2 = (char *) 0 ;
        apr_pool_t *arg3 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        char const *temp1 = NULL ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
        }
        arg1 = (char **)&temp1;
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_utf_cstring_to_utf8(src,pool);");
        }
        if (!SvOK((SV*) ST(0))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(0), PL_na);
        if (items > 1) {
            
        }
        {
            result = (svn_error_t *)svn_utf_cstring_to_utf8((char const **)arg1,(char const *)arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            if (*arg1 == NULL)
            ST(argvi) = &PL_sv_undef;
            else
            ST(argvi) = sv_2mortal(newSVpv(*arg1, 0));
            ++argvi;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_utf_cstring_to_utf8_ex) {
    {
        char **arg1 = (char **) 0 ;
        char *arg2 = (char *) 0 ;
        char *arg3 = (char *) 0 ;
        char *arg4 = (char *) 0 ;
        apr_pool_t *arg5 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        char const *temp1 = NULL ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
        }
        arg1 = (char **)&temp1;
        if ((items < 3) || (items > 4)) {
            SWIG_croak("Usage: svn_utf_cstring_to_utf8_ex(src,frompage,convset_key,pool);");
        }
        if (!SvOK((SV*) ST(0))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(0), PL_na);
        if (!SvOK((SV*) ST(1))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(1), PL_na);
        if (!SvOK((SV*) ST(2))) arg4 = 0;
        else arg4 = (char *) SvPV(ST(2), PL_na);
        if (items > 3) {
            
        }
        {
            result = (svn_error_t *)svn_utf_cstring_to_utf8_ex((char const **)arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            if (*arg1 == NULL)
            ST(argvi) = &PL_sv_undef;
            else
            ST(argvi) = sv_2mortal(newSVpv(*arg1, 0));
            ++argvi;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_utf_stringbuf_from_utf8) {
    {
        svn_stringbuf_t **arg1 = (svn_stringbuf_t **) 0 ;
        svn_stringbuf_t *arg2 = (svn_stringbuf_t *) 0 ;
        apr_pool_t *arg3 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        svn_stringbuf_t *temp1 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
        }
        {
            arg1 = &temp1;
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_utf_stringbuf_from_utf8(src,pool);");
        }
        {
            apr_size_t len;
            char *buf;
            
            if (!SvOK(ST(0))) {
                arg2 = NULL;
            } else if (SvPOK(ST(0))) {
                buf = SvPV(ST(0), len);
                /* Another case of ugly pool handling, this should use the current
                           default pool, or make a new one if it doesn't exist yet */
                arg2 = svn_stringbuf_ncreate(buf,len,
                svn_swig_pl_make_pool ((SV *)NULL));
            } else {
                croak("Not a string");
            }
        }
        if (items > 1) {
            
        }
        {
            result = (svn_error_t *)svn_utf_stringbuf_from_utf8(arg1,(struct svn_stringbuf_t const *)arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            if (*arg1) {
                ST(argvi) = sv_newmortal();
                sv_setpvn (ST(argvi), (*arg1)->data, (*arg1)->len);
            }
            else
            ST(argvi) = &PL_sv_undef;
            argvi++;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_utf_string_from_utf8) {
    {
        svn_string_t **arg1 = (svn_string_t **) 0 ;
        svn_string_t *arg2 = (svn_string_t *) 0 ;
        apr_pool_t *arg3 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        svn_string_t *temp1 ;
        svn_string_t value2 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
        }
        {
            arg1 = &temp1;
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_utf_string_from_utf8(src,pool);");
        }
        {
            if (SvOK(ST(0))) {
                value2.data = SvPV(ST(0), value2.len);
                arg2 = &value2;
            }
            else {
                arg2 = NULL;
            }
        }
        if (items > 1) {
            
        }
        {
            result = (svn_error_t *)svn_utf_string_from_utf8((struct svn_string_t const **)arg1,(struct svn_string_t const *)arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            if (*arg1) {
                ST(argvi) = sv_newmortal();
                sv_setpvn (ST(argvi), (*arg1)->data, (*arg1)->len);
            }
            else
            ST(argvi) = &PL_sv_undef;
            argvi++;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_utf_cstring_from_utf8) {
    {
        char **arg1 = (char **) 0 ;
        char *arg2 = (char *) 0 ;
        apr_pool_t *arg3 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        char const *temp1 = NULL ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
        }
        arg1 = (char **)&temp1;
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_utf_cstring_from_utf8(src,pool);");
        }
        if (!SvOK((SV*) ST(0))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(0), PL_na);
        if (items > 1) {
            
        }
        {
            result = (svn_error_t *)svn_utf_cstring_from_utf8((char const **)arg1,(char const *)arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            if (*arg1 == NULL)
            ST(argvi) = &PL_sv_undef;
            else
            ST(argvi) = sv_2mortal(newSVpv(*arg1, 0));
            ++argvi;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_utf_cstring_from_utf8_ex) {
    {
        char **arg1 = (char **) 0 ;
        char *arg2 = (char *) 0 ;
        char *arg3 = (char *) 0 ;
        char *arg4 = (char *) 0 ;
        apr_pool_t *arg5 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        char const *temp1 = NULL ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
        }
        arg1 = (char **)&temp1;
        if ((items < 3) || (items > 4)) {
            SWIG_croak("Usage: svn_utf_cstring_from_utf8_ex(src,topage,convset_key,pool);");
        }
        if (!SvOK((SV*) ST(0))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(0), PL_na);
        if (!SvOK((SV*) ST(1))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(1), PL_na);
        if (!SvOK((SV*) ST(2))) arg4 = 0;
        else arg4 = (char *) SvPV(ST(2), PL_na);
        if (items > 3) {
            
        }
        {
            result = (svn_error_t *)svn_utf_cstring_from_utf8_ex((char const **)arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            if (*arg1 == NULL)
            ST(argvi) = &PL_sv_undef;
            else
            ST(argvi) = sv_2mortal(newSVpv(*arg1, 0));
            ++argvi;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_utf_cstring_from_utf8_fuzzy) {
    {
        char *arg1 = (char *) 0 ;
        apr_pool_t *arg2 = (apr_pool_t *) 0 ;
        char *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_utf_cstring_from_utf8_fuzzy(src,pool);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        if (items > 1) {
            
        }
        {
            result = (char *)svn_utf_cstring_from_utf8_fuzzy((char const *)arg1,arg2);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_utf_cstring_from_utf8_stringbuf) {
    {
        char **arg1 = (char **) 0 ;
        svn_stringbuf_t *arg2 = (svn_stringbuf_t *) 0 ;
        apr_pool_t *arg3 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        char const *temp1 = NULL ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
        }
        arg1 = (char **)&temp1;
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_utf_cstring_from_utf8_stringbuf(src,pool);");
        }
        {
            apr_size_t len;
            char *buf;
            
            if (!SvOK(ST(0))) {
                arg2 = NULL;
            } else if (SvPOK(ST(0))) {
                buf = SvPV(ST(0), len);
                /* Another case of ugly pool handling, this should use the current
                           default pool, or make a new one if it doesn't exist yet */
                arg2 = svn_stringbuf_ncreate(buf,len,
                svn_swig_pl_make_pool ((SV *)NULL));
            } else {
                croak("Not a string");
            }
        }
        if (items > 1) {
            
        }
        {
            result = (svn_error_t *)svn_utf_cstring_from_utf8_stringbuf((char const **)arg1,(struct svn_stringbuf_t const *)arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            if (*arg1 == NULL)
            ST(argvi) = &PL_sv_undef;
            else
            ST(argvi) = sv_2mortal(newSVpv(*arg1, 0));
            ++argvi;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_utf_cstring_from_utf8_string) {
    {
        char **arg1 = (char **) 0 ;
        svn_string_t *arg2 = (svn_string_t *) 0 ;
        apr_pool_t *arg3 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        char const *temp1 = NULL ;
        svn_string_t value2 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
        }
        arg1 = (char **)&temp1;
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_utf_cstring_from_utf8_string(src,pool);");
        }
        {
            if (SvOK(ST(0))) {
                value2.data = SvPV(ST(0), value2.len);
                arg2 = &value2;
            }
            else {
                arg2 = NULL;
            }
        }
        if (items > 1) {
            
        }
        {
            result = (svn_error_t *)svn_utf_cstring_from_utf8_string((char const **)arg1,(struct svn_string_t const *)arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            if (*arg1 == NULL)
            ST(argvi) = &PL_sv_undef;
            else
            ST(argvi) = sv_2mortal(newSVpv(*arg1, 0));
            ++argvi;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_nls_init) {
    {
        svn_error_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: svn_nls_init();");
        }
        {
            result = (svn_error_t *)svn_nls_init();
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_io_dirent_t_kind_set) {
    {
        svn_io_dirent_t *arg1 = (svn_io_dirent_t *) 0 ;
        svn_node_kind_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_io_dirent_t_kind_set(self,kind);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_io_dirent_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_io_dirent_t_kind_set. Expected _p_svn_io_dirent_t");
            }
        }
        arg2 = (svn_node_kind_t) SvIV(ST(1));
        if (arg1) (arg1)->kind = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_io_dirent_t_kind_get) {
    {
        svn_io_dirent_t *arg1 = (svn_io_dirent_t *) 0 ;
        svn_node_kind_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_io_dirent_t_kind_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_io_dirent_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_io_dirent_t_kind_get. Expected _p_svn_io_dirent_t");
            }
        }
        result = (svn_node_kind_t) ((arg1)->kind);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_io_dirent_t_special_set) {
    {
        svn_io_dirent_t *arg1 = (svn_io_dirent_t *) 0 ;
        svn_boolean_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_io_dirent_t_special_set(self,special);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_io_dirent_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_io_dirent_t_special_set. Expected _p_svn_io_dirent_t");
            }
        }
        arg2 = (svn_boolean_t) SvIV(ST(1));
        if (arg1) (arg1)->special = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_io_dirent_t_special_get) {
    {
        svn_io_dirent_t *arg1 = (svn_io_dirent_t *) 0 ;
        svn_boolean_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_io_dirent_t_special_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_io_dirent_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_io_dirent_t_special_get. Expected _p_svn_io_dirent_t");
            }
        }
        result = (svn_boolean_t) ((arg1)->special);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_svn_io_dirent_t) {
    {
        svn_io_dirent_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_svn_io_dirent_t();");
        }
        {
            result = (svn_io_dirent_t *)(svn_io_dirent_t *) calloc(1, sizeof(svn_io_dirent_t));
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_io_dirent_t, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_svn_io_dirent_t) {
    {
        svn_io_dirent_t *arg1 = (svn_io_dirent_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_svn_io_dirent_t(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_io_dirent_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_svn_io_dirent_t. Expected _p_svn_io_dirent_t");
            }
        }
        {
            free((char *) arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_io_open_unique_file) {
    {
        apr_file_t **arg1 = (apr_file_t **) 0 ;
        char **arg2 = (char **) 0 ;
        char *arg3 = (char *) 0 ;
        char *arg4 = (char *) 0 ;
        svn_boolean_t arg5 ;
        apr_pool_t *arg6 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        apr_file_t *temp1 ;
        char const *temp2 = NULL ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg6 = svn_swig_pl_make_pool (ST(items-1));
        }
        arg1 = &temp1;
        arg2 = (char **)&temp2;
        if ((items < 3) || (items > 4)) {
            SWIG_croak("Usage: svn_io_open_unique_file(path,suffix,delete_on_close,pool);");
        }
        if (!SvOK((SV*) ST(0))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(0), PL_na);
        if (!SvOK((SV*) ST(1))) arg4 = 0;
        else arg4 = (char *) SvPV(ST(1), PL_na);
        arg5 = (svn_boolean_t) SvIV(ST(2));
        if (items > 3) {
            
        }
        {
            result = (svn_error_t *)svn_io_open_unique_file(arg1,(char const **)arg2,(char const *)arg3,(char const *)arg4,arg5,arg6);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            ST(argvi) = sv_newmortal();
            SWIG_MakePtr(ST(argvi++), (void *)*arg1, SWIGTYPE_p_apr_file_t,0);
        }
        {
            if (*arg2 == NULL)
            ST(argvi) = &PL_sv_undef;
            else
            ST(argvi) = sv_2mortal(newSVpv(*arg2, 0));
            ++argvi;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_io_set_file_read_write_carefully) {
    {
        char *arg1 = (char *) 0 ;
        svn_boolean_t arg2 ;
        svn_boolean_t arg3 ;
        apr_pool_t *arg4 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 3) || (items > 4)) {
            SWIG_croak("Usage: svn_io_set_file_read_write_carefully(path,enable_write,ignore_enoent,pool);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        arg2 = (svn_boolean_t) SvIV(ST(1));
        arg3 = (svn_boolean_t) SvIV(ST(2));
        if (items > 3) {
            
        }
        {
            result = (svn_error_t *)svn_io_set_file_read_write_carefully((char const *)arg1,arg2,arg3,arg4);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_io_file_checksum) {
    {
        unsigned char *arg1 ;
        char *arg2 = (char *) 0 ;
        apr_pool_t *arg3 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        unsigned char temp1[APR_MD5_DIGESTSIZE] ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
        }
        {
            arg1 = (unsigned char *)temp1;
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_io_file_checksum(file,pool);");
        }
        if (!SvOK((SV*) ST(0))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(0), PL_na);
        if (items > 1) {
            
        }
        {
            result = (svn_error_t *)svn_io_file_checksum(arg1,(char const *)arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            ST(argvi) = sv_newmortal();
            sv_setpv((SV*)ST(argvi++), svn_md5_digest_to_cstring (arg1,_global_pool));
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_io_files_contents_same_p) {
    {
        svn_boolean_t *arg1 = (svn_boolean_t *) 0 ;
        char *arg2 = (char *) 0 ;
        char *arg3 = (char *) 0 ;
        apr_pool_t *arg4 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        int temp1 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
        }
        arg1 = &temp1;
        if ((items < 2) || (items > 3)) {
            SWIG_croak("Usage: svn_io_files_contents_same_p(file1,file2,pool);");
        }
        if (!SvOK((SV*) ST(0))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(0), PL_na);
        if (!SvOK((SV*) ST(1))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(1), PL_na);
        if (items > 2) {
            
        }
        {
            result = (svn_error_t *)svn_io_files_contents_same_p(arg1,(char const *)arg2,(char const *)arg3,arg4);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            if (argvi >= items) {
                EXTEND(sp,1);
            }
            ST(argvi) = sv_newmortal();
            sv_setiv(ST(argvi),(IV) *(arg1));
            argvi++;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_stream_empty) {
    {
        apr_pool_t *arg1 = (apr_pool_t *) 0 ;
        svn_stream_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg1 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 0) || (items > 1)) {
            SWIG_croak("Usage: svn_stream_empty(pool);");
        }
        if (items > 0) {
            
        }
        {
            result = (svn_stream_t *)svn_stream_empty(arg1);
            
            
            
            
        }
        {
            ST(argvi) = svn_swig_pl_from_stream (result);
            argvi++;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_stream_from_aprfile) {
    {
        apr_file_t *arg1 = (apr_file_t *) 0 ;
        apr_pool_t *arg2 = (apr_pool_t *) 0 ;
        svn_stream_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_stream_from_aprfile(file,pool);");
        }
        {
            arg1 = svn_swig_pl_make_file(ST(0), _global_pool);
        }
        if (items > 1) {
            
        }
        {
            result = (svn_stream_t *)svn_stream_from_aprfile(arg1,arg2);
            
            
            
            
        }
        {
            ST(argvi) = svn_swig_pl_from_stream (result);
            argvi++;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_stream_for_stdout) {
    {
        svn_stream_t **arg1 = (svn_stream_t **) 0 ;
        apr_pool_t *arg2 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        svn_stream_t *temp1 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
        }
        {
            arg1 = (svn_stream_t **)&temp1;
        }
        if ((items < 0) || (items > 1)) {
            SWIG_croak("Usage: svn_stream_for_stdout(pool);");
        }
        if (items > 0) {
            
        }
        {
            result = (svn_error_t *)svn_stream_for_stdout(arg1,arg2);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            ST(argvi) = svn_swig_pl_from_stream (*arg1);
            argvi++;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_stream_from_stringbuf) {
    {
        svn_stringbuf_t *arg1 = (svn_stringbuf_t *) 0 ;
        apr_pool_t *arg2 = (apr_pool_t *) 0 ;
        svn_stream_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_stream_from_stringbuf(str,pool);");
        }
        {
            apr_size_t len;
            char *buf;
            
            if (!SvOK(ST(0))) {
                arg1 = NULL;
            } else if (SvPOK(ST(0))) {
                buf = SvPV(ST(0), len);
                /* Another case of ugly pool handling, this should use the current
                           default pool, or make a new one if it doesn't exist yet */
                arg1 = svn_stringbuf_ncreate(buf,len,
                svn_swig_pl_make_pool ((SV *)NULL));
            } else {
                croak("Not a string");
            }
        }
        if (items > 1) {
            
        }
        {
            result = (svn_stream_t *)svn_stream_from_stringbuf(arg1,arg2);
            
            
            
            
        }
        {
            ST(argvi) = svn_swig_pl_from_stream (result);
            argvi++;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_stream_compressed) {
    {
        svn_stream_t *arg1 = (svn_stream_t *) 0 ;
        apr_pool_t *arg2 = (apr_pool_t *) 0 ;
        svn_stream_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_stream_compressed(stream,pool);");
        }
        {
            svn_swig_pl_make_stream (&arg1, ST(0));
        }
        if (items > 1) {
            
        }
        {
            result = (svn_stream_t *)svn_stream_compressed(arg1,arg2);
            
            
            
            
        }
        {
            ST(argvi) = svn_swig_pl_from_stream (result);
            argvi++;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_stream_read) {
    {
        svn_stream_t *arg1 = (svn_stream_t *) 0 ;
        char *arg2 = (char *) 0 ;
        apr_size_t *arg3 = (apr_size_t *) 0 ;
        svn_error_t *result;
        apr_size_t temp2 ;
        int argvi = 0;
        SV * _saved[1] ;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_stream_read(stream,buffer,len);");
        }
        {
            svn_swig_pl_make_stream (&arg1, ST(0));
        }
        {
            temp2 = SvIV(ST(1));
            arg2 = malloc(temp2);
            arg3 = (apr_size_t *)&temp2;
        }
        _saved[0] = ST(1);
        {
            result = (svn_error_t *)svn_stream_read(arg1,arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            ST(argvi) = sv_newmortal();
            sv_setpvn (ST(argvi), arg2, *arg3);
            free(arg2);
            argvi++;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_stream_write) {
    {
        svn_stream_t *arg1 = (svn_stream_t *) 0 ;
        char *arg2 = (char *) 0 ;
        apr_size_t *arg3 = (apr_size_t *) 0 ;
        svn_error_t *result;
        apr_size_t temp2 ;
        int argvi = 0;
        SV * _saved[1] ;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_stream_write(stream,data,len);");
        }
        {
            svn_swig_pl_make_stream (&arg1, ST(0));
        }
        {
            arg2 = SvPV(ST(1), temp2);
            arg3 = (apr_size_t *)&temp2;
        }
        _saved[0] = ST(1);
        {
            result = (svn_error_t *)svn_stream_write(arg1,(char const *)arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            ST(argvi) = sv_2mortal (newSViv(*arg3));
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_stream_close) {
    {
        svn_stream_t *arg1 = (svn_stream_t *) 0 ;
        svn_error_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_stream_close(stream);");
        }
        {
            svn_swig_pl_make_stream (&arg1, ST(0));
        }
        {
            result = (svn_error_t *)svn_stream_close(arg1);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_stream_readline) {
    {
        svn_stream_t *arg1 = (svn_stream_t *) 0 ;
        svn_stringbuf_t **arg2 = (svn_stringbuf_t **) 0 ;
        char *arg3 = (char *) 0 ;
        svn_boolean_t *arg4 = (svn_boolean_t *) 0 ;
        apr_pool_t *arg5 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        svn_stringbuf_t *temp2 ;
        int temp4 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
        }
        {
            arg2 = &temp2;
        }
        arg4 = &temp4;
        if ((items < 2) || (items > 3)) {
            SWIG_croak("Usage: svn_stream_readline(stream,eol,pool);");
        }
        {
            svn_swig_pl_make_stream (&arg1, ST(0));
        }
        if (!SvOK((SV*) ST(1))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(1), PL_na);
        if (items > 2) {
            
        }
        {
            result = (svn_error_t *)svn_stream_readline(arg1,arg2,(char const *)arg3,arg4,arg5);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            if (*arg2) {
                ST(argvi) = sv_newmortal();
                sv_setpvn (ST(argvi), (*arg2)->data, (*arg2)->len);
            }
            else
            ST(argvi) = &PL_sv_undef;
            argvi++;
        }
        {
            if (argvi >= items) {
                EXTEND(sp,1);
            }
            ST(argvi) = sv_newmortal();
            sv_setiv(ST(argvi),(IV) *(arg4));
            argvi++;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_stream_copy) {
    {
        svn_stream_t *arg1 = (svn_stream_t *) 0 ;
        svn_stream_t *arg2 = (svn_stream_t *) 0 ;
        apr_pool_t *arg3 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 2) || (items > 3)) {
            SWIG_croak("Usage: svn_stream_copy(from,to,pool);");
        }
        {
            svn_swig_pl_make_stream (&arg1, ST(0));
        }
        {
            svn_swig_pl_make_stream (&arg2, ST(1));
        }
        if (items > 2) {
            
        }
        {
            result = (svn_error_t *)svn_stream_copy(arg1,arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_stringbuf_from_file) {
    {
        svn_stringbuf_t **arg1 = (svn_stringbuf_t **) 0 ;
        char *arg2 = (char *) 0 ;
        apr_pool_t *arg3 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        svn_stringbuf_t *temp1 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
        }
        {
            arg1 = &temp1;
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_stringbuf_from_file(filename,pool);");
        }
        if (!SvOK((SV*) ST(0))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(0), PL_na);
        if (items > 1) {
            
        }
        {
            result = (svn_error_t *)svn_stringbuf_from_file(arg1,(char const *)arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            if (*arg1) {
                ST(argvi) = sv_newmortal();
                sv_setpvn (ST(argvi), (*arg1)->data, (*arg1)->len);
            }
            else
            ST(argvi) = &PL_sv_undef;
            argvi++;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_stringbuf_from_aprfile) {
    {
        svn_stringbuf_t **arg1 = (svn_stringbuf_t **) 0 ;
        apr_file_t *arg2 = (apr_file_t *) 0 ;
        apr_pool_t *arg3 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        svn_stringbuf_t *temp1 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
        }
        {
            arg1 = &temp1;
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_stringbuf_from_aprfile(file,pool);");
        }
        {
            arg2 = svn_swig_pl_make_file(ST(0), _global_pool);
        }
        if (items > 1) {
            
        }
        {
            result = (svn_error_t *)svn_stringbuf_from_aprfile(arg1,arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            if (*arg1) {
                ST(argvi) = sv_newmortal();
                sv_setpvn (ST(argvi), (*arg1)->data, (*arg1)->len);
            }
            else
            ST(argvi) = &PL_sv_undef;
            argvi++;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_io_get_dirents2) {
    {
        apr_hash_t **arg1 = (apr_hash_t **) 0 ;
        char *arg2 = (char *) 0 ;
        apr_pool_t *arg3 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        apr_hash_t *temp1 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
        }
        arg1 = &temp1;
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_io_get_dirents2(path,pool);");
        }
        if (!SvOK((SV*) ST(0))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(0), PL_na);
        if (items > 1) {
            
        }
        {
            result = (svn_error_t *)svn_io_get_dirents2(arg1,(char const *)arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            ST(argvi++) = svn_swig_pl_convert_hash
            (*arg1, SWIGTYPE_p_svn_dirent_t);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_io_detect_mimetype) {
    {
        char **arg1 = (char **) 0 ;
        char *arg2 = (char *) 0 ;
        apr_pool_t *arg3 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        char const *temp1 = NULL ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
        }
        arg1 = (char **)&temp1;
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_io_detect_mimetype(file,pool);");
        }
        if (!SvOK((SV*) ST(0))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(0), PL_na);
        if (items > 1) {
            
        }
        {
            result = (svn_error_t *)svn_io_detect_mimetype((char const **)arg1,(char const *)arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            if (*arg1 == NULL)
            ST(argvi) = &PL_sv_undef;
            else
            ST(argvi) = sv_2mortal(newSVpv(*arg1, 0));
            ++argvi;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_io_file_move) {
    {
        char *arg1 = (char *) 0 ;
        char *arg2 = (char *) 0 ;
        apr_pool_t *arg3 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 2) || (items > 3)) {
            SWIG_croak("Usage: svn_io_file_move(from_path,to_path,pool);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        if (items > 2) {
            
        }
        {
            result = (svn_error_t *)svn_io_file_move((char const *)arg1,(char const *)arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_md5_empty_string_digest) {
    {
        unsigned char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: svn_md5_empty_string_digest();");
        }
        {
            result = (unsigned char *)svn_md5_empty_string_digest();
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_unsigned_char, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_md5_digest_to_cstring_display) {
    {
        unsigned char *arg1 ;
        apr_pool_t *arg2 = (apr_pool_t *) 0 ;
        char *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        SV * _saved[1] ;
        dXSARGS;
        
        {
            _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_md5_digest_to_cstring_display(digest,pool);");
        }
        {
            SWIG_ConvertPtr(ST(0), (void **)&arg1, SWIGTYPE_p_unsigned_char, 0);
        }
        if (items > 1) {
            
        }
        _saved[0] = ST(0);
        {
            result = (char *)svn_md5_digest_to_cstring_display((unsigned char const (*))arg1,arg2);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        {
            
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_md5_digest_to_cstring) {
    {
        unsigned char *arg1 ;
        apr_pool_t *arg2 = (apr_pool_t *) 0 ;
        char *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        SV * _saved[1] ;
        dXSARGS;
        
        {
            _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 1) || (items > 2)) {
            SWIG_croak("Usage: svn_md5_digest_to_cstring(digest,pool);");
        }
        {
            SWIG_ConvertPtr(ST(0), (void **)&arg1, SWIGTYPE_p_unsigned_char, 0);
        }
        if (items > 1) {
            
        }
        _saved[0] = ST(0);
        {
            result = (char *)svn_md5_digest_to_cstring((unsigned char const (*))arg1,arg2);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        {
            
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_md5_digests_match) {
    {
        unsigned char *arg1 ;
        unsigned char *arg2 ;
        svn_boolean_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_md5_digests_match(d1,d2);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_unsigned_char,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_md5_digests_match. Expected _p_unsigned_char");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_unsigned_char,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_md5_digests_match. Expected _p_unsigned_char");
            }
        }
        {
            result = (svn_boolean_t)svn_md5_digests_match((unsigned char const (*))arg1,(unsigned char const (*))arg2);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_version) {
    {
        svn_version_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: svn_diff_version();");
        }
        {
            result = (svn_version_t *)svn_diff_version();
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_version_t, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_fns_t_datasource_open_set) {
    {
        svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ;
        svn_error_t *(*arg2)(void *,svn_diff_datasource_e) = (svn_error_t *(*)(void *,svn_diff_datasource_e)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_diff_fns_t_datasource_open_set(self,datasource_open);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_fns_t_datasource_open_set. Expected _p_svn_diff_fns_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_void_svn_diff_datasource_e__p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_fns_t_datasource_open_set. Expected _p_f_p_void_svn_diff_datasource_e__p_svn_error_t");
            }
        }
        if (arg1) (arg1)->datasource_open = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_fns_t_datasource_open_get) {
    {
        svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ;
        svn_error_t *(*result)(void *,svn_diff_datasource_e);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_diff_fns_t_datasource_open_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_fns_t_datasource_open_get. Expected _p_svn_diff_fns_t");
            }
        }
        result = (svn_error_t *(*)(void *,svn_diff_datasource_e)) ((arg1)->datasource_open);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_void_svn_diff_datasource_e__p_svn_error_t, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_fns_t_datasource_close_set) {
    {
        svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ;
        svn_error_t *(*arg2)(void *,svn_diff_datasource_e) = (svn_error_t *(*)(void *,svn_diff_datasource_e)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_diff_fns_t_datasource_close_set(self,datasource_close);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_fns_t_datasource_close_set. Expected _p_svn_diff_fns_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_void_svn_diff_datasource_e__p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_fns_t_datasource_close_set. Expected _p_f_p_void_svn_diff_datasource_e__p_svn_error_t");
            }
        }
        if (arg1) (arg1)->datasource_close = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_fns_t_datasource_close_get) {
    {
        svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ;
        svn_error_t *(*result)(void *,svn_diff_datasource_e);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_diff_fns_t_datasource_close_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_fns_t_datasource_close_get. Expected _p_svn_diff_fns_t");
            }
        }
        result = (svn_error_t *(*)(void *,svn_diff_datasource_e)) ((arg1)->datasource_close);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_void_svn_diff_datasource_e__p_svn_error_t, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_fns_t_datasource_get_next_token_set) {
    {
        svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ;
        svn_error_t *(*arg2)(apr_uint32_t *,void **,void *,svn_diff_datasource_e) = (svn_error_t *(*)(apr_uint32_t *,void **,void *,svn_diff_datasource_e)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_diff_fns_t_datasource_get_next_token_set(self,datasource_get_next_token);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_fns_t_datasource_get_next_token_set. Expected _p_svn_diff_fns_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_apr_uint32_t_p_p_void_p_void_svn_diff_datasource_e__p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_fns_t_datasource_get_next_token_set. Expected _p_f_p_apr_uint32_t_p_p_void_p_void_svn_diff_datasource_e__p_svn_error_t");
            }
        }
        if (arg1) (arg1)->datasource_get_next_token = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_fns_t_datasource_get_next_token_get) {
    {
        svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ;
        svn_error_t *(*result)(apr_uint32_t *,void **,void *,svn_diff_datasource_e);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_diff_fns_t_datasource_get_next_token_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_fns_t_datasource_get_next_token_get. Expected _p_svn_diff_fns_t");
            }
        }
        result = (svn_error_t *(*)(apr_uint32_t *,void **,void *,svn_diff_datasource_e)) ((arg1)->datasource_get_next_token);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_apr_uint32_t_p_p_void_p_void_svn_diff_datasource_e__p_svn_error_t, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_fns_t_token_compare_set) {
    {
        svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ;
        svn_error_t *(*arg2)(void *,void *,void *,int *) = (svn_error_t *(*)(void *,void *,void *,int *)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_diff_fns_t_token_compare_set(self,token_compare);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_fns_t_token_compare_set. Expected _p_svn_diff_fns_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_void_p_void_p_void_p_int__p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_fns_t_token_compare_set. Expected _p_f_p_void_p_void_p_void_p_int__p_svn_error_t");
            }
        }
        if (arg1) (arg1)->token_compare = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_fns_t_token_compare_get) {
    {
        svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ;
        svn_error_t *(*result)(void *,void *,void *,int *);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_diff_fns_t_token_compare_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_fns_t_token_compare_get. Expected _p_svn_diff_fns_t");
            }
        }
        result = (svn_error_t *(*)(void *,void *,void *,int *)) ((arg1)->token_compare);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_void_p_void_p_void_p_int__p_svn_error_t, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_fns_t_token_discard_set) {
    {
        svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ;
        void (*arg2)(void *,void *) = (void (*)(void *,void *)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_diff_fns_t_token_discard_set(self,token_discard);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_fns_t_token_discard_set. Expected _p_svn_diff_fns_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_void_p_void__void,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_fns_t_token_discard_set. Expected _p_f_p_void_p_void__void");
            }
        }
        if (arg1) (arg1)->token_discard = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_fns_t_token_discard_get) {
    {
        svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ;
        void (*result)(void *,void *);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_diff_fns_t_token_discard_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_fns_t_token_discard_get. Expected _p_svn_diff_fns_t");
            }
        }
        result = (void (*)(void *,void *)) ((arg1)->token_discard);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_void_p_void__void, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_fns_t_token_discard_all_set) {
    {
        svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ;
        void (*arg2)(void *) = (void (*)(void *)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_diff_fns_t_token_discard_all_set(self,token_discard_all);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_fns_t_token_discard_all_set. Expected _p_svn_diff_fns_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_void__void,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_fns_t_token_discard_all_set. Expected _p_f_p_void__void");
            }
        }
        if (arg1) (arg1)->token_discard_all = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_fns_t_token_discard_all_get) {
    {
        svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ;
        void (*result)(void *);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_diff_fns_t_token_discard_all_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_fns_t_token_discard_all_get. Expected _p_svn_diff_fns_t");
            }
        }
        result = (void (*)(void *)) ((arg1)->token_discard_all);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_void__void, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_svn_diff_fns_t) {
    {
        svn_diff_fns_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_svn_diff_fns_t();");
        }
        {
            result = (svn_diff_fns_t *)(svn_diff_fns_t *) calloc(1, sizeof(svn_diff_fns_t));
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_diff_fns_t, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_svn_diff_fns_t) {
    {
        svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_svn_diff_fns_t(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_svn_diff_fns_t. Expected _p_svn_diff_fns_t");
            }
        }
        {
            free((char *) arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_diff) {
    {
        svn_diff_t **arg1 = (svn_diff_t **) 0 ;
        void *arg2 = (void *) 0 ;
        svn_diff_fns_t *arg3 = (svn_diff_fns_t *) 0 ;
        apr_pool_t *arg4 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        svn_diff_t *temp1 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
        }
        {
            arg1 = (svn_diff_t **)&temp1;
        }
        if ((items < 2) || (items > 3)) {
            SWIG_croak("Usage: svn_diff_diff(diff_baton,diff_fns,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg2, 0,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_diff. Expected _p_void");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg3, SWIGTYPE_p_svn_diff_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 3 of svn_diff_diff. Expected _p_svn_diff_fns_t");
            }
        }
        if (items > 2) {
            
        }
        {
            result = (svn_error_t *)svn_diff_diff(arg1,arg2,(struct svn_diff_fns_t const *)arg3,arg4);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            ST(argvi) = sv_newmortal();
            SWIG_MakePtr(ST(argvi++), (void *)*arg1, SWIGTYPE_p_svn_diff_t,0);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_diff3) {
    {
        svn_diff_t **arg1 = (svn_diff_t **) 0 ;
        void *arg2 = (void *) 0 ;
        svn_diff_fns_t *arg3 = (svn_diff_fns_t *) 0 ;
        apr_pool_t *arg4 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        svn_diff_t *temp1 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
        }
        {
            arg1 = (svn_diff_t **)&temp1;
        }
        if ((items < 2) || (items > 3)) {
            SWIG_croak("Usage: svn_diff_diff3(diff_baton,diff_fns,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg2, 0,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_diff3. Expected _p_void");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg3, SWIGTYPE_p_svn_diff_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 3 of svn_diff_diff3. Expected _p_svn_diff_fns_t");
            }
        }
        if (items > 2) {
            
        }
        {
            result = (svn_error_t *)svn_diff_diff3(arg1,arg2,(struct svn_diff_fns_t const *)arg3,arg4);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            ST(argvi) = sv_newmortal();
            SWIG_MakePtr(ST(argvi++), (void *)*arg1, SWIGTYPE_p_svn_diff_t,0);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_diff4) {
    {
        svn_diff_t **arg1 = (svn_diff_t **) 0 ;
        void *arg2 = (void *) 0 ;
        svn_diff_fns_t *arg3 = (svn_diff_fns_t *) 0 ;
        apr_pool_t *arg4 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        svn_diff_t *temp1 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
        }
        {
            arg1 = (svn_diff_t **)&temp1;
        }
        if ((items < 2) || (items > 3)) {
            SWIG_croak("Usage: svn_diff_diff4(diff_baton,diff_fns,pool);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg2, 0,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_diff4. Expected _p_void");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg3, SWIGTYPE_p_svn_diff_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 3 of svn_diff_diff4. Expected _p_svn_diff_fns_t");
            }
        }
        if (items > 2) {
            
        }
        {
            result = (svn_error_t *)svn_diff_diff4(arg1,arg2,(struct svn_diff_fns_t const *)arg3,arg4);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            ST(argvi) = sv_newmortal();
            SWIG_MakePtr(ST(argvi++), (void *)*arg1, SWIGTYPE_p_svn_diff_t,0);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_contains_conflicts) {
    {
        svn_diff_t *arg1 = (svn_diff_t *) 0 ;
        svn_boolean_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_diff_contains_conflicts(diff);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_contains_conflicts. Expected _p_svn_diff_t");
            }
        }
        {
            result = (svn_boolean_t)svn_diff_contains_conflicts(arg1);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_contains_diffs) {
    {
        svn_diff_t *arg1 = (svn_diff_t *) 0 ;
        svn_boolean_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_diff_contains_diffs(diff);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_contains_diffs. Expected _p_svn_diff_t");
            }
        }
        {
            result = (svn_boolean_t)svn_diff_contains_diffs(arg1);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_output_fns_t_output_common_set) {
    {
        svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ;
        svn_error_t *(*arg2)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t) = (svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_diff_output_fns_t_output_common_set(self,output_common);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_output_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_output_fns_t_output_common_set. Expected _p_svn_diff_output_fns_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_output_fns_t_output_common_set. Expected _p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t");
            }
        }
        if (arg1) (arg1)->output_common = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_output_fns_t_output_common_get) {
    {
        svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ;
        svn_error_t *(*result)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_diff_output_fns_t_output_common_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_output_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_output_fns_t_output_common_get. Expected _p_svn_diff_output_fns_t");
            }
        }
        result = (svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t)) ((arg1)->output_common);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_output_fns_t_output_diff_modified_set) {
    {
        svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ;
        svn_error_t *(*arg2)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t) = (svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_diff_output_fns_t_output_diff_modified_set(self,output_diff_modified);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_output_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_output_fns_t_output_diff_modified_set. Expected _p_svn_diff_output_fns_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_output_fns_t_output_diff_modified_set. Expected _p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t");
            }
        }
        if (arg1) (arg1)->output_diff_modified = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_output_fns_t_output_diff_modified_get) {
    {
        svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ;
        svn_error_t *(*result)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_diff_output_fns_t_output_diff_modified_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_output_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_output_fns_t_output_diff_modified_get. Expected _p_svn_diff_output_fns_t");
            }
        }
        result = (svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t)) ((arg1)->output_diff_modified);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_output_fns_t_output_diff_latest_set) {
    {
        svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ;
        svn_error_t *(*arg2)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t) = (svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_diff_output_fns_t_output_diff_latest_set(self,output_diff_latest);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_output_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_output_fns_t_output_diff_latest_set. Expected _p_svn_diff_output_fns_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_output_fns_t_output_diff_latest_set. Expected _p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t");
            }
        }
        if (arg1) (arg1)->output_diff_latest = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_output_fns_t_output_diff_latest_get) {
    {
        svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ;
        svn_error_t *(*result)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_diff_output_fns_t_output_diff_latest_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_output_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_output_fns_t_output_diff_latest_get. Expected _p_svn_diff_output_fns_t");
            }
        }
        result = (svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t)) ((arg1)->output_diff_latest);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_output_fns_t_output_diff_common_set) {
    {
        svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ;
        svn_error_t *(*arg2)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t) = (svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_diff_output_fns_t_output_diff_common_set(self,output_diff_common);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_output_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_output_fns_t_output_diff_common_set. Expected _p_svn_diff_output_fns_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_output_fns_t_output_diff_common_set. Expected _p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t");
            }
        }
        if (arg1) (arg1)->output_diff_common = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_output_fns_t_output_diff_common_get) {
    {
        svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ;
        svn_error_t *(*result)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_diff_output_fns_t_output_diff_common_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_output_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_output_fns_t_output_diff_common_get. Expected _p_svn_diff_output_fns_t");
            }
        }
        result = (svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t)) ((arg1)->output_diff_common);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_output_fns_t_output_conflict_set) {
    {
        svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ;
        svn_error_t *(*arg2)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,svn_diff_t *) = (svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,svn_diff_t *)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_diff_output_fns_t_output_conflict_set(self,output_conflict);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_output_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_output_fns_t_output_conflict_set. Expected _p_svn_diff_output_fns_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_p_svn_diff_t__p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_output_fns_t_output_conflict_set. Expected _p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_p_svn_diff_t__p_svn_error_t");
            }
        }
        if (arg1) (arg1)->output_conflict = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_output_fns_t_output_conflict_get) {
    {
        svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ;
        svn_error_t *(*result)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,svn_diff_t *);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_diff_output_fns_t_output_conflict_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_output_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_output_fns_t_output_conflict_get. Expected _p_svn_diff_output_fns_t");
            }
        }
        result = (svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,svn_diff_t *)) ((arg1)->output_conflict);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_p_svn_diff_t__p_svn_error_t, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_svn_diff_output_fns_t) {
    {
        svn_diff_output_fns_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_svn_diff_output_fns_t();");
        }
        {
            result = (svn_diff_output_fns_t *)(svn_diff_output_fns_t *) calloc(1, sizeof(svn_diff_output_fns_t));
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_svn_diff_output_fns_t, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_svn_diff_output_fns_t) {
    {
        svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_svn_diff_output_fns_t(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_output_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_svn_diff_output_fns_t. Expected _p_svn_diff_output_fns_t");
            }
        }
        {
            free((char *) arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_output) {
    {
        svn_diff_t *arg1 = (svn_diff_t *) 0 ;
        void *arg2 = (void *) 0 ;
        svn_diff_output_fns_t *arg3 = (svn_diff_output_fns_t *) 0 ;
        svn_error_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: svn_diff_output(diff,output_baton,output_fns);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_output. Expected _p_svn_diff_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, 0,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_output. Expected _p_void");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_svn_diff_output_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 3 of svn_diff_output. Expected _p_svn_diff_output_fns_t");
            }
        }
        {
            result = (svn_error_t *)svn_diff_output(arg1,arg2,(struct svn_diff_output_fns_t const *)arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_file_diff) {
    {
        svn_diff_t **arg1 = (svn_diff_t **) 0 ;
        char *arg2 = (char *) 0 ;
        char *arg3 = (char *) 0 ;
        apr_pool_t *arg4 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        svn_diff_t *temp1 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg4 = svn_swig_pl_make_pool (ST(items-1));
        }
        {
            arg1 = (svn_diff_t **)&temp1;
        }
        if ((items < 2) || (items > 3)) {
            SWIG_croak("Usage: svn_diff_file_diff(original,modified,pool);");
        }
        if (!SvOK((SV*) ST(0))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(0), PL_na);
        if (!SvOK((SV*) ST(1))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(1), PL_na);
        if (items > 2) {
            
        }
        {
            result = (svn_error_t *)svn_diff_file_diff(arg1,(char const *)arg2,(char const *)arg3,arg4);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            ST(argvi) = sv_newmortal();
            SWIG_MakePtr(ST(argvi++), (void *)*arg1, SWIGTYPE_p_svn_diff_t,0);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_file_diff3) {
    {
        svn_diff_t **arg1 = (svn_diff_t **) 0 ;
        char *arg2 = (char *) 0 ;
        char *arg3 = (char *) 0 ;
        char *arg4 = (char *) 0 ;
        apr_pool_t *arg5 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        svn_diff_t *temp1 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
        }
        {
            arg1 = (svn_diff_t **)&temp1;
        }
        if ((items < 3) || (items > 4)) {
            SWIG_croak("Usage: svn_diff_file_diff3(original,modified,latest,pool);");
        }
        if (!SvOK((SV*) ST(0))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(0), PL_na);
        if (!SvOK((SV*) ST(1))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(1), PL_na);
        if (!SvOK((SV*) ST(2))) arg4 = 0;
        else arg4 = (char *) SvPV(ST(2), PL_na);
        if (items > 3) {
            
        }
        {
            result = (svn_error_t *)svn_diff_file_diff3(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            ST(argvi) = sv_newmortal();
            SWIG_MakePtr(ST(argvi++), (void *)*arg1, SWIGTYPE_p_svn_diff_t,0);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_file_diff4) {
    {
        svn_diff_t **arg1 = (svn_diff_t **) 0 ;
        char *arg2 = (char *) 0 ;
        char *arg3 = (char *) 0 ;
        char *arg4 = (char *) 0 ;
        char *arg5 = (char *) 0 ;
        apr_pool_t *arg6 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        svn_diff_t *temp1 ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg6 = svn_swig_pl_make_pool (ST(items-1));
        }
        {
            arg1 = (svn_diff_t **)&temp1;
        }
        if ((items < 4) || (items > 5)) {
            SWIG_croak("Usage: svn_diff_file_diff4(original,modified,latest,ancestor,pool);");
        }
        if (!SvOK((SV*) ST(0))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(0), PL_na);
        if (!SvOK((SV*) ST(1))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(1), PL_na);
        if (!SvOK((SV*) ST(2))) arg4 = 0;
        else arg4 = (char *) SvPV(ST(2), PL_na);
        if (!SvOK((SV*) ST(3))) arg5 = 0;
        else arg5 = (char *) SvPV(ST(3), PL_na);
        if (items > 4) {
            
        }
        {
            result = (svn_error_t *)svn_diff_file_diff4(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,arg6);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            ST(argvi) = sv_newmortal();
            SWIG_MakePtr(ST(argvi++), (void *)*arg1, SWIGTYPE_p_svn_diff_t,0);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_file_output_unified2) {
    {
        svn_stream_t *arg1 = (svn_stream_t *) 0 ;
        svn_diff_t *arg2 = (svn_diff_t *) 0 ;
        char *arg3 = (char *) 0 ;
        char *arg4 = (char *) 0 ;
        char *arg5 = (char *) 0 ;
        char *arg6 = (char *) 0 ;
        char *arg7 = (char *) 0 ;
        apr_pool_t *arg8 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg8 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 7) || (items > 8)) {
            SWIG_croak("Usage: svn_diff_file_output_unified2(output_stream,diff,original_path,modified_path,original_header,modified_header,header_encoding,pool);");
        }
        {
            svn_swig_pl_make_stream (&arg1, ST(0));
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_svn_diff_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_file_output_unified2. Expected _p_svn_diff_t");
            }
        }
        if (!SvOK((SV*) ST(2))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(2), PL_na);
        if (!SvOK((SV*) ST(3))) arg4 = 0;
        else arg4 = (char *) SvPV(ST(3), PL_na);
        if (!SvOK((SV*) ST(4))) arg5 = 0;
        else arg5 = (char *) SvPV(ST(4), PL_na);
        if (!SvOK((SV*) ST(5))) arg6 = 0;
        else arg6 = (char *) SvPV(ST(5), PL_na);
        if (!SvOK((SV*) ST(6))) arg7 = 0;
        else arg7 = (char *) SvPV(ST(6), PL_na);
        if (items > 7) {
            
        }
        {
            result = (svn_error_t *)svn_diff_file_output_unified2(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,arg8);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_file_output_unified) {
    {
        svn_stream_t *arg1 = (svn_stream_t *) 0 ;
        svn_diff_t *arg2 = (svn_diff_t *) 0 ;
        char *arg3 = (char *) 0 ;
        char *arg4 = (char *) 0 ;
        char *arg5 = (char *) 0 ;
        char *arg6 = (char *) 0 ;
        apr_pool_t *arg7 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg7 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 6) || (items > 7)) {
            SWIG_croak("Usage: svn_diff_file_output_unified(output_stream,diff,original_path,modified_path,original_header,modified_header,pool);");
        }
        {
            svn_swig_pl_make_stream (&arg1, ST(0));
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_svn_diff_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_file_output_unified. Expected _p_svn_diff_t");
            }
        }
        if (!SvOK((SV*) ST(2))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(2), PL_na);
        if (!SvOK((SV*) ST(3))) arg4 = 0;
        else arg4 = (char *) SvPV(ST(3), PL_na);
        if (!SvOK((SV*) ST(4))) arg5 = 0;
        else arg5 = (char *) SvPV(ST(4), PL_na);
        if (!SvOK((SV*) ST(5))) arg6 = 0;
        else arg6 = (char *) SvPV(ST(5), PL_na);
        if (items > 6) {
            
        }
        {
            result = (svn_error_t *)svn_diff_file_output_unified(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,arg7);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_file_output_merge) {
    {
        svn_stream_t *arg1 = (svn_stream_t *) 0 ;
        svn_diff_t *arg2 = (svn_diff_t *) 0 ;
        char *arg3 = (char *) 0 ;
        char *arg4 = (char *) 0 ;
        char *arg5 = (char *) 0 ;
        char *arg6 = (char *) 0 ;
        char *arg7 = (char *) 0 ;
        char *arg8 = (char *) 0 ;
        char *arg9 = (char *) 0 ;
        svn_boolean_t arg10 ;
        svn_boolean_t arg11 ;
        apr_pool_t *arg12 = (apr_pool_t *) 0 ;
        svn_error_t *result;
        apr_pool_t *_global_pool ;
        int argvi = 0;
        dXSARGS;
        
        {
            _global_pool = arg12 = svn_swig_pl_make_pool (ST(items-1));
        }
        if ((items < 11) || (items > 12)) {
            SWIG_croak("Usage: svn_diff_file_output_merge(output_stream,diff,original_path,modified_path,latest_path,conflict_original,conflict_modified,conflict_latest,conflict_separator,display_original_in_conflict,display_resolved_conflicts,pool);");
        }
        {
            svn_swig_pl_make_stream (&arg1, ST(0));
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_svn_diff_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_file_output_merge. Expected _p_svn_diff_t");
            }
        }
        if (!SvOK((SV*) ST(2))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(2), PL_na);
        if (!SvOK((SV*) ST(3))) arg4 = 0;
        else arg4 = (char *) SvPV(ST(3), PL_na);
        if (!SvOK((SV*) ST(4))) arg5 = 0;
        else arg5 = (char *) SvPV(ST(4), PL_na);
        if (!SvOK((SV*) ST(5))) arg6 = 0;
        else arg6 = (char *) SvPV(ST(5), PL_na);
        if (!SvOK((SV*) ST(6))) arg7 = 0;
        else arg7 = (char *) SvPV(ST(6), PL_na);
        if (!SvOK((SV*) ST(7))) arg8 = 0;
        else arg8 = (char *) SvPV(ST(7), PL_na);
        if (!SvOK((SV*) ST(8))) arg9 = 0;
        else arg9 = (char *) SvPV(ST(8), PL_na);
        arg10 = (svn_boolean_t) SvIV(ST(9));
        arg11 = (svn_boolean_t) SvIV(ST(10));
        if (items > 11) {
            
        }
        {
            result = (svn_error_t *)svn_diff_file_output_merge(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,(char const *)arg9,arg10,arg11,arg12);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_fns_invoke_datasource_open) {
    {
        svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ;
        void *arg2 = (void *) 0 ;
        svn_diff_datasource_e arg3 ;
        svn_error_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: svn_diff_fns_invoke_datasource_open(_obj,diff_baton,datasource);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_fns_invoke_datasource_open. Expected _p_svn_diff_fns_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, 0,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_fns_invoke_datasource_open. Expected _p_void");
            }
        }
        arg3 = (svn_diff_datasource_e) SvIV(ST(2));
        {
            result = (svn_error_t *)svn_diff_fns_invoke_datasource_open(arg1,arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_fns_invoke_datasource_close) {
    {
        svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ;
        void *arg2 = (void *) 0 ;
        svn_diff_datasource_e arg3 ;
        svn_error_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: svn_diff_fns_invoke_datasource_close(_obj,diff_baton,datasource);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_fns_invoke_datasource_close. Expected _p_svn_diff_fns_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, 0,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_fns_invoke_datasource_close. Expected _p_void");
            }
        }
        arg3 = (svn_diff_datasource_e) SvIV(ST(2));
        {
            result = (svn_error_t *)svn_diff_fns_invoke_datasource_close(arg1,arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_fns_invoke_datasource_get_next_token) {
    {
        svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ;
        apr_uint32_t *arg2 = (apr_uint32_t *) 0 ;
        void **arg3 = (void **) 0 ;
        void *arg4 = (void *) 0 ;
        svn_diff_datasource_e arg5 ;
        svn_error_t *result;
        unsigned long temp2 ;
        int argvi = 0;
        dXSARGS;
        
        arg2 = &temp2;
        if ((items < 4) || (items > 4)) {
            SWIG_croak("Usage: svn_diff_fns_invoke_datasource_get_next_token(_obj,token,diff_baton,datasource);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_fns_invoke_datasource_get_next_token. Expected _p_svn_diff_fns_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg3, SWIGTYPE_p_p_void,0) < 0) {
                SWIG_croak("Type error in argument 3 of svn_diff_fns_invoke_datasource_get_next_token. Expected _p_p_void");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg4, 0,0) < 0) {
                SWIG_croak("Type error in argument 4 of svn_diff_fns_invoke_datasource_get_next_token. Expected _p_void");
            }
        }
        arg5 = (svn_diff_datasource_e) SvIV(ST(3));
        {
            result = (svn_error_t *)svn_diff_fns_invoke_datasource_get_next_token(arg1,arg2,arg3,arg4,arg5);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        {
            if (argvi >= items) {
                EXTEND(sp,1);
            }
            ST(argvi) = sv_newmortal();
            sv_setuv(ST(argvi),(UV) *(arg2));
            argvi++;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_fns_invoke_token_compare) {
    {
        svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ;
        void *arg2 = (void *) 0 ;
        void *arg3 = (void *) 0 ;
        void *arg4 = (void *) 0 ;
        int *arg5 = (int *) 0 ;
        svn_error_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 5) || (items > 5)) {
            SWIG_croak("Usage: svn_diff_fns_invoke_token_compare(_obj,diff_baton,ltoken,rtoken,compare);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_fns_invoke_token_compare. Expected _p_svn_diff_fns_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, 0,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_fns_invoke_token_compare. Expected _p_void");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, 0,0) < 0) {
                SWIG_croak("Type error in argument 3 of svn_diff_fns_invoke_token_compare. Expected _p_void");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(3), (void **) &arg4, 0,0) < 0) {
                SWIG_croak("Type error in argument 4 of svn_diff_fns_invoke_token_compare. Expected _p_void");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(4), (void **) &arg5, SWIGTYPE_p_int,0) < 0) {
                SWIG_croak("Type error in argument 5 of svn_diff_fns_invoke_token_compare. Expected _p_int");
            }
        }
        {
            result = (svn_error_t *)svn_diff_fns_invoke_token_compare(arg1,arg2,arg3,arg4,arg5);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_output_fns_invoke_output_common) {
    {
        svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ;
        void *arg2 = (void *) 0 ;
        apr_off_t arg3 ;
        apr_off_t arg4 ;
        apr_off_t arg5 ;
        apr_off_t arg6 ;
        apr_off_t arg7 ;
        apr_off_t arg8 ;
        svn_error_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 8) || (items > 8)) {
            SWIG_croak("Usage: svn_diff_output_fns_invoke_output_common(_obj,output_baton,original_start,original_length,modified_start,modified_length,latest_start,latest_length);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_output_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_output_fns_invoke_output_common. Expected _p_svn_diff_output_fns_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, 0,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_output_fns_invoke_output_common. Expected _p_void");
            }
        }
        arg3 = (apr_off_t) strtoll(SvPV(ST(2), PL_na), 0, 0);
        arg4 = (apr_off_t) strtoll(SvPV(ST(3), PL_na), 0, 0);
        arg5 = (apr_off_t) strtoll(SvPV(ST(4), PL_na), 0, 0);
        arg6 = (apr_off_t) strtoll(SvPV(ST(5), PL_na), 0, 0);
        arg7 = (apr_off_t) strtoll(SvPV(ST(6), PL_na), 0, 0);
        arg8 = (apr_off_t) strtoll(SvPV(ST(7), PL_na), 0, 0);
        {
            result = (svn_error_t *)svn_diff_output_fns_invoke_output_common(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_output_fns_invoke_output_diff_modified) {
    {
        svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ;
        void *arg2 = (void *) 0 ;
        apr_off_t arg3 ;
        apr_off_t arg4 ;
        apr_off_t arg5 ;
        apr_off_t arg6 ;
        apr_off_t arg7 ;
        apr_off_t arg8 ;
        svn_error_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 8) || (items > 8)) {
            SWIG_croak("Usage: svn_diff_output_fns_invoke_output_diff_modified(_obj,output_baton,original_start,original_length,modified_start,modified_length,latest_start,latest_length);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_output_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_output_fns_invoke_output_diff_modified. Expected _p_svn_diff_output_fns_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, 0,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_output_fns_invoke_output_diff_modified. Expected _p_void");
            }
        }
        arg3 = (apr_off_t) strtoll(SvPV(ST(2), PL_na), 0, 0);
        arg4 = (apr_off_t) strtoll(SvPV(ST(3), PL_na), 0, 0);
        arg5 = (apr_off_t) strtoll(SvPV(ST(4), PL_na), 0, 0);
        arg6 = (apr_off_t) strtoll(SvPV(ST(5), PL_na), 0, 0);
        arg7 = (apr_off_t) strtoll(SvPV(ST(6), PL_na), 0, 0);
        arg8 = (apr_off_t) strtoll(SvPV(ST(7), PL_na), 0, 0);
        {
            result = (svn_error_t *)svn_diff_output_fns_invoke_output_diff_modified(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_output_fns_invoke_output_diff_latest) {
    {
        svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ;
        void *arg2 = (void *) 0 ;
        apr_off_t arg3 ;
        apr_off_t arg4 ;
        apr_off_t arg5 ;
        apr_off_t arg6 ;
        apr_off_t arg7 ;
        apr_off_t arg8 ;
        svn_error_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 8) || (items > 8)) {
            SWIG_croak("Usage: svn_diff_output_fns_invoke_output_diff_latest(_obj,output_baton,original_start,original_length,modified_start,modified_length,latest_start,latest_length);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_output_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_output_fns_invoke_output_diff_latest. Expected _p_svn_diff_output_fns_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, 0,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_output_fns_invoke_output_diff_latest. Expected _p_void");
            }
        }
        arg3 = (apr_off_t) strtoll(SvPV(ST(2), PL_na), 0, 0);
        arg4 = (apr_off_t) strtoll(SvPV(ST(3), PL_na), 0, 0);
        arg5 = (apr_off_t) strtoll(SvPV(ST(4), PL_na), 0, 0);
        arg6 = (apr_off_t) strtoll(SvPV(ST(5), PL_na), 0, 0);
        arg7 = (apr_off_t) strtoll(SvPV(ST(6), PL_na), 0, 0);
        arg8 = (apr_off_t) strtoll(SvPV(ST(7), PL_na), 0, 0);
        {
            result = (svn_error_t *)svn_diff_output_fns_invoke_output_diff_latest(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_output_fns_invoke_output_diff_common) {
    {
        svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ;
        void *arg2 = (void *) 0 ;
        apr_off_t arg3 ;
        apr_off_t arg4 ;
        apr_off_t arg5 ;
        apr_off_t arg6 ;
        apr_off_t arg7 ;
        apr_off_t arg8 ;
        svn_error_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 8) || (items > 8)) {
            SWIG_croak("Usage: svn_diff_output_fns_invoke_output_diff_common(_obj,output_baton,original_start,original_length,modified_start,modified_length,latest_start,latest_length);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_output_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_output_fns_invoke_output_diff_common. Expected _p_svn_diff_output_fns_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, 0,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_output_fns_invoke_output_diff_common. Expected _p_void");
            }
        }
        arg3 = (apr_off_t) strtoll(SvPV(ST(2), PL_na), 0, 0);
        arg4 = (apr_off_t) strtoll(SvPV(ST(3), PL_na), 0, 0);
        arg5 = (apr_off_t) strtoll(SvPV(ST(4), PL_na), 0, 0);
        arg6 = (apr_off_t) strtoll(SvPV(ST(5), PL_na), 0, 0);
        arg7 = (apr_off_t) strtoll(SvPV(ST(6), PL_na), 0, 0);
        arg8 = (apr_off_t) strtoll(SvPV(ST(7), PL_na), 0, 0);
        {
            result = (svn_error_t *)svn_diff_output_fns_invoke_output_diff_common(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_diff_output_fns_invoke_output_conflict) {
    {
        svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ;
        void *arg2 = (void *) 0 ;
        apr_off_t arg3 ;
        apr_off_t arg4 ;
        apr_off_t arg5 ;
        apr_off_t arg6 ;
        apr_off_t arg7 ;
        apr_off_t arg8 ;
        svn_diff_t *arg9 = (svn_diff_t *) 0 ;
        svn_error_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 9) || (items > 9)) {
            SWIG_croak("Usage: svn_diff_output_fns_invoke_output_conflict(_obj,output_baton,original_start,original_length,modified_start,modified_length,latest_start,latest_length,resolved_diff);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_diff_output_fns_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_diff_output_fns_invoke_output_conflict. Expected _p_svn_diff_output_fns_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, 0,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_diff_output_fns_invoke_output_conflict. Expected _p_void");
            }
        }
        arg3 = (apr_off_t) strtoll(SvPV(ST(2), PL_na), 0, 0);
        arg4 = (apr_off_t) strtoll(SvPV(ST(3), PL_na), 0, 0);
        arg5 = (apr_off_t) strtoll(SvPV(ST(4), PL_na), 0, 0);
        arg6 = (apr_off_t) strtoll(SvPV(ST(5), PL_na), 0, 0);
        arg7 = (apr_off_t) strtoll(SvPV(ST(6), PL_na), 0, 0);
        arg8 = (apr_off_t) strtoll(SvPV(ST(7), PL_na), 0, 0);
        {
            if (SWIG_ConvertPtr(ST(8), (void **) &arg9, SWIGTYPE_p_svn_diff_t,0) < 0) {
                SWIG_croak("Type error in argument 9 of svn_diff_output_fns_invoke_output_conflict. Expected _p_svn_diff_t");
            }
        }
        {
            result = (svn_error_t *)svn_diff_output_fns_invoke_output_conflict(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_error__locate) {
    {
        char *arg1 = (char *) 0 ;
        long arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_error__locate(file,line);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        arg2 = (long) SvIV(ST(1));
        {
            svn_error__locate((char const *)arg1,arg2);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_strerror) {
    {
        apr_status_t arg1 ;
        char *arg2 = (char *) 0 ;
        apr_size_t arg3 ;
        char *result;
        char temp2[128] ;
        int argvi = 0;
        dXSARGS;
        
        {
            memset (temp2,0,128); /* paranoia */
            arg2 = temp2;
            arg3 = 128;
        }
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_strerror(statcode);");
        }
        arg1 = (apr_status_t) SvIV(ST(0));
        {
            result = (char *)svn_strerror(arg1,arg2,arg3);
            
            
            
            
        }
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_error_create) {
    {
        apr_status_t arg1 ;
        svn_error_t *arg2 = (svn_error_t *) 0 ;
        char *arg3 = (char *) 0 ;
        svn_error_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: svn_error_create(apr_err,child,message);");
        }
        arg1 = (apr_status_t) SvIV(ST(0));
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_error_create. Expected _p_svn_error_t");
            }
        }
        if (!SvOK((SV*) ST(2))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(2), PL_na);
        {
            result = (svn_error_t *)svn_error_create(arg1,arg2,(char const *)arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_error_createf) {
    {
        apr_status_t arg1 ;
        svn_error_t *arg2 = (svn_error_t *) 0 ;
        char *arg3 = (char *) 0 ;
        void *arg4 = 0 ;
        svn_error_t *result;
        int argvi = 0;
        dXSARGS;
        
        if (items < 3) {
            SWIG_croak("Usage: svn_error_createf(apr_err,child,fmt,...);");
        }
        arg1 = (apr_status_t) SvIV(ST(0));
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_error_createf. Expected _p_svn_error_t");
            }
        }
        if (!SvOK((SV*) ST(2))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(2), PL_na);
        {
            result = (svn_error_t *)svn_error_createf(arg1,arg2,(char const *)arg3,arg4);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_error_wrap_apr) {
    {
        apr_status_t arg1 ;
        char *arg2 = (char *) 0 ;
        void *arg3 = 0 ;
        svn_error_t *result;
        int argvi = 0;
        dXSARGS;
        
        if (items < 2) {
            SWIG_croak("Usage: svn_error_wrap_apr(status,fmt,...);");
        }
        arg1 = (apr_status_t) SvIV(ST(0));
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            result = (svn_error_t *)svn_error_wrap_apr(arg1,(char const *)arg2,arg3);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_error_quick_wrap) {
    {
        svn_error_t *arg1 = (svn_error_t *) 0 ;
        char *arg2 = (char *) 0 ;
        svn_error_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_error_quick_wrap(child,new_msg);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_error_quick_wrap. Expected _p_svn_error_t");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            result = (svn_error_t *)svn_error_quick_wrap(arg1,(char const *)arg2);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_error_compose) {
    {
        svn_error_t *arg1 = (svn_error_t *) 0 ;
        svn_error_t *arg2 = (svn_error_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_error_compose(chain,new_err);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_error_compose. Expected _p_svn_error_t");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_error_compose. Expected _p_svn_error_t");
            }
        }
        {
            svn_error_compose(arg1,arg2);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_error_dup) {
    {
        svn_error_t *arg1 = (svn_error_t *) 0 ;
        svn_error_t *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_error_dup(err);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_error_dup. Expected _p_svn_error_t");
            }
        }
        {
            result = (svn_error_t *)svn_error_dup(arg1);
            
            
            
            
        }
        {
            if (result) {
                SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
                
                if (SvOK(exception_handler)) {
                    SV *callback_result;
                    
                    svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
                    &callback_result, "S", result,
                    SWIGTYPE_p_svn_error_t);
                } else {
                    ST(argvi) = sv_newmortal();
                    SWIG_MakePtr (ST(argvi), (void *)result, SWIGTYPE_p_svn_error_t ,0);
                    argvi++;
                }
            }
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_error_clear) {
    {
        svn_error_t *arg1 = (svn_error_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: svn_error_clear(error);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_error_clear. Expected _p_svn_error_t");
            }
        }
        {
            svn_error_clear(arg1);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_handle_error2) {
    {
        svn_error_t *arg1 = (svn_error_t *) 0 ;
        FILE *arg2 = (FILE *) 0 ;
        svn_boolean_t arg3 ;
        char *arg4 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 4) || (items > 4)) {
            SWIG_croak("Usage: svn_handle_error2(error,stream,fatal,prefix);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_handle_error2. Expected _p_svn_error_t");
            }
        }
        {
            arg2 = PerlIO_exportFILE (IoIFP (sv_2io (ST(1))), NULL);
        }
        arg3 = (svn_boolean_t) SvIV(ST(2));
        if (!SvOK((SV*) ST(3))) arg4 = 0;
        else arg4 = (char *) SvPV(ST(3), PL_na);
        {
            svn_handle_error2(arg1,arg2,arg3,(char const *)arg4);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_handle_error) {
    {
        svn_error_t *arg1 = (svn_error_t *) 0 ;
        FILE *arg2 = (FILE *) 0 ;
        svn_boolean_t arg3 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: svn_handle_error(error,stream,fatal);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 1 of svn_handle_error. Expected _p_svn_error_t");
            }
        }
        {
            arg2 = PerlIO_exportFILE (IoIFP (sv_2io (ST(1))), NULL);
        }
        arg3 = (svn_boolean_t) SvIV(ST(2));
        {
            svn_handle_error(arg1,arg2,arg3);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_handle_warning2) {
    {
        FILE *arg1 = (FILE *) 0 ;
        svn_error_t *arg2 = (svn_error_t *) 0 ;
        char *arg3 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: svn_handle_warning2(stream,error,prefix);");
        }
        {
            arg1 = PerlIO_exportFILE (IoIFP (sv_2io (ST(0))), NULL);
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_handle_warning2. Expected _p_svn_error_t");
            }
        }
        if (!SvOK((SV*) ST(2))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(2), PL_na);
        {
            svn_handle_warning2(arg1,arg2,(char const *)arg3);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_svn_handle_warning) {
    {
        FILE *arg1 = (FILE *) 0 ;
        svn_error_t *arg2 = (svn_error_t *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: svn_handle_warning(stream,error);");
        }
        {
            arg1 = PerlIO_exportFILE (IoIFP (sv_2io (ST(0))), NULL);
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_svn_error_t,0) < 0) {
                SWIG_croak("Type error in argument 2 of svn_handle_warning. Expected _p_svn_error_t");
            }
        }
        {
            svn_handle_warning(arg1,arg2);
            
            
            
            
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}



/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */

static swig_type_info _swigt__p_FILE = {"_p_FILE", "FILE *", 0, 0, 0};
static swig_type_info _swigt__p_apr_allocator_t = {"_p_apr_allocator_t", "apr_allocator_t *", 0, 0, 0};
static swig_type_info _swigt__p_apr_array_header_t = {"_p_apr_array_header_t", "apr_array_header_t *", 0, 0, 0};
static swig_type_info _swigt__p_apr_file_t = {"_p_apr_file_t", "apr_file_t *", 0, 0, 0};
static swig_type_info _swigt__p_apr_getopt_option_t = {"_p_apr_getopt_option_t", "apr_getopt_option_t *", 0, 0, 0};
static swig_type_info _swigt__p_apr_getopt_t = {"_p_apr_getopt_t", "apr_getopt_t *", 0, 0, 0};
static swig_type_info _swigt__p_apr_hash_t = {"_p_apr_hash_t", "apr_hash_t *", 0, 0, 0};
static swig_type_info _swigt__p_apr_int32_t = {"_p_apr_int32_t", "apr_int32_t *|time_t *", 0, 0, 0};
static swig_type_info _swigt__p_apr_int64_t = {"_p_apr_int64_t", "apr_int64_t *", 0, 0, 0};
static swig_type_info _swigt__p_apr_pool_t = {"_p_apr_pool_t", "apr_pool_t *", 0, 0, 0};
static swig_type_info _swigt__p_apr_size_t = {"_p_apr_size_t", "apr_size_t *", 0, 0, 0};
static swig_type_info _swigt__p_apr_uint32_t = {"_p_apr_uint32_t", "apr_uint32_t *", 0, 0, 0};
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", "struct svn_error_t *(*)(apr_getopt_t *,void *,apr_pool_t *)|svn_opt_subcommand_t *", 0, 0, 0};
static swig_type_info _swigt__p_f_p_apr_uint32_t_p_p_void_p_void_svn_diff_datasource_e__p_svn_error_t = {"_p_f_p_apr_uint32_t_p_p_void_p_void_svn_diff_datasource_e__p_svn_error_t", "struct svn_error_t *(*)(apr_uint32_t *,void **,void *,svn_diff_datasource_e)|svn_error_t *(*)(apr_uint32_t *,void **,void *,svn_diff_datasource_e)", 0, 0, 0};
static swig_type_info _swigt__p_f_p_p_void_p_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_void_p_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void **,void **,void *,apr_hash_t *,char const *,apr_pool_t *)|svn_error_t *(*)(void **,void **,void *,apr_hash_t *,char const *,apr_pool_t *)", 0, 0, 0};
static swig_type_info _swigt__p_f_p_p_void_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_void_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void **,void *,void *,apr_hash_t *,char const *,apr_pool_t *)|svn_error_t *(*)(void **,void *,void *,apr_hash_t *,char const *,apr_pool_t *)", 0, 0, 0};
static swig_type_info _swigt__p_f_p_q_const__char_p_q_const__char_p_void__int = {"_p_f_p_q_const__char_p_q_const__char_p_void__int", "int (*)(char const *,char const *,void *)|svn_config_enumerator_t", 0, 0, 0};
static swig_type_info _swigt__p_f_p_q_const__char_p_q_const__char_p_void_p_apr_pool_t__int = {"_p_f_p_q_const__char_p_q_const__char_p_void_p_apr_pool_t__int", "int (*)(char const *,char const *,void *,apr_pool_t *)|svn_config_enumerator2_t", 0, 0, 0};
static swig_type_info _swigt__p_f_p_q_const__char_p_void__int = {"_p_f_p_q_const__char_p_void__int", "int (*)(char const *,void *)|svn_config_section_enumerator_t", 0, 0, 0};
static swig_type_info _swigt__p_f_p_q_const__char_p_void_p_apr_pool_t__int = {"_p_f_p_q_const__char_p_void_p_apr_pool_t__int", "int (*)(char const *,void *,apr_pool_t *)|svn_config_section_enumerator2_t", 0, 0, 0};
static swig_type_info _swigt__p_f_p_svn_boolean_t_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_svn_boolean_t_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(svn_boolean_t *,void *,void *,apr_hash_t *,char const *,apr_pool_t *)|svn_error_t *(*)(svn_boolean_t *,void *,void *,apr_hash_t *,char const *,apr_pool_t *)", 0, 0, 0};
static swig_type_info _swigt__p_f_p_void__void = {"_p_f_p_void__void", "void (*)(void *)", 0, 0, 0};
static swig_type_info _swigt__p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t = {"_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t", "struct svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t)|svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t)", 0, 0, 0};
static swig_type_info _swigt__p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_p_svn_diff_t__p_svn_error_t = {"_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_p_svn_diff_t__p_svn_error_t", "struct svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,svn_diff_t *)|svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,svn_diff_t *)", 0, 0, 0};
static swig_type_info _swigt__p_f_p_void_p_void__void = {"_p_f_p_void_p_void__void", "void (*)(void *,void *)", 0, 0, 0};
static swig_type_info _swigt__p_f_p_void_p_void_p_void_p_int__p_svn_error_t = {"_p_f_p_void_p_void_p_void_p_int__p_svn_error_t", "struct svn_error_t *(*)(void *,void *,void *,int *)|svn_error_t *(*)(void *,void *,void *,int *)", 0, 0, 0};
static swig_type_info _swigt__p_f_p_void_svn_diff_datasource_e__p_svn_error_t = {"_p_f_p_void_svn_diff_datasource_e__p_svn_error_t", "struct svn_error_t *(*)(void *,svn_diff_datasource_e)|svn_error_t *(*)(void *,svn_diff_datasource_e)", 0, 0, 0};
static swig_type_info _swigt__p_f_void__p_svn_version_t = {"_p_f_void__p_svn_version_t", "struct svn_version_t *(*)(void)|svn_version_t *(*)(void)", 0, 0, 0};
static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
static swig_type_info _swigt__p_long = {"_p_long", "long *|svn_revnum_t *", 0, 0, 0};
static swig_type_info _swigt__p_p_apr_array_header_t = {"_p_p_apr_array_header_t", "apr_array_header_t **", 0, 0, 0};
static swig_type_info _swigt__p_p_apr_file_t = {"_p_p_apr_file_t", "apr_file_t **", 0, 0, 0};
static swig_type_info _swigt__p_p_apr_hash_t = {"_p_p_apr_hash_t", "apr_hash_t **", 0, 0, 0};
static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, 0};
static swig_type_info _swigt__p_p_svn_auth_baton_t = {"_p_p_svn_auth_baton_t", "struct svn_auth_baton_t **|svn_auth_baton_t **", 0, 0, 0};
static swig_type_info _swigt__p_p_svn_auth_iterstate_t = {"_p_p_svn_auth_iterstate_t", "struct svn_auth_iterstate_t **|svn_auth_iterstate_t **", 0, 0, 0};
static swig_type_info _swigt__p_p_svn_config_t = {"_p_p_svn_config_t", "struct svn_config_t **|svn_config_t **", 0, 0, 0};
static swig_type_info _swigt__p_p_svn_diff_t = {"_p_p_svn_diff_t", "struct svn_diff_t **|svn_diff_t **", 0, 0, 0};
static swig_type_info _swigt__p_p_svn_stream_t = {"_p_p_svn_stream_t", "struct svn_stream_t **|svn_stream_t **", 0, 0, 0};
static swig_type_info _swigt__p_p_svn_string_t = {"_p_p_svn_string_t", "struct svn_string_t **|svn_string_t **", 0, 0, 0};
static swig_type_info _swigt__p_p_svn_stringbuf_t = {"_p_p_svn_stringbuf_t", "struct svn_stringbuf_t **|svn_stringbuf_t **", 0, 0, 0};
static swig_type_info _swigt__p_p_void = {"_p_p_void", "void **", 0, 0, 0};
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, 0};
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, 0};
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, 0};
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, 0};
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, 0};
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, 0};
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, 0};
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, 0};
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, 0};
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, 0};
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, 0};
static swig_type_info _swigt__p_svn_config_t = {"_p_svn_config_t", "struct svn_config_t *|svn_config_t *", 0, 0, 0};
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, 0};
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, 0};
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, 0};
static swig_type_info _swigt__p_svn_diff_t = {"_p_svn_diff_t", "struct svn_diff_t *|svn_diff_t *", 0, 0, 0};
static swig_type_info _swigt__p_svn_dirent_t = {"_p_svn_dirent_t", "struct svn_dirent_t *|svn_dirent_t *", 0, 0, 0};
static swig_type_info _swigt__p_svn_errno_t = {"_p_svn_errno_t", "enum svn_errno_t *|svn_errno_t *", 0, 0, 0};
static swig_type_info _swigt__p_svn_error_t = {"_p_svn_error_t", "struct svn_error_t *|svn_error_t *", 0, 0, 0};
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, 0};
static swig_type_info _swigt__p_svn_lock_t = {"_p_svn_lock_t", "struct svn_lock_t *|svn_lock_t *", 0, 0, 0};
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, 0};
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, 0};
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, 0};
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, 0};
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, 0};
static swig_type_info _swigt__p_svn_prop_kind = {"_p_svn_prop_kind", "enum svn_prop_kind *|svn_prop_kind_t *", 0, 0, 0};
static swig_type_info _swigt__p_svn_prop_t = {"_p_svn_prop_t", "struct svn_prop_t *|svn_prop_t *", 0, 0, 0};
static swig_type_info _swigt__p_svn_stream_t = {"_p_svn_stream_t", "struct svn_stream_t *|svn_stream_t *", 0, 0, 0};
static swig_type_info _swigt__p_svn_string_t = {"_p_svn_string_t", "struct svn_string_t *|svn_string_t *", 0, 0, 0};
static swig_type_info _swigt__p_svn_stringbuf_t = {"_p_svn_stringbuf_t", "struct svn_stringbuf_t *|svn_stringbuf_t *", 0, 0, 0};
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, 0};
static swig_type_info _swigt__p_svn_version_t = {"_p_svn_version_t", "struct svn_version_t *|svn_version_t *", 0, 0, 0};
static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *", 0, 0, 0};
static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0};

static swig_type_info *swig_type_initial[] = {
  &_swigt__p_FILE,
  &_swigt__p_apr_allocator_t,
  &_swigt__p_apr_array_header_t,
  &_swigt__p_apr_file_t,
  &_swigt__p_apr_getopt_option_t,
  &_swigt__p_apr_getopt_t,
  &_swigt__p_apr_hash_t,
  &_swigt__p_apr_int32_t,
  &_swigt__p_apr_int64_t,
  &_swigt__p_apr_pool_t,
  &_swigt__p_apr_size_t,
  &_swigt__p_apr_uint32_t,
  &_swigt__p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t,
  &_swigt__p_f_p_apr_uint32_t_p_p_void_p_void_svn_diff_datasource_e__p_svn_error_t,
  &_swigt__p_f_p_p_void_p_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t,
  &_swigt__p_f_p_p_void_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t,
  &_swigt__p_f_p_q_const__char_p_q_const__char_p_void__int,
  &_swigt__p_f_p_q_const__char_p_q_const__char_p_void_p_apr_pool_t__int,
  &_swigt__p_f_p_q_const__char_p_void__int,
  &_swigt__p_f_p_q_const__char_p_void_p_apr_pool_t__int,
  &_swigt__p_f_p_svn_boolean_t_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t,
  &_swigt__p_f_p_void__void,
  &_swigt__p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t,
  &_swigt__p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_p_svn_diff_t__p_svn_error_t,
  &_swigt__p_f_p_void_p_void__void,
  &_swigt__p_f_p_void_p_void_p_void_p_int__p_svn_error_t,
  &_swigt__p_f_p_void_svn_diff_datasource_e__p_svn_error_t,
  &_swigt__p_f_void__p_svn_version_t,
  &_swigt__p_int,
  &_swigt__p_long,
  &_swigt__p_p_apr_array_header_t,
  &_swigt__p_p_apr_file_t,
  &_swigt__p_p_apr_hash_t,
  &_swigt__p_p_char,
  &_swigt__p_p_svn_auth_baton_t,
  &_swigt__p_p_svn_auth_iterstate_t,
  &_swigt__p_p_svn_config_t,
  &_swigt__p_p_svn_diff_t,
  &_swigt__p_p_svn_stream_t,
  &_swigt__p_p_svn_string_t,
  &_swigt__p_p_svn_stringbuf_t,
  &_swigt__p_p_void,
  &_swigt__p_svn_auth_baton_t,
  &_swigt__p_svn_auth_cred_simple_t,
  &_swigt__p_svn_auth_cred_ssl_client_cert_pw_t,
  &_swigt__p_svn_auth_cred_ssl_client_cert_t,
  &_swigt__p_svn_auth_cred_ssl_server_trust_t,
  &_swigt__p_svn_auth_cred_username_t,
  &_swigt__p_svn_auth_iterstate_t,
  &_swigt__p_svn_auth_provider_object_t,
  &_swigt__p_svn_auth_provider_t,
  &_swigt__p_svn_auth_ssl_server_cert_info_t,
  &_swigt__p_svn_commit_info_t,
  &_swigt__p_svn_config_t,
  &_swigt__p_svn_diff_datasource_e,
  &_swigt__p_svn_diff_fns_t,
  &_swigt__p_svn_diff_output_fns_t,
  &_swigt__p_svn_diff_t,
  &_swigt__p_svn_dirent_t,
  &_swigt__p_svn_errno_t,
  &_swigt__p_svn_error_t,
  &_swigt__p_svn_io_dirent_t,
  &_swigt__p_svn_lock_t,
  &_swigt__p_svn_log_changed_path_t,
  &_swigt__p_svn_node_kind_t,
  &_swigt__p_svn_opt_revision_t,
  &_swigt__p_svn_opt_revision_value_t,
  &_swigt__p_svn_opt_subcommand_desc_t,
  &_swigt__p_svn_prop_kind,
  &_swigt__p_svn_prop_t,
  &_swigt__p_svn_stream_t,
  &_swigt__p_svn_string_t,
  &_swigt__p_svn_stringbuf_t,
  &_swigt__p_svn_version_checklist_t,
  &_swigt__p_svn_version_t,
  &_swigt__p_unsigned_char,
  &_swigt__p_void,
};

static swig_cast_info _swigc__p_FILE[] = {  {&_swigt__p_FILE, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_apr_allocator_t[] = {  {&_swigt__p_apr_allocator_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_apr_array_header_t[] = {  {&_swigt__p_apr_array_header_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_apr_file_t[] = {  {&_swigt__p_apr_file_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_apr_getopt_option_t[] = {  {&_swigt__p_apr_getopt_option_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_apr_getopt_t[] = {  {&_swigt__p_apr_getopt_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_apr_hash_t[] = {  {&_swigt__p_apr_hash_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_apr_int32_t[] = {  {&_swigt__p_apr_int32_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_apr_int64_t[] = {  {&_swigt__p_apr_int64_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_apr_pool_t[] = {  {&_swigt__p_apr_pool_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_apr_size_t[] = {  {&_swigt__p_apr_size_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_apr_uint32_t[] = {  {&_swigt__p_apr_uint32_t, 0, 0, 0},{0, 0, 0, 0}};
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}};
static swig_cast_info _swigc__p_f_p_apr_uint32_t_p_p_void_p_void_svn_diff_datasource_e__p_svn_error_t[] = {  {&_swigt__p_f_p_apr_uint32_t_p_p_void_p_void_svn_diff_datasource_e__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_p_void_p_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_p_void_p_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_p_void_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_p_void_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_q_const__char_p_q_const__char_p_void__int[] = {  {&_swigt__p_f_p_q_const__char_p_q_const__char_p_void__int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_q_const__char_p_q_const__char_p_void_p_apr_pool_t__int[] = {  {&_swigt__p_f_p_q_const__char_p_q_const__char_p_void_p_apr_pool_t__int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_q_const__char_p_void__int[] = {  {&_swigt__p_f_p_q_const__char_p_void__int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_q_const__char_p_void_p_apr_pool_t__int[] = {  {&_swigt__p_f_p_q_const__char_p_void_p_apr_pool_t__int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_svn_boolean_t_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t[] = {  {&_swigt__p_f_p_svn_boolean_t_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void__void[] = {  {&_swigt__p_f_p_void__void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_p_svn_diff_t__p_svn_error_t[] = {  {&_swigt__p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_p_svn_diff_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_void__void[] = {  {&_swigt__p_f_p_void_p_void__void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_void_p_void_p_int__p_svn_error_t[] = {  {&_swigt__p_f_p_void_p_void_p_void_p_int__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_svn_diff_datasource_e__p_svn_error_t[] = {  {&_swigt__p_f_p_void_svn_diff_datasource_e__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_void__p_svn_version_t[] = {  {&_swigt__p_f_void__p_svn_version_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_int[] = {  {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_long[] = {  {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
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}};
static swig_cast_info _swigc__p_p_apr_file_t[] = {  {&_swigt__p_p_apr_file_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_apr_hash_t[] = {  {&_swigt__p_p_apr_hash_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_char[] = {  {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_svn_auth_baton_t[] = {  {&_swigt__p_p_svn_auth_baton_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_svn_auth_iterstate_t[] = {  {&_swigt__p_p_svn_auth_iterstate_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_svn_config_t[] = {  {&_swigt__p_p_svn_config_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_svn_diff_t[] = {  {&_swigt__p_p_svn_diff_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_svn_stream_t[] = {  {&_swigt__p_p_svn_stream_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_svn_string_t[] = {  {&_swigt__p_p_svn_string_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_svn_stringbuf_t[] = {  {&_swigt__p_p_svn_stringbuf_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_void[] = {  {&_swigt__p_p_void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_auth_baton_t[] = {  {&_swigt__p_svn_auth_baton_t, 0, 0, 0},{0, 0, 0, 0}};
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}};
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}};
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}};
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}};
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}};
static swig_cast_info _swigc__p_svn_auth_iterstate_t[] = {  {&_swigt__p_svn_auth_iterstate_t, 0, 0, 0},{0, 0, 0, 0}};
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}};
static swig_cast_info _swigc__p_svn_auth_provider_t[] = {  {&_swigt__p_svn_auth_provider_t, 0, 0, 0},{0, 0, 0, 0}};
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}};
static swig_cast_info _swigc__p_svn_commit_info_t[] = {  {&_swigt__p_svn_commit_info_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_config_t[] = {  {&_swigt__p_svn_config_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_diff_datasource_e[] = {  {&_swigt__p_svn_diff_datasource_e, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_diff_fns_t[] = {  {&_swigt__p_svn_diff_fns_t, 0, 0, 0},{0, 0, 0, 0}};
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}};
static swig_cast_info _swigc__p_svn_diff_t[] = {  {&_swigt__p_svn_diff_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_dirent_t[] = {  {&_swigt__p_svn_dirent_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_errno_t[] = {  {&_swigt__p_svn_errno_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_error_t[] = {  {&_swigt__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_io_dirent_t[] = {  {&_swigt__p_svn_io_dirent_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_lock_t[] = {  {&_swigt__p_svn_lock_t, 0, 0, 0},{0, 0, 0, 0}};
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}};
static swig_cast_info _swigc__p_svn_node_kind_t[] = {  {&_swigt__p_svn_node_kind_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_opt_revision_t[] = {  {&_swigt__p_svn_opt_revision_t, 0, 0, 0},{0, 0, 0, 0}};
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}};
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}};
static swig_cast_info _swigc__p_svn_prop_kind[] = {  {&_swigt__p_svn_prop_kind, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_prop_t[] = {  {&_swigt__p_svn_prop_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_stream_t[] = {  {&_swigt__p_svn_stream_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_string_t[] = {  {&_swigt__p_svn_string_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_stringbuf_t[] = {  {&_swigt__p_svn_stringbuf_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_version_checklist_t[] = {  {&_swigt__p_svn_version_checklist_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_version_t[] = {  {&_swigt__p_svn_version_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_unsigned_char[] = {  {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_void[] = {  {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};

static swig_cast_info *swig_cast_initial[] = {
  _swigc__p_FILE,
  _swigc__p_apr_allocator_t,
  _swigc__p_apr_array_header_t,
  _swigc__p_apr_file_t,
  _swigc__p_apr_getopt_option_t,
  _swigc__p_apr_getopt_t,
  _swigc__p_apr_hash_t,
  _swigc__p_apr_int32_t,
  _swigc__p_apr_int64_t,
  _swigc__p_apr_pool_t,
  _swigc__p_apr_size_t,
  _swigc__p_apr_uint32_t,
  _swigc__p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t,
  _swigc__p_f_p_apr_uint32_t_p_p_void_p_void_svn_diff_datasource_e__p_svn_error_t,
  _swigc__p_f_p_p_void_p_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t,
  _swigc__p_f_p_p_void_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t,
  _swigc__p_f_p_q_const__char_p_q_const__char_p_void__int,
  _swigc__p_f_p_q_const__char_p_q_const__char_p_void_p_apr_pool_t__int,
  _swigc__p_f_p_q_const__char_p_void__int,
  _swigc__p_f_p_q_const__char_p_void_p_apr_pool_t__int,
  _swigc__p_f_p_svn_boolean_t_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t,
  _swigc__p_f_p_void__void,
  _swigc__p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t,
  _swigc__p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_p_svn_diff_t__p_svn_error_t,
  _swigc__p_f_p_void_p_void__void,
  _swigc__p_f_p_void_p_void_p_void_p_int__p_svn_error_t,
  _swigc__p_f_p_void_svn_diff_datasource_e__p_svn_error_t,
  _swigc__p_f_void__p_svn_version_t,
  _swigc__p_int,
  _swigc__p_long,
  _swigc__p_p_apr_array_header_t,
  _swigc__p_p_apr_file_t,
  _swigc__p_p_apr_hash_t,
  _swigc__p_p_char,
  _swigc__p_p_svn_auth_baton_t,
  _swigc__p_p_svn_auth_iterstate_t,
  _swigc__p_p_svn_config_t,
  _swigc__p_p_svn_diff_t,
  _swigc__p_p_svn_stream_t,
  _swigc__p_p_svn_string_t,
  _swigc__p_p_svn_stringbuf_t,
  _swigc__p_p_void,
  _swigc__p_svn_auth_baton_t,
  _swigc__p_svn_auth_cred_simple_t,
  _swigc__p_svn_auth_cred_ssl_client_cert_pw_t,
  _swigc__p_svn_auth_cred_ssl_client_cert_t,
  _swigc__p_svn_auth_cred_ssl_server_trust_t,
  _swigc__p_svn_auth_cred_username_t,
  _swigc__p_svn_auth_iterstate_t,
  _swigc__p_svn_auth_provider_object_t,
  _swigc__p_svn_auth_provider_t,
  _swigc__p_svn_auth_ssl_server_cert_info_t,
  _swigc__p_svn_commit_info_t,
  _swigc__p_svn_config_t,
  _swigc__p_svn_diff_datasource_e,
  _swigc__p_svn_diff_fns_t,
  _swigc__p_svn_diff_output_fns_t,
  _swigc__p_svn_diff_t,
  _swigc__p_svn_dirent_t,
  _swigc__p_svn_errno_t,
  _swigc__p_svn_error_t,
  _swigc__p_svn_io_dirent_t,
  _swigc__p_svn_lock_t,
  _swigc__p_svn_log_changed_path_t,
  _swigc__p_svn_node_kind_t,
  _swigc__p_svn_opt_revision_t,
  _swigc__p_svn_opt_revision_value_t,
  _swigc__p_svn_opt_subcommand_desc_t,
  _swigc__p_svn_prop_kind,
  _swigc__p_svn_prop_t,
  _swigc__p_svn_stream_t,
  _swigc__p_svn_string_t,
  _swigc__p_svn_stringbuf_t,
  _swigc__p_svn_version_checklist_t,
  _swigc__p_svn_version_t,
  _swigc__p_unsigned_char,
  _swigc__p_void,
};


/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */

static swig_constant_info swig_constants[] = {
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CATEGORY_SIZE", (long) 5000, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_WARNING", (long) SVN_WARNING, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_BAD_CONTAINING_POOL", (long) SVN_ERR_BAD_CONTAINING_POOL, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_BAD_FILENAME", (long) SVN_ERR_BAD_FILENAME, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_BAD_URL", (long) SVN_ERR_BAD_URL, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_BAD_DATE", (long) SVN_ERR_BAD_DATE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_BAD_MIME_TYPE", (long) SVN_ERR_BAD_MIME_TYPE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_BAD_VERSION_FILE_FORMAT", (long) SVN_ERR_BAD_VERSION_FILE_FORMAT, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_XML_ATTRIB_NOT_FOUND", (long) SVN_ERR_XML_ATTRIB_NOT_FOUND, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_XML_MISSING_ANCESTRY", (long) SVN_ERR_XML_MISSING_ANCESTRY, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_XML_UNKNOWN_ENCODING", (long) SVN_ERR_XML_UNKNOWN_ENCODING, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_XML_MALFORMED", (long) SVN_ERR_XML_MALFORMED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_XML_UNESCAPABLE_DATA", (long) SVN_ERR_XML_UNESCAPABLE_DATA, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_IO_INCONSISTENT_EOL", (long) SVN_ERR_IO_INCONSISTENT_EOL, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_IO_UNKNOWN_EOL", (long) SVN_ERR_IO_UNKNOWN_EOL, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_IO_CORRUPT_EOL", (long) SVN_ERR_IO_CORRUPT_EOL, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_IO_UNIQUE_NAMES_EXHAUSTED", (long) SVN_ERR_IO_UNIQUE_NAMES_EXHAUSTED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_IO_PIPE_FRAME_ERROR", (long) SVN_ERR_IO_PIPE_FRAME_ERROR, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_IO_PIPE_READ_ERROR", (long) SVN_ERR_IO_PIPE_READ_ERROR, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_IO_WRITE_ERROR", (long) SVN_ERR_IO_WRITE_ERROR, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_STREAM_UNEXPECTED_EOF", (long) SVN_ERR_STREAM_UNEXPECTED_EOF, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_STREAM_MALFORMED_DATA", (long) SVN_ERR_STREAM_MALFORMED_DATA, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_STREAM_UNRECOGNIZED_DATA", (long) SVN_ERR_STREAM_UNRECOGNIZED_DATA, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_NODE_UNKNOWN_KIND", (long) SVN_ERR_NODE_UNKNOWN_KIND, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_NODE_UNEXPECTED_KIND", (long) SVN_ERR_NODE_UNEXPECTED_KIND, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_ENTRY_NOT_FOUND", (long) SVN_ERR_ENTRY_NOT_FOUND, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_ENTRY_EXISTS", (long) SVN_ERR_ENTRY_EXISTS, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_ENTRY_MISSING_REVISION", (long) SVN_ERR_ENTRY_MISSING_REVISION, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_ENTRY_MISSING_URL", (long) SVN_ERR_ENTRY_MISSING_URL, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_ENTRY_ATTRIBUTE_INVALID", (long) SVN_ERR_ENTRY_ATTRIBUTE_INVALID, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_OBSTRUCTED_UPDATE", (long) SVN_ERR_WC_OBSTRUCTED_UPDATE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_UNWIND_MISMATCH", (long) SVN_ERR_WC_UNWIND_MISMATCH, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_UNWIND_EMPTY", (long) SVN_ERR_WC_UNWIND_EMPTY, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_UNWIND_NOT_EMPTY", (long) SVN_ERR_WC_UNWIND_NOT_EMPTY, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_LOCKED", (long) SVN_ERR_WC_LOCKED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_NOT_LOCKED", (long) SVN_ERR_WC_NOT_LOCKED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_INVALID_LOCK", (long) SVN_ERR_WC_INVALID_LOCK, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_NOT_DIRECTORY", (long) SVN_ERR_WC_NOT_DIRECTORY, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_NOT_FILE", (long) SVN_ERR_WC_NOT_FILE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_BAD_ADM_LOG", (long) SVN_ERR_WC_BAD_ADM_LOG, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_PATH_NOT_FOUND", (long) SVN_ERR_WC_PATH_NOT_FOUND, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_NOT_UP_TO_DATE", (long) SVN_ERR_WC_NOT_UP_TO_DATE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_LEFT_LOCAL_MOD", (long) SVN_ERR_WC_LEFT_LOCAL_MOD, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_SCHEDULE_CONFLICT", (long) SVN_ERR_WC_SCHEDULE_CONFLICT, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_PATH_FOUND", (long) SVN_ERR_WC_PATH_FOUND, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_FOUND_CONFLICT", (long) SVN_ERR_WC_FOUND_CONFLICT, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_CORRUPT", (long) SVN_ERR_WC_CORRUPT, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_CORRUPT_TEXT_BASE", (long) SVN_ERR_WC_CORRUPT_TEXT_BASE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_NODE_KIND_CHANGE", (long) SVN_ERR_WC_NODE_KIND_CHANGE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_INVALID_OP_ON_CWD", (long) SVN_ERR_WC_INVALID_OP_ON_CWD, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_BAD_ADM_LOG_START", (long) SVN_ERR_WC_BAD_ADM_LOG_START, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_UNSUPPORTED_FORMAT", (long) SVN_ERR_WC_UNSUPPORTED_FORMAT, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_BAD_PATH", (long) SVN_ERR_WC_BAD_PATH, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_INVALID_SCHEDULE", (long) SVN_ERR_WC_INVALID_SCHEDULE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_INVALID_RELOCATION", (long) SVN_ERR_WC_INVALID_RELOCATION, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_WC_INVALID_SWITCH", (long) SVN_ERR_WC_INVALID_SWITCH, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_GENERAL", (long) SVN_ERR_FS_GENERAL, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_CLEANUP", (long) SVN_ERR_FS_CLEANUP, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_ALREADY_OPEN", (long) SVN_ERR_FS_ALREADY_OPEN, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_NOT_OPEN", (long) SVN_ERR_FS_NOT_OPEN, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_CORRUPT", (long) SVN_ERR_FS_CORRUPT, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_PATH_SYNTAX", (long) SVN_ERR_FS_PATH_SYNTAX, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_NO_SUCH_REVISION", (long) SVN_ERR_FS_NO_SUCH_REVISION, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_NO_SUCH_TRANSACTION", (long) SVN_ERR_FS_NO_SUCH_TRANSACTION, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_NO_SUCH_ENTRY", (long) SVN_ERR_FS_NO_SUCH_ENTRY, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_NO_SUCH_REPRESENTATION", (long) SVN_ERR_FS_NO_SUCH_REPRESENTATION, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_NO_SUCH_STRING", (long) SVN_ERR_FS_NO_SUCH_STRING, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_NO_SUCH_COPY", (long) SVN_ERR_FS_NO_SUCH_COPY, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_TRANSACTION_NOT_MUTABLE", (long) SVN_ERR_FS_TRANSACTION_NOT_MUTABLE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_NOT_FOUND", (long) SVN_ERR_FS_NOT_FOUND, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_ID_NOT_FOUND", (long) SVN_ERR_FS_ID_NOT_FOUND, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_NOT_ID", (long) SVN_ERR_FS_NOT_ID, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_NOT_DIRECTORY", (long) SVN_ERR_FS_NOT_DIRECTORY, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_NOT_FILE", (long) SVN_ERR_FS_NOT_FILE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT", (long) SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_NOT_MUTABLE", (long) SVN_ERR_FS_NOT_MUTABLE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_ALREADY_EXISTS", (long) SVN_ERR_FS_ALREADY_EXISTS, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_ROOT_DIR", (long) SVN_ERR_FS_ROOT_DIR, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_NOT_TXN_ROOT", (long) SVN_ERR_FS_NOT_TXN_ROOT, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_NOT_REVISION_ROOT", (long) SVN_ERR_FS_NOT_REVISION_ROOT, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_CONFLICT", (long) SVN_ERR_FS_CONFLICT, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_REP_CHANGED", (long) SVN_ERR_FS_REP_CHANGED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_REP_NOT_MUTABLE", (long) SVN_ERR_FS_REP_NOT_MUTABLE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_MALFORMED_SKEL", (long) SVN_ERR_FS_MALFORMED_SKEL, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_TXN_OUT_OF_DATE", (long) SVN_ERR_FS_TXN_OUT_OF_DATE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_BERKELEY_DB", (long) SVN_ERR_FS_BERKELEY_DB, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_BERKELEY_DB_DEADLOCK", (long) SVN_ERR_FS_BERKELEY_DB_DEADLOCK, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_TRANSACTION_DEAD", (long) SVN_ERR_FS_TRANSACTION_DEAD, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_TRANSACTION_NOT_DEAD", (long) SVN_ERR_FS_TRANSACTION_NOT_DEAD, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_UNKNOWN_FS_TYPE", (long) SVN_ERR_FS_UNKNOWN_FS_TYPE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_NO_USER", (long) SVN_ERR_FS_NO_USER, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_PATH_ALREADY_LOCKED", (long) SVN_ERR_FS_PATH_ALREADY_LOCKED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_PATH_NOT_LOCKED", (long) SVN_ERR_FS_PATH_NOT_LOCKED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_BAD_LOCK_TOKEN", (long) SVN_ERR_FS_BAD_LOCK_TOKEN, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_NO_LOCK_TOKEN", (long) SVN_ERR_FS_NO_LOCK_TOKEN, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_LOCK_OWNER_MISMATCH", (long) SVN_ERR_FS_LOCK_OWNER_MISMATCH, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_NO_SUCH_LOCK", (long) SVN_ERR_FS_NO_SUCH_LOCK, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_LOCK_EXPIRED", (long) SVN_ERR_FS_LOCK_EXPIRED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_OUT_OF_DATE", (long) SVN_ERR_FS_OUT_OF_DATE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_FS_UNSUPPORTED_FORMAT", (long) SVN_ERR_FS_UNSUPPORTED_FORMAT, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_REPOS_LOCKED", (long) SVN_ERR_REPOS_LOCKED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_REPOS_HOOK_FAILURE", (long) SVN_ERR_REPOS_HOOK_FAILURE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_REPOS_BAD_ARGS", (long) SVN_ERR_REPOS_BAD_ARGS, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_REPOS_NO_DATA_FOR_REPORT", (long) SVN_ERR_REPOS_NO_DATA_FOR_REPORT, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_REPOS_BAD_REVISION_REPORT", (long) SVN_ERR_REPOS_BAD_REVISION_REPORT, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_REPOS_UNSUPPORTED_VERSION", (long) SVN_ERR_REPOS_UNSUPPORTED_VERSION, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_REPOS_DISABLED_FEATURE", (long) SVN_ERR_REPOS_DISABLED_FEATURE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_REPOS_POST_COMMIT_HOOK_FAILED", (long) SVN_ERR_REPOS_POST_COMMIT_HOOK_FAILED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_REPOS_POST_LOCK_HOOK_FAILED", (long) SVN_ERR_REPOS_POST_LOCK_HOOK_FAILED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_REPOS_POST_UNLOCK_HOOK_FAILED", (long) SVN_ERR_REPOS_POST_UNLOCK_HOOK_FAILED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_ILLEGAL_URL", (long) SVN_ERR_RA_ILLEGAL_URL, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_NOT_AUTHORIZED", (long) SVN_ERR_RA_NOT_AUTHORIZED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_UNKNOWN_AUTH", (long) SVN_ERR_RA_UNKNOWN_AUTH, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_NOT_IMPLEMENTED", (long) SVN_ERR_RA_NOT_IMPLEMENTED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_OUT_OF_DATE", (long) SVN_ERR_RA_OUT_OF_DATE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_NO_REPOS_UUID", (long) SVN_ERR_RA_NO_REPOS_UUID, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_UNSUPPORTED_ABI_VERSION", (long) SVN_ERR_RA_UNSUPPORTED_ABI_VERSION, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_NOT_LOCKED", (long) SVN_ERR_RA_NOT_LOCKED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_DAV_SOCK_INIT", (long) SVN_ERR_RA_DAV_SOCK_INIT, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_DAV_CREATING_REQUEST", (long) SVN_ERR_RA_DAV_CREATING_REQUEST, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_DAV_REQUEST_FAILED", (long) SVN_ERR_RA_DAV_REQUEST_FAILED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_DAV_OPTIONS_REQ_FAILED", (long) SVN_ERR_RA_DAV_OPTIONS_REQ_FAILED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_DAV_PROPS_NOT_FOUND", (long) SVN_ERR_RA_DAV_PROPS_NOT_FOUND, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_DAV_ALREADY_EXISTS", (long) SVN_ERR_RA_DAV_ALREADY_EXISTS, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_DAV_INVALID_CONFIG_VALUE", (long) SVN_ERR_RA_DAV_INVALID_CONFIG_VALUE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_DAV_PATH_NOT_FOUND", (long) SVN_ERR_RA_DAV_PATH_NOT_FOUND, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_DAV_PROPPATCH_FAILED", (long) SVN_ERR_RA_DAV_PROPPATCH_FAILED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_DAV_MALFORMED_DATA", (long) SVN_ERR_RA_DAV_MALFORMED_DATA, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_DAV_RESPONSE_HEADER_BADNESS", (long) SVN_ERR_RA_DAV_RESPONSE_HEADER_BADNESS, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_LOCAL_REPOS_NOT_FOUND", (long) SVN_ERR_RA_LOCAL_REPOS_NOT_FOUND, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_LOCAL_REPOS_OPEN_FAILED", (long) SVN_ERR_RA_LOCAL_REPOS_OPEN_FAILED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_SVN_CMD_ERR", (long) SVN_ERR_RA_SVN_CMD_ERR, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_SVN_UNKNOWN_CMD", (long) SVN_ERR_RA_SVN_UNKNOWN_CMD, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_SVN_CONNECTION_CLOSED", (long) SVN_ERR_RA_SVN_CONNECTION_CLOSED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_SVN_IO_ERROR", (long) SVN_ERR_RA_SVN_IO_ERROR, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_SVN_MALFORMED_DATA", (long) SVN_ERR_RA_SVN_MALFORMED_DATA, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_SVN_REPOS_NOT_FOUND", (long) SVN_ERR_RA_SVN_REPOS_NOT_FOUND, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_RA_SVN_BAD_VERSION", (long) SVN_ERR_RA_SVN_BAD_VERSION, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_AUTHN_CREDS_UNAVAILABLE", (long) SVN_ERR_AUTHN_CREDS_UNAVAILABLE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_AUTHN_NO_PROVIDER", (long) SVN_ERR_AUTHN_NO_PROVIDER, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_AUTHN_PROVIDERS_EXHAUSTED", (long) SVN_ERR_AUTHN_PROVIDERS_EXHAUSTED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_AUTHN_CREDS_NOT_SAVED", (long) SVN_ERR_AUTHN_CREDS_NOT_SAVED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_AUTHZ_ROOT_UNREADABLE", (long) SVN_ERR_AUTHZ_ROOT_UNREADABLE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_AUTHZ_UNREADABLE", (long) SVN_ERR_AUTHZ_UNREADABLE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_AUTHZ_PARTIALLY_READABLE", (long) SVN_ERR_AUTHZ_PARTIALLY_READABLE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_AUTHZ_INVALID_CONFIG", (long) SVN_ERR_AUTHZ_INVALID_CONFIG, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_AUTHZ_UNWRITABLE", (long) SVN_ERR_AUTHZ_UNWRITABLE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_SVNDIFF_INVALID_HEADER", (long) SVN_ERR_SVNDIFF_INVALID_HEADER, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_SVNDIFF_CORRUPT_WINDOW", (long) SVN_ERR_SVNDIFF_CORRUPT_WINDOW, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_SVNDIFF_BACKWARD_VIEW", (long) SVN_ERR_SVNDIFF_BACKWARD_VIEW, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_SVNDIFF_INVALID_OPS", (long) SVN_ERR_SVNDIFF_INVALID_OPS, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_SVNDIFF_UNEXPECTED_END", (long) SVN_ERR_SVNDIFF_UNEXPECTED_END, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_APMOD_MISSING_PATH_TO_FS", (long) SVN_ERR_APMOD_MISSING_PATH_TO_FS, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_APMOD_MALFORMED_URI", (long) SVN_ERR_APMOD_MALFORMED_URI, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_APMOD_ACTIVITY_NOT_FOUND", (long) SVN_ERR_APMOD_ACTIVITY_NOT_FOUND, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_APMOD_BAD_BASELINE", (long) SVN_ERR_APMOD_BAD_BASELINE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_APMOD_CONNECTION_ABORTED", (long) SVN_ERR_APMOD_CONNECTION_ABORTED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CLIENT_VERSIONED_PATH_REQUIRED", (long) SVN_ERR_CLIENT_VERSIONED_PATH_REQUIRED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CLIENT_RA_ACCESS_REQUIRED", (long) SVN_ERR_CLIENT_RA_ACCESS_REQUIRED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CLIENT_BAD_REVISION", (long) SVN_ERR_CLIENT_BAD_REVISION, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CLIENT_DUPLICATE_COMMIT_URL", (long) SVN_ERR_CLIENT_DUPLICATE_COMMIT_URL, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CLIENT_IS_BINARY_FILE", (long) SVN_ERR_CLIENT_IS_BINARY_FILE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CLIENT_INVALID_EXTERNALS_DESCRIPTION", (long) SVN_ERR_CLIENT_INVALID_EXTERNALS_DESCRIPTION, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CLIENT_MODIFIED", (long) SVN_ERR_CLIENT_MODIFIED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CLIENT_IS_DIRECTORY", (long) SVN_ERR_CLIENT_IS_DIRECTORY, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CLIENT_REVISION_RANGE", (long) SVN_ERR_CLIENT_REVISION_RANGE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CLIENT_INVALID_RELOCATION", (long) SVN_ERR_CLIENT_INVALID_RELOCATION, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CLIENT_REVISION_AUTHOR_CONTAINS_NEWLINE", (long) SVN_ERR_CLIENT_REVISION_AUTHOR_CONTAINS_NEWLINE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CLIENT_PROPERTY_NAME", (long) SVN_ERR_CLIENT_PROPERTY_NAME, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CLIENT_UNRELATED_RESOURCES", (long) SVN_ERR_CLIENT_UNRELATED_RESOURCES, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CLIENT_MISSING_LOCK_TOKEN", (long) SVN_ERR_CLIENT_MISSING_LOCK_TOKEN, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_BASE", (long) SVN_ERR_BASE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_PLUGIN_LOAD_FAILURE", (long) SVN_ERR_PLUGIN_LOAD_FAILURE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_MALFORMED_FILE", (long) SVN_ERR_MALFORMED_FILE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_INCOMPLETE_DATA", (long) SVN_ERR_INCOMPLETE_DATA, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_INCORRECT_PARAMS", (long) SVN_ERR_INCORRECT_PARAMS, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_UNVERSIONED_RESOURCE", (long) SVN_ERR_UNVERSIONED_RESOURCE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_TEST_FAILED", (long) SVN_ERR_TEST_FAILED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_UNSUPPORTED_FEATURE", (long) SVN_ERR_UNSUPPORTED_FEATURE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_BAD_PROP_KIND", (long) SVN_ERR_BAD_PROP_KIND, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_ILLEGAL_TARGET", (long) SVN_ERR_ILLEGAL_TARGET, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_DELTA_MD5_CHECKSUM_ABSENT", (long) SVN_ERR_DELTA_MD5_CHECKSUM_ABSENT, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_DIR_NOT_EMPTY", (long) SVN_ERR_DIR_NOT_EMPTY, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_EXTERNAL_PROGRAM", (long) SVN_ERR_EXTERNAL_PROGRAM, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_SWIG_PY_EXCEPTION_SET", (long) SVN_ERR_SWIG_PY_EXCEPTION_SET, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CHECKSUM_MISMATCH", (long) SVN_ERR_CHECKSUM_MISMATCH, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CANCELLED", (long) SVN_ERR_CANCELLED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_INVALID_DIFF_OPTION", (long) SVN_ERR_INVALID_DIFF_OPTION, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_PROPERTY_NOT_FOUND", (long) SVN_ERR_PROPERTY_NOT_FOUND, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_NO_AUTH_FILE_PATH", (long) SVN_ERR_NO_AUTH_FILE_PATH, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_VERSION_MISMATCH", (long) SVN_ERR_VERSION_MISMATCH, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CL_ARG_PARSING_ERROR", (long) SVN_ERR_CL_ARG_PARSING_ERROR, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CL_INSUFFICIENT_ARGS", (long) SVN_ERR_CL_INSUFFICIENT_ARGS, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CL_MUTUALLY_EXCLUSIVE_ARGS", (long) SVN_ERR_CL_MUTUALLY_EXCLUSIVE_ARGS, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CL_ADM_DIR_RESERVED", (long) SVN_ERR_CL_ADM_DIR_RESERVED, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CL_LOG_MESSAGE_IS_VERSIONED_FILE", (long) SVN_ERR_CL_LOG_MESSAGE_IS_VERSIONED_FILE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CL_LOG_MESSAGE_IS_PATHNAME", (long) SVN_ERR_CL_LOG_MESSAGE_IS_PATHNAME, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CL_COMMIT_IN_ADDED_DIR", (long) SVN_ERR_CL_COMMIT_IN_ADDED_DIR, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CL_NO_EXTERNAL_EDITOR", (long) SVN_ERR_CL_NO_EXTERNAL_EDITOR, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CL_BAD_LOG_MESSAGE", (long) SVN_ERR_CL_BAD_LOG_MESSAGE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_CL_UNNECESSARY_LOG_MESSAGE", (long) SVN_ERR_CL_UNNECESSARY_LOG_MESSAGE, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ERR_LAST", (long) SVN_ERR_LAST, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "svn_node_none", (long) svn_node_none, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "svn_node_file", (long) svn_node_file, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "svn_node_dir", (long) svn_node_dir, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "svn_node_unknown", (long) svn_node_unknown, 0, 0, 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_REVNUM_T_FMT", 0, 0, (void *)"ld", 0},
{ SWIG_INT,     (char *) SWIG_prefix "TRUE", (long) 1, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "FALSE", (long) 0, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "svn_nonrecursive", (long) svn_nonrecursive, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "svn_recursive", (long) svn_recursive, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_KEYWORD_MAX_LEN", (long) 255, 0, 0, 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_KEYWORD_REVISION_LONG", 0, 0, (void *)"LastChangedRevision", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_KEYWORD_REVISION_SHORT", 0, 0, (void *)"Rev", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_KEYWORD_REVISION_MEDIUM", 0, 0, (void *)"Revision", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_KEYWORD_DATE_LONG", 0, 0, (void *)"LastChangedDate", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_KEYWORD_DATE_SHORT", 0, 0, (void *)"Date", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_KEYWORD_AUTHOR_LONG", 0, 0, (void *)"LastChangedBy", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_KEYWORD_AUTHOR_SHORT", 0, 0, (void *)"Author", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_KEYWORD_URL_LONG", 0, 0, (void *)"HeadURL", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_KEYWORD_URL_SHORT", 0, 0, (void *)"URL", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_KEYWORD_ID", 0, 0, (void *)"Id", 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_STREAM_CHUNK_SIZE", (long) 102400, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SWIG_SVN_INVALID_REVNUM", (long) -1, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SWIG_SVN_IGNORED_REVNUM", (long) -1, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_ALLOCATOR_RECOMMENDED_MAX_FREE", (long) (4096*1024), 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_VER_MAJOR", (long) 1, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_VER_MINOR", (long) 3, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_VER_PATCH", (long) 2, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_VER_MICRO", (long) 2, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_VER_LIBRARY", (long) 1, 0, 0, 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_VER_TAG", 0, 0, (void *)" (r19776)", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_VER_NUMTAG", 0, 0, (void *)"\0", 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_VER_REVISION", (long) 19776, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "svn_prop_entry_kind", (long) svn_prop_entry_kind, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "svn_prop_wc_kind", (long) svn_prop_wc_kind, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "svn_prop_regular_kind", (long) svn_prop_regular_kind, 0, 0, 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_PREFIX", 0, 0, (void *)"svn:", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_MIME_TYPE", 0, 0, (void *)"svn:mime-type", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_IGNORE", 0, 0, (void *)"svn:ignore", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_EOL_STYLE", 0, 0, (void *)"svn:eol-style", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_KEYWORDS", 0, 0, (void *)"svn:keywords", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_EXECUTABLE", 0, 0, (void *)"svn:executable", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_EXECUTABLE_VALUE", 0, 0, (void *)"*", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_NEEDS_LOCK", 0, 0, (void *)"svn:needs-lock", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_NEEDS_LOCK_VALUE", 0, 0, (void *)"*", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_SPECIAL", 0, 0, (void *)"svn:special", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_SPECIAL_VALUE", 0, 0, (void *)"*", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_EXTERNALS", 0, 0, (void *)"svn:externals", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_WC_PREFIX", 0, 0, (void *)"svn:wc:", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_ENTRY_PREFIX", 0, 0, (void *)"svn:entry:", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_ENTRY_COMMITTED_REV", 0, 0, (void *)"svn:entry:committed-rev", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_ENTRY_COMMITTED_DATE", 0, 0, (void *)"svn:entry:committed-date", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_ENTRY_LAST_AUTHOR", 0, 0, (void *)"svn:entry:last-author", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_ENTRY_UUID", 0, 0, (void *)"svn:entry:uuid", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_ENTRY_LOCK_TOKEN", 0, 0, (void *)"svn:entry:lock-token", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_CUSTOM_PREFIX", 0, 0, (void *)"svn:custom:", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_REVISION_AUTHOR", 0, 0, (void *)"svn:author", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_REVISION_LOG", 0, 0, (void *)"svn:log", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_REVISION_DATE", 0, 0, (void *)"svn:date", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_REVISION_ORIG_DATE", 0, 0, (void *)"svn:original-date", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_PROP_REVISION_AUTOVERSIONED", 0, 0, (void *)"svn:autoversioned", 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_OPT_MAX_ALIASES", (long) 3, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_OPT_MAX_OPTIONS", (long) 50, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_OPT_FIRST_LONGOPT_ID", (long) 256, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "svn_opt_revision_unspecified", (long) svn_opt_revision_unspecified, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "svn_opt_revision_number", (long) svn_opt_revision_number, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "svn_opt_revision_date", (long) svn_opt_revision_date, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "svn_opt_revision_committed", (long) svn_opt_revision_committed, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "svn_opt_revision_previous", (long) svn_opt_revision_previous, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "svn_opt_revision_base", (long) svn_opt_revision_base, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "svn_opt_revision_working", (long) svn_opt_revision_working, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "svn_opt_revision_head", (long) svn_opt_revision_head, 0, 0, 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_AUTH_CRED_SIMPLE", 0, 0, (void *)"svn.simple", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_AUTH_CRED_USERNAME", 0, 0, (void *)"svn.username", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_AUTH_CRED_SSL_CLIENT_CERT", 0, 0, (void *)"svn.ssl.client-cert", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_AUTH_CRED_SSL_CLIENT_CERT_PW", 0, 0, (void *)"svn.ssl.client-passphrase", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_AUTH_CRED_SSL_SERVER_TRUST", 0, 0, (void *)"svn.ssl.server", 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_AUTH_SSL_NOTYETVALID", (long) 0x00000001, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_AUTH_SSL_EXPIRED", (long) 0x00000002, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_AUTH_SSL_CNMISMATCH", (long) 0x00000004, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_AUTH_SSL_UNKNOWNCA", (long) 0x00000008, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_AUTH_SSL_OTHER", (long) 0x40000000, 0, 0, 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_AUTH_PARAM_PREFIX", 0, 0, (void *)"svn:auth:", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_AUTH_PARAM_DEFAULT_USERNAME", 0, 0, (void *)"svn:auth:username", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_AUTH_PARAM_DEFAULT_PASSWORD", 0, 0, (void *)"svn:auth:password", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_AUTH_PARAM_NON_INTERACTIVE", 0, 0, (void *)"svn:auth:non-interactive", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_AUTH_PARAM_DONT_STORE_PASSWORDS", 0, 0, (void *)"svn:auth:dont-store-passwords", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_AUTH_PARAM_NO_AUTH_CACHE", 0, 0, (void *)"svn:auth:no-auth-cache", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_AUTH_PARAM_SSL_SERVER_FAILURES", 0, 0, (void *)"svn:auth:ssl:failures", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_AUTH_PARAM_SSL_SERVER_CERT_INFO", 0, 0, (void *)"svn:auth:ssl:cert-info", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_AUTH_PARAM_CONFIG", 0, 0, (void *)"svn:auth:config", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_AUTH_PARAM_SERVER_GROUP", 0, 0, (void *)"svn:auth:server-group", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_AUTH_PARAM_CONFIG_DIR", 0, 0, (void *)"svn:auth:config-dir", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_CATEGORY_SERVERS", 0, 0, (void *)"servers", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_SECTION_GROUPS", 0, 0, (void *)"groups", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_SECTION_GLOBAL", 0, 0, (void *)"global", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_HTTP_PROXY_HOST", 0, 0, (void *)"http-proxy-host", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_HTTP_PROXY_PORT", 0, 0, (void *)"http-proxy-port", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_HTTP_PROXY_USERNAME", 0, 0, (void *)"http-proxy-username", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_HTTP_PROXY_PASSWORD", 0, 0, (void *)"http-proxy-password", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_HTTP_PROXY_EXCEPTIONS", 0, 0, (void *)"http-proxy-exceptions", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_HTTP_TIMEOUT", 0, 0, (void *)"http-timeout", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_HTTP_COMPRESSION", 0, 0, (void *)"http-compression", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_NEON_DEBUG_MASK", 0, 0, (void *)"neon-debug-mask", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_SSL_AUTHORITY_FILES", 0, 0, (void *)"ssl-authority-files", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_SSL_TRUST_DEFAULT_CA", 0, 0, (void *)"ssl-trust-default-ca", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_SSL_CLIENT_CERT_FILE", 0, 0, (void *)"ssl-client-cert-file", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_SSL_CLIENT_CERT_PASSWORD", 0, 0, (void *)"ssl-client-cert-password", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_CATEGORY_CONFIG", 0, 0, (void *)"config", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_SECTION_AUTH", 0, 0, (void *)"auth", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_STORE_PASSWORDS", 0, 0, (void *)"store-passwords", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_STORE_AUTH_CREDS", 0, 0, (void *)"store-auth-creds", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_SECTION_HELPERS", 0, 0, (void *)"helpers", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_EDITOR_CMD", 0, 0, (void *)"editor-cmd", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_DIFF_CMD", 0, 0, (void *)"diff-cmd", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_DIFF3_CMD", 0, 0, (void *)"diff3-cmd", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_DIFF3_HAS_PROGRAM_ARG", 0, 0, (void *)"diff3-has-program-arg", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_SECTION_MISCELLANY", 0, 0, (void *)"miscellany", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_GLOBAL_IGNORES", 0, 0, (void *)"global-ignores", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_LOG_ENCODING", 0, 0, (void *)"log-encoding", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_USE_COMMIT_TIMES", 0, 0, (void *)"use-commit-times", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_TEMPLATE_ROOT", 0, 0, (void *)"template-root", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_ENABLE_AUTO_PROPS", 0, 0, (void *)"enable-auto-props", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_NO_UNLOCK", 0, 0, (void *)"no-unlock", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_SECTION_TUNNELS", 0, 0, (void *)"tunnels", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_SECTION_AUTO_PROPS", 0, 0, (void *)"auto-props", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_SECTION_GENERAL", 0, 0, (void *)"general", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_ANON_ACCESS", 0, 0, (void *)"anon-access", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_AUTH_ACCESS", 0, 0, (void *)"auth-access", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_PASSWORD_DB", 0, 0, (void *)"password-db", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_REALM", 0, 0, (void *)"realm", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_OPTION_AUTHZ_DB", 0, 0, (void *)"authz-db", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_SECTION_USERS", 0, 0, (void *)"users", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_DEFAULT_GLOBAL_IGNORES", 0, 0, (void *)"*.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_TRUE", 0, 0, (void *)"true", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_FALSE", 0, 0, (void *)"false", 0},
{ SWIG_STRING,  (char *) SWIG_prefix "SVN_CONFIG_REALMSTRING_KEY", 0, 0, (void *)"svn:realmstring", 0},
{ SWIG_INT,     (char *) SWIG_prefix "svn_diff_datasource_original", (long) svn_diff_datasource_original, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "svn_diff_datasource_modified", (long) svn_diff_datasource_modified, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "svn_diff_datasource_latest", (long) svn_diff_datasource_latest, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "svn_diff_datasource_ancestor", (long) svn_diff_datasource_ancestor, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "SVN_NO_ERROR", (long) 0, 0, 0, 0},
{0,0,0,0,0,0}
};
#ifdef __cplusplus
}
#endif
static swig_variable_info swig_variables[] = {
    { "SVN::_Core::current_pool", MAGIC_CLASS _wrap_set_current_pool, MAGIC_CLASS _wrap_val_current_pool,&SWIGTYPE_p_apr_pool_t },
{0,0,0,0}
};
static swig_command_info swig_commands[] = {
{"SVN::_Core::svn_time_to_cstring", _wrap_svn_time_to_cstring},
{"SVN::_Core::svn_time_from_cstring", _wrap_svn_time_from_cstring},
{"SVN::_Core::svn_time_to_human_cstring", _wrap_svn_time_to_human_cstring},
{"SVN::_Core::svn_parse_date", _wrap_svn_parse_date},
{"SVN::_Core::svn_sleep_for_timestamps", _wrap_svn_sleep_for_timestamps},
{"SVN::_Core::svn_error_t_apr_err_set", _wrap_svn_error_t_apr_err_set},
{"SVN::_Core::svn_error_t_apr_err_get", _wrap_svn_error_t_apr_err_get},
{"SVN::_Core::svn_error_t_message_get", _wrap_svn_error_t_message_get},
{"SVN::_Core::svn_error_t_child_set", _wrap_svn_error_t_child_set},
{"SVN::_Core::svn_error_t_child_get", _wrap_svn_error_t_child_get},
{"SVN::_Core::svn_error_t_pool_set", _wrap_svn_error_t_pool_set},
{"SVN::_Core::svn_error_t_pool_get", _wrap_svn_error_t_pool_get},
{"SVN::_Core::svn_error_t_file_get", _wrap_svn_error_t_file_get},
{"SVN::_Core::svn_error_t_line_set", _wrap_svn_error_t_line_set},
{"SVN::_Core::svn_error_t_line_get", _wrap_svn_error_t_line_get},
{"SVN::_Core::new_svn_error_t", _wrap_new_svn_error_t},
{"SVN::_Core::delete_svn_error_t", _wrap_delete_svn_error_t},
{"SVN::_Core::svn_dirent_t_kind_set", _wrap_svn_dirent_t_kind_set},
{"SVN::_Core::svn_dirent_t_kind_get", _wrap_svn_dirent_t_kind_get},
{"SVN::_Core::svn_dirent_t_size_set", _wrap_svn_dirent_t_size_set},
{"SVN::_Core::svn_dirent_t_size_get", _wrap_svn_dirent_t_size_get},
{"SVN::_Core::svn_dirent_t_has_props_set", _wrap_svn_dirent_t_has_props_set},
{"SVN::_Core::svn_dirent_t_has_props_get", _wrap_svn_dirent_t_has_props_get},
{"SVN::_Core::svn_dirent_t_created_rev_set", _wrap_svn_dirent_t_created_rev_set},
{"SVN::_Core::svn_dirent_t_created_rev_get", _wrap_svn_dirent_t_created_rev_get},
{"SVN::_Core::svn_dirent_t_time_set", _wrap_svn_dirent_t_time_set},
{"SVN::_Core::svn_dirent_t_time_get", _wrap_svn_dirent_t_time_get},
{"SVN::_Core::svn_dirent_t_last_author_get", _wrap_svn_dirent_t_last_author_get},
{"SVN::_Core::new_svn_dirent_t", _wrap_new_svn_dirent_t},
{"SVN::_Core::delete_svn_dirent_t", _wrap_delete_svn_dirent_t},
{"SVN::_Core::svn_commit_info_t_revision_set", _wrap_svn_commit_info_t_revision_set},
{"SVN::_Core::svn_commit_info_t_revision_get", _wrap_svn_commit_info_t_revision_get},
{"SVN::_Core::svn_commit_info_t_date_set", _wrap_svn_commit_info_t_date_set},
{"SVN::_Core::svn_commit_info_t_date_get", _wrap_svn_commit_info_t_date_get},
{"SVN::_Core::svn_commit_info_t_author_set", _wrap_svn_commit_info_t_author_set},
{"SVN::_Core::svn_commit_info_t_author_get", _wrap_svn_commit_info_t_author_get},
{"SVN::_Core::svn_commit_info_t_post_commit_err_set", _wrap_svn_commit_info_t_post_commit_err_set},
{"SVN::_Core::svn_commit_info_t_post_commit_err_get", _wrap_svn_commit_info_t_post_commit_err_get},
{"SVN::_Core::new_svn_commit_info_t", _wrap_new_svn_commit_info_t},
{"SVN::_Core::delete_svn_commit_info_t", _wrap_delete_svn_commit_info_t},
{"SVN::_Core::svn_create_commit_info", _wrap_svn_create_commit_info},
{"SVN::_Core::svn_log_changed_path_t_action_set", _wrap_svn_log_changed_path_t_action_set},
{"SVN::_Core::svn_log_changed_path_t_action_get", _wrap_svn_log_changed_path_t_action_get},
{"SVN::_Core::svn_log_changed_path_t_copyfrom_path_get", _wrap_svn_log_changed_path_t_copyfrom_path_get},
{"SVN::_Core::svn_log_changed_path_t_copyfrom_rev_set", _wrap_svn_log_changed_path_t_copyfrom_rev_set},
{"SVN::_Core::svn_log_changed_path_t_copyfrom_rev_get", _wrap_svn_log_changed_path_t_copyfrom_rev_get},
{"SVN::_Core::new_svn_log_changed_path_t", _wrap_new_svn_log_changed_path_t},
{"SVN::_Core::delete_svn_log_changed_path_t", _wrap_delete_svn_log_changed_path_t},
{"SVN::_Core::svn_log_changed_path_dup", _wrap_svn_log_changed_path_dup},
{"SVN::_Core::svn_mime_type_validate", _wrap_svn_mime_type_validate},
{"SVN::_Core::svn_mime_type_is_binary", _wrap_svn_mime_type_is_binary},
{"SVN::_Core::svn_lock_t_path_set", _wrap_svn_lock_t_path_set},
{"SVN::_Core::svn_lock_t_path_get", _wrap_svn_lock_t_path_get},
{"SVN::_Core::svn_lock_t_token_set", _wrap_svn_lock_t_token_set},
{"SVN::_Core::svn_lock_t_token_get", _wrap_svn_lock_t_token_get},
{"SVN::_Core::svn_lock_t_owner_set", _wrap_svn_lock_t_owner_set},
{"SVN::_Core::svn_lock_t_owner_get", _wrap_svn_lock_t_owner_get},
{"SVN::_Core::svn_lock_t_comment_set", _wrap_svn_lock_t_comment_set},
{"SVN::_Core::svn_lock_t_comment_get", _wrap_svn_lock_t_comment_get},
{"SVN::_Core::svn_lock_t_is_dav_comment_set", _wrap_svn_lock_t_is_dav_comment_set},
{"SVN::_Core::svn_lock_t_is_dav_comment_get", _wrap_svn_lock_t_is_dav_comment_get},
{"SVN::_Core::svn_lock_t_creation_date_set", _wrap_svn_lock_t_creation_date_set},
{"SVN::_Core::svn_lock_t_creation_date_get", _wrap_svn_lock_t_creation_date_get},
{"SVN::_Core::svn_lock_t_expiration_date_set", _wrap_svn_lock_t_expiration_date_set},
{"SVN::_Core::svn_lock_t_expiration_date_get", _wrap_svn_lock_t_expiration_date_get},
{"SVN::_Core::new_svn_lock_t", _wrap_new_svn_lock_t},
{"SVN::_Core::delete_svn_lock_t", _wrap_delete_svn_lock_t},
{"SVN::_Core::svn_lock_create", _wrap_svn_lock_create},
{"SVN::_Core::svn_lock_dup", _wrap_svn_lock_dup},
{"SVN::_Core::apr_initialize", _wrap_apr_initialize},
{"SVN::_Core::apr_terminate", _wrap_apr_terminate},
{"SVN::_Core::apr_time_ansi_put", _wrap_apr_time_ansi_put},
{"SVN::_Core::apr_pool_destroy", _wrap_apr_pool_destroy},
{"SVN::_Core::apr_pool_clear", _wrap_apr_pool_clear},
{"SVN::_Core::apr_file_open_stdout", _wrap_apr_file_open_stdout},
{"SVN::_Core::apr_file_open_stderr", _wrap_apr_file_open_stderr},
{"SVN::_Core::svn_pool_create", _wrap_svn_pool_create},
{"SVN::_Core::svn_version_t_major_set", _wrap_svn_version_t_major_set},
{"SVN::_Core::svn_version_t_major_get", _wrap_svn_version_t_major_get},
{"SVN::_Core::svn_version_t_minor_set", _wrap_svn_version_t_minor_set},
{"SVN::_Core::svn_version_t_minor_get", _wrap_svn_version_t_minor_get},
{"SVN::_Core::svn_version_t_patch_set", _wrap_svn_version_t_patch_set},
{"SVN::_Core::svn_version_t_patch_get", _wrap_svn_version_t_patch_get},
{"SVN::_Core::svn_version_t_tag_set", _wrap_svn_version_t_tag_set},
{"SVN::_Core::svn_version_t_tag_get", _wrap_svn_version_t_tag_get},
{"SVN::_Core::new_svn_version_t", _wrap_new_svn_version_t},
{"SVN::_Core::delete_svn_version_t", _wrap_delete_svn_version_t},
{"SVN::_Core::svn_ver_compatible", _wrap_svn_ver_compatible},
{"SVN::_Core::svn_ver_equal", _wrap_svn_ver_equal},
{"SVN::_Core::svn_version_checklist_t_label_set", _wrap_svn_version_checklist_t_label_set},
{"SVN::_Core::svn_version_checklist_t_label_get", _wrap_svn_version_checklist_t_label_get},
{"SVN::_Core::svn_version_checklist_t_version_query_set", _wrap_svn_version_checklist_t_version_query_set},
{"SVN::_Core::svn_version_checklist_t_version_query_get", _wrap_svn_version_checklist_t_version_query_get},
{"SVN::_Core::new_svn_version_checklist_t", _wrap_new_svn_version_checklist_t},
{"SVN::_Core::delete_svn_version_checklist_t", _wrap_delete_svn_version_checklist_t},
{"SVN::_Core::svn_ver_check_list", _wrap_svn_ver_check_list},
{"SVN::_Core::svn_subr_version", _wrap_svn_subr_version},
{"SVN::_Core::svn_prop_dup", _wrap_svn_prop_dup},
{"SVN::_Core::svn_prop_array_dup", _wrap_svn_prop_array_dup},
{"SVN::_Core::svn_property_kind", _wrap_svn_property_kind},
{"SVN::_Core::svn_prop_is_svn_prop", _wrap_svn_prop_is_svn_prop},
{"SVN::_Core::svn_prop_needs_translation", _wrap_svn_prop_needs_translation},
{"SVN::_Core::svn_categorize_props", _wrap_svn_categorize_props},
{"SVN::_Core::svn_prop_diffs", _wrap_svn_prop_diffs},
{"SVN::_Core::svn_opt_subcommand_desc_t_name_set", _wrap_svn_opt_subcommand_desc_t_name_set},
{"SVN::_Core::svn_opt_subcommand_desc_t_name_get", _wrap_svn_opt_subcommand_desc_t_name_get},
{"SVN::_Core::svn_opt_subcommand_desc_t_cmd_func_set", _wrap_svn_opt_subcommand_desc_t_cmd_func_set},
{"SVN::_Core::svn_opt_subcommand_desc_t_cmd_func_get", _wrap_svn_opt_subcommand_desc_t_cmd_func_get},
{"SVN::_Core::svn_opt_subcommand_desc_t_aliases_set", _wrap_svn_opt_subcommand_desc_t_aliases_set},
{"SVN::_Core::svn_opt_subcommand_desc_t_aliases_get", _wrap_svn_opt_subcommand_desc_t_aliases_get},
{"SVN::_Core::svn_opt_subcommand_desc_t_help_set", _wrap_svn_opt_subcommand_desc_t_help_set},
{"SVN::_Core::svn_opt_subcommand_desc_t_help_get", _wrap_svn_opt_subcommand_desc_t_help_get},
{"SVN::_Core::svn_opt_subcommand_desc_t_valid_options_set", _wrap_svn_opt_subcommand_desc_t_valid_options_set},
{"SVN::_Core::svn_opt_subcommand_desc_t_valid_options_get", _wrap_svn_opt_subcommand_desc_t_valid_options_get},
{"SVN::_Core::new_svn_opt_subcommand_desc_t", _wrap_new_svn_opt_subcommand_desc_t},
{"SVN::_Core::delete_svn_opt_subcommand_desc_t", _wrap_delete_svn_opt_subcommand_desc_t},
{"SVN::_Core::svn_opt_get_canonical_subcommand", _wrap_svn_opt_get_canonical_subcommand},
{"SVN::_Core::svn_opt_get_option_from_code", _wrap_svn_opt_get_option_from_code},
{"SVN::_Core::svn_opt_subcommand_takes_option", _wrap_svn_opt_subcommand_takes_option},
{"SVN::_Core::svn_opt_format_option", _wrap_svn_opt_format_option},
{"SVN::_Core::svn_opt_subcommand_help", _wrap_svn_opt_subcommand_help},
{"SVN::_Core::svn_opt_revision_value_t_number_set", _wrap_svn_opt_revision_value_t_number_set},
{"SVN::_Core::svn_opt_revision_value_t_number_get", _wrap_svn_opt_revision_value_t_number_get},
{"SVN::_Core::svn_opt_revision_value_t_date_set", _wrap_svn_opt_revision_value_t_date_set},
{"SVN::_Core::svn_opt_revision_value_t_date_get", _wrap_svn_opt_revision_value_t_date_get},
{"SVN::_Core::new_svn_opt_revision_value_t", _wrap_new_svn_opt_revision_value_t},
{"SVN::_Core::delete_svn_opt_revision_value_t", _wrap_delete_svn_opt_revision_value_t},
{"SVN::_Core::svn_opt_revision_t_kind_set", _wrap_svn_opt_revision_t_kind_set},
{"SVN::_Core::svn_opt_revision_t_kind_get", _wrap_svn_opt_revision_t_kind_get},
{"SVN::_Core::svn_opt_revision_t_value_set", _wrap_svn_opt_revision_t_value_set},
{"SVN::_Core::svn_opt_revision_t_value_get", _wrap_svn_opt_revision_t_value_get},
{"SVN::_Core::new_svn_opt_revision_t", _wrap_new_svn_opt_revision_t},
{"SVN::_Core::delete_svn_opt_revision_t", _wrap_delete_svn_opt_revision_t},
{"SVN::_Core::svn_opt_parse_revision", _wrap_svn_opt_parse_revision},
{"SVN::_Core::svn_opt_args_to_target_array2", _wrap_svn_opt_args_to_target_array2},
{"SVN::_Core::svn_opt_args_to_target_array", _wrap_svn_opt_args_to_target_array},
{"SVN::_Core::svn_opt_push_implicit_dot_target", _wrap_svn_opt_push_implicit_dot_target},
{"SVN::_Core::svn_opt_parse_num_args", _wrap_svn_opt_parse_num_args},
{"SVN::_Core::svn_opt_parse_all_args", _wrap_svn_opt_parse_all_args},
{"SVN::_Core::svn_opt_parse_path", _wrap_svn_opt_parse_path},
{"SVN::_Core::svn_opt_print_help", _wrap_svn_opt_print_help},
{"SVN::_Core::svn_auth_provider_t_cred_kind_set", _wrap_svn_auth_provider_t_cred_kind_set},
{"SVN::_Core::svn_auth_provider_t_cred_kind_get", _wrap_svn_auth_provider_t_cred_kind_get},
{"SVN::_Core::svn_auth_provider_t_first_credentials_set", _wrap_svn_auth_provider_t_first_credentials_set},
{"SVN::_Core::svn_auth_provider_t_first_credentials_get", _wrap_svn_auth_provider_t_first_credentials_get},
{"SVN::_Core::svn_auth_provider_t_next_credentials_set", _wrap_svn_auth_provider_t_next_credentials_set},
{"SVN::_Core::svn_auth_provider_t_next_credentials_get", _wrap_svn_auth_provider_t_next_credentials_get},
{"SVN::_Core::svn_auth_provider_t_save_credentials_set", _wrap_svn_auth_provider_t_save_credentials_set},
{"SVN::_Core::svn_auth_provider_t_save_credentials_get", _wrap_svn_auth_provider_t_save_credentials_get},
{"SVN::_Core::new_svn_auth_provider_t", _wrap_new_svn_auth_provider_t},
{"SVN::_Core::delete_svn_auth_provider_t", _wrap_delete_svn_auth_provider_t},
{"SVN::_Core::svn_auth_provider_object_t_vtable_set", _wrap_svn_auth_provider_object_t_vtable_set},
{"SVN::_Core::svn_auth_provider_object_t_vtable_get", _wrap_svn_auth_provider_object_t_vtable_get},
{"SVN::_Core::svn_auth_provider_object_t_provider_baton_set", _wrap_svn_auth_provider_object_t_provider_baton_set},
{"SVN::_Core::svn_auth_provider_object_t_provider_baton_get", _wrap_svn_auth_provider_object_t_provider_baton_get},
{"SVN::_Core::new_svn_auth_provider_object_t", _wrap_new_svn_auth_provider_object_t},
{"SVN::_Core::delete_svn_auth_provider_object_t", _wrap_delete_svn_auth_provider_object_t},
{"SVN::_Core::svn_auth_cred_simple_t_username_set", _wrap_svn_auth_cred_simple_t_username_set},
{"SVN::_Core::svn_auth_cred_simple_t_username_get", _wrap_svn_auth_cred_simple_t_username_get},
{"SVN::_Core::svn_auth_cred_simple_t_password_set", _wrap_svn_auth_cred_simple_t_password_set},
{"SVN::_Core::svn_auth_cred_simple_t_password_get", _wrap_svn_auth_cred_simple_t_password_get},
{"SVN::_Core::svn_auth_cred_simple_t_may_save_set", _wrap_svn_auth_cred_simple_t_may_save_set},
{"SVN::_Core::svn_auth_cred_simple_t_may_save_get", _wrap_svn_auth_cred_simple_t_may_save_get},
{"SVN::_Core::new_svn_auth_cred_simple_t", _wrap_new_svn_auth_cred_simple_t},
{"SVN::_Core::delete_svn_auth_cred_simple_t", _wrap_delete_svn_auth_cred_simple_t},
{"SVN::_Core::svn_auth_cred_username_t_username_set", _wrap_svn_auth_cred_username_t_username_set},
{"SVN::_Core::svn_auth_cred_username_t_username_get", _wrap_svn_auth_cred_username_t_username_get},
{"SVN::_Core::svn_auth_cred_username_t_may_save_set", _wrap_svn_auth_cred_username_t_may_save_set},
{"SVN::_Core::svn_auth_cred_username_t_may_save_get", _wrap_svn_auth_cred_username_t_may_save_get},
{"SVN::_Core::new_svn_auth_cred_username_t", _wrap_new_svn_auth_cred_username_t},
{"SVN::_Core::delete_svn_auth_cred_username_t", _wrap_delete_svn_auth_cred_username_t},
{"SVN::_Core::svn_auth_cred_ssl_client_cert_t_cert_file_set", _wrap_svn_auth_cred_ssl_client_cert_t_cert_file_set},
{"SVN::_Core::svn_auth_cred_ssl_client_cert_t_cert_file_get", _wrap_svn_auth_cred_ssl_client_cert_t_cert_file_get},
{"SVN::_Core::svn_auth_cred_ssl_client_cert_t_may_save_set", _wrap_svn_auth_cred_ssl_client_cert_t_may_save_set},
{"SVN::_Core::svn_auth_cred_ssl_client_cert_t_may_save_get", _wrap_svn_auth_cred_ssl_client_cert_t_may_save_get},
{"SVN::_Core::new_svn_auth_cred_ssl_client_cert_t", _wrap_new_svn_auth_cred_ssl_client_cert_t},
{"SVN::_Core::delete_svn_auth_cred_ssl_client_cert_t", _wrap_delete_svn_auth_cred_ssl_client_cert_t},
{"SVN::_Core::svn_auth_cred_ssl_client_cert_pw_t_password_set", _wrap_svn_auth_cred_ssl_client_cert_pw_t_password_set},
{"SVN::_Core::svn_auth_cred_ssl_client_cert_pw_t_password_get", _wrap_svn_auth_cred_ssl_client_cert_pw_t_password_get},
{"SVN::_Core::svn_auth_cred_ssl_client_cert_pw_t_may_save_set", _wrap_svn_auth_cred_ssl_client_cert_pw_t_may_save_set},
{"SVN::_Core::svn_auth_cred_ssl_client_cert_pw_t_may_save_get", _wrap_svn_auth_cred_ssl_client_cert_pw_t_may_save_get},
{"SVN::_Core::new_svn_auth_cred_ssl_client_cert_pw_t", _wrap_new_svn_auth_cred_ssl_client_cert_pw_t},
{"SVN::_Core::delete_svn_auth_cred_ssl_client_cert_pw_t", _wrap_delete_svn_auth_cred_ssl_client_cert_pw_t},
{"SVN::_Core::svn_auth_ssl_server_cert_info_t_hostname_set", _wrap_svn_auth_ssl_server_cert_info_t_hostname_set},
{"SVN::_Core::svn_auth_ssl_server_cert_info_t_hostname_get", _wrap_svn_auth_ssl_server_cert_info_t_hostname_get},
{"SVN::_Core::svn_auth_ssl_server_cert_info_t_fingerprint_set", _wrap_svn_auth_ssl_server_cert_info_t_fingerprint_set},
{"SVN::_Core::svn_auth_ssl_server_cert_info_t_fingerprint_get", _wrap_svn_auth_ssl_server_cert_info_t_fingerprint_get},
{"SVN::_Core::svn_auth_ssl_server_cert_info_t_valid_from_set", _wrap_svn_auth_ssl_server_cert_info_t_valid_from_set},
{"SVN::_Core::svn_auth_ssl_server_cert_info_t_valid_from_get", _wrap_svn_auth_ssl_server_cert_info_t_valid_from_get},
{"SVN::_Core::svn_auth_ssl_server_cert_info_t_valid_until_set", _wrap_svn_auth_ssl_server_cert_info_t_valid_until_set},
{"SVN::_Core::svn_auth_ssl_server_cert_info_t_valid_until_get", _wrap_svn_auth_ssl_server_cert_info_t_valid_until_get},
{"SVN::_Core::svn_auth_ssl_server_cert_info_t_issuer_dname_set", _wrap_svn_auth_ssl_server_cert_info_t_issuer_dname_set},
{"SVN::_Core::svn_auth_ssl_server_cert_info_t_issuer_dname_get", _wrap_svn_auth_ssl_server_cert_info_t_issuer_dname_get},
{"SVN::_Core::svn_auth_ssl_server_cert_info_t_ascii_cert_set", _wrap_svn_auth_ssl_server_cert_info_t_ascii_cert_set},
{"SVN::_Core::svn_auth_ssl_server_cert_info_t_ascii_cert_get", _wrap_svn_auth_ssl_server_cert_info_t_ascii_cert_get},
{"SVN::_Core::new_svn_auth_ssl_server_cert_info_t", _wrap_new_svn_auth_ssl_server_cert_info_t},
{"SVN::_Core::delete_svn_auth_ssl_server_cert_info_t", _wrap_delete_svn_auth_ssl_server_cert_info_t},
{"SVN::_Core::svn_auth_ssl_server_cert_info_dup", _wrap_svn_auth_ssl_server_cert_info_dup},
{"SVN::_Core::svn_auth_cred_ssl_server_trust_t_may_save_set", _wrap_svn_auth_cred_ssl_server_trust_t_may_save_set},
{"SVN::_Core::svn_auth_cred_ssl_server_trust_t_may_save_get", _wrap_svn_auth_cred_ssl_server_trust_t_may_save_get},
{"SVN::_Core::svn_auth_cred_ssl_server_trust_t_accepted_failures_set", _wrap_svn_auth_cred_ssl_server_trust_t_accepted_failures_set},
{"SVN::_Core::svn_auth_cred_ssl_server_trust_t_accepted_failures_get", _wrap_svn_auth_cred_ssl_server_trust_t_accepted_failures_get},
{"SVN::_Core::new_svn_auth_cred_ssl_server_trust_t", _wrap_new_svn_auth_cred_ssl_server_trust_t},
{"SVN::_Core::delete_svn_auth_cred_ssl_server_trust_t", _wrap_delete_svn_auth_cred_ssl_server_trust_t},
{"SVN::_Core::svn_auth_open", _wrap_svn_auth_open},
{"SVN::_Core::svn_auth_set_parameter", _wrap_svn_auth_set_parameter},
{"SVN::_Core::svn_auth_first_credentials", _wrap_svn_auth_first_credentials},
{"SVN::_Core::svn_auth_next_credentials", _wrap_svn_auth_next_credentials},
{"SVN::_Core::svn_auth_save_credentials", _wrap_svn_auth_save_credentials},
{"SVN::_Core::svn_config_get_config", _wrap_svn_config_get_config},
{"SVN::_Core::svn_config_read", _wrap_svn_config_read},
{"SVN::_Core::svn_config_merge", _wrap_svn_config_merge},
{"SVN::_Core::svn_config_get", _wrap_svn_config_get},
{"SVN::_Core::svn_config_set", _wrap_svn_config_set},
{"SVN::_Core::svn_config_get_bool", _wrap_svn_config_get_bool},
{"SVN::_Core::svn_config_set_bool", _wrap_svn_config_set_bool},
{"SVN::_Core::svn_config_enumerate_sections", _wrap_svn_config_enumerate_sections},
{"SVN::_Core::svn_config_enumerate_sections2", _wrap_svn_config_enumerate_sections2},
{"SVN::_Core::svn_config_enumerate", _wrap_svn_config_enumerate},
{"SVN::_Core::svn_config_enumerate2", _wrap_svn_config_enumerate2},
{"SVN::_Core::svn_config_find_group", _wrap_svn_config_find_group},
{"SVN::_Core::svn_config_get_server_setting", _wrap_svn_config_get_server_setting},
{"SVN::_Core::svn_config_get_server_setting_int", _wrap_svn_config_get_server_setting_int},
{"SVN::_Core::svn_config_ensure", _wrap_svn_config_ensure},
{"SVN::_Core::svn_config_read_auth_data", _wrap_svn_config_read_auth_data},
{"SVN::_Core::svn_config_write_auth_data", _wrap_svn_config_write_auth_data},
{"SVN::_Core::svn_utf_initialize", _wrap_svn_utf_initialize},
{"SVN::_Core::svn_utf_stringbuf_to_utf8", _wrap_svn_utf_stringbuf_to_utf8},
{"SVN::_Core::svn_utf_string_to_utf8", _wrap_svn_utf_string_to_utf8},
{"SVN::_Core::svn_utf_cstring_to_utf8", _wrap_svn_utf_cstring_to_utf8},
{"SVN::_Core::svn_utf_cstring_to_utf8_ex", _wrap_svn_utf_cstring_to_utf8_ex},
{"SVN::_Core::svn_utf_stringbuf_from_utf8", _wrap_svn_utf_stringbuf_from_utf8},
{"SVN::_Core::svn_utf_string_from_utf8", _wrap_svn_utf_string_from_utf8},
{"SVN::_Core::svn_utf_cstring_from_utf8", _wrap_svn_utf_cstring_from_utf8},
{"SVN::_Core::svn_utf_cstring_from_utf8_ex", _wrap_svn_utf_cstring_from_utf8_ex},
{"SVN::_Core::svn_utf_cstring_from_utf8_fuzzy", _wrap_svn_utf_cstring_from_utf8_fuzzy},
{"SVN::_Core::svn_utf_cstring_from_utf8_stringbuf", _wrap_svn_utf_cstring_from_utf8_stringbuf},
{"SVN::_Core::svn_utf_cstring_from_utf8_string", _wrap_svn_utf_cstring_from_utf8_string},
{"SVN::_Core::svn_nls_init", _wrap_svn_nls_init},
{"SVN::_Core::svn_io_dirent_t_kind_set", _wrap_svn_io_dirent_t_kind_set},
{"SVN::_Core::svn_io_dirent_t_kind_get", _wrap_svn_io_dirent_t_kind_get},
{"SVN::_Core::svn_io_dirent_t_special_set", _wrap_svn_io_dirent_t_special_set},
{"SVN::_Core::svn_io_dirent_t_special_get", _wrap_svn_io_dirent_t_special_get},
{"SVN::_Core::new_svn_io_dirent_t", _wrap_new_svn_io_dirent_t},
{"SVN::_Core::delete_svn_io_dirent_t", _wrap_delete_svn_io_dirent_t},
{"SVN::_Core::svn_io_open_unique_file", _wrap_svn_io_open_unique_file},
{"SVN::_Core::svn_io_set_file_read_write_carefully", _wrap_svn_io_set_file_read_write_carefully},
{"SVN::_Core::svn_io_file_checksum", _wrap_svn_io_file_checksum},
{"SVN::_Core::svn_io_files_contents_same_p", _wrap_svn_io_files_contents_same_p},
{"SVN::_Core::svn_stream_empty", _wrap_svn_stream_empty},
{"SVN::_Core::svn_stream_from_aprfile", _wrap_svn_stream_from_aprfile},
{"SVN::_Core::svn_stream_for_stdout", _wrap_svn_stream_for_stdout},
{"SVN::_Core::svn_stream_from_stringbuf", _wrap_svn_stream_from_stringbuf},
{"SVN::_Core::svn_stream_compressed", _wrap_svn_stream_compressed},
{"SVN::_Core::svn_stream_read", _wrap_svn_stream_read},
{"SVN::_Core::svn_stream_write", _wrap_svn_stream_write},
{"SVN::_Core::svn_stream_close", _wrap_svn_stream_close},
{"SVN::_Core::svn_stream_readline", _wrap_svn_stream_readline},
{"SVN::_Core::svn_stream_copy", _wrap_svn_stream_copy},
{"SVN::_Core::svn_stringbuf_from_file", _wrap_svn_stringbuf_from_file},
{"SVN::_Core::svn_stringbuf_from_aprfile", _wrap_svn_stringbuf_from_aprfile},
{"SVN::_Core::svn_io_get_dirents2", _wrap_svn_io_get_dirents2},
{"SVN::_Core::svn_io_detect_mimetype", _wrap_svn_io_detect_mimetype},
{"SVN::_Core::svn_io_file_move", _wrap_svn_io_file_move},
{"SVN::_Core::svn_md5_empty_string_digest", _wrap_svn_md5_empty_string_digest},
{"SVN::_Core::svn_md5_digest_to_cstring_display", _wrap_svn_md5_digest_to_cstring_display},
{"SVN::_Core::svn_md5_digest_to_cstring", _wrap_svn_md5_digest_to_cstring},
{"SVN::_Core::svn_md5_digests_match", _wrap_svn_md5_digests_match},
{"SVN::_Core::svn_diff_version", _wrap_svn_diff_version},
{"SVN::_Core::svn_diff_fns_t_datasource_open_set", _wrap_svn_diff_fns_t_datasource_open_set},
{"SVN::_Core::svn_diff_fns_t_datasource_open_get", _wrap_svn_diff_fns_t_datasource_open_get},
{"SVN::_Core::svn_diff_fns_t_datasource_close_set", _wrap_svn_diff_fns_t_datasource_close_set},
{"SVN::_Core::svn_diff_fns_t_datasource_close_get", _wrap_svn_diff_fns_t_datasource_close_get},
{"SVN::_Core::svn_diff_fns_t_datasource_get_next_token_set", _wrap_svn_diff_fns_t_datasource_get_next_token_set},
{"SVN::_Core::svn_diff_fns_t_datasource_get_next_token_get", _wrap_svn_diff_fns_t_datasource_get_next_token_get},
{"SVN::_Core::svn_diff_fns_t_token_compare_set", _wrap_svn_diff_fns_t_token_compare_set},
{"SVN::_Core::svn_diff_fns_t_token_compare_get", _wrap_svn_diff_fns_t_token_compare_get},
{"SVN::_Core::svn_diff_fns_t_token_discard_set", _wrap_svn_diff_fns_t_token_discard_set},
{"SVN::_Core::svn_diff_fns_t_token_discard_get", _wrap_svn_diff_fns_t_token_discard_get},
{"SVN::_Core::svn_diff_fns_t_token_discard_all_set", _wrap_svn_diff_fns_t_token_discard_all_set},
{"SVN::_Core::svn_diff_fns_t_token_discard_all_get", _wrap_svn_diff_fns_t_token_discard_all_get},
{"SVN::_Core::new_svn_diff_fns_t", _wrap_new_svn_diff_fns_t},
{"SVN::_Core::delete_svn_diff_fns_t", _wrap_delete_svn_diff_fns_t},
{"SVN::_Core::svn_diff_diff", _wrap_svn_diff_diff},
{"SVN::_Core::svn_diff_diff3", _wrap_svn_diff_diff3},
{"SVN::_Core::svn_diff_diff4", _wrap_svn_diff_diff4},
{"SVN::_Core::svn_diff_contains_conflicts", _wrap_svn_diff_contains_conflicts},
{"SVN::_Core::svn_diff_contains_diffs", _wrap_svn_diff_contains_diffs},
{"SVN::_Core::svn_diff_output_fns_t_output_common_set", _wrap_svn_diff_output_fns_t_output_common_set},
{"SVN::_Core::svn_diff_output_fns_t_output_common_get", _wrap_svn_diff_output_fns_t_output_common_get},
{"SVN::_Core::svn_diff_output_fns_t_output_diff_modified_set", _wrap_svn_diff_output_fns_t_output_diff_modified_set},
{"SVN::_Core::svn_diff_output_fns_t_output_diff_modified_get", _wrap_svn_diff_output_fns_t_output_diff_modified_get},
{"SVN::_Core::svn_diff_output_fns_t_output_diff_latest_set", _wrap_svn_diff_output_fns_t_output_diff_latest_set},
{"SVN::_Core::svn_diff_output_fns_t_output_diff_latest_get", _wrap_svn_diff_output_fns_t_output_diff_latest_get},
{"SVN::_Core::svn_diff_output_fns_t_output_diff_common_set", _wrap_svn_diff_output_fns_t_output_diff_common_set},
{"SVN::_Core::svn_diff_output_fns_t_output_diff_common_get", _wrap_svn_diff_output_fns_t_output_diff_common_get},
{"SVN::_Core::svn_diff_output_fns_t_output_conflict_set", _wrap_svn_diff_output_fns_t_output_conflict_set},
{"SVN::_Core::svn_diff_output_fns_t_output_conflict_get", _wrap_svn_diff_output_fns_t_output_conflict_get},
{"SVN::_Core::new_svn_diff_output_fns_t", _wrap_new_svn_diff_output_fns_t},
{"SVN::_Core::delete_svn_diff_output_fns_t", _wrap_delete_svn_diff_output_fns_t},
{"SVN::_Core::svn_diff_output", _wrap_svn_diff_output},
{"SVN::_Core::svn_diff_file_diff", _wrap_svn_diff_file_diff},
{"SVN::_Core::svn_diff_file_diff3", _wrap_svn_diff_file_diff3},
{"SVN::_Core::svn_diff_file_diff4", _wrap_svn_diff_file_diff4},
{"SVN::_Core::svn_diff_file_output_unified2", _wrap_svn_diff_file_output_unified2},
{"SVN::_Core::svn_diff_file_output_unified", _wrap_svn_diff_file_output_unified},
{"SVN::_Core::svn_diff_file_output_merge", _wrap_svn_diff_file_output_merge},
{"SVN::_Core::svn_diff_fns_invoke_datasource_open", _wrap_svn_diff_fns_invoke_datasource_open},
{"SVN::_Core::svn_diff_fns_invoke_datasource_close", _wrap_svn_diff_fns_invoke_datasource_close},
{"SVN::_Core::svn_diff_fns_invoke_datasource_get_next_token", _wrap_svn_diff_fns_invoke_datasource_get_next_token},
{"SVN::_Core::svn_diff_fns_invoke_token_compare", _wrap_svn_diff_fns_invoke_token_compare},
{"SVN::_Core::svn_diff_output_fns_invoke_output_common", _wrap_svn_diff_output_fns_invoke_output_common},
{"SVN::_Core::svn_diff_output_fns_invoke_output_diff_modified", _wrap_svn_diff_output_fns_invoke_output_diff_modified},
{"SVN::_Core::svn_diff_output_fns_invoke_output_diff_latest", _wrap_svn_diff_output_fns_invoke_output_diff_latest},
{"SVN::_Core::svn_diff_output_fns_invoke_output_diff_common", _wrap_svn_diff_output_fns_invoke_output_diff_common},
{"SVN::_Core::svn_diff_output_fns_invoke_output_conflict", _wrap_svn_diff_output_fns_invoke_output_conflict},
{"SVN::_Core::svn_error__locate", _wrap_svn_error__locate},
{"SVN::_Core::svn_strerror", _wrap_svn_strerror},
{"SVN::_Core::svn_error_create", _wrap_svn_error_create},
{"SVN::_Core::svn_error_createf", _wrap_svn_error_createf},
{"SVN::_Core::svn_error_wrap_apr", _wrap_svn_error_wrap_apr},
{"SVN::_Core::svn_error_quick_wrap", _wrap_svn_error_quick_wrap},
{"SVN::_Core::svn_error_compose", _wrap_svn_error_compose},
{"SVN::_Core::svn_error_dup", _wrap_svn_error_dup},
{"SVN::_Core::svn_error_clear", _wrap_svn_error_clear},
{"SVN::_Core::svn_handle_error2", _wrap_svn_handle_error2},
{"SVN::_Core::svn_handle_error", _wrap_svn_handle_error},
{"SVN::_Core::svn_handle_warning2", _wrap_svn_handle_warning2},
{"SVN::_Core::svn_handle_warning", _wrap_svn_handle_warning},
{0,0}
};
/*************************************************************************
 * Type initialization:
 * This problem is tough by the requirement that no dynamic 
 * memory is used. Also, since swig_type_info structures store pointers to 
 * swig_cast_info structures and swig_cast_info structures store pointers back
 * to swig_type_info structures, we need some lookup code at initialization. 
 * The idea is that swig generates all the structures that are needed. 
 * The runtime then collects these partially filled structures. 
 * The SWIG_InitializeModule function takes these initial arrays out of 
 * swig_module, and does all the lookup, filling in the swig_module.types
 * array with the correct data and linking the correct swig_cast_info
 * structures together.

 * The generated swig_type_info structures are assigned staticly to an initial 
 * array. We just loop though that array, and handle each type individually.
 * First we lookup if this type has been already loaded, and if so, use the
 * loaded structure instead of the generated one. Then we have to fill in the
 * cast linked list. The cast data is initially stored in something like a
 * two-dimensional array. Each row corresponds to a type (there are the same
 * number of rows as there are in the swig_type_initial array). Each entry in
 * a column is one of the swig_cast_info structures for that type.
 * The cast_initial array is actually an array of arrays, because each row has
 * a variable number of columns. So to actually build the cast linked list,
 * we find the array of casts associated with the type, and loop through it 
 * adding the casts to the list. The one last trick we need to do is making
 * sure the type pointer in the swig_cast_info struct is correct.

 * First off, we lookup the cast->type name to see if it is already loaded. 
 * There are three cases to handle:
 *  1) If the cast->type has already been loaded AND the type we are adding
 *     casting info to has not been loaded (it is in this module), THEN we
 *     replace the cast->type pointer with the type pointer that has already
 *     been loaded.
 *  2) If BOTH types (the one we are adding casting info to, and the 
 *     cast->type) are loaded, THEN the cast info has already been loaded by
 *     the previous module so we just ignore it.
 *  3) Finally, if cast->type has not already been loaded, then we add that
 *     swig_cast_info to the linked list (because the cast->type) pointer will
 *     be correct.
**/

#ifdef __cplusplus
extern "C" {
#endif
    
    SWIGRUNTIME void
    SWIG_InitializeModule(void *clientdata) {
        swig_type_info *type, *ret;
        swig_cast_info *cast;
        size_t i;
        swig_module_info *module_head;
        static int init_run = 0;
        
        clientdata = clientdata;
        
        if (init_run) return;
        init_run = 1;
        
        /* Initialize the swig_module */
        swig_module.type_initial = swig_type_initial;
        swig_module.cast_initial = swig_cast_initial;
        
        /* Try and load any already created modules */
        module_head = SWIG_GetModule(clientdata);
        if (module_head) {
            swig_module.next = module_head->next;
            module_head->next = &swig_module;
        } else {
            /* This is the first module loaded */
            swig_module.next = &swig_module;
            SWIG_SetModule(clientdata, &swig_module);
        }
        
        /* Now work on filling in swig_module.types */
        for (i = 0; i < swig_module.size; ++i) {
            type = 0;
            
            /* if there is another module already loaded */
            if (swig_module.next != &swig_module) {
                type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
            }
            if (type) {
                /* Overwrite clientdata field */
                if (swig_module.type_initial[i]->clientdata) type->clientdata = swig_module.type_initial[i]->clientdata;
            } else {
                type = swig_module.type_initial[i];
            }
            
            /* Insert casting types */
            cast = swig_module.cast_initial[i];
            while (cast->type) {
                /* Don't need to add information already in the list */
                ret = 0;
                if (swig_module.next != &swig_module) {
                    ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
                }
                if (ret && type == swig_module.type_initial[i]) {
                    cast->type = ret;
                    ret = 0;
                }
                
                if (!ret) {
                    if (type->cast) {
                        type->cast->prev = cast;
                        cast->next = type->cast;
                    }
                    type->cast = cast;
                }
                
                cast++;
            }
            
            /* Set entry in modules->types array equal to the type */
            swig_module.types[i] = type;
        }
    }
    
    /* This function will propagate the clientdata field of type to
    * any new swig_type_info structures that have been added into the list
    * of equivalent types.  It is like calling
    * SWIG_TypeClientData(type, clientdata) a second time.
    */
    SWIGRUNTIME void
    SWIG_PropagateClientData(void) {
        size_t i;
        swig_cast_info *equiv;
        static int init_run = 0;
        
        if (init_run) return;
        init_run = 1;
        
        for (i = 0; i < swig_module.size; i++) {
            if (swig_module.types[i]->clientdata) {
                equiv = swig_module.types[i]->cast;
                while (equiv) {
                    if (!equiv->converter) {
                        if (equiv->type && !equiv->type->clientdata)
                        SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
                    }
                    equiv = equiv->next;
                }
            }
        }
    }
    
#ifdef __cplusplus
}
#endif



#ifdef __cplusplus
extern "C"
#endif

XS(SWIG_init) {
    dXSARGS;
    int i;
    
    SWIG_InitializeModule(0);
    
    /* Install commands */
    for (i = 0; swig_commands[i].name; i++) {
        newXS((char*) swig_commands[i].name,swig_commands[i].wrapper, (char*)__FILE__);
    }
    
    /* Install variables */
    for (i = 0; swig_variables[i].name; i++) {
        SV *sv;
        sv = perl_get_sv((char*) swig_variables[i].name, TRUE | 0x2);
        if (swig_variables[i].type) {
            SWIG_MakePtr(sv,(void *)1, *swig_variables[i].type,0);
        } else {
            sv_setiv(sv,(IV) 0);
        }
        swig_create_magic(sv, (char *) swig_variables[i].name, swig_variables[i].set, swig_variables[i].get); 
    }
    
    /* Install constant */
    for (i = 0; swig_constants[i].type; i++) {
        SV *sv;
        sv = perl_get_sv((char*)swig_constants[i].name, TRUE | 0x2);
        switch(swig_constants[i].type) {
            case SWIG_INT:
            sv_setiv(sv, (IV) swig_constants[i].lvalue);
            break;
            case SWIG_FLOAT:
            sv_setnv(sv, (double) swig_constants[i].dvalue);
            break;
            case SWIG_STRING:
            sv_setpv(sv, (char *) swig_constants[i].pvalue);
            break;
            case SWIG_POINTER:
            SWIG_MakePtr(sv, swig_constants[i].pvalue, *(swig_constants[i].ptype),0);
            break;
            case SWIG_BINARY:
            SWIG_MakePackedObj(sv, swig_constants[i].pvalue, swig_constants[i].lvalue, *(swig_constants[i].ptype));
            break;
            default:
            break;
        }
        SvREADONLY_on(sv);
    }
    
    ST(0) = &PL_sv_yes;
    XSRETURN(1);
}

