summaryrefslogtreecommitdiff
path: root/subversion/bindings/swig/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'subversion/bindings/swig/ruby')
-rw-r--r--subversion/bindings/swig/ruby/core.c2593
-rw-r--r--subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c55
-rw-r--r--subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.h125
-rw-r--r--subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb__pre_ruby.h99
-rw-r--r--subversion/bindings/swig/ruby/svn_client.c1476
-rw-r--r--subversion/bindings/swig/ruby/svn_delta.c223
-rw-r--r--subversion/bindings/swig/ruby/svn_diff.c211
-rw-r--r--subversion/bindings/swig/ruby/svn_fs.c3076
-rw-r--r--subversion/bindings/swig/ruby/svn_ra.c940
-rw-r--r--subversion/bindings/swig/ruby/svn_repos.c2500
-rw-r--r--subversion/bindings/swig/ruby/svn_wc.c2176
-rw-r--r--subversion/bindings/swig/ruby/test/my-assertions.rb4
-rw-r--r--subversion/bindings/swig/ruby/test/test_client.rb50
-rw-r--r--subversion/bindings/swig/ruby/test/test_core.rb2
-rw-r--r--subversion/bindings/swig/ruby/test/test_fs.rb9
-rw-r--r--subversion/bindings/swig/ruby/test/test_ra.rb3
-rw-r--r--subversion/bindings/swig/ruby/test/test_repos.rb2
-rw-r--r--subversion/bindings/swig/ruby/test/test_wc.rb7
-rw-r--r--subversion/bindings/swig/ruby/test/util.rb8
-rw-r--r--subversion/bindings/swig/ruby/test/windows_util.rb137
20 files changed, 9996 insertions, 3700 deletions
diff --git a/subversion/bindings/swig/ruby/core.c b/subversion/bindings/swig/ruby/core.c
index 69fd53d..f3d293f 100644
--- a/subversion/bindings/swig/ruby/core.c
+++ b/subversion/bindings/swig/ruby/core.c
@@ -1,11 +1,11 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.9
- *
- * This file is not intended to be easily readable and contains a number of
+ * Version 2.0.12
+ *
+ * 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.
+ * changes to this file unless you know what you are doing--modify the SWIG
+ * interface file instead.
* ----------------------------------------------------------------------------- */
#define SWIGRUBY
@@ -41,28 +41,28 @@
#ifndef SWIGUNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
# elif defined(__ICC)
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
-# define SWIGUNUSED
+# define SWIGUNUSED
# endif
#endif
#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
-# endif
+# endif
#endif
#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
# define SWIGUNUSEDPARM(p)
# else
-# define SWIGUNUSEDPARM(p) p SWIGUNUSED
+# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif
@@ -105,7 +105,7 @@
# define SWIGSTDCALL __stdcall
# else
# define SWIGSTDCALL
-# endif
+# endif
#endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
@@ -150,28 +150,28 @@
#ifndef SWIGUNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
# elif defined(__ICC)
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
-# define SWIGUNUSED
+# define SWIGUNUSED
# endif
#endif
#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
-# endif
+# endif
#endif
#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
# define SWIGUNUSEDPARM(p)
# else
-# define SWIGUNUSEDPARM(p) p SWIGUNUSED
+# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif
@@ -214,7 +214,7 @@
# define SWIGSTDCALL __stdcall
# else
# define SWIGSTDCALL
-# endif
+# endif
#endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
@@ -252,7 +252,7 @@
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 strictly necessary, ie, if you have problems
with your compiler or suchlike.
*/
@@ -278,16 +278,16 @@
#define SWIG_POINTER_OWN 0x1
-/*
+/*
Flags/methods for returning states.
-
- The SWIG conversion methods, as ConvertPtr, return an integer
+
+ The SWIG conversion methods, as ConvertPtr, return an integer
that tells if the conversion was successful or not. And if not,
an error code can be returned (see swigerrors.swg for the codes).
-
+
Use the following macros/flags to set or process the returning
states.
-
+
In old versions of SWIG, code such as the following was usually written:
if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
@@ -320,23 +320,23 @@
} else {
// fail code
}
-
+
I.e., now SWIG_ConvertPtr can return new objects and you can
identify the case and take care of the deallocation. Of course that
also requires SWIG_ConvertPtr to return new result values, such as
- int SWIG_ConvertPtr(obj, ptr,...) {
- if (<obj is ok>) {
- if (<need new object>) {
- *ptr = <ptr to new allocated object>;
- return SWIG_NEWOBJ;
- } else {
- *ptr = <ptr to old object>;
- return SWIG_OLDOBJ;
- }
- } else {
- return SWIG_BADOBJ;
- }
+ int SWIG_ConvertPtr(obj, ptr,...) {
+ if (<obj is ok>) {
+ if (<need new object>) {
+ *ptr = <ptr to new allocated object>;
+ return SWIG_NEWOBJ;
+ } else {
+ *ptr = <ptr to old object>;
+ return SWIG_OLDOBJ;
+ }
+ } else {
+ return SWIG_BADOBJ;
+ }
}
Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
@@ -350,17 +350,17 @@
int fooi(int);
and you call
-
+
food(1) // cast rank '1' (1 -> 1.0)
fooi(1) // cast rank '0'
just use the SWIG_AddCast()/SWIG_CheckState()
*/
-#define SWIG_OK (0)
+#define SWIG_OK (0)
#define SWIG_ERROR (-1)
#define SWIG_IsOK(r) (r >= 0)
-#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
+#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
/* The CastRankLimit says how many bits are used for the cast rank */
#define SWIG_CASTRANKLIMIT (1 << 8)
@@ -391,14 +391,14 @@
# endif
# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
-SWIGINTERNINLINE int SWIG_AddCast(int r) {
+SWIGINTERNINLINE int SWIG_AddCast(int r) {
return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
}
-SWIGINTERNINLINE int SWIG_CheckState(int r) {
- return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
+SWIGINTERNINLINE int SWIG_CheckState(int r) {
+ return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
}
#else /* no cast-rank mode */
-# define SWIG_AddCast
+# define SWIG_AddCast(r) (r)
# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
#endif
@@ -442,7 +442,7 @@ typedef struct swig_module_info {
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.
@@ -462,18 +462,18 @@ SWIG_TypeNameComp(const char *f1, const char *l1,
/*
Check type equivalence in a name list like <name1>|<name2>|...
- Return 0 if not equal, 1 if equal
+ Return 0 if equal, -1 if nb < tb, 1 if nb > tb
*/
SWIGRUNTIME int
-SWIG_TypeEquiv(const char *nb, const char *tb) {
- int equiv = 0;
+SWIG_TypeCmp(const char *nb, const char *tb) {
+ int equiv = 1;
const char* te = tb + strlen(tb);
const char* ne = nb;
- while (!equiv && *ne) {
+ while (equiv != 0 && *ne) {
for (nb = ne; *ne; ++ne) {
if (*ne == '|') break;
}
- equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
+ equiv = SWIG_TypeNameComp(nb, ne, tb, te);
if (*ne) ++ne;
}
return equiv;
@@ -481,24 +481,13 @@ SWIG_TypeEquiv(const char *nb, const char *tb) {
/*
Check type equivalence in a name list like <name1>|<name2>|...
- Return 0 if equal, -1 if nb < tb, 1 if nb > tb
+ Return 0 if not equal, 1 if equal
*/
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;
+SWIG_TypeEquiv(const char *nb, const char *tb) {
+ return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
}
-
/*
Check the typename
*/
@@ -526,7 +515,7 @@ SWIG_TypeCheck(const char *c, swig_type_info *ty) {
return 0;
}
-/*
+/*
Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
*/
SWIGRUNTIME swig_cast_info *
@@ -561,7 +550,7 @@ SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
}
-/*
+/*
Dynamic pointer casting. Down an inheritance hierarchy
*/
SWIGRUNTIME swig_type_info *
@@ -605,7 +594,7 @@ SWIG_TypePrettyName(const swig_type_info *type) {
return type->name;
}
-/*
+/*
Set the clientdata field for a type
*/
SWIGRUNTIME void
@@ -613,14 +602,14 @@ SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
swig_cast_info *cast = ti->cast;
/* if (ti->clientdata == clientdata) return; */
ti->clientdata = clientdata;
-
+
while (cast) {
if (!cast->converter) {
swig_type_info *tc = cast->type;
if (!tc->clientdata) {
SWIG_TypeClientData(tc, clientdata);
}
- }
+ }
cast = cast->next;
}
}
@@ -629,18 +618,18 @@ SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
SWIG_TypeClientData(ti, clientdata);
ti->owndata = 1;
}
-
+
/*
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.
+
+ 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,
+SWIG_MangledTypeQueryModule(swig_module_info *start,
+ swig_module_info *end,
const char *name) {
swig_module_info *iter = start;
do {
@@ -649,11 +638,11 @@ SWIG_MangledTypeQueryModule(swig_module_info *start,
register size_t r = iter->size - 1;
do {
/* since l+r >= 0, we can (>> 1) instead (/ 2) */
- register size_t i = (l + r) >> 1;
+ 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) {
+ if (compare == 0) {
return iter->types[i];
} else if (compare < 0) {
if (i) {
@@ -678,14 +667,14 @@ SWIG_MangledTypeQueryModule(swig_module_info *start,
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.
+
+ 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,
+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);
@@ -704,12 +693,12 @@ SWIG_TypeQueryModule(swig_module_info *start,
iter = iter->next;
} while (iter != end);
}
-
+
/* neither found a match */
return 0;
}
-/*
+/*
Pack binary data into a string
*/
SWIGRUNTIME char *
@@ -725,7 +714,7 @@ SWIG_PackData(char *c, void *ptr, size_t sz) {
return c;
}
-/*
+/*
Unpack binary data from a string
*/
SWIGRUNTIME const char *
@@ -739,21 +728,21 @@ SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
uu = ((d - '0') << 4);
else if ((d >= 'a') && (d <= 'f'))
uu = ((d - ('a'-10)) << 4);
- else
+ 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
+ else
return (char *) 0;
*u = uu;
}
return c;
}
-/*
+/*
Pack 'void *' into a string buffer.
*/
SWIGRUNTIME char *
@@ -813,18 +802,18 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
#endif
/* Errors in SWIG */
-#define SWIG_UnknownError -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_UnknownError -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_AttributeError -11
-#define SWIG_MemoryError -12
+#define SWIG_MemoryError -12
#define SWIG_NullReferenceError -13
@@ -1750,7 +1739,7 @@ SWIG_Ruby_SetModule(swig_module_info *pointer)
SWIGINTERN
int SWIG_Ruby_isCallable( VALUE proc )
{
- if ( rb_respond_to( proc, swig_call_id ) == Qtrue )
+ if ( rb_respond_to( proc, swig_call_id ) )
return 1;
return 0;
}
@@ -1763,7 +1752,7 @@ int SWIG_Ruby_isCallable( VALUE proc )
SWIGINTERN
int SWIG_Ruby_arity( VALUE proc, int minimal )
{
- if ( rb_respond_to( proc, swig_arity_id ) == Qtrue )
+ if ( rb_respond_to( proc, swig_arity_id ) )
{
VALUE num = rb_funcall( proc, swig_arity_id, 0 );
int arity = NUM2INT(num);
@@ -1800,33 +1789,33 @@ int SWIG_Ruby_arity( VALUE proc, int minimal )
#define SWIGTYPE_p_apr_finfo_t swig_types[5]
#define SWIGTYPE_p_apr_getopt_option_t swig_types[6]
#define SWIGTYPE_p_apr_getopt_t swig_types[7]
-#define SWIGTYPE_p_apr_hash_index_t swig_types[8]
-#define SWIGTYPE_p_apr_hash_t swig_types[9]
-#define SWIGTYPE_p_apr_int32_t swig_types[10]
-#define SWIGTYPE_p_apr_int64_t swig_types[11]
-#define SWIGTYPE_p_apr_off_t swig_types[12]
-#define SWIGTYPE_p_apr_pool_t swig_types[13]
-#define SWIGTYPE_p_apr_pool_wrapper_t swig_types[14]
-#define SWIGTYPE_p_apr_proc_t swig_types[15]
-#define SWIGTYPE_p_apr_size_t swig_types[16]
-#define SWIGTYPE_p_apr_uint32_t swig_types[17]
-#define SWIGTYPE_p_char swig_types[18]
-#define SWIGTYPE_p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[19]
-#define SWIGTYPE_p_f_p_apr_uint32_t_p_p_void_p_void_svn_diff_datasource_e__p_svn_error_t swig_types[20]
-#define SWIGTYPE_p_f_p_p_char_p_q_const__char_p_void_p_apr_pool_t__p_svn_error_t swig_types[21]
-#define SWIGTYPE_p_f_p_p_struct_svn_auth_provider_object_t_p_apr_pool_t__void swig_types[22]
-#define SWIGTYPE_p_f_p_p_svn_auth_cred_simple_t_p_void_p_q_const__char_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[23]
-#define SWIGTYPE_p_f_p_p_svn_auth_cred_ssl_client_cert_pw_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[24]
-#define SWIGTYPE_p_f_p_p_svn_auth_cred_ssl_client_cert_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[25]
-#define SWIGTYPE_p_f_p_p_svn_auth_cred_ssl_server_trust_t_p_void_p_q_const__char_apr_uint32_t_p_q_const__svn_auth_ssl_server_cert_info_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[26]
-#define SWIGTYPE_p_f_p_p_svn_auth_cred_username_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[27]
-#define SWIGTYPE_p_f_p_p_svn_stream_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t swig_types[28]
-#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[29]
-#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[30]
-#define SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void__int swig_types[31]
-#define SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void_p_apr_pool_t__int swig_types[32]
-#define SWIGTYPE_p_f_p_q_const__char_p_void__int swig_types[33]
-#define SWIGTYPE_p_f_p_q_const__char_p_void_p_apr_pool_t__int swig_types[34]
+#define SWIGTYPE_p_apr_hash_t swig_types[8]
+#define SWIGTYPE_p_apr_int32_t swig_types[9]
+#define SWIGTYPE_p_apr_int64_t swig_types[10]
+#define SWIGTYPE_p_apr_off_t swig_types[11]
+#define SWIGTYPE_p_apr_pool_t swig_types[12]
+#define SWIGTYPE_p_apr_pool_wrapper_t swig_types[13]
+#define SWIGTYPE_p_apr_proc_t swig_types[14]
+#define SWIGTYPE_p_apr_size_t swig_types[15]
+#define SWIGTYPE_p_apr_uint32_t swig_types[16]
+#define SWIGTYPE_p_char swig_types[17]
+#define SWIGTYPE_p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[18]
+#define SWIGTYPE_p_f_p_apr_uint32_t_p_p_void_p_void_svn_diff_datasource_e__p_svn_error_t swig_types[19]
+#define SWIGTYPE_p_f_p_p_char_p_q_const__char_p_void_p_apr_pool_t__p_svn_error_t swig_types[20]
+#define SWIGTYPE_p_f_p_p_struct_svn_auth_provider_object_t_p_apr_pool_t__void swig_types[21]
+#define SWIGTYPE_p_f_p_p_svn_auth_cred_simple_t_p_void_p_q_const__char_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[22]
+#define SWIGTYPE_p_f_p_p_svn_auth_cred_ssl_client_cert_pw_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[23]
+#define SWIGTYPE_p_f_p_p_svn_auth_cred_ssl_client_cert_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[24]
+#define SWIGTYPE_p_f_p_p_svn_auth_cred_ssl_server_trust_t_p_void_p_q_const__char_apr_uint32_t_p_q_const__svn_auth_ssl_server_cert_info_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[25]
+#define SWIGTYPE_p_f_p_p_svn_auth_cred_username_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[26]
+#define SWIGTYPE_p_f_p_p_svn_stream_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t swig_types[27]
+#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[28]
+#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[29]
+#define SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void__int swig_types[30]
+#define SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void_p_apr_pool_t__int swig_types[31]
+#define SWIGTYPE_p_f_p_q_const__char_p_void__int swig_types[32]
+#define SWIGTYPE_p_f_p_q_const__char_p_void_p_apr_pool_t__int swig_types[33]
+#define SWIGTYPE_p_f_p_q_const__struct_svn_version_t_p_q_const__struct_svn_version_t__int swig_types[34]
#define SWIGTYPE_p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[35]
#define SWIGTYPE_p_f_p_svn_boolean_t_p_q_const__char_p_void_p_apr_pool_t__p_svn_error_t swig_types[36]
#define SWIGTYPE_p_f_p_svn_boolean_t_p_void_p_q_const__char_p_q_const__char_p_apr_hash_t_p_apr_pool_t__p_svn_error_t swig_types[37]
@@ -1844,104 +1833,105 @@ int SWIG_Ruby_arity( VALUE proc, int minimal )
#define SWIGTYPE_p_f_p_void_p_q_const__char_p_apr_size_t__p_svn_error_t swig_types[49]
#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__apr_finfo_t_p_apr_pool_t__p_svn_error_t swig_types[50]
#define SWIGTYPE_p_f_p_void_p_q_const__svn_stream_mark_t__p_svn_error_t swig_types[51]
-#define SWIGTYPE_p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t swig_types[52]
-#define SWIGTYPE_p_f_p_void_p_void__void swig_types[53]
-#define SWIGTYPE_p_f_p_void_p_void_p_void_p_int__p_svn_error_t swig_types[54]
-#define SWIGTYPE_p_f_p_void_svn_diff_datasource_e__p_svn_error_t swig_types[55]
-#define SWIGTYPE_p_f_svn_revnum_t_p_q_const__char_p_q_const__char_p_void__p_svn_error_t swig_types[56]
-#define SWIGTYPE_p_f_void__p_svn_version_t swig_types[57]
-#define SWIGTYPE_p_int swig_types[58]
-#define SWIGTYPE_p_long swig_types[59]
-#define SWIGTYPE_p_p_apr_array_header_t swig_types[60]
-#define SWIGTYPE_p_p_apr_file_t swig_types[61]
-#define SWIGTYPE_p_p_apr_hash_t swig_types[62]
-#define SWIGTYPE_p_p_char swig_types[63]
-#define SWIGTYPE_p_p_svn_auth_baton_t swig_types[64]
-#define SWIGTYPE_p_p_svn_auth_cred_simple_t swig_types[65]
-#define SWIGTYPE_p_p_svn_auth_cred_ssl_client_cert_pw_t swig_types[66]
-#define SWIGTYPE_p_p_svn_auth_cred_ssl_client_cert_t swig_types[67]
-#define SWIGTYPE_p_p_svn_auth_cred_ssl_server_trust_t swig_types[68]
-#define SWIGTYPE_p_p_svn_auth_cred_username_t swig_types[69]
-#define SWIGTYPE_p_p_svn_auth_iterstate_t swig_types[70]
-#define SWIGTYPE_p_p_svn_auth_provider_object_t swig_types[71]
-#define SWIGTYPE_p_p_svn_checksum_t swig_types[72]
-#define SWIGTYPE_p_p_svn_config_t swig_types[73]
-#define SWIGTYPE_p_p_svn_diff_t swig_types[74]
-#define SWIGTYPE_p_p_svn_io_dirent2_t swig_types[75]
-#define SWIGTYPE_p_p_svn_patch_file_t swig_types[76]
-#define SWIGTYPE_p_p_svn_patch_t swig_types[77]
-#define SWIGTYPE_p_p_svn_stream_mark_t swig_types[78]
-#define SWIGTYPE_p_p_svn_stream_t swig_types[79]
-#define SWIGTYPE_p_p_svn_string_t swig_types[80]
-#define SWIGTYPE_p_p_svn_stringbuf_t swig_types[81]
-#define SWIGTYPE_p_p_void swig_types[82]
-#define SWIGTYPE_p_svn_auth_baton_t swig_types[83]
-#define SWIGTYPE_p_svn_auth_cred_simple_t swig_types[84]
-#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t swig_types[85]
-#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t swig_types[86]
-#define SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t swig_types[87]
-#define SWIGTYPE_p_svn_auth_cred_username_t swig_types[88]
-#define SWIGTYPE_p_svn_auth_iterstate_t swig_types[89]
-#define SWIGTYPE_p_svn_auth_provider_object_t swig_types[90]
-#define SWIGTYPE_p_svn_auth_provider_t swig_types[91]
-#define SWIGTYPE_p_svn_auth_ssl_server_cert_info_t swig_types[92]
-#define SWIGTYPE_p_svn_checksum_ctx_t swig_types[93]
-#define SWIGTYPE_p_svn_checksum_kind_t swig_types[94]
-#define SWIGTYPE_p_svn_checksum_t swig_types[95]
-#define SWIGTYPE_p_svn_commit_info_t swig_types[96]
-#define SWIGTYPE_p_svn_config_t swig_types[97]
-#define SWIGTYPE_p_svn_depth_t swig_types[98]
-#define SWIGTYPE_p_svn_diff_conflict_display_style_t swig_types[99]
-#define SWIGTYPE_p_svn_diff_datasource_e swig_types[100]
-#define SWIGTYPE_p_svn_diff_file_ignore_space_t swig_types[101]
-#define SWIGTYPE_p_svn_diff_file_options_t swig_types[102]
-#define SWIGTYPE_p_svn_diff_fns2_t swig_types[103]
-#define SWIGTYPE_p_svn_diff_fns_t swig_types[104]
-#define SWIGTYPE_p_svn_diff_hunk_t swig_types[105]
-#define SWIGTYPE_p_svn_diff_operation_kind_e swig_types[106]
-#define SWIGTYPE_p_svn_diff_output_fns_t swig_types[107]
-#define SWIGTYPE_p_svn_diff_t swig_types[108]
-#define SWIGTYPE_p_svn_dirent_t swig_types[109]
-#define SWIGTYPE_p_svn_errno_t swig_types[110]
-#define SWIGTYPE_p_svn_error_t swig_types[111]
-#define SWIGTYPE_p_svn_io_dirent2_t swig_types[112]
-#define SWIGTYPE_p_svn_io_dirent_t swig_types[113]
-#define SWIGTYPE_p_svn_io_file_del_t swig_types[114]
-#define SWIGTYPE_p_svn_location_segment_t swig_types[115]
-#define SWIGTYPE_p_svn_lock_t swig_types[116]
-#define SWIGTYPE_p_svn_log_changed_path2_t swig_types[117]
-#define SWIGTYPE_p_svn_log_changed_path_t swig_types[118]
-#define SWIGTYPE_p_svn_log_entry_t swig_types[119]
-#define SWIGTYPE_p_svn_merge_range_t swig_types[120]
-#define SWIGTYPE_p_svn_mergeinfo_inheritance_t swig_types[121]
-#define SWIGTYPE_p_svn_node_kind_t swig_types[122]
-#define SWIGTYPE_p_svn_opt_revision_range_t swig_types[123]
-#define SWIGTYPE_p_svn_opt_revision_t swig_types[124]
-#define SWIGTYPE_p_svn_opt_revision_value_t swig_types[125]
-#define SWIGTYPE_p_svn_opt_subcommand_desc2_t swig_types[126]
-#define SWIGTYPE_p_svn_opt_subcommand_desc2_t_desc_overrides swig_types[127]
-#define SWIGTYPE_p_svn_opt_subcommand_desc_t swig_types[128]
-#define SWIGTYPE_p_svn_patch_file_t swig_types[129]
-#define SWIGTYPE_p_svn_patch_t swig_types[130]
-#define SWIGTYPE_p_svn_prop_inherited_item_t swig_types[131]
-#define SWIGTYPE_p_svn_prop_kind swig_types[132]
-#define SWIGTYPE_p_svn_prop_patch_t swig_types[133]
-#define SWIGTYPE_p_svn_prop_t swig_types[134]
-#define SWIGTYPE_p_svn_stream_mark_t swig_types[135]
-#define SWIGTYPE_p_svn_stream_t swig_types[136]
-#define SWIGTYPE_p_svn_string_t swig_types[137]
-#define SWIGTYPE_p_svn_stringbuf_t swig_types[138]
-#define SWIGTYPE_p_svn_tristate_t swig_types[139]
-#define SWIGTYPE_p_svn_version_checklist_t swig_types[140]
-#define SWIGTYPE_p_svn_version_ext_linked_lib_t swig_types[141]
-#define SWIGTYPE_p_svn_version_ext_loaded_lib_t swig_types[142]
-#define SWIGTYPE_p_svn_version_extended_t swig_types[143]
-#define SWIGTYPE_p_svn_version_t swig_types[144]
-#define SWIGTYPE_p_unsigned_char swig_types[145]
-#define SWIGTYPE_p_unsigned_long swig_types[146]
-#define SWIGTYPE_p_void swig_types[147]
-static swig_type_info *swig_types[149];
-static swig_module_info swig_module = {swig_types, 148, 0, 0, 0, 0};
+#define SWIGTYPE_p_f_p_void_p_svn_boolean_t__p_svn_error_t swig_types[52]
+#define SWIGTYPE_p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t swig_types[53]
+#define SWIGTYPE_p_f_p_void_p_void__void swig_types[54]
+#define SWIGTYPE_p_f_p_void_p_void_p_void_p_int__p_svn_error_t swig_types[55]
+#define SWIGTYPE_p_f_p_void_svn_diff_datasource_e__p_svn_error_t swig_types[56]
+#define SWIGTYPE_p_f_svn_revnum_t_p_q_const__char_p_q_const__char_p_void__p_svn_error_t swig_types[57]
+#define SWIGTYPE_p_f_void__p_svn_version_t swig_types[58]
+#define SWIGTYPE_p_int swig_types[59]
+#define SWIGTYPE_p_long swig_types[60]
+#define SWIGTYPE_p_p_apr_array_header_t swig_types[61]
+#define SWIGTYPE_p_p_apr_file_t swig_types[62]
+#define SWIGTYPE_p_p_apr_hash_t swig_types[63]
+#define SWIGTYPE_p_p_char swig_types[64]
+#define SWIGTYPE_p_p_svn_auth_baton_t swig_types[65]
+#define SWIGTYPE_p_p_svn_auth_cred_simple_t swig_types[66]
+#define SWIGTYPE_p_p_svn_auth_cred_ssl_client_cert_pw_t swig_types[67]
+#define SWIGTYPE_p_p_svn_auth_cred_ssl_client_cert_t swig_types[68]
+#define SWIGTYPE_p_p_svn_auth_cred_ssl_server_trust_t swig_types[69]
+#define SWIGTYPE_p_p_svn_auth_cred_username_t swig_types[70]
+#define SWIGTYPE_p_p_svn_auth_iterstate_t swig_types[71]
+#define SWIGTYPE_p_p_svn_auth_provider_object_t swig_types[72]
+#define SWIGTYPE_p_p_svn_checksum_t swig_types[73]
+#define SWIGTYPE_p_p_svn_config_t swig_types[74]
+#define SWIGTYPE_p_p_svn_diff_t swig_types[75]
+#define SWIGTYPE_p_p_svn_io_dirent2_t swig_types[76]
+#define SWIGTYPE_p_p_svn_patch_file_t swig_types[77]
+#define SWIGTYPE_p_p_svn_patch_t swig_types[78]
+#define SWIGTYPE_p_p_svn_stream_mark_t swig_types[79]
+#define SWIGTYPE_p_p_svn_stream_t swig_types[80]
+#define SWIGTYPE_p_p_svn_string_t swig_types[81]
+#define SWIGTYPE_p_p_svn_stringbuf_t swig_types[82]
+#define SWIGTYPE_p_p_void swig_types[83]
+#define SWIGTYPE_p_svn_auth_baton_t swig_types[84]
+#define SWIGTYPE_p_svn_auth_cred_simple_t swig_types[85]
+#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t swig_types[86]
+#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t swig_types[87]
+#define SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t swig_types[88]
+#define SWIGTYPE_p_svn_auth_cred_username_t swig_types[89]
+#define SWIGTYPE_p_svn_auth_iterstate_t swig_types[90]
+#define SWIGTYPE_p_svn_auth_provider_object_t swig_types[91]
+#define SWIGTYPE_p_svn_auth_provider_t swig_types[92]
+#define SWIGTYPE_p_svn_auth_ssl_server_cert_info_t swig_types[93]
+#define SWIGTYPE_p_svn_checksum_ctx_t swig_types[94]
+#define SWIGTYPE_p_svn_checksum_kind_t swig_types[95]
+#define SWIGTYPE_p_svn_checksum_t swig_types[96]
+#define SWIGTYPE_p_svn_commit_info_t swig_types[97]
+#define SWIGTYPE_p_svn_config_t swig_types[98]
+#define SWIGTYPE_p_svn_depth_t swig_types[99]
+#define SWIGTYPE_p_svn_diff_conflict_display_style_t swig_types[100]
+#define SWIGTYPE_p_svn_diff_datasource_e swig_types[101]
+#define SWIGTYPE_p_svn_diff_file_ignore_space_t swig_types[102]
+#define SWIGTYPE_p_svn_diff_file_options_t swig_types[103]
+#define SWIGTYPE_p_svn_diff_fns2_t swig_types[104]
+#define SWIGTYPE_p_svn_diff_fns_t swig_types[105]
+#define SWIGTYPE_p_svn_diff_hunk_t swig_types[106]
+#define SWIGTYPE_p_svn_diff_operation_kind_e swig_types[107]
+#define SWIGTYPE_p_svn_diff_output_fns_t swig_types[108]
+#define SWIGTYPE_p_svn_diff_t swig_types[109]
+#define SWIGTYPE_p_svn_dirent_t swig_types[110]
+#define SWIGTYPE_p_svn_errno_t swig_types[111]
+#define SWIGTYPE_p_svn_error_t swig_types[112]
+#define SWIGTYPE_p_svn_io_dirent2_t swig_types[113]
+#define SWIGTYPE_p_svn_io_dirent_t swig_types[114]
+#define SWIGTYPE_p_svn_io_file_del_t swig_types[115]
+#define SWIGTYPE_p_svn_location_segment_t swig_types[116]
+#define SWIGTYPE_p_svn_lock_t swig_types[117]
+#define SWIGTYPE_p_svn_log_changed_path2_t swig_types[118]
+#define SWIGTYPE_p_svn_log_changed_path_t swig_types[119]
+#define SWIGTYPE_p_svn_log_entry_t swig_types[120]
+#define SWIGTYPE_p_svn_merge_range_t swig_types[121]
+#define SWIGTYPE_p_svn_mergeinfo_inheritance_t swig_types[122]
+#define SWIGTYPE_p_svn_node_kind_t swig_types[123]
+#define SWIGTYPE_p_svn_opt_revision_range_t swig_types[124]
+#define SWIGTYPE_p_svn_opt_revision_t swig_types[125]
+#define SWIGTYPE_p_svn_opt_revision_value_t swig_types[126]
+#define SWIGTYPE_p_svn_opt_subcommand_desc2_t swig_types[127]
+#define SWIGTYPE_p_svn_opt_subcommand_desc2_t_desc_overrides swig_types[128]
+#define SWIGTYPE_p_svn_opt_subcommand_desc_t swig_types[129]
+#define SWIGTYPE_p_svn_patch_file_t swig_types[130]
+#define SWIGTYPE_p_svn_patch_t swig_types[131]
+#define SWIGTYPE_p_svn_prop_inherited_item_t swig_types[132]
+#define SWIGTYPE_p_svn_prop_kind swig_types[133]
+#define SWIGTYPE_p_svn_prop_patch_t swig_types[134]
+#define SWIGTYPE_p_svn_prop_t swig_types[135]
+#define SWIGTYPE_p_svn_stream_mark_t swig_types[136]
+#define SWIGTYPE_p_svn_stream_t swig_types[137]
+#define SWIGTYPE_p_svn_string_t swig_types[138]
+#define SWIGTYPE_p_svn_stringbuf_t swig_types[139]
+#define SWIGTYPE_p_svn_tristate_t swig_types[140]
+#define SWIGTYPE_p_svn_version_checklist_t swig_types[141]
+#define SWIGTYPE_p_svn_version_ext_linked_lib_t swig_types[142]
+#define SWIGTYPE_p_svn_version_ext_loaded_lib_t swig_types[143]
+#define SWIGTYPE_p_svn_version_extended_t swig_types[144]
+#define SWIGTYPE_p_svn_version_t swig_types[145]
+#define SWIGTYPE_p_unsigned_char swig_types[146]
+#define SWIGTYPE_p_unsigned_long swig_types[147]
+#define SWIGTYPE_p_void swig_types[148]
+static swig_type_info *swig_types[150];
+static swig_module_info swig_module = {swig_types, 149, 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)
@@ -1956,7 +1946,7 @@ static VALUE mCore;
#define SWIG_RUBY_THREAD_END_BLOCK
-#define SWIGVERSION 0x020009
+#define SWIGVERSION 0x020012
#define SWIG_VERSION SWIGVERSION
@@ -2107,7 +2097,7 @@ SWIG_ruby_failed(void)
}
-/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
+/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
{
VALUE obj = args[0];
@@ -2318,7 +2308,7 @@ typedef struct {
#include "svn_auth.h"
-/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
+/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
{
VALUE obj = args[0];
@@ -2440,8 +2430,8 @@ static svn_boolean_t svn_config_invoke_enumerator2(
}
static svn_error_t * svn_config_invoke_auth_walk_func(
- svn_config_auth_walk_func_t _obj, svn_boolean_t *delete_cred, void *cleanup_baton, const char *cred_kind, const char *realmstring, apr_hash_t *hash, apr_pool_t *scratch_pool) {
- return _obj(delete_cred, cleanup_baton, cred_kind, realmstring, hash, scratch_pool);
+ svn_config_auth_walk_func_t _obj, svn_boolean_t *delete_cred, void *walk_baton, const char *cred_kind, const char *realmstring, apr_hash_t *hash, apr_pool_t *scratch_pool) {
+ return _obj(delete_cred, walk_baton, cred_kind, realmstring, hash, scratch_pool);
}
@@ -2504,6 +2494,11 @@ static svn_error_t * svn_stream_invoke_seek_fn(
return _obj(baton, mark);
}
+static svn_error_t * svn_stream_invoke_data_available_fn(
+ svn_stream_data_available_fn_t _obj, void *baton, svn_boolean_t *data_available) {
+ return _obj(baton, data_available);
+}
+
static svn_error_t * svn_stream_invoke_lazyopen_func(
svn_stream_lazyopen_func_t _obj, svn_stream_t **stream, void *baton, apr_pool_t *result_pool, apr_pool_t *scratch_pool) {
return _obj(stream, baton, result_pool, scratch_pool);
@@ -3684,100 +3679,6 @@ free_svn_error_t(struct svn_error_t *arg1) {
}
SWIGINTERN VALUE
-_wrap_svn__apr_hash_index_key(int argc, VALUE *argv, VALUE self) {
- apr_hash_index_t *arg1 = (apr_hash_index_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *result = 0 ;
- VALUE vresult = Qnil;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_apr_hash_index_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "apr_hash_index_t const *","svn__apr_hash_index_key", 1, argv[0] ));
- }
- arg1 = (apr_hash_index_t *)(argp1);
- {
- result = (void *)svn__apr_hash_index_key((apr_hash_index_t const *)arg1);
-
-
-
- }
- {
- char *value = result;
- if (value) {
- vresult = rb_str_new2(value);
- } else {
- vresult = Qnil;
- }
- }
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn__apr_hash_index_klen(int argc, VALUE *argv, VALUE self) {
- apr_hash_index_t *arg1 = (apr_hash_index_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- apr_ssize_t result;
- VALUE vresult = Qnil;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_apr_hash_index_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "apr_hash_index_t const *","svn__apr_hash_index_klen", 1, argv[0] ));
- }
- arg1 = (apr_hash_index_t *)(argp1);
- {
- result = svn__apr_hash_index_klen((apr_hash_index_t const *)arg1);
-
-
-
- }
- vresult = SWIG_From_long((long)(result));
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn__apr_hash_index_val(int argc, VALUE *argv, VALUE self) {
- apr_hash_index_t *arg1 = (apr_hash_index_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *result = 0 ;
- VALUE vresult = Qnil;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_apr_hash_index_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "apr_hash_index_t const *","svn__apr_hash_index_val", 1, argv[0] ));
- }
- arg1 = (apr_hash_index_t *)(argp1);
- {
- result = (void *)svn__apr_hash_index_val((apr_hash_index_t const *)arg1);
-
-
-
- }
- vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
_wrap_svn_node_kind_to_word(int argc, VALUE *argv, VALUE self) {
svn_node_kind_t arg1 ;
int val1 ;
@@ -8581,6 +8482,57 @@ free_svn_version_checklist_t(struct svn_version_checklist_t *arg1) {
}
SWIGINTERN VALUE
+_wrap_svn_ver_check_list2(int argc, VALUE *argv, VALUE self) {
+ svn_version_t *arg1 = (svn_version_t *) 0 ;
+ svn_version_checklist_t *arg2 = (svn_version_checklist_t *) 0 ;
+ svn_boolean_t (*arg3)(svn_version_t const *,svn_version_t const *) = (svn_boolean_t (*)(svn_version_t const *,svn_version_t const *)) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ void *argp2 = 0 ;
+ int res2 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ if ((argc < 3) || (argc > 3)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_version_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_version_t const *","svn_ver_check_list2", 1, argv[0] ));
+ }
+ arg1 = (svn_version_t *)(argp1);
+ res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_svn_version_checklist_t, 0 | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_version_checklist_t const *","svn_ver_check_list2", 2, argv[1] ));
+ }
+ arg2 = (svn_version_checklist_t *)(argp2);
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[2], (void**)(&arg3), SWIGTYPE_p_f_p_q_const__struct_svn_version_t_p_q_const__struct_svn_version_t__int);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_boolean_t (*)(svn_version_t const *,svn_version_t const *)","svn_ver_check_list2", 3, argv[2] ));
+ }
+ }
+ {
+ result = (svn_error_t *)svn_ver_check_list2((struct svn_version_t const *)arg1,(struct svn_version_checklist_t const *)arg2,arg3);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_ver_check_list(int argc, VALUE *argv, VALUE self) {
svn_version_t *arg1 = (svn_version_t *) 0 ;
svn_version_checklist_t *arg2 = (svn_version_checklist_t *) 0 ;
@@ -13493,6 +13445,120 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_cmdline_create_auth_baton2(int argc, VALUE *argv, VALUE self) {
+ svn_auth_baton_t **arg1 = (svn_auth_baton_t **) 0 ;
+ svn_boolean_t arg2 ;
+ char *arg3 = (char *) 0 ;
+ char *arg4 = (char *) 0 ;
+ char *arg5 = (char *) 0 ;
+ svn_boolean_t arg6 ;
+ svn_boolean_t arg7 ;
+ svn_boolean_t arg8 ;
+ svn_boolean_t arg9 ;
+ svn_boolean_t arg10 ;
+ svn_boolean_t arg11 ;
+ svn_config_t *arg12 = (svn_config_t *) 0 ;
+ svn_cancel_func_t arg13 = (svn_cancel_func_t) 0 ;
+ void *arg14 = (void *) 0 ;
+ apr_pool_t *arg15 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ svn_auth_baton_t *temp1 ;
+ void *argp12 = 0 ;
+ int res12 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg15);
+ _global_pool = arg15;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ arg1 = &temp1;
+ if ((argc < 12) || (argc > 13)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 12)",argc); SWIG_fail;
+ }
+ arg2 = RTEST(argv[0]);
+ {
+ if (NIL_P(argv[1])) {
+ arg3 = NULL;
+ } else {
+ arg3 = StringValuePtr(argv[1]);
+ }
+ }
+ {
+ if (NIL_P(argv[2])) {
+ arg4 = NULL;
+ } else {
+ arg4 = StringValuePtr(argv[2]);
+ }
+ }
+ {
+ if (NIL_P(argv[3])) {
+ arg5 = NULL;
+ } else {
+ arg5 = StringValuePtr(argv[3]);
+ }
+ }
+ arg6 = RTEST(argv[4]);
+ arg7 = RTEST(argv[5]);
+ arg8 = RTEST(argv[6]);
+ arg9 = RTEST(argv[7]);
+ arg10 = RTEST(argv[8]);
+ arg11 = RTEST(argv[9]);
+ res12 = SWIG_ConvertPtr(argv[10], &argp12,SWIGTYPE_p_svn_config_t, 0 | 0 );
+ if (!SWIG_IsOK(res12)) {
+ SWIG_exception_fail(SWIG_ArgError(res12), Ruby_Format_TypeError( "", "svn_config_t *","svn_cmdline_create_auth_baton2", 12, argv[10] ));
+ }
+ arg12 = (svn_config_t *)(argp12);
+ {
+ arg13 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
+ arg14 = (void *)svn_swig_rb_make_baton(argv[11], _global_svn_swig_rb_pool);
+ }
+ if (argc > 12) {
+
+ }
+ {
+ result = (svn_error_t *)svn_cmdline_create_auth_baton2(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_auth_baton_t, 0));
+ }
+ {
+ svn_swig_rb_set_baton(vresult, (VALUE)arg14);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_cmdline_create_auth_baton(int argc, VALUE *argv, VALUE self) {
svn_auth_baton_t **arg1 = (svn_auth_baton_t **) 0 ;
svn_boolean_t arg2 ;
@@ -13552,7 +13618,7 @@ _wrap_svn_cmdline_create_auth_baton(int argc, VALUE *argv, VALUE self) {
}
arg8 = (svn_config_t *)(argp8);
{
- arg9 = svn_swig_rb_cancel_func;
+ arg9 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg10 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
if (argc > 8) {
@@ -15795,7 +15861,7 @@ _wrap_svn_auth_get_simple_prompt_provider(int argc, VALUE *argv, VALUE self) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
}
{
- arg2 = svn_swig_rb_auth_simple_prompt_func;
+ arg2 = (svn_auth_simple_prompt_func_t) svn_swig_rb_auth_simple_prompt_func;
arg3 = (void *)svn_swig_rb_make_baton(argv[0], _global_svn_swig_rb_pool);
}
ecode4 = SWIG_AsVal_int(argv[1], &val4);
@@ -15859,7 +15925,7 @@ _wrap_svn_auth_get_username_prompt_provider(int argc, VALUE *argv, VALUE self) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
}
{
- arg2 = svn_swig_rb_auth_username_prompt_func;
+ arg2 = (svn_auth_username_prompt_func_t) svn_swig_rb_auth_username_prompt_func;
arg3 = (void *)svn_swig_rb_make_baton(argv[0], _global_svn_swig_rb_pool);
}
ecode4 = SWIG_AsVal_int(argv[1], &val4);
@@ -16444,7 +16510,7 @@ _wrap_svn_auth_get_ssl_server_trust_prompt_provider(int argc, VALUE *argv, VALUE
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
{
- arg2 = svn_swig_rb_auth_ssl_server_trust_prompt_func;
+ arg2 = (svn_auth_ssl_server_trust_prompt_func_t) svn_swig_rb_auth_ssl_server_trust_prompt_func;
arg3 = (void *)svn_swig_rb_make_baton(argv[0], _global_svn_swig_rb_pool);
}
if (argc > 1) {
@@ -16503,7 +16569,7 @@ _wrap_svn_auth_get_ssl_client_cert_prompt_provider(int argc, VALUE *argv, VALUE
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
}
{
- arg2 = svn_swig_rb_auth_ssl_client_cert_prompt_func;
+ arg2 = (svn_auth_ssl_client_cert_prompt_func_t) svn_swig_rb_auth_ssl_client_cert_prompt_func;
arg3 = (void *)svn_swig_rb_make_baton(argv[0], _global_svn_swig_rb_pool);
}
ecode4 = SWIG_AsVal_int(argv[1], &val4);
@@ -16567,7 +16633,7 @@ _wrap_svn_auth_get_ssl_client_cert_pw_prompt_provider(int argc, VALUE *argv, VAL
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
}
{
- arg2 = svn_swig_rb_auth_ssl_client_cert_pw_prompt_func;
+ arg2 = (svn_auth_ssl_client_cert_pw_prompt_func_t) svn_swig_rb_auth_ssl_client_cert_pw_prompt_func;
arg3 = (void *)svn_swig_rb_make_baton(argv[0], _global_svn_swig_rb_pool);
}
ecode4 = SWIG_AsVal_int(argv[1], &val4);
@@ -18755,7 +18821,7 @@ _wrap_svn_config_enumerate_sections2(int argc, VALUE *argv, VALUE self) {
}
arg1 = (svn_config_t *)(argp1);
{
- arg2 = svn_swig_rb_config_section_enumerator;
+ arg2 = (svn_config_section_enumerator2_t) svn_swig_rb_config_section_enumerator;
arg3 = (void *)svn_swig_rb_make_baton(argv[1], _global_svn_swig_rb_pool);
}
if (argc > 2) {
@@ -18877,7 +18943,7 @@ _wrap_svn_config_enumerate2(int argc, VALUE *argv, VALUE self) {
}
arg2 = (char *)(buf2);
{
- arg3 = svn_swig_rb_config_enumerator;
+ arg3 = (svn_config_enumerator2_t) svn_swig_rb_config_enumerator;
arg4 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
if (argc > 3) {
@@ -19690,14 +19756,14 @@ _wrap_svn_config_dup(int argc, VALUE *argv, VALUE self) {
}
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_config_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_config_t *","svn_config_dup", 2, argv[0] ));
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_config_t const *","svn_config_dup", 2, argv[0] ));
}
arg2 = (svn_config_t *)(argp2);
if (argc > 1) {
}
{
- result = (svn_error_t *)svn_config_dup(arg1,arg2,arg3);
+ result = (svn_error_t *)svn_config_dup(arg1,(struct svn_config_t const *)arg2,arg3);
@@ -22902,6 +22968,77 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_relpath_prefix(int argc, VALUE *argv, VALUE self) {
+ char *arg1 = (char *) 0 ;
+ int arg2 ;
+ apr_pool_t *arg3 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ int res1 ;
+ char *buf1 = 0 ;
+ int alloc1 = 0 ;
+ int val2 ;
+ int ecode2 = 0 ;
+ char *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
+ _global_pool = arg3;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 2) || (argc > 3)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
+ }
+ res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_relpath_prefix", 1, argv[0] ));
+ }
+ arg1 = (char *)(buf1);
+ ecode2 = SWIG_AsVal_int(argv[1], &val2);
+ if (!SWIG_IsOK(ecode2)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","svn_relpath_prefix", 2, argv[1] ));
+ }
+ arg2 = (int)(val2);
+ if (argc > 2) {
+
+ }
+ {
+ result = (char *)svn_relpath_prefix((char const *)arg1,arg2,arg3);
+
+
+
+ }
+ {
+ if (result) {
+ vresult = rb_str_new2(result);
+ } else {
+ vresult = Qnil;
+ }
+ }
+ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_uri_split(int argc, VALUE *argv, VALUE self) {
char **arg1 = (char **) 0 ;
char **arg2 = (char **) 0 ;
@@ -27555,6 +27692,148 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_io_file_create_bytes(int argc, VALUE *argv, VALUE self) {
+ char *arg1 = (char *) 0 ;
+ void *arg2 = (void *) 0 ;
+ apr_size_t arg3 ;
+ apr_pool_t *arg4 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ int res1 ;
+ char *buf1 = 0 ;
+ int alloc1 = 0 ;
+ int res2 ;
+ unsigned long val3 ;
+ int ecode3 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
+ _global_pool = arg4;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 3) || (argc > 4)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
+ }
+ res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_io_file_create_bytes", 1, argv[0] ));
+ }
+ arg1 = (char *)(buf1);
+ res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void const *","svn_io_file_create_bytes", 2, argv[1] ));
+ }
+ ecode3 = SWIG_AsVal_unsigned_SS_long(argv[2], &val3);
+ if (!SWIG_IsOK(ecode3)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "apr_size_t","svn_io_file_create_bytes", 3, argv[2] ));
+ }
+ arg3 = (apr_size_t)(val3);
+ if (argc > 3) {
+
+ }
+ {
+ result = (svn_error_t *)svn_io_file_create_bytes((char const *)arg1,(void const *)arg2,arg3,arg4);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_io_file_create_empty(int argc, VALUE *argv, VALUE self) {
+ char *arg1 = (char *) 0 ;
+ apr_pool_t *arg2 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ int res1 ;
+ char *buf1 = 0 ;
+ int alloc1 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2);
+ _global_pool = arg2;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 1) || (argc > 2)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_io_file_create_empty", 1, argv[0] ));
+ }
+ arg1 = (char *)(buf1);
+ if (argc > 1) {
+
+ }
+ {
+ result = (svn_error_t *)svn_io_file_create_empty((char const *)arg1,arg2);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_io_lock_open_file(int argc, VALUE *argv, VALUE self) {
apr_file_t *arg1 = (apr_file_t *) 0 ;
svn_boolean_t arg2 ;
@@ -27673,6 +27952,42 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_stream_set_read2(int argc, VALUE *argv, VALUE self) {
+ svn_stream_t *arg1 = (svn_stream_t *) 0 ;
+ svn_read_fn_t arg2 = (svn_read_fn_t) 0 ;
+ svn_read_fn_t arg3 = (svn_read_fn_t) 0 ;
+
+ if ((argc < 3) || (argc > 3)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
+ }
+ {
+ arg1 = svn_swig_rb_make_stream(argv[0]);
+ }
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[1], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_char_p_apr_size_t__p_svn_error_t);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_read_fn_t","svn_stream_set_read2", 2, argv[1] ));
+ }
+ }
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[2], (void**)(&arg3), SWIGTYPE_p_f_p_void_p_char_p_apr_size_t__p_svn_error_t);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_read_fn_t","svn_stream_set_read2", 3, argv[2] ));
+ }
+ }
+ {
+ svn_stream_set_read2(arg1,arg2,arg3);
+
+
+
+ }
+ return Qnil;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_stream_set_skip(int argc, VALUE *argv, VALUE self) {
svn_stream_t *arg1 = (svn_stream_t *) 0 ;
svn_stream_skip_fn_t arg2 = (svn_stream_skip_fn_t) 0 ;
@@ -27760,6 +28075,35 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_stream_set_data_available(int argc, VALUE *argv, VALUE self) {
+ svn_stream_t *arg1 = (svn_stream_t *) 0 ;
+ svn_stream_data_available_fn_t arg2 = (svn_stream_data_available_fn_t) 0 ;
+
+ if ((argc < 2) || (argc > 2)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
+ }
+ {
+ arg1 = svn_swig_rb_make_stream(argv[0]);
+ }
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[1], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_svn_boolean_t__p_svn_error_t);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_stream_data_available_fn_t","svn_stream_set_data_available", 2, argv[1] ));
+ }
+ }
+ {
+ svn_stream_set_data_available(arg1,arg2);
+
+
+
+ }
+ return Qnil;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_stream_empty(int argc, VALUE *argv, VALUE self) {
apr_pool_t *arg1 = (apr_pool_t *) 0 ;
VALUE _global_svn_swig_rb_pool ;
@@ -28432,6 +28776,81 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_stringbuf_from_stream(int argc, VALUE *argv, VALUE self) {
+ svn_stringbuf_t **arg1 = (svn_stringbuf_t **) 0 ;
+ svn_stream_t *arg2 = (svn_stream_t *) 0 ;
+ apr_size_t arg3 ;
+ apr_pool_t *arg4 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ svn_stringbuf_t *temp1 ;
+ unsigned long val3 ;
+ int ecode3 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
+ _global_pool = arg4;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ arg1 = &temp1;
+ if ((argc < 2) || (argc > 3)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
+ }
+ {
+ arg2 = svn_swig_rb_make_stream(argv[0]);
+ }
+ ecode3 = SWIG_AsVal_unsigned_SS_long(argv[1], &val3);
+ if (!SWIG_IsOK(ecode3)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "apr_size_t","svn_stringbuf_from_stream", 3, argv[1] ));
+ }
+ arg3 = (apr_size_t)(val3);
+ if (argc > 2) {
+
+ }
+ {
+ result = (svn_error_t *)svn_stringbuf_from_stream(arg1,arg2,arg3,arg4);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ if (*arg1) {
+ vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new((*arg1)->data, (*arg1)->len));
+ } else {
+ vresult = SWIG_Ruby_AppendOutput(vresult, Qnil);
+ }
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_stream_from_stringbuf(int argc, VALUE *argv, VALUE self) {
svn_stringbuf_t *arg1 = (svn_stringbuf_t *) 0 ;
apr_pool_t *arg2 = (apr_pool_t *) 0 ;
@@ -28725,6 +29144,119 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_stream_read_full(int argc, VALUE *argv, VALUE self) {
+ svn_stream_t *arg1 = (svn_stream_t *) 0 ;
+ char *arg2 = (char *) 0 ;
+ apr_size_t *arg3 = (apr_size_t *) 0 ;
+ apr_size_t temp2 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ if ((argc < 2) || (argc > 2)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
+ }
+ {
+ arg1 = svn_swig_rb_make_stream(argv[0]);
+ }
+ {
+ temp2 = NUM2LONG(argv[1]);
+ arg2 = malloc(temp2);
+ arg3 = (apr_size_t *)&temp2;
+ }
+ {
+ result = (svn_error_t *)svn_stream_read_full(arg1,arg2,arg3);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ vresult = SWIG_Ruby_AppendOutput(vresult, *arg3 == 0 ? Qnil : rb_str_new(arg2, *arg3));
+ free(arg2);
+ }
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_stream_supports_partial_read(int argc, VALUE *argv, VALUE self) {
+ svn_stream_t *arg1 = (svn_stream_t *) 0 ;
+ svn_boolean_t result;
+ VALUE vresult = Qnil;
+
+ if ((argc < 1) || (argc > 1)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ {
+ arg1 = svn_swig_rb_make_stream(argv[0]);
+ }
+ {
+ result = (svn_boolean_t)svn_stream_supports_partial_read(arg1);
+
+
+
+ }
+ vresult = result ? Qtrue : Qfalse;
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_stream_read2(int argc, VALUE *argv, VALUE self) {
+ svn_stream_t *arg1 = (svn_stream_t *) 0 ;
+ char *arg2 = (char *) 0 ;
+ apr_size_t *arg3 = (apr_size_t *) 0 ;
+ apr_size_t temp2 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ if ((argc < 2) || (argc > 2)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
+ }
+ {
+ arg1 = svn_swig_rb_make_stream(argv[0]);
+ }
+ {
+ temp2 = NUM2LONG(argv[1]);
+ arg2 = malloc(temp2);
+ arg3 = (apr_size_t *)&temp2;
+ }
+ {
+ result = (svn_error_t *)svn_stream_read2(arg1,arg2,arg3);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ vresult = SWIG_Ruby_AppendOutput(vresult, *arg3 == 0 ? Qnil : rb_str_new(arg2, *arg3));
+ free(arg2);
+ }
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_stream_read(int argc, VALUE *argv, VALUE self) {
svn_stream_t *arg1 = (svn_stream_t *) 0 ;
char *arg2 = (char *) 0 ;
@@ -29050,6 +29582,44 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_stream_data_available(int argc, VALUE *argv, VALUE self) {
+ svn_stream_t *arg1 = (svn_stream_t *) 0 ;
+ svn_boolean_t *arg2 = (svn_boolean_t *) 0 ;
+ svn_boolean_t temp2 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ arg2 = &temp2;
+ if ((argc < 1) || (argc > 1)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ {
+ arg1 = svn_swig_rb_make_stream(argv[0]);
+ }
+ {
+ result = (svn_error_t *)svn_stream_data_available(arg1,arg2);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ vresult = SWIG_Ruby_AppendOutput(vresult, *arg2 ? Qtrue : Qfalse);
+ }
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_stream_tee(int argc, VALUE *argv, VALUE self) {
svn_stream_t *arg1 = (svn_stream_t *) 0 ;
svn_stream_t *arg2 = (svn_stream_t *) 0 ;
@@ -29257,7 +29827,7 @@ _wrap_svn_stream_copy3(int argc, VALUE *argv, VALUE self) {
arg2 = svn_swig_rb_make_stream(argv[1]);
}
{
- arg3 = svn_swig_rb_cancel_func;
+ arg3 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg4 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
if (argc > 3) {
@@ -29327,7 +29897,7 @@ _wrap_svn_stream_copy2(int argc, VALUE *argv, VALUE self) {
arg2 = svn_swig_rb_make_stream(argv[1]);
}
{
- arg3 = svn_swig_rb_cancel_func;
+ arg3 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg4 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
if (argc > 3) {
@@ -30027,7 +30597,7 @@ _wrap_svn_io_remove_dir2(int argc, VALUE *argv, VALUE self) {
arg1 = (char *)(buf1);
arg2 = RTEST(argv[1]);
{
- arg3 = svn_swig_rb_cancel_func;
+ arg3 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg4 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
if (argc > 3) {
@@ -31415,6 +31985,225 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_io_file_aligned_seek(int argc, VALUE *argv, VALUE self) {
+ apr_file_t *arg1 = (apr_file_t *) 0 ;
+ apr_off_t arg2 ;
+ apr_off_t *arg3 = (apr_off_t *) 0 ;
+ apr_off_t arg4 ;
+ apr_pool_t *arg5 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ void *argp3 = 0 ;
+ int res3 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
+ _global_pool = arg5;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 4) || (argc > 5)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
+ }
+ {
+ arg1 = svn_swig_rb_make_file(argv[0], _global_pool);
+ }
+ {
+ arg2 = (apr_off_t)NUM2LL(argv[1]);
+ }
+ res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_apr_off_t, 0 | 0 );
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "apr_off_t *","svn_io_file_aligned_seek", 3, argv[2] ));
+ }
+ arg3 = (apr_off_t *)(argp3);
+ {
+ arg4 = (apr_off_t)NUM2LL(argv[3]);
+ }
+ if (argc > 4) {
+
+ }
+ {
+ result = (svn_error_t *)svn_io_file_aligned_seek(arg1,arg2,arg3,arg4,arg5);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_io_file_flush(int argc, VALUE *argv, VALUE self) {
+ apr_file_t *arg1 = (apr_file_t *) 0 ;
+ apr_pool_t *arg2 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2);
+ _global_pool = arg2;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 1) || (argc > 2)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ {
+ arg1 = svn_swig_rb_make_file(argv[0], _global_pool);
+ }
+ if (argc > 1) {
+
+ }
+ {
+ result = (svn_error_t *)svn_io_file_flush(arg1,arg2);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_io_write_atomic(int argc, VALUE *argv, VALUE self) {
+ char *arg1 = (char *) 0 ;
+ void *arg2 = (void *) 0 ;
+ apr_size_t arg3 ;
+ char *arg4 = (char *) 0 ;
+ apr_pool_t *arg5 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ int res1 ;
+ char *buf1 = 0 ;
+ int alloc1 = 0 ;
+ int res2 ;
+ unsigned long val3 ;
+ int ecode3 = 0 ;
+ int res4 ;
+ char *buf4 = 0 ;
+ int alloc4 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
+ _global_pool = arg5;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 4) || (argc > 5)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
+ }
+ res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_io_write_atomic", 1, argv[0] ));
+ }
+ arg1 = (char *)(buf1);
+ res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void const *","svn_io_write_atomic", 2, argv[1] ));
+ }
+ ecode3 = SWIG_AsVal_unsigned_SS_long(argv[2], &val3);
+ if (!SWIG_IsOK(ecode3)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "apr_size_t","svn_io_write_atomic", 3, argv[2] ));
+ }
+ arg3 = (apr_size_t)(val3);
+ res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
+ if (!SWIG_IsOK(res4)) {
+ SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_io_write_atomic", 4, argv[3] ));
+ }
+ arg4 = (char *)(buf4);
+ if (argc > 4) {
+
+ }
+ {
+ result = (svn_error_t *)svn_io_write_atomic((char const *)arg1,(void const *)arg2,arg3,(char const *)arg4,arg5);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
+ if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
+ if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_io_write_unique(int argc, VALUE *argv, VALUE self) {
char **arg1 = (char **) 0 ;
char *arg2 = (char *) 0 ;
@@ -32111,6 +32900,53 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_stream_invoke_data_available_fn(int argc, VALUE *argv, VALUE self) {
+ svn_stream_data_available_fn_t arg1 = (svn_stream_data_available_fn_t) 0 ;
+ void *arg2 = (void *) 0 ;
+ svn_boolean_t *arg3 = (svn_boolean_t *) 0 ;
+ int res2 ;
+ svn_boolean_t temp3 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ arg3 = &temp3;
+ if ((argc < 2) || (argc > 2)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
+ }
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_svn_boolean_t__p_svn_error_t);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_stream_data_available_fn_t","svn_stream_invoke_data_available_fn", 1, argv[0] ));
+ }
+ }
+ res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_stream_invoke_data_available_fn", 2, argv[1] ));
+ }
+ {
+ result = (svn_error_t *)svn_stream_invoke_data_available_fn(arg1,arg2,arg3);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ vresult = SWIG_Ruby_AppendOutput(vresult, *arg3 ? Qtrue : Qfalse);
+ }
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_stream_invoke_lazyopen_func(int argc, VALUE *argv, VALUE self) {
svn_stream_lazyopen_func_t arg1 = (svn_stream_lazyopen_func_t) 0 ;
svn_stream_t **arg2 = (svn_stream_t **) 0 ;
@@ -32308,16 +33144,7 @@ _wrap_svn_checksum_t_digest_set(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_checksum_t *","digest", 1, self ));
}
arg1 = (struct svn_checksum_t *)(argp1);
- {
- if (NIL_P(argv[0])) {
- arg2 = NULL;
- } else if (RSTRING_LEN(argv[0]) != APR_MD5_DIGESTSIZE) {
- rb_raise(rb_eArgError, "digest size (%d) must be %d",
- RSTRING_LEN(argv[0]), APR_MD5_DIGESTSIZE);
- } else {
- arg2 = (unsigned char *)StringValuePtr(argv[0]);
- }
- }
+
if (arg1) (arg1)->digest = (unsigned char const *)arg2;
return vresult;
@@ -33488,7 +34315,7 @@ _wrap_svn_auth_set_gnome_keyring_unlock_prompt_func(int argc, VALUE *argv, VALUE
}
arg1 = (svn_auth_baton_t *)(argp1);
{
- arg2 = svn_swig_rb_auth_gnome_keyring_unlock_prompt_func;
+ arg2 = (svn_auth_gnome_keyring_unlock_prompt_func_t) svn_swig_rb_auth_gnome_keyring_unlock_prompt_func;
arg3 = (void *)svn_swig_rb_make_baton(argv[1], _global_svn_swig_rb_pool);
}
{
@@ -33541,7 +34368,16 @@ _wrap_svn_md5_digest_to_cstring_display(int argc, VALUE *argv, VALUE self) {
if ((argc < 1) || (argc > 2)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
-
+ {
+ if (NIL_P(argv[0])) {
+ arg1 = NULL;
+ } else if (RSTRING_LEN(argv[0]) != APR_MD5_DIGESTSIZE) {
+ rb_raise(rb_eArgError, "digest size (%d) must be %d",
+ RSTRING_LEN(argv[0]), APR_MD5_DIGESTSIZE);
+ } else {
+ arg1 = (unsigned char *)StringValuePtr(argv[0]);
+ }
+ }
if (argc > 1) {
}
@@ -33596,7 +34432,16 @@ _wrap_svn_md5_digest_to_cstring(int argc, VALUE *argv, VALUE self) {
if ((argc < 1) || (argc > 2)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
-
+ {
+ if (NIL_P(argv[0])) {
+ arg1 = NULL;
+ } else if (RSTRING_LEN(argv[0]) != APR_MD5_DIGESTSIZE) {
+ rb_raise(rb_eArgError, "digest size (%d) must be %d",
+ RSTRING_LEN(argv[0]), APR_MD5_DIGESTSIZE);
+ } else {
+ arg1 = (unsigned char *)StringValuePtr(argv[0]);
+ }
+ }
if (argc > 1) {
}
@@ -35490,6 +36335,65 @@ free_svn_diff_output_fns_t(struct svn_diff_output_fns_t *arg1) {
}
SWIGINTERN VALUE
+_wrap_svn_diff_output2(int argc, VALUE *argv, VALUE self) {
+ 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_cancel_func_t arg4 = (svn_cancel_func_t) 0 ;
+ void *arg5 = (void *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ int res2 ;
+ void *argp3 = 0 ;
+ int res3 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ if ((argc < 4) || (argc > 4)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_diff_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_t *","svn_diff_output2", 1, argv[0] ));
+ }
+ arg1 = (svn_diff_t *)(argp1);
+ res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_diff_output2", 2, argv[1] ));
+ }
+ res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_svn_diff_output_fns_t, 0 | 0 );
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_diff_output_fns_t const *","svn_diff_output2", 3, argv[2] ));
+ }
+ arg3 = (svn_diff_output_fns_t *)(argp3);
+ {
+ arg4 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
+ arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
+ }
+ {
+ result = (svn_error_t *)svn_diff_output2(arg1,arg2,(struct svn_diff_output_fns_t const *)arg3,arg4,arg5);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ svn_swig_rb_set_baton(vresult, (VALUE)arg5);
+ }
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_diff_output(int argc, VALUE *argv, VALUE self) {
svn_diff_t *arg1 = (svn_diff_t *) 0 ;
void *arg2 = (void *) 0 ;
@@ -35688,6 +36592,59 @@ fail:
}
+SWIGINTERN VALUE
+_wrap_svn_diff_file_options_t_context_size_set(int argc, VALUE *argv, VALUE self) {
+ struct svn_diff_file_options_t *arg1 = (struct svn_diff_file_options_t *) 0 ;
+ int arg2 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ int val2 ;
+ int ecode2 = 0 ;
+
+ if ((argc < 1) || (argc > 1)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_file_options_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_file_options_t *","context_size", 1, self ));
+ }
+ arg1 = (struct svn_diff_file_options_t *)(argp1);
+ ecode2 = SWIG_AsVal_int(argv[0], &val2);
+ if (!SWIG_IsOK(ecode2)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","context_size", 2, argv[0] ));
+ }
+ arg2 = (int)(val2);
+ if (arg1) (arg1)->context_size = arg2;
+ return Qnil;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_diff_file_options_t_context_size_get(int argc, VALUE *argv, VALUE self) {
+ struct svn_diff_file_options_t *arg1 = (struct svn_diff_file_options_t *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ int result;
+ VALUE vresult = Qnil;
+
+ if ((argc < 0) || (argc > 0)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_file_options_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_file_options_t *","context_size", 1, self ));
+ }
+ arg1 = (struct svn_diff_file_options_t *)(argp1);
+ result = (int) ((arg1)->context_size);
+ vresult = SWIG_From_int((int)(result));
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
SWIGINTERN VALUE
_wrap_svn_diff_file_options_t_allocate(VALUE self) {
@@ -36399,6 +37356,164 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_diff_file_output_unified4(int argc, VALUE *argv, VALUE self) {
+ 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 ;
+ svn_boolean_t arg9 ;
+ int arg10 ;
+ svn_cancel_func_t arg11 = (svn_cancel_func_t) 0 ;
+ void *arg12 = (void *) 0 ;
+ apr_pool_t *arg13 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ void *argp2 = 0 ;
+ int res2 = 0 ;
+ int res3 ;
+ char *buf3 = 0 ;
+ int alloc3 = 0 ;
+ int res4 ;
+ char *buf4 = 0 ;
+ int alloc4 = 0 ;
+ int res5 ;
+ char *buf5 = 0 ;
+ int alloc5 = 0 ;
+ int res6 ;
+ char *buf6 = 0 ;
+ int alloc6 = 0 ;
+ int res8 ;
+ char *buf8 = 0 ;
+ int alloc8 = 0 ;
+ int val10 ;
+ int ecode10 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg13);
+ _global_pool = arg13;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 11) || (argc > 12)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 11)",argc); SWIG_fail;
+ }
+ {
+ arg1 = svn_swig_rb_make_stream(argv[0]);
+ }
+ res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_svn_diff_t, 0 | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_diff_t *","svn_diff_file_output_unified4", 2, argv[1] ));
+ }
+ arg2 = (svn_diff_t *)(argp2);
+ res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_diff_file_output_unified4", 3, argv[2] ));
+ }
+ arg3 = (char *)(buf3);
+ res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
+ if (!SWIG_IsOK(res4)) {
+ SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_diff_file_output_unified4", 4, argv[3] ));
+ }
+ arg4 = (char *)(buf4);
+ res5 = SWIG_AsCharPtrAndSize(argv[4], &buf5, NULL, &alloc5);
+ if (!SWIG_IsOK(res5)) {
+ SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_diff_file_output_unified4", 5, argv[4] ));
+ }
+ arg5 = (char *)(buf5);
+ res6 = SWIG_AsCharPtrAndSize(argv[5], &buf6, NULL, &alloc6);
+ if (!SWIG_IsOK(res6)) {
+ SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "char const *","svn_diff_file_output_unified4", 6, argv[5] ));
+ }
+ arg6 = (char *)(buf6);
+ {
+ arg7 = NULL;
+
+ if (NIL_P(argv[6])) {
+
+ } else if (TYPE(argv[6]) == T_FIXNUM) {
+ arg7 = (char *)NUM2INT(argv[6]);
+ if (!(arg7 == APR_LOCALE_CHARSET || arg7 == APR_DEFAULT_CHARSET)) {
+ arg7 = NULL;
+ }
+ } else {
+ arg7 = StringValuePtr(argv[6]);
+ }
+
+ if (!arg7) {
+ arg7 = (char *)APR_LOCALE_CHARSET;
+ }
+ }
+ res8 = SWIG_AsCharPtrAndSize(argv[7], &buf8, NULL, &alloc8);
+ if (!SWIG_IsOK(res8)) {
+ SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "char const *","svn_diff_file_output_unified4", 8, argv[7] ));
+ }
+ arg8 = (char *)(buf8);
+ arg9 = RTEST(argv[8]);
+ ecode10 = SWIG_AsVal_int(argv[9], &val10);
+ if (!SWIG_IsOK(ecode10)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode10), Ruby_Format_TypeError( "", "int","svn_diff_file_output_unified4", 10, argv[9] ));
+ }
+ arg10 = (int)(val10);
+ {
+ arg11 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
+ arg12 = (void *)svn_swig_rb_make_baton(argv[10], _global_svn_swig_rb_pool);
+ }
+ if (argc > 11) {
+
+ }
+ {
+ result = (svn_error_t *)svn_diff_file_output_unified4(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,arg9,arg10,arg11,arg12,arg13);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ svn_swig_rb_set_baton(vresult, (VALUE)arg12);
+ }
+ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
+ if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
+ if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
+ if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
+ if (alloc8 == SWIG_NEWOBJ) free((char*)buf8);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
+ if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
+ if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
+ if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
+ if (alloc8 == SWIG_NEWOBJ) free((char*)buf8);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_diff_file_output_unified3(int argc, VALUE *argv, VALUE self) {
svn_stream_t *arg1 = (svn_stream_t *) 0 ;
svn_diff_t *arg2 = (svn_diff_t *) 0 ;
@@ -36777,6 +37892,153 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_diff_file_output_merge3(int argc, VALUE *argv, VALUE self) {
+ 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_diff_conflict_display_style_t arg10 ;
+ svn_cancel_func_t arg11 = (svn_cancel_func_t) 0 ;
+ void *arg12 = (void *) 0 ;
+ apr_pool_t *arg13 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ void *argp2 = 0 ;
+ int res2 = 0 ;
+ int res3 ;
+ char *buf3 = 0 ;
+ int alloc3 = 0 ;
+ int res4 ;
+ char *buf4 = 0 ;
+ int alloc4 = 0 ;
+ int res5 ;
+ char *buf5 = 0 ;
+ int alloc5 = 0 ;
+ int val10 ;
+ int ecode10 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg13);
+ _global_pool = arg13;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 11) || (argc > 12)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 11)",argc); SWIG_fail;
+ }
+ {
+ arg1 = svn_swig_rb_make_stream(argv[0]);
+ }
+ res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_svn_diff_t, 0 | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_diff_t *","svn_diff_file_output_merge3", 2, argv[1] ));
+ }
+ arg2 = (svn_diff_t *)(argp2);
+ res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_diff_file_output_merge3", 3, argv[2] ));
+ }
+ arg3 = (char *)(buf3);
+ res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
+ if (!SWIG_IsOK(res4)) {
+ SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_diff_file_output_merge3", 4, argv[3] ));
+ }
+ arg4 = (char *)(buf4);
+ res5 = SWIG_AsCharPtrAndSize(argv[4], &buf5, NULL, &alloc5);
+ if (!SWIG_IsOK(res5)) {
+ SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_diff_file_output_merge3", 5, argv[4] ));
+ }
+ arg5 = (char *)(buf5);
+ {
+ if (NIL_P(argv[5])) {
+ arg6 = NULL;
+ } else {
+ arg6 = StringValuePtr(argv[5]);
+ }
+ }
+ {
+ if (NIL_P(argv[6])) {
+ arg7 = NULL;
+ } else {
+ arg7 = StringValuePtr(argv[6]);
+ }
+ }
+ {
+ if (NIL_P(argv[7])) {
+ arg8 = NULL;
+ } else {
+ arg8 = StringValuePtr(argv[7]);
+ }
+ }
+ {
+ if (NIL_P(argv[8])) {
+ arg9 = NULL;
+ } else {
+ arg9 = StringValuePtr(argv[8]);
+ }
+ }
+ ecode10 = SWIG_AsVal_int(argv[9], &val10);
+ if (!SWIG_IsOK(ecode10)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode10), Ruby_Format_TypeError( "", "svn_diff_conflict_display_style_t","svn_diff_file_output_merge3", 10, argv[9] ));
+ }
+ arg10 = (svn_diff_conflict_display_style_t)(val10);
+ {
+ arg11 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
+ arg12 = (void *)svn_swig_rb_make_baton(argv[10], _global_svn_swig_rb_pool);
+ }
+ if (argc > 11) {
+
+ }
+ {
+ result = (svn_error_t *)svn_diff_file_output_merge3(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,arg13);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ svn_swig_rb_set_baton(vresult, (VALUE)arg12);
+ }
+ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
+ if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
+ if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
+ if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
+ if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_diff_file_output_merge2(int argc, VALUE *argv, VALUE self) {
svn_stream_t *arg1 = (svn_stream_t *) 0 ;
svn_diff_t *arg2 = (svn_diff_t *) 0 ;
@@ -37049,6 +38311,80 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_diff_output_binary(int argc, VALUE *argv, VALUE self) {
+ svn_stream_t *arg1 = (svn_stream_t *) 0 ;
+ svn_stream_t *arg2 = (svn_stream_t *) 0 ;
+ svn_stream_t *arg3 = (svn_stream_t *) 0 ;
+ svn_cancel_func_t arg4 = (svn_cancel_func_t) 0 ;
+ void *arg5 = (void *) 0 ;
+ apr_pool_t *arg6 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
+ _global_pool = arg6;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 4) || (argc > 5)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
+ }
+ {
+ arg1 = svn_swig_rb_make_stream(argv[0]);
+ }
+ {
+ arg2 = svn_swig_rb_make_stream(argv[1]);
+ }
+ {
+ arg3 = svn_swig_rb_make_stream(argv[2]);
+ }
+ {
+ arg4 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
+ arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
+ }
+ if (argc > 4) {
+
+ }
+ {
+ result = (svn_error_t *)svn_diff_output_binary(arg1,arg2,arg3,arg4,arg5,arg6);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ svn_swig_rb_set_baton(vresult, (VALUE)arg5);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_diff_mem_string_diff(int argc, VALUE *argv, VALUE self) {
svn_diff_t **arg1 = (svn_diff_t **) 0 ;
svn_string_t *arg2 = (svn_string_t *) 0 ;
@@ -37349,6 +38685,164 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_diff_mem_string_output_unified3(int argc, VALUE *argv, VALUE self) {
+ svn_stream_t *arg1 = (svn_stream_t *) 0 ;
+ svn_diff_t *arg2 = (svn_diff_t *) 0 ;
+ svn_boolean_t arg3 ;
+ char *arg4 = (char *) 0 ;
+ char *arg5 = (char *) 0 ;
+ char *arg6 = (char *) 0 ;
+ char *arg7 = (char *) 0 ;
+ svn_string_t *arg8 = (svn_string_t *) 0 ;
+ svn_string_t *arg9 = (svn_string_t *) 0 ;
+ int arg10 ;
+ svn_cancel_func_t arg11 = (svn_cancel_func_t) 0 ;
+ void *arg12 = (void *) 0 ;
+ apr_pool_t *arg13 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ void *argp2 = 0 ;
+ int res2 = 0 ;
+ int res4 ;
+ char *buf4 = 0 ;
+ int alloc4 = 0 ;
+ int res5 ;
+ char *buf5 = 0 ;
+ int alloc5 = 0 ;
+ int res6 ;
+ char *buf6 = 0 ;
+ int alloc6 = 0 ;
+ svn_string_t value8 ;
+ svn_string_t value9 ;
+ int val10 ;
+ int ecode10 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg13);
+ _global_pool = arg13;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 11) || (argc > 12)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 11)",argc); SWIG_fail;
+ }
+ {
+ arg1 = svn_swig_rb_make_stream(argv[0]);
+ }
+ res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_svn_diff_t, 0 | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_diff_t *","svn_diff_mem_string_output_unified3", 2, argv[1] ));
+ }
+ arg2 = (svn_diff_t *)(argp2);
+ arg3 = RTEST(argv[2]);
+ res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
+ if (!SWIG_IsOK(res4)) {
+ SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_diff_mem_string_output_unified3", 4, argv[3] ));
+ }
+ arg4 = (char *)(buf4);
+ res5 = SWIG_AsCharPtrAndSize(argv[4], &buf5, NULL, &alloc5);
+ if (!SWIG_IsOK(res5)) {
+ SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_diff_mem_string_output_unified3", 5, argv[4] ));
+ }
+ arg5 = (char *)(buf5);
+ res6 = SWIG_AsCharPtrAndSize(argv[5], &buf6, NULL, &alloc6);
+ if (!SWIG_IsOK(res6)) {
+ SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "char const *","svn_diff_mem_string_output_unified3", 6, argv[5] ));
+ }
+ arg6 = (char *)(buf6);
+ {
+ arg7 = NULL;
+
+ if (NIL_P(argv[6])) {
+
+ } else if (TYPE(argv[6]) == T_FIXNUM) {
+ arg7 = (char *)NUM2INT(argv[6]);
+ if (!(arg7 == APR_LOCALE_CHARSET || arg7 == APR_DEFAULT_CHARSET)) {
+ arg7 = NULL;
+ }
+ } else {
+ arg7 = StringValuePtr(argv[6]);
+ }
+
+ if (!arg7) {
+ arg7 = (char *)APR_LOCALE_CHARSET;
+ }
+ }
+ {
+ if (NIL_P(argv[7])) {
+ arg8 = NULL;
+ } else {
+ value8.data = StringValuePtr(argv[7]);
+ value8.len = RSTRING_LEN(argv[7]);
+ arg8 = &value8;
+ }
+ }
+ {
+ if (NIL_P(argv[8])) {
+ arg9 = NULL;
+ } else {
+ value9.data = StringValuePtr(argv[8]);
+ value9.len = RSTRING_LEN(argv[8]);
+ arg9 = &value9;
+ }
+ }
+ ecode10 = SWIG_AsVal_int(argv[9], &val10);
+ if (!SWIG_IsOK(ecode10)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode10), Ruby_Format_TypeError( "", "int","svn_diff_mem_string_output_unified3", 10, argv[9] ));
+ }
+ arg10 = (int)(val10);
+ {
+ arg11 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
+ arg12 = (void *)svn_swig_rb_make_baton(argv[10], _global_svn_swig_rb_pool);
+ }
+ if (argc > 11) {
+
+ }
+ {
+ result = (svn_error_t *)svn_diff_mem_string_output_unified3(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,(struct svn_string_t const *)arg8,(struct svn_string_t const *)arg9,arg10,arg11,arg12,arg13);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ svn_swig_rb_set_baton(vresult, (VALUE)arg12);
+ }
+ if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
+ if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
+ if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
+ if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
+ if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_diff_mem_string_output_unified2(int argc, VALUE *argv, VALUE self) {
svn_stream_t *arg1 = (svn_stream_t *) 0 ;
svn_diff_t *arg2 = (svn_diff_t *) 0 ;
@@ -37618,6 +39112,153 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_diff_mem_string_output_merge3(int argc, VALUE *argv, VALUE self) {
+ svn_stream_t *arg1 = (svn_stream_t *) 0 ;
+ svn_diff_t *arg2 = (svn_diff_t *) 0 ;
+ svn_string_t *arg3 = (svn_string_t *) 0 ;
+ svn_string_t *arg4 = (svn_string_t *) 0 ;
+ svn_string_t *arg5 = (svn_string_t *) 0 ;
+ char *arg6 = (char *) 0 ;
+ char *arg7 = (char *) 0 ;
+ char *arg8 = (char *) 0 ;
+ char *arg9 = (char *) 0 ;
+ svn_diff_conflict_display_style_t arg10 ;
+ svn_cancel_func_t arg11 = (svn_cancel_func_t) 0 ;
+ void *arg12 = (void *) 0 ;
+ apr_pool_t *arg13 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ void *argp2 = 0 ;
+ int res2 = 0 ;
+ svn_string_t value3 ;
+ svn_string_t value4 ;
+ svn_string_t value5 ;
+ int val10 ;
+ int ecode10 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg13);
+ _global_pool = arg13;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 11) || (argc > 12)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 11)",argc); SWIG_fail;
+ }
+ {
+ arg1 = svn_swig_rb_make_stream(argv[0]);
+ }
+ res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_svn_diff_t, 0 | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_diff_t *","svn_diff_mem_string_output_merge3", 2, argv[1] ));
+ }
+ arg2 = (svn_diff_t *)(argp2);
+ {
+ if (NIL_P(argv[2])) {
+ arg3 = NULL;
+ } else {
+ value3.data = StringValuePtr(argv[2]);
+ value3.len = RSTRING_LEN(argv[2]);
+ arg3 = &value3;
+ }
+ }
+ {
+ if (NIL_P(argv[3])) {
+ arg4 = NULL;
+ } else {
+ value4.data = StringValuePtr(argv[3]);
+ value4.len = RSTRING_LEN(argv[3]);
+ arg4 = &value4;
+ }
+ }
+ {
+ if (NIL_P(argv[4])) {
+ arg5 = NULL;
+ } else {
+ value5.data = StringValuePtr(argv[4]);
+ value5.len = RSTRING_LEN(argv[4]);
+ arg5 = &value5;
+ }
+ }
+ {
+ if (NIL_P(argv[5])) {
+ arg6 = NULL;
+ } else {
+ arg6 = StringValuePtr(argv[5]);
+ }
+ }
+ {
+ if (NIL_P(argv[6])) {
+ arg7 = NULL;
+ } else {
+ arg7 = StringValuePtr(argv[6]);
+ }
+ }
+ {
+ if (NIL_P(argv[7])) {
+ arg8 = NULL;
+ } else {
+ arg8 = StringValuePtr(argv[7]);
+ }
+ }
+ {
+ if (NIL_P(argv[8])) {
+ arg9 = NULL;
+ } else {
+ arg9 = StringValuePtr(argv[8]);
+ }
+ }
+ ecode10 = SWIG_AsVal_int(argv[9], &val10);
+ if (!SWIG_IsOK(ecode10)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode10), Ruby_Format_TypeError( "", "svn_diff_conflict_display_style_t","svn_diff_mem_string_output_merge3", 10, argv[9] ));
+ }
+ arg10 = (svn_diff_conflict_display_style_t)(val10);
+ {
+ arg11 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
+ arg12 = (void *)svn_swig_rb_make_baton(argv[10], _global_svn_swig_rb_pool);
+ }
+ if (argc > 11) {
+
+ }
+ {
+ result = (svn_error_t *)svn_diff_mem_string_output_merge3(arg1,arg2,(struct svn_string_t const *)arg3,(struct svn_string_t const *)arg4,(struct svn_string_t const *)arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,(char const *)arg9,arg10,arg11,arg12,arg13);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ svn_swig_rb_set_baton(vresult, (VALUE)arg12);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_diff_mem_string_output_merge2(int argc, VALUE *argv, VALUE self) {
svn_stream_t *arg1 = (svn_stream_t *) 0 ;
svn_diff_t *arg2 = (svn_diff_t *) 0 ;
@@ -39036,6 +40677,108 @@ fail:
}
+SWIGINTERN VALUE
+_wrap_svn_patch_t_mergeinfo_set(int argc, VALUE *argv, VALUE self) {
+ struct svn_patch_t *arg1 = (struct svn_patch_t *) 0 ;
+ svn_mergeinfo_t arg2 = (svn_mergeinfo_t) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+
+ if ((argc < 1) || (argc > 1)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_patch_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_patch_t *","mergeinfo", 1, self ));
+ }
+ arg1 = (struct svn_patch_t *)(argp1);
+ {
+ arg2 = svn_swig_rb_hash_to_apr_hash_merge_range(argv[0], _global_pool);
+ }
+ if (arg1) (arg1)->mergeinfo = arg2;
+ return Qnil;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_patch_t_mergeinfo_get(int argc, VALUE *argv, VALUE self) {
+ struct svn_patch_t *arg1 = (struct svn_patch_t *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ svn_mergeinfo_t result;
+ VALUE vresult = Qnil;
+
+ if ((argc < 0) || (argc > 0)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_patch_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_patch_t *","mergeinfo", 1, self ));
+ }
+ arg1 = (struct svn_patch_t *)(argp1);
+ result = (svn_mergeinfo_t) ((arg1)->mergeinfo);
+ vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_apr_hash_t, 0 | 0 );
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_patch_t_reverse_mergeinfo_set(int argc, VALUE *argv, VALUE self) {
+ struct svn_patch_t *arg1 = (struct svn_patch_t *) 0 ;
+ svn_mergeinfo_t arg2 = (svn_mergeinfo_t) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ void *argp2 = 0 ;
+ int res2 = 0 ;
+
+ if ((argc < 1) || (argc > 1)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_patch_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_patch_t *","reverse_mergeinfo", 1, self ));
+ }
+ arg1 = (struct svn_patch_t *)(argp1);
+ res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_apr_hash_t, SWIG_POINTER_DISOWN | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_mergeinfo_t","reverse_mergeinfo", 2, argv[0] ));
+ }
+ arg2 = (svn_mergeinfo_t)(argp2);
+ if (arg1) (arg1)->reverse_mergeinfo = arg2;
+ return Qnil;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_patch_t_reverse_mergeinfo_get(int argc, VALUE *argv, VALUE self) {
+ struct svn_patch_t *arg1 = (struct svn_patch_t *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ svn_mergeinfo_t result;
+ VALUE vresult = Qnil;
+
+ if ((argc < 0) || (argc > 0)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_patch_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_patch_t *","reverse_mergeinfo", 1, self ));
+ }
+ arg1 = (struct svn_patch_t *)(argp1);
+ result = (svn_mergeinfo_t) ((arg1)->reverse_mergeinfo);
+ vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_apr_hash_t, 0 | 0 );
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
SWIGINTERN VALUE
_wrap_svn_patch_t_allocate(VALUE self) {
@@ -40332,7 +42075,7 @@ _wrap_svn_swig_rb_auth_get_simple_prompt_provider(int argc, VALUE *argv, VALUE s
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
}
{
- arg2 = svn_swig_rb_auth_simple_prompt_func;
+ arg2 = (svn_auth_simple_prompt_func_t) svn_swig_rb_auth_simple_prompt_func;
arg3 = (void *)svn_swig_rb_make_baton(argv[0], _global_svn_swig_rb_pool);
}
ecode4 = SWIG_AsVal_int(argv[1], &val4);
@@ -40398,7 +42141,7 @@ _wrap_svn_swig_rb_auth_get_ssl_client_cert_prompt_provider(int argc, VALUE *argv
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
}
{
- arg2 = svn_swig_rb_auth_ssl_client_cert_prompt_func;
+ arg2 = (svn_auth_ssl_client_cert_prompt_func_t) svn_swig_rb_auth_ssl_client_cert_prompt_func;
arg3 = (void *)svn_swig_rb_make_baton(argv[0], _global_svn_swig_rb_pool);
}
ecode4 = SWIG_AsVal_int(argv[1], &val4);
@@ -40464,7 +42207,7 @@ _wrap_svn_swig_rb_auth_get_ssl_client_cert_pw_prompt_provider(int argc, VALUE *a
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
}
{
- arg2 = svn_swig_rb_auth_ssl_client_cert_pw_prompt_func;
+ arg2 = (svn_auth_ssl_client_cert_pw_prompt_func_t) svn_swig_rb_auth_ssl_client_cert_pw_prompt_func;
arg3 = (void *)svn_swig_rb_make_baton(argv[0], _global_svn_swig_rb_pool);
}
ecode4 = SWIG_AsVal_int(argv[1], &val4);
@@ -40527,7 +42270,7 @@ _wrap_svn_swig_rb_auth_get_ssl_server_trust_prompt_provider(int argc, VALUE *arg
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
{
- arg2 = svn_swig_rb_auth_ssl_server_trust_prompt_func;
+ arg2 = (svn_auth_ssl_server_trust_prompt_func_t) svn_swig_rb_auth_ssl_server_trust_prompt_func;
arg3 = (void *)svn_swig_rb_make_baton(argv[0], _global_svn_swig_rb_pool);
}
if (argc > 1) {
@@ -40588,7 +42331,7 @@ _wrap_svn_swig_rb_auth_get_username_prompt_provider(int argc, VALUE *argv, VALUE
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
}
{
- arg2 = svn_swig_rb_auth_username_prompt_func;
+ arg2 = (svn_auth_username_prompt_func_t) svn_swig_rb_auth_username_prompt_func;
arg3 = (void *)svn_swig_rb_make_baton(argv[0], _global_svn_swig_rb_pool);
}
ecode4 = SWIG_AsVal_int(argv[1], &val4);
@@ -40896,7 +42639,6 @@ static swig_type_info _swigt__p_apr_file_t = {"_p_apr_file_t", "apr_file_t *", 0
static swig_type_info _swigt__p_apr_finfo_t = {"_p_apr_finfo_t", "apr_finfo_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_apr_getopt_option_t = {"_p_apr_getopt_option_t", "apr_getopt_option_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_apr_getopt_t = {"_p_apr_getopt_t", "apr_getopt_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_apr_hash_index_t = {"_p_apr_hash_index_t", "apr_hash_index_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_apr_hash_t = {"_p_apr_hash_t", "svn_mergeinfo_catalog_t|svn_mergeinfo_t|apr_hash_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_apr_int32_t = {"_p_apr_int32_t", "apr_int32_t *|time_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_apr_int64_t = {"_p_apr_int64_t", "apr_int64_t *|svn_filesize_t *|apr_time_t *", 0, 0, (void*)0, 0};
@@ -40923,6 +42665,7 @@ static swig_type_info _swigt__p_f_p_q_const__char_p_q_const__char_p_void__int =
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", "svn_config_enumerator2_t|int (*)(char const *,char const *,void *,apr_pool_t *)", 0, 0, (void*)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", "svn_config_section_enumerator_t|int (*)(char const *,void *)", 0, 0, (void*)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, (void*)0, 0};
+static swig_type_info _swigt__p_f_p_q_const__struct_svn_version_t_p_q_const__struct_svn_version_t__int = {"_p_f_p_q_const__struct_svn_version_t_p_q_const__struct_svn_version_t__int", "svn_boolean_t (*)(svn_version_t const *,svn_version_t const *)|int (*)(struct svn_version_t const *,struct svn_version_t const *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_commit_callback2_t|struct svn_error_t *(*)(svn_commit_info_t const *,void *,apr_pool_t *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_svn_boolean_t_p_q_const__char_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_svn_boolean_t_p_q_const__char_p_void_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(svn_boolean_t *,char const *,void *,apr_pool_t *)|svn_auth_plaintext_prompt_func_t|svn_auth_plaintext_passphrase_prompt_func_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_svn_boolean_t_p_void_p_q_const__char_p_q_const__char_p_apr_hash_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_svn_boolean_t_p_void_p_q_const__char_p_q_const__char_p_apr_hash_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(svn_boolean_t *,void *,char const *,char const *,apr_hash_t *,apr_pool_t *)|svn_config_auth_walk_func_t", 0, 0, (void*)0, 0};
@@ -40940,6 +42683,7 @@ static swig_type_info _swigt__p_f_p_void_p_p_svn_stream_mark_t_p_apr_pool_t__p_s
static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_apr_size_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_apr_size_t__p_svn_error_t", "struct svn_error_t *(*)(void *,char const *,apr_size_t *)|svn_write_fn_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_q_const__apr_finfo_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_q_const__apr_finfo_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void *,char const *,apr_finfo_t const *,apr_pool_t *)|svn_io_walk_func_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_q_const__svn_stream_mark_t__p_svn_error_t = {"_p_f_p_void_p_q_const__svn_stream_mark_t__p_svn_error_t", "svn_stream_seek_fn_t|struct svn_error_t *(*)(void *,svn_stream_mark_t const *)", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_f_p_void_p_svn_boolean_t__p_svn_error_t = {"_p_f_p_void_p_svn_boolean_t__p_svn_error_t", "svn_stream_data_available_fn_t|struct svn_error_t *(*)(void *,svn_boolean_t *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void *,svn_log_entry_t *,apr_pool_t *)|svn_log_entry_receiver_t", 0, 0, (void*)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, (void*)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", "svn_error_t *(*)(void *,void *,void *,int *)|struct svn_error_t *(*)(void *,void *,void *,int *)", 0, 0, (void*)0, 0};
@@ -41046,7 +42790,6 @@ static swig_type_info *swig_type_initial[] = {
&_swigt__p_apr_finfo_t,
&_swigt__p_apr_getopt_option_t,
&_swigt__p_apr_getopt_t,
- &_swigt__p_apr_hash_index_t,
&_swigt__p_apr_hash_t,
&_swigt__p_apr_int32_t,
&_swigt__p_apr_int64_t,
@@ -41073,6 +42816,7 @@ static swig_type_info *swig_type_initial[] = {
&_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_q_const__struct_svn_version_t_p_q_const__struct_svn_version_t__int,
&_swigt__p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_svn_boolean_t_p_q_const__char_p_void_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_svn_boolean_t_p_void_p_q_const__char_p_q_const__char_p_apr_hash_t_p_apr_pool_t__p_svn_error_t,
@@ -41090,6 +42834,7 @@ static swig_type_info *swig_type_initial[] = {
&_swigt__p_f_p_void_p_q_const__char_p_apr_size_t__p_svn_error_t,
&_swigt__p_f_p_void_p_q_const__char_p_q_const__apr_finfo_t_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_void_p_q_const__svn_stream_mark_t__p_svn_error_t,
+ &_swigt__p_f_p_void_p_svn_boolean_t__p_svn_error_t,
&_swigt__p_f_p_void_p_svn_log_entry_t_p_apr_pool_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,
@@ -41196,7 +42941,6 @@ static swig_cast_info _swigc__p_apr_file_t[] = { {&_swigt__p_apr_file_t, 0, 0,
static swig_cast_info _swigc__p_apr_finfo_t[] = { {&_swigt__p_apr_finfo_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_index_t[] = { {&_swigt__p_apr_hash_index_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}};
@@ -41223,6 +42967,7 @@ static swig_cast_info _swigc__p_f_p_q_const__char_p_q_const__char_p_void__int[]
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_q_const__struct_svn_version_t_p_q_const__struct_svn_version_t__int[] = { {&_swigt__p_f_p_q_const__struct_svn_version_t_p_q_const__struct_svn_version_t__int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_svn_boolean_t_p_q_const__char_p_void_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_svn_boolean_t_p_q_const__char_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_svn_boolean_t_p_void_p_q_const__char_p_q_const__char_p_apr_hash_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_svn_boolean_t_p_void_p_q_const__char_p_q_const__char_p_apr_hash_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
@@ -41240,6 +42985,7 @@ static swig_cast_info _swigc__p_f_p_void_p_p_svn_stream_mark_t_p_apr_pool_t__p_s
static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_apr_size_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_q_const__char_p_apr_size_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_q_const__apr_finfo_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_q_const__char_p_q_const__apr_finfo_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_q_const__svn_stream_mark_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_q_const__svn_stream_mark_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_f_p_void_p_svn_boolean_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_svn_boolean_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
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}};
@@ -41346,7 +43092,6 @@ static swig_cast_info *swig_cast_initial[] = {
_swigc__p_apr_finfo_t,
_swigc__p_apr_getopt_option_t,
_swigc__p_apr_getopt_t,
- _swigc__p_apr_hash_index_t,
_swigc__p_apr_hash_t,
_swigc__p_apr_int32_t,
_swigc__p_apr_int64_t,
@@ -41373,6 +43118,7 @@ static swig_cast_info *swig_cast_initial[] = {
_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_q_const__struct_svn_version_t_p_q_const__struct_svn_version_t__int,
_swigc__p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_svn_boolean_t_p_q_const__char_p_void_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_svn_boolean_t_p_void_p_q_const__char_p_q_const__char_p_apr_hash_t_p_apr_pool_t__p_svn_error_t,
@@ -41390,6 +43136,7 @@ static swig_cast_info *swig_cast_initial[] = {
_swigc__p_f_p_void_p_q_const__char_p_apr_size_t__p_svn_error_t,
_swigc__p_f_p_void_p_q_const__char_p_q_const__apr_finfo_t_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_void_p_q_const__svn_stream_mark_t__p_svn_error_t,
+ _swigc__p_f_p_void_p_svn_boolean_t__p_svn_error_t,
_swigc__p_f_p_void_p_svn_log_entry_t_p_apr_pool_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,
@@ -41493,18 +43240,18 @@ static swig_cast_info *swig_cast_initial[] = {
/* -----------------------------------------------------------------------------
* Type initialization:
- * This problem is tough by the requirement that no dynamic
- * memory is used. Also, since swig_type_info structures store pointers to
+ * 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
+ * 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
+ * The generated swig_type_info structures are assigned staticly to an initial
* array. We just loop through 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
@@ -41514,17 +43261,17 @@ static swig_cast_info *swig_cast_initial[] = {
* 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
+ * 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.
+ * 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
+ * 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
@@ -41587,7 +43334,7 @@ SWIG_InitializeModule(void *clientdata) {
module_head->next = &swig_module;
}
- /* When multiple interpeters are used, a module could have already been initialized in
+ /* When multiple interpreters are used, a module could have already been initialized in
a different interpreter, but not yet have a pointer in this interpreter.
In this case, we do not want to continue adding types... everything should be
set up already */
@@ -41601,7 +43348,7 @@ SWIG_InitializeModule(void *clientdata) {
swig_type_info *type = 0;
swig_type_info *ret;
swig_cast_info *cast;
-
+
#ifdef SWIGRUNTIME_DEBUG
printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
#endif
@@ -41628,7 +43375,7 @@ SWIG_InitializeModule(void *clientdata) {
/* Insert casting types */
cast = swig_module.cast_initial[i];
while (cast->type) {
-
+
/* Don't need to add information already in the list */
ret = 0;
#ifdef SWIGRUNTIME_DEBUG
@@ -41773,11 +43520,13 @@ SWIGEXPORT void Init_core(void) {
rb_define_const(mCore, "SVN_ERR_BAD_TOKEN", SWIG_From_int((int)(SVN_ERR_BAD_TOKEN)));
rb_define_const(mCore, "SVN_ERR_BAD_CHANGELIST_NAME", SWIG_From_int((int)(SVN_ERR_BAD_CHANGELIST_NAME)));
rb_define_const(mCore, "SVN_ERR_BAD_ATOMIC", SWIG_From_int((int)(SVN_ERR_BAD_ATOMIC)));
+ rb_define_const(mCore, "SVN_ERR_BAD_COMPRESSION_METHOD", SWIG_From_int((int)(SVN_ERR_BAD_COMPRESSION_METHOD)));
rb_define_const(mCore, "SVN_ERR_XML_ATTRIB_NOT_FOUND", SWIG_From_int((int)(SVN_ERR_XML_ATTRIB_NOT_FOUND)));
rb_define_const(mCore, "SVN_ERR_XML_MISSING_ANCESTRY", SWIG_From_int((int)(SVN_ERR_XML_MISSING_ANCESTRY)));
rb_define_const(mCore, "SVN_ERR_XML_UNKNOWN_ENCODING", SWIG_From_int((int)(SVN_ERR_XML_UNKNOWN_ENCODING)));
rb_define_const(mCore, "SVN_ERR_XML_MALFORMED", SWIG_From_int((int)(SVN_ERR_XML_MALFORMED)));
rb_define_const(mCore, "SVN_ERR_XML_UNESCAPABLE_DATA", SWIG_From_int((int)(SVN_ERR_XML_UNESCAPABLE_DATA)));
+ rb_define_const(mCore, "SVN_ERR_XML_UNEXPECTED_ELEMENT", SWIG_From_int((int)(SVN_ERR_XML_UNEXPECTED_ELEMENT)));
rb_define_const(mCore, "SVN_ERR_IO_INCONSISTENT_EOL", SWIG_From_int((int)(SVN_ERR_IO_INCONSISTENT_EOL)));
rb_define_const(mCore, "SVN_ERR_IO_UNKNOWN_EOL", SWIG_From_int((int)(SVN_ERR_IO_UNKNOWN_EOL)));
rb_define_const(mCore, "SVN_ERR_IO_CORRUPT_EOL", SWIG_From_int((int)(SVN_ERR_IO_CORRUPT_EOL)));
@@ -41790,6 +43539,7 @@ SWIGEXPORT void Init_core(void) {
rb_define_const(mCore, "SVN_ERR_STREAM_MALFORMED_DATA", SWIG_From_int((int)(SVN_ERR_STREAM_MALFORMED_DATA)));
rb_define_const(mCore, "SVN_ERR_STREAM_UNRECOGNIZED_DATA", SWIG_From_int((int)(SVN_ERR_STREAM_UNRECOGNIZED_DATA)));
rb_define_const(mCore, "SVN_ERR_STREAM_SEEK_NOT_SUPPORTED", SWIG_From_int((int)(SVN_ERR_STREAM_SEEK_NOT_SUPPORTED)));
+ rb_define_const(mCore, "SVN_ERR_STREAM_NOT_SUPPORTED", SWIG_From_int((int)(SVN_ERR_STREAM_NOT_SUPPORTED)));
rb_define_const(mCore, "SVN_ERR_NODE_UNKNOWN_KIND", SWIG_From_int((int)(SVN_ERR_NODE_UNKNOWN_KIND)));
rb_define_const(mCore, "SVN_ERR_NODE_UNEXPECTED_KIND", SWIG_From_int((int)(SVN_ERR_NODE_UNEXPECTED_KIND)));
rb_define_const(mCore, "SVN_ERR_ENTRY_NOT_FOUND", SWIG_From_int((int)(SVN_ERR_ENTRY_NOT_FOUND)));
@@ -41894,6 +43644,17 @@ SWIGEXPORT void Init_core(void) {
rb_define_const(mCore, "SVN_ERR_FS_INCORRECT_EDITOR_COMPLETION", SWIG_From_int((int)(SVN_ERR_FS_INCORRECT_EDITOR_COMPLETION)));
rb_define_const(mCore, "SVN_ERR_FS_PACKED_REVPROP_READ_FAILURE", SWIG_From_int((int)(SVN_ERR_FS_PACKED_REVPROP_READ_FAILURE)));
rb_define_const(mCore, "SVN_ERR_FS_REVPROP_CACHE_INIT_FAILURE", SWIG_From_int((int)(SVN_ERR_FS_REVPROP_CACHE_INIT_FAILURE)));
+ rb_define_const(mCore, "SVN_ERR_FS_MALFORMED_TXN_ID", SWIG_From_int((int)(SVN_ERR_FS_MALFORMED_TXN_ID)));
+ rb_define_const(mCore, "SVN_ERR_FS_INDEX_CORRUPTION", SWIG_From_int((int)(SVN_ERR_FS_INDEX_CORRUPTION)));
+ rb_define_const(mCore, "SVN_ERR_FS_INDEX_REVISION", SWIG_From_int((int)(SVN_ERR_FS_INDEX_REVISION)));
+ rb_define_const(mCore, "SVN_ERR_FS_INDEX_OVERFLOW", SWIG_From_int((int)(SVN_ERR_FS_INDEX_OVERFLOW)));
+ rb_define_const(mCore, "SVN_ERR_FS_CONTAINER_INDEX", SWIG_From_int((int)(SVN_ERR_FS_CONTAINER_INDEX)));
+ rb_define_const(mCore, "SVN_ERR_FS_INDEX_INCONSISTENT", SWIG_From_int((int)(SVN_ERR_FS_INDEX_INCONSISTENT)));
+ rb_define_const(mCore, "SVN_ERR_FS_LOCK_OPERATION_FAILED", SWIG_From_int((int)(SVN_ERR_FS_LOCK_OPERATION_FAILED)));
+ rb_define_const(mCore, "SVN_ERR_FS_UNSUPPORTED_TYPE", SWIG_From_int((int)(SVN_ERR_FS_UNSUPPORTED_TYPE)));
+ rb_define_const(mCore, "SVN_ERR_FS_CONTAINER_SIZE", SWIG_From_int((int)(SVN_ERR_FS_CONTAINER_SIZE)));
+ rb_define_const(mCore, "SVN_ERR_FS_MALFORMED_NODEREV_ID", SWIG_From_int((int)(SVN_ERR_FS_MALFORMED_NODEREV_ID)));
+ rb_define_const(mCore, "SVN_ERR_FS_INVALID_GENERATION", SWIG_From_int((int)(SVN_ERR_FS_INVALID_GENERATION)));
rb_define_const(mCore, "SVN_ERR_REPOS_LOCKED", SWIG_From_int((int)(SVN_ERR_REPOS_LOCKED)));
rb_define_const(mCore, "SVN_ERR_REPOS_HOOK_FAILURE", SWIG_From_int((int)(SVN_ERR_REPOS_HOOK_FAILURE)));
rb_define_const(mCore, "SVN_ERR_REPOS_BAD_ARGS", SWIG_From_int((int)(SVN_ERR_REPOS_BAD_ARGS)));
@@ -41918,6 +43679,7 @@ SWIGEXPORT void Init_core(void) {
rb_define_const(mCore, "SVN_ERR_RA_REPOS_ROOT_URL_MISMATCH", SWIG_From_int((int)(SVN_ERR_RA_REPOS_ROOT_URL_MISMATCH)));
rb_define_const(mCore, "SVN_ERR_RA_SESSION_URL_MISMATCH", SWIG_From_int((int)(SVN_ERR_RA_SESSION_URL_MISMATCH)));
rb_define_const(mCore, "SVN_ERR_RA_CANNOT_CREATE_TUNNEL", SWIG_From_int((int)(SVN_ERR_RA_CANNOT_CREATE_TUNNEL)));
+ rb_define_const(mCore, "SVN_ERR_RA_CANNOT_CREATE_SESSION", SWIG_From_int((int)(SVN_ERR_RA_CANNOT_CREATE_SESSION)));
rb_define_const(mCore, "SVN_ERR_RA_DAV_SOCK_INIT", SWIG_From_int((int)(SVN_ERR_RA_DAV_SOCK_INIT)));
rb_define_const(mCore, "SVN_ERR_RA_DAV_CREATING_REQUEST", SWIG_From_int((int)(SVN_ERR_RA_DAV_CREATING_REQUEST)));
rb_define_const(mCore, "SVN_ERR_RA_DAV_REQUEST_FAILED", SWIG_From_int((int)(SVN_ERR_RA_DAV_REQUEST_FAILED)));
@@ -41932,6 +43694,8 @@ SWIGEXPORT void Init_core(void) {
rb_define_const(mCore, "SVN_ERR_RA_DAV_RELOCATED", SWIG_From_int((int)(SVN_ERR_RA_DAV_RELOCATED)));
rb_define_const(mCore, "SVN_ERR_RA_DAV_CONN_TIMEOUT", SWIG_From_int((int)(SVN_ERR_RA_DAV_CONN_TIMEOUT)));
rb_define_const(mCore, "SVN_ERR_RA_DAV_FORBIDDEN", SWIG_From_int((int)(SVN_ERR_RA_DAV_FORBIDDEN)));
+ rb_define_const(mCore, "SVN_ERR_RA_DAV_PRECONDITION_FAILED", SWIG_From_int((int)(SVN_ERR_RA_DAV_PRECONDITION_FAILED)));
+ rb_define_const(mCore, "SVN_ERR_RA_DAV_METHOD_NOT_ALLOWED", SWIG_From_int((int)(SVN_ERR_RA_DAV_METHOD_NOT_ALLOWED)));
rb_define_const(mCore, "SVN_ERR_RA_LOCAL_REPOS_NOT_FOUND", SWIG_From_int((int)(SVN_ERR_RA_LOCAL_REPOS_NOT_FOUND)));
rb_define_const(mCore, "SVN_ERR_RA_LOCAL_REPOS_OPEN_FAILED", SWIG_From_int((int)(SVN_ERR_RA_LOCAL_REPOS_OPEN_FAILED)));
rb_define_const(mCore, "SVN_ERR_SVNDIFF_INVALID_HEADER", SWIG_From_int((int)(SVN_ERR_SVNDIFF_INVALID_HEADER)));
@@ -42008,6 +43772,11 @@ SWIGEXPORT void Init_core(void) {
rb_define_const(mCore, "SVN_ERR_TOO_MANY_MEMCACHED_SERVERS", SWIG_From_int((int)(SVN_ERR_TOO_MANY_MEMCACHED_SERVERS)));
rb_define_const(mCore, "SVN_ERR_MALFORMED_VERSION_STRING", SWIG_From_int((int)(SVN_ERR_MALFORMED_VERSION_STRING)));
rb_define_const(mCore, "SVN_ERR_CORRUPTED_ATOMIC_STORAGE", SWIG_From_int((int)(SVN_ERR_CORRUPTED_ATOMIC_STORAGE)));
+ rb_define_const(mCore, "SVN_ERR_UTF8PROC_ERROR", SWIG_From_int((int)(SVN_ERR_UTF8PROC_ERROR)));
+ rb_define_const(mCore, "SVN_ERR_UTF8_GLOB", SWIG_From_int((int)(SVN_ERR_UTF8_GLOB)));
+ rb_define_const(mCore, "SVN_ERR_CORRUPT_PACKED_DATA", SWIG_From_int((int)(SVN_ERR_CORRUPT_PACKED_DATA)));
+ rb_define_const(mCore, "SVN_ERR_COMPOSED_ERROR", SWIG_From_int((int)(SVN_ERR_COMPOSED_ERROR)));
+ rb_define_const(mCore, "SVN_ERR_INVALID_INPUT", SWIG_From_int((int)(SVN_ERR_INVALID_INPUT)));
rb_define_const(mCore, "SVN_ERR_CL_ARG_PARSING_ERROR", SWIG_From_int((int)(SVN_ERR_CL_ARG_PARSING_ERROR)));
rb_define_const(mCore, "SVN_ERR_CL_INSUFFICIENT_ARGS", SWIG_From_int((int)(SVN_ERR_CL_INSUFFICIENT_ARGS)));
rb_define_const(mCore, "SVN_ERR_CL_MUTUALLY_EXCLUSIVE_ARGS", SWIG_From_int((int)(SVN_ERR_CL_MUTUALLY_EXCLUSIVE_ARGS)));
@@ -42020,6 +43789,7 @@ SWIGEXPORT void Init_core(void) {
rb_define_const(mCore, "SVN_ERR_CL_UNNECESSARY_LOG_MESSAGE", SWIG_From_int((int)(SVN_ERR_CL_UNNECESSARY_LOG_MESSAGE)));
rb_define_const(mCore, "SVN_ERR_CL_NO_EXTERNAL_MERGE_TOOL", SWIG_From_int((int)(SVN_ERR_CL_NO_EXTERNAL_MERGE_TOOL)));
rb_define_const(mCore, "SVN_ERR_CL_ERROR_PROCESSING_EXTERNALS", SWIG_From_int((int)(SVN_ERR_CL_ERROR_PROCESSING_EXTERNALS)));
+ rb_define_const(mCore, "SVN_ERR_CL_REPOS_VERIFY_FAILED", SWIG_From_int((int)(SVN_ERR_CL_REPOS_VERIFY_FAILED)));
rb_define_const(mCore, "SVN_ERR_RA_SVN_CMD_ERR", SWIG_From_int((int)(SVN_ERR_RA_SVN_CMD_ERR)));
rb_define_const(mCore, "SVN_ERR_RA_SVN_UNKNOWN_CMD", SWIG_From_int((int)(SVN_ERR_RA_SVN_UNKNOWN_CMD)));
rb_define_const(mCore, "SVN_ERR_RA_SVN_CONNECTION_CLOSED", SWIG_From_int((int)(SVN_ERR_RA_SVN_CONNECTION_CLOSED)));
@@ -42046,6 +43816,26 @@ SWIGEXPORT void Init_core(void) {
rb_define_const(mCore, "SVN_ERR_RA_SERF_WRAPPED_ERROR", SWIG_From_int((int)(SVN_ERR_RA_SERF_WRAPPED_ERROR)));
rb_define_const(mCore, "SVN_ERR_ASSERTION_FAIL", SWIG_From_int((int)(SVN_ERR_ASSERTION_FAIL)));
rb_define_const(mCore, "SVN_ERR_ASSERTION_ONLY_TRACING_LINKS", SWIG_From_int((int)(SVN_ERR_ASSERTION_ONLY_TRACING_LINKS)));
+ rb_define_const(mCore, "SVN_ERR_ASN1_OUT_OF_DATA", SWIG_From_int((int)(SVN_ERR_ASN1_OUT_OF_DATA)));
+ rb_define_const(mCore, "SVN_ERR_ASN1_UNEXPECTED_TAG", SWIG_From_int((int)(SVN_ERR_ASN1_UNEXPECTED_TAG)));
+ rb_define_const(mCore, "SVN_ERR_ASN1_INVALID_LENGTH", SWIG_From_int((int)(SVN_ERR_ASN1_INVALID_LENGTH)));
+ rb_define_const(mCore, "SVN_ERR_ASN1_LENGTH_MISMATCH", SWIG_From_int((int)(SVN_ERR_ASN1_LENGTH_MISMATCH)));
+ rb_define_const(mCore, "SVN_ERR_ASN1_INVALID_DATA", SWIG_From_int((int)(SVN_ERR_ASN1_INVALID_DATA)));
+ rb_define_const(mCore, "SVN_ERR_X509_FEATURE_UNAVAILABLE", SWIG_From_int((int)(SVN_ERR_X509_FEATURE_UNAVAILABLE)));
+ rb_define_const(mCore, "SVN_ERR_X509_CERT_INVALID_PEM", SWIG_From_int((int)(SVN_ERR_X509_CERT_INVALID_PEM)));
+ rb_define_const(mCore, "SVN_ERR_X509_CERT_INVALID_FORMAT", SWIG_From_int((int)(SVN_ERR_X509_CERT_INVALID_FORMAT)));
+ rb_define_const(mCore, "SVN_ERR_X509_CERT_INVALID_VERSION", SWIG_From_int((int)(SVN_ERR_X509_CERT_INVALID_VERSION)));
+ rb_define_const(mCore, "SVN_ERR_X509_CERT_INVALID_SERIAL", SWIG_From_int((int)(SVN_ERR_X509_CERT_INVALID_SERIAL)));
+ rb_define_const(mCore, "SVN_ERR_X509_CERT_INVALID_ALG", SWIG_From_int((int)(SVN_ERR_X509_CERT_INVALID_ALG)));
+ rb_define_const(mCore, "SVN_ERR_X509_CERT_INVALID_NAME", SWIG_From_int((int)(SVN_ERR_X509_CERT_INVALID_NAME)));
+ rb_define_const(mCore, "SVN_ERR_X509_CERT_INVALID_DATE", SWIG_From_int((int)(SVN_ERR_X509_CERT_INVALID_DATE)));
+ rb_define_const(mCore, "SVN_ERR_X509_CERT_INVALID_PUBKEY", SWIG_From_int((int)(SVN_ERR_X509_CERT_INVALID_PUBKEY)));
+ rb_define_const(mCore, "SVN_ERR_X509_CERT_INVALID_SIGNATURE", SWIG_From_int((int)(SVN_ERR_X509_CERT_INVALID_SIGNATURE)));
+ rb_define_const(mCore, "SVN_ERR_X509_CERT_INVALID_EXTENSIONS", SWIG_From_int((int)(SVN_ERR_X509_CERT_INVALID_EXTENSIONS)));
+ rb_define_const(mCore, "SVN_ERR_X509_CERT_UNKNOWN_VERSION", SWIG_From_int((int)(SVN_ERR_X509_CERT_UNKNOWN_VERSION)));
+ rb_define_const(mCore, "SVN_ERR_X509_CERT_UNKNOWN_PK_ALG", SWIG_From_int((int)(SVN_ERR_X509_CERT_UNKNOWN_PK_ALG)));
+ rb_define_const(mCore, "SVN_ERR_X509_CERT_SIG_MISMATCH", SWIG_From_int((int)(SVN_ERR_X509_CERT_SIG_MISMATCH)));
+ rb_define_const(mCore, "SVN_ERR_X509_CERT_VERIFY_FAILED", SWIG_From_int((int)(SVN_ERR_X509_CERT_VERIFY_FAILED)));
rb_define_const(mCore, "SVN_ERR_LAST", SWIG_From_int((int)(SVN_ERR_LAST)));
rb_define_module_function(mCore, "svn_time_to_cstring", _wrap_svn_time_to_cstring, -1);
rb_define_module_function(mCore, "svn_time_from_cstring", _wrap_svn_time_from_cstring, -1);
@@ -42073,9 +43863,6 @@ SWIGEXPORT void Init_core(void) {
SwigClassSvn_error_t.mark = 0;
SwigClassSvn_error_t.destroy = (void (*)(void *)) free_svn_error_t;
SwigClassSvn_error_t.trackObjects = 0;
- rb_define_module_function(mCore, "svn__apr_hash_index_key", _wrap_svn__apr_hash_index_key, -1);
- rb_define_module_function(mCore, "svn__apr_hash_index_klen", _wrap_svn__apr_hash_index_klen, -1);
- rb_define_module_function(mCore, "svn__apr_hash_index_val", _wrap_svn__apr_hash_index_val, -1);
rb_define_const(mCore, "Svn_node_none", SWIG_From_int((int)(svn_node_none)));
rb_define_const(mCore, "Svn_node_file", SWIG_From_int((int)(svn_node_file)));
rb_define_const(mCore, "Svn_node_dir", SWIG_From_int((int)(svn_node_dir)));
@@ -42289,16 +44076,16 @@ SWIGEXPORT void Init_core(void) {
rb_define_module_function(mCore, "svn_pool_create", _wrap_svn_pool_create, -1);
rb_define_module_function(mCore, "svn_pool_create_allocator", _wrap_svn_pool_create_allocator, -1);
rb_define_const(mCore, "SVN_VER_MAJOR", SWIG_From_int((int)(1)));
- rb_define_const(mCore, "SVN_VER_MINOR", SWIG_From_int((int)(8)));
- rb_define_const(mCore, "SVN_VER_PATCH", SWIG_From_int((int)(13)));
- rb_define_const(mCore, "SVN_VER_MICRO", SWIG_From_int((int)(13)));
+ rb_define_const(mCore, "SVN_VER_MINOR", SWIG_From_int((int)(9)));
+ rb_define_const(mCore, "SVN_VER_PATCH", SWIG_From_int((int)(7)));
+ rb_define_const(mCore, "SVN_VER_MICRO", SWIG_From_int((int)(7)));
rb_define_const(mCore, "SVN_VER_LIBRARY", SWIG_From_int((int)(1)));
- rb_define_const(mCore, "SVN_VER_TAG", SWIG_FromCharPtr(" (r1667537)"));
+ rb_define_const(mCore, "SVN_VER_TAG", SWIG_FromCharPtr(" (r1800392)"));
rb_define_const(mCore, "SVN_VER_NUMTAG", SWIG_FromCharPtr(""));
- rb_define_const(mCore, "SVN_VER_REVISION", SWIG_From_int((int)(1667537)));
- rb_define_const(mCore, "SVN_VER_NUM", SWIG_FromCharPtr("1.8.13"));
- rb_define_const(mCore, "SVN_VER_NUMBER", SWIG_FromCharPtr("1.8.13"));
- rb_define_const(mCore, "SVN_VERSION", SWIG_FromCharPtr("1.8.13 (r1667537)"));
+ rb_define_const(mCore, "SVN_VER_REVISION", SWIG_From_int((int)(1800392)));
+ rb_define_const(mCore, "SVN_VER_NUM", SWIG_FromCharPtr("1.9.7"));
+ rb_define_const(mCore, "SVN_VER_NUMBER", SWIG_FromCharPtr("1.9.7"));
+ rb_define_const(mCore, "SVN_VERSION", SWIG_FromCharPtr("1.9.7 (r1800392)"));
SwigClassSvn_version_t.klass = rb_define_class_under(mCore, "Svn_version_t", rb_cObject);
SWIG_TypeClientData(SWIGTYPE_p_svn_version_t, (void *) &SwigClassSvn_version_t);
@@ -42329,6 +44116,7 @@ SWIGEXPORT void Init_core(void) {
SwigClassSvn_version_checklist_t.mark = 0;
SwigClassSvn_version_checklist_t.destroy = (void (*)(void *)) free_svn_version_checklist_t;
SwigClassSvn_version_checklist_t.trackObjects = 0;
+ rb_define_module_function(mCore, "svn_ver_check_list2", _wrap_svn_ver_check_list2, -1);
rb_define_module_function(mCore, "svn_ver_check_list", _wrap_svn_ver_check_list, -1);
rb_define_module_function(mCore, "svn_subr_version", _wrap_svn_subr_version, -1);
rb_define_module_function(mCore, "svn_version_extended", _wrap_svn_version_extended, -1);
@@ -42564,6 +44352,7 @@ SWIGEXPORT void Init_core(void) {
rb_define_module_function(mCore, "svn_opt_print_help2", _wrap_svn_opt_print_help2, -1);
rb_define_module_function(mCore, "svn_opt_print_help", _wrap_svn_opt_print_help, -1);
rb_define_module_function(mCore, "svn_cmdline_init", _wrap_svn_cmdline_init, -1);
+ rb_define_module_function(mCore, "svn_cmdline_create_auth_baton2", _wrap_svn_cmdline_create_auth_baton2, -1);
rb_define_module_function(mCore, "svn_cmdline_create_auth_baton", _wrap_svn_cmdline_create_auth_baton, -1);
SwigClassSvn_auth_provider_t.klass = rb_define_class_under(mCore, "Svn_auth_provider_t", rb_cObject);
@@ -42762,6 +44551,9 @@ SWIGEXPORT void Init_core(void) {
rb_define_const(mCore, "SVN_CONFIG_OPTION_USERNAME", SWIG_FromCharPtr("username"));
rb_define_const(mCore, "SVN_CONFIG_OPTION_HTTP_BULK_UPDATES", SWIG_FromCharPtr("http-bulk-updates"));
rb_define_const(mCore, "SVN_CONFIG_OPTION_HTTP_MAX_CONNECTIONS", SWIG_FromCharPtr("http-max-connections"));
+ rb_define_const(mCore, "SVN_CONFIG_OPTION_HTTP_CHUNKED_REQUESTS", SWIG_FromCharPtr("http-chunked-requests"));
+ rb_define_const(mCore, "SVN_CONFIG_OPTION_SERF_LOG_COMPONENTS", SWIG_FromCharPtr("serf-log-components"));
+ rb_define_const(mCore, "SVN_CONFIG_OPTION_SERF_LOG_LEVEL", SWIG_FromCharPtr("serf-log-level"));
rb_define_const(mCore, "SVN_CONFIG_CATEGORY_CONFIG", SWIG_FromCharPtr("config"));
rb_define_const(mCore, "SVN_CONFIG_SECTION_AUTH", SWIG_FromCharPtr("auth"));
rb_define_const(mCore, "SVN_CONFIG_OPTION_PASSWORD_STORES", SWIG_FromCharPtr("password-stores"));
@@ -42781,16 +44573,19 @@ SWIGEXPORT void Init_core(void) {
rb_define_const(mCore, "SVN_CONFIG_OPTION_USE_COMMIT_TIMES", SWIG_FromCharPtr("use-commit-times"));
rb_define_const(mCore, "SVN_CONFIG_OPTION_TEMPLATE_ROOT", SWIG_FromCharPtr("template-root"));
rb_define_const(mCore, "SVN_CONFIG_OPTION_ENABLE_AUTO_PROPS", SWIG_FromCharPtr("enable-auto-props"));
+ rb_define_const(mCore, "SVN_CONFIG_OPTION_ENABLE_MAGIC_FILE", SWIG_FromCharPtr("enable-magic-file"));
rb_define_const(mCore, "SVN_CONFIG_OPTION_NO_UNLOCK", SWIG_FromCharPtr("no-unlock"));
rb_define_const(mCore, "SVN_CONFIG_OPTION_MIMETYPES_FILE", SWIG_FromCharPtr("mime-types-file"));
rb_define_const(mCore, "SVN_CONFIG_OPTION_PRESERVED_CF_EXTS", SWIG_FromCharPtr("preserved-conflict-file-exts"));
rb_define_const(mCore, "SVN_CONFIG_OPTION_INTERACTIVE_CONFLICTS", SWIG_FromCharPtr("interactive-conflicts"));
rb_define_const(mCore, "SVN_CONFIG_OPTION_MEMORY_CACHE_SIZE", SWIG_FromCharPtr("memory-cache-size"));
+ rb_define_const(mCore, "SVN_CONFIG_OPTION_DIFF_IGNORE_CONTENT_TYPE", SWIG_FromCharPtr("diff-ignore-content-type"));
rb_define_const(mCore, "SVN_CONFIG_SECTION_TUNNELS", SWIG_FromCharPtr("tunnels"));
rb_define_const(mCore, "SVN_CONFIG_SECTION_AUTO_PROPS", SWIG_FromCharPtr("auto-props"));
rb_define_const(mCore, "SVN_CONFIG_SECTION_WORKING_COPY", SWIG_FromCharPtr("working-copy"));
rb_define_const(mCore, "SVN_CONFIG_OPTION_SQLITE_EXCLUSIVE", SWIG_FromCharPtr("exclusive-locking"));
rb_define_const(mCore, "SVN_CONFIG_OPTION_SQLITE_EXCLUSIVE_CLIENTS", SWIG_FromCharPtr("exclusive-locking-clients"));
+ rb_define_const(mCore, "SVN_CONFIG_OPTION_SQLITE_BUSY_TIMEOUT", SWIG_FromCharPtr("busy-timeout"));
rb_define_const(mCore, "SVN_CONFIG_SECTION_GENERAL", SWIG_FromCharPtr("general"));
rb_define_const(mCore, "SVN_CONFIG_OPTION_ANON_ACCESS", SWIG_FromCharPtr("anon-access"));
rb_define_const(mCore, "SVN_CONFIG_OPTION_AUTH_ACCESS", SWIG_FromCharPtr("auth-access"));
@@ -42806,8 +44601,8 @@ SWIGEXPORT void Init_core(void) {
rb_define_const(mCore, "SVN_CONFIG_OPTION_MAX_SSF", SWIG_FromCharPtr("max-encryption"));
rb_define_const(mCore, "SVN_CONFIG_SECTION_USERS", SWIG_FromCharPtr("users"));
rb_define_const(mCore, "SVN_CONFIG__DEFAULT_GLOBAL_IGNORES_LINE_1", SWIG_FromCharPtr("*.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo __pycache__"));
- rb_define_const(mCore, "SVN_CONFIG__DEFAULT_GLOBAL_IGNORES_LINE_2", SWIG_FromCharPtr("*.rej *~ #*# .#* .*.swp .DS_Store"));
- rb_define_const(mCore, "SVN_CONFIG_DEFAULT_GLOBAL_IGNORES", SWIG_FromCharPtr("*.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo __pycache__ *.rej *~ #*# .#* .*.swp .DS_Store"));
+ rb_define_const(mCore, "SVN_CONFIG__DEFAULT_GLOBAL_IGNORES_LINE_2", SWIG_FromCharPtr("*.rej *~ #*# .#* .*.swp .DS_Store [Tt]humbs.db"));
+ rb_define_const(mCore, "SVN_CONFIG_DEFAULT_GLOBAL_IGNORES", SWIG_FromCharPtr("*.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo __pycache__ *.rej *~ #*# .#* .*.swp .DS_Store [Tt]humbs.db"));
rb_define_const(mCore, "SVN_CONFIG_TRUE", SWIG_FromCharPtr("TRUE"));
rb_define_const(mCore, "SVN_CONFIG_FALSE", SWIG_FromCharPtr("FALSE"));
rb_define_const(mCore, "SVN_CONFIG_ASK", SWIG_FromCharPtr("ASK"));
@@ -42844,6 +44639,12 @@ SWIGEXPORT void Init_core(void) {
rb_define_module_function(mCore, "svn_config_get_server_setting_bool", _wrap_svn_config_get_server_setting_bool, -1);
rb_define_module_function(mCore, "svn_config_ensure", _wrap_svn_config_ensure, -1);
rb_define_const(mCore, "SVN_CONFIG_REALMSTRING_KEY", SWIG_FromCharPtr("svn:realmstring"));
+ rb_define_const(mCore, "SVN_CONFIG_AUTHN_USERNAME_KEY", SWIG_FromCharPtr("username"));
+ rb_define_const(mCore, "SVN_CONFIG_AUTHN_PASSWORD_KEY", SWIG_FromCharPtr("password"));
+ rb_define_const(mCore, "SVN_CONFIG_AUTHN_PASSPHRASE_KEY", SWIG_FromCharPtr("passphrase"));
+ rb_define_const(mCore, "SVN_CONFIG_AUTHN_PASSTYPE_KEY", SWIG_FromCharPtr("passtype"));
+ rb_define_const(mCore, "SVN_CONFIG_AUTHN_ASCII_CERT_KEY", SWIG_FromCharPtr("ascii_cert"));
+ rb_define_const(mCore, "SVN_CONFIG_AUTHN_FAILURES_KEY", SWIG_FromCharPtr("failures"));
rb_define_module_function(mCore, "svn_config_read_auth_data", _wrap_svn_config_read_auth_data, -1);
rb_define_module_function(mCore, "svn_config_write_auth_data", _wrap_svn_config_write_auth_data, -1);
rb_define_module_function(mCore, "svn_config_walk_auth_data", _wrap_svn_config_walk_auth_data, -1);
@@ -42899,6 +44700,7 @@ SWIGEXPORT void Init_core(void) {
rb_define_module_function(mCore, "svn_relpath_split", _wrap_svn_relpath_split, -1);
rb_define_module_function(mCore, "svn_relpath_basename", _wrap_svn_relpath_basename, -1);
rb_define_module_function(mCore, "svn_relpath_dirname", _wrap_svn_relpath_dirname, -1);
+ rb_define_module_function(mCore, "svn_relpath_prefix", _wrap_svn_relpath_prefix, -1);
rb_define_module_function(mCore, "svn_uri_split", _wrap_svn_uri_split, -1);
rb_define_module_function(mCore, "svn_uri_basename", _wrap_svn_uri_basename, -1);
rb_define_module_function(mCore, "svn_uri_dirname", _wrap_svn_uri_dirname, -1);
@@ -42994,11 +44796,15 @@ SWIGEXPORT void Init_core(void) {
rb_define_module_function(mCore, "svn_io_file_checksum", _wrap_svn_io_file_checksum, -1);
rb_define_module_function(mCore, "svn_io_files_contents_same_p", _wrap_svn_io_files_contents_same_p, -1);
rb_define_module_function(mCore, "svn_io_files_contents_three_same_p", _wrap_svn_io_files_contents_three_same_p, -1);
+ rb_define_module_function(mCore, "svn_io_file_create_bytes", _wrap_svn_io_file_create_bytes, -1);
+ rb_define_module_function(mCore, "svn_io_file_create_empty", _wrap_svn_io_file_create_empty, -1);
rb_define_module_function(mCore, "svn_io_lock_open_file", _wrap_svn_io_lock_open_file, -1);
rb_define_module_function(mCore, "svn_io_unlock_open_file", _wrap_svn_io_unlock_open_file, -1);
+ rb_define_module_function(mCore, "svn_stream_set_read2", _wrap_svn_stream_set_read2, -1);
rb_define_module_function(mCore, "svn_stream_set_skip", _wrap_svn_stream_set_skip, -1);
rb_define_module_function(mCore, "svn_stream_set_mark", _wrap_svn_stream_set_mark, -1);
rb_define_module_function(mCore, "svn_stream_set_seek", _wrap_svn_stream_set_seek, -1);
+ rb_define_module_function(mCore, "svn_stream_set_data_available", _wrap_svn_stream_set_data_available, -1);
rb_define_module_function(mCore, "svn_stream_empty", _wrap_svn_stream_empty, -1);
rb_define_module_function(mCore, "svn_stream_disown", _wrap_svn_stream_disown, -1);
rb_define_module_function(mCore, "svn_stream_open_readonly", _wrap_svn_stream_open_readonly, -1);
@@ -43009,11 +44815,15 @@ SWIGEXPORT void Init_core(void) {
rb_define_module_function(mCore, "svn_stream_for_stdin", _wrap_svn_stream_for_stdin, -1);
rb_define_module_function(mCore, "svn_stream_for_stderr", _wrap_svn_stream_for_stderr, -1);
rb_define_module_function(mCore, "svn_stream_for_stdout", _wrap_svn_stream_for_stdout, -1);
+ rb_define_module_function(mCore, "svn_stringbuf_from_stream", _wrap_svn_stringbuf_from_stream, -1);
rb_define_module_function(mCore, "svn_stream_from_stringbuf", _wrap_svn_stream_from_stringbuf, -1);
rb_define_module_function(mCore, "svn_stream_from_string", _wrap_svn_stream_from_string, -1);
rb_define_module_function(mCore, "svn_stream_buffered", _wrap_svn_stream_buffered, -1);
rb_define_module_function(mCore, "svn_stream_compressed", _wrap_svn_stream_compressed, -1);
rb_define_module_function(mCore, "svn_stream_checksummed2", _wrap_svn_stream_checksummed2, -1);
+ rb_define_module_function(mCore, "svn_stream_read_full", _wrap_svn_stream_read_full, -1);
+ rb_define_module_function(mCore, "svn_stream_supports_partial_read", _wrap_svn_stream_supports_partial_read, -1);
+ rb_define_module_function(mCore, "svn_stream_read2", _wrap_svn_stream_read2, -1);
rb_define_module_function(mCore, "svn_stream_read", _wrap_svn_stream_read, -1);
rb_define_module_function(mCore, "svn_stream_skip", _wrap_svn_stream_skip, -1);
rb_define_module_function(mCore, "svn_stream_write", _wrap_svn_stream_write, -1);
@@ -43022,6 +44832,7 @@ SWIGEXPORT void Init_core(void) {
rb_define_module_function(mCore, "svn_stream_supports_mark", _wrap_svn_stream_supports_mark, -1);
rb_define_module_function(mCore, "svn_stream_mark", _wrap_svn_stream_mark, -1);
rb_define_module_function(mCore, "svn_stream_seek", _wrap_svn_stream_seek, -1);
+ rb_define_module_function(mCore, "svn_stream_data_available", _wrap_svn_stream_data_available, -1);
rb_define_module_function(mCore, "svn_stream_tee", _wrap_svn_stream_tee, -1);
rb_define_module_function(mCore, "svn_stream_puts", _wrap_svn_stream_puts, -1);
rb_define_module_function(mCore, "svn_stream_readline", _wrap_svn_stream_readline, -1);
@@ -43051,6 +44862,9 @@ SWIGEXPORT void Init_core(void) {
rb_define_module_function(mCore, "svn_io_is_binary_data", _wrap_svn_io_is_binary_data, -1);
rb_define_module_function(mCore, "svn_io_file_putc", _wrap_svn_io_file_putc, -1);
rb_define_module_function(mCore, "svn_io_file_read_full2", _wrap_svn_io_file_read_full2, -1);
+ rb_define_module_function(mCore, "svn_io_file_aligned_seek", _wrap_svn_io_file_aligned_seek, -1);
+ rb_define_module_function(mCore, "svn_io_file_flush", _wrap_svn_io_file_flush, -1);
+ rb_define_module_function(mCore, "svn_io_write_atomic", _wrap_svn_io_write_atomic, -1);
rb_define_module_function(mCore, "svn_io_write_unique", _wrap_svn_io_write_unique, -1);
rb_define_module_function(mCore, "svn_io_file_trunc", _wrap_svn_io_file_trunc, -1);
rb_define_module_function(mCore, "svn_io_dir_close", _wrap_svn_io_dir_close, -1);
@@ -43062,10 +44876,13 @@ SWIGEXPORT void Init_core(void) {
rb_define_module_function(mCore, "svn_close_invoke_fn", _wrap_svn_close_invoke_fn, -1);
rb_define_module_function(mCore, "svn_stream_invoke_mark_fn", _wrap_svn_stream_invoke_mark_fn, -1);
rb_define_module_function(mCore, "svn_stream_invoke_seek_fn", _wrap_svn_stream_invoke_seek_fn, -1);
+ rb_define_module_function(mCore, "svn_stream_invoke_data_available_fn", _wrap_svn_stream_invoke_data_available_fn, -1);
rb_define_module_function(mCore, "svn_stream_invoke_lazyopen_func", _wrap_svn_stream_invoke_lazyopen_func, -1);
rb_define_module_function(mCore, "svn_io_invoke_walk_func", _wrap_svn_io_invoke_walk_func, -1);
rb_define_const(mCore, "Svn_checksum_md5", SWIG_From_int((int)(svn_checksum_md5)));
rb_define_const(mCore, "Svn_checksum_sha1", SWIG_From_int((int)(svn_checksum_sha1)));
+ rb_define_const(mCore, "Svn_checksum_fnv1a_32", SWIG_From_int((int)(svn_checksum_fnv1a_32)));
+ rb_define_const(mCore, "Svn_checksum_fnv1a_32x4", SWIG_From_int((int)(svn_checksum_fnv1a_32x4)));
SwigClassSvn_checksum_t.klass = rb_define_class_under(mCore, "Svn_checksum_t", rb_cObject);
SWIG_TypeClientData(SWIGTYPE_p_svn_checksum_t, (void *) &SwigClassSvn_checksum_t);
@@ -43211,6 +45028,7 @@ SWIGEXPORT void Init_core(void) {
rb_define_const(mCore, "Svn_diff_conflict_display_modified", SWIG_From_int((int)(svn_diff_conflict_display_modified)));
rb_define_const(mCore, "Svn_diff_conflict_display_latest", SWIG_From_int((int)(svn_diff_conflict_display_latest)));
rb_define_const(mCore, "Svn_diff_conflict_display_only_conflicts", SWIG_From_int((int)(svn_diff_conflict_display_only_conflicts)));
+ rb_define_module_function(mCore, "svn_diff_output2", _wrap_svn_diff_output2, -1);
rb_define_module_function(mCore, "svn_diff_output", _wrap_svn_diff_output, -1);
rb_define_const(mCore, "Svn_diff_file_ignore_space_none", SWIG_From_int((int)(svn_diff_file_ignore_space_none)));
rb_define_const(mCore, "Svn_diff_file_ignore_space_change", SWIG_From_int((int)(svn_diff_file_ignore_space_change)));
@@ -43226,6 +45044,8 @@ SWIGEXPORT void Init_core(void) {
rb_define_method(SwigClassSvn_diff_file_options_t.klass, "ignore_eol_style", _wrap_svn_diff_file_options_t_ignore_eol_style_get, -1);
rb_define_method(SwigClassSvn_diff_file_options_t.klass, "show_c_function=", _wrap_svn_diff_file_options_t_show_c_function_set, -1);
rb_define_method(SwigClassSvn_diff_file_options_t.klass, "show_c_function", _wrap_svn_diff_file_options_t_show_c_function_get, -1);
+ rb_define_method(SwigClassSvn_diff_file_options_t.klass, "context_size=", _wrap_svn_diff_file_options_t_context_size_set, -1);
+ rb_define_method(SwigClassSvn_diff_file_options_t.klass, "context_size", _wrap_svn_diff_file_options_t_context_size_get, -1);
SwigClassSvn_diff_file_options_t.mark = 0;
SwigClassSvn_diff_file_options_t.destroy = (void (*)(void *)) free_svn_diff_file_options_t;
SwigClassSvn_diff_file_options_t.trackObjects = 0;
@@ -43236,16 +45056,21 @@ SWIGEXPORT void Init_core(void) {
rb_define_module_function(mCore, "svn_diff_file_diff3", _wrap_svn_diff_file_diff3, -1);
rb_define_module_function(mCore, "svn_diff_file_diff4_2", _wrap_svn_diff_file_diff4_2, -1);
rb_define_module_function(mCore, "svn_diff_file_diff4", _wrap_svn_diff_file_diff4, -1);
+ rb_define_module_function(mCore, "svn_diff_file_output_unified4", _wrap_svn_diff_file_output_unified4, -1);
rb_define_module_function(mCore, "svn_diff_file_output_unified3", _wrap_svn_diff_file_output_unified3, -1);
rb_define_module_function(mCore, "svn_diff_file_output_unified2", _wrap_svn_diff_file_output_unified2, -1);
rb_define_module_function(mCore, "svn_diff_file_output_unified", _wrap_svn_diff_file_output_unified, -1);
+ rb_define_module_function(mCore, "svn_diff_file_output_merge3", _wrap_svn_diff_file_output_merge3, -1);
rb_define_module_function(mCore, "svn_diff_file_output_merge2", _wrap_svn_diff_file_output_merge2, -1);
rb_define_module_function(mCore, "svn_diff_file_output_merge", _wrap_svn_diff_file_output_merge, -1);
+ rb_define_module_function(mCore, "svn_diff_output_binary", _wrap_svn_diff_output_binary, -1);
rb_define_module_function(mCore, "svn_diff_mem_string_diff", _wrap_svn_diff_mem_string_diff, -1);
rb_define_module_function(mCore, "svn_diff_mem_string_diff3", _wrap_svn_diff_mem_string_diff3, -1);
rb_define_module_function(mCore, "svn_diff_mem_string_diff4", _wrap_svn_diff_mem_string_diff4, -1);
+ rb_define_module_function(mCore, "svn_diff_mem_string_output_unified3", _wrap_svn_diff_mem_string_output_unified3, -1);
rb_define_module_function(mCore, "svn_diff_mem_string_output_unified2", _wrap_svn_diff_mem_string_output_unified2, -1);
rb_define_module_function(mCore, "svn_diff_mem_string_output_unified", _wrap_svn_diff_mem_string_output_unified, -1);
+ rb_define_module_function(mCore, "svn_diff_mem_string_output_merge3", _wrap_svn_diff_mem_string_output_merge3, -1);
rb_define_module_function(mCore, "svn_diff_mem_string_output_merge2", _wrap_svn_diff_mem_string_output_merge2, -1);
rb_define_module_function(mCore, "svn_diff_mem_string_output_merge", _wrap_svn_diff_mem_string_output_merge, -1);
rb_define_const(mCore, "Svn_diff_op_unchanged", SWIG_From_int((int)(svn_diff_op_unchanged)));
@@ -43297,6 +45122,10 @@ SWIGEXPORT void Init_core(void) {
rb_define_method(SwigClassSvn_patch_t.klass, "operation", _wrap_svn_patch_t_operation_get, -1);
rb_define_method(SwigClassSvn_patch_t.klass, "reverse=", _wrap_svn_patch_t_reverse_set, -1);
rb_define_method(SwigClassSvn_patch_t.klass, "reverse", _wrap_svn_patch_t_reverse_get, -1);
+ rb_define_method(SwigClassSvn_patch_t.klass, "mergeinfo=", _wrap_svn_patch_t_mergeinfo_set, -1);
+ rb_define_method(SwigClassSvn_patch_t.klass, "mergeinfo", _wrap_svn_patch_t_mergeinfo_get, -1);
+ rb_define_method(SwigClassSvn_patch_t.klass, "reverse_mergeinfo=", _wrap_svn_patch_t_reverse_mergeinfo_set, -1);
+ rb_define_method(SwigClassSvn_patch_t.klass, "reverse_mergeinfo", _wrap_svn_patch_t_reverse_mergeinfo_get, -1);
SwigClassSvn_patch_t.mark = 0;
SwigClassSvn_patch_t.destroy = (void (*)(void *)) free_svn_patch_t;
SwigClassSvn_patch_t.trackObjects = 0;
diff --git a/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c b/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c
index 136d35c..a25ec5a 100644
--- a/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c
+++ b/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c
@@ -23,9 +23,16 @@
/* Tell swigutil_rb.h that we're inside the implementation */
#define SVN_SWIG_SWIGUTIL_RB_C
+/* Windows hack: Allow overriding some <ruby.h> defaults */
+#include "swigutil_rb__pre_ruby.h"
#include "swig_ruby_external_runtime.swg"
#include "swigutil_rb.h"
+
+#ifdef HAVE_RUBY_ST_H
+#include <ruby/st.h>
+#else
#include <st.h>
+#endif
#undef PACKAGE_BUGREPORT
#undef PACKAGE_NAME
@@ -474,9 +481,9 @@ static void
check_apr_status(apr_status_t status, VALUE exception_class, const char *format)
{
if (status != APR_SUCCESS) {
- char buffer[1024];
- apr_strerror(status, buffer, sizeof(buffer) - 1);
- rb_raise(exception_class, format, buffer);
+ char buffer[1024];
+ apr_strerror(status, buffer, sizeof(buffer) - 1);
+ rb_raise(exception_class, format, buffer);
}
}
@@ -519,8 +526,8 @@ svn_swig_rb_destroyer_destroy(VALUE self, VALUE target)
objects[0] = target;
if (find_swig_type_object(1, objects) && DATA_PTR(target)) {
- svn_swig_rb_destroy_internal_pool(target);
- DATA_PTR(target) = NULL;
+ svn_swig_rb_destroy_internal_pool(target);
+ DATA_PTR(target) = NULL;
}
return Qnil;
@@ -538,9 +545,9 @@ svn_swig_rb_initialize(void)
}
check_apr_status(apr_allocator_create(&swig_rb_allocator),
- rb_eLoadError, "failed to create allocator: %s");
+ rb_eLoadError, "failed to create allocator: %s");
apr_allocator_max_free_set(swig_rb_allocator,
- SVN_ALLOCATOR_RECOMMENDED_MAX_FREE);
+ SVN_ALLOCATOR_RECOMMENDED_MAX_FREE);
swig_rb_pool = svn_pool_create_ex(NULL, swig_rb_allocator);
apr_pool_tag(swig_rb_pool, "svn-ruby-pool");
@@ -549,8 +556,8 @@ svn_swig_rb_initialize(void)
apr_thread_mutex_t *mutex;
check_apr_status(apr_thread_mutex_create(&mutex, APR_THREAD_MUTEX_DEFAULT,
- swig_rb_pool),
- rb_eLoadError, "failed to create allocator: %s");
+ swig_rb_pool),
+ rb_eLoadError, "failed to create allocator: %s");
apr_allocator_mutex_set(swig_rb_allocator, mutex);
}
#endif
@@ -583,7 +590,7 @@ svn_swig_rb_initialize(void)
mSvnDestroyer = rb_define_module_under(rb_svn(), "Destroyer");
rb_define_module_function(mSvnDestroyer, "destroy",
- svn_swig_rb_destroyer_destroy, 1);
+ svn_swig_rb_destroyer_destroy, 1);
}
apr_pool_t *
@@ -736,7 +743,7 @@ static svn_boolean_t
rb_set_pool_if_swig_type_object(VALUE target, VALUE pool)
{
VALUE targets[1];
-
+
targets[0] = target;
if (!NIL_P(find_swig_type_object(1, targets))) {
@@ -862,7 +869,7 @@ svn_swig_rb_raise_svn_repos_already_close(void)
VALUE
svn_swig_rb_svn_error_new(VALUE code, VALUE message, VALUE file, VALUE line,
- VALUE child)
+ VALUE child)
{
return rb_funcall(rb_svn_error_svn_error(),
id_new_corresponding_error,
@@ -1598,7 +1605,7 @@ typedef struct callback_handle_error_baton_t {
} callback_handle_error_baton_t;
static VALUE
-callback(VALUE baton)
+callback(VALUE baton, ...)
{
callback_baton_t *cbb = (callback_baton_t *)baton;
VALUE result;
@@ -1610,7 +1617,7 @@ callback(VALUE baton)
}
static VALUE
-callback_rescue(VALUE baton)
+callback_rescue(VALUE baton, ...)
{
callback_rescue_baton_t *rescue_baton = (callback_rescue_baton_t*)baton;
@@ -1627,7 +1634,7 @@ callback_rescue(VALUE baton)
}
static VALUE
-callback_ensure(VALUE pool)
+callback_ensure(VALUE pool, ...)
{
svn_swig_rb_pop_pool(pool);
@@ -1638,17 +1645,17 @@ static VALUE
invoke_callback(VALUE baton, VALUE pool)
{
callback_baton_t *cbb = (callback_baton_t *)baton;
- VALUE sub_pool;
+ VALUE subpool;
VALUE argv[1];
argv[0] = pool;
- svn_swig_rb_get_pool(1, argv, Qnil, &sub_pool, NULL);
- cbb->pool = sub_pool;
- return rb_ensure(callback, baton, callback_ensure, sub_pool);
+ svn_swig_rb_get_pool(1, argv, Qnil, &subpool, NULL);
+ cbb->pool = subpool;
+ return rb_ensure(callback, baton, callback_ensure, subpool);
}
static VALUE
-callback_handle_error(VALUE baton)
+callback_handle_error(VALUE baton, ...)
{
callback_handle_error_baton_t *handle_error_baton;
handle_error_baton = (callback_handle_error_baton_t *)baton;
@@ -3231,7 +3238,8 @@ svn_swig_rb_make_stream(VALUE io)
pool_wrapper_p = &pool_wrapper;
r2c_swig_type2(rb_pool, "apr_pool_wrapper_t *", (void **)pool_wrapper_p);
stream = svn_stream_create((void *)io, pool_wrapper->pool);
- svn_stream_set_read(stream, read_handler_rbio);
+ svn_stream_set_read2(stream, NULL /* only full read support */,
+ read_handler_rbio);
svn_stream_set_write(stream, write_handler_rbio);
}
@@ -4025,4 +4033,7 @@ static svn_ra_reporter3_t rb_ra_reporter3 = {
svn_swig_rb_ra_reporter_abort_report
};
-svn_ra_reporter3_t *svn_swig_rb_ra_reporter3 = &rb_ra_reporter3;
+svn_ra_reporter3_t *svn_swig_rb_get_ra_reporter3()
+{
+ return &rb_ra_reporter3;
+}
diff --git a/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.h b/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.h
index 1098c80..3dbc3ec 100644
--- a/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.h
+++ b/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.h
@@ -22,8 +22,14 @@
#ifndef SVN_SWIG_SWIGUTIL_RB_H
#define SVN_SWIG_SWIGUTIL_RB_H
+/* Windows hack: Allow overriding some <ruby.h> defaults */
+#include "swigutil_rb__pre_ruby.h"
#include <ruby.h>
+#ifdef HAVE_RUBY_REGEX_H
+#include <ruby/regex.h>
+#else
#include <regex.h>
+#endif
#if SIZEOF_VOIDP == SIZEOF_LONG
# define PTR2NUM(x) (ULONG2NUM((unsigned long)(x)))
@@ -45,17 +51,6 @@
#include "svn_client.h"
#include "svn_repos.h"
-/* Define DLL export magic on Windows. */
-#ifdef WIN32
-# ifdef SVN_SWIG_SWIGUTIL_RB_C
-# define SVN_RB_SWIG_SWIGUTIL_EXPORT __declspec(dllexport)
-# else
-# define SVN_RB_SWIG_SWIGUTIL_EXPORT __declspec(dllimport)
-# endif
-#else
-# define SVN_RB_SWIG_SWIGUTIL_EXPORT
-#endif
-
/* Ruby <=1.8.5 compatibility */
#ifndef RARRAY_LEN
#define RARRAY_LEN(x) RARRAY(x)->len
@@ -89,152 +84,98 @@ typedef struct apr_pool_wrapper_t
apr_array_header_t *children;
} apr_pool_wrapper_t;
-SVN_RB_SWIG_SWIGUTIL_EXPORT
void svn_swig_rb_initialize(void);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
apr_pool_t *svn_swig_rb_pool(void);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
apr_allocator_t *svn_swig_rb_allocator(void);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_svn_delta_editor(void);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_svn_delta_text_delta_window_handler(void);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
void svn_swig_rb_raise_svn_fs_already_close(void);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
void svn_swig_rb_raise_svn_repos_already_close(void);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_svn_error_new(VALUE code, VALUE message,
VALUE file, VALUE line, VALUE child);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_svn_error_to_rb_error(svn_error_t *error);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
void svn_swig_rb_handle_svn_error(svn_error_t *error);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
void *svn_swig_rb_to_swig_type(VALUE value, const void *ctx, apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_from_swig_type(void *value, void *ctx);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_depth_t svn_swig_rb_to_depth(VALUE value);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_mergeinfo_inheritance_t svn_swig_rb_to_mergeinfo_inheritance(VALUE value);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_svn_date_string_to_time(const char *date);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_apr_hash_to_hash_string(apr_hash_t *hash);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_apr_hash_to_hash_svn_string(apr_hash_t *hash);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_apr_hash_to_hash_swig_type(apr_hash_t *hash,
const char *type_name);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_apr_hash_to_hash_merge_range(apr_hash_t *hash);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_apr_hash_to_hash_merge_range_hash(apr_hash_t *hash);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_prop_hash_to_hash(apr_hash_t *prop_hash);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_apr_revnum_key_hash_to_hash_string(apr_hash_t *hash);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_apr_array_to_array_string(const apr_array_header_t *ary);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_apr_array_to_array_svn_string(const apr_array_header_t *ary);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_apr_array_to_array_svn_rev(const apr_array_header_t *ary);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_apr_array_to_array_proplist_item(const apr_array_header_t *ary);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_apr_array_to_array_external_item2(const apr_array_header_t *ary);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_apr_array_to_array_merge_range(const apr_array_header_t *ary);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_apr_array_to_array_auth_provider_object(const apr_array_header_t *ary);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_prop_apr_array_to_hash_prop(const apr_array_header_t *ary);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
apr_hash_t *svn_swig_rb_hash_to_apr_hash_string(VALUE hash, apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
apr_hash_t *svn_swig_rb_hash_to_apr_hash_svn_string(VALUE hash,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
apr_hash_t *svn_swig_rb_hash_to_apr_hash_swig_type(VALUE hash,
const char *typename,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
apr_hash_t *svn_swig_rb_hash_to_apr_hash_revnum(VALUE hash,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
apr_hash_t *svn_swig_rb_hash_to_apr_hash_merge_range(VALUE hash,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
apr_array_header_t *svn_swig_rb_strings_to_apr_array(VALUE strings,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
apr_array_header_t *
svn_swig_rb_array_to_auth_provider_object_apr_array(VALUE array,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
apr_array_header_t *svn_swig_rb_array_to_apr_array_revnum(VALUE array,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
apr_array_header_t *svn_swig_rb_array_to_apr_array_merge_range(VALUE array,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
apr_array_header_t *svn_swig_rb_array_to_apr_array_copy_source(VALUE array,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
apr_array_header_t *svn_swig_rb_array_to_apr_array_revision_range(VALUE array,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
apr_array_header_t *svn_swig_rb_to_apr_array_prop(VALUE array_or_hash,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
apr_array_header_t *svn_swig_rb_to_apr_array_row_prop(VALUE array_or_hash,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
void svn_swig_rb_get_pool(int argc, VALUE *argv, VALUE self, VALUE *rb_pool, apr_pool_t **pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_boolean_t svn_swig_rb_set_pool(VALUE target, VALUE pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
void svn_swig_rb_set_pool_for_no_swig_type(VALUE target, VALUE pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
void svn_swig_rb_push_pool(VALUE pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
void svn_swig_rb_pop_pool(VALUE pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
void svn_swig_rb_destroy_pool(VALUE pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
void svn_swig_rb_destroy_internal_pool(VALUE pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
void svn_swig_rb_make_delta_editor(svn_delta_editor_t **editor,
void **edit_baton,
VALUE rb_editor,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_make_baton(VALUE proc, VALUE pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
void svn_swig_rb_set_baton(VALUE target, VALUE baton);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_log_receiver(void *baton,
apr_hash_t *changed_paths,
svn_revnum_t revision,
@@ -243,19 +184,16 @@ svn_error_t *svn_swig_rb_log_receiver(void *baton,
const char *message,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_log_entry_receiver(void *baton,
svn_log_entry_t *entry,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_repos_authz_func(svn_boolean_t *allowed,
svn_fs_root_t *root,
const char *path,
void *baton,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_repos_authz_callback(svn_repos_authz_access_t required,
svn_boolean_t *allowed,
svn_fs_root_t *root,
@@ -264,7 +202,6 @@ svn_error_t *svn_swig_rb_repos_authz_callback(svn_repos_authz_access_t required,
apr_pool_t *pool);
/* Implements the svn_client_get_commit_log3_t API. */
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_get_commit_log_func(const char **log_msg,
const char **tmp_file,
const apr_array_header_t *
@@ -272,76 +209,60 @@ svn_error_t *svn_swig_rb_get_commit_log_func(const char **log_msg,
void *baton,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
void svn_swig_rb_notify_func2(void *baton,
const svn_wc_notify_t *notify,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_conflict_resolver_func
(svn_wc_conflict_result_t **result,
const svn_wc_conflict_description_t *description,
void *baton,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_commit_callback(svn_revnum_t new_revision,
const char *date,
const char *author,
void *baton);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_commit_callback2(const svn_commit_info_t *commit_info,
void *baton,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_cancel_func(void *cancel_baton);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_info_receiver(void *baton,
const char *path,
const svn_info_t *info,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_boolean_t svn_swig_rb_config_enumerator(const char *name,
const char *value,
void *baton,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_boolean_t svn_swig_rb_config_section_enumerator(const char *name,
void *baton,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_delta_path_driver_cb_func(void **dir_baton,
void *parent_baton,
void *callback_baton,
const char *path,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_txdelta_window_handler(svn_txdelta_window_t *window,
void *baton);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
void svn_swig_rb_fs_warning_callback(void *baton, svn_error_t *err);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
void svn_swig_rb_fs_warning_callback_baton_register(VALUE baton,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_fs_get_locks_callback(void *baton,
svn_lock_t *lock,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_just_call(void *baton);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
void svn_swig_rb_setup_ra_callbacks(svn_ra_callbacks2_t **callbacks,
void **baton,
VALUE rb_callbacks,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_ra_lock_callback(void *baton,
const char *path,
svn_boolean_t do_lock,
@@ -349,7 +270,6 @@ svn_error_t *svn_swig_rb_ra_lock_callback(void *baton,
svn_error_t *ra_err,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_ra_file_rev_handler(void *baton,
const char *path,
svn_revnum_t rev,
@@ -359,13 +279,11 @@ svn_error_t *svn_swig_rb_ra_file_rev_handler(void *baton,
apr_array_header_t *prop_diffs,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_repos_history_func(void *baton,
const char *path,
svn_revnum_t revision,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_repos_file_rev_handler(void *baton,
const char *path,
svn_revnum_t rev,
@@ -375,7 +293,6 @@ svn_error_t *svn_swig_rb_repos_file_rev_handler(void *baton,
apr_array_header_t *prop_diffs,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_wc_relocation_validator3(void *baton,
const char *uuid,
const char *url,
@@ -384,14 +301,12 @@ svn_error_t *svn_swig_rb_wc_relocation_validator3(void *baton,
/* auth provider callbacks */
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t * svn_swig_rb_auth_gnome_keyring_unlock_prompt_func(
char **keyring_passwd,
const char *keyring_name,
void *baton,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_auth_simple_prompt_func(
svn_auth_cred_simple_t **cred,
void *baton,
@@ -400,7 +315,6 @@ svn_error_t *svn_swig_rb_auth_simple_prompt_func(
svn_boolean_t may_save,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_auth_username_prompt_func(
svn_auth_cred_username_t **cred,
void *baton,
@@ -408,7 +322,6 @@ svn_error_t *svn_swig_rb_auth_username_prompt_func(
svn_boolean_t may_save,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_auth_ssl_server_trust_prompt_func(
svn_auth_cred_ssl_server_trust_t **cred,
void *baton,
@@ -418,7 +331,6 @@ svn_error_t *svn_swig_rb_auth_ssl_server_trust_prompt_func(
svn_boolean_t may_save,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_auth_ssl_client_cert_prompt_func(
svn_auth_cred_ssl_client_cert_t **cred,
void *baton,
@@ -426,7 +338,6 @@ svn_error_t *svn_swig_rb_auth_ssl_client_cert_prompt_func(
svn_boolean_t may_save,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_auth_ssl_client_cert_pw_prompt_func(
svn_auth_cred_ssl_client_cert_pw_t **cred,
void *baton,
@@ -434,27 +345,20 @@ svn_error_t *svn_swig_rb_auth_ssl_client_cert_pw_prompt_func(
svn_boolean_t may_save,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
apr_file_t *svn_swig_rb_make_file(VALUE file, apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_stream_t *svn_swig_rb_make_stream(VALUE io);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_filename_to_temp_file(const char *file_name);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
void svn_swig_rb_set_revision(svn_opt_revision_t *rev, VALUE value);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
void svn_swig_rb_adjust_arg_for_client_ctx_and_pool(int *argc, VALUE **argv);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
void svn_swig_rb_wc_status_func(void *baton,
const char *path,
svn_wc_status2_t *status);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_client_blame_receiver_func(void *baton,
apr_int64_t line_no,
svn_revnum_t revision,
@@ -464,39 +368,27 @@ svn_error_t *svn_swig_rb_client_blame_receiver_func(void *baton,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_wc_entry_callbacks2_t *svn_swig_rb_wc_entry_callbacks2(void);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_wc_diff_callbacks2_t *svn_swig_rb_wc_diff_callbacks2(void);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_make_txdelta_window_handler_wrapper(VALUE *rb_handler_pool,
apr_pool_t **handler_pool,
svn_txdelta_window_handler_t **handler,
void ***handler_baton);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_setup_txdelta_window_handler_wrapper(VALUE obj,
svn_txdelta_window_handler_t handler,
void *handler_baton);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
-svn_error_t *svn_swig_rb_invoke_txdelta_window_handler(VALUE window_handler,
- svn_txdelta_window_t *window,
- apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_invoke_txdelta_window_handler_wrapper(VALUE obj,
svn_txdelta_window_t *window,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
VALUE svn_swig_rb_txdelta_window_t_ops_get(svn_txdelta_window_t *window);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_client_diff_summarize_func(const svn_client_diff_summarize_t *diff,
void *baton,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_client_list_func(void *baton,
const char *path,
const svn_dirent_t *dirent,
@@ -504,20 +396,17 @@ svn_error_t *svn_swig_rb_client_list_func(void *baton,
const char *abs_path,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_proplist_receiver(void *baton,
const char *path,
apr_hash_t *prop_hash,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
svn_error_t *svn_swig_rb_changelist_receiver(void *baton,
const char *path,
const char *changelist,
apr_pool_t *pool);
-SVN_RB_SWIG_SWIGUTIL_EXPORT
-extern svn_ra_reporter3_t *svn_swig_rb_ra_reporter3;
+svn_ra_reporter3_t *svn_swig_rb_get_ra_reporter3();
#ifdef __cplusplus
}
diff --git a/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb__pre_ruby.h b/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb__pre_ruby.h
new file mode 100644
index 0000000..bc8eb6e
--- /dev/null
+++ b/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb__pre_ruby.h
@@ -0,0 +1,99 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+#ifndef SVN_SWIG_SWIGUTIL_RB__PRE_RUBY_H
+#define SVN_SWIG_SWIGUTIL_RB__PRE_RUBY_H
+
+#if defined(SVN_SWIG_RUBY__CUSTOM_RUBY_CONFIG) && defined(_MSC_VER)
+/* The standard install of Ruby on Windows 1.9 expects to be build with MINGW,
+ a gcc compatible toolchain. Since 1.8 they removed much of the compatibility
+ with Visual C++, but we can't build with MingW as that would break APR
+ binary compatibility.
+ */
+
+#include <ruby/config.h>
+
+#undef NORETURN
+#undef DEPRECATED
+#undef FUNC_STDCALL
+#undef FUNC_CDECL
+#undef FUNC_FASTCALL
+#undef RUBY_ALIAS_FUNCTION_TYPE
+#undef RUBY_ALIAS_FUNCTION_VOID
+#undef HAVE_GCC_ATOMIC_BUILTINS
+#undef RUBY_FUNC_EXPORTED
+#undef RUBY_FUNC_EXPORTED
+#undef RUBY_EXTERN
+
+#define NORETURN(x) __declspec(noreturn) x
+#define RUBY_EXTERN extern __declspec(dllimport)
+
+/* Yuck. But this makes ruby happy */
+#undef pid_t
+#undef uid_t
+#undef gid_t
+typedef int pid_t;
+typedef int uid_t;
+typedef int gid_t;
+
+#if !defined(__cplusplus) && !defined(inline)
+#define inline __inline
+#endif
+typedef long ssize_t;
+
+/* Don't define iovec when including APR */
+#define APR_IOVEC_DEFINED
+
+/* Undefine headers that aren't available in Visual C++, but config.h says
+ are available. */
+#undef HAVE_UNISTD_H
+
+/* Visual C++ >= 2010 has <stdint.h> */
+#if _MSC_VER < 1600
+#undef HAVE_STDINT_H
+
+typedef signed __int8 int8_t;
+typedef signed __int16 int16_t;
+typedef signed __int32 int32_t;
+typedef signed __int64 int64_t;
+typedef unsigned __int8 uint8_t;
+typedef unsigned __int16 uint16_t;
+typedef unsigned __int32 uint32_t;
+typedef unsigned __int64 uint64_t;
+#endif
+
+/* Visual C++ >= 2013 has <inttypes.h> */
+#if _MSC_VER < 1800
+#undef HAVE_INTTYPES_H
+#endif
+
+/* Visual Studio >= 2015 has timespec defined */
+#if _MSC_VER >= 1900
+#define HAVE_STRUCT_TIMESPEC
+#endif
+
+#ifdef _MSC_VER
+#pragma warning(disable: 4702) /* warning C4702: unreachable code */
+#endif
+
+#endif /* defined(SVN_SWIG_RUBY__CUSTOM_RUBY_CONFIG) && defined(_MSC_VER) */
+
+#endif /* SVN_SWIG_SWIGUTIL_RB__PRE_RUBY_H */
diff --git a/subversion/bindings/swig/ruby/svn_client.c b/subversion/bindings/swig/ruby/svn_client.c
index f9ac920..8c7043b 100644
--- a/subversion/bindings/swig/ruby/svn_client.c
+++ b/subversion/bindings/swig/ruby/svn_client.c
@@ -1,11 +1,11 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.9
- *
- * This file is not intended to be easily readable and contains a number of
+ * Version 2.0.12
+ *
+ * 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.
+ * changes to this file unless you know what you are doing--modify the SWIG
+ * interface file instead.
* ----------------------------------------------------------------------------- */
#define SWIGRUBY
@@ -41,28 +41,28 @@
#ifndef SWIGUNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
# elif defined(__ICC)
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
-# define SWIGUNUSED
+# define SWIGUNUSED
# endif
#endif
#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
-# endif
+# endif
#endif
#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
# define SWIGUNUSEDPARM(p)
# else
-# define SWIGUNUSEDPARM(p) p SWIGUNUSED
+# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif
@@ -105,7 +105,7 @@
# define SWIGSTDCALL __stdcall
# else
# define SWIGSTDCALL
-# endif
+# endif
#endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
@@ -150,28 +150,28 @@
#ifndef SWIGUNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
# elif defined(__ICC)
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
-# define SWIGUNUSED
+# define SWIGUNUSED
# endif
#endif
#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
-# endif
+# endif
#endif
#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
# define SWIGUNUSEDPARM(p)
# else
-# define SWIGUNUSEDPARM(p) p SWIGUNUSED
+# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif
@@ -214,7 +214,7 @@
# define SWIGSTDCALL __stdcall
# else
# define SWIGSTDCALL
-# endif
+# endif
#endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
@@ -252,7 +252,7 @@
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 strictly necessary, ie, if you have problems
with your compiler or suchlike.
*/
@@ -278,16 +278,16 @@
#define SWIG_POINTER_OWN 0x1
-/*
+/*
Flags/methods for returning states.
-
- The SWIG conversion methods, as ConvertPtr, return an integer
+
+ The SWIG conversion methods, as ConvertPtr, return an integer
that tells if the conversion was successful or not. And if not,
an error code can be returned (see swigerrors.swg for the codes).
-
+
Use the following macros/flags to set or process the returning
states.
-
+
In old versions of SWIG, code such as the following was usually written:
if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
@@ -320,23 +320,23 @@
} else {
// fail code
}
-
+
I.e., now SWIG_ConvertPtr can return new objects and you can
identify the case and take care of the deallocation. Of course that
also requires SWIG_ConvertPtr to return new result values, such as
- int SWIG_ConvertPtr(obj, ptr,...) {
- if (<obj is ok>) {
- if (<need new object>) {
- *ptr = <ptr to new allocated object>;
- return SWIG_NEWOBJ;
- } else {
- *ptr = <ptr to old object>;
- return SWIG_OLDOBJ;
- }
- } else {
- return SWIG_BADOBJ;
- }
+ int SWIG_ConvertPtr(obj, ptr,...) {
+ if (<obj is ok>) {
+ if (<need new object>) {
+ *ptr = <ptr to new allocated object>;
+ return SWIG_NEWOBJ;
+ } else {
+ *ptr = <ptr to old object>;
+ return SWIG_OLDOBJ;
+ }
+ } else {
+ return SWIG_BADOBJ;
+ }
}
Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
@@ -350,17 +350,17 @@
int fooi(int);
and you call
-
+
food(1) // cast rank '1' (1 -> 1.0)
fooi(1) // cast rank '0'
just use the SWIG_AddCast()/SWIG_CheckState()
*/
-#define SWIG_OK (0)
+#define SWIG_OK (0)
#define SWIG_ERROR (-1)
#define SWIG_IsOK(r) (r >= 0)
-#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
+#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
/* The CastRankLimit says how many bits are used for the cast rank */
#define SWIG_CASTRANKLIMIT (1 << 8)
@@ -391,14 +391,14 @@
# endif
# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
-SWIGINTERNINLINE int SWIG_AddCast(int r) {
+SWIGINTERNINLINE int SWIG_AddCast(int r) {
return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
}
-SWIGINTERNINLINE int SWIG_CheckState(int r) {
- return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
+SWIGINTERNINLINE int SWIG_CheckState(int r) {
+ return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
}
#else /* no cast-rank mode */
-# define SWIG_AddCast
+# define SWIG_AddCast(r) (r)
# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
#endif
@@ -442,7 +442,7 @@ typedef struct swig_module_info {
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.
@@ -462,18 +462,18 @@ SWIG_TypeNameComp(const char *f1, const char *l1,
/*
Check type equivalence in a name list like <name1>|<name2>|...
- Return 0 if not equal, 1 if equal
+ Return 0 if equal, -1 if nb < tb, 1 if nb > tb
*/
SWIGRUNTIME int
-SWIG_TypeEquiv(const char *nb, const char *tb) {
- int equiv = 0;
+SWIG_TypeCmp(const char *nb, const char *tb) {
+ int equiv = 1;
const char* te = tb + strlen(tb);
const char* ne = nb;
- while (!equiv && *ne) {
+ while (equiv != 0 && *ne) {
for (nb = ne; *ne; ++ne) {
if (*ne == '|') break;
}
- equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
+ equiv = SWIG_TypeNameComp(nb, ne, tb, te);
if (*ne) ++ne;
}
return equiv;
@@ -481,24 +481,13 @@ SWIG_TypeEquiv(const char *nb, const char *tb) {
/*
Check type equivalence in a name list like <name1>|<name2>|...
- Return 0 if equal, -1 if nb < tb, 1 if nb > tb
+ Return 0 if not equal, 1 if equal
*/
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;
+SWIG_TypeEquiv(const char *nb, const char *tb) {
+ return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
}
-
/*
Check the typename
*/
@@ -526,7 +515,7 @@ SWIG_TypeCheck(const char *c, swig_type_info *ty) {
return 0;
}
-/*
+/*
Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
*/
SWIGRUNTIME swig_cast_info *
@@ -561,7 +550,7 @@ SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
}
-/*
+/*
Dynamic pointer casting. Down an inheritance hierarchy
*/
SWIGRUNTIME swig_type_info *
@@ -605,7 +594,7 @@ SWIG_TypePrettyName(const swig_type_info *type) {
return type->name;
}
-/*
+/*
Set the clientdata field for a type
*/
SWIGRUNTIME void
@@ -613,14 +602,14 @@ SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
swig_cast_info *cast = ti->cast;
/* if (ti->clientdata == clientdata) return; */
ti->clientdata = clientdata;
-
+
while (cast) {
if (!cast->converter) {
swig_type_info *tc = cast->type;
if (!tc->clientdata) {
SWIG_TypeClientData(tc, clientdata);
}
- }
+ }
cast = cast->next;
}
}
@@ -629,18 +618,18 @@ SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
SWIG_TypeClientData(ti, clientdata);
ti->owndata = 1;
}
-
+
/*
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.
+
+ 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,
+SWIG_MangledTypeQueryModule(swig_module_info *start,
+ swig_module_info *end,
const char *name) {
swig_module_info *iter = start;
do {
@@ -649,11 +638,11 @@ SWIG_MangledTypeQueryModule(swig_module_info *start,
register size_t r = iter->size - 1;
do {
/* since l+r >= 0, we can (>> 1) instead (/ 2) */
- register size_t i = (l + r) >> 1;
+ 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) {
+ if (compare == 0) {
return iter->types[i];
} else if (compare < 0) {
if (i) {
@@ -678,14 +667,14 @@ SWIG_MangledTypeQueryModule(swig_module_info *start,
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.
+
+ 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,
+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);
@@ -704,12 +693,12 @@ SWIG_TypeQueryModule(swig_module_info *start,
iter = iter->next;
} while (iter != end);
}
-
+
/* neither found a match */
return 0;
}
-/*
+/*
Pack binary data into a string
*/
SWIGRUNTIME char *
@@ -725,7 +714,7 @@ SWIG_PackData(char *c, void *ptr, size_t sz) {
return c;
}
-/*
+/*
Unpack binary data from a string
*/
SWIGRUNTIME const char *
@@ -739,21 +728,21 @@ SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
uu = ((d - '0') << 4);
else if ((d >= 'a') && (d <= 'f'))
uu = ((d - ('a'-10)) << 4);
- else
+ 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
+ else
return (char *) 0;
*u = uu;
}
return c;
}
-/*
+/*
Pack 'void *' into a string buffer.
*/
SWIGRUNTIME char *
@@ -813,18 +802,18 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
#endif
/* Errors in SWIG */
-#define SWIG_UnknownError -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_UnknownError -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_AttributeError -11
-#define SWIG_MemoryError -12
+#define SWIG_MemoryError -12
#define SWIG_NullReferenceError -13
@@ -1750,7 +1739,7 @@ SWIG_Ruby_SetModule(swig_module_info *pointer)
SWIGINTERN
int SWIG_Ruby_isCallable( VALUE proc )
{
- if ( rb_respond_to( proc, swig_call_id ) == Qtrue )
+ if ( rb_respond_to( proc, swig_call_id ) )
return 1;
return 0;
}
@@ -1763,7 +1752,7 @@ int SWIG_Ruby_isCallable( VALUE proc )
SWIGINTERN
int SWIG_Ruby_arity( VALUE proc, int minimal )
{
- if ( rb_respond_to( proc, swig_arity_id ) == Qtrue )
+ if ( rb_respond_to( proc, swig_arity_id ) )
{
VALUE num = rb_funcall( proc, swig_arity_id, 0 );
int arity = NUM2INT(num);
@@ -1809,134 +1798,134 @@ int SWIG_Ruby_arity( VALUE proc, int minimal )
#define SWIGTYPE_p_f_p_p_svn_auth_cred_ssl_client_cert_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[14]
#define SWIGTYPE_p_f_p_p_svn_auth_cred_ssl_server_trust_t_p_void_p_q_const__char_apr_uint32_t_p_q_const__svn_auth_ssl_server_cert_info_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[15]
#define SWIGTYPE_p_f_p_p_svn_auth_cred_username_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[16]
-#define SWIGTYPE_p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description2_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t swig_types[17]
-#define SWIGTYPE_p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[18]
-#define SWIGTYPE_p_f_p_q_const__svn_client_diff_summarize_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[19]
-#define SWIGTYPE_p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[20]
-#define SWIGTYPE_p_f_p_void__p_svn_error_t swig_types[21]
-#define SWIGTYPE_p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[22]
-#define SWIGTYPE_p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[23]
-#define SWIGTYPE_p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[24]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_enum_svn_wc_notify_action_t_enum_svn_node_kind_t_p_q_const__char_enum_svn_wc_notify_state_t_enum_svn_wc_notify_state_t_long__void swig_types[25]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t swig_types[26]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_pool_t__p_svn_error_t swig_types[27]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[28]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_client_info2_t_p_apr_pool_t__p_svn_error_t swig_types[29]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_client_status_t_p_apr_pool_t__p_svn_error_t swig_types[30]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_dirent_t_p_q_const__svn_lock_t_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[31]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_dirent_t_p_q_const__svn_lock_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[32]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_info_t_p_apr_pool_t__p_svn_error_t swig_types[33]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_p_struct_svn_wc_status2_t__void swig_types[34]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_p_struct_svn_wc_status_t__void swig_types[35]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_p_svn_wc_status2_t_p_apr_pool_t__p_svn_error_t swig_types[36]
-#define SWIGTYPE_p_f_p_void_p_q_const__struct_svn_wc_notify_t_p_apr_pool_t__void swig_types[37]
-#define SWIGTYPE_p_f_p_void_p_svn_boolean_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[38]
-#define SWIGTYPE_p_f_p_void_p_svn_boolean_t_p_q_const__char_p_q_const__svn_io_dirent2_t_p_apr_pool_t__p_svn_error_t swig_types[39]
-#define SWIGTYPE_p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t swig_types[40]
-#define SWIGTYPE_p_f_p_void_svn_revnum_t_svn_revnum_t_apr_int64_t_svn_revnum_t_p_apr_hash_t_svn_revnum_t_p_apr_hash_t_p_q_const__char_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[41]
-#define SWIGTYPE_p_int swig_types[42]
-#define SWIGTYPE_p_long swig_types[43]
-#define SWIGTYPE_p_p_apr_array_header_t swig_types[44]
-#define SWIGTYPE_p_p_apr_hash_t swig_types[45]
-#define SWIGTYPE_p_p_char swig_types[46]
-#define SWIGTYPE_p_p_svn_auth_provider_object_t swig_types[47]
-#define SWIGTYPE_p_p_svn_client_commit_info_t swig_types[48]
-#define SWIGTYPE_p_p_svn_client_ctx_t swig_types[49]
-#define SWIGTYPE_p_p_svn_commit_info_t swig_types[50]
-#define SWIGTYPE_p_p_svn_ra_session_t swig_types[51]
-#define SWIGTYPE_p_p_svn_string_t swig_types[52]
-#define SWIGTYPE_p_svn_auth_baton_t swig_types[53]
-#define SWIGTYPE_p_svn_auth_cred_simple_t swig_types[54]
-#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t swig_types[55]
-#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t swig_types[56]
-#define SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t swig_types[57]
-#define SWIGTYPE_p_svn_auth_cred_username_t swig_types[58]
-#define SWIGTYPE_p_svn_auth_iterstate_t swig_types[59]
-#define SWIGTYPE_p_svn_auth_provider_object_t swig_types[60]
-#define SWIGTYPE_p_svn_auth_provider_t swig_types[61]
-#define SWIGTYPE_p_svn_auth_ssl_server_cert_info_t swig_types[62]
-#define SWIGTYPE_p_svn_checksum_ctx_t swig_types[63]
-#define SWIGTYPE_p_svn_checksum_kind_t swig_types[64]
-#define SWIGTYPE_p_svn_checksum_t swig_types[65]
-#define SWIGTYPE_p_svn_client_commit_info_t swig_types[66]
-#define SWIGTYPE_p_svn_client_commit_item2_t swig_types[67]
-#define SWIGTYPE_p_svn_client_commit_item3_t swig_types[68]
-#define SWIGTYPE_p_svn_client_commit_item_t swig_types[69]
-#define SWIGTYPE_p_svn_client_copy_source_t swig_types[70]
-#define SWIGTYPE_p_svn_client_ctx_t swig_types[71]
-#define SWIGTYPE_p_svn_client_diff_summarize_kind_t swig_types[72]
-#define SWIGTYPE_p_svn_client_diff_summarize_t swig_types[73]
-#define SWIGTYPE_p_svn_client_info2_t swig_types[74]
-#define SWIGTYPE_p_svn_client_proplist_item_t swig_types[75]
-#define SWIGTYPE_p_svn_client_status_t swig_types[76]
-#define SWIGTYPE_p_svn_commit_info_t swig_types[77]
-#define SWIGTYPE_p_svn_config_t swig_types[78]
-#define SWIGTYPE_p_svn_delta_editor_t swig_types[79]
-#define SWIGTYPE_p_svn_depth_t swig_types[80]
-#define SWIGTYPE_p_svn_diff_conflict_display_style_t swig_types[81]
-#define SWIGTYPE_p_svn_diff_datasource_e swig_types[82]
-#define SWIGTYPE_p_svn_diff_file_ignore_space_t swig_types[83]
-#define SWIGTYPE_p_svn_diff_file_options_t swig_types[84]
-#define SWIGTYPE_p_svn_diff_fns2_t swig_types[85]
-#define SWIGTYPE_p_svn_diff_fns_t swig_types[86]
-#define SWIGTYPE_p_svn_diff_hunk_t swig_types[87]
-#define SWIGTYPE_p_svn_diff_operation_kind_e swig_types[88]
-#define SWIGTYPE_p_svn_diff_output_fns_t swig_types[89]
-#define SWIGTYPE_p_svn_diff_t swig_types[90]
-#define SWIGTYPE_p_svn_dirent_t swig_types[91]
-#define SWIGTYPE_p_svn_errno_t swig_types[92]
-#define SWIGTYPE_p_svn_error_t swig_types[93]
-#define SWIGTYPE_p_svn_info_t swig_types[94]
-#define SWIGTYPE_p_svn_io_dirent2_t swig_types[95]
-#define SWIGTYPE_p_svn_io_dirent_t swig_types[96]
-#define SWIGTYPE_p_svn_io_file_del_t swig_types[97]
-#define SWIGTYPE_p_svn_location_segment_t swig_types[98]
-#define SWIGTYPE_p_svn_lock_t swig_types[99]
-#define SWIGTYPE_p_svn_log_changed_path2_t swig_types[100]
-#define SWIGTYPE_p_svn_log_changed_path_t swig_types[101]
-#define SWIGTYPE_p_svn_log_entry_t swig_types[102]
-#define SWIGTYPE_p_svn_merge_range_t swig_types[103]
-#define SWIGTYPE_p_svn_mergeinfo_inheritance_t swig_types[104]
-#define SWIGTYPE_p_svn_node_kind_t swig_types[105]
-#define SWIGTYPE_p_svn_opt_revision_range_t swig_types[106]
-#define SWIGTYPE_p_svn_opt_revision_t swig_types[107]
-#define SWIGTYPE_p_svn_opt_revision_value_t swig_types[108]
-#define SWIGTYPE_p_svn_opt_subcommand_desc2_t swig_types[109]
-#define SWIGTYPE_p_svn_opt_subcommand_desc_t swig_types[110]
-#define SWIGTYPE_p_svn_patch_file_t swig_types[111]
-#define SWIGTYPE_p_svn_patch_t swig_types[112]
-#define SWIGTYPE_p_svn_prop_inherited_item_t swig_types[113]
-#define SWIGTYPE_p_svn_prop_kind swig_types[114]
-#define SWIGTYPE_p_svn_prop_patch_t swig_types[115]
-#define SWIGTYPE_p_svn_ra_callbacks2_t swig_types[116]
-#define SWIGTYPE_p_svn_ra_callbacks_t swig_types[117]
-#define SWIGTYPE_p_svn_ra_plugin_t swig_types[118]
-#define SWIGTYPE_p_svn_ra_reporter2_t swig_types[119]
-#define SWIGTYPE_p_svn_ra_reporter3_t swig_types[120]
-#define SWIGTYPE_p_svn_ra_reporter_t swig_types[121]
-#define SWIGTYPE_p_svn_ra_session_t swig_types[122]
-#define SWIGTYPE_p_svn_stream_mark_t swig_types[123]
-#define SWIGTYPE_p_svn_stream_t swig_types[124]
-#define SWIGTYPE_p_svn_string_t swig_types[125]
-#define SWIGTYPE_p_svn_stringbuf_t swig_types[126]
-#define SWIGTYPE_p_svn_tristate_t swig_types[127]
-#define SWIGTYPE_p_svn_txdelta_op_t swig_types[128]
-#define SWIGTYPE_p_svn_txdelta_stream_t swig_types[129]
-#define SWIGTYPE_p_svn_txdelta_window_t swig_types[130]
-#define SWIGTYPE_p_svn_version_checklist_t swig_types[131]
-#define SWIGTYPE_p_svn_version_ext_linked_lib_t swig_types[132]
-#define SWIGTYPE_p_svn_version_ext_loaded_lib_t swig_types[133]
-#define SWIGTYPE_p_svn_version_extended_t swig_types[134]
-#define SWIGTYPE_p_svn_version_t swig_types[135]
-#define SWIGTYPE_p_svn_wc_adm_access_t swig_types[136]
-#define SWIGTYPE_p_svn_wc_committed_queue_t swig_types[137]
-#define SWIGTYPE_p_svn_wc_conflict_action_t swig_types[138]
-#define SWIGTYPE_p_svn_wc_conflict_choice_t swig_types[139]
-#define SWIGTYPE_p_svn_wc_conflict_description2_t swig_types[140]
-#define SWIGTYPE_p_svn_wc_conflict_description_t swig_types[141]
-#define SWIGTYPE_p_svn_wc_conflict_kind_t swig_types[142]
-#define SWIGTYPE_p_svn_wc_conflict_reason_t swig_types[143]
-#define SWIGTYPE_p_svn_wc_conflict_result_t swig_types[144]
+#define SWIGTYPE_p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[17]
+#define SWIGTYPE_p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description2_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t swig_types[18]
+#define SWIGTYPE_p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[19]
+#define SWIGTYPE_p_f_p_q_const__svn_client_diff_summarize_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[20]
+#define SWIGTYPE_p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[21]
+#define SWIGTYPE_p_f_p_void__p_svn_error_t swig_types[22]
+#define SWIGTYPE_p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[23]
+#define SWIGTYPE_p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[24]
+#define SWIGTYPE_p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[25]
+#define SWIGTYPE_p_f_p_void_p_q_const__char__int swig_types[26]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_enum_svn_wc_notify_action_t_enum_svn_node_kind_t_p_q_const__char_enum_svn_wc_notify_state_t_enum_svn_wc_notify_state_t_long__void swig_types[27]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t swig_types[28]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_pool_t__p_svn_error_t swig_types[29]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[30]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_client_info2_t_p_apr_pool_t__p_svn_error_t swig_types[31]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_client_status_t_p_apr_pool_t__p_svn_error_t swig_types[32]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_dirent_t_p_q_const__svn_lock_t_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[33]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_dirent_t_p_q_const__svn_lock_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[34]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_info_t_p_apr_pool_t__p_svn_error_t swig_types[35]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_p_struct_svn_wc_status2_t__void swig_types[36]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_p_struct_svn_wc_status_t__void swig_types[37]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_p_svn_wc_status2_t_p_apr_pool_t__p_svn_error_t swig_types[38]
+#define SWIGTYPE_p_f_p_void_p_q_const__struct_svn_wc_notify_t_p_apr_pool_t__void swig_types[39]
+#define SWIGTYPE_p_f_p_void_p_svn_boolean_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[40]
+#define SWIGTYPE_p_f_p_void_p_svn_boolean_t_p_q_const__char_p_q_const__svn_io_dirent2_t_p_apr_pool_t__p_svn_error_t swig_types[41]
+#define SWIGTYPE_p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t swig_types[42]
+#define SWIGTYPE_p_f_p_void_svn_revnum_t_svn_revnum_t_apr_int64_t_svn_revnum_t_p_apr_hash_t_svn_revnum_t_p_apr_hash_t_p_q_const__char_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[43]
+#define SWIGTYPE_p_int swig_types[44]
+#define SWIGTYPE_p_long swig_types[45]
+#define SWIGTYPE_p_p_apr_array_header_t swig_types[46]
+#define SWIGTYPE_p_p_apr_hash_t swig_types[47]
+#define SWIGTYPE_p_p_char swig_types[48]
+#define SWIGTYPE_p_p_svn_auth_provider_object_t swig_types[49]
+#define SWIGTYPE_p_p_svn_client_commit_info_t swig_types[50]
+#define SWIGTYPE_p_p_svn_client_ctx_t swig_types[51]
+#define SWIGTYPE_p_p_svn_commit_info_t swig_types[52]
+#define SWIGTYPE_p_p_svn_ra_session_t swig_types[53]
+#define SWIGTYPE_p_p_svn_string_t swig_types[54]
+#define SWIGTYPE_p_svn_auth_baton_t swig_types[55]
+#define SWIGTYPE_p_svn_auth_cred_simple_t swig_types[56]
+#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t swig_types[57]
+#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t swig_types[58]
+#define SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t swig_types[59]
+#define SWIGTYPE_p_svn_auth_cred_username_t swig_types[60]
+#define SWIGTYPE_p_svn_auth_iterstate_t swig_types[61]
+#define SWIGTYPE_p_svn_auth_provider_object_t swig_types[62]
+#define SWIGTYPE_p_svn_auth_provider_t swig_types[63]
+#define SWIGTYPE_p_svn_auth_ssl_server_cert_info_t swig_types[64]
+#define SWIGTYPE_p_svn_checksum_ctx_t swig_types[65]
+#define SWIGTYPE_p_svn_checksum_kind_t swig_types[66]
+#define SWIGTYPE_p_svn_checksum_t swig_types[67]
+#define SWIGTYPE_p_svn_client_commit_info_t swig_types[68]
+#define SWIGTYPE_p_svn_client_commit_item2_t swig_types[69]
+#define SWIGTYPE_p_svn_client_commit_item3_t swig_types[70]
+#define SWIGTYPE_p_svn_client_commit_item_t swig_types[71]
+#define SWIGTYPE_p_svn_client_copy_source_t swig_types[72]
+#define SWIGTYPE_p_svn_client_ctx_t swig_types[73]
+#define SWIGTYPE_p_svn_client_diff_summarize_kind_t swig_types[74]
+#define SWIGTYPE_p_svn_client_diff_summarize_t swig_types[75]
+#define SWIGTYPE_p_svn_client_info2_t swig_types[76]
+#define SWIGTYPE_p_svn_client_proplist_item_t swig_types[77]
+#define SWIGTYPE_p_svn_client_status_t swig_types[78]
+#define SWIGTYPE_p_svn_commit_info_t swig_types[79]
+#define SWIGTYPE_p_svn_config_t swig_types[80]
+#define SWIGTYPE_p_svn_delta_editor_t swig_types[81]
+#define SWIGTYPE_p_svn_depth_t swig_types[82]
+#define SWIGTYPE_p_svn_diff_conflict_display_style_t swig_types[83]
+#define SWIGTYPE_p_svn_diff_datasource_e swig_types[84]
+#define SWIGTYPE_p_svn_diff_file_ignore_space_t swig_types[85]
+#define SWIGTYPE_p_svn_diff_file_options_t swig_types[86]
+#define SWIGTYPE_p_svn_diff_fns2_t swig_types[87]
+#define SWIGTYPE_p_svn_diff_fns_t swig_types[88]
+#define SWIGTYPE_p_svn_diff_hunk_t swig_types[89]
+#define SWIGTYPE_p_svn_diff_operation_kind_e swig_types[90]
+#define SWIGTYPE_p_svn_diff_output_fns_t swig_types[91]
+#define SWIGTYPE_p_svn_diff_t swig_types[92]
+#define SWIGTYPE_p_svn_dirent_t swig_types[93]
+#define SWIGTYPE_p_svn_errno_t swig_types[94]
+#define SWIGTYPE_p_svn_error_t swig_types[95]
+#define SWIGTYPE_p_svn_info_t swig_types[96]
+#define SWIGTYPE_p_svn_io_dirent2_t swig_types[97]
+#define SWIGTYPE_p_svn_io_dirent_t swig_types[98]
+#define SWIGTYPE_p_svn_io_file_del_t swig_types[99]
+#define SWIGTYPE_p_svn_location_segment_t swig_types[100]
+#define SWIGTYPE_p_svn_lock_t swig_types[101]
+#define SWIGTYPE_p_svn_log_changed_path2_t swig_types[102]
+#define SWIGTYPE_p_svn_log_changed_path_t swig_types[103]
+#define SWIGTYPE_p_svn_log_entry_t swig_types[104]
+#define SWIGTYPE_p_svn_merge_range_t swig_types[105]
+#define SWIGTYPE_p_svn_mergeinfo_inheritance_t swig_types[106]
+#define SWIGTYPE_p_svn_node_kind_t swig_types[107]
+#define SWIGTYPE_p_svn_opt_revision_range_t swig_types[108]
+#define SWIGTYPE_p_svn_opt_revision_t swig_types[109]
+#define SWIGTYPE_p_svn_opt_revision_value_t swig_types[110]
+#define SWIGTYPE_p_svn_opt_subcommand_desc2_t swig_types[111]
+#define SWIGTYPE_p_svn_opt_subcommand_desc_t swig_types[112]
+#define SWIGTYPE_p_svn_patch_file_t swig_types[113]
+#define SWIGTYPE_p_svn_patch_t swig_types[114]
+#define SWIGTYPE_p_svn_prop_inherited_item_t swig_types[115]
+#define SWIGTYPE_p_svn_prop_kind swig_types[116]
+#define SWIGTYPE_p_svn_prop_patch_t swig_types[117]
+#define SWIGTYPE_p_svn_ra_callbacks2_t swig_types[118]
+#define SWIGTYPE_p_svn_ra_callbacks_t swig_types[119]
+#define SWIGTYPE_p_svn_ra_plugin_t swig_types[120]
+#define SWIGTYPE_p_svn_ra_reporter2_t swig_types[121]
+#define SWIGTYPE_p_svn_ra_reporter3_t swig_types[122]
+#define SWIGTYPE_p_svn_ra_reporter_t swig_types[123]
+#define SWIGTYPE_p_svn_ra_session_t swig_types[124]
+#define SWIGTYPE_p_svn_stream_mark_t swig_types[125]
+#define SWIGTYPE_p_svn_stream_t swig_types[126]
+#define SWIGTYPE_p_svn_string_t swig_types[127]
+#define SWIGTYPE_p_svn_stringbuf_t swig_types[128]
+#define SWIGTYPE_p_svn_tristate_t swig_types[129]
+#define SWIGTYPE_p_svn_txdelta_op_t swig_types[130]
+#define SWIGTYPE_p_svn_txdelta_stream_t swig_types[131]
+#define SWIGTYPE_p_svn_txdelta_window_t swig_types[132]
+#define SWIGTYPE_p_svn_version_checklist_t swig_types[133]
+#define SWIGTYPE_p_svn_version_ext_linked_lib_t swig_types[134]
+#define SWIGTYPE_p_svn_version_ext_loaded_lib_t swig_types[135]
+#define SWIGTYPE_p_svn_version_extended_t swig_types[136]
+#define SWIGTYPE_p_svn_version_t swig_types[137]
+#define SWIGTYPE_p_svn_wc_adm_access_t swig_types[138]
+#define SWIGTYPE_p_svn_wc_committed_queue_t swig_types[139]
+#define SWIGTYPE_p_svn_wc_conflict_action_t swig_types[140]
+#define SWIGTYPE_p_svn_wc_conflict_choice_t swig_types[141]
+#define SWIGTYPE_p_svn_wc_conflict_description_t swig_types[142]
+#define SWIGTYPE_p_svn_wc_conflict_kind_t swig_types[143]
+#define SWIGTYPE_p_svn_wc_conflict_reason_t swig_types[144]
#define SWIGTYPE_p_svn_wc_conflict_version_t swig_types[145]
#define SWIGTYPE_p_svn_wc_context_t swig_types[146]
#define SWIGTYPE_p_svn_wc_diff_callbacks2_t swig_types[147]
@@ -1979,7 +1968,7 @@ static VALUE mClient;
#define SWIG_RUBY_THREAD_END_BLOCK
-#define SWIGVERSION 0x020009
+#define SWIGVERSION 0x020012
#define SWIG_VERSION SWIGVERSION
@@ -2052,7 +2041,7 @@ SWIG_ruby_failed(void)
}
-/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
+/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
{
VALUE obj = args[0];
@@ -2157,7 +2146,7 @@ SWIG_From_int (int value)
}
-/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
+/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
{
VALUE obj = args[0];
@@ -2249,13 +2238,13 @@ SWIGINTERN struct svn_client_copy_source_t *new_svn_client_copy_source_t(char co
self = apr_palloc(pool, sizeof(*self));
self->path = path ? apr_pstrdup(pool, path) : NULL;
- revision = apr_palloc(pool, sizeof(revision));
+ revision = apr_palloc(pool, sizeof(*revision));
revision->kind = rev->kind;
revision->value.number = rev->value.number;
revision->value.date = rev->value.date;
self->revision = revision;
- peg_revision = apr_palloc(pool, sizeof(peg_revision));
+ peg_revision = apr_palloc(pool, sizeof(*peg_revision));
peg_revision->kind = peg_rev->kind;
peg_revision->value.number = peg_rev->value.number;
peg_revision->value.date = peg_rev->value.date;
@@ -2458,7 +2447,7 @@ _wrap_svn_client_get_simple_prompt_provider(int argc, VALUE *argv, VALUE self) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
}
{
- arg2 = svn_swig_rb_auth_simple_prompt_func;
+ arg2 = (svn_auth_simple_prompt_func_t) svn_swig_rb_auth_simple_prompt_func;
arg3 = (void *)svn_swig_rb_make_baton(argv[0], _global_svn_swig_rb_pool);
}
ecode4 = SWIG_AsVal_int(argv[1], &val4);
@@ -2522,7 +2511,7 @@ _wrap_svn_client_get_username_prompt_provider(int argc, VALUE *argv, VALUE self)
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
}
{
- arg2 = svn_swig_rb_auth_username_prompt_func;
+ arg2 = (svn_auth_username_prompt_func_t) svn_swig_rb_auth_username_prompt_func;
arg3 = (void *)svn_swig_rb_make_baton(argv[0], _global_svn_swig_rb_pool);
}
ecode4 = SWIG_AsVal_int(argv[1], &val4);
@@ -2833,7 +2822,7 @@ _wrap_svn_client_get_ssl_server_trust_prompt_provider(int argc, VALUE *argv, VAL
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
{
- arg2 = svn_swig_rb_auth_ssl_server_trust_prompt_func;
+ arg2 = (svn_auth_ssl_server_trust_prompt_func_t) svn_swig_rb_auth_ssl_server_trust_prompt_func;
arg3 = (void *)svn_swig_rb_make_baton(argv[0], _global_svn_swig_rb_pool);
}
if (argc > 1) {
@@ -2892,7 +2881,7 @@ _wrap_svn_client_get_ssl_client_cert_prompt_provider(int argc, VALUE *argv, VALU
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
}
{
- arg2 = svn_swig_rb_auth_ssl_client_cert_prompt_func;
+ arg2 = (svn_auth_ssl_client_cert_prompt_func_t) svn_swig_rb_auth_ssl_client_cert_prompt_func;
arg3 = (void *)svn_swig_rb_make_baton(argv[0], _global_svn_swig_rb_pool);
}
ecode4 = SWIG_AsVal_int(argv[1], &val4);
@@ -2956,7 +2945,7 @@ _wrap_svn_client_get_ssl_client_cert_pw_prompt_provider(int argc, VALUE *argv, V
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
}
{
- arg2 = svn_swig_rb_auth_ssl_client_cert_pw_prompt_func;
+ arg2 = (svn_auth_ssl_client_cert_pw_prompt_func_t) svn_swig_rb_auth_ssl_client_cert_pw_prompt_func;
arg3 = (void *)svn_swig_rb_make_baton(argv[0], _global_svn_swig_rb_pool);
}
ecode4 = SWIG_AsVal_int(argv[1], &val4);
@@ -6761,6 +6750,161 @@ fail:
}
+SWIGINTERN VALUE
+_wrap_svn_client_ctx_t_check_tunnel_func_set(int argc, VALUE *argv, VALUE self) {
+ struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
+ svn_ra_check_tunnel_func_t arg2 = (svn_ra_check_tunnel_func_t) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+
+ if ((argc < 1) || (argc > 1)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","check_tunnel_func", 1, self ));
+ }
+ arg1 = (struct svn_client_ctx_t *)(argp1);
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char__int);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_check_tunnel_func_t","check_tunnel_func", 2, argv[0] ));
+ }
+ }
+ if (arg1) (arg1)->check_tunnel_func = arg2;
+ return Qnil;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_client_ctx_t_check_tunnel_func_get(int argc, VALUE *argv, VALUE self) {
+ struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ svn_ra_check_tunnel_func_t result;
+ VALUE vresult = Qnil;
+
+ if ((argc < 0) || (argc > 0)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","check_tunnel_func", 1, self ));
+ }
+ arg1 = (struct svn_client_ctx_t *)(argp1);
+ result = (svn_ra_check_tunnel_func_t) ((arg1)->check_tunnel_func);
+ vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char__int);
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_client_ctx_t_open_tunnel_func_set(int argc, VALUE *argv, VALUE self) {
+ struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
+ svn_ra_open_tunnel_func_t arg2 = (svn_ra_open_tunnel_func_t) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+
+ if ((argc < 1) || (argc > 1)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","open_tunnel_func", 1, self ));
+ }
+ arg1 = (struct svn_client_ctx_t *)(argp1);
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_open_tunnel_func_t","open_tunnel_func", 2, argv[0] ));
+ }
+ }
+ if (arg1) (arg1)->open_tunnel_func = arg2;
+ return Qnil;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_client_ctx_t_open_tunnel_func_get(int argc, VALUE *argv, VALUE self) {
+ struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ svn_ra_open_tunnel_func_t result;
+ VALUE vresult = Qnil;
+
+ if ((argc < 0) || (argc > 0)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","open_tunnel_func", 1, self ));
+ }
+ arg1 = (struct svn_client_ctx_t *)(argp1);
+ result = (svn_ra_open_tunnel_func_t) ((arg1)->open_tunnel_func);
+ vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t);
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_client_ctx_t_tunnel_baton_set(int argc, VALUE *argv, VALUE self) {
+ struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
+ void *arg2 = (void *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ int res2 ;
+
+ if ((argc < 1) || (argc > 1)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","tunnel_baton", 1, self ));
+ }
+ arg1 = (struct svn_client_ctx_t *)(argp1);
+ res2 = SWIG_ConvertPtr(argv[0],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","tunnel_baton", 2, argv[0] ));
+ }
+ if (arg1) (arg1)->tunnel_baton = arg2;
+ return Qnil;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_client_ctx_t_tunnel_baton_get(int argc, VALUE *argv, VALUE self) {
+ struct svn_client_ctx_t *arg1 = (struct svn_client_ctx_t *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ void *result = 0 ;
+ VALUE vresult = Qnil;
+
+ if ((argc < 0) || (argc > 0)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_client_ctx_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_client_ctx_t *","tunnel_baton", 1, self ));
+ }
+ arg1 = (struct svn_client_ctx_t *)(argp1);
+ result = (void *) ((arg1)->tunnel_baton);
+ vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
SWIGINTERN VALUE
_wrap_svn_client_ctx_t_allocate(VALUE self) {
@@ -12497,6 +12641,133 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_client_status6(int argc, VALUE *argv, VALUE self) {
+ svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
+ svn_client_ctx_t *arg2 = (svn_client_ctx_t *) 0 ;
+ char *arg3 = (char *) 0 ;
+ svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
+ svn_depth_t arg5 ;
+ svn_boolean_t arg6 ;
+ svn_boolean_t arg7 ;
+ svn_boolean_t arg8 ;
+ svn_boolean_t arg9 ;
+ svn_boolean_t arg10 ;
+ svn_boolean_t arg11 ;
+ apr_array_header_t *arg12 = (apr_array_header_t *) 0 ;
+ svn_client_status_func_t arg13 = (svn_client_status_func_t) 0 ;
+ void *arg14 = (void *) 0 ;
+ apr_pool_t *arg15 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ svn_revnum_t temp1 ;
+ int res1 = SWIG_TMPOBJ ;
+ void *argp2 = 0 ;
+ int res2 = 0 ;
+ int res3 ;
+ char *buf3 = 0 ;
+ int alloc3 = 0 ;
+ svn_opt_revision_t rev4 ;
+ int res14 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg15);
+ _global_pool = arg15;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ arg1 = &temp1;
+ if ((argc < 13) || (argc > 14)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 13)",argc); SWIG_fail;
+ }
+ res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_client_ctx_t, 0 | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_status6", 2, argv[0] ));
+ }
+ arg2 = (svn_client_ctx_t *)(argp2);
+ res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_status6", 3, argv[1] ));
+ }
+ arg3 = (char *)(buf3);
+ {
+ arg4 = &rev4;
+ svn_swig_rb_set_revision(&rev4, argv[2]);
+ }
+ {
+ arg5 = svn_swig_rb_to_depth(argv[3]);
+ }
+ arg6 = RTEST(argv[4]);
+ arg7 = RTEST(argv[5]);
+ arg8 = RTEST(argv[6]);
+ arg9 = RTEST(argv[7]);
+ arg10 = RTEST(argv[8]);
+ arg11 = RTEST(argv[9]);
+ {
+ arg12 = (NIL_P(argv[10])) ? NULL :
+ svn_swig_rb_strings_to_apr_array(argv[10], _global_pool);
+ }
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[11], (void**)(&arg13), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_client_status_t_p_apr_pool_t__p_svn_error_t);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_status_func_t","svn_client_status6", 13, argv[11] ));
+ }
+ }
+ res14 = SWIG_ConvertPtr(argv[12],SWIG_as_voidptrptr(&arg14), 0, 0);
+ if (!SWIG_IsOK(res14)) {
+ SWIG_exception_fail(SWIG_ArgError(res14), Ruby_Format_TypeError( "", "void *","svn_client_status6", 14, argv[12] ));
+ }
+ if (argc > 13) {
+
+ }
+ {
+ if (!arg4) {
+ SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
+ }
+ }
+ {
+ result = (svn_error_t *)svn_client_status6(arg1,arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,(apr_array_header_t const *)arg12,arg13,arg14,arg15);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ if (SWIG_IsTmpObj(res1)) {
+ vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_long((*arg1)));
+ } else {
+ int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
+ vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags));
+ }
+ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_client_status5(int argc, VALUE *argv, VALUE self) {
svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
svn_client_ctx_t *arg2 = (svn_client_ctx_t *) 0 ;
@@ -12805,7 +13076,7 @@ _wrap_svn_client_status3(int argc, VALUE *argv, VALUE self) {
svn_swig_rb_set_revision(&rev3, argv[1]);
}
{
- arg4 = svn_swig_rb_wc_status_func;
+ arg4 = (svn_wc_status_func2_t) svn_swig_rb_wc_status_func;
arg5 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
{
@@ -12928,7 +13199,7 @@ _wrap_svn_client_status2(int argc, VALUE *argv, VALUE self) {
svn_swig_rb_set_revision(&rev3, argv[1]);
}
{
- arg4 = svn_swig_rb_wc_status_func;
+ arg4 = (svn_wc_status_func2_t) svn_swig_rb_wc_status_func;
arg5 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
arg6 = RTEST(argv[3]);
@@ -13171,7 +13442,7 @@ _wrap_svn_client_log5(int argc, VALUE *argv, VALUE self) {
svn_swig_rb_strings_to_apr_array(argv[7], _global_pool);
}
{
- arg9 = svn_swig_rb_log_entry_receiver;
+ arg9 = (svn_log_entry_receiver_t) svn_swig_rb_log_entry_receiver;
arg10 = (void *)svn_swig_rb_make_baton(argv[8], _global_svn_swig_rb_pool);
}
if (argc > 9) {
@@ -13292,7 +13563,7 @@ _wrap_svn_client_log4(int argc, VALUE *argv, VALUE self) {
svn_swig_rb_strings_to_apr_array(argv[8], _global_pool);
}
{
- arg10 = svn_swig_rb_log_entry_receiver;
+ arg10 = (svn_log_entry_receiver_t) svn_swig_rb_log_entry_receiver;
arg11 = (void *)svn_swig_rb_make_baton(argv[9], _global_svn_swig_rb_pool);
}
if (argc > 10) {
@@ -13406,7 +13677,7 @@ _wrap_svn_client_log3(int argc, VALUE *argv, VALUE self) {
arg6 = RTEST(argv[5]);
arg7 = RTEST(argv[6]);
{
- arg8 = svn_swig_rb_log_receiver;
+ arg8 = (svn_log_message_receiver_t) svn_swig_rb_log_receiver;
arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
if (argc > 8) {
@@ -13514,7 +13785,7 @@ _wrap_svn_client_log2(int argc, VALUE *argv, VALUE self) {
arg5 = RTEST(argv[4]);
arg6 = RTEST(argv[5]);
{
- arg7 = svn_swig_rb_log_receiver;
+ arg7 = (svn_log_message_receiver_t) svn_swig_rb_log_receiver;
arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
if (argc > 7) {
@@ -13609,7 +13880,7 @@ _wrap_svn_client_log(int argc, VALUE *argv, VALUE self) {
arg4 = RTEST(argv[3]);
arg5 = RTEST(argv[4]);
{
- arg6 = svn_swig_rb_log_receiver;
+ arg6 = (svn_log_message_receiver_t) svn_swig_rb_log_receiver;
arg7 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
if (argc > 6) {
@@ -13977,7 +14248,7 @@ _wrap_svn_client_blame3(int argc, VALUE *argv, VALUE self) {
arg5 = (svn_diff_file_options_t *)(argp5);
arg6 = RTEST(argv[5]);
{
- arg7 = svn_swig_rb_client_blame_receiver_func;
+ arg7 = (svn_client_blame_receiver_t) svn_swig_rb_client_blame_receiver_func;
arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
if (argc > 7) {
@@ -14086,7 +14357,7 @@ _wrap_svn_client_blame2(int argc, VALUE *argv, VALUE self) {
svn_swig_rb_set_revision(&rev4, argv[3]);
}
{
- arg5 = svn_swig_rb_client_blame_receiver_func;
+ arg5 = (svn_client_blame_receiver_t) svn_swig_rb_client_blame_receiver_func;
arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
if (argc > 5) {
@@ -14189,7 +14460,7 @@ _wrap_svn_client_blame(int argc, VALUE *argv, VALUE self) {
svn_swig_rb_set_revision(&rev3, argv[2]);
}
{
- arg4 = svn_swig_rb_client_blame_receiver_func;
+ arg4 = (svn_client_blame_receiver_t) svn_swig_rb_client_blame_receiver_func;
arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
if (argc > 4) {
@@ -16049,7 +16320,7 @@ _wrap_svn_client_diff_summarize2(int argc, VALUE *argv, VALUE self) {
svn_swig_rb_strings_to_apr_array(argv[6], _global_pool);
}
{
- arg8 = svn_swig_rb_client_diff_summarize_func;
+ arg8 = (svn_client_diff_summarize_func_t) svn_swig_rb_client_diff_summarize_func;
arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
if (argc > 8) {
@@ -16162,7 +16433,7 @@ _wrap_svn_client_diff_summarize(int argc, VALUE *argv, VALUE self) {
arg5 = RTEST(argv[4]);
arg6 = RTEST(argv[5]);
{
- arg7 = svn_swig_rb_client_diff_summarize_func;
+ arg7 = (svn_client_diff_summarize_func_t) svn_swig_rb_client_diff_summarize_func;
arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
if (argc > 7) {
@@ -16279,7 +16550,7 @@ _wrap_svn_client_diff_summarize_peg2(int argc, VALUE *argv, VALUE self) {
svn_swig_rb_strings_to_apr_array(argv[6], _global_pool);
}
{
- arg8 = svn_swig_rb_client_diff_summarize_func;
+ arg8 = (svn_client_diff_summarize_func_t) svn_swig_rb_client_diff_summarize_func;
arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
if (argc > 8) {
@@ -16392,7 +16663,7 @@ _wrap_svn_client_diff_summarize_peg(int argc, VALUE *argv, VALUE self) {
arg5 = RTEST(argv[4]);
arg6 = RTEST(argv[5]);
{
- arg7 = svn_swig_rb_client_diff_summarize_func;
+ arg7 = (svn_client_diff_summarize_func_t) svn_swig_rb_client_diff_summarize_func;
arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
if (argc > 7) {
@@ -18352,7 +18623,7 @@ _wrap_svn_client_mergeinfo_log2(int argc, VALUE *argv, VALUE self) {
svn_swig_rb_set_revision(&rev7, argv[6]);
}
{
- arg8 = svn_swig_rb_log_entry_receiver;
+ arg8 = (svn_log_entry_receiver_t) svn_swig_rb_log_entry_receiver;
arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
arg10 = RTEST(argv[8]);
@@ -18466,7 +18737,7 @@ _wrap_svn_client_mergeinfo_log(int argc, VALUE *argv, VALUE self) {
svn_swig_rb_set_revision(&rev5, argv[4]);
}
{
- arg6 = svn_swig_rb_log_entry_receiver;
+ arg6 = (svn_log_entry_receiver_t) svn_swig_rb_log_entry_receiver;
arg7 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
arg8 = RTEST(argv[6]);
@@ -18583,7 +18854,7 @@ _wrap_svn_client_mergeinfo_log_merged(int argc, VALUE *argv, VALUE self) {
svn_swig_rb_set_revision(&rev4, argv[3]);
}
{
- arg5 = svn_swig_rb_log_entry_receiver;
+ arg5 = (svn_log_entry_receiver_t) svn_swig_rb_log_entry_receiver;
arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
arg7 = RTEST(argv[5]);
@@ -18704,7 +18975,7 @@ _wrap_svn_client_mergeinfo_log_eligible(int argc, VALUE *argv, VALUE self) {
svn_swig_rb_set_revision(&rev4, argv[3]);
}
{
- arg5 = svn_swig_rb_log_entry_receiver;
+ arg5 = (svn_log_entry_receiver_t) svn_swig_rb_log_entry_receiver;
arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
arg7 = RTEST(argv[5]);
@@ -18766,6 +19037,170 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_client_vacuum(int argc, VALUE *argv, VALUE self) {
+ char *arg1 = (char *) 0 ;
+ svn_boolean_t arg2 ;
+ svn_boolean_t arg3 ;
+ svn_boolean_t arg4 ;
+ svn_boolean_t arg5 ;
+ svn_boolean_t arg6 ;
+ svn_client_ctx_t *arg7 = (svn_client_ctx_t *) 0 ;
+ apr_pool_t *arg8 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ int res1 ;
+ char *buf1 = 0 ;
+ int alloc1 = 0 ;
+ void *argp7 = 0 ;
+ int res7 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8);
+ _global_pool = arg8;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 7) || (argc > 8)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
+ }
+ res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_vacuum", 1, argv[0] ));
+ }
+ arg1 = (char *)(buf1);
+ arg2 = RTEST(argv[1]);
+ arg3 = RTEST(argv[2]);
+ arg4 = RTEST(argv[3]);
+ arg5 = RTEST(argv[4]);
+ arg6 = RTEST(argv[5]);
+ res7 = SWIG_ConvertPtr(argv[6], &argp7,SWIGTYPE_p_svn_client_ctx_t, 0 | 0 );
+ if (!SWIG_IsOK(res7)) {
+ SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_vacuum", 7, argv[6] ));
+ }
+ arg7 = (svn_client_ctx_t *)(argp7);
+ if (argc > 7) {
+
+ }
+ {
+ result = (svn_error_t *)svn_client_vacuum((char const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_client_cleanup2(int argc, VALUE *argv, VALUE self) {
+ char *arg1 = (char *) 0 ;
+ svn_boolean_t arg2 ;
+ svn_boolean_t arg3 ;
+ svn_boolean_t arg4 ;
+ svn_boolean_t arg5 ;
+ svn_boolean_t arg6 ;
+ svn_client_ctx_t *arg7 = (svn_client_ctx_t *) 0 ;
+ apr_pool_t *arg8 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ int res1 ;
+ char *buf1 = 0 ;
+ int alloc1 = 0 ;
+ void *argp7 = 0 ;
+ int res7 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8);
+ _global_pool = arg8;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 7) || (argc > 8)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
+ }
+ res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_cleanup2", 1, argv[0] ));
+ }
+ arg1 = (char *)(buf1);
+ arg2 = RTEST(argv[1]);
+ arg3 = RTEST(argv[2]);
+ arg4 = RTEST(argv[3]);
+ arg5 = RTEST(argv[4]);
+ arg6 = RTEST(argv[5]);
+ res7 = SWIG_ConvertPtr(argv[6], &argp7,SWIGTYPE_p_svn_client_ctx_t, 0 | 0 );
+ if (!SWIG_IsOK(res7)) {
+ SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_cleanup2", 7, argv[6] ));
+ }
+ arg7 = (svn_client_ctx_t *)(argp7);
+ if (argc > 7) {
+
+ }
+ {
+ result = (svn_error_t *)svn_client_cleanup2((char const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_client_cleanup(int argc, VALUE *argv, VALUE self) {
char *arg1 = (char *) 0 ;
svn_client_ctx_t *arg2 = (svn_client_ctx_t *) 0 ;
@@ -19118,6 +19553,92 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_client_revert3(int argc, VALUE *argv, VALUE self) {
+ apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
+ svn_depth_t arg2 ;
+ apr_array_header_t *arg3 = (apr_array_header_t *) 0 ;
+ svn_boolean_t arg4 ;
+ svn_boolean_t arg5 ;
+ svn_client_ctx_t *arg6 = (svn_client_ctx_t *) 0 ;
+ apr_pool_t *arg7 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ void *argp6 = 0 ;
+ int res6 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ int adjusted_argc = argc;
+ VALUE *adjusted_argv = argv;
+
+ svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
+ &adjusted_argv);
+ svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
+ &_global_svn_swig_rb_pool, &arg7);
+ _global_pool = arg7;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 5) || (argc > 7)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
+ }
+ {
+ arg1 = svn_swig_rb_strings_to_apr_array(argv[0], _global_pool);
+ }
+ {
+ arg2 = svn_swig_rb_to_depth(argv[1]);
+ }
+ {
+ arg3 = (NIL_P(argv[2])) ? NULL :
+ svn_swig_rb_strings_to_apr_array(argv[2], _global_pool);
+ }
+ arg4 = RTEST(argv[3]);
+ arg5 = RTEST(argv[4]);
+ if (argc > 5) {
+ res6 = SWIG_ConvertPtr(argv[5], &argp6,SWIGTYPE_p_svn_client_ctx_t, 0 | 0 );
+ if (!SWIG_IsOK(res6)) {
+ SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_revert3", 6, argv[5] ));
+ }
+ arg6 = (svn_client_ctx_t *)(argp6);
+ }
+ if (argc > 6) {
+
+ }
+ {
+ result = (svn_error_t *)svn_client_revert3((apr_array_header_t const *)arg1,arg2,(apr_array_header_t const *)arg3,arg4,arg5,arg6,arg7);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_client_revert2(int argc, VALUE *argv, VALUE self) {
apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
svn_depth_t arg2 ;
@@ -19636,6 +20157,135 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_client_copy7(int argc, VALUE *argv, VALUE self) {
+ apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
+ char *arg2 = (char *) 0 ;
+ svn_boolean_t arg3 ;
+ svn_boolean_t arg4 ;
+ svn_boolean_t arg5 ;
+ svn_boolean_t arg6 ;
+ svn_boolean_t arg7 ;
+ apr_hash_t *arg8 = (apr_hash_t *) 0 ;
+ apr_hash_t *arg9 = (apr_hash_t *) 0 ;
+ svn_commit_callback2_t arg10 = (svn_commit_callback2_t) 0 ;
+ void *arg11 = (void *) 0 ;
+ svn_client_ctx_t *arg12 = (svn_client_ctx_t *) 0 ;
+ apr_pool_t *arg13 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ int res2 ;
+ char *buf2 = 0 ;
+ int alloc2 = 0 ;
+ void *argp8 = 0 ;
+ int res8 = 0 ;
+ void *argp12 = 0 ;
+ int res12 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ int adjusted_argc = argc;
+ VALUE *adjusted_argv = argv;
+
+ svn_swig_rb_adjust_arg_for_client_ctx_and_pool(&adjusted_argc,
+ &adjusted_argv);
+ svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
+ &_global_svn_swig_rb_pool, &arg13);
+ _global_pool = arg13;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 10) || (argc > 12)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 10)",argc); SWIG_fail;
+ }
+ {
+ arg1 = svn_swig_rb_array_to_apr_array_copy_source(argv[0], _global_pool);
+ }
+ res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_copy7", 2, argv[1] ));
+ }
+ arg2 = (char *)(buf2);
+ arg3 = RTEST(argv[2]);
+ arg4 = RTEST(argv[3]);
+ arg5 = RTEST(argv[4]);
+ arg6 = RTEST(argv[5]);
+ arg7 = RTEST(argv[6]);
+ res8 = SWIG_ConvertPtr(argv[7], &argp8,SWIGTYPE_p_apr_hash_t, 0 | 0 );
+ if (!SWIG_IsOK(res8)) {
+ SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "apr_hash_t const *","svn_client_copy7", 8, argv[7] ));
+ }
+ arg8 = (apr_hash_t *)(argp8);
+ {
+ VALUE rb_pool = Qnil;
+ if (!_global_pool) {
+ svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
+ svn_swig_rb_push_pool(rb_pool);
+ }
+ arg9 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[8], _global_pool);
+ _global_pool = NULL;
+ if (!NIL_P(rb_pool)) {
+ if (NIL_P(arg9)) {
+ svn_swig_rb_destroy_pool(rb_pool);
+ } else {
+ svn_swig_rb_set_pool_for_no_swig_type(argv[8], rb_pool);
+ }
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ }
+ {
+ arg10 = svn_swig_rb_commit_callback2;
+ arg11 = (void *)svn_swig_rb_make_baton(argv[9], _global_svn_swig_rb_pool);
+ }
+ if (argc > 10) {
+ res12 = SWIG_ConvertPtr(argv[10], &argp12,SWIGTYPE_p_svn_client_ctx_t, 0 | 0 );
+ if (!SWIG_IsOK(res12)) {
+ SWIG_exception_fail(SWIG_ArgError(res12), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_copy7", 12, argv[10] ));
+ }
+ arg12 = (svn_client_ctx_t *)(argp12);
+ }
+ if (argc > 11) {
+
+ }
+ {
+ result = (svn_error_t *)svn_client_copy7((apr_array_header_t const *)arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7,(apr_hash_t const *)arg8,(apr_hash_t const *)arg9,arg10,arg11,arg12,arg13);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ svn_swig_rb_set_baton(vresult, (VALUE)arg11);
+ }
+ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_client_copy6(int argc, VALUE *argv, VALUE self) {
apr_array_header_t *arg1 = (apr_array_header_t *) 0 ;
char *arg2 = (char *) 0 ;
@@ -22851,7 +23501,7 @@ _wrap_svn_client_proplist3(int argc, VALUE *argv, VALUE self) {
svn_swig_rb_strings_to_apr_array(argv[4], _global_pool);
}
{
- arg6 = svn_swig_rb_proplist_receiver;
+ arg6 = (svn_proplist_receiver_t) svn_swig_rb_proplist_receiver;
arg7 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
if (argc > 6) {
@@ -24063,7 +24713,7 @@ _wrap_svn_client_list2(int argc, VALUE *argv, VALUE self) {
arg5 = (apr_uint32_t)(val5);
arg6 = RTEST(argv[5]);
{
- arg7 = svn_swig_rb_client_list_func;
+ arg7 = (svn_client_list_func_t) svn_swig_rb_client_list_func;
arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
if (argc > 7) {
@@ -24183,7 +24833,7 @@ _wrap_svn_client_list(int argc, VALUE *argv, VALUE self) {
arg5 = (apr_uint32_t)(val5);
arg6 = RTEST(argv[5]);
{
- arg7 = svn_swig_rb_client_list_func;
+ arg7 = (svn_client_list_func_t) svn_swig_rb_client_list_func;
arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
if (argc > 7) {
@@ -24575,6 +25225,135 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_client_cat3(int argc, VALUE *argv, VALUE self) {
+ apr_hash_t **arg1 = (apr_hash_t **) 0 ;
+ svn_stream_t *arg2 = (svn_stream_t *) 0 ;
+ char *arg3 = (char *) 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 ;
+ svn_client_ctx_t *arg7 = (svn_client_ctx_t *) 0 ;
+ apr_pool_t *arg8 = (apr_pool_t *) 0 ;
+ apr_pool_t *arg9 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ apr_hash_t *temp1 ;
+ int res3 ;
+ char *buf3 = 0 ;
+ int alloc3 = 0 ;
+ svn_opt_revision_t rev4 ;
+ svn_opt_revision_t rev5 ;
+ void *argp7 = 0 ;
+ int res7 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8);
+ _global_pool = arg8;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg9);
+ _global_pool = arg9;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ arg1 = &temp1;
+ if ((argc < 6) || (argc > 8)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
+ }
+ {
+ arg2 = svn_swig_rb_make_stream(argv[0]);
+ }
+ res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_cat3", 3, argv[1] ));
+ }
+ arg3 = (char *)(buf3);
+ {
+ arg4 = &rev4;
+ svn_swig_rb_set_revision(&rev4, argv[2]);
+ }
+ {
+ arg5 = &rev5;
+ svn_swig_rb_set_revision(&rev5, argv[3]);
+ }
+ arg6 = RTEST(argv[4]);
+ res7 = SWIG_ConvertPtr(argv[5], &argp7,SWIGTYPE_p_svn_client_ctx_t, 0 | 0 );
+ if (!SWIG_IsOK(res7)) {
+ SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_cat3", 7, argv[5] ));
+ }
+ arg7 = (svn_client_ctx_t *)(argp7);
+ if (argc > 6) {
+
+ }
+ if (argc > 7) {
+
+ }
+ {
+ if (!arg4) {
+ SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
+ }
+ }
+ {
+ if (!arg5) {
+ SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
+ }
+ }
+ {
+ result = (svn_error_t *)svn_client_cat3(arg1,arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_opt_revision_t const *)arg5,arg6,arg7,arg8,arg9);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_svn_string(*arg1));
+ }
+ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_client_cat2(int argc, VALUE *argv, VALUE self) {
svn_stream_t *arg1 = (svn_stream_t *) 0 ;
char *arg2 = (char *) 0 ;
@@ -24989,7 +25768,7 @@ _wrap_svn_client_get_changelists(int argc, VALUE *argv, VALUE self) {
arg3 = svn_swig_rb_to_depth(argv[2]);
}
{
- arg4 = svn_swig_rb_changelist_receiver;
+ arg4 = (svn_changelist_receiver_t) svn_swig_rb_changelist_receiver;
arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
if (argc > 4) {
@@ -27649,6 +28428,128 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_client_info4(int argc, VALUE *argv, VALUE self) {
+ char *arg1 = (char *) 0 ;
+ svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
+ svn_opt_revision_t *arg3 = (svn_opt_revision_t *) 0 ;
+ svn_depth_t arg4 ;
+ svn_boolean_t arg5 ;
+ svn_boolean_t arg6 ;
+ svn_boolean_t arg7 ;
+ apr_array_header_t *arg8 = (apr_array_header_t *) 0 ;
+ svn_client_info_receiver2_t arg9 = (svn_client_info_receiver2_t) 0 ;
+ void *arg10 = (void *) 0 ;
+ svn_client_ctx_t *arg11 = (svn_client_ctx_t *) 0 ;
+ apr_pool_t *arg12 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ int res1 ;
+ char *buf1 = 0 ;
+ int alloc1 = 0 ;
+ svn_opt_revision_t rev2 ;
+ svn_opt_revision_t rev3 ;
+ int res10 ;
+ void *argp11 = 0 ;
+ int res11 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg12);
+ _global_pool = arg12;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 11) || (argc > 12)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 11)",argc); SWIG_fail;
+ }
+ res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_info4", 1, argv[0] ));
+ }
+ arg1 = (char *)(buf1);
+ {
+ arg2 = &rev2;
+ svn_swig_rb_set_revision(&rev2, argv[1]);
+ }
+ {
+ arg3 = &rev3;
+ svn_swig_rb_set_revision(&rev3, argv[2]);
+ }
+ {
+ arg4 = svn_swig_rb_to_depth(argv[3]);
+ }
+ arg5 = RTEST(argv[4]);
+ arg6 = RTEST(argv[5]);
+ arg7 = RTEST(argv[6]);
+ {
+ arg8 = (NIL_P(argv[7])) ? NULL :
+ svn_swig_rb_strings_to_apr_array(argv[7], _global_pool);
+ }
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[8], (void**)(&arg9), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_client_info2_t_p_apr_pool_t__p_svn_error_t);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_client_info_receiver2_t","svn_client_info4", 9, argv[8] ));
+ }
+ }
+ res10 = SWIG_ConvertPtr(argv[9],SWIG_as_voidptrptr(&arg10), 0, 0);
+ if (!SWIG_IsOK(res10)) {
+ SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "void *","svn_client_info4", 10, argv[9] ));
+ }
+ res11 = SWIG_ConvertPtr(argv[10], &argp11,SWIGTYPE_p_svn_client_ctx_t, 0 | 0 );
+ if (!SWIG_IsOK(res11)) {
+ SWIG_exception_fail(SWIG_ArgError(res11), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_info4", 11, argv[10] ));
+ }
+ arg11 = (svn_client_ctx_t *)(argp11);
+ if (argc > 11) {
+
+ }
+ {
+ if (!arg2) {
+ SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
+ }
+ }
+ {
+ if (!arg3) {
+ SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
+ }
+ }
+ {
+ result = (svn_error_t *)svn_client_info4((char const *)arg1,(struct svn_opt_revision_t const *)arg2,(struct svn_opt_revision_t const *)arg3,arg4,arg5,arg6,arg7,(apr_array_header_t const *)arg8,arg9,arg10,arg11,arg12);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_client_info3(int argc, VALUE *argv, VALUE self) {
char *arg1 = (char *) 0 ;
svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ;
@@ -30828,7 +31729,7 @@ _wrap_svn_client_set_log_msg_func3(int argc, VALUE *argv, VALUE self) {
}
arg1 = (svn_client_ctx_t *)(argp1);
{
- arg2 = svn_swig_rb_get_commit_log_func;
+ arg2 = (svn_client_get_commit_log3_t) svn_swig_rb_get_commit_log_func;
arg3 = (void *)svn_swig_rb_make_baton(argv[1], _global_svn_swig_rb_pool);
}
if (argc > 2) {
@@ -30888,7 +31789,7 @@ _wrap_svn_client_set_notify_func2(int argc, VALUE *argv, VALUE self) {
}
arg1 = (svn_client_ctx_t *)(argp1);
{
- arg2 = svn_swig_rb_notify_func2;
+ arg2 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg3 = (void *)svn_swig_rb_make_baton(argv[1], _global_svn_swig_rb_pool);
}
if (argc > 2) {
@@ -30948,7 +31849,7 @@ _wrap_svn_client_set_cancel_func(int argc, VALUE *argv, VALUE self) {
}
arg1 = (svn_client_ctx_t *)(argp1);
{
- arg2 = svn_swig_rb_cancel_func;
+ arg2 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg3 = (void *)svn_swig_rb_make_baton(argv[1], _global_svn_swig_rb_pool);
}
if (argc > 2) {
@@ -31136,6 +32037,7 @@ static swig_type_info _swigt__p_f_p_p_svn_auth_cred_ssl_client_cert_pw_t_p_void_
static swig_type_info _swigt__p_f_p_p_svn_auth_cred_ssl_client_cert_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_svn_auth_cred_ssl_client_cert_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t", "svn_auth_ssl_client_cert_prompt_func_t|struct svn_error_t *(*)(svn_auth_cred_ssl_client_cert_t **,void *,char const *,svn_boolean_t,apr_pool_t *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_p_svn_auth_cred_ssl_server_trust_t_p_void_p_q_const__char_apr_uint32_t_p_q_const__svn_auth_ssl_server_cert_info_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_svn_auth_cred_ssl_server_trust_t_p_void_p_q_const__char_apr_uint32_t_p_q_const__svn_auth_ssl_server_cert_info_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(svn_auth_cred_ssl_server_trust_t **,void *,char const *,apr_uint32_t,svn_auth_ssl_server_cert_info_t const *,svn_boolean_t,apr_pool_t *)|svn_auth_ssl_server_trust_prompt_func_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_p_svn_auth_cred_username_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_svn_auth_cred_username_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(svn_auth_cred_username_t **,void *,char const *,svn_boolean_t,apr_pool_t *)|svn_auth_username_prompt_func_t", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_ra_open_tunnel_func_t|struct svn_error_t *(*)(svn_stream_t **,svn_stream_t **,svn_ra_close_tunnel_func_t *,void **,void *,char const *,char const *,char const *,int,svn_cancel_func_t,void *,apr_pool_t *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description2_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description2_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t", "svn_wc_conflict_resolver_func2_t|struct svn_error_t *(*)(svn_wc_conflict_result_t **,svn_wc_conflict_description2_t const *,void *,apr_pool_t *,apr_pool_t *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_wc_conflict_resolver_func_t|struct svn_error_t *(*)(svn_wc_conflict_result_t **,svn_wc_conflict_description_t const *,void *,apr_pool_t *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_q_const__svn_client_diff_summarize_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_q_const__svn_client_diff_summarize_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_client_diff_summarize_func_t|struct svn_error_t *(*)(svn_client_diff_summarize_t const *,void *,apr_pool_t *)", 0, 0, (void*)0, 0};
@@ -31144,6 +32046,7 @@ static swig_type_info _swigt__p_f_p_void__p_svn_error_t = {"_p_f_p_void__p_svn_e
static swig_type_info _swigt__p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void *,apr_int64_t,svn_revnum_t,char const *,char const *,char const *,apr_pool_t *)|svn_client_blame_receiver_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t", "svn_client_blame_receiver2_t|struct svn_error_t *(*)(void *,apr_int64_t,svn_revnum_t,char const *,char const *,svn_revnum_t,char const *,char const *,char const *,char const *,apr_pool_t *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void *,apr_hash_t *,svn_revnum_t,char const *,char const *,char const *,apr_pool_t *)|svn_log_message_receiver_t", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_f_p_void_p_q_const__char__int = {"_p_f_p_void_p_q_const__char__int", "int (*)(void *,char const *)|svn_ra_check_tunnel_func_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_q_const__char_enum_svn_wc_notify_action_t_enum_svn_node_kind_t_p_q_const__char_enum_svn_wc_notify_state_t_enum_svn_wc_notify_state_t_long__void = {"_p_f_p_void_p_q_const__char_enum_svn_wc_notify_action_t_enum_svn_node_kind_t_p_q_const__char_enum_svn_wc_notify_state_t_enum_svn_wc_notify_state_t_long__void", "void (*)(void *,char const *,enum svn_wc_notify_action_t,enum svn_node_kind_t,char const *,enum svn_wc_notify_state_t,enum svn_wc_notify_state_t,long)|svn_wc_notify_func_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void *,char const *,apr_hash_t *,apr_array_header_t *,apr_pool_t *)|svn_proplist_receiver2_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void *,char const *,apr_hash_t *,apr_pool_t *)|svn_proplist_receiver_t", 0, 0, (void*)0, 0};
@@ -31259,11 +32162,9 @@ static swig_type_info _swigt__p_svn_wc_adm_access_t = {"_p_svn_wc_adm_access_t",
static swig_type_info _swigt__p_svn_wc_committed_queue_t = {"_p_svn_wc_committed_queue_t", "struct svn_wc_committed_queue_t *|svn_wc_committed_queue_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_wc_conflict_action_t = {"_p_svn_wc_conflict_action_t", "enum svn_wc_conflict_action_t *|svn_wc_conflict_action_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_wc_conflict_choice_t = {"_p_svn_wc_conflict_choice_t", "enum svn_wc_conflict_choice_t *|svn_wc_conflict_choice_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_svn_wc_conflict_description2_t = {"_p_svn_wc_conflict_description2_t", "struct svn_wc_conflict_description2_t *|svn_wc_conflict_description2_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_wc_conflict_description_t = {"_p_svn_wc_conflict_description_t", "struct svn_wc_conflict_description_t *|svn_wc_conflict_description_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_wc_conflict_kind_t = {"_p_svn_wc_conflict_kind_t", "enum svn_wc_conflict_kind_t *|svn_wc_conflict_kind_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_wc_conflict_reason_t = {"_p_svn_wc_conflict_reason_t", "enum svn_wc_conflict_reason_t *|svn_wc_conflict_reason_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_svn_wc_conflict_result_t = {"_p_svn_wc_conflict_result_t", "struct svn_wc_conflict_result_t *|svn_wc_conflict_result_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_wc_conflict_version_t = {"_p_svn_wc_conflict_version_t", "struct svn_wc_conflict_version_t *|svn_wc_conflict_version_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_wc_context_t = {"_p_svn_wc_context_t", "struct svn_wc_context_t *|svn_wc_context_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_wc_diff_callbacks2_t = {"_p_svn_wc_diff_callbacks2_t", "struct svn_wc_diff_callbacks2_t *|svn_wc_diff_callbacks2_t *", 0, 0, (void*)0, 0};
@@ -31309,6 +32210,7 @@ static swig_type_info *swig_type_initial[] = {
&_swigt__p_f_p_p_svn_auth_cred_ssl_client_cert_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_p_svn_auth_cred_ssl_server_trust_t_p_void_p_q_const__char_apr_uint32_t_p_q_const__svn_auth_ssl_server_cert_info_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_p_svn_auth_cred_username_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t,
+ &_swigt__p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description2_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description_t_p_void_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_q_const__svn_client_diff_summarize_t_p_void_p_apr_pool_t__p_svn_error_t,
@@ -31317,6 +32219,7 @@ static swig_type_info *swig_type_initial[] = {
&_swigt__p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t,
+ &_swigt__p_f_p_void_p_q_const__char__int,
&_swigt__p_f_p_void_p_q_const__char_enum_svn_wc_notify_action_t_enum_svn_node_kind_t_p_q_const__char_enum_svn_wc_notify_state_t_enum_svn_wc_notify_state_t_long__void,
&_swigt__p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_pool_t__p_svn_error_t,
@@ -31432,11 +32335,9 @@ static swig_type_info *swig_type_initial[] = {
&_swigt__p_svn_wc_committed_queue_t,
&_swigt__p_svn_wc_conflict_action_t,
&_swigt__p_svn_wc_conflict_choice_t,
- &_swigt__p_svn_wc_conflict_description2_t,
&_swigt__p_svn_wc_conflict_description_t,
&_swigt__p_svn_wc_conflict_kind_t,
&_swigt__p_svn_wc_conflict_reason_t,
- &_swigt__p_svn_wc_conflict_result_t,
&_swigt__p_svn_wc_conflict_version_t,
&_swigt__p_svn_wc_context_t,
&_swigt__p_svn_wc_diff_callbacks2_t,
@@ -31482,6 +32383,7 @@ static swig_cast_info _swigc__p_f_p_p_svn_auth_cred_ssl_client_cert_pw_t_p_void_
static swig_cast_info _swigc__p_f_p_p_svn_auth_cred_ssl_client_cert_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_p_svn_auth_cred_ssl_client_cert_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_p_svn_auth_cred_ssl_server_trust_t_p_void_p_q_const__char_apr_uint32_t_p_q_const__svn_auth_ssl_server_cert_info_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_p_svn_auth_cred_ssl_server_trust_t_p_void_p_q_const__char_apr_uint32_t_p_q_const__svn_auth_ssl_server_cert_info_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_p_svn_auth_cred_username_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_p_svn_auth_cred_username_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description2_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description2_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description_t_p_void_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_q_const__svn_client_diff_summarize_t_p_void_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_q_const__svn_client_diff_summarize_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
@@ -31490,6 +32392,7 @@ static swig_cast_info _swigc__p_f_p_void__p_svn_error_t[] = { {&_swigt__p_f_p_v
static swig_cast_info _swigc__p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_f_p_void_p_q_const__char__int[] = { {&_swigt__p_f_p_void_p_q_const__char__int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_q_const__char_enum_svn_wc_notify_action_t_enum_svn_node_kind_t_p_q_const__char_enum_svn_wc_notify_state_t_enum_svn_wc_notify_state_t_long__void[] = { {&_swigt__p_f_p_void_p_q_const__char_enum_svn_wc_notify_action_t_enum_svn_node_kind_t_p_q_const__char_enum_svn_wc_notify_state_t_enum_svn_wc_notify_state_t_long__void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
@@ -31605,11 +32508,9 @@ static swig_cast_info _swigc__p_svn_wc_adm_access_t[] = { {&_swigt__p_svn_wc_ad
static swig_cast_info _swigc__p_svn_wc_committed_queue_t[] = { {&_swigt__p_svn_wc_committed_queue_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_wc_conflict_action_t[] = { {&_swigt__p_svn_wc_conflict_action_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_wc_conflict_choice_t[] = { {&_swigt__p_svn_wc_conflict_choice_t, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_svn_wc_conflict_description2_t[] = { {&_swigt__p_svn_wc_conflict_description2_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_wc_conflict_description_t[] = { {&_swigt__p_svn_wc_conflict_description_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_wc_conflict_kind_t[] = { {&_swigt__p_svn_wc_conflict_kind_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_wc_conflict_reason_t[] = { {&_swigt__p_svn_wc_conflict_reason_t, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_svn_wc_conflict_result_t[] = { {&_swigt__p_svn_wc_conflict_result_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_wc_conflict_version_t[] = { {&_swigt__p_svn_wc_conflict_version_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_wc_context_t[] = { {&_swigt__p_svn_wc_context_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_wc_diff_callbacks2_t[] = { {&_swigt__p_svn_wc_diff_callbacks2_t, 0, 0, 0},{0, 0, 0, 0}};
@@ -31655,6 +32556,7 @@ static swig_cast_info *swig_cast_initial[] = {
_swigc__p_f_p_p_svn_auth_cred_ssl_client_cert_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_p_svn_auth_cred_ssl_server_trust_t_p_void_p_q_const__char_apr_uint32_t_p_q_const__svn_auth_ssl_server_cert_info_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_p_svn_auth_cred_username_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t,
+ _swigc__p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description2_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_p_svn_wc_conflict_result_t_p_q_const__svn_wc_conflict_description_t_p_void_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_q_const__svn_client_diff_summarize_t_p_void_p_apr_pool_t__p_svn_error_t,
@@ -31663,6 +32565,7 @@ static swig_cast_info *swig_cast_initial[] = {
_swigc__p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t,
+ _swigc__p_f_p_void_p_q_const__char__int,
_swigc__p_f_p_void_p_q_const__char_enum_svn_wc_notify_action_t_enum_svn_node_kind_t_p_q_const__char_enum_svn_wc_notify_state_t_enum_svn_wc_notify_state_t_long__void,
_swigc__p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_void_p_q_const__char_p_apr_hash_t_p_apr_pool_t__p_svn_error_t,
@@ -31778,11 +32681,9 @@ static swig_cast_info *swig_cast_initial[] = {
_swigc__p_svn_wc_committed_queue_t,
_swigc__p_svn_wc_conflict_action_t,
_swigc__p_svn_wc_conflict_choice_t,
- _swigc__p_svn_wc_conflict_description2_t,
_swigc__p_svn_wc_conflict_description_t,
_swigc__p_svn_wc_conflict_kind_t,
_swigc__p_svn_wc_conflict_reason_t,
- _swigc__p_svn_wc_conflict_result_t,
_swigc__p_svn_wc_conflict_version_t,
_swigc__p_svn_wc_context_t,
_swigc__p_svn_wc_diff_callbacks2_t,
@@ -31816,18 +32717,18 @@ static swig_cast_info *swig_cast_initial[] = {
/* -----------------------------------------------------------------------------
* Type initialization:
- * This problem is tough by the requirement that no dynamic
- * memory is used. Also, since swig_type_info structures store pointers to
+ * 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
+ * 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
+ * The generated swig_type_info structures are assigned staticly to an initial
* array. We just loop through 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
@@ -31837,17 +32738,17 @@ static swig_cast_info *swig_cast_initial[] = {
* 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
+ * 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.
+ * 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
+ * 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
@@ -31910,7 +32811,7 @@ SWIG_InitializeModule(void *clientdata) {
module_head->next = &swig_module;
}
- /* When multiple interpeters are used, a module could have already been initialized in
+ /* When multiple interpreters are used, a module could have already been initialized in
a different interpreter, but not yet have a pointer in this interpreter.
In this case, we do not want to continue adding types... everything should be
set up already */
@@ -31924,7 +32825,7 @@ SWIG_InitializeModule(void *clientdata) {
swig_type_info *type = 0;
swig_type_info *ret;
swig_cast_info *cast;
-
+
#ifdef SWIGRUNTIME_DEBUG
printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
#endif
@@ -31951,7 +32852,7 @@ SWIG_InitializeModule(void *clientdata) {
/* Insert casting types */
cast = swig_module.cast_initial[i];
while (cast->type) {
-
+
/* Don't need to add information already in the list */
ret = 0;
#ifdef SWIGRUNTIME_DEBUG
@@ -32266,6 +33167,12 @@ SWIGEXPORT void Init_client(void) {
rb_define_method(SwigClassSvn_client_ctx_t.klass, "conflict_baton2", _wrap_svn_client_ctx_t_conflict_baton2_get, -1);
rb_define_method(SwigClassSvn_client_ctx_t.klass, "wc_ctx=", _wrap_svn_client_ctx_t_wc_ctx_set, -1);
rb_define_method(SwigClassSvn_client_ctx_t.klass, "wc_ctx", _wrap_svn_client_ctx_t_wc_ctx_get, -1);
+ rb_define_method(SwigClassSvn_client_ctx_t.klass, "check_tunnel_func=", _wrap_svn_client_ctx_t_check_tunnel_func_set, -1);
+ rb_define_method(SwigClassSvn_client_ctx_t.klass, "check_tunnel_func", _wrap_svn_client_ctx_t_check_tunnel_func_get, -1);
+ rb_define_method(SwigClassSvn_client_ctx_t.klass, "open_tunnel_func=", _wrap_svn_client_ctx_t_open_tunnel_func_set, -1);
+ rb_define_method(SwigClassSvn_client_ctx_t.klass, "open_tunnel_func", _wrap_svn_client_ctx_t_open_tunnel_func_get, -1);
+ rb_define_method(SwigClassSvn_client_ctx_t.klass, "tunnel_baton=", _wrap_svn_client_ctx_t_tunnel_baton_set, -1);
+ rb_define_method(SwigClassSvn_client_ctx_t.klass, "tunnel_baton", _wrap_svn_client_ctx_t_tunnel_baton_get, -1);
SwigClassSvn_client_ctx_t.mark = 0;
SwigClassSvn_client_ctx_t.destroy = (void (*)(void *)) free_svn_client_ctx_t;
SwigClassSvn_client_ctx_t.trackObjects = 0;
@@ -32383,6 +33290,7 @@ SWIGEXPORT void Init_client(void) {
SwigClassSvn_client_status_t.destroy = (void (*)(void *)) free_svn_client_status_t;
SwigClassSvn_client_status_t.trackObjects = 0;
rb_define_module_function(mClient, "svn_client_status_dup", _wrap_svn_client_status_dup, -1);
+ rb_define_module_function(mClient, "svn_client_status6", _wrap_svn_client_status6, -1);
rb_define_module_function(mClient, "svn_client_status5", _wrap_svn_client_status5, -1);
rb_define_module_function(mClient, "svn_client_status4", _wrap_svn_client_status4, -1);
rb_define_module_function(mClient, "svn_client_status3", _wrap_svn_client_status3, -1);
@@ -32432,10 +33340,13 @@ SWIGEXPORT void Init_client(void) {
rb_define_module_function(mClient, "svn_client_mergeinfo_log", _wrap_svn_client_mergeinfo_log, -1);
rb_define_module_function(mClient, "svn_client_mergeinfo_log_merged", _wrap_svn_client_mergeinfo_log_merged, -1);
rb_define_module_function(mClient, "svn_client_mergeinfo_log_eligible", _wrap_svn_client_mergeinfo_log_eligible, -1);
+ rb_define_module_function(mClient, "svn_client_vacuum", _wrap_svn_client_vacuum, -1);
+ rb_define_module_function(mClient, "svn_client_cleanup2", _wrap_svn_client_cleanup2, -1);
rb_define_module_function(mClient, "svn_client_cleanup", _wrap_svn_client_cleanup, -1);
rb_define_module_function(mClient, "svn_client_upgrade", _wrap_svn_client_upgrade, -1);
rb_define_module_function(mClient, "svn_client_relocate2", _wrap_svn_client_relocate2, -1);
rb_define_module_function(mClient, "svn_client_relocate", _wrap_svn_client_relocate, -1);
+ rb_define_module_function(mClient, "svn_client_revert3", _wrap_svn_client_revert3, -1);
rb_define_module_function(mClient, "svn_client_revert2", _wrap_svn_client_revert2, -1);
rb_define_module_function(mClient, "svn_client_revert", _wrap_svn_client_revert, -1);
rb_define_module_function(mClient, "svn_client_resolved", _wrap_svn_client_resolved, -1);
@@ -32451,6 +33362,7 @@ SWIGEXPORT void Init_client(void) {
SwigClassSvn_client_copy_source_t.mark = 0;
SwigClassSvn_client_copy_source_t.destroy = (void (*)(void *)) free_svn_client_copy_source_t;
SwigClassSvn_client_copy_source_t.trackObjects = 0;
+ rb_define_module_function(mClient, "svn_client_copy7", _wrap_svn_client_copy7, -1);
rb_define_module_function(mClient, "svn_client_copy6", _wrap_svn_client_copy6, -1);
rb_define_module_function(mClient, "svn_client_copy5", _wrap_svn_client_copy5, -1);
rb_define_module_function(mClient, "svn_client_copy4", _wrap_svn_client_copy4, -1);
@@ -32493,6 +33405,7 @@ SWIGEXPORT void Init_client(void) {
rb_define_module_function(mClient, "svn_client_ls3", _wrap_svn_client_ls3, -1);
rb_define_module_function(mClient, "svn_client_ls2", _wrap_svn_client_ls2, -1);
rb_define_module_function(mClient, "svn_client_ls", _wrap_svn_client_ls, -1);
+ rb_define_module_function(mClient, "svn_client_cat3", _wrap_svn_client_cat3, -1);
rb_define_module_function(mClient, "svn_client_cat2", _wrap_svn_client_cat2, -1);
rb_define_module_function(mClient, "svn_client_cat", _wrap_svn_client_cat, -1);
rb_define_module_function(mClient, "svn_client_add_to_changelist", _wrap_svn_client_add_to_changelist, -1);
@@ -32594,6 +33507,7 @@ SWIGEXPORT void Init_client(void) {
SwigClassSvn_client_info2_t.destroy = (void (*)(void *)) free_svn_client_info2_t;
SwigClassSvn_client_info2_t.trackObjects = 0;
rb_define_module_function(mClient, "svn_client_info2_dup", _wrap_svn_client_info2_dup, -1);
+ rb_define_module_function(mClient, "svn_client_info4", _wrap_svn_client_info4, -1);
rb_define_module_function(mClient, "svn_client_info3", _wrap_svn_client_info3, -1);
rb_define_module_function(mClient, "svn_client_info2", _wrap_svn_client_info2, -1);
rb_define_module_function(mClient, "svn_client_info", _wrap_svn_client_info, -1);
diff --git a/subversion/bindings/swig/ruby/svn_delta.c b/subversion/bindings/swig/ruby/svn_delta.c
index ba4a469..bf33b52 100644
--- a/subversion/bindings/swig/ruby/svn_delta.c
+++ b/subversion/bindings/swig/ruby/svn_delta.c
@@ -1,11 +1,11 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.9
- *
- * This file is not intended to be easily readable and contains a number of
+ * Version 2.0.12
+ *
+ * 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.
+ * changes to this file unless you know what you are doing--modify the SWIG
+ * interface file instead.
* ----------------------------------------------------------------------------- */
#define SWIGRUBY
@@ -41,28 +41,28 @@
#ifndef SWIGUNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
# elif defined(__ICC)
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
-# define SWIGUNUSED
+# define SWIGUNUSED
# endif
#endif
#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
-# endif
+# endif
#endif
#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
# define SWIGUNUSEDPARM(p)
# else
-# define SWIGUNUSEDPARM(p) p SWIGUNUSED
+# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif
@@ -105,7 +105,7 @@
# define SWIGSTDCALL __stdcall
# else
# define SWIGSTDCALL
-# endif
+# endif
#endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
@@ -150,28 +150,28 @@
#ifndef SWIGUNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
# elif defined(__ICC)
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
-# define SWIGUNUSED
+# define SWIGUNUSED
# endif
#endif
#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
-# endif
+# endif
#endif
#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
# define SWIGUNUSEDPARM(p)
# else
-# define SWIGUNUSEDPARM(p) p SWIGUNUSED
+# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif
@@ -214,7 +214,7 @@
# define SWIGSTDCALL __stdcall
# else
# define SWIGSTDCALL
-# endif
+# endif
#endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
@@ -252,7 +252,7 @@
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 strictly necessary, ie, if you have problems
with your compiler or suchlike.
*/
@@ -278,16 +278,16 @@
#define SWIG_POINTER_OWN 0x1
-/*
+/*
Flags/methods for returning states.
-
- The SWIG conversion methods, as ConvertPtr, return an integer
+
+ The SWIG conversion methods, as ConvertPtr, return an integer
that tells if the conversion was successful or not. And if not,
an error code can be returned (see swigerrors.swg for the codes).
-
+
Use the following macros/flags to set or process the returning
states.
-
+
In old versions of SWIG, code such as the following was usually written:
if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
@@ -320,23 +320,23 @@
} else {
// fail code
}
-
+
I.e., now SWIG_ConvertPtr can return new objects and you can
identify the case and take care of the deallocation. Of course that
also requires SWIG_ConvertPtr to return new result values, such as
- int SWIG_ConvertPtr(obj, ptr,...) {
- if (<obj is ok>) {
- if (<need new object>) {
- *ptr = <ptr to new allocated object>;
- return SWIG_NEWOBJ;
- } else {
- *ptr = <ptr to old object>;
- return SWIG_OLDOBJ;
- }
- } else {
- return SWIG_BADOBJ;
- }
+ int SWIG_ConvertPtr(obj, ptr,...) {
+ if (<obj is ok>) {
+ if (<need new object>) {
+ *ptr = <ptr to new allocated object>;
+ return SWIG_NEWOBJ;
+ } else {
+ *ptr = <ptr to old object>;
+ return SWIG_OLDOBJ;
+ }
+ } else {
+ return SWIG_BADOBJ;
+ }
}
Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
@@ -350,17 +350,17 @@
int fooi(int);
and you call
-
+
food(1) // cast rank '1' (1 -> 1.0)
fooi(1) // cast rank '0'
just use the SWIG_AddCast()/SWIG_CheckState()
*/
-#define SWIG_OK (0)
+#define SWIG_OK (0)
#define SWIG_ERROR (-1)
#define SWIG_IsOK(r) (r >= 0)
-#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
+#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
/* The CastRankLimit says how many bits are used for the cast rank */
#define SWIG_CASTRANKLIMIT (1 << 8)
@@ -391,14 +391,14 @@
# endif
# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
-SWIGINTERNINLINE int SWIG_AddCast(int r) {
+SWIGINTERNINLINE int SWIG_AddCast(int r) {
return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
}
-SWIGINTERNINLINE int SWIG_CheckState(int r) {
- return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
+SWIGINTERNINLINE int SWIG_CheckState(int r) {
+ return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
}
#else /* no cast-rank mode */
-# define SWIG_AddCast
+# define SWIG_AddCast(r) (r)
# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
#endif
@@ -442,7 +442,7 @@ typedef struct swig_module_info {
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.
@@ -462,18 +462,18 @@ SWIG_TypeNameComp(const char *f1, const char *l1,
/*
Check type equivalence in a name list like <name1>|<name2>|...
- Return 0 if not equal, 1 if equal
+ Return 0 if equal, -1 if nb < tb, 1 if nb > tb
*/
SWIGRUNTIME int
-SWIG_TypeEquiv(const char *nb, const char *tb) {
- int equiv = 0;
+SWIG_TypeCmp(const char *nb, const char *tb) {
+ int equiv = 1;
const char* te = tb + strlen(tb);
const char* ne = nb;
- while (!equiv && *ne) {
+ while (equiv != 0 && *ne) {
for (nb = ne; *ne; ++ne) {
if (*ne == '|') break;
}
- equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
+ equiv = SWIG_TypeNameComp(nb, ne, tb, te);
if (*ne) ++ne;
}
return equiv;
@@ -481,24 +481,13 @@ SWIG_TypeEquiv(const char *nb, const char *tb) {
/*
Check type equivalence in a name list like <name1>|<name2>|...
- Return 0 if equal, -1 if nb < tb, 1 if nb > tb
+ Return 0 if not equal, 1 if equal
*/
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;
+SWIG_TypeEquiv(const char *nb, const char *tb) {
+ return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
}
-
/*
Check the typename
*/
@@ -526,7 +515,7 @@ SWIG_TypeCheck(const char *c, swig_type_info *ty) {
return 0;
}
-/*
+/*
Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
*/
SWIGRUNTIME swig_cast_info *
@@ -561,7 +550,7 @@ SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
}
-/*
+/*
Dynamic pointer casting. Down an inheritance hierarchy
*/
SWIGRUNTIME swig_type_info *
@@ -605,7 +594,7 @@ SWIG_TypePrettyName(const swig_type_info *type) {
return type->name;
}
-/*
+/*
Set the clientdata field for a type
*/
SWIGRUNTIME void
@@ -613,14 +602,14 @@ SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
swig_cast_info *cast = ti->cast;
/* if (ti->clientdata == clientdata) return; */
ti->clientdata = clientdata;
-
+
while (cast) {
if (!cast->converter) {
swig_type_info *tc = cast->type;
if (!tc->clientdata) {
SWIG_TypeClientData(tc, clientdata);
}
- }
+ }
cast = cast->next;
}
}
@@ -629,18 +618,18 @@ SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
SWIG_TypeClientData(ti, clientdata);
ti->owndata = 1;
}
-
+
/*
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.
+
+ 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,
+SWIG_MangledTypeQueryModule(swig_module_info *start,
+ swig_module_info *end,
const char *name) {
swig_module_info *iter = start;
do {
@@ -649,11 +638,11 @@ SWIG_MangledTypeQueryModule(swig_module_info *start,
register size_t r = iter->size - 1;
do {
/* since l+r >= 0, we can (>> 1) instead (/ 2) */
- register size_t i = (l + r) >> 1;
+ 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) {
+ if (compare == 0) {
return iter->types[i];
} else if (compare < 0) {
if (i) {
@@ -678,14 +667,14 @@ SWIG_MangledTypeQueryModule(swig_module_info *start,
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.
+
+ 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,
+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);
@@ -704,12 +693,12 @@ SWIG_TypeQueryModule(swig_module_info *start,
iter = iter->next;
} while (iter != end);
}
-
+
/* neither found a match */
return 0;
}
-/*
+/*
Pack binary data into a string
*/
SWIGRUNTIME char *
@@ -725,7 +714,7 @@ SWIG_PackData(char *c, void *ptr, size_t sz) {
return c;
}
-/*
+/*
Unpack binary data from a string
*/
SWIGRUNTIME const char *
@@ -739,21 +728,21 @@ SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
uu = ((d - '0') << 4);
else if ((d >= 'a') && (d <= 'f'))
uu = ((d - ('a'-10)) << 4);
- else
+ 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
+ else
return (char *) 0;
*u = uu;
}
return c;
}
-/*
+/*
Pack 'void *' into a string buffer.
*/
SWIGRUNTIME char *
@@ -813,18 +802,18 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
#endif
/* Errors in SWIG */
-#define SWIG_UnknownError -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_UnknownError -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_AttributeError -11
-#define SWIG_MemoryError -12
+#define SWIG_MemoryError -12
#define SWIG_NullReferenceError -13
@@ -1750,7 +1739,7 @@ SWIG_Ruby_SetModule(swig_module_info *pointer)
SWIGINTERN
int SWIG_Ruby_isCallable( VALUE proc )
{
- if ( rb_respond_to( proc, swig_call_id ) == Qtrue )
+ if ( rb_respond_to( proc, swig_call_id ) )
return 1;
return 0;
}
@@ -1763,7 +1752,7 @@ int SWIG_Ruby_isCallable( VALUE proc )
SWIGINTERN
int SWIG_Ruby_arity( VALUE proc, int minimal )
{
- if ( rb_respond_to( proc, swig_arity_id ) == Qtrue )
+ if ( rb_respond_to( proc, swig_arity_id ) )
{
VALUE num = rb_funcall( proc, swig_arity_id, 0 );
int arity = NUM2INT(num);
@@ -1909,7 +1898,7 @@ static VALUE mDelta;
#define SWIG_RUBY_THREAD_END_BLOCK
-#define SWIGVERSION 0x020009
+#define SWIGVERSION 0x020012
#define SWIG_VERSION SWIGVERSION
@@ -1999,7 +1988,7 @@ SWIG_ruby_failed(void)
}
-/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
+/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
{
VALUE obj = args[0];
@@ -2044,7 +2033,7 @@ SWIG_AsVal_int (VALUE obj, int *val)
}
-/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
+/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
{
VALUE obj = args[0];
@@ -3230,7 +3219,7 @@ _wrap_svn_txdelta_run(int argc, VALUE *argv, VALUE self) {
}
arg5 = (svn_checksum_kind_t)(val5);
{
- arg7 = svn_swig_rb_cancel_func;
+ arg7 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg8 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
if (argc > 5) {
@@ -5437,7 +5426,7 @@ _wrap_svn_delta_get_cancellation_editor(int argc, VALUE *argv, VALUE self) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
}
{
- arg1 = svn_swig_rb_cancel_func;
+ arg1 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg2 = (void *)svn_swig_rb_make_baton(argv[0], _global_svn_swig_rb_pool);
}
res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_svn_delta_editor_t, 0 | 0 );
@@ -5619,7 +5608,7 @@ _wrap_svn_delta_path_driver2(int argc, VALUE *argv, VALUE self) {
}
arg4 = RTEST(argv[2]);
{
- arg5 = svn_swig_rb_delta_path_driver_cb_func;
+ arg5 = (svn_delta_path_driver_cb_func_t) svn_swig_rb_delta_path_driver_cb_func;
arg6 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
if (argc > 4) {
@@ -5704,7 +5693,7 @@ _wrap_svn_delta_path_driver(int argc, VALUE *argv, VALUE self) {
arg4 = svn_swig_rb_strings_to_apr_array(argv[2], _global_pool);
}
{
- arg5 = svn_swig_rb_delta_path_driver_cb_func;
+ arg5 = (svn_delta_path_driver_cb_func_t) svn_swig_rb_delta_path_driver_cb_func;
arg6 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
if (argc > 4) {
@@ -8835,18 +8824,18 @@ static swig_cast_info *swig_cast_initial[] = {
/* -----------------------------------------------------------------------------
* Type initialization:
- * This problem is tough by the requirement that no dynamic
- * memory is used. Also, since swig_type_info structures store pointers to
+ * 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
+ * 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
+ * The generated swig_type_info structures are assigned staticly to an initial
* array. We just loop through 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
@@ -8856,17 +8845,17 @@ static swig_cast_info *swig_cast_initial[] = {
* 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
+ * 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.
+ * 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
+ * 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
@@ -8929,7 +8918,7 @@ SWIG_InitializeModule(void *clientdata) {
module_head->next = &swig_module;
}
- /* When multiple interpeters are used, a module could have already been initialized in
+ /* When multiple interpreters are used, a module could have already been initialized in
a different interpreter, but not yet have a pointer in this interpreter.
In this case, we do not want to continue adding types... everything should be
set up already */
@@ -8943,7 +8932,7 @@ SWIG_InitializeModule(void *clientdata) {
swig_type_info *type = 0;
swig_type_info *ret;
swig_cast_info *cast;
-
+
#ifdef SWIGRUNTIME_DEBUG
printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
#endif
@@ -8970,7 +8959,7 @@ SWIG_InitializeModule(void *clientdata) {
/* Insert casting types */
cast = swig_module.cast_initial[i];
while (cast->type) {
-
+
/* Don't need to add information already in the list */
ret = 0;
#ifdef SWIGRUNTIME_DEBUG
diff --git a/subversion/bindings/swig/ruby/svn_diff.c b/subversion/bindings/swig/ruby/svn_diff.c
index c1876e6..29d59ff 100644
--- a/subversion/bindings/swig/ruby/svn_diff.c
+++ b/subversion/bindings/swig/ruby/svn_diff.c
@@ -1,11 +1,11 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.9
- *
- * This file is not intended to be easily readable and contains a number of
+ * Version 2.0.12
+ *
+ * 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.
+ * changes to this file unless you know what you are doing--modify the SWIG
+ * interface file instead.
* ----------------------------------------------------------------------------- */
#define SWIGRUBY
@@ -41,28 +41,28 @@
#ifndef SWIGUNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
# elif defined(__ICC)
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
-# define SWIGUNUSED
+# define SWIGUNUSED
# endif
#endif
#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
-# endif
+# endif
#endif
#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
# define SWIGUNUSEDPARM(p)
# else
-# define SWIGUNUSEDPARM(p) p SWIGUNUSED
+# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif
@@ -105,7 +105,7 @@
# define SWIGSTDCALL __stdcall
# else
# define SWIGSTDCALL
-# endif
+# endif
#endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
@@ -150,28 +150,28 @@
#ifndef SWIGUNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
# elif defined(__ICC)
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
-# define SWIGUNUSED
+# define SWIGUNUSED
# endif
#endif
#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
-# endif
+# endif
#endif
#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
# define SWIGUNUSEDPARM(p)
# else
-# define SWIGUNUSEDPARM(p) p SWIGUNUSED
+# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif
@@ -214,7 +214,7 @@
# define SWIGSTDCALL __stdcall
# else
# define SWIGSTDCALL
-# endif
+# endif
#endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
@@ -252,7 +252,7 @@
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 strictly necessary, ie, if you have problems
with your compiler or suchlike.
*/
@@ -278,16 +278,16 @@
#define SWIG_POINTER_OWN 0x1
-/*
+/*
Flags/methods for returning states.
-
- The SWIG conversion methods, as ConvertPtr, return an integer
+
+ The SWIG conversion methods, as ConvertPtr, return an integer
that tells if the conversion was successful or not. And if not,
an error code can be returned (see swigerrors.swg for the codes).
-
+
Use the following macros/flags to set or process the returning
states.
-
+
In old versions of SWIG, code such as the following was usually written:
if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
@@ -320,23 +320,23 @@
} else {
// fail code
}
-
+
I.e., now SWIG_ConvertPtr can return new objects and you can
identify the case and take care of the deallocation. Of course that
also requires SWIG_ConvertPtr to return new result values, such as
- int SWIG_ConvertPtr(obj, ptr,...) {
- if (<obj is ok>) {
- if (<need new object>) {
- *ptr = <ptr to new allocated object>;
- return SWIG_NEWOBJ;
- } else {
- *ptr = <ptr to old object>;
- return SWIG_OLDOBJ;
- }
- } else {
- return SWIG_BADOBJ;
- }
+ int SWIG_ConvertPtr(obj, ptr,...) {
+ if (<obj is ok>) {
+ if (<need new object>) {
+ *ptr = <ptr to new allocated object>;
+ return SWIG_NEWOBJ;
+ } else {
+ *ptr = <ptr to old object>;
+ return SWIG_OLDOBJ;
+ }
+ } else {
+ return SWIG_BADOBJ;
+ }
}
Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
@@ -350,17 +350,17 @@
int fooi(int);
and you call
-
+
food(1) // cast rank '1' (1 -> 1.0)
fooi(1) // cast rank '0'
just use the SWIG_AddCast()/SWIG_CheckState()
*/
-#define SWIG_OK (0)
+#define SWIG_OK (0)
#define SWIG_ERROR (-1)
#define SWIG_IsOK(r) (r >= 0)
-#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
+#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
/* The CastRankLimit says how many bits are used for the cast rank */
#define SWIG_CASTRANKLIMIT (1 << 8)
@@ -391,14 +391,14 @@
# endif
# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
-SWIGINTERNINLINE int SWIG_AddCast(int r) {
+SWIGINTERNINLINE int SWIG_AddCast(int r) {
return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
}
-SWIGINTERNINLINE int SWIG_CheckState(int r) {
- return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
+SWIGINTERNINLINE int SWIG_CheckState(int r) {
+ return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
}
#else /* no cast-rank mode */
-# define SWIG_AddCast
+# define SWIG_AddCast(r) (r)
# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
#endif
@@ -442,7 +442,7 @@ typedef struct swig_module_info {
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.
@@ -462,18 +462,18 @@ SWIG_TypeNameComp(const char *f1, const char *l1,
/*
Check type equivalence in a name list like <name1>|<name2>|...
- Return 0 if not equal, 1 if equal
+ Return 0 if equal, -1 if nb < tb, 1 if nb > tb
*/
SWIGRUNTIME int
-SWIG_TypeEquiv(const char *nb, const char *tb) {
- int equiv = 0;
+SWIG_TypeCmp(const char *nb, const char *tb) {
+ int equiv = 1;
const char* te = tb + strlen(tb);
const char* ne = nb;
- while (!equiv && *ne) {
+ while (equiv != 0 && *ne) {
for (nb = ne; *ne; ++ne) {
if (*ne == '|') break;
}
- equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
+ equiv = SWIG_TypeNameComp(nb, ne, tb, te);
if (*ne) ++ne;
}
return equiv;
@@ -481,24 +481,13 @@ SWIG_TypeEquiv(const char *nb, const char *tb) {
/*
Check type equivalence in a name list like <name1>|<name2>|...
- Return 0 if equal, -1 if nb < tb, 1 if nb > tb
+ Return 0 if not equal, 1 if equal
*/
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;
+SWIG_TypeEquiv(const char *nb, const char *tb) {
+ return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
}
-
/*
Check the typename
*/
@@ -526,7 +515,7 @@ SWIG_TypeCheck(const char *c, swig_type_info *ty) {
return 0;
}
-/*
+/*
Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
*/
SWIGRUNTIME swig_cast_info *
@@ -561,7 +550,7 @@ SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
}
-/*
+/*
Dynamic pointer casting. Down an inheritance hierarchy
*/
SWIGRUNTIME swig_type_info *
@@ -605,7 +594,7 @@ SWIG_TypePrettyName(const swig_type_info *type) {
return type->name;
}
-/*
+/*
Set the clientdata field for a type
*/
SWIGRUNTIME void
@@ -613,14 +602,14 @@ SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
swig_cast_info *cast = ti->cast;
/* if (ti->clientdata == clientdata) return; */
ti->clientdata = clientdata;
-
+
while (cast) {
if (!cast->converter) {
swig_type_info *tc = cast->type;
if (!tc->clientdata) {
SWIG_TypeClientData(tc, clientdata);
}
- }
+ }
cast = cast->next;
}
}
@@ -629,18 +618,18 @@ SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
SWIG_TypeClientData(ti, clientdata);
ti->owndata = 1;
}
-
+
/*
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.
+
+ 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,
+SWIG_MangledTypeQueryModule(swig_module_info *start,
+ swig_module_info *end,
const char *name) {
swig_module_info *iter = start;
do {
@@ -649,11 +638,11 @@ SWIG_MangledTypeQueryModule(swig_module_info *start,
register size_t r = iter->size - 1;
do {
/* since l+r >= 0, we can (>> 1) instead (/ 2) */
- register size_t i = (l + r) >> 1;
+ 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) {
+ if (compare == 0) {
return iter->types[i];
} else if (compare < 0) {
if (i) {
@@ -678,14 +667,14 @@ SWIG_MangledTypeQueryModule(swig_module_info *start,
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.
+
+ 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,
+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);
@@ -704,12 +693,12 @@ SWIG_TypeQueryModule(swig_module_info *start,
iter = iter->next;
} while (iter != end);
}
-
+
/* neither found a match */
return 0;
}
-/*
+/*
Pack binary data into a string
*/
SWIGRUNTIME char *
@@ -725,7 +714,7 @@ SWIG_PackData(char *c, void *ptr, size_t sz) {
return c;
}
-/*
+/*
Unpack binary data from a string
*/
SWIGRUNTIME const char *
@@ -739,21 +728,21 @@ SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
uu = ((d - '0') << 4);
else if ((d >= 'a') && (d <= 'f'))
uu = ((d - ('a'-10)) << 4);
- else
+ 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
+ else
return (char *) 0;
*u = uu;
}
return c;
}
-/*
+/*
Pack 'void *' into a string buffer.
*/
SWIGRUNTIME char *
@@ -813,18 +802,18 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
#endif
/* Errors in SWIG */
-#define SWIG_UnknownError -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_UnknownError -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_AttributeError -11
-#define SWIG_MemoryError -12
+#define SWIG_MemoryError -12
#define SWIG_NullReferenceError -13
@@ -1750,7 +1739,7 @@ SWIG_Ruby_SetModule(swig_module_info *pointer)
SWIGINTERN
int SWIG_Ruby_isCallable( VALUE proc )
{
- if ( rb_respond_to( proc, swig_call_id ) == Qtrue )
+ if ( rb_respond_to( proc, swig_call_id ) )
return 1;
return 0;
}
@@ -1763,7 +1752,7 @@ int SWIG_Ruby_isCallable( VALUE proc )
SWIGINTERN
int SWIG_Ruby_arity( VALUE proc, int minimal )
{
- if ( rb_respond_to( proc, swig_arity_id ) == Qtrue )
+ if ( rb_respond_to( proc, swig_arity_id ) )
{
VALUE num = rb_funcall( proc, swig_arity_id, 0 );
int arity = NUM2INT(num);
@@ -1876,7 +1865,7 @@ static VALUE mDiff;
#define SWIG_RUBY_THREAD_END_BLOCK
-#define SWIGVERSION 0x020009
+#define SWIGVERSION 0x020012
#define SWIG_VERSION SWIGVERSION
@@ -2212,18 +2201,18 @@ static swig_cast_info *swig_cast_initial[] = {
/* -----------------------------------------------------------------------------
* Type initialization:
- * This problem is tough by the requirement that no dynamic
- * memory is used. Also, since swig_type_info structures store pointers to
+ * 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
+ * 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
+ * The generated swig_type_info structures are assigned staticly to an initial
* array. We just loop through 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
@@ -2233,17 +2222,17 @@ static swig_cast_info *swig_cast_initial[] = {
* 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
+ * 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.
+ * 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
+ * 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
@@ -2306,7 +2295,7 @@ SWIG_InitializeModule(void *clientdata) {
module_head->next = &swig_module;
}
- /* When multiple interpeters are used, a module could have already been initialized in
+ /* When multiple interpreters are used, a module could have already been initialized in
a different interpreter, but not yet have a pointer in this interpreter.
In this case, we do not want to continue adding types... everything should be
set up already */
@@ -2320,7 +2309,7 @@ SWIG_InitializeModule(void *clientdata) {
swig_type_info *type = 0;
swig_type_info *ret;
swig_cast_info *cast;
-
+
#ifdef SWIGRUNTIME_DEBUG
printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
#endif
@@ -2347,7 +2336,7 @@ SWIG_InitializeModule(void *clientdata) {
/* Insert casting types */
cast = swig_module.cast_initial[i];
while (cast->type) {
-
+
/* Don't need to add information already in the list */
ret = 0;
#ifdef SWIGRUNTIME_DEBUG
diff --git a/subversion/bindings/swig/ruby/svn_fs.c b/subversion/bindings/swig/ruby/svn_fs.c
index 6fd03dc..37bb6fa 100644
--- a/subversion/bindings/swig/ruby/svn_fs.c
+++ b/subversion/bindings/swig/ruby/svn_fs.c
@@ -1,11 +1,11 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.9
- *
- * This file is not intended to be easily readable and contains a number of
+ * Version 2.0.12
+ *
+ * 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.
+ * changes to this file unless you know what you are doing--modify the SWIG
+ * interface file instead.
* ----------------------------------------------------------------------------- */
#define SWIGRUBY
@@ -41,28 +41,28 @@
#ifndef SWIGUNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
# elif defined(__ICC)
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
-# define SWIGUNUSED
+# define SWIGUNUSED
# endif
#endif
#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
-# endif
+# endif
#endif
#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
# define SWIGUNUSEDPARM(p)
# else
-# define SWIGUNUSEDPARM(p) p SWIGUNUSED
+# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif
@@ -105,7 +105,7 @@
# define SWIGSTDCALL __stdcall
# else
# define SWIGSTDCALL
-# endif
+# endif
#endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
@@ -150,28 +150,28 @@
#ifndef SWIGUNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
# elif defined(__ICC)
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
-# define SWIGUNUSED
+# define SWIGUNUSED
# endif
#endif
#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
-# endif
+# endif
#endif
#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
# define SWIGUNUSEDPARM(p)
# else
-# define SWIGUNUSEDPARM(p) p SWIGUNUSED
+# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif
@@ -214,7 +214,7 @@
# define SWIGSTDCALL __stdcall
# else
# define SWIGSTDCALL
-# endif
+# endif
#endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
@@ -252,7 +252,7 @@
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 strictly necessary, ie, if you have problems
with your compiler or suchlike.
*/
@@ -278,16 +278,16 @@
#define SWIG_POINTER_OWN 0x1
-/*
+/*
Flags/methods for returning states.
-
- The SWIG conversion methods, as ConvertPtr, return an integer
+
+ The SWIG conversion methods, as ConvertPtr, return an integer
that tells if the conversion was successful or not. And if not,
an error code can be returned (see swigerrors.swg for the codes).
-
+
Use the following macros/flags to set or process the returning
states.
-
+
In old versions of SWIG, code such as the following was usually written:
if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
@@ -320,23 +320,23 @@
} else {
// fail code
}
-
+
I.e., now SWIG_ConvertPtr can return new objects and you can
identify the case and take care of the deallocation. Of course that
also requires SWIG_ConvertPtr to return new result values, such as
- int SWIG_ConvertPtr(obj, ptr,...) {
- if (<obj is ok>) {
- if (<need new object>) {
- *ptr = <ptr to new allocated object>;
- return SWIG_NEWOBJ;
- } else {
- *ptr = <ptr to old object>;
- return SWIG_OLDOBJ;
- }
- } else {
- return SWIG_BADOBJ;
- }
+ int SWIG_ConvertPtr(obj, ptr,...) {
+ if (<obj is ok>) {
+ if (<need new object>) {
+ *ptr = <ptr to new allocated object>;
+ return SWIG_NEWOBJ;
+ } else {
+ *ptr = <ptr to old object>;
+ return SWIG_OLDOBJ;
+ }
+ } else {
+ return SWIG_BADOBJ;
+ }
}
Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
@@ -350,17 +350,17 @@
int fooi(int);
and you call
-
+
food(1) // cast rank '1' (1 -> 1.0)
fooi(1) // cast rank '0'
just use the SWIG_AddCast()/SWIG_CheckState()
*/
-#define SWIG_OK (0)
+#define SWIG_OK (0)
#define SWIG_ERROR (-1)
#define SWIG_IsOK(r) (r >= 0)
-#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
+#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
/* The CastRankLimit says how many bits are used for the cast rank */
#define SWIG_CASTRANKLIMIT (1 << 8)
@@ -391,14 +391,14 @@
# endif
# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
-SWIGINTERNINLINE int SWIG_AddCast(int r) {
+SWIGINTERNINLINE int SWIG_AddCast(int r) {
return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
}
-SWIGINTERNINLINE int SWIG_CheckState(int r) {
- return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
+SWIGINTERNINLINE int SWIG_CheckState(int r) {
+ return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
}
#else /* no cast-rank mode */
-# define SWIG_AddCast
+# define SWIG_AddCast(r) (r)
# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
#endif
@@ -442,7 +442,7 @@ typedef struct swig_module_info {
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.
@@ -462,18 +462,18 @@ SWIG_TypeNameComp(const char *f1, const char *l1,
/*
Check type equivalence in a name list like <name1>|<name2>|...
- Return 0 if not equal, 1 if equal
+ Return 0 if equal, -1 if nb < tb, 1 if nb > tb
*/
SWIGRUNTIME int
-SWIG_TypeEquiv(const char *nb, const char *tb) {
- int equiv = 0;
+SWIG_TypeCmp(const char *nb, const char *tb) {
+ int equiv = 1;
const char* te = tb + strlen(tb);
const char* ne = nb;
- while (!equiv && *ne) {
+ while (equiv != 0 && *ne) {
for (nb = ne; *ne; ++ne) {
if (*ne == '|') break;
}
- equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
+ equiv = SWIG_TypeNameComp(nb, ne, tb, te);
if (*ne) ++ne;
}
return equiv;
@@ -481,24 +481,13 @@ SWIG_TypeEquiv(const char *nb, const char *tb) {
/*
Check type equivalence in a name list like <name1>|<name2>|...
- Return 0 if equal, -1 if nb < tb, 1 if nb > tb
+ Return 0 if not equal, 1 if equal
*/
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;
+SWIG_TypeEquiv(const char *nb, const char *tb) {
+ return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
}
-
/*
Check the typename
*/
@@ -526,7 +515,7 @@ SWIG_TypeCheck(const char *c, swig_type_info *ty) {
return 0;
}
-/*
+/*
Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
*/
SWIGRUNTIME swig_cast_info *
@@ -561,7 +550,7 @@ SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
}
-/*
+/*
Dynamic pointer casting. Down an inheritance hierarchy
*/
SWIGRUNTIME swig_type_info *
@@ -605,7 +594,7 @@ SWIG_TypePrettyName(const swig_type_info *type) {
return type->name;
}
-/*
+/*
Set the clientdata field for a type
*/
SWIGRUNTIME void
@@ -613,14 +602,14 @@ SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
swig_cast_info *cast = ti->cast;
/* if (ti->clientdata == clientdata) return; */
ti->clientdata = clientdata;
-
+
while (cast) {
if (!cast->converter) {
swig_type_info *tc = cast->type;
if (!tc->clientdata) {
SWIG_TypeClientData(tc, clientdata);
}
- }
+ }
cast = cast->next;
}
}
@@ -629,18 +618,18 @@ SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
SWIG_TypeClientData(ti, clientdata);
ti->owndata = 1;
}
-
+
/*
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.
+
+ 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,
+SWIG_MangledTypeQueryModule(swig_module_info *start,
+ swig_module_info *end,
const char *name) {
swig_module_info *iter = start;
do {
@@ -649,11 +638,11 @@ SWIG_MangledTypeQueryModule(swig_module_info *start,
register size_t r = iter->size - 1;
do {
/* since l+r >= 0, we can (>> 1) instead (/ 2) */
- register size_t i = (l + r) >> 1;
+ 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) {
+ if (compare == 0) {
return iter->types[i];
} else if (compare < 0) {
if (i) {
@@ -678,14 +667,14 @@ SWIG_MangledTypeQueryModule(swig_module_info *start,
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.
+
+ 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,
+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);
@@ -704,12 +693,12 @@ SWIG_TypeQueryModule(swig_module_info *start,
iter = iter->next;
} while (iter != end);
}
-
+
/* neither found a match */
return 0;
}
-/*
+/*
Pack binary data into a string
*/
SWIGRUNTIME char *
@@ -725,7 +714,7 @@ SWIG_PackData(char *c, void *ptr, size_t sz) {
return c;
}
-/*
+/*
Unpack binary data from a string
*/
SWIGRUNTIME const char *
@@ -739,21 +728,21 @@ SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
uu = ((d - '0') << 4);
else if ((d >= 'a') && (d <= 'f'))
uu = ((d - ('a'-10)) << 4);
- else
+ 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
+ else
return (char *) 0;
*u = uu;
}
return c;
}
-/*
+/*
Pack 'void *' into a string buffer.
*/
SWIGRUNTIME char *
@@ -813,18 +802,18 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
#endif
/* Errors in SWIG */
-#define SWIG_UnknownError -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_UnknownError -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_AttributeError -11
-#define SWIG_MemoryError -12
+#define SWIG_MemoryError -12
#define SWIG_NullReferenceError -13
@@ -1750,7 +1739,7 @@ SWIG_Ruby_SetModule(swig_module_info *pointer)
SWIGINTERN
int SWIG_Ruby_isCallable( VALUE proc )
{
- if ( rb_respond_to( proc, swig_call_id ) == Qtrue )
+ if ( rb_respond_to( proc, swig_call_id ) )
return 1;
return 0;
}
@@ -1763,7 +1752,7 @@ int SWIG_Ruby_isCallable( VALUE proc )
SWIGINTERN
int SWIG_Ruby_arity( VALUE proc, int minimal )
{
- if ( rb_respond_to( proc, swig_arity_id ) == Qtrue )
+ if ( rb_respond_to( proc, swig_arity_id ) )
{
VALUE num = rb_funcall( proc, swig_arity_id, 0 );
int arity = NUM2INT(num);
@@ -1797,114 +1786,126 @@ int SWIG_Ruby_arity( VALUE proc, int minimal )
#define SWIGTYPE_p_apr_int32_t swig_types[2]
#define SWIGTYPE_p_apr_int64_t swig_types[3]
#define SWIGTYPE_p_apr_pool_t swig_types[4]
-#define SWIGTYPE_p_char swig_types[5]
-#define SWIGTYPE_p_f_long_p_void_p_apr_pool_t__void swig_types[6]
-#define SWIGTYPE_p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[7]
-#define SWIGTYPE_p_f_p_q_const__unsigned_char_apr_size_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[8]
-#define SWIGTYPE_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t swig_types[9]
-#define SWIGTYPE_p_f_p_void__p_svn_error_t swig_types[10]
-#define SWIGTYPE_p_f_p_void_apr_int64_t_svn_fs_pack_notify_action_t_p_apr_pool_t__p_svn_error_t swig_types[11]
-#define SWIGTYPE_p_f_p_void_p_apr_pool_t__p_svn_error_t swig_types[12]
-#define SWIGTYPE_p_f_p_void_p_struct_svn_error_t__void swig_types[13]
-#define SWIGTYPE_p_f_p_void_p_svn_lock_t_p_apr_pool_t__p_svn_error_t swig_types[14]
-#define SWIGTYPE_p_int swig_types[15]
-#define SWIGTYPE_p_long swig_types[16]
-#define SWIGTYPE_p_p_apr_array_header_t swig_types[17]
-#define SWIGTYPE_p_p_apr_hash_t swig_types[18]
-#define SWIGTYPE_p_p_char swig_types[19]
-#define SWIGTYPE_p_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t swig_types[20]
-#define SWIGTYPE_p_p_svn_checksum_t swig_types[21]
-#define SWIGTYPE_p_p_svn_fs_access_t swig_types[22]
-#define SWIGTYPE_p_p_svn_fs_history_t swig_types[23]
-#define SWIGTYPE_p_p_svn_fs_id_t swig_types[24]
-#define SWIGTYPE_p_p_svn_fs_root_t swig_types[25]
-#define SWIGTYPE_p_p_svn_fs_t swig_types[26]
-#define SWIGTYPE_p_p_svn_fs_txn_t swig_types[27]
-#define SWIGTYPE_p_p_svn_lock_t swig_types[28]
-#define SWIGTYPE_p_p_svn_stream_t swig_types[29]
-#define SWIGTYPE_p_p_svn_string_t swig_types[30]
-#define SWIGTYPE_p_p_svn_txdelta_stream_t swig_types[31]
-#define SWIGTYPE_p_p_void swig_types[32]
-#define SWIGTYPE_p_svn_auth_baton_t swig_types[33]
-#define SWIGTYPE_p_svn_auth_cred_simple_t swig_types[34]
-#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t swig_types[35]
-#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t swig_types[36]
-#define SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t swig_types[37]
-#define SWIGTYPE_p_svn_auth_cred_username_t swig_types[38]
-#define SWIGTYPE_p_svn_auth_iterstate_t swig_types[39]
-#define SWIGTYPE_p_svn_auth_provider_object_t swig_types[40]
-#define SWIGTYPE_p_svn_auth_provider_t swig_types[41]
-#define SWIGTYPE_p_svn_auth_ssl_server_cert_info_t swig_types[42]
-#define SWIGTYPE_p_svn_checksum_ctx_t swig_types[43]
-#define SWIGTYPE_p_svn_checksum_kind_t swig_types[44]
-#define SWIGTYPE_p_svn_checksum_t swig_types[45]
-#define SWIGTYPE_p_svn_commit_info_t swig_types[46]
-#define SWIGTYPE_p_svn_config_t swig_types[47]
-#define SWIGTYPE_p_svn_delta_editor_t swig_types[48]
-#define SWIGTYPE_p_svn_depth_t swig_types[49]
-#define SWIGTYPE_p_svn_diff_conflict_display_style_t swig_types[50]
-#define SWIGTYPE_p_svn_diff_datasource_e swig_types[51]
-#define SWIGTYPE_p_svn_diff_file_ignore_space_t swig_types[52]
-#define SWIGTYPE_p_svn_diff_file_options_t swig_types[53]
-#define SWIGTYPE_p_svn_diff_fns2_t swig_types[54]
-#define SWIGTYPE_p_svn_diff_fns_t swig_types[55]
-#define SWIGTYPE_p_svn_diff_hunk_t swig_types[56]
-#define SWIGTYPE_p_svn_diff_operation_kind_e swig_types[57]
-#define SWIGTYPE_p_svn_diff_output_fns_t swig_types[58]
-#define SWIGTYPE_p_svn_diff_t swig_types[59]
-#define SWIGTYPE_p_svn_dirent_t swig_types[60]
-#define SWIGTYPE_p_svn_errno_t swig_types[61]
-#define SWIGTYPE_p_svn_error_t swig_types[62]
-#define SWIGTYPE_p_svn_fs_access_t swig_types[63]
-#define SWIGTYPE_p_svn_fs_dirent_t swig_types[64]
-#define SWIGTYPE_p_svn_fs_history_t swig_types[65]
-#define SWIGTYPE_p_svn_fs_id_t swig_types[66]
-#define SWIGTYPE_p_svn_fs_pack_notify_action_t swig_types[67]
-#define SWIGTYPE_p_svn_fs_path_change2_t swig_types[68]
-#define SWIGTYPE_p_svn_fs_path_change_kind_t swig_types[69]
-#define SWIGTYPE_p_svn_fs_path_change_t swig_types[70]
-#define SWIGTYPE_p_svn_fs_root_t swig_types[71]
-#define SWIGTYPE_p_svn_fs_t swig_types[72]
-#define SWIGTYPE_p_svn_fs_txn_t swig_types[73]
-#define SWIGTYPE_p_svn_io_dirent2_t swig_types[74]
-#define SWIGTYPE_p_svn_io_dirent_t swig_types[75]
-#define SWIGTYPE_p_svn_io_file_del_t swig_types[76]
-#define SWIGTYPE_p_svn_location_segment_t swig_types[77]
-#define SWIGTYPE_p_svn_lock_t swig_types[78]
-#define SWIGTYPE_p_svn_log_changed_path2_t swig_types[79]
-#define SWIGTYPE_p_svn_log_changed_path_t swig_types[80]
-#define SWIGTYPE_p_svn_log_entry_t swig_types[81]
-#define SWIGTYPE_p_svn_merge_range_t swig_types[82]
-#define SWIGTYPE_p_svn_mergeinfo_inheritance_t swig_types[83]
-#define SWIGTYPE_p_svn_node_kind_t swig_types[84]
-#define SWIGTYPE_p_svn_opt_revision_range_t swig_types[85]
-#define SWIGTYPE_p_svn_opt_revision_t swig_types[86]
-#define SWIGTYPE_p_svn_opt_revision_value_t swig_types[87]
-#define SWIGTYPE_p_svn_opt_subcommand_desc2_t swig_types[88]
-#define SWIGTYPE_p_svn_opt_subcommand_desc_t swig_types[89]
-#define SWIGTYPE_p_svn_patch_file_t swig_types[90]
-#define SWIGTYPE_p_svn_patch_t swig_types[91]
-#define SWIGTYPE_p_svn_prop_inherited_item_t swig_types[92]
-#define SWIGTYPE_p_svn_prop_kind swig_types[93]
-#define SWIGTYPE_p_svn_prop_patch_t swig_types[94]
-#define SWIGTYPE_p_svn_stream_mark_t swig_types[95]
-#define SWIGTYPE_p_svn_stream_t swig_types[96]
-#define SWIGTYPE_p_svn_string_t swig_types[97]
-#define SWIGTYPE_p_svn_stringbuf_t swig_types[98]
-#define SWIGTYPE_p_svn_tristate_t swig_types[99]
-#define SWIGTYPE_p_svn_txdelta_op_t swig_types[100]
-#define SWIGTYPE_p_svn_txdelta_stream_t swig_types[101]
-#define SWIGTYPE_p_svn_txdelta_window_t swig_types[102]
-#define SWIGTYPE_p_svn_version_checklist_t swig_types[103]
-#define SWIGTYPE_p_svn_version_ext_linked_lib_t swig_types[104]
-#define SWIGTYPE_p_svn_version_ext_loaded_lib_t swig_types[105]
-#define SWIGTYPE_p_svn_version_extended_t swig_types[106]
-#define SWIGTYPE_p_svn_version_t swig_types[107]
-#define SWIGTYPE_p_unsigned_char swig_types[108]
-#define SWIGTYPE_p_unsigned_long swig_types[109]
-#define SWIGTYPE_p_void swig_types[110]
-static swig_type_info *swig_types[112];
-static swig_module_info swig_module = {swig_types, 111, 0, 0, 0, 0};
+#define SWIGTYPE_p_apr_uint64_t swig_types[5]
+#define SWIGTYPE_p_char swig_types[6]
+#define SWIGTYPE_p_f_long_p_void_p_apr_pool_t__void swig_types[7]
+#define SWIGTYPE_p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[8]
+#define SWIGTYPE_p_f_p_q_const__unsigned_char_apr_size_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[9]
+#define SWIGTYPE_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t swig_types[10]
+#define SWIGTYPE_p_f_p_void__p_svn_error_t swig_types[11]
+#define SWIGTYPE_p_f_p_void_apr_int64_t_svn_fs_pack_notify_action_t_p_apr_pool_t__p_svn_error_t swig_types[12]
+#define SWIGTYPE_p_f_p_void_apr_uint64_t_svn_fs_upgrade_notify_action_t_p_apr_pool_t__p_svn_error_t swig_types[13]
+#define SWIGTYPE_p_f_p_void_long_long_p_apr_pool_t__void swig_types[14]
+#define SWIGTYPE_p_f_p_void_p_apr_pool_t__p_svn_error_t swig_types[15]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t swig_types[16]
+#define SWIGTYPE_p_f_p_void_p_struct_svn_error_t__void swig_types[17]
+#define SWIGTYPE_p_f_p_void_p_svn_lock_t_p_apr_pool_t__p_svn_error_t swig_types[18]
+#define SWIGTYPE_p_int swig_types[19]
+#define SWIGTYPE_p_long swig_types[20]
+#define SWIGTYPE_p_p_apr_array_header_t swig_types[21]
+#define SWIGTYPE_p_p_apr_hash_t swig_types[22]
+#define SWIGTYPE_p_p_char swig_types[23]
+#define SWIGTYPE_p_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t swig_types[24]
+#define SWIGTYPE_p_p_svn_checksum_t swig_types[25]
+#define SWIGTYPE_p_p_svn_fs_access_t swig_types[26]
+#define SWIGTYPE_p_p_svn_fs_history_t swig_types[27]
+#define SWIGTYPE_p_p_svn_fs_id_t swig_types[28]
+#define SWIGTYPE_p_p_svn_fs_info_placeholder_t swig_types[29]
+#define SWIGTYPE_p_p_svn_fs_root_t swig_types[30]
+#define SWIGTYPE_p_p_svn_fs_t swig_types[31]
+#define SWIGTYPE_p_p_svn_fs_txn_t swig_types[32]
+#define SWIGTYPE_p_p_svn_lock_t swig_types[33]
+#define SWIGTYPE_p_p_svn_stream_t swig_types[34]
+#define SWIGTYPE_p_p_svn_string_t swig_types[35]
+#define SWIGTYPE_p_p_svn_txdelta_stream_t swig_types[36]
+#define SWIGTYPE_p_p_svn_version_t swig_types[37]
+#define SWIGTYPE_p_p_void swig_types[38]
+#define SWIGTYPE_p_svn_auth_baton_t swig_types[39]
+#define SWIGTYPE_p_svn_auth_cred_simple_t swig_types[40]
+#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t swig_types[41]
+#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t swig_types[42]
+#define SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t swig_types[43]
+#define SWIGTYPE_p_svn_auth_cred_username_t swig_types[44]
+#define SWIGTYPE_p_svn_auth_iterstate_t swig_types[45]
+#define SWIGTYPE_p_svn_auth_provider_object_t swig_types[46]
+#define SWIGTYPE_p_svn_auth_provider_t swig_types[47]
+#define SWIGTYPE_p_svn_auth_ssl_server_cert_info_t swig_types[48]
+#define SWIGTYPE_p_svn_checksum_ctx_t swig_types[49]
+#define SWIGTYPE_p_svn_checksum_kind_t swig_types[50]
+#define SWIGTYPE_p_svn_checksum_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_delta_editor_t swig_types[54]
+#define SWIGTYPE_p_svn_depth_t swig_types[55]
+#define SWIGTYPE_p_svn_diff_conflict_display_style_t swig_types[56]
+#define SWIGTYPE_p_svn_diff_datasource_e swig_types[57]
+#define SWIGTYPE_p_svn_diff_file_ignore_space_t swig_types[58]
+#define SWIGTYPE_p_svn_diff_file_options_t swig_types[59]
+#define SWIGTYPE_p_svn_diff_fns2_t swig_types[60]
+#define SWIGTYPE_p_svn_diff_fns_t swig_types[61]
+#define SWIGTYPE_p_svn_diff_hunk_t swig_types[62]
+#define SWIGTYPE_p_svn_diff_operation_kind_e swig_types[63]
+#define SWIGTYPE_p_svn_diff_output_fns_t swig_types[64]
+#define SWIGTYPE_p_svn_diff_t swig_types[65]
+#define SWIGTYPE_p_svn_dirent_t swig_types[66]
+#define SWIGTYPE_p_svn_errno_t swig_types[67]
+#define SWIGTYPE_p_svn_error_t swig_types[68]
+#define SWIGTYPE_p_svn_fs_access_t swig_types[69]
+#define SWIGTYPE_p_svn_fs_dirent_t swig_types[70]
+#define SWIGTYPE_p_svn_fs_fsfs_info_t swig_types[71]
+#define SWIGTYPE_p_svn_fs_fsx_info_t swig_types[72]
+#define SWIGTYPE_p_svn_fs_history_t swig_types[73]
+#define SWIGTYPE_p_svn_fs_id_t swig_types[74]
+#define SWIGTYPE_p_svn_fs_info_placeholder_t swig_types[75]
+#define SWIGTYPE_p_svn_fs_lock_target_t swig_types[76]
+#define SWIGTYPE_p_svn_fs_node_relation_t swig_types[77]
+#define SWIGTYPE_p_svn_fs_pack_notify_action_t swig_types[78]
+#define SWIGTYPE_p_svn_fs_path_change2_t swig_types[79]
+#define SWIGTYPE_p_svn_fs_path_change_kind_t swig_types[80]
+#define SWIGTYPE_p_svn_fs_path_change_t swig_types[81]
+#define SWIGTYPE_p_svn_fs_root_t swig_types[82]
+#define SWIGTYPE_p_svn_fs_t swig_types[83]
+#define SWIGTYPE_p_svn_fs_txn_t swig_types[84]
+#define SWIGTYPE_p_svn_fs_upgrade_notify_action_t swig_types[85]
+#define SWIGTYPE_p_svn_io_dirent2_t swig_types[86]
+#define SWIGTYPE_p_svn_io_dirent_t swig_types[87]
+#define SWIGTYPE_p_svn_io_file_del_t swig_types[88]
+#define SWIGTYPE_p_svn_location_segment_t swig_types[89]
+#define SWIGTYPE_p_svn_lock_t swig_types[90]
+#define SWIGTYPE_p_svn_log_changed_path2_t swig_types[91]
+#define SWIGTYPE_p_svn_log_changed_path_t swig_types[92]
+#define SWIGTYPE_p_svn_log_entry_t swig_types[93]
+#define SWIGTYPE_p_svn_merge_range_t swig_types[94]
+#define SWIGTYPE_p_svn_mergeinfo_inheritance_t swig_types[95]
+#define SWIGTYPE_p_svn_node_kind_t swig_types[96]
+#define SWIGTYPE_p_svn_opt_revision_range_t swig_types[97]
+#define SWIGTYPE_p_svn_opt_revision_t swig_types[98]
+#define SWIGTYPE_p_svn_opt_revision_value_t swig_types[99]
+#define SWIGTYPE_p_svn_opt_subcommand_desc2_t swig_types[100]
+#define SWIGTYPE_p_svn_opt_subcommand_desc_t swig_types[101]
+#define SWIGTYPE_p_svn_patch_file_t swig_types[102]
+#define SWIGTYPE_p_svn_patch_t swig_types[103]
+#define SWIGTYPE_p_svn_prop_inherited_item_t swig_types[104]
+#define SWIGTYPE_p_svn_prop_kind swig_types[105]
+#define SWIGTYPE_p_svn_prop_patch_t swig_types[106]
+#define SWIGTYPE_p_svn_stream_mark_t swig_types[107]
+#define SWIGTYPE_p_svn_stream_t swig_types[108]
+#define SWIGTYPE_p_svn_string_t swig_types[109]
+#define SWIGTYPE_p_svn_stringbuf_t swig_types[110]
+#define SWIGTYPE_p_svn_tristate_t swig_types[111]
+#define SWIGTYPE_p_svn_txdelta_op_t swig_types[112]
+#define SWIGTYPE_p_svn_txdelta_stream_t swig_types[113]
+#define SWIGTYPE_p_svn_txdelta_window_t swig_types[114]
+#define SWIGTYPE_p_svn_version_checklist_t swig_types[115]
+#define SWIGTYPE_p_svn_version_ext_linked_lib_t swig_types[116]
+#define SWIGTYPE_p_svn_version_ext_loaded_lib_t swig_types[117]
+#define SWIGTYPE_p_svn_version_extended_t swig_types[118]
+#define SWIGTYPE_p_svn_version_t swig_types[119]
+#define SWIGTYPE_p_unsigned_char swig_types[120]
+#define SWIGTYPE_p_unsigned_long swig_types[121]
+#define SWIGTYPE_p_void swig_types[122]
+static swig_type_info *swig_types[124];
+static swig_module_info swig_module = {swig_types, 123, 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)
@@ -1919,7 +1920,7 @@ static VALUE mFs;
#define SWIG_RUBY_THREAD_END_BLOCK
-#define SWIGVERSION 0x020009
+#define SWIGVERSION 0x020012
#define SWIG_VERSION SWIGVERSION
@@ -2075,6 +2076,16 @@ SWIG_AsCharPtrAndSize(VALUE obj, char** cptr, size_t* psize, int *alloc)
#endif
+ #define SWIG_From_long LONG2NUM
+
+
+SWIGINTERNINLINE VALUE
+SWIG_From_int (int value)
+{
+ return SWIG_From_long (value);
+}
+
+
SWIGINTERN VALUE
SWIG_ruby_failed(void)
{
@@ -2082,7 +2093,7 @@ SWIG_ruby_failed(void)
}
-/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
+/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
{
VALUE obj = args[0];
@@ -2127,17 +2138,7 @@ SWIG_AsVal_int (VALUE obj, int *val)
}
- #define SWIG_From_long LONG2NUM
-
-
-SWIGINTERNINLINE VALUE
-SWIG_From_int (int value)
-{
- return SWIG_From_long (value);
-}
-
-
-/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
+/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
{
VALUE obj = args[0];
@@ -2171,11 +2172,21 @@ static void svn_fs_invoke_warning_callback(
_obj(baton, err);
}
+static svn_error_t * svn_fs_invoke_upgrade_notify(
+ svn_fs_upgrade_notify_t _obj, void *baton, apr_uint64_t number, svn_fs_upgrade_notify_action_t action, apr_pool_t *scratch_pool) {
+ return _obj(baton, number, action, scratch_pool);
+}
+
static void svn_fs_invoke_progress_notify_func(
svn_fs_progress_notify_func_t _obj, svn_revnum_t revision, void *baton, apr_pool_t *pool) {
_obj(revision, baton, pool);
}
+static void svn_fs_invoke_hotcopy_notify(
+ svn_fs_hotcopy_notify_t _obj, void *baton, svn_revnum_t start_revision, svn_revnum_t end_revision, apr_pool_t *scratch_pool) {
+ _obj(baton, start_revision, end_revision, scratch_pool);
+}
+
static svn_error_t * svn_fs_invoke_freeze_func(
svn_fs_freeze_func_t _obj, void *baton, apr_pool_t *pool) {
return _obj(baton, pool);
@@ -2186,6 +2197,11 @@ static svn_error_t * svn_fs_invoke_process_contents_func(
return _obj(contents, len, baton, scratch_pool);
}
+static svn_error_t * svn_fs_invoke_lock_callback(
+ svn_fs_lock_callback_t _obj, void *baton, const char *path, const svn_lock_t *lock, svn_error_t *fs_err, apr_pool_t *scratch_pool) {
+ return _obj(baton, path, lock, fs_err, scratch_pool);
+}
+
static svn_error_t * svn_fs_invoke_get_locks_callback(
svn_fs_get_locks_callback_t _obj, void *baton, svn_lock_t *lock, apr_pool_t *pool) {
return _obj(baton, lock, pool);
@@ -2507,6 +2523,126 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_fs_open2(int argc, VALUE *argv, VALUE self) {
+ svn_fs_t **arg1 = (svn_fs_t **) 0 ;
+ char *arg2 = (char *) 0 ;
+ apr_hash_t *arg3 = (apr_hash_t *) 0 ;
+ apr_pool_t *arg4 = (apr_pool_t *) 0 ;
+ apr_pool_t *arg5 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ svn_fs_t *temp1 ;
+ int res2 ;
+ char *buf2 = 0 ;
+ int alloc2 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
+ _global_pool = arg4;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
+ _global_pool = arg5;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ arg1 = &temp1;
+ if ((argc < 2) || (argc > 4)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
+ }
+ res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_fs_open2", 2, argv[0] ));
+ }
+ arg2 = (char *)(buf2);
+ {
+ VALUE rb_pool = Qnil;
+ if (!_global_pool) {
+ svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
+ svn_swig_rb_push_pool(rb_pool);
+ }
+ arg3 = (NIL_P(argv[1])) ? NULL :
+ svn_swig_rb_hash_to_apr_hash_string(argv[1], _global_pool);
+ _global_pool = NULL;
+ if (!NIL_P(rb_pool)) {
+ if (NIL_P(arg3)) {
+ svn_swig_rb_destroy_pool(rb_pool);
+ } else {
+ svn_swig_rb_set_pool_for_no_swig_type(argv[1], rb_pool);
+ }
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ }
+ if (argc > 2) {
+
+ }
+ if (argc > 3) {
+
+ }
+ {
+ result = (svn_error_t *)svn_fs_open2(arg1,(char const *)arg2,arg3,arg4,arg5);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ VALUE tmp;
+ tmp = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_fs_t, 0);
+ if (rb_block_given_p()) {
+ rb_yield(tmp);
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ DATA_PTR(tmp) = NULL;
+ } else {
+ vresult = SWIG_Ruby_AppendOutput(vresult, tmp);
+ }
+ }
+ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_fs_open(int argc, VALUE *argv, VALUE self) {
svn_fs_t **arg1 = (svn_fs_t **) 0 ;
char *arg2 = (char *) 0 ;
@@ -2604,6 +2740,92 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_fs_upgrade2(int argc, VALUE *argv, VALUE self) {
+ char *arg1 = (char *) 0 ;
+ svn_fs_upgrade_notify_t arg2 = (svn_fs_upgrade_notify_t) 0 ;
+ void *arg3 = (void *) 0 ;
+ svn_cancel_func_t arg4 = (svn_cancel_func_t) 0 ;
+ void *arg5 = (void *) 0 ;
+ apr_pool_t *arg6 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ int res1 ;
+ char *buf1 = 0 ;
+ int alloc1 = 0 ;
+ int res3 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
+ _global_pool = arg6;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 4) || (argc > 5)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
+ }
+ res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_fs_upgrade2", 1, argv[0] ));
+ }
+ arg1 = (char *)(buf1);
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[1], (void**)(&arg2), SWIGTYPE_p_f_p_void_apr_uint64_t_svn_fs_upgrade_notify_action_t_p_apr_pool_t__p_svn_error_t);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_fs_upgrade_notify_t","svn_fs_upgrade2", 2, argv[1] ));
+ }
+ }
+ res3 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg3), 0, 0);
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "void *","svn_fs_upgrade2", 3, argv[2] ));
+ }
+ {
+ arg4 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
+ arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
+ }
+ if (argc > 4) {
+
+ }
+ {
+ result = (svn_error_t *)svn_fs_upgrade2((char const *)arg1,arg2,arg3,arg4,arg5,arg6);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ svn_swig_rb_set_baton(vresult, (VALUE)arg5);
+ }
+ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_fs_upgrade(int argc, VALUE *argv, VALUE self) {
char *arg1 = (char *) 0 ;
apr_pool_t *arg2 = (apr_pool_t *) 0 ;
@@ -2930,6 +3152,107 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_fs_hotcopy3(int argc, VALUE *argv, VALUE self) {
+ char *arg1 = (char *) 0 ;
+ char *arg2 = (char *) 0 ;
+ svn_boolean_t arg3 ;
+ svn_boolean_t arg4 ;
+ svn_fs_hotcopy_notify_t arg5 = (svn_fs_hotcopy_notify_t) 0 ;
+ void *arg6 = (void *) 0 ;
+ svn_cancel_func_t arg7 = (svn_cancel_func_t) 0 ;
+ void *arg8 = (void *) 0 ;
+ apr_pool_t *arg9 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ int res1 ;
+ char *buf1 = 0 ;
+ int alloc1 = 0 ;
+ int res2 ;
+ char *buf2 = 0 ;
+ int alloc2 = 0 ;
+ int res6 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg9);
+ _global_pool = arg9;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 7) || (argc > 8)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
+ }
+ res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_fs_hotcopy3", 1, argv[0] ));
+ }
+ arg1 = (char *)(buf1);
+ res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_fs_hotcopy3", 2, argv[1] ));
+ }
+ arg2 = (char *)(buf2);
+ arg3 = RTEST(argv[2]);
+ arg4 = RTEST(argv[3]);
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[4], (void**)(&arg5), SWIGTYPE_p_f_p_void_long_long_p_apr_pool_t__void);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_fs_hotcopy_notify_t","svn_fs_hotcopy3", 5, argv[4] ));
+ }
+ }
+ res6 = SWIG_ConvertPtr(argv[5],SWIG_as_voidptrptr(&arg6), 0, 0);
+ if (!SWIG_IsOK(res6)) {
+ SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "void *","svn_fs_hotcopy3", 6, argv[5] ));
+ }
+ {
+ arg7 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
+ arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
+ }
+ if (argc > 7) {
+
+ }
+ {
+ result = (svn_error_t *)svn_fs_hotcopy3((char const *)arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ svn_swig_rb_set_baton(vresult, (VALUE)arg8);
+ }
+ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
+ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
+ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_fs_hotcopy2(int argc, VALUE *argv, VALUE self) {
char *arg1 = (char *) 0 ;
char *arg2 = (char *) 0 ;
@@ -2970,7 +3293,7 @@ _wrap_svn_fs_hotcopy2(int argc, VALUE *argv, VALUE self) {
arg3 = RTEST(argv[2]);
arg4 = RTEST(argv[3]);
{
- arg5 = svn_swig_rb_cancel_func;
+ arg5 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
if (argc > 5) {
@@ -3122,7 +3445,7 @@ _wrap_svn_fs_recover(int argc, VALUE *argv, VALUE self) {
}
arg1 = (char *)(buf1);
{
- arg2 = svn_swig_rb_cancel_func;
+ arg2 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg3 = (void *)svn_swig_rb_make_baton(argv[1], _global_svn_swig_rb_pool);
}
if (argc > 2) {
@@ -5967,6 +6290,59 @@ fail:
}
+SWIGINTERN VALUE
+_wrap_svn_fs_path_change2_t_mergeinfo_mod_set(int argc, VALUE *argv, VALUE self) {
+ struct svn_fs_path_change2_t *arg1 = (struct svn_fs_path_change2_t *) 0 ;
+ svn_tristate_t arg2 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ int val2 ;
+ int ecode2 = 0 ;
+
+ if ((argc < 1) || (argc > 1)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_fs_path_change2_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_fs_path_change2_t *","mergeinfo_mod", 1, self ));
+ }
+ arg1 = (struct svn_fs_path_change2_t *)(argp1);
+ ecode2 = SWIG_AsVal_int(argv[0], &val2);
+ if (!SWIG_IsOK(ecode2)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_tristate_t","mergeinfo_mod", 2, argv[0] ));
+ }
+ arg2 = (svn_tristate_t)(val2);
+ if (arg1) (arg1)->mergeinfo_mod = arg2;
+ return Qnil;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_fs_path_change2_t_mergeinfo_mod_get(int argc, VALUE *argv, VALUE self) {
+ struct svn_fs_path_change2_t *arg1 = (struct svn_fs_path_change2_t *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ svn_tristate_t result;
+ VALUE vresult = Qnil;
+
+ if ((argc < 0) || (argc > 0)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_fs_path_change2_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_fs_path_change2_t *","mergeinfo_mod", 1, self ));
+ }
+ arg1 = (struct svn_fs_path_change2_t *)(argp1);
+ result = (svn_tristate_t) ((arg1)->mergeinfo_mod);
+ vresult = SWIG_From_int((int)(result));
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
static swig_class SwigClassSvn_fs_path_change_t;
SWIGINTERN VALUE
@@ -6454,6 +6830,107 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_fs_node_history2(int argc, VALUE *argv, VALUE self) {
+ svn_fs_history_t **arg1 = (svn_fs_history_t **) 0 ;
+ svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
+ char *arg3 = (char *) 0 ;
+ apr_pool_t *arg4 = (apr_pool_t *) 0 ;
+ apr_pool_t *arg5 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ svn_fs_history_t *temp1 ;
+ void *argp2 = 0 ;
+ int res2 = 0 ;
+ int res3 ;
+ char *buf3 = 0 ;
+ int alloc3 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
+ _global_pool = arg4;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
+ _global_pool = arg5;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ arg1 = &temp1;
+ if ((argc < 2) || (argc > 4)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
+ }
+ res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_fs_root_t *","svn_fs_node_history2", 2, argv[0] ));
+ }
+ arg2 = (svn_fs_root_t *)(argp2);
+ res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_fs_node_history2", 3, argv[1] ));
+ }
+ arg3 = (char *)(buf3);
+ if (argc > 2) {
+
+ }
+ if (argc > 3) {
+
+ }
+ {
+ result = (svn_error_t *)svn_fs_node_history2(arg1,arg2,(char const *)arg3,arg4,arg5);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_fs_history_t, 0));
+ }
+ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_fs_node_history(int argc, VALUE *argv, VALUE self) {
svn_fs_history_t **arg1 = (svn_fs_history_t **) 0 ;
svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
@@ -6532,6 +7009,98 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_fs_history_prev2(int argc, VALUE *argv, VALUE self) {
+ svn_fs_history_t **arg1 = (svn_fs_history_t **) 0 ;
+ svn_fs_history_t *arg2 = (svn_fs_history_t *) 0 ;
+ svn_boolean_t arg3 ;
+ apr_pool_t *arg4 = (apr_pool_t *) 0 ;
+ apr_pool_t *arg5 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ svn_fs_history_t *temp1 ;
+ void *argp2 = 0 ;
+ int res2 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
+ _global_pool = arg4;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
+ _global_pool = arg5;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ arg1 = &temp1;
+ if ((argc < 2) || (argc > 4)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
+ }
+ res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_fs_history_t, 0 | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_fs_history_t *","svn_fs_history_prev2", 2, argv[0] ));
+ }
+ arg2 = (svn_fs_history_t *)(argp2);
+ arg3 = RTEST(argv[1]);
+ if (argc > 2) {
+
+ }
+ if (argc > 3) {
+
+ }
+ {
+ result = (svn_error_t *)svn_fs_history_prev2(arg1,arg2,arg3,arg4,arg5);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_fs_history_t, 0));
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_fs_history_prev(int argc, VALUE *argv, VALUE self) {
svn_fs_history_t **arg1 = (svn_fs_history_t **) 0 ;
svn_fs_history_t *arg2 = (svn_fs_history_t *) 0 ;
@@ -6916,6 +7485,105 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_fs_node_relation(int argc, VALUE *argv, VALUE self) {
+ svn_fs_node_relation_t *arg1 = (svn_fs_node_relation_t *) 0 ;
+ svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
+ char *arg3 = (char *) 0 ;
+ svn_fs_root_t *arg4 = (svn_fs_root_t *) 0 ;
+ char *arg5 = (char *) 0 ;
+ apr_pool_t *arg6 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ void *argp2 = 0 ;
+ int res2 = 0 ;
+ int res3 ;
+ char *buf3 = 0 ;
+ int alloc3 = 0 ;
+ void *argp4 = 0 ;
+ int res4 = 0 ;
+ int res5 ;
+ char *buf5 = 0 ;
+ int alloc5 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
+ _global_pool = arg6;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 5) || (argc > 6)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_fs_node_relation_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_fs_node_relation_t *","svn_fs_node_relation", 1, argv[0] ));
+ }
+ arg1 = (svn_fs_node_relation_t *)(argp1);
+ res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_fs_root_t *","svn_fs_node_relation", 2, argv[1] ));
+ }
+ arg2 = (svn_fs_root_t *)(argp2);
+ res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_fs_node_relation", 3, argv[2] ));
+ }
+ arg3 = (char *)(buf3);
+ res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
+ if (!SWIG_IsOK(res4)) {
+ SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_fs_root_t *","svn_fs_node_relation", 4, argv[3] ));
+ }
+ arg4 = (svn_fs_root_t *)(argp4);
+ res5 = SWIG_AsCharPtrAndSize(argv[4], &buf5, NULL, &alloc5);
+ if (!SWIG_IsOK(res5)) {
+ SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_fs_node_relation", 5, argv[4] ));
+ }
+ arg5 = (char *)(buf5);
+ if (argc > 5) {
+
+ }
+ {
+ result = (svn_error_t *)svn_fs_node_relation(arg1,arg2,(char const *)arg3,arg4,(char const *)arg5,arg6);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
+ if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
+ if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_fs_node_created_rev(int argc, VALUE *argv, VALUE self) {
svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
@@ -7333,6 +8001,84 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_fs_node_has_props(int argc, VALUE *argv, VALUE self) {
+ svn_boolean_t *arg1 = (svn_boolean_t *) 0 ;
+ svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
+ char *arg3 = (char *) 0 ;
+ apr_pool_t *arg4 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ svn_boolean_t temp1 ;
+ void *argp2 = 0 ;
+ int res2 = 0 ;
+ int res3 ;
+ char *buf3 = 0 ;
+ int alloc3 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
+ _global_pool = arg4;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ arg1 = &temp1;
+ if ((argc < 2) || (argc > 3)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
+ }
+ res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_fs_root_t *","svn_fs_node_has_props", 2, argv[0] ));
+ }
+ arg2 = (svn_fs_root_t *)(argp2);
+ res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_fs_node_has_props", 3, argv[1] ));
+ }
+ arg3 = (char *)(buf3);
+ if (argc > 2) {
+
+ }
+ {
+ result = (svn_error_t *)svn_fs_node_has_props(arg1,arg2,(char const *)arg3,arg4);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ vresult = SWIG_Ruby_AppendOutput(vresult, *arg1 ? Qtrue : Qfalse);
+ }
+ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_fs_change_node_prop(int argc, VALUE *argv, VALUE self) {
svn_fs_root_t *arg1 = (svn_fs_root_t *) 0 ;
char *arg2 = (char *) 0 ;
@@ -7427,6 +8173,103 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_fs_props_different(int argc, VALUE *argv, VALUE self) {
+ svn_boolean_t *arg1 = (svn_boolean_t *) 0 ;
+ svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
+ char *arg3 = (char *) 0 ;
+ svn_fs_root_t *arg4 = (svn_fs_root_t *) 0 ;
+ char *arg5 = (char *) 0 ;
+ apr_pool_t *arg6 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ svn_boolean_t temp1 ;
+ void *argp2 = 0 ;
+ int res2 = 0 ;
+ int res3 ;
+ char *buf3 = 0 ;
+ int alloc3 = 0 ;
+ void *argp4 = 0 ;
+ int res4 = 0 ;
+ int res5 ;
+ char *buf5 = 0 ;
+ int alloc5 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
+ _global_pool = arg6;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ arg1 = &temp1;
+ if ((argc < 4) || (argc > 5)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
+ }
+ res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_fs_root_t *","svn_fs_props_different", 2, argv[0] ));
+ }
+ arg2 = (svn_fs_root_t *)(argp2);
+ res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_fs_props_different", 3, argv[1] ));
+ }
+ arg3 = (char *)(buf3);
+ res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
+ if (!SWIG_IsOK(res4)) {
+ SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_fs_root_t *","svn_fs_props_different", 4, argv[2] ));
+ }
+ arg4 = (svn_fs_root_t *)(argp4);
+ res5 = SWIG_AsCharPtrAndSize(argv[3], &buf5, NULL, &alloc5);
+ if (!SWIG_IsOK(res5)) {
+ SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_fs_props_different", 5, argv[3] ));
+ }
+ arg5 = (char *)(buf5);
+ if (argc > 4) {
+
+ }
+ {
+ result = (svn_error_t *)svn_fs_props_different(arg1,arg2,(char const *)arg3,arg4,(char const *)arg5,arg6);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ vresult = SWIG_Ruby_AppendOutput(vresult, *arg1 ? Qtrue : Qfalse);
+ }
+ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
+ if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
+ if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_fs_props_changed(int argc, VALUE *argv, VALUE self) {
svn_boolean_t *arg1 = (svn_boolean_t *) 0 ;
svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
@@ -8261,6 +9104,110 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_fs_dir_optimal_order(int argc, VALUE *argv, VALUE self) {
+ apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
+ svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
+ apr_hash_t *arg3 = (apr_hash_t *) 0 ;
+ apr_pool_t *arg4 = (apr_pool_t *) 0 ;
+ apr_pool_t *arg5 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ apr_array_header_t *temp1 ;
+ void *argp2 = 0 ;
+ int res2 = 0 ;
+ void *argp3 = 0 ;
+ int res3 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
+ _global_pool = arg4;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
+ _global_pool = arg5;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ arg1 = &temp1;
+ if ((argc < 2) || (argc > 4)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
+ }
+ res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_fs_root_t *","svn_fs_dir_optimal_order", 2, argv[0] ));
+ }
+ arg2 = (svn_fs_root_t *)(argp2);
+ res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_apr_hash_t, 0 | 0 );
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "apr_hash_t *","svn_fs_dir_optimal_order", 3, argv[1] ));
+ }
+ arg3 = (apr_hash_t *)(argp3);
+ if (argc > 2) {
+
+ }
+ if (argc > 3) {
+
+ }
+ {
+ result = (svn_error_t *)svn_fs_dir_optimal_order(arg1,arg2,arg3,arg4,arg5);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ /* FIXME: Missing argout typemap: svn_fs_dir_optimal_order arg 1 (apr_array_header_t **) */
+
+
+
+
+ SWIG_exception(SWIG_ValueError, "svn_fs_dir_optimal_order is not implemented yet");
+
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_fs_make_dir(int argc, VALUE *argv, VALUE self) {
svn_fs_root_t *arg1 = (svn_fs_root_t *) 0 ;
char *arg2 = (char *) 0 ;
@@ -9255,6 +10202,103 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_fs_contents_different(int argc, VALUE *argv, VALUE self) {
+ svn_boolean_t *arg1 = (svn_boolean_t *) 0 ;
+ svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
+ char *arg3 = (char *) 0 ;
+ svn_fs_root_t *arg4 = (svn_fs_root_t *) 0 ;
+ char *arg5 = (char *) 0 ;
+ apr_pool_t *arg6 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ svn_boolean_t temp1 ;
+ void *argp2 = 0 ;
+ int res2 = 0 ;
+ int res3 ;
+ char *buf3 = 0 ;
+ int alloc3 = 0 ;
+ void *argp4 = 0 ;
+ int res4 = 0 ;
+ int res5 ;
+ char *buf5 = 0 ;
+ int alloc5 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
+ _global_pool = arg6;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ arg1 = &temp1;
+ if ((argc < 4) || (argc > 5)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
+ }
+ res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_fs_root_t *","svn_fs_contents_different", 2, argv[0] ));
+ }
+ arg2 = (svn_fs_root_t *)(argp2);
+ res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_fs_contents_different", 3, argv[1] ));
+ }
+ arg3 = (char *)(buf3);
+ res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
+ if (!SWIG_IsOK(res4)) {
+ SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_fs_root_t *","svn_fs_contents_different", 4, argv[2] ));
+ }
+ arg4 = (svn_fs_root_t *)(argp4);
+ res5 = SWIG_AsCharPtrAndSize(argv[3], &buf5, NULL, &alloc5);
+ if (!SWIG_IsOK(res5)) {
+ SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_fs_contents_different", 5, argv[3] ));
+ }
+ arg5 = (char *)(buf5);
+ if (argc > 4) {
+
+ }
+ {
+ result = (svn_error_t *)svn_fs_contents_different(arg1,arg2,(char const *)arg3,arg4,(char const *)arg5,arg6);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ vresult = SWIG_Ruby_AppendOutput(vresult, *arg1 ? Qtrue : Qfalse);
+ }
+ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
+ if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
+ if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_fs_contents_changed(int argc, VALUE *argv, VALUE self) {
svn_boolean_t *arg1 = (svn_boolean_t *) 0 ;
svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
@@ -9428,6 +10472,218 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_fs_info_format(int argc, VALUE *argv, VALUE self) {
+ int *arg1 = (int *) 0 ;
+ svn_version_t **arg2 = (svn_version_t **) 0 ;
+ svn_fs_t *arg3 = (svn_fs_t *) 0 ;
+ apr_pool_t *arg4 = (apr_pool_t *) 0 ;
+ apr_pool_t *arg5 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ int temp1 ;
+ int res1 = SWIG_TMPOBJ ;
+ svn_version_t *temp2 ;
+ void *argp3 = 0 ;
+ int res3 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
+ _global_pool = arg4;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
+ _global_pool = arg5;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ arg1 = &temp1;
+ arg2 = &temp2;
+ if ((argc < 1) || (argc > 3)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res3 = SWIG_ConvertPtr(argv[0], &argp3,SWIGTYPE_p_svn_fs_t, 0 | 0 );
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_fs_t *","svn_fs_info_format", 3, argv[0] ));
+ }
+ arg3 = (svn_fs_t *)(argp3);
+ if (argc > 1) {
+
+ }
+ if (argc > 2) {
+
+ }
+ {
+ if (!arg3) {
+ svn_swig_rb_raise_svn_fs_already_close();
+ }
+ }
+ {
+ result = (svn_error_t *)svn_fs_info_format(arg1,arg2,arg3,arg4,arg5);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ if (SWIG_IsTmpObj(res1)) {
+ vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int((*arg1)));
+ } else {
+ int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
+ vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
+ }
+ {
+ /* FIXME: Missing argout typemap: svn_fs_info_format arg 2 (svn_version_t **) */
+
+
+
+
+ SWIG_exception(SWIG_ValueError, "svn_fs_info_format is not implemented yet");
+
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_fs_info_config_files(int argc, VALUE *argv, VALUE self) {
+ apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
+ svn_fs_t *arg2 = (svn_fs_t *) 0 ;
+ apr_pool_t *arg3 = (apr_pool_t *) 0 ;
+ apr_pool_t *arg4 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ apr_array_header_t *temp1 ;
+ void *argp2 = 0 ;
+ int res2 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
+ _global_pool = arg3;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
+ _global_pool = arg4;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ arg1 = &temp1;
+ if ((argc < 1) || (argc > 3)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_fs_t, 0 | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_fs_t *","svn_fs_info_config_files", 2, argv[0] ));
+ }
+ arg2 = (svn_fs_t *)(argp2);
+ if (argc > 1) {
+
+ }
+ if (argc > 2) {
+
+ }
+ {
+ if (!arg2) {
+ svn_swig_rb_raise_svn_fs_already_close();
+ }
+ }
+ {
+ result = (svn_error_t *)svn_fs_info_config_files(arg1,arg2,arg3,arg4);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ /* FIXME: Missing argout typemap: svn_fs_info_config_files arg 1 (apr_array_header_t **) */
+
+
+
+
+ SWIG_exception(SWIG_ValueError, "svn_fs_info_config_files is not implemented yet");
+
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_fs_deltify_revision(int argc, VALUE *argv, VALUE self) {
svn_fs_t *arg1 = (svn_fs_t *) 0 ;
svn_revnum_t arg2 ;
@@ -10131,6 +11387,228 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_fs_lock_target_create(int argc, VALUE *argv, VALUE self) {
+ char *arg1 = (char *) 0 ;
+ svn_revnum_t arg2 ;
+ apr_pool_t *arg3 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ long val2 ;
+ int ecode2 = 0 ;
+ svn_fs_lock_target_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
+ _global_pool = arg3;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 2) || (argc > 3)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
+ }
+ {
+ if (NIL_P(argv[0])) {
+ arg1 = NULL;
+ } else {
+ arg1 = StringValuePtr(argv[0]);
+ }
+ }
+ ecode2 = SWIG_AsVal_long(argv[1], &val2);
+ if (!SWIG_IsOK(ecode2)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","svn_fs_lock_target_create", 2, argv[1] ));
+ }
+ arg2 = (svn_revnum_t)(val2);
+ if (argc > 2) {
+
+ }
+ {
+ result = (svn_fs_lock_target_t *)svn_fs_lock_target_create((char const *)arg1,arg2,arg3);
+
+
+
+ }
+ vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_fs_lock_target_t, 0 | 0 );
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_fs_lock_target_set_token(int argc, VALUE *argv, VALUE self) {
+ svn_fs_lock_target_t *arg1 = (svn_fs_lock_target_t *) 0 ;
+ char *arg2 = (char *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+
+ if ((argc < 2) || (argc > 2)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_fs_lock_target_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_fs_lock_target_t *","svn_fs_lock_target_set_token", 1, argv[0] ));
+ }
+ arg1 = (svn_fs_lock_target_t *)(argp1);
+ {
+ if (NIL_P(argv[1])) {
+ arg2 = NULL;
+ } else {
+ arg2 = StringValuePtr(argv[1]);
+ }
+ }
+ {
+ svn_fs_lock_target_set_token(arg1,(char const *)arg2);
+
+
+
+ }
+ return Qnil;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_fs_lock_many(int argc, VALUE *argv, VALUE self) {
+ svn_fs_t *arg1 = (svn_fs_t *) 0 ;
+ apr_hash_t *arg2 = (apr_hash_t *) 0 ;
+ char *arg3 = (char *) 0 ;
+ svn_boolean_t arg4 ;
+ apr_time_t arg5 ;
+ svn_boolean_t arg6 ;
+ svn_fs_lock_callback_t arg7 = (svn_fs_lock_callback_t) 0 ;
+ void *arg8 = (void *) 0 ;
+ apr_pool_t *arg9 = (apr_pool_t *) 0 ;
+ apr_pool_t *arg10 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ void *argp2 = 0 ;
+ int res2 = 0 ;
+ int res8 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg9);
+ _global_pool = arg9;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg10);
+ _global_pool = arg10;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 8) || (argc > 10)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_fs_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_fs_t *","svn_fs_lock_many", 1, argv[0] ));
+ }
+ arg1 = (svn_fs_t *)(argp1);
+ res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_apr_hash_t, 0 | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "apr_hash_t *","svn_fs_lock_many", 2, argv[1] ));
+ }
+ arg2 = (apr_hash_t *)(argp2);
+ {
+ if (NIL_P(argv[2])) {
+ arg3 = NULL;
+ } else {
+ arg3 = StringValuePtr(argv[2]);
+ }
+ }
+ arg4 = RTEST(argv[3]);
+ {
+ arg5 = (apr_time_t)NUM2LL(argv[4]);
+ }
+ arg6 = RTEST(argv[5]);
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[6], (void**)(&arg7), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_fs_lock_callback_t","svn_fs_lock_many", 7, argv[6] ));
+ }
+ }
+ res8 = SWIG_ConvertPtr(argv[7],SWIG_as_voidptrptr(&arg8), 0, 0);
+ if (!SWIG_IsOK(res8)) {
+ SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "void *","svn_fs_lock_many", 8, argv[7] ));
+ }
+ if (argc > 8) {
+
+ }
+ if (argc > 9) {
+
+ }
+ {
+ if (!arg1) {
+ svn_swig_rb_raise_svn_fs_already_close();
+ }
+ }
+ {
+ result = (svn_error_t *)svn_fs_lock_many(arg1,arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_fs_lock(int argc, VALUE *argv, VALUE self) {
svn_lock_t **arg1 = (svn_lock_t **) 0 ;
svn_fs_t *arg2 = (svn_fs_t *) 0 ;
@@ -10322,6 +11800,118 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_fs_unlock_many(int argc, VALUE *argv, VALUE self) {
+ svn_fs_t *arg1 = (svn_fs_t *) 0 ;
+ apr_hash_t *arg2 = (apr_hash_t *) 0 ;
+ svn_boolean_t arg3 ;
+ svn_fs_lock_callback_t arg4 = (svn_fs_lock_callback_t) 0 ;
+ void *arg5 = (void *) 0 ;
+ apr_pool_t *arg6 = (apr_pool_t *) 0 ;
+ apr_pool_t *arg7 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ void *argp2 = 0 ;
+ int res2 = 0 ;
+ int res5 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
+ _global_pool = arg6;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7);
+ _global_pool = arg7;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 5) || (argc > 7)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_fs_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_fs_t *","svn_fs_unlock_many", 1, argv[0] ));
+ }
+ arg1 = (svn_fs_t *)(argp1);
+ res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_apr_hash_t, 0 | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "apr_hash_t *","svn_fs_unlock_many", 2, argv[1] ));
+ }
+ arg2 = (apr_hash_t *)(argp2);
+ arg3 = RTEST(argv[2]);
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[3], (void**)(&arg4), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_fs_lock_callback_t","svn_fs_unlock_many", 4, argv[3] ));
+ }
+ }
+ res5 = SWIG_ConvertPtr(argv[4],SWIG_as_voidptrptr(&arg5), 0, 0);
+ if (!SWIG_IsOK(res5)) {
+ SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "void *","svn_fs_unlock_many", 5, argv[4] ));
+ }
+ if (argc > 5) {
+
+ }
+ if (argc > 6) {
+
+ }
+ {
+ if (!arg1) {
+ svn_swig_rb_raise_svn_fs_already_close();
+ }
+ }
+ {
+ result = (svn_error_t *)svn_fs_unlock_many(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_fs_unlock(int argc, VALUE *argv, VALUE self) {
svn_fs_t *arg1 = (svn_fs_t *) 0 ;
char *arg2 = (char *) 0 ;
@@ -10531,7 +12121,7 @@ _wrap_svn_fs_get_locks2(int argc, VALUE *argv, VALUE self) {
arg3 = svn_swig_rb_to_depth(argv[2]);
}
{
- arg4 = svn_swig_rb_fs_get_locks_callback;
+ arg4 = (svn_fs_get_locks_callback_t) svn_swig_rb_fs_get_locks_callback;
arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
if (argc > 4) {
@@ -10614,7 +12204,7 @@ _wrap_svn_fs_get_locks(int argc, VALUE *argv, VALUE self) {
}
arg2 = (char *)(buf2);
{
- arg3 = svn_swig_rb_fs_get_locks_callback;
+ arg3 = (svn_fs_get_locks_callback_t) svn_swig_rb_fs_get_locks_callback;
arg4 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
if (argc > 3) {
@@ -10768,7 +12358,7 @@ _wrap_svn_fs_pack(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "void *","svn_fs_pack", 3, argv[2] ));
}
{
- arg4 = svn_swig_rb_cancel_func;
+ arg4 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
if (argc > 4) {
@@ -10889,7 +12479,7 @@ _wrap_svn_fs_verify(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "void *","svn_fs_verify", 6, argv[5] ));
}
{
- arg7 = svn_swig_rb_cancel_func;
+ arg7 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
if (argc > 7) {
@@ -10995,6 +12585,654 @@ fail:
}
+static swig_class SwigClassSvn_fs_fsfs_info_t;
+
+SWIGINTERN VALUE
+_wrap_svn_fs_fsfs_info_t_fs_type_set(int argc, VALUE *argv, VALUE self) {
+ struct svn_fs_fsfs_info_t *arg1 = (struct svn_fs_fsfs_info_t *) 0 ;
+ char *arg2 = (char *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ int res2 ;
+ char *buf2 = 0 ;
+ int alloc2 = 0 ;
+
+ if ((argc < 1) || (argc > 1)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_fs_fsfs_info_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_fs_fsfs_info_t *","fs_type", 1, self ));
+ }
+ arg1 = (struct svn_fs_fsfs_info_t *)(argp1);
+ res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","fs_type", 2, argv[0] ));
+ }
+ arg2 = (char *)(buf2);
+ {
+ apr_size_t len = strlen(arg2) + 1;
+ char *copied;
+ if (arg1->fs_type) free((char *)arg1->fs_type);
+ copied = malloc(len);
+ memcpy(copied, arg2, len);
+ arg1->fs_type = copied;
+ }
+ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
+ return Qnil;
+fail:
+ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_fs_fsfs_info_t_fs_type_get(int argc, VALUE *argv, VALUE self) {
+ struct svn_fs_fsfs_info_t *arg1 = (struct svn_fs_fsfs_info_t *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ char *result = 0 ;
+ VALUE vresult = Qnil;
+
+ if ((argc < 0) || (argc > 0)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_fs_fsfs_info_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_fs_fsfs_info_t *","fs_type", 1, self ));
+ }
+ arg1 = (struct svn_fs_fsfs_info_t *)(argp1);
+ result = (char *) ((arg1)->fs_type);
+ {
+ if (result) {
+ vresult = rb_str_new2(result);
+ } else {
+ vresult = Qnil;
+ }
+ }
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_fs_fsfs_info_t_shard_size_set(int argc, VALUE *argv, VALUE self) {
+ struct svn_fs_fsfs_info_t *arg1 = (struct svn_fs_fsfs_info_t *) 0 ;
+ int arg2 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ int val2 ;
+ int ecode2 = 0 ;
+
+ if ((argc < 1) || (argc > 1)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_fs_fsfs_info_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_fs_fsfs_info_t *","shard_size", 1, self ));
+ }
+ arg1 = (struct svn_fs_fsfs_info_t *)(argp1);
+ ecode2 = SWIG_AsVal_int(argv[0], &val2);
+ if (!SWIG_IsOK(ecode2)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","shard_size", 2, argv[0] ));
+ }
+ arg2 = (int)(val2);
+ if (arg1) (arg1)->shard_size = arg2;
+ return Qnil;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_fs_fsfs_info_t_shard_size_get(int argc, VALUE *argv, VALUE self) {
+ struct svn_fs_fsfs_info_t *arg1 = (struct svn_fs_fsfs_info_t *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ int result;
+ VALUE vresult = Qnil;
+
+ if ((argc < 0) || (argc > 0)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_fs_fsfs_info_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_fs_fsfs_info_t *","shard_size", 1, self ));
+ }
+ arg1 = (struct svn_fs_fsfs_info_t *)(argp1);
+ result = (int) ((arg1)->shard_size);
+ vresult = SWIG_From_int((int)(result));
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_fs_fsfs_info_t_min_unpacked_rev_set(int argc, VALUE *argv, VALUE self) {
+ struct svn_fs_fsfs_info_t *arg1 = (struct svn_fs_fsfs_info_t *) 0 ;
+ svn_revnum_t arg2 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ long val2 ;
+ int ecode2 = 0 ;
+
+ if ((argc < 1) || (argc > 1)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_fs_fsfs_info_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_fs_fsfs_info_t *","min_unpacked_rev", 1, self ));
+ }
+ arg1 = (struct svn_fs_fsfs_info_t *)(argp1);
+ ecode2 = SWIG_AsVal_long(argv[0], &val2);
+ if (!SWIG_IsOK(ecode2)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","min_unpacked_rev", 2, argv[0] ));
+ }
+ arg2 = (svn_revnum_t)(val2);
+ if (arg1) (arg1)->min_unpacked_rev = arg2;
+ return Qnil;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_fs_fsfs_info_t_min_unpacked_rev_get(int argc, VALUE *argv, VALUE self) {
+ struct svn_fs_fsfs_info_t *arg1 = (struct svn_fs_fsfs_info_t *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ svn_revnum_t result;
+ VALUE vresult = Qnil;
+
+ if ((argc < 0) || (argc > 0)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_fs_fsfs_info_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_fs_fsfs_info_t *","min_unpacked_rev", 1, self ));
+ }
+ arg1 = (struct svn_fs_fsfs_info_t *)(argp1);
+ result = (svn_revnum_t) ((arg1)->min_unpacked_rev);
+ vresult = SWIG_From_long((long)(result));
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_fs_fsfs_info_t_log_addressing_set(int argc, VALUE *argv, VALUE self) {
+ struct svn_fs_fsfs_info_t *arg1 = (struct svn_fs_fsfs_info_t *) 0 ;
+ svn_boolean_t arg2 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+
+ if ((argc < 1) || (argc > 1)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_fs_fsfs_info_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_fs_fsfs_info_t *","log_addressing", 1, self ));
+ }
+ arg1 = (struct svn_fs_fsfs_info_t *)(argp1);
+ arg2 = RTEST(argv[0]);
+ if (arg1) (arg1)->log_addressing = arg2;
+ return Qnil;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_fs_fsfs_info_t_log_addressing_get(int argc, VALUE *argv, VALUE self) {
+ struct svn_fs_fsfs_info_t *arg1 = (struct svn_fs_fsfs_info_t *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ svn_boolean_t result;
+ VALUE vresult = Qnil;
+
+ if ((argc < 0) || (argc > 0)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_fs_fsfs_info_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_fs_fsfs_info_t *","log_addressing", 1, self ));
+ }
+ arg1 = (struct svn_fs_fsfs_info_t *)(argp1);
+ result = (svn_boolean_t) ((arg1)->log_addressing);
+ vresult = result ? Qtrue : Qfalse;
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
+static swig_class SwigClassSvn_fs_fsx_info_t;
+
+SWIGINTERN VALUE
+_wrap_svn_fs_fsx_info_t_fs_type_set(int argc, VALUE *argv, VALUE self) {
+ struct svn_fs_fsx_info_t *arg1 = (struct svn_fs_fsx_info_t *) 0 ;
+ char *arg2 = (char *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ int res2 ;
+ char *buf2 = 0 ;
+ int alloc2 = 0 ;
+
+ if ((argc < 1) || (argc > 1)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_fs_fsx_info_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_fs_fsx_info_t *","fs_type", 1, self ));
+ }
+ arg1 = (struct svn_fs_fsx_info_t *)(argp1);
+ res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","fs_type", 2, argv[0] ));
+ }
+ arg2 = (char *)(buf2);
+ {
+ apr_size_t len = strlen(arg2) + 1;
+ char *copied;
+ if (arg1->fs_type) free((char *)arg1->fs_type);
+ copied = malloc(len);
+ memcpy(copied, arg2, len);
+ arg1->fs_type = copied;
+ }
+ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
+ return Qnil;
+fail:
+ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_fs_fsx_info_t_fs_type_get(int argc, VALUE *argv, VALUE self) {
+ struct svn_fs_fsx_info_t *arg1 = (struct svn_fs_fsx_info_t *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ char *result = 0 ;
+ VALUE vresult = Qnil;
+
+ if ((argc < 0) || (argc > 0)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_fs_fsx_info_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_fs_fsx_info_t *","fs_type", 1, self ));
+ }
+ arg1 = (struct svn_fs_fsx_info_t *)(argp1);
+ result = (char *) ((arg1)->fs_type);
+ {
+ if (result) {
+ vresult = rb_str_new2(result);
+ } else {
+ vresult = Qnil;
+ }
+ }
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_fs_fsx_info_t_shard_size_set(int argc, VALUE *argv, VALUE self) {
+ struct svn_fs_fsx_info_t *arg1 = (struct svn_fs_fsx_info_t *) 0 ;
+ int arg2 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ int val2 ;
+ int ecode2 = 0 ;
+
+ if ((argc < 1) || (argc > 1)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_fs_fsx_info_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_fs_fsx_info_t *","shard_size", 1, self ));
+ }
+ arg1 = (struct svn_fs_fsx_info_t *)(argp1);
+ ecode2 = SWIG_AsVal_int(argv[0], &val2);
+ if (!SWIG_IsOK(ecode2)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","shard_size", 2, argv[0] ));
+ }
+ arg2 = (int)(val2);
+ if (arg1) (arg1)->shard_size = arg2;
+ return Qnil;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_fs_fsx_info_t_shard_size_get(int argc, VALUE *argv, VALUE self) {
+ struct svn_fs_fsx_info_t *arg1 = (struct svn_fs_fsx_info_t *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ int result;
+ VALUE vresult = Qnil;
+
+ if ((argc < 0) || (argc > 0)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_fs_fsx_info_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_fs_fsx_info_t *","shard_size", 1, self ));
+ }
+ arg1 = (struct svn_fs_fsx_info_t *)(argp1);
+ result = (int) ((arg1)->shard_size);
+ vresult = SWIG_From_int((int)(result));
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_fs_fsx_info_t_min_unpacked_rev_set(int argc, VALUE *argv, VALUE self) {
+ struct svn_fs_fsx_info_t *arg1 = (struct svn_fs_fsx_info_t *) 0 ;
+ svn_revnum_t arg2 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ long val2 ;
+ int ecode2 = 0 ;
+
+ if ((argc < 1) || (argc > 1)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_fs_fsx_info_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_fs_fsx_info_t *","min_unpacked_rev", 1, self ));
+ }
+ arg1 = (struct svn_fs_fsx_info_t *)(argp1);
+ ecode2 = SWIG_AsVal_long(argv[0], &val2);
+ if (!SWIG_IsOK(ecode2)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","min_unpacked_rev", 2, argv[0] ));
+ }
+ arg2 = (svn_revnum_t)(val2);
+ if (arg1) (arg1)->min_unpacked_rev = arg2;
+ return Qnil;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_fs_fsx_info_t_min_unpacked_rev_get(int argc, VALUE *argv, VALUE self) {
+ struct svn_fs_fsx_info_t *arg1 = (struct svn_fs_fsx_info_t *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ svn_revnum_t result;
+ VALUE vresult = Qnil;
+
+ if ((argc < 0) || (argc > 0)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_fs_fsx_info_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_fs_fsx_info_t *","min_unpacked_rev", 1, self ));
+ }
+ arg1 = (struct svn_fs_fsx_info_t *)(argp1);
+ result = (svn_revnum_t) ((arg1)->min_unpacked_rev);
+ vresult = SWIG_From_long((long)(result));
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
+static swig_class SwigClassSvn_fs_info_placeholder_t;
+
+SWIGINTERN VALUE
+_wrap_svn_fs_info_placeholder_t_fs_type_set(int argc, VALUE *argv, VALUE self) {
+ struct svn_fs_info_placeholder_t *arg1 = (struct svn_fs_info_placeholder_t *) 0 ;
+ char *arg2 = (char *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ int res2 ;
+ char *buf2 = 0 ;
+ int alloc2 = 0 ;
+
+ if ((argc < 1) || (argc > 1)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_fs_info_placeholder_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_fs_info_placeholder_t *","fs_type", 1, self ));
+ }
+ arg1 = (struct svn_fs_info_placeholder_t *)(argp1);
+ res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","fs_type", 2, argv[0] ));
+ }
+ arg2 = (char *)(buf2);
+ {
+ apr_size_t len = strlen(arg2) + 1;
+ char *copied;
+ if (arg1->fs_type) free((char *)arg1->fs_type);
+ copied = malloc(len);
+ memcpy(copied, arg2, len);
+ arg1->fs_type = copied;
+ }
+ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
+ return Qnil;
+fail:
+ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_fs_info_placeholder_t_fs_type_get(int argc, VALUE *argv, VALUE self) {
+ struct svn_fs_info_placeholder_t *arg1 = (struct svn_fs_info_placeholder_t *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ char *result = 0 ;
+ VALUE vresult = Qnil;
+
+ if ((argc < 0) || (argc > 0)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_fs_info_placeholder_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_fs_info_placeholder_t *","fs_type", 1, self ));
+ }
+ arg1 = (struct svn_fs_info_placeholder_t *)(argp1);
+ result = (char *) ((arg1)->fs_type);
+ {
+ if (result) {
+ vresult = rb_str_new2(result);
+ } else {
+ vresult = Qnil;
+ }
+ }
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_fs_info(int argc, VALUE *argv, VALUE self) {
+ svn_fs_info_placeholder_t **arg1 = (svn_fs_info_placeholder_t **) 0 ;
+ svn_fs_t *arg2 = (svn_fs_t *) 0 ;
+ apr_pool_t *arg3 = (apr_pool_t *) 0 ;
+ apr_pool_t *arg4 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ svn_fs_info_placeholder_t *temp1 ;
+ void *argp2 = 0 ;
+ int res2 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
+ _global_pool = arg3;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
+ _global_pool = arg4;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ arg1 = &temp1;
+ if ((argc < 1) || (argc > 3)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_fs_t, 0 | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_fs_t *","svn_fs_info", 2, argv[0] ));
+ }
+ arg2 = (svn_fs_t *)(argp2);
+ if (argc > 1) {
+
+ }
+ if (argc > 2) {
+
+ }
+ {
+ if (!arg2) {
+ svn_swig_rb_raise_svn_fs_already_close();
+ }
+ }
+ {
+ result = (svn_error_t *)svn_fs_info((struct svn_fs_info_placeholder_t const **)arg1,arg2,arg3,arg4);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ /* FIXME: Missing argout typemap: svn_fs_info arg 1 (svn_fs_info_placeholder_t const **) */
+
+
+
+
+ SWIG_exception(SWIG_ValueError, "svn_fs_info is not implemented yet");
+
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_fs_info_dup(int argc, VALUE *argv, VALUE self) {
+ void *arg1 = (void *) 0 ;
+ apr_pool_t *arg2 = (apr_pool_t *) 0 ;
+ apr_pool_t *arg3 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ int res1 ;
+ void *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2);
+ _global_pool = arg2;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
+ _global_pool = arg3;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 1) || (argc > 3)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(argv[0],SWIG_as_voidptrptr(&arg1), 0, 0);
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "void const *","svn_fs_info_dup", 1, argv[0] ));
+ }
+ if (argc > 1) {
+
+ }
+ if (argc > 2) {
+
+ }
+ {
+ result = (void *)svn_fs_info_dup((void const *)arg1,arg2,arg3);
+
+
+
+ }
+ vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
SWIGINTERN VALUE
_wrap_svn_fs_invoke_warning_callback(int argc, VALUE *argv, VALUE self) {
svn_fs_warning_callback_t arg1 = (svn_fs_warning_callback_t) 0 ;
@@ -11035,6 +13273,84 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_fs_invoke_upgrade_notify(int argc, VALUE *argv, VALUE self) {
+ svn_fs_upgrade_notify_t arg1 = (svn_fs_upgrade_notify_t) 0 ;
+ void *arg2 = (void *) 0 ;
+ apr_uint64_t arg3 ;
+ svn_fs_upgrade_notify_action_t arg4 ;
+ apr_pool_t *arg5 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ int res2 ;
+ int val4 ;
+ int ecode4 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
+ _global_pool = arg5;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 4) || (argc > 5)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
+ }
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_apr_uint64_t_svn_fs_upgrade_notify_action_t_p_apr_pool_t__p_svn_error_t);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_fs_upgrade_notify_t","svn_fs_invoke_upgrade_notify", 1, argv[0] ));
+ }
+ }
+ res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_fs_invoke_upgrade_notify", 2, argv[1] ));
+ }
+ {
+ arg3 = (apr_uint64_t)NUM2ULL(argv[2]);
+ }
+ ecode4 = SWIG_AsVal_int(argv[3], &val4);
+ if (!SWIG_IsOK(ecode4)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_fs_upgrade_notify_action_t","svn_fs_invoke_upgrade_notify", 4, argv[3] ));
+ }
+ arg4 = (svn_fs_upgrade_notify_action_t)(val4);
+ if (argc > 4) {
+
+ }
+ {
+ result = (svn_error_t *)svn_fs_invoke_upgrade_notify(arg1,arg2,arg3,arg4,arg5);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_fs_invoke_progress_notify_func(int argc, VALUE *argv, VALUE self) {
svn_fs_progress_notify_func_t arg1 = (svn_fs_progress_notify_func_t) 0 ;
svn_revnum_t arg2 ;
@@ -11099,6 +13415,78 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_fs_invoke_hotcopy_notify(int argc, VALUE *argv, VALUE self) {
+ svn_fs_hotcopy_notify_t arg1 = (svn_fs_hotcopy_notify_t) 0 ;
+ void *arg2 = (void *) 0 ;
+ svn_revnum_t arg3 ;
+ svn_revnum_t arg4 ;
+ apr_pool_t *arg5 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ int res2 ;
+ long val3 ;
+ int ecode3 = 0 ;
+ long val4 ;
+ int ecode4 = 0 ;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
+ _global_pool = arg5;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 4) || (argc > 5)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
+ }
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_long_long_p_apr_pool_t__void);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_fs_hotcopy_notify_t","svn_fs_invoke_hotcopy_notify", 1, argv[0] ));
+ }
+ }
+ res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_fs_invoke_hotcopy_notify", 2, argv[1] ));
+ }
+ ecode3 = SWIG_AsVal_long(argv[2], &val3);
+ if (!SWIG_IsOK(ecode3)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "svn_revnum_t","svn_fs_invoke_hotcopy_notify", 3, argv[2] ));
+ }
+ arg3 = (svn_revnum_t)(val3);
+ ecode4 = SWIG_AsVal_long(argv[3], &val4);
+ if (!SWIG_IsOK(ecode4)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_fs_invoke_hotcopy_notify", 4, argv[3] ));
+ }
+ arg4 = (svn_revnum_t)(val4);
+ if (argc > 4) {
+
+ }
+ {
+ svn_fs_invoke_hotcopy_notify(arg1,arg2,arg3,arg4,arg5);
+
+
+
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_fs_invoke_freeze_func(int argc, VALUE *argv, VALUE self) {
svn_fs_freeze_func_t arg1 = (svn_fs_freeze_func_t) 0 ;
void *arg2 = (void *) 0 ;
@@ -11247,6 +13635,99 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_fs_invoke_lock_callback(int argc, VALUE *argv, VALUE self) {
+ svn_fs_lock_callback_t arg1 = (svn_fs_lock_callback_t) 0 ;
+ void *arg2 = (void *) 0 ;
+ char *arg3 = (char *) 0 ;
+ svn_lock_t *arg4 = (svn_lock_t *) 0 ;
+ svn_error_t *arg5 = (svn_error_t *) 0 ;
+ apr_pool_t *arg6 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ int res2 ;
+ int res3 ;
+ char *buf3 = 0 ;
+ int alloc3 = 0 ;
+ void *argp4 = 0 ;
+ int res4 = 0 ;
+ void *argp5 = 0 ;
+ int res5 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
+ _global_pool = arg6;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 5) || (argc > 6)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
+ }
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_fs_lock_callback_t","svn_fs_invoke_lock_callback", 1, argv[0] ));
+ }
+ }
+ res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_fs_invoke_lock_callback", 2, argv[1] ));
+ }
+ res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_fs_invoke_lock_callback", 3, argv[2] ));
+ }
+ arg3 = (char *)(buf3);
+ res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_svn_lock_t, 0 | 0 );
+ if (!SWIG_IsOK(res4)) {
+ SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_lock_t const *","svn_fs_invoke_lock_callback", 4, argv[3] ));
+ }
+ arg4 = (svn_lock_t *)(argp4);
+ res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_svn_error_t, 0 | 0 );
+ if (!SWIG_IsOK(res5)) {
+ SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "svn_error_t *","svn_fs_invoke_lock_callback", 5, argv[4] ));
+ }
+ arg5 = (svn_error_t *)(argp5);
+ if (argc > 5) {
+
+ }
+ {
+ result = (svn_error_t *)svn_fs_invoke_lock_callback(arg1,arg2,(char const *)arg3,(struct svn_lock_t const *)arg4,arg5,arg6);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_fs_invoke_get_locks_callback(int argc, VALUE *argv, VALUE self) {
svn_fs_get_locks_callback_t arg1 = (svn_fs_get_locks_callback_t) 0 ;
void *arg2 = (void *) 0 ;
@@ -11406,6 +13887,7 @@ static swig_type_info _swigt__p_apr_hash_t = {"_p_apr_hash_t", "apr_hash_t *", 0
static swig_type_info _swigt__p_apr_int32_t = {"_p_apr_int32_t", "apr_int32_t *|time_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_apr_int64_t = {"_p_apr_int64_t", "apr_int64_t *|svn_filesize_t *|apr_time_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_apr_pool_t = {"_p_apr_pool_t", "apr_pool_t *", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_apr_uint64_t = {"_p_apr_uint64_t", "apr_uint64_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_long_p_void_p_apr_pool_t__void = {"_p_f_long_p_void_p_apr_pool_t__void", "void (*)(long,void *,apr_pool_t *)|svn_fs_progress_notify_func_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_opt_subcommand_t *|struct svn_error_t *(*)(apr_getopt_t *,void *,apr_pool_t *)", 0, 0, (void*)0, 0};
@@ -11413,7 +13895,10 @@ static swig_type_info _swigt__p_f_p_q_const__unsigned_char_apr_size_t_p_void_p_a
static swig_type_info _swigt__p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t = {"_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t", "struct svn_error_t *(*)(svn_txdelta_window_t *,void *)|svn_txdelta_window_handler_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void__p_svn_error_t = {"_p_f_p_void__p_svn_error_t", "svn_cancel_func_t|struct svn_error_t *(*)(void *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_apr_int64_t_svn_fs_pack_notify_action_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_apr_int64_t_svn_fs_pack_notify_action_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void *,apr_int64_t,svn_fs_pack_notify_action_t,apr_pool_t *)|svn_fs_pack_notify_t", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_f_p_void_apr_uint64_t_svn_fs_upgrade_notify_action_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_apr_uint64_t_svn_fs_upgrade_notify_action_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void *,apr_uint64_t,svn_fs_upgrade_notify_action_t,apr_pool_t *)|svn_fs_upgrade_notify_t", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_f_p_void_long_long_p_apr_pool_t__void = {"_p_f_p_void_long_long_p_apr_pool_t__void", "void (*)(void *,long,long,apr_pool_t *)|svn_fs_hotcopy_notify_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void *,apr_pool_t *)|svn_fs_freeze_func_t", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void *,char const *,svn_lock_t const *,svn_error_t *,apr_pool_t *)|svn_fs_lock_callback_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_struct_svn_error_t__void = {"_p_f_p_void_p_struct_svn_error_t__void", "void (*)(void *,struct svn_error_t *)|svn_fs_warning_callback_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_svn_lock_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_svn_lock_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void *,svn_lock_t *,apr_pool_t *)|svn_fs_get_locks_callback_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_int = {"_p_int", "int *|svn_boolean_t *|apr_status_t *", 0, 0, (void*)0, 0};
@@ -11426,6 +13911,7 @@ static swig_type_info _swigt__p_p_svn_checksum_t = {"_p_p_svn_checksum_t", "stru
static swig_type_info _swigt__p_p_svn_fs_access_t = {"_p_p_svn_fs_access_t", "struct svn_fs_access_t **|svn_fs_access_t **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_svn_fs_history_t = {"_p_p_svn_fs_history_t", "struct svn_fs_history_t **|svn_fs_history_t **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_svn_fs_id_t = {"_p_p_svn_fs_id_t", "struct svn_fs_id_t **|svn_fs_id_t **", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_p_svn_fs_info_placeholder_t = {"_p_p_svn_fs_info_placeholder_t", "struct svn_fs_info_placeholder_t **|svn_fs_info_placeholder_t **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_svn_fs_root_t = {"_p_p_svn_fs_root_t", "struct svn_fs_root_t **|svn_fs_root_t **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_svn_fs_t = {"_p_p_svn_fs_t", "struct svn_fs_t **|svn_fs_t **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_svn_fs_txn_t = {"_p_p_svn_fs_txn_t", "struct svn_fs_txn_t **|svn_fs_txn_t **", 0, 0, (void*)0, 0};
@@ -11433,6 +13919,7 @@ static swig_type_info _swigt__p_p_svn_lock_t = {"_p_p_svn_lock_t", "struct svn_l
static swig_type_info _swigt__p_p_svn_stream_t = {"_p_p_svn_stream_t", "struct svn_stream_t **|svn_stream_t **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_svn_string_t = {"_p_p_svn_string_t", "struct svn_string_t **|svn_string_t **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_svn_txdelta_stream_t = {"_p_p_svn_txdelta_stream_t", "struct svn_txdelta_stream_t **|svn_txdelta_stream_t **", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_p_svn_version_t = {"_p_p_svn_version_t", "struct svn_version_t **|svn_version_t **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_void = {"_p_p_void", "void **", 0, 0, (void*)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, (void*)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, (void*)0, 0};
@@ -11466,8 +13953,13 @@ static swig_type_info _swigt__p_svn_errno_t = {"_p_svn_errno_t", "enum svn_errno
static swig_type_info _swigt__p_svn_error_t = {"_p_svn_error_t", "struct svn_error_t *|svn_error_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_fs_access_t = {"_p_svn_fs_access_t", "struct svn_fs_access_t *|svn_fs_access_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_fs_dirent_t = {"_p_svn_fs_dirent_t", "struct svn_fs_dirent_t *|svn_fs_dirent_t *", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_svn_fs_fsfs_info_t = {"_p_svn_fs_fsfs_info_t", "struct svn_fs_fsfs_info_t *|svn_fs_fsfs_info_t *", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_svn_fs_fsx_info_t = {"_p_svn_fs_fsx_info_t", "struct svn_fs_fsx_info_t *|svn_fs_fsx_info_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_fs_history_t = {"_p_svn_fs_history_t", "struct svn_fs_history_t *|svn_fs_history_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_fs_id_t = {"_p_svn_fs_id_t", "struct svn_fs_id_t *|svn_fs_id_t *", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_svn_fs_info_placeholder_t = {"_p_svn_fs_info_placeholder_t", "struct svn_fs_info_placeholder_t *|svn_fs_info_placeholder_t *", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_svn_fs_lock_target_t = {"_p_svn_fs_lock_target_t", "struct svn_fs_lock_target_t *|svn_fs_lock_target_t *", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_svn_fs_node_relation_t = {"_p_svn_fs_node_relation_t", "enum svn_fs_node_relation_t *|svn_fs_node_relation_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_fs_pack_notify_action_t = {"_p_svn_fs_pack_notify_action_t", "enum svn_fs_pack_notify_action_t *|svn_fs_pack_notify_action_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_fs_path_change2_t = {"_p_svn_fs_path_change2_t", "struct svn_fs_path_change2_t *|svn_fs_path_change2_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_fs_path_change_kind_t = {"_p_svn_fs_path_change_kind_t", "enum svn_fs_path_change_kind_t *|svn_fs_path_change_kind_t *", 0, 0, (void*)0, 0};
@@ -11475,6 +13967,7 @@ static swig_type_info _swigt__p_svn_fs_path_change_t = {"_p_svn_fs_path_change_t
static swig_type_info _swigt__p_svn_fs_root_t = {"_p_svn_fs_root_t", "struct svn_fs_root_t *|svn_fs_root_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_fs_t = {"_p_svn_fs_t", "struct svn_fs_t *|svn_fs_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_fs_txn_t = {"_p_svn_fs_txn_t", "struct svn_fs_txn_t *|svn_fs_txn_t *", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_svn_fs_upgrade_notify_action_t = {"_p_svn_fs_upgrade_notify_action_t", "enum svn_fs_upgrade_notify_action_t *|svn_fs_upgrade_notify_action_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_io_dirent2_t = {"_p_svn_io_dirent2_t", "struct svn_io_dirent2_t *|svn_io_dirent2_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_io_dirent_t = {"_p_svn_io_dirent_t", "struct svn_io_dirent_t *|svn_io_dirent_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_io_file_del_t = {"_p_svn_io_file_del_t", "enum svn_io_file_del_t *|svn_io_file_del_t *", 0, 0, (void*)0, 0};
@@ -11519,6 +14012,7 @@ static swig_type_info *swig_type_initial[] = {
&_swigt__p_apr_int32_t,
&_swigt__p_apr_int64_t,
&_swigt__p_apr_pool_t,
+ &_swigt__p_apr_uint64_t,
&_swigt__p_char,
&_swigt__p_f_long_p_void_p_apr_pool_t__void,
&_swigt__p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t,
@@ -11526,7 +14020,10 @@ static swig_type_info *swig_type_initial[] = {
&_swigt__p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t,
&_swigt__p_f_p_void__p_svn_error_t,
&_swigt__p_f_p_void_apr_int64_t_svn_fs_pack_notify_action_t_p_apr_pool_t__p_svn_error_t,
+ &_swigt__p_f_p_void_apr_uint64_t_svn_fs_upgrade_notify_action_t_p_apr_pool_t__p_svn_error_t,
+ &_swigt__p_f_p_void_long_long_p_apr_pool_t__void,
&_swigt__p_f_p_void_p_apr_pool_t__p_svn_error_t,
+ &_swigt__p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_void_p_struct_svn_error_t__void,
&_swigt__p_f_p_void_p_svn_lock_t_p_apr_pool_t__p_svn_error_t,
&_swigt__p_int,
@@ -11539,6 +14036,7 @@ static swig_type_info *swig_type_initial[] = {
&_swigt__p_p_svn_fs_access_t,
&_swigt__p_p_svn_fs_history_t,
&_swigt__p_p_svn_fs_id_t,
+ &_swigt__p_p_svn_fs_info_placeholder_t,
&_swigt__p_p_svn_fs_root_t,
&_swigt__p_p_svn_fs_t,
&_swigt__p_p_svn_fs_txn_t,
@@ -11546,6 +14044,7 @@ static swig_type_info *swig_type_initial[] = {
&_swigt__p_p_svn_stream_t,
&_swigt__p_p_svn_string_t,
&_swigt__p_p_svn_txdelta_stream_t,
+ &_swigt__p_p_svn_version_t,
&_swigt__p_p_void,
&_swigt__p_svn_auth_baton_t,
&_swigt__p_svn_auth_cred_simple_t,
@@ -11579,8 +14078,13 @@ static swig_type_info *swig_type_initial[] = {
&_swigt__p_svn_error_t,
&_swigt__p_svn_fs_access_t,
&_swigt__p_svn_fs_dirent_t,
+ &_swigt__p_svn_fs_fsfs_info_t,
+ &_swigt__p_svn_fs_fsx_info_t,
&_swigt__p_svn_fs_history_t,
&_swigt__p_svn_fs_id_t,
+ &_swigt__p_svn_fs_info_placeholder_t,
+ &_swigt__p_svn_fs_lock_target_t,
+ &_swigt__p_svn_fs_node_relation_t,
&_swigt__p_svn_fs_pack_notify_action_t,
&_swigt__p_svn_fs_path_change2_t,
&_swigt__p_svn_fs_path_change_kind_t,
@@ -11588,6 +14092,7 @@ static swig_type_info *swig_type_initial[] = {
&_swigt__p_svn_fs_root_t,
&_swigt__p_svn_fs_t,
&_swigt__p_svn_fs_txn_t,
+ &_swigt__p_svn_fs_upgrade_notify_action_t,
&_swigt__p_svn_io_dirent2_t,
&_swigt__p_svn_io_dirent_t,
&_swigt__p_svn_io_file_del_t,
@@ -11632,6 +14137,7 @@ static swig_cast_info _swigc__p_apr_hash_t[] = { {&_swigt__p_apr_hash_t, 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_uint64_t[] = { {&_swigt__p_apr_uint64_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_long_p_void_p_apr_pool_t__void[] = { {&_swigt__p_f_long_p_void_p_apr_pool_t__void, 0, 0, 0},{0, 0, 0, 0}};
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}};
@@ -11639,7 +14145,10 @@ static swig_cast_info _swigc__p_f_p_q_const__unsigned_char_apr_size_t_p_void_p_a
static swig_cast_info _swigc__p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t[] = { {&_swigt__p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void__p_svn_error_t[] = { {&_swigt__p_f_p_void__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_apr_int64_t_svn_fs_pack_notify_action_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_apr_int64_t_svn_fs_pack_notify_action_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_f_p_void_apr_uint64_t_svn_fs_upgrade_notify_action_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_apr_uint64_t_svn_fs_upgrade_notify_action_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_f_p_void_long_long_p_apr_pool_t__void[] = { {&_swigt__p_f_p_void_long_long_p_apr_pool_t__void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_struct_svn_error_t__void[] = { {&_swigt__p_f_p_void_p_struct_svn_error_t__void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_svn_lock_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_svn_lock_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
@@ -11652,6 +14161,7 @@ static swig_cast_info _swigc__p_p_svn_checksum_t[] = { {&_swigt__p_p_svn_checks
static swig_cast_info _swigc__p_p_svn_fs_access_t[] = { {&_swigt__p_p_svn_fs_access_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_svn_fs_history_t[] = { {&_swigt__p_p_svn_fs_history_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_svn_fs_id_t[] = { {&_swigt__p_p_svn_fs_id_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_p_svn_fs_info_placeholder_t[] = { {&_swigt__p_p_svn_fs_info_placeholder_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_svn_fs_root_t[] = { {&_swigt__p_p_svn_fs_root_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_svn_fs_t[] = { {&_swigt__p_p_svn_fs_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_svn_fs_txn_t[] = { {&_swigt__p_p_svn_fs_txn_t, 0, 0, 0},{0, 0, 0, 0}};
@@ -11659,6 +14169,7 @@ static swig_cast_info _swigc__p_p_svn_lock_t[] = { {&_swigt__p_p_svn_lock_t, 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_txdelta_stream_t[] = { {&_swigt__p_p_svn_txdelta_stream_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_p_svn_version_t[] = { {&_swigt__p_p_svn_version_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}};
@@ -11692,8 +14203,13 @@ static swig_cast_info _swigc__p_svn_errno_t[] = { {&_swigt__p_svn_errno_t, 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_fs_access_t[] = { {&_swigt__p_svn_fs_access_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_fs_dirent_t[] = { {&_swigt__p_svn_fs_dirent_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_svn_fs_fsfs_info_t[] = { {&_swigt__p_svn_fs_fsfs_info_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_svn_fs_fsx_info_t[] = { {&_swigt__p_svn_fs_fsx_info_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_fs_history_t[] = { {&_swigt__p_svn_fs_history_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_fs_id_t[] = { {&_swigt__p_svn_fs_id_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_svn_fs_info_placeholder_t[] = { {&_swigt__p_svn_fs_info_placeholder_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_svn_fs_lock_target_t[] = { {&_swigt__p_svn_fs_lock_target_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_svn_fs_node_relation_t[] = { {&_swigt__p_svn_fs_node_relation_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_fs_pack_notify_action_t[] = { {&_swigt__p_svn_fs_pack_notify_action_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_fs_path_change2_t[] = { {&_swigt__p_svn_fs_path_change2_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_fs_path_change_kind_t[] = { {&_swigt__p_svn_fs_path_change_kind_t, 0, 0, 0},{0, 0, 0, 0}};
@@ -11701,6 +14217,7 @@ static swig_cast_info _swigc__p_svn_fs_path_change_t[] = { {&_swigt__p_svn_fs_p
static swig_cast_info _swigc__p_svn_fs_root_t[] = { {&_swigt__p_svn_fs_root_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_fs_t[] = { {&_swigt__p_svn_fs_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_fs_txn_t[] = { {&_swigt__p_svn_fs_txn_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_svn_fs_upgrade_notify_action_t[] = { {&_swigt__p_svn_fs_upgrade_notify_action_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_io_dirent2_t[] = { {&_swigt__p_svn_io_dirent2_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_io_file_del_t[] = { {&_swigt__p_svn_io_file_del_t, 0, 0, 0},{0, 0, 0, 0}};
@@ -11745,6 +14262,7 @@ static swig_cast_info *swig_cast_initial[] = {
_swigc__p_apr_int32_t,
_swigc__p_apr_int64_t,
_swigc__p_apr_pool_t,
+ _swigc__p_apr_uint64_t,
_swigc__p_char,
_swigc__p_f_long_p_void_p_apr_pool_t__void,
_swigc__p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t,
@@ -11752,7 +14270,10 @@ static swig_cast_info *swig_cast_initial[] = {
_swigc__p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t,
_swigc__p_f_p_void__p_svn_error_t,
_swigc__p_f_p_void_apr_int64_t_svn_fs_pack_notify_action_t_p_apr_pool_t__p_svn_error_t,
+ _swigc__p_f_p_void_apr_uint64_t_svn_fs_upgrade_notify_action_t_p_apr_pool_t__p_svn_error_t,
+ _swigc__p_f_p_void_long_long_p_apr_pool_t__void,
_swigc__p_f_p_void_p_apr_pool_t__p_svn_error_t,
+ _swigc__p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_void_p_struct_svn_error_t__void,
_swigc__p_f_p_void_p_svn_lock_t_p_apr_pool_t__p_svn_error_t,
_swigc__p_int,
@@ -11765,6 +14286,7 @@ static swig_cast_info *swig_cast_initial[] = {
_swigc__p_p_svn_fs_access_t,
_swigc__p_p_svn_fs_history_t,
_swigc__p_p_svn_fs_id_t,
+ _swigc__p_p_svn_fs_info_placeholder_t,
_swigc__p_p_svn_fs_root_t,
_swigc__p_p_svn_fs_t,
_swigc__p_p_svn_fs_txn_t,
@@ -11772,6 +14294,7 @@ static swig_cast_info *swig_cast_initial[] = {
_swigc__p_p_svn_stream_t,
_swigc__p_p_svn_string_t,
_swigc__p_p_svn_txdelta_stream_t,
+ _swigc__p_p_svn_version_t,
_swigc__p_p_void,
_swigc__p_svn_auth_baton_t,
_swigc__p_svn_auth_cred_simple_t,
@@ -11805,8 +14328,13 @@ static swig_cast_info *swig_cast_initial[] = {
_swigc__p_svn_error_t,
_swigc__p_svn_fs_access_t,
_swigc__p_svn_fs_dirent_t,
+ _swigc__p_svn_fs_fsfs_info_t,
+ _swigc__p_svn_fs_fsx_info_t,
_swigc__p_svn_fs_history_t,
_swigc__p_svn_fs_id_t,
+ _swigc__p_svn_fs_info_placeholder_t,
+ _swigc__p_svn_fs_lock_target_t,
+ _swigc__p_svn_fs_node_relation_t,
_swigc__p_svn_fs_pack_notify_action_t,
_swigc__p_svn_fs_path_change2_t,
_swigc__p_svn_fs_path_change_kind_t,
@@ -11814,6 +14342,7 @@ static swig_cast_info *swig_cast_initial[] = {
_swigc__p_svn_fs_root_t,
_swigc__p_svn_fs_t,
_swigc__p_svn_fs_txn_t,
+ _swigc__p_svn_fs_upgrade_notify_action_t,
_swigc__p_svn_io_dirent2_t,
_swigc__p_svn_io_dirent_t,
_swigc__p_svn_io_file_del_t,
@@ -11858,18 +14387,18 @@ static swig_cast_info *swig_cast_initial[] = {
/* -----------------------------------------------------------------------------
* Type initialization:
- * This problem is tough by the requirement that no dynamic
- * memory is used. Also, since swig_type_info structures store pointers to
+ * 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
+ * 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
+ * The generated swig_type_info structures are assigned staticly to an initial
* array. We just loop through 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
@@ -11879,17 +14408,17 @@ static swig_cast_info *swig_cast_initial[] = {
* 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
+ * 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.
+ * 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
+ * 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
@@ -11952,7 +14481,7 @@ SWIG_InitializeModule(void *clientdata) {
module_head->next = &swig_module;
}
- /* When multiple interpeters are used, a module could have already been initialized in
+ /* When multiple interpreters are used, a module could have already been initialized in
a different interpreter, but not yet have a pointer in this interpreter.
In this case, we do not want to continue adding types... everything should be
set up already */
@@ -11966,7 +14495,7 @@ SWIG_InitializeModule(void *clientdata) {
swig_type_info *type = 0;
swig_type_info *ret;
swig_cast_info *cast;
-
+
#ifdef SWIGRUNTIME_DEBUG
printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
#endif
@@ -11993,7 +14522,7 @@ SWIG_InitializeModule(void *clientdata) {
/* Insert casting types */
cast = swig_module.cast_initial[i];
while (cast->type) {
-
+
/* Don't need to add information already in the list */
ret = 0;
#ifdef SWIGRUNTIME_DEBUG
@@ -12116,27 +14645,38 @@ SWIGEXPORT void Init_fs(void) {
rb_define_module_function(mFs, "svn_fs_set_warning_func_wrapper", _wrap_svn_fs_set_warning_func_wrapper, -1);
rb_define_module_function(mFs, "svn_fs_root_fs_wrapper", _wrap_svn_fs_root_fs_wrapper, -1);
rb_define_module_function(mFs, "svn_fs_version", _wrap_svn_fs_version, -1);
+ rb_define_const(mFs, "SVN_FS_TYPE_BDB", SWIG_FromCharPtr("bdb"));
+ rb_define_const(mFs, "SVN_FS_TYPE_FSFS", SWIG_FromCharPtr("fsfs"));
+ rb_define_const(mFs, "SVN_FS_TYPE_FSX", SWIG_FromCharPtr("fsx"));
rb_define_const(mFs, "SVN_FS_CONFIG_BDB_TXN_NOSYNC", SWIG_FromCharPtr("bdb-txn-nosync"));
rb_define_const(mFs, "SVN_FS_CONFIG_BDB_LOG_AUTOREMOVE", SWIG_FromCharPtr("bdb-log-autoremove"));
rb_define_const(mFs, "SVN_FS_CONFIG_FSFS_CACHE_DELTAS", SWIG_FromCharPtr("fsfs-cache-deltas"));
rb_define_const(mFs, "SVN_FS_CONFIG_FSFS_CACHE_FULLTEXTS", SWIG_FromCharPtr("fsfs-cache-fulltexts"));
rb_define_const(mFs, "SVN_FS_CONFIG_FSFS_CACHE_REVPROPS", SWIG_FromCharPtr("fsfs-cache-revprops"));
rb_define_const(mFs, "SVN_FS_CONFIG_FSFS_CACHE_NS", SWIG_FromCharPtr("fsfs-cache-namespace"));
+ rb_define_const(mFs, "SVN_FS_CONFIG_FSFS_BLOCK_READ", SWIG_FromCharPtr("fsfs-block-read"));
+ rb_define_const(mFs, "SVN_FS_CONFIG_FSFS_SHARD_SIZE", SWIG_FromCharPtr("fsfs-shard-size"));
+ rb_define_const(mFs, "SVN_FS_CONFIG_FSFS_LOG_ADDRESSING", SWIG_FromCharPtr("fsfs-log-addressing"));
rb_define_const(mFs, "SVN_FS_CONFIG_FS_TYPE", SWIG_FromCharPtr("fs-type"));
- rb_define_const(mFs, "SVN_FS_TYPE_BDB", SWIG_FromCharPtr("bdb"));
- rb_define_const(mFs, "SVN_FS_TYPE_FSFS", SWIG_FromCharPtr("fsfs"));
rb_define_const(mFs, "SVN_FS_CONFIG_PRE_1_4_COMPATIBLE", SWIG_FromCharPtr("pre-1.4-compatible"));
rb_define_const(mFs, "SVN_FS_CONFIG_PRE_1_5_COMPATIBLE", SWIG_FromCharPtr("pre-1.5-compatible"));
rb_define_const(mFs, "SVN_FS_CONFIG_PRE_1_6_COMPATIBLE", SWIG_FromCharPtr("pre-1.6-compatible"));
rb_define_const(mFs, "SVN_FS_CONFIG_PRE_1_8_COMPATIBLE", SWIG_FromCharPtr("pre-1.8-compatible"));
+ rb_define_const(mFs, "SVN_FS_CONFIG_COMPATIBLE_VERSION", SWIG_FromCharPtr("compatible-version"));
rb_define_module_function(mFs, "svn_fs_initialize", _wrap_svn_fs_initialize, -1);
rb_define_module_function(mFs, "svn_fs_create", _wrap_svn_fs_create, -1);
+ rb_define_module_function(mFs, "svn_fs_open2", _wrap_svn_fs_open2, -1);
rb_define_module_function(mFs, "svn_fs_open", _wrap_svn_fs_open, -1);
+ rb_define_const(mFs, "Svn_fs_upgrade_pack_revprops", SWIG_From_int((int)(svn_fs_upgrade_pack_revprops)));
+ rb_define_const(mFs, "Svn_fs_upgrade_cleanup_revprops", SWIG_From_int((int)(svn_fs_upgrade_cleanup_revprops)));
+ rb_define_const(mFs, "Svn_fs_upgrade_format_bumped", SWIG_From_int((int)(svn_fs_upgrade_format_bumped)));
+ rb_define_module_function(mFs, "svn_fs_upgrade2", _wrap_svn_fs_upgrade2, -1);
rb_define_module_function(mFs, "svn_fs_upgrade", _wrap_svn_fs_upgrade, -1);
rb_define_module_function(mFs, "svn_fs_type", _wrap_svn_fs_type, -1);
rb_define_module_function(mFs, "svn_fs_path", _wrap_svn_fs_path, -1);
rb_define_module_function(mFs, "svn_fs_config", _wrap_svn_fs_config, -1);
rb_define_module_function(mFs, "svn_fs_delete_fs", _wrap_svn_fs_delete_fs, -1);
+ rb_define_module_function(mFs, "svn_fs_hotcopy3", _wrap_svn_fs_hotcopy3, -1);
rb_define_module_function(mFs, "svn_fs_hotcopy2", _wrap_svn_fs_hotcopy2, -1);
rb_define_module_function(mFs, "svn_fs_hotcopy", _wrap_svn_fs_hotcopy, -1);
rb_define_module_function(mFs, "svn_fs_recover", _wrap_svn_fs_recover, -1);
@@ -12155,12 +14695,16 @@ SWIGEXPORT void Init_fs(void) {
rb_define_module_function(mFs, "svn_fs_access_get_username", _wrap_svn_fs_access_get_username, -1);
rb_define_module_function(mFs, "svn_fs_access_add_lock_token2", _wrap_svn_fs_access_add_lock_token2, -1);
rb_define_module_function(mFs, "svn_fs_access_add_lock_token", _wrap_svn_fs_access_add_lock_token, -1);
+ rb_define_const(mFs, "Svn_fs_node_unrelated", SWIG_From_int((int)(svn_fs_node_unrelated)));
+ rb_define_const(mFs, "Svn_fs_node_unchanged", SWIG_From_int((int)(svn_fs_node_unchanged)));
+ rb_define_const(mFs, "Svn_fs_node_common_ancestor", SWIG_From_int((int)(svn_fs_node_common_ancestor)));
rb_define_module_function(mFs, "svn_fs_compare_ids", _wrap_svn_fs_compare_ids, -1);
rb_define_module_function(mFs, "svn_fs_check_related", _wrap_svn_fs_check_related, -1);
rb_define_module_function(mFs, "svn_fs_parse_id", _wrap_svn_fs_parse_id, -1);
rb_define_module_function(mFs, "svn_fs_unparse_id", _wrap_svn_fs_unparse_id, -1);
rb_define_const(mFs, "SVN_FS_TXN_CHECK_OOD", SWIG_From_int((int)(0x00001)));
rb_define_const(mFs, "SVN_FS_TXN_CHECK_LOCKS", SWIG_From_int((int)(0x00002)));
+ rb_define_const(mFs, "SVN_FS_TXN_CLIENT_DATE", SWIG_From_int((int)(0x00004)));
rb_define_module_function(mFs, "svn_fs_begin_txn2", _wrap_svn_fs_begin_txn2, -1);
rb_define_module_function(mFs, "svn_fs_begin_txn", _wrap_svn_fs_begin_txn, -1);
rb_define_module_function(mFs, "svn_fs_commit_txn", _wrap_svn_fs_commit_txn, -1);
@@ -12207,6 +14751,8 @@ SWIGEXPORT void Init_fs(void) {
rb_define_method(SwigClassSvn_fs_path_change2_t.klass, "copyfrom_rev", _wrap_svn_fs_path_change2_t_copyfrom_rev_get, -1);
rb_define_method(SwigClassSvn_fs_path_change2_t.klass, "copyfrom_path=", _wrap_svn_fs_path_change2_t_copyfrom_path_set, -1);
rb_define_method(SwigClassSvn_fs_path_change2_t.klass, "copyfrom_path", _wrap_svn_fs_path_change2_t_copyfrom_path_get, -1);
+ rb_define_method(SwigClassSvn_fs_path_change2_t.klass, "mergeinfo_mod=", _wrap_svn_fs_path_change2_t_mergeinfo_mod_set, -1);
+ rb_define_method(SwigClassSvn_fs_path_change2_t.klass, "mergeinfo_mod", _wrap_svn_fs_path_change2_t_mergeinfo_mod_get, -1);
SwigClassSvn_fs_path_change2_t.mark = 0;
SwigClassSvn_fs_path_change2_t.trackObjects = 0;
@@ -12227,18 +14773,23 @@ SWIGEXPORT void Init_fs(void) {
rb_define_module_function(mFs, "svn_fs_paths_changed2", _wrap_svn_fs_paths_changed2, -1);
rb_define_module_function(mFs, "svn_fs_paths_changed", _wrap_svn_fs_paths_changed, -1);
rb_define_module_function(mFs, "svn_fs_check_path", _wrap_svn_fs_check_path, -1);
+ rb_define_module_function(mFs, "svn_fs_node_history2", _wrap_svn_fs_node_history2, -1);
rb_define_module_function(mFs, "svn_fs_node_history", _wrap_svn_fs_node_history, -1);
+ rb_define_module_function(mFs, "svn_fs_history_prev2", _wrap_svn_fs_history_prev2, -1);
rb_define_module_function(mFs, "svn_fs_history_prev", _wrap_svn_fs_history_prev, -1);
rb_define_module_function(mFs, "svn_fs_history_location", _wrap_svn_fs_history_location, -1);
rb_define_module_function(mFs, "svn_fs_is_dir", _wrap_svn_fs_is_dir, -1);
rb_define_module_function(mFs, "svn_fs_is_file", _wrap_svn_fs_is_file, -1);
rb_define_module_function(mFs, "svn_fs_node_id", _wrap_svn_fs_node_id, -1);
+ rb_define_module_function(mFs, "svn_fs_node_relation", _wrap_svn_fs_node_relation, -1);
rb_define_module_function(mFs, "svn_fs_node_created_rev", _wrap_svn_fs_node_created_rev, -1);
rb_define_module_function(mFs, "svn_fs_node_origin_rev", _wrap_svn_fs_node_origin_rev, -1);
rb_define_module_function(mFs, "svn_fs_node_created_path", _wrap_svn_fs_node_created_path, -1);
rb_define_module_function(mFs, "svn_fs_node_prop", _wrap_svn_fs_node_prop, -1);
rb_define_module_function(mFs, "svn_fs_node_proplist", _wrap_svn_fs_node_proplist, -1);
+ rb_define_module_function(mFs, "svn_fs_node_has_props", _wrap_svn_fs_node_has_props, -1);
rb_define_module_function(mFs, "svn_fs_change_node_prop", _wrap_svn_fs_change_node_prop, -1);
+ rb_define_module_function(mFs, "svn_fs_props_different", _wrap_svn_fs_props_different, -1);
rb_define_module_function(mFs, "svn_fs_props_changed", _wrap_svn_fs_props_changed, -1);
rb_define_module_function(mFs, "svn_fs_copied_from", _wrap_svn_fs_copied_from, -1);
rb_define_module_function(mFs, "svn_fs_closest_copy", _wrap_svn_fs_closest_copy, -1);
@@ -12258,6 +14809,7 @@ SWIGEXPORT void Init_fs(void) {
SwigClassSvn_fs_dirent_t.mark = 0;
SwigClassSvn_fs_dirent_t.trackObjects = 0;
rb_define_module_function(mFs, "svn_fs_dir_entries", _wrap_svn_fs_dir_entries, -1);
+ rb_define_module_function(mFs, "svn_fs_dir_optimal_order", _wrap_svn_fs_dir_optimal_order, -1);
rb_define_module_function(mFs, "svn_fs_make_dir", _wrap_svn_fs_make_dir, -1);
rb_define_module_function(mFs, "svn_fs_delete", _wrap_svn_fs_delete, -1);
rb_define_module_function(mFs, "svn_fs_copy", _wrap_svn_fs_copy, -1);
@@ -12270,8 +14822,11 @@ SWIGEXPORT void Init_fs(void) {
rb_define_module_function(mFs, "svn_fs_make_file", _wrap_svn_fs_make_file, -1);
rb_define_module_function(mFs, "svn_fs_apply_textdelta", _wrap_svn_fs_apply_textdelta, -1);
rb_define_module_function(mFs, "svn_fs_apply_text", _wrap_svn_fs_apply_text, -1);
+ rb_define_module_function(mFs, "svn_fs_contents_different", _wrap_svn_fs_contents_different, -1);
rb_define_module_function(mFs, "svn_fs_contents_changed", _wrap_svn_fs_contents_changed, -1);
rb_define_module_function(mFs, "svn_fs_youngest_rev", _wrap_svn_fs_youngest_rev, -1);
+ rb_define_module_function(mFs, "svn_fs_info_format", _wrap_svn_fs_info_format, -1);
+ rb_define_module_function(mFs, "svn_fs_info_config_files", _wrap_svn_fs_info_config_files, -1);
rb_define_module_function(mFs, "svn_fs_deltify_revision", _wrap_svn_fs_deltify_revision, -1);
rb_define_module_function(mFs, "svn_fs_revision_prop", _wrap_svn_fs_revision_prop, -1);
rb_define_module_function(mFs, "svn_fs_revision_proplist", _wrap_svn_fs_revision_proplist, -1);
@@ -12280,8 +14835,12 @@ SWIGEXPORT void Init_fs(void) {
rb_define_module_function(mFs, "svn_fs_get_file_delta_stream", _wrap_svn_fs_get_file_delta_stream, -1);
rb_define_module_function(mFs, "svn_fs_get_uuid", _wrap_svn_fs_get_uuid, -1);
rb_define_module_function(mFs, "svn_fs_set_uuid", _wrap_svn_fs_set_uuid, -1);
+ rb_define_module_function(mFs, "svn_fs_lock_target_create", _wrap_svn_fs_lock_target_create, -1);
+ rb_define_module_function(mFs, "svn_fs_lock_target_set_token", _wrap_svn_fs_lock_target_set_token, -1);
+ rb_define_module_function(mFs, "svn_fs_lock_many", _wrap_svn_fs_lock_many, -1);
rb_define_module_function(mFs, "svn_fs_lock", _wrap_svn_fs_lock, -1);
rb_define_module_function(mFs, "svn_fs_generate_lock_token", _wrap_svn_fs_generate_lock_token, -1);
+ rb_define_module_function(mFs, "svn_fs_unlock_many", _wrap_svn_fs_unlock_many, -1);
rb_define_module_function(mFs, "svn_fs_unlock", _wrap_svn_fs_unlock, -1);
rb_define_module_function(mFs, "svn_fs_get_lock", _wrap_svn_fs_get_lock, -1);
rb_define_module_function(mFs, "svn_fs_get_locks2", _wrap_svn_fs_get_locks2, -1);
@@ -12294,10 +14853,49 @@ SWIGEXPORT void Init_fs(void) {
rb_define_module_function(mFs, "svn_fs_pack", _wrap_svn_fs_pack, -1);
rb_define_module_function(mFs, "svn_fs_verify", _wrap_svn_fs_verify, -1);
rb_define_module_function(mFs, "svn_fs_verify_root", _wrap_svn_fs_verify_root, -1);
+
+ SwigClassSvn_fs_fsfs_info_t.klass = rb_define_class_under(mFs, "Svn_fs_fsfs_info_t", rb_cObject);
+ SWIG_TypeClientData(SWIGTYPE_p_svn_fs_fsfs_info_t, (void *) &SwigClassSvn_fs_fsfs_info_t);
+ rb_undef_alloc_func(SwigClassSvn_fs_fsfs_info_t.klass);
+ rb_define_method(SwigClassSvn_fs_fsfs_info_t.klass, "fs_type=", _wrap_svn_fs_fsfs_info_t_fs_type_set, -1);
+ rb_define_method(SwigClassSvn_fs_fsfs_info_t.klass, "fs_type", _wrap_svn_fs_fsfs_info_t_fs_type_get, -1);
+ rb_define_method(SwigClassSvn_fs_fsfs_info_t.klass, "shard_size=", _wrap_svn_fs_fsfs_info_t_shard_size_set, -1);
+ rb_define_method(SwigClassSvn_fs_fsfs_info_t.klass, "shard_size", _wrap_svn_fs_fsfs_info_t_shard_size_get, -1);
+ rb_define_method(SwigClassSvn_fs_fsfs_info_t.klass, "min_unpacked_rev=", _wrap_svn_fs_fsfs_info_t_min_unpacked_rev_set, -1);
+ rb_define_method(SwigClassSvn_fs_fsfs_info_t.klass, "min_unpacked_rev", _wrap_svn_fs_fsfs_info_t_min_unpacked_rev_get, -1);
+ rb_define_method(SwigClassSvn_fs_fsfs_info_t.klass, "log_addressing=", _wrap_svn_fs_fsfs_info_t_log_addressing_set, -1);
+ rb_define_method(SwigClassSvn_fs_fsfs_info_t.klass, "log_addressing", _wrap_svn_fs_fsfs_info_t_log_addressing_get, -1);
+ SwigClassSvn_fs_fsfs_info_t.mark = 0;
+ SwigClassSvn_fs_fsfs_info_t.trackObjects = 0;
+
+ SwigClassSvn_fs_fsx_info_t.klass = rb_define_class_under(mFs, "Svn_fs_fsx_info_t", rb_cObject);
+ SWIG_TypeClientData(SWIGTYPE_p_svn_fs_fsx_info_t, (void *) &SwigClassSvn_fs_fsx_info_t);
+ rb_undef_alloc_func(SwigClassSvn_fs_fsx_info_t.klass);
+ rb_define_method(SwigClassSvn_fs_fsx_info_t.klass, "fs_type=", _wrap_svn_fs_fsx_info_t_fs_type_set, -1);
+ rb_define_method(SwigClassSvn_fs_fsx_info_t.klass, "fs_type", _wrap_svn_fs_fsx_info_t_fs_type_get, -1);
+ rb_define_method(SwigClassSvn_fs_fsx_info_t.klass, "shard_size=", _wrap_svn_fs_fsx_info_t_shard_size_set, -1);
+ rb_define_method(SwigClassSvn_fs_fsx_info_t.klass, "shard_size", _wrap_svn_fs_fsx_info_t_shard_size_get, -1);
+ rb_define_method(SwigClassSvn_fs_fsx_info_t.klass, "min_unpacked_rev=", _wrap_svn_fs_fsx_info_t_min_unpacked_rev_set, -1);
+ rb_define_method(SwigClassSvn_fs_fsx_info_t.klass, "min_unpacked_rev", _wrap_svn_fs_fsx_info_t_min_unpacked_rev_get, -1);
+ SwigClassSvn_fs_fsx_info_t.mark = 0;
+ SwigClassSvn_fs_fsx_info_t.trackObjects = 0;
+
+ SwigClassSvn_fs_info_placeholder_t.klass = rb_define_class_under(mFs, "Svn_fs_info_placeholder_t", rb_cObject);
+ SWIG_TypeClientData(SWIGTYPE_p_svn_fs_info_placeholder_t, (void *) &SwigClassSvn_fs_info_placeholder_t);
+ rb_undef_alloc_func(SwigClassSvn_fs_info_placeholder_t.klass);
+ rb_define_method(SwigClassSvn_fs_info_placeholder_t.klass, "fs_type=", _wrap_svn_fs_info_placeholder_t_fs_type_set, -1);
+ rb_define_method(SwigClassSvn_fs_info_placeholder_t.klass, "fs_type", _wrap_svn_fs_info_placeholder_t_fs_type_get, -1);
+ SwigClassSvn_fs_info_placeholder_t.mark = 0;
+ SwigClassSvn_fs_info_placeholder_t.trackObjects = 0;
+ rb_define_module_function(mFs, "svn_fs_info", _wrap_svn_fs_info, -1);
+ rb_define_module_function(mFs, "svn_fs_info_dup", _wrap_svn_fs_info_dup, -1);
rb_define_module_function(mFs, "svn_fs_invoke_warning_callback", _wrap_svn_fs_invoke_warning_callback, -1);
+ rb_define_module_function(mFs, "svn_fs_invoke_upgrade_notify", _wrap_svn_fs_invoke_upgrade_notify, -1);
rb_define_module_function(mFs, "svn_fs_invoke_progress_notify_func", _wrap_svn_fs_invoke_progress_notify_func, -1);
+ rb_define_module_function(mFs, "svn_fs_invoke_hotcopy_notify", _wrap_svn_fs_invoke_hotcopy_notify, -1);
rb_define_module_function(mFs, "svn_fs_invoke_freeze_func", _wrap_svn_fs_invoke_freeze_func, -1);
rb_define_module_function(mFs, "svn_fs_invoke_process_contents_func", _wrap_svn_fs_invoke_process_contents_func, -1);
+ rb_define_module_function(mFs, "svn_fs_invoke_lock_callback", _wrap_svn_fs_invoke_lock_callback, -1);
rb_define_module_function(mFs, "svn_fs_invoke_get_locks_callback", _wrap_svn_fs_invoke_get_locks_callback, -1);
rb_define_module_function(mFs, "svn_fs_invoke_pack_notify", _wrap_svn_fs_invoke_pack_notify, -1);
diff --git a/subversion/bindings/swig/ruby/svn_ra.c b/subversion/bindings/swig/ruby/svn_ra.c
index 5d953ff..90a0229 100644
--- a/subversion/bindings/swig/ruby/svn_ra.c
+++ b/subversion/bindings/swig/ruby/svn_ra.c
@@ -1,11 +1,11 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.9
- *
- * This file is not intended to be easily readable and contains a number of
+ * Version 2.0.12
+ *
+ * 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.
+ * changes to this file unless you know what you are doing--modify the SWIG
+ * interface file instead.
* ----------------------------------------------------------------------------- */
#define SWIGRUBY
@@ -41,28 +41,28 @@
#ifndef SWIGUNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
# elif defined(__ICC)
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
-# define SWIGUNUSED
+# define SWIGUNUSED
# endif
#endif
#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
-# endif
+# endif
#endif
#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
# define SWIGUNUSEDPARM(p)
# else
-# define SWIGUNUSEDPARM(p) p SWIGUNUSED
+# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif
@@ -105,7 +105,7 @@
# define SWIGSTDCALL __stdcall
# else
# define SWIGSTDCALL
-# endif
+# endif
#endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
@@ -150,28 +150,28 @@
#ifndef SWIGUNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
# elif defined(__ICC)
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
-# define SWIGUNUSED
+# define SWIGUNUSED
# endif
#endif
#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
-# endif
+# endif
#endif
#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
# define SWIGUNUSEDPARM(p)
# else
-# define SWIGUNUSEDPARM(p) p SWIGUNUSED
+# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif
@@ -214,7 +214,7 @@
# define SWIGSTDCALL __stdcall
# else
# define SWIGSTDCALL
-# endif
+# endif
#endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
@@ -252,7 +252,7 @@
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 strictly necessary, ie, if you have problems
with your compiler or suchlike.
*/
@@ -278,16 +278,16 @@
#define SWIG_POINTER_OWN 0x1
-/*
+/*
Flags/methods for returning states.
-
- The SWIG conversion methods, as ConvertPtr, return an integer
+
+ The SWIG conversion methods, as ConvertPtr, return an integer
that tells if the conversion was successful or not. And if not,
an error code can be returned (see swigerrors.swg for the codes).
-
+
Use the following macros/flags to set or process the returning
states.
-
+
In old versions of SWIG, code such as the following was usually written:
if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
@@ -320,23 +320,23 @@
} else {
// fail code
}
-
+
I.e., now SWIG_ConvertPtr can return new objects and you can
identify the case and take care of the deallocation. Of course that
also requires SWIG_ConvertPtr to return new result values, such as
- int SWIG_ConvertPtr(obj, ptr,...) {
- if (<obj is ok>) {
- if (<need new object>) {
- *ptr = <ptr to new allocated object>;
- return SWIG_NEWOBJ;
- } else {
- *ptr = <ptr to old object>;
- return SWIG_OLDOBJ;
- }
- } else {
- return SWIG_BADOBJ;
- }
+ int SWIG_ConvertPtr(obj, ptr,...) {
+ if (<obj is ok>) {
+ if (<need new object>) {
+ *ptr = <ptr to new allocated object>;
+ return SWIG_NEWOBJ;
+ } else {
+ *ptr = <ptr to old object>;
+ return SWIG_OLDOBJ;
+ }
+ } else {
+ return SWIG_BADOBJ;
+ }
}
Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
@@ -350,17 +350,17 @@
int fooi(int);
and you call
-
+
food(1) // cast rank '1' (1 -> 1.0)
fooi(1) // cast rank '0'
just use the SWIG_AddCast()/SWIG_CheckState()
*/
-#define SWIG_OK (0)
+#define SWIG_OK (0)
#define SWIG_ERROR (-1)
#define SWIG_IsOK(r) (r >= 0)
-#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
+#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
/* The CastRankLimit says how many bits are used for the cast rank */
#define SWIG_CASTRANKLIMIT (1 << 8)
@@ -391,14 +391,14 @@
# endif
# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
-SWIGINTERNINLINE int SWIG_AddCast(int r) {
+SWIGINTERNINLINE int SWIG_AddCast(int r) {
return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
}
-SWIGINTERNINLINE int SWIG_CheckState(int r) {
- return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
+SWIGINTERNINLINE int SWIG_CheckState(int r) {
+ return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
}
#else /* no cast-rank mode */
-# define SWIG_AddCast
+# define SWIG_AddCast(r) (r)
# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
#endif
@@ -442,7 +442,7 @@ typedef struct swig_module_info {
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.
@@ -462,18 +462,18 @@ SWIG_TypeNameComp(const char *f1, const char *l1,
/*
Check type equivalence in a name list like <name1>|<name2>|...
- Return 0 if not equal, 1 if equal
+ Return 0 if equal, -1 if nb < tb, 1 if nb > tb
*/
SWIGRUNTIME int
-SWIG_TypeEquiv(const char *nb, const char *tb) {
- int equiv = 0;
+SWIG_TypeCmp(const char *nb, const char *tb) {
+ int equiv = 1;
const char* te = tb + strlen(tb);
const char* ne = nb;
- while (!equiv && *ne) {
+ while (equiv != 0 && *ne) {
for (nb = ne; *ne; ++ne) {
if (*ne == '|') break;
}
- equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
+ equiv = SWIG_TypeNameComp(nb, ne, tb, te);
if (*ne) ++ne;
}
return equiv;
@@ -481,24 +481,13 @@ SWIG_TypeEquiv(const char *nb, const char *tb) {
/*
Check type equivalence in a name list like <name1>|<name2>|...
- Return 0 if equal, -1 if nb < tb, 1 if nb > tb
+ Return 0 if not equal, 1 if equal
*/
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;
+SWIG_TypeEquiv(const char *nb, const char *tb) {
+ return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
}
-
/*
Check the typename
*/
@@ -526,7 +515,7 @@ SWIG_TypeCheck(const char *c, swig_type_info *ty) {
return 0;
}
-/*
+/*
Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
*/
SWIGRUNTIME swig_cast_info *
@@ -561,7 +550,7 @@ SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
}
-/*
+/*
Dynamic pointer casting. Down an inheritance hierarchy
*/
SWIGRUNTIME swig_type_info *
@@ -605,7 +594,7 @@ SWIG_TypePrettyName(const swig_type_info *type) {
return type->name;
}
-/*
+/*
Set the clientdata field for a type
*/
SWIGRUNTIME void
@@ -613,14 +602,14 @@ SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
swig_cast_info *cast = ti->cast;
/* if (ti->clientdata == clientdata) return; */
ti->clientdata = clientdata;
-
+
while (cast) {
if (!cast->converter) {
swig_type_info *tc = cast->type;
if (!tc->clientdata) {
SWIG_TypeClientData(tc, clientdata);
}
- }
+ }
cast = cast->next;
}
}
@@ -629,18 +618,18 @@ SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
SWIG_TypeClientData(ti, clientdata);
ti->owndata = 1;
}
-
+
/*
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.
+
+ 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,
+SWIG_MangledTypeQueryModule(swig_module_info *start,
+ swig_module_info *end,
const char *name) {
swig_module_info *iter = start;
do {
@@ -649,11 +638,11 @@ SWIG_MangledTypeQueryModule(swig_module_info *start,
register size_t r = iter->size - 1;
do {
/* since l+r >= 0, we can (>> 1) instead (/ 2) */
- register size_t i = (l + r) >> 1;
+ 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) {
+ if (compare == 0) {
return iter->types[i];
} else if (compare < 0) {
if (i) {
@@ -678,14 +667,14 @@ SWIG_MangledTypeQueryModule(swig_module_info *start,
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.
+
+ 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,
+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);
@@ -704,12 +693,12 @@ SWIG_TypeQueryModule(swig_module_info *start,
iter = iter->next;
} while (iter != end);
}
-
+
/* neither found a match */
return 0;
}
-/*
+/*
Pack binary data into a string
*/
SWIGRUNTIME char *
@@ -725,7 +714,7 @@ SWIG_PackData(char *c, void *ptr, size_t sz) {
return c;
}
-/*
+/*
Unpack binary data from a string
*/
SWIGRUNTIME const char *
@@ -739,21 +728,21 @@ SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
uu = ((d - '0') << 4);
else if ((d >= 'a') && (d <= 'f'))
uu = ((d - ('a'-10)) << 4);
- else
+ 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
+ else
return (char *) 0;
*u = uu;
}
return c;
}
-/*
+/*
Pack 'void *' into a string buffer.
*/
SWIGRUNTIME char *
@@ -813,18 +802,18 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
#endif
/* Errors in SWIG */
-#define SWIG_UnknownError -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_UnknownError -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_AttributeError -11
-#define SWIG_MemoryError -12
+#define SWIG_MemoryError -12
#define SWIG_NullReferenceError -13
@@ -1750,7 +1739,7 @@ SWIG_Ruby_SetModule(swig_module_info *pointer)
SWIGINTERN
int SWIG_Ruby_isCallable( VALUE proc )
{
- if ( rb_respond_to( proc, swig_call_id ) == Qtrue )
+ if ( rb_respond_to( proc, swig_call_id ) )
return 1;
return 0;
}
@@ -1763,7 +1752,7 @@ int SWIG_Ruby_isCallable( VALUE proc )
SWIGINTERN
int SWIG_Ruby_arity( VALUE proc, int minimal )
{
- if ( rb_respond_to( proc, swig_arity_id ) == Qtrue )
+ if ( rb_respond_to( proc, swig_arity_id ) )
{
VALUE num = rb_funcall( proc, swig_arity_id, 0 );
int arity = NUM2INT(num);
@@ -1804,145 +1793,149 @@ int SWIG_Ruby_arity( VALUE proc, int minimal )
#define SWIGTYPE_p_f_int_p_apr_pool_t_p_apr_hash_t__p_svn_error_t swig_types[9]
#define SWIGTYPE_p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[10]
#define SWIGTYPE_p_f_p_p_apr_file_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[11]
-#define SWIGTYPE_p_f_p_p_void_p_q_const__char_p_q_const__svn_ra_callbacks_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t swig_types[12]
-#define SWIGTYPE_p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[13]
-#define SWIGTYPE_p_f_p_svn_location_segment_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[14]
-#define SWIGTYPE_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t swig_types[15]
-#define SWIGTYPE_p_f_p_void__p_svn_error_t swig_types[16]
-#define SWIGTYPE_p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[17]
-#define SWIGTYPE_p_f_p_void_p_apr_pool_t__p_svn_error_t swig_types[18]
-#define SWIGTYPE_p_f_p_void_p_p_apr_hash_t_p_q_const__char_svn_revnum_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t swig_types[19]
-#define SWIGTYPE_p_f_p_void_p_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[20]
-#define SWIGTYPE_p_f_p_void_p_p_q_const__svn_delta_editor_t_p_p_void_p_q_const__char_svn_commit_callback_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[21]
-#define SWIGTYPE_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[22]
-#define SWIGTYPE_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[23]
-#define SWIGTYPE_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[24]
-#define SWIGTYPE_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[25]
-#define SWIGTYPE_p_f_p_void_p_p_svn_stream_t_p_q_const__svn_checksum_t_p_apr_pool_t__p_svn_error_t swig_types[26]
-#define SWIGTYPE_p_f_p_void_p_q_const__apr_array_header_t_svn_revnum_t_svn_revnum_t_svn_boolean_t_svn_boolean_t_svn_log_message_receiver_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[27]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[28]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[29]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t swig_types[30]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t swig_types[31]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[32]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[33]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_depth_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[34]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_boolean_t_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t swig_types[35]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t swig_types[36]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_svn_boolean_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t swig_types[37]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_p_apr_hash_t_p_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t swig_types[38]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_svn_node_kind_t_p_apr_pool_t__p_svn_error_t swig_types[39]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_svn_stream_t_p_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t swig_types[40]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[41]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[42]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_svn_depth_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[43]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_svn_revnum_t_svn_ra_file_rev_handler_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[44]
-#define SWIGTYPE_p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t swig_types[45]
-#define SWIGTYPE_p_f_p_void_p_svn_revnum_t__p_svn_error_t swig_types[46]
-#define SWIGTYPE_p_f_p_void_p_svn_revnum_t_apr_time_t_p_apr_pool_t__p_svn_error_t swig_types[47]
-#define SWIGTYPE_p_f_p_void_p_svn_revnum_t_p_apr_pool_t__p_svn_error_t swig_types[48]
-#define SWIGTYPE_p_f_p_void_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t swig_types[49]
-#define SWIGTYPE_p_f_p_void_svn_revnum_t_p_q_const__char_p_p_svn_string_t_p_apr_pool_t__p_svn_error_t swig_types[50]
-#define SWIGTYPE_p_f_p_void_svn_revnum_t_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t swig_types[51]
-#define SWIGTYPE_p_f_svn_revnum_t_p_q_const__char_p_q_const__char_p_void__p_svn_error_t swig_types[52]
-#define SWIGTYPE_p_f_svn_revnum_t_p_void_p_p_q_const__svn_delta_editor_t_p_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t swig_types[53]
-#define SWIGTYPE_p_f_svn_revnum_t_p_void_p_q_const__svn_delta_editor_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t swig_types[54]
-#define SWIGTYPE_p_f_void__p_svn_version_t swig_types[55]
-#define SWIGTYPE_p_int swig_types[56]
-#define SWIGTYPE_p_long swig_types[57]
-#define SWIGTYPE_p_p_apr_array_header_t swig_types[58]
-#define SWIGTYPE_p_p_apr_file_t swig_types[59]
-#define SWIGTYPE_p_p_apr_hash_t swig_types[60]
-#define SWIGTYPE_p_p_char swig_types[61]
-#define SWIGTYPE_p_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t swig_types[62]
-#define SWIGTYPE_p_p_svn_delta_editor_t swig_types[63]
-#define SWIGTYPE_p_p_svn_dirent_t swig_types[64]
-#define SWIGTYPE_p_p_svn_lock_t swig_types[65]
-#define SWIGTYPE_p_p_svn_ra_callbacks2_t swig_types[66]
-#define SWIGTYPE_p_p_svn_ra_plugin_t swig_types[67]
-#define SWIGTYPE_p_p_svn_ra_reporter2_t swig_types[68]
-#define SWIGTYPE_p_p_svn_ra_reporter3_t swig_types[69]
-#define SWIGTYPE_p_p_svn_ra_reporter_t swig_types[70]
-#define SWIGTYPE_p_p_svn_ra_session_t swig_types[71]
-#define SWIGTYPE_p_p_svn_stream_t swig_types[72]
-#define SWIGTYPE_p_p_svn_string_t swig_types[73]
-#define SWIGTYPE_p_p_svn_stringbuf_t swig_types[74]
-#define SWIGTYPE_p_p_void swig_types[75]
-#define SWIGTYPE_p_svn_auth_baton_t swig_types[76]
-#define SWIGTYPE_p_svn_auth_cred_simple_t swig_types[77]
-#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t swig_types[78]
-#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t swig_types[79]
-#define SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t swig_types[80]
-#define SWIGTYPE_p_svn_auth_cred_username_t swig_types[81]
-#define SWIGTYPE_p_svn_auth_iterstate_t swig_types[82]
-#define SWIGTYPE_p_svn_auth_provider_object_t swig_types[83]
-#define SWIGTYPE_p_svn_auth_provider_t swig_types[84]
-#define SWIGTYPE_p_svn_auth_ssl_server_cert_info_t swig_types[85]
-#define SWIGTYPE_p_svn_checksum_ctx_t swig_types[86]
-#define SWIGTYPE_p_svn_checksum_kind_t swig_types[87]
-#define SWIGTYPE_p_svn_checksum_t swig_types[88]
-#define SWIGTYPE_p_svn_commit_info_t swig_types[89]
-#define SWIGTYPE_p_svn_config_t swig_types[90]
-#define SWIGTYPE_p_svn_delta_editor_t swig_types[91]
-#define SWIGTYPE_p_svn_depth_t swig_types[92]
-#define SWIGTYPE_p_svn_diff_conflict_display_style_t swig_types[93]
-#define SWIGTYPE_p_svn_diff_datasource_e swig_types[94]
-#define SWIGTYPE_p_svn_diff_file_ignore_space_t swig_types[95]
-#define SWIGTYPE_p_svn_diff_file_options_t swig_types[96]
-#define SWIGTYPE_p_svn_diff_fns2_t swig_types[97]
-#define SWIGTYPE_p_svn_diff_fns_t swig_types[98]
-#define SWIGTYPE_p_svn_diff_hunk_t swig_types[99]
-#define SWIGTYPE_p_svn_diff_operation_kind_e swig_types[100]
-#define SWIGTYPE_p_svn_diff_output_fns_t swig_types[101]
-#define SWIGTYPE_p_svn_diff_t swig_types[102]
-#define SWIGTYPE_p_svn_dirent_t swig_types[103]
-#define SWIGTYPE_p_svn_errno_t swig_types[104]
-#define SWIGTYPE_p_svn_error_t swig_types[105]
-#define SWIGTYPE_p_svn_io_dirent2_t swig_types[106]
-#define SWIGTYPE_p_svn_io_dirent_t swig_types[107]
-#define SWIGTYPE_p_svn_io_file_del_t swig_types[108]
-#define SWIGTYPE_p_svn_location_segment_t swig_types[109]
-#define SWIGTYPE_p_svn_lock_t swig_types[110]
-#define SWIGTYPE_p_svn_log_changed_path2_t swig_types[111]
-#define SWIGTYPE_p_svn_log_changed_path_t swig_types[112]
-#define SWIGTYPE_p_svn_log_entry_t swig_types[113]
-#define SWIGTYPE_p_svn_merge_range_t swig_types[114]
-#define SWIGTYPE_p_svn_mergeinfo_inheritance_t swig_types[115]
-#define SWIGTYPE_p_svn_node_kind_t swig_types[116]
-#define SWIGTYPE_p_svn_opt_revision_range_t swig_types[117]
-#define SWIGTYPE_p_svn_opt_revision_t swig_types[118]
-#define SWIGTYPE_p_svn_opt_revision_value_t swig_types[119]
-#define SWIGTYPE_p_svn_opt_subcommand_desc2_t swig_types[120]
-#define SWIGTYPE_p_svn_opt_subcommand_desc_t swig_types[121]
-#define SWIGTYPE_p_svn_patch_file_t swig_types[122]
-#define SWIGTYPE_p_svn_patch_t swig_types[123]
-#define SWIGTYPE_p_svn_prop_inherited_item_t swig_types[124]
-#define SWIGTYPE_p_svn_prop_kind swig_types[125]
-#define SWIGTYPE_p_svn_prop_patch_t swig_types[126]
-#define SWIGTYPE_p_svn_ra_callbacks2_t swig_types[127]
-#define SWIGTYPE_p_svn_ra_callbacks_t swig_types[128]
-#define SWIGTYPE_p_svn_ra_plugin_t swig_types[129]
-#define SWIGTYPE_p_svn_ra_reporter2_t swig_types[130]
-#define SWIGTYPE_p_svn_ra_reporter3_t swig_types[131]
-#define SWIGTYPE_p_svn_ra_reporter_t swig_types[132]
-#define SWIGTYPE_p_svn_ra_session_t swig_types[133]
-#define SWIGTYPE_p_svn_stream_mark_t swig_types[134]
-#define SWIGTYPE_p_svn_stream_t swig_types[135]
-#define SWIGTYPE_p_svn_string_t swig_types[136]
-#define SWIGTYPE_p_svn_stringbuf_t swig_types[137]
-#define SWIGTYPE_p_svn_tristate_t swig_types[138]
-#define SWIGTYPE_p_svn_txdelta_op_t swig_types[139]
-#define SWIGTYPE_p_svn_txdelta_stream_t swig_types[140]
-#define SWIGTYPE_p_svn_txdelta_window_t swig_types[141]
-#define SWIGTYPE_p_svn_version_checklist_t swig_types[142]
-#define SWIGTYPE_p_svn_version_ext_linked_lib_t swig_types[143]
-#define SWIGTYPE_p_svn_version_ext_loaded_lib_t swig_types[144]
-#define SWIGTYPE_p_svn_version_extended_t swig_types[145]
-#define SWIGTYPE_p_svn_version_t swig_types[146]
-#define SWIGTYPE_p_unsigned_long swig_types[147]
-#define SWIGTYPE_p_void swig_types[148]
-static swig_type_info *swig_types[150];
-static swig_module_info swig_module = {swig_types, 149, 0, 0, 0, 0};
+#define SWIGTYPE_p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[12]
+#define SWIGTYPE_p_f_p_p_void_p_q_const__char_p_q_const__svn_ra_callbacks_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t swig_types[13]
+#define SWIGTYPE_p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[14]
+#define SWIGTYPE_p_f_p_svn_location_segment_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[15]
+#define SWIGTYPE_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t swig_types[16]
+#define SWIGTYPE_p_f_p_void__p_svn_error_t swig_types[17]
+#define SWIGTYPE_p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[18]
+#define SWIGTYPE_p_f_p_void_p_apr_pool_t__p_svn_error_t swig_types[19]
+#define SWIGTYPE_p_f_p_void_p_p_apr_hash_t_p_q_const__char_svn_revnum_t_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t swig_types[20]
+#define SWIGTYPE_p_f_p_void_p_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[21]
+#define SWIGTYPE_p_f_p_void_p_p_q_const__svn_delta_editor_t_p_p_void_p_q_const__char_svn_commit_callback_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[22]
+#define SWIGTYPE_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[23]
+#define SWIGTYPE_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[24]
+#define SWIGTYPE_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[25]
+#define SWIGTYPE_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[26]
+#define SWIGTYPE_p_f_p_void_p_p_svn_stream_t_p_q_const__svn_checksum_t_p_apr_pool_t__p_svn_error_t swig_types[27]
+#define SWIGTYPE_p_f_p_void_p_q_const__apr_array_header_t_svn_revnum_t_svn_revnum_t_svn_boolean_t_svn_boolean_t_svn_log_message_receiver_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[28]
+#define SWIGTYPE_p_f_p_void_p_q_const__char__int swig_types[29]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[30]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[31]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t swig_types[32]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t swig_types[33]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[34]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[35]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_svn_revnum_t_svn_depth_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[36]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_boolean_t_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t swig_types[37]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t swig_types[38]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_svn_boolean_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t swig_types[39]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_p_apr_hash_t_p_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t swig_types[40]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_svn_node_kind_t_p_apr_pool_t__p_svn_error_t swig_types[41]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_svn_stream_t_p_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t swig_types[42]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[43]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[44]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_svn_depth_t_svn_boolean_t_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[45]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_svn_revnum_t_svn_ra_file_rev_handler_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[46]
+#define SWIGTYPE_p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t swig_types[47]
+#define SWIGTYPE_p_f_p_void_p_svn_revnum_t__p_svn_error_t swig_types[48]
+#define SWIGTYPE_p_f_p_void_p_svn_revnum_t_apr_time_t_p_apr_pool_t__p_svn_error_t swig_types[49]
+#define SWIGTYPE_p_f_p_void_p_svn_revnum_t_p_apr_pool_t__p_svn_error_t swig_types[50]
+#define SWIGTYPE_p_f_p_void_p_void__void swig_types[51]
+#define SWIGTYPE_p_f_p_void_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t swig_types[52]
+#define SWIGTYPE_p_f_p_void_svn_revnum_t_p_q_const__char_p_p_svn_string_t_p_apr_pool_t__p_svn_error_t swig_types[53]
+#define SWIGTYPE_p_f_p_void_svn_revnum_t_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t swig_types[54]
+#define SWIGTYPE_p_f_svn_revnum_t_p_q_const__char_p_q_const__char_p_void__p_svn_error_t swig_types[55]
+#define SWIGTYPE_p_f_svn_revnum_t_p_void_p_p_q_const__svn_delta_editor_t_p_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t swig_types[56]
+#define SWIGTYPE_p_f_svn_revnum_t_p_void_p_q_const__svn_delta_editor_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t swig_types[57]
+#define SWIGTYPE_p_f_void__p_svn_version_t swig_types[58]
+#define SWIGTYPE_p_int swig_types[59]
+#define SWIGTYPE_p_long swig_types[60]
+#define SWIGTYPE_p_p_apr_array_header_t swig_types[61]
+#define SWIGTYPE_p_p_apr_file_t swig_types[62]
+#define SWIGTYPE_p_p_apr_hash_t swig_types[63]
+#define SWIGTYPE_p_p_char swig_types[64]
+#define SWIGTYPE_p_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t swig_types[65]
+#define SWIGTYPE_p_p_f_p_void_p_void__void swig_types[66]
+#define SWIGTYPE_p_p_svn_delta_editor_t swig_types[67]
+#define SWIGTYPE_p_p_svn_dirent_t swig_types[68]
+#define SWIGTYPE_p_p_svn_lock_t swig_types[69]
+#define SWIGTYPE_p_p_svn_ra_callbacks2_t swig_types[70]
+#define SWIGTYPE_p_p_svn_ra_plugin_t swig_types[71]
+#define SWIGTYPE_p_p_svn_ra_reporter2_t swig_types[72]
+#define SWIGTYPE_p_p_svn_ra_reporter3_t swig_types[73]
+#define SWIGTYPE_p_p_svn_ra_reporter_t swig_types[74]
+#define SWIGTYPE_p_p_svn_ra_session_t swig_types[75]
+#define SWIGTYPE_p_p_svn_stream_t swig_types[76]
+#define SWIGTYPE_p_p_svn_string_t swig_types[77]
+#define SWIGTYPE_p_p_svn_stringbuf_t swig_types[78]
+#define SWIGTYPE_p_p_void swig_types[79]
+#define SWIGTYPE_p_svn_auth_baton_t swig_types[80]
+#define SWIGTYPE_p_svn_auth_cred_simple_t swig_types[81]
+#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t swig_types[82]
+#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t swig_types[83]
+#define SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t swig_types[84]
+#define SWIGTYPE_p_svn_auth_cred_username_t swig_types[85]
+#define SWIGTYPE_p_svn_auth_iterstate_t swig_types[86]
+#define SWIGTYPE_p_svn_auth_provider_object_t swig_types[87]
+#define SWIGTYPE_p_svn_auth_provider_t swig_types[88]
+#define SWIGTYPE_p_svn_auth_ssl_server_cert_info_t swig_types[89]
+#define SWIGTYPE_p_svn_checksum_ctx_t swig_types[90]
+#define SWIGTYPE_p_svn_checksum_kind_t swig_types[91]
+#define SWIGTYPE_p_svn_checksum_t swig_types[92]
+#define SWIGTYPE_p_svn_commit_info_t swig_types[93]
+#define SWIGTYPE_p_svn_config_t swig_types[94]
+#define SWIGTYPE_p_svn_delta_editor_t swig_types[95]
+#define SWIGTYPE_p_svn_depth_t swig_types[96]
+#define SWIGTYPE_p_svn_diff_conflict_display_style_t swig_types[97]
+#define SWIGTYPE_p_svn_diff_datasource_e swig_types[98]
+#define SWIGTYPE_p_svn_diff_file_ignore_space_t swig_types[99]
+#define SWIGTYPE_p_svn_diff_file_options_t swig_types[100]
+#define SWIGTYPE_p_svn_diff_fns2_t swig_types[101]
+#define SWIGTYPE_p_svn_diff_fns_t swig_types[102]
+#define SWIGTYPE_p_svn_diff_hunk_t swig_types[103]
+#define SWIGTYPE_p_svn_diff_operation_kind_e swig_types[104]
+#define SWIGTYPE_p_svn_diff_output_fns_t swig_types[105]
+#define SWIGTYPE_p_svn_diff_t swig_types[106]
+#define SWIGTYPE_p_svn_dirent_t swig_types[107]
+#define SWIGTYPE_p_svn_errno_t swig_types[108]
+#define SWIGTYPE_p_svn_error_t swig_types[109]
+#define SWIGTYPE_p_svn_io_dirent2_t swig_types[110]
+#define SWIGTYPE_p_svn_io_dirent_t swig_types[111]
+#define SWIGTYPE_p_svn_io_file_del_t swig_types[112]
+#define SWIGTYPE_p_svn_location_segment_t swig_types[113]
+#define SWIGTYPE_p_svn_lock_t swig_types[114]
+#define SWIGTYPE_p_svn_log_changed_path2_t swig_types[115]
+#define SWIGTYPE_p_svn_log_changed_path_t swig_types[116]
+#define SWIGTYPE_p_svn_log_entry_t swig_types[117]
+#define SWIGTYPE_p_svn_merge_range_t swig_types[118]
+#define SWIGTYPE_p_svn_mergeinfo_inheritance_t swig_types[119]
+#define SWIGTYPE_p_svn_node_kind_t swig_types[120]
+#define SWIGTYPE_p_svn_opt_revision_range_t swig_types[121]
+#define SWIGTYPE_p_svn_opt_revision_t swig_types[122]
+#define SWIGTYPE_p_svn_opt_revision_value_t swig_types[123]
+#define SWIGTYPE_p_svn_opt_subcommand_desc2_t swig_types[124]
+#define SWIGTYPE_p_svn_opt_subcommand_desc_t swig_types[125]
+#define SWIGTYPE_p_svn_patch_file_t swig_types[126]
+#define SWIGTYPE_p_svn_patch_t swig_types[127]
+#define SWIGTYPE_p_svn_prop_inherited_item_t swig_types[128]
+#define SWIGTYPE_p_svn_prop_kind swig_types[129]
+#define SWIGTYPE_p_svn_prop_patch_t swig_types[130]
+#define SWIGTYPE_p_svn_ra_callbacks2_t swig_types[131]
+#define SWIGTYPE_p_svn_ra_callbacks_t swig_types[132]
+#define SWIGTYPE_p_svn_ra_plugin_t swig_types[133]
+#define SWIGTYPE_p_svn_ra_reporter2_t swig_types[134]
+#define SWIGTYPE_p_svn_ra_reporter3_t swig_types[135]
+#define SWIGTYPE_p_svn_ra_reporter_t swig_types[136]
+#define SWIGTYPE_p_svn_ra_session_t swig_types[137]
+#define SWIGTYPE_p_svn_stream_mark_t swig_types[138]
+#define SWIGTYPE_p_svn_stream_t swig_types[139]
+#define SWIGTYPE_p_svn_string_t swig_types[140]
+#define SWIGTYPE_p_svn_stringbuf_t swig_types[141]
+#define SWIGTYPE_p_svn_tristate_t swig_types[142]
+#define SWIGTYPE_p_svn_txdelta_op_t swig_types[143]
+#define SWIGTYPE_p_svn_txdelta_stream_t swig_types[144]
+#define SWIGTYPE_p_svn_txdelta_window_t swig_types[145]
+#define SWIGTYPE_p_svn_version_checklist_t swig_types[146]
+#define SWIGTYPE_p_svn_version_ext_linked_lib_t swig_types[147]
+#define SWIGTYPE_p_svn_version_ext_loaded_lib_t swig_types[148]
+#define SWIGTYPE_p_svn_version_extended_t swig_types[149]
+#define SWIGTYPE_p_svn_version_t swig_types[150]
+#define SWIGTYPE_p_unsigned_long swig_types[151]
+#define SWIGTYPE_p_void swig_types[152]
+static swig_type_info *swig_types[154];
+static swig_module_info swig_module = {swig_types, 153, 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)
@@ -1957,7 +1950,7 @@ static VALUE mRa;
#define SWIG_RUBY_THREAD_END_BLOCK
-#define SWIGVERSION 0x020009
+#define SWIGVERSION 0x020012
#define SWIG_VERSION SWIGVERSION
@@ -2079,7 +2072,7 @@ SWIG_ruby_failed(void)
}
-/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
+/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
{
VALUE obj = args[0];
@@ -2124,7 +2117,7 @@ SWIG_AsVal_int (VALUE obj, int *val)
}
-/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
+/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
{
VALUE obj = args[0];
@@ -2429,6 +2422,21 @@ static svn_error_t * svn_ra_invoke_replay_revfinish_callback(
return _obj(revision, replay_baton, editor, edit_baton, rev_props, pool);
}
+static svn_boolean_t svn_ra_invoke_check_tunnel_func(
+ svn_ra_check_tunnel_func_t _obj, void *tunnel_baton, const char *tunnel_name) {
+ return _obj(tunnel_baton, tunnel_name);
+}
+
+static void svn_ra_invoke_close_tunnel_func(
+ svn_ra_close_tunnel_func_t _obj, void *close_baton, void *tunnel_baton) {
+ _obj(close_baton, tunnel_baton);
+}
+
+static svn_error_t * svn_ra_invoke_open_tunnel_func(
+ svn_ra_open_tunnel_func_t _obj, svn_stream_t **request, svn_stream_t **response, svn_ra_close_tunnel_func_t *close_func, void **close_baton, void *tunnel_baton, const char *tunnel_name, const char *user, const char *hostname, int port, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *pool) {
+ return _obj(request, response, close_func, close_baton, tunnel_baton, tunnel_name, user, hostname, port, cancel_func, cancel_baton, pool);
+}
+
static svn_error_t * svn_ra_invoke_init_func(
svn_ra_init_func_t _obj, int abi_version, apr_pool_t *pool, apr_hash_t *hash) {
return _obj(abi_version, pool, hash);
@@ -3942,6 +3950,161 @@ fail:
}
+SWIGINTERN VALUE
+_wrap_svn_ra_callbacks2_t_check_tunnel_func_set(int argc, VALUE *argv, VALUE self) {
+ struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
+ svn_ra_check_tunnel_func_t arg2 = (svn_ra_check_tunnel_func_t) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+
+ if ((argc < 1) || (argc > 1)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","check_tunnel_func", 1, self ));
+ }
+ arg1 = (struct svn_ra_callbacks2_t *)(argp1);
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char__int);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_check_tunnel_func_t","check_tunnel_func", 2, argv[0] ));
+ }
+ }
+ if (arg1) (arg1)->check_tunnel_func = arg2;
+ return Qnil;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_ra_callbacks2_t_check_tunnel_func_get(int argc, VALUE *argv, VALUE self) {
+ struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ svn_ra_check_tunnel_func_t result;
+ VALUE vresult = Qnil;
+
+ if ((argc < 0) || (argc > 0)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","check_tunnel_func", 1, self ));
+ }
+ arg1 = (struct svn_ra_callbacks2_t *)(argp1);
+ result = (svn_ra_check_tunnel_func_t) ((arg1)->check_tunnel_func);
+ vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_q_const__char__int);
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_ra_callbacks2_t_open_tunnel_func_set(int argc, VALUE *argv, VALUE self) {
+ struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
+ svn_ra_open_tunnel_func_t arg2 = (svn_ra_open_tunnel_func_t) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+
+ if ((argc < 1) || (argc > 1)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","open_tunnel_func", 1, self ));
+ }
+ arg1 = (struct svn_ra_callbacks2_t *)(argp1);
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_open_tunnel_func_t","open_tunnel_func", 2, argv[0] ));
+ }
+ }
+ if (arg1) (arg1)->open_tunnel_func = arg2;
+ return Qnil;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_ra_callbacks2_t_open_tunnel_func_get(int argc, VALUE *argv, VALUE self) {
+ struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ svn_ra_open_tunnel_func_t result;
+ VALUE vresult = Qnil;
+
+ if ((argc < 0) || (argc > 0)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","open_tunnel_func", 1, self ));
+ }
+ arg1 = (struct svn_ra_callbacks2_t *)(argp1);
+ result = (svn_ra_open_tunnel_func_t) ((arg1)->open_tunnel_func);
+ vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t);
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_ra_callbacks2_t_tunnel_baton_set(int argc, VALUE *argv, VALUE self) {
+ struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
+ void *arg2 = (void *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ int res2 ;
+
+ if ((argc < 1) || (argc > 1)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","tunnel_baton", 1, self ));
+ }
+ arg1 = (struct svn_ra_callbacks2_t *)(argp1);
+ res2 = SWIG_ConvertPtr(argv[0],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","tunnel_baton", 2, argv[0] ));
+ }
+ if (arg1) (arg1)->tunnel_baton = arg2;
+ return Qnil;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_ra_callbacks2_t_tunnel_baton_get(int argc, VALUE *argv, VALUE self) {
+ struct svn_ra_callbacks2_t *arg1 = (struct svn_ra_callbacks2_t *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ void *result = 0 ;
+ VALUE vresult = Qnil;
+
+ if ((argc < 0) || (argc > 0)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_ra_callbacks2_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_ra_callbacks2_t *","tunnel_baton", 1, self ));
+ }
+ arg1 = (struct svn_ra_callbacks2_t *)(argp1);
+ result = (void *) ((arg1)->tunnel_baton);
+ vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
SWIGINTERN VALUE
_wrap_svn_ra_callbacks2_t_allocate(VALUE self) {
@@ -7806,7 +7969,7 @@ _wrap_svn_ra_get_log2(int argc, VALUE *argv, VALUE self) {
svn_swig_rb_strings_to_apr_array(argv[8], _global_pool);
}
{
- arg10 = svn_swig_rb_log_entry_receiver;
+ arg10 = (svn_log_entry_receiver_t) svn_swig_rb_log_entry_receiver;
arg11 = (void *)svn_swig_rb_make_baton(argv[9], _global_svn_swig_rb_pool);
}
if (argc > 10) {
@@ -7905,7 +8068,7 @@ _wrap_svn_ra_get_log(int argc, VALUE *argv, VALUE self) {
arg6 = RTEST(argv[5]);
arg7 = RTEST(argv[6]);
{
- arg8 = svn_swig_rb_log_receiver;
+ arg8 = (svn_log_message_receiver_t) svn_swig_rb_log_receiver;
arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
if (argc > 8) {
@@ -8759,7 +8922,7 @@ _wrap_svn_ra_get_file_revs(int argc, VALUE *argv, VALUE self) {
}
arg4 = (svn_revnum_t)(val4);
{
- arg5 = svn_swig_rb_ra_file_rev_handler;
+ arg5 = (svn_ra_file_rev_handler_t) svn_swig_rb_ra_file_rev_handler;
arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
if (argc > 5) {
@@ -8842,7 +9005,7 @@ _wrap_svn_ra_lock(int argc, VALUE *argv, VALUE self) {
}
arg4 = RTEST(argv[3]);
{
- arg5 = svn_swig_rb_ra_lock_callback;
+ arg5 = (svn_ra_lock_callback_t) svn_swig_rb_ra_lock_callback;
arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
if (argc > 5) {
@@ -8915,7 +9078,7 @@ _wrap_svn_ra_unlock(int argc, VALUE *argv, VALUE self) {
}
arg3 = RTEST(argv[2]);
{
- arg4 = svn_swig_rb_ra_lock_callback;
+ arg4 = (svn_ra_lock_callback_t) svn_swig_rb_ra_lock_callback;
arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
if (argc > 4) {
@@ -13950,7 +14113,7 @@ _wrap_svn_ra_plugin_invoke_get_log(int argc, VALUE *argv, VALUE self) {
arg6 = RTEST(argv[5]);
arg7 = RTEST(argv[6]);
{
- arg8 = svn_swig_rb_log_receiver;
+ arg8 = (svn_log_message_receiver_t) svn_swig_rb_log_receiver;
arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
if (argc > 8) {
@@ -14394,7 +14557,7 @@ _wrap_svn_ra_plugin_invoke_get_file_revs(int argc, VALUE *argv, VALUE self) {
}
arg5 = (svn_revnum_t)(val5);
{
- arg6 = svn_swig_rb_ra_file_rev_handler;
+ arg6 = (svn_ra_file_rev_handler_t) svn_swig_rb_ra_file_rev_handler;
arg7 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
if (argc > 6) {
@@ -15519,6 +15682,240 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_ra_invoke_check_tunnel_func(int argc, VALUE *argv, VALUE self) {
+ svn_ra_check_tunnel_func_t arg1 = (svn_ra_check_tunnel_func_t) 0 ;
+ void *arg2 = (void *) 0 ;
+ char *arg3 = (char *) 0 ;
+ int res2 ;
+ int res3 ;
+ char *buf3 = 0 ;
+ int alloc3 = 0 ;
+ svn_boolean_t result;
+ VALUE vresult = Qnil;
+
+ if ((argc < 3) || (argc > 3)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
+ }
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_q_const__char__int);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_check_tunnel_func_t","svn_ra_invoke_check_tunnel_func", 1, argv[0] ));
+ }
+ }
+ res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_invoke_check_tunnel_func", 2, argv[1] ));
+ }
+ res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_ra_invoke_check_tunnel_func", 3, argv[2] ));
+ }
+ arg3 = (char *)(buf3);
+ {
+ result = (svn_boolean_t)svn_ra_invoke_check_tunnel_func(arg1,arg2,(char const *)arg3);
+
+
+
+ }
+ vresult = result ? Qtrue : Qfalse;
+ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
+ return vresult;
+fail:
+ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_ra_invoke_close_tunnel_func(int argc, VALUE *argv, VALUE self) {
+ svn_ra_close_tunnel_func_t arg1 = (svn_ra_close_tunnel_func_t) 0 ;
+ void *arg2 = (void *) 0 ;
+ void *arg3 = (void *) 0 ;
+ int res2 ;
+ int res3 ;
+
+ if ((argc < 3) || (argc > 3)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
+ }
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_void__void);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_close_tunnel_func_t","svn_ra_invoke_close_tunnel_func", 1, argv[0] ));
+ }
+ }
+ res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_ra_invoke_close_tunnel_func", 2, argv[1] ));
+ }
+ res3 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg3), 0, 0);
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "void *","svn_ra_invoke_close_tunnel_func", 3, argv[2] ));
+ }
+ {
+ svn_ra_invoke_close_tunnel_func(arg1,arg2,arg3);
+
+
+
+ }
+ return Qnil;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_ra_invoke_open_tunnel_func(int argc, VALUE *argv, VALUE self) {
+ svn_ra_open_tunnel_func_t arg1 = (svn_ra_open_tunnel_func_t) 0 ;
+ svn_stream_t **arg2 = (svn_stream_t **) 0 ;
+ svn_stream_t **arg3 = (svn_stream_t **) 0 ;
+ svn_ra_close_tunnel_func_t *arg4 = (svn_ra_close_tunnel_func_t *) 0 ;
+ void **arg5 = (void **) 0 ;
+ void *arg6 = (void *) 0 ;
+ char *arg7 = (char *) 0 ;
+ char *arg8 = (char *) 0 ;
+ char *arg9 = (char *) 0 ;
+ int arg10 ;
+ svn_cancel_func_t arg11 = (svn_cancel_func_t) 0 ;
+ void *arg12 = (void *) 0 ;
+ apr_pool_t *arg13 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ svn_stream_t *temp2 ;
+ svn_stream_t *temp3 ;
+ svn_ra_close_tunnel_func_t temp4 ;
+ void *temp5 ;
+ int res6 ;
+ int res7 ;
+ char *buf7 = 0 ;
+ int alloc7 = 0 ;
+ int res8 ;
+ char *buf8 = 0 ;
+ int alloc8 = 0 ;
+ int res9 ;
+ char *buf9 = 0 ;
+ int alloc9 = 0 ;
+ int val10 ;
+ int ecode10 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg13);
+ _global_pool = arg13;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ arg2 = &temp2;
+ arg3 = &temp3;
+ arg4 = &temp4;
+ arg5 = &temp5;
+ if ((argc < 7) || (argc > 8)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
+ }
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_ra_open_tunnel_func_t","svn_ra_invoke_open_tunnel_func", 1, argv[0] ));
+ }
+ }
+ res6 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg6), 0, 0);
+ if (!SWIG_IsOK(res6)) {
+ SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "void *","svn_ra_invoke_open_tunnel_func", 6, argv[1] ));
+ }
+ res7 = SWIG_AsCharPtrAndSize(argv[2], &buf7, NULL, &alloc7);
+ if (!SWIG_IsOK(res7)) {
+ SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "char const *","svn_ra_invoke_open_tunnel_func", 7, argv[2] ));
+ }
+ arg7 = (char *)(buf7);
+ res8 = SWIG_AsCharPtrAndSize(argv[3], &buf8, NULL, &alloc8);
+ if (!SWIG_IsOK(res8)) {
+ SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "char const *","svn_ra_invoke_open_tunnel_func", 8, argv[3] ));
+ }
+ arg8 = (char *)(buf8);
+ res9 = SWIG_AsCharPtrAndSize(argv[4], &buf9, NULL, &alloc9);
+ if (!SWIG_IsOK(res9)) {
+ SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "char const *","svn_ra_invoke_open_tunnel_func", 9, argv[4] ));
+ }
+ arg9 = (char *)(buf9);
+ ecode10 = SWIG_AsVal_int(argv[5], &val10);
+ if (!SWIG_IsOK(ecode10)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode10), Ruby_Format_TypeError( "", "int","svn_ra_invoke_open_tunnel_func", 10, argv[5] ));
+ }
+ arg10 = (int)(val10);
+ {
+ arg11 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
+ arg12 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
+ }
+ if (argc > 7) {
+
+ }
+ {
+ result = (svn_error_t *)svn_ra_invoke_open_tunnel_func(arg1,arg2,arg3,arg4,arg5,arg6,(char const *)arg7,(char const *)arg8,(char const *)arg9,arg10,arg11,arg12,arg13);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_svn_stream_t, 0));
+ }
+ {
+ vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg3, SWIGTYPE_p_svn_stream_t, 0));
+ }
+ {
+ /* FIXME: Missing argout typemap: svn_ra_invoke_open_tunnel_func arg 4 (svn_ra_close_tunnel_func_t *) */
+
+
+
+
+ SWIG_exception(SWIG_ValueError, "svn_ra_invoke_open_tunnel_func is not implemented yet");
+
+ }
+ {
+ /* FIXME: Missing argout typemap: svn_ra_invoke_open_tunnel_func arg 5 (void **) */
+
+
+
+
+ SWIG_exception(SWIG_ValueError, "svn_ra_invoke_open_tunnel_func is not implemented yet");
+
+ }
+ {
+ svn_swig_rb_set_baton(vresult, (VALUE)arg12);
+ }
+ if (alloc7 == SWIG_NEWOBJ) free((char*)buf7);
+ if (alloc8 == SWIG_NEWOBJ) free((char*)buf8);
+ if (alloc9 == SWIG_NEWOBJ) free((char*)buf9);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc7 == SWIG_NEWOBJ) free((char*)buf7);
+ if (alloc8 == SWIG_NEWOBJ) free((char*)buf8);
+ if (alloc9 == SWIG_NEWOBJ) free((char*)buf9);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_ra_invoke_init_func(int argc, VALUE *argv, VALUE self) {
svn_ra_init_func_t arg1 = (svn_ra_init_func_t) 0 ;
int arg2 ;
@@ -15621,6 +16018,7 @@ static swig_type_info _swigt__p_f_apr_off_t_apr_off_t_p_void_p_apr_pool_t__void
static swig_type_info _swigt__p_f_int_p_apr_pool_t_p_apr_hash_t__p_svn_error_t = {"_p_f_int_p_apr_pool_t_p_apr_hash_t__p_svn_error_t", "struct svn_error_t *(*)(int,apr_pool_t *,apr_hash_t *)|svn_ra_init_func_t", 0, 0, (void*)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", "svn_opt_subcommand_t *|struct svn_error_t *(*)(apr_getopt_t *,void *,apr_pool_t *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_p_apr_file_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_apr_file_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(apr_file_t **,void *,apr_pool_t *)|struct svn_error_t *(*)(apr_file_t **,void *,apr_pool_t *)", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_ra_open_tunnel_func_t|struct svn_error_t *(*)(svn_stream_t **,svn_stream_t **,svn_ra_close_tunnel_func_t *,void **,void *,char const *,char const *,char const *,int,svn_cancel_func_t,void *,apr_pool_t *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_p_void_p_q_const__char_p_q_const__svn_ra_callbacks_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_void_p_q_const__char_p_q_const__svn_ra_callbacks_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void **,char const *,svn_ra_callbacks_t const *,void *,apr_hash_t *,apr_pool_t *)|svn_error_t *(*)(void **,char const *,svn_ra_callbacks_t const *,void *,apr_hash_t *,apr_pool_t *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_commit_callback2_t|struct svn_error_t *(*)(svn_commit_info_t const *,void *,apr_pool_t *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_svn_location_segment_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_svn_location_segment_t_p_void_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(svn_location_segment_t *,void *,apr_pool_t *)|svn_location_segment_receiver_t", 0, 0, (void*)0, 0};
@@ -15637,6 +16035,7 @@ static swig_type_info _swigt__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void
static swig_type_info _swigt__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,svn_ra_reporter_t const **,void **,svn_revnum_t,char const *,svn_boolean_t,svn_boolean_t,char const *,svn_delta_editor_t const *,void *,apr_pool_t *)|struct svn_error_t *(*)(void *,svn_ra_reporter_t const **,void **,svn_revnum_t,char const *,svn_boolean_t,svn_boolean_t,char const *,svn_delta_editor_t const *,void *,apr_pool_t *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_p_svn_stream_t_p_q_const__svn_checksum_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_p_svn_stream_t_p_q_const__svn_checksum_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void *,svn_stream_t **,svn_checksum_t const *,apr_pool_t *)|svn_ra_get_wc_contents_func_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_q_const__apr_array_header_t_svn_revnum_t_svn_revnum_t_svn_boolean_t_svn_boolean_t_svn_log_message_receiver_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__apr_array_header_t_svn_revnum_t_svn_revnum_t_svn_boolean_t_svn_boolean_t_svn_log_message_receiver_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,apr_array_header_t const *,svn_revnum_t,svn_revnum_t,svn_boolean_t,svn_boolean_t,svn_log_message_receiver_t,void *,apr_pool_t *)|struct svn_error_t *(*)(void *,apr_array_header_t const *,svn_revnum_t,svn_revnum_t,svn_boolean_t,svn_boolean_t,svn_log_message_receiver_t,void *,apr_pool_t *)", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_f_p_void_p_q_const__char__int = {"_p_f_p_void_p_q_const__char__int", "int (*)(void *,char const *)|svn_ra_check_tunnel_func_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,char const *,apr_pool_t *)|struct svn_error_t *(*)(void *,char const *,apr_pool_t *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void *,char const *,char const *,apr_pool_t *)|svn_ra_invalidate_wc_props_func_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_q_const__char_p_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_q_const__char_p_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void *,char const *,char const *,svn_string_t const **,apr_pool_t *)|svn_ra_get_wc_prop_func_t", 0, 0, (void*)0, 0};
@@ -15658,6 +16057,7 @@ static swig_type_info _swigt__p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_e
static swig_type_info _swigt__p_f_p_void_p_svn_revnum_t__p_svn_error_t = {"_p_f_p_void_p_svn_revnum_t__p_svn_error_t", "svn_ra_get_latest_revnum_func_t|struct svn_error_t *(*)(void *,svn_revnum_t *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_svn_revnum_t_apr_time_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_svn_revnum_t_apr_time_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,svn_revnum_t *,apr_time_t,apr_pool_t *)|struct svn_error_t *(*)(void *,svn_revnum_t *,apr_time_t,apr_pool_t *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_svn_revnum_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_svn_revnum_t_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void *,svn_revnum_t *,apr_pool_t *)|struct svn_error_t *(*)(void *,svn_revnum_t *,apr_pool_t *)", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_f_p_void_p_void__void = {"_p_f_p_void_p_void__void", "svn_ra_close_tunnel_func_t|void (*)(void *,void *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void *,svn_revnum_t,apr_hash_t **,apr_pool_t *)|svn_error_t *(*)(void *,svn_revnum_t,apr_hash_t **,apr_pool_t *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_svn_revnum_t_p_q_const__char_p_p_svn_string_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_svn_revnum_t_p_q_const__char_p_p_svn_string_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void *,svn_revnum_t,char const *,svn_string_t **,apr_pool_t *)|svn_error_t *(*)(void *,svn_revnum_t,char const *,svn_string_t **,apr_pool_t *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_svn_revnum_t_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_svn_revnum_t_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void *,svn_revnum_t,char const *,svn_string_t const *,apr_pool_t *)|svn_error_t *(*)(void *,svn_revnum_t,char const *,svn_string_t const *,apr_pool_t *)", 0, 0, (void*)0, 0};
@@ -15672,6 +16072,7 @@ static swig_type_info _swigt__p_p_apr_file_t = {"_p_p_apr_file_t", "apr_file_t *
static swig_type_info _swigt__p_p_apr_hash_t = {"_p_p_apr_hash_t", "apr_hash_t **|svn_mergeinfo_catalog_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t = {"_p_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t", "svn_txdelta_window_handler_t *|struct svn_error_t *(**)(svn_txdelta_window_t *,void *)", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_p_f_p_void_p_void__void = {"_p_p_f_p_void_p_void__void", "svn_ra_close_tunnel_func_t *|void (**)(void *,void *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_svn_delta_editor_t = {"_p_p_svn_delta_editor_t", "struct svn_delta_editor_t **|svn_delta_editor_t **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_svn_dirent_t = {"_p_p_svn_dirent_t", "struct svn_dirent_t **|svn_dirent_t **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_svn_lock_t = {"_p_p_svn_lock_t", "struct svn_lock_t **|svn_lock_t **", 0, 0, (void*)0, 0};
@@ -15772,6 +16173,7 @@ static swig_type_info *swig_type_initial[] = {
&_swigt__p_f_int_p_apr_pool_t_p_apr_hash_t__p_svn_error_t,
&_swigt__p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_p_apr_file_t_p_void_p_apr_pool_t__p_svn_error_t,
+ &_swigt__p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_p_void_p_q_const__char_p_q_const__svn_ra_callbacks_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_svn_location_segment_t_p_void_p_apr_pool_t__p_svn_error_t,
@@ -15788,6 +16190,7 @@ static swig_type_info *swig_type_initial[] = {
&_swigt__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_void_p_p_svn_stream_t_p_q_const__svn_checksum_t_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_void_p_q_const__apr_array_header_t_svn_revnum_t_svn_revnum_t_svn_boolean_t_svn_boolean_t_svn_log_message_receiver_t_p_void_p_apr_pool_t__p_svn_error_t,
+ &_swigt__p_f_p_void_p_q_const__char__int,
&_swigt__p_f_p_void_p_q_const__char_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_void_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_void_p_q_const__char_p_q_const__char_p_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t,
@@ -15809,6 +16212,7 @@ static swig_type_info *swig_type_initial[] = {
&_swigt__p_f_p_void_p_svn_revnum_t__p_svn_error_t,
&_swigt__p_f_p_void_p_svn_revnum_t_apr_time_t_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_void_p_svn_revnum_t_p_apr_pool_t__p_svn_error_t,
+ &_swigt__p_f_p_void_p_void__void,
&_swigt__p_f_p_void_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_void_svn_revnum_t_p_q_const__char_p_p_svn_string_t_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_void_svn_revnum_t_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t,
@@ -15823,6 +16227,7 @@ static swig_type_info *swig_type_initial[] = {
&_swigt__p_p_apr_hash_t,
&_swigt__p_p_char,
&_swigt__p_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t,
+ &_swigt__p_p_f_p_void_p_void__void,
&_swigt__p_p_svn_delta_editor_t,
&_swigt__p_p_svn_dirent_t,
&_swigt__p_p_svn_lock_t,
@@ -15923,6 +16328,7 @@ static swig_cast_info _swigc__p_f_apr_off_t_apr_off_t_p_void_p_apr_pool_t__void[
static swig_cast_info _swigc__p_f_int_p_apr_pool_t_p_apr_hash_t__p_svn_error_t[] = { {&_swigt__p_f_int_p_apr_pool_t_p_apr_hash_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
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_p_apr_file_t_p_void_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_p_apr_file_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_p_void_p_q_const__char_p_q_const__svn_ra_callbacks_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_p_void_p_q_const__char_p_q_const__svn_ra_callbacks_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_svn_location_segment_t_p_void_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_svn_location_segment_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
@@ -15939,6 +16345,7 @@ static swig_cast_info _swigc__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void
static swig_cast_info _swigc__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_p_svn_stream_t_p_q_const__svn_checksum_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_p_svn_stream_t_p_q_const__svn_checksum_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_q_const__apr_array_header_t_svn_revnum_t_svn_revnum_t_svn_boolean_t_svn_boolean_t_svn_log_message_receiver_t_p_void_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_q_const__apr_array_header_t_svn_revnum_t_svn_revnum_t_svn_boolean_t_svn_boolean_t_svn_log_message_receiver_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_f_p_void_p_q_const__char__int[] = { {&_swigt__p_f_p_void_p_q_const__char__int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_q_const__char_p_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_q_const__char_p_q_const__char_p_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
@@ -15960,6 +16367,7 @@ static swig_cast_info _swigc__p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_e
static swig_cast_info _swigc__p_f_p_void_p_svn_revnum_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_svn_revnum_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_svn_revnum_t_apr_time_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_svn_revnum_t_apr_time_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_svn_revnum_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_svn_revnum_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
+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_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_svn_revnum_t_p_q_const__char_p_p_svn_string_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_svn_revnum_t_p_q_const__char_p_p_svn_string_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_svn_revnum_t_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_svn_revnum_t_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
@@ -15974,6 +16382,7 @@ static swig_cast_info _swigc__p_p_apr_file_t[] = { {&_swigt__p_p_apr_file_t, 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_f_p_svn_txdelta_window_t_p_void__p_svn_error_t[] = { {&_swigt__p_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_p_f_p_void_p_void__void[] = { {&_swigt__p_p_f_p_void_p_void__void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_svn_delta_editor_t[] = { {&_swigt__p_p_svn_delta_editor_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_svn_dirent_t[] = { {&_swigt__p_p_svn_dirent_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_svn_lock_t[] = { {&_swigt__p_p_svn_lock_t, 0, 0, 0},{0, 0, 0, 0}};
@@ -16074,6 +16483,7 @@ static swig_cast_info *swig_cast_initial[] = {
_swigc__p_f_int_p_apr_pool_t_p_apr_hash_t__p_svn_error_t,
_swigc__p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_p_apr_file_t_p_void_p_apr_pool_t__p_svn_error_t,
+ _swigc__p_f_p_p_svn_stream_t_p_p_svn_stream_t_p_svn_ra_close_tunnel_func_t_p_p_void_p_void_p_q_const__char_p_q_const__char_p_q_const__char_int_svn_cancel_func_t_p_void_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_p_void_p_q_const__char_p_q_const__svn_ra_callbacks_t_p_void_p_apr_hash_t_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_svn_location_segment_t_p_void_p_apr_pool_t__p_svn_error_t,
@@ -16090,6 +16500,7 @@ static swig_cast_info *swig_cast_initial[] = {
_swigc__p_f_p_void_p_p_q_const__svn_ra_reporter_t_p_p_void_svn_revnum_t_p_q_const__char_svn_boolean_t_svn_boolean_t_p_q_const__char_p_q_const__svn_delta_editor_t_p_void_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_void_p_p_svn_stream_t_p_q_const__svn_checksum_t_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_void_p_q_const__apr_array_header_t_svn_revnum_t_svn_revnum_t_svn_boolean_t_svn_boolean_t_svn_log_message_receiver_t_p_void_p_apr_pool_t__p_svn_error_t,
+ _swigc__p_f_p_void_p_q_const__char__int,
_swigc__p_f_p_void_p_q_const__char_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_void_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_void_p_q_const__char_p_q_const__char_p_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t,
@@ -16111,6 +16522,7 @@ static swig_cast_info *swig_cast_initial[] = {
_swigc__p_f_p_void_p_svn_revnum_t__p_svn_error_t,
_swigc__p_f_p_void_p_svn_revnum_t_apr_time_t_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_void_p_svn_revnum_t_p_apr_pool_t__p_svn_error_t,
+ _swigc__p_f_p_void_p_void__void,
_swigc__p_f_p_void_svn_revnum_t_p_p_apr_hash_t_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_void_svn_revnum_t_p_q_const__char_p_p_svn_string_t_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_void_svn_revnum_t_p_q_const__char_p_q_const__svn_string_t_p_apr_pool_t__p_svn_error_t,
@@ -16125,6 +16537,7 @@ static swig_cast_info *swig_cast_initial[] = {
_swigc__p_p_apr_hash_t,
_swigc__p_p_char,
_swigc__p_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t,
+ _swigc__p_p_f_p_void_p_void__void,
_swigc__p_p_svn_delta_editor_t,
_swigc__p_p_svn_dirent_t,
_swigc__p_p_svn_lock_t,
@@ -16218,18 +16631,18 @@ static swig_cast_info *swig_cast_initial[] = {
/* -----------------------------------------------------------------------------
* Type initialization:
- * This problem is tough by the requirement that no dynamic
- * memory is used. Also, since swig_type_info structures store pointers to
+ * 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
+ * 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
+ * The generated swig_type_info structures are assigned staticly to an initial
* array. We just loop through 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
@@ -16239,17 +16652,17 @@ static swig_cast_info *swig_cast_initial[] = {
* 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
+ * 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.
+ * 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
+ * 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
@@ -16312,7 +16725,7 @@ SWIG_InitializeModule(void *clientdata) {
module_head->next = &swig_module;
}
- /* When multiple interpeters are used, a module could have already been initialized in
+ /* When multiple interpreters are used, a module could have already been initialized in
a different interpreter, but not yet have a pointer in this interpreter.
In this case, we do not want to continue adding types... everything should be
set up already */
@@ -16326,7 +16739,7 @@ SWIG_InitializeModule(void *clientdata) {
swig_type_info *type = 0;
swig_type_info *ret;
swig_cast_info *cast;
-
+
#ifdef SWIGRUNTIME_DEBUG
printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
#endif
@@ -16353,7 +16766,7 @@ SWIG_InitializeModule(void *clientdata) {
/* Insert casting types */
cast = swig_module.cast_initial[i];
while (cast->type) {
-
+
/* Don't need to add information already in the list */
ret = 0;
#ifdef SWIGRUNTIME_DEBUG
@@ -16555,6 +16968,12 @@ SWIGEXPORT void Init_ra(void) {
rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "get_client_string", _wrap_svn_ra_callbacks2_t_get_client_string_get, -1);
rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "get_wc_contents=", _wrap_svn_ra_callbacks2_t_get_wc_contents_set, -1);
rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "get_wc_contents", _wrap_svn_ra_callbacks2_t_get_wc_contents_get, -1);
+ rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "check_tunnel_func=", _wrap_svn_ra_callbacks2_t_check_tunnel_func_set, -1);
+ rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "check_tunnel_func", _wrap_svn_ra_callbacks2_t_check_tunnel_func_get, -1);
+ rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "open_tunnel_func=", _wrap_svn_ra_callbacks2_t_open_tunnel_func_set, -1);
+ rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "open_tunnel_func", _wrap_svn_ra_callbacks2_t_open_tunnel_func_get, -1);
+ rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "tunnel_baton=", _wrap_svn_ra_callbacks2_t_tunnel_baton_set, -1);
+ rb_define_method(SwigClassSvn_ra_callbacks2_t.klass, "tunnel_baton", _wrap_svn_ra_callbacks2_t_tunnel_baton_get, -1);
SwigClassSvn_ra_callbacks2_t.mark = 0;
SwigClassSvn_ra_callbacks2_t.destroy = (void (*)(void *)) free_svn_ra_callbacks2_t;
SwigClassSvn_ra_callbacks2_t.trackObjects = 0;
@@ -16749,6 +17168,9 @@ SWIGEXPORT void Init_ra(void) {
rb_define_module_function(mRa, "svn_ra_invoke_progress_notify_func", _wrap_svn_ra_invoke_progress_notify_func, -1);
rb_define_module_function(mRa, "svn_ra_invoke_replay_revstart_callback", _wrap_svn_ra_invoke_replay_revstart_callback, -1);
rb_define_module_function(mRa, "svn_ra_invoke_replay_revfinish_callback", _wrap_svn_ra_invoke_replay_revfinish_callback, -1);
+ rb_define_module_function(mRa, "svn_ra_invoke_check_tunnel_func", _wrap_svn_ra_invoke_check_tunnel_func, -1);
+ rb_define_module_function(mRa, "svn_ra_invoke_close_tunnel_func", _wrap_svn_ra_invoke_close_tunnel_func, -1);
+ rb_define_module_function(mRa, "svn_ra_invoke_open_tunnel_func", _wrap_svn_ra_invoke_open_tunnel_func, -1);
rb_define_module_function(mRa, "svn_ra_invoke_init_func", _wrap_svn_ra_invoke_init_func, -1);
}
diff --git a/subversion/bindings/swig/ruby/svn_repos.c b/subversion/bindings/swig/ruby/svn_repos.c
index 98c70af..d5e69a1 100644
--- a/subversion/bindings/swig/ruby/svn_repos.c
+++ b/subversion/bindings/swig/ruby/svn_repos.c
@@ -1,11 +1,11 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.9
- *
- * This file is not intended to be easily readable and contains a number of
+ * Version 2.0.12
+ *
+ * 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.
+ * changes to this file unless you know what you are doing--modify the SWIG
+ * interface file instead.
* ----------------------------------------------------------------------------- */
#define SWIGRUBY
@@ -41,28 +41,28 @@
#ifndef SWIGUNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
# elif defined(__ICC)
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
-# define SWIGUNUSED
+# define SWIGUNUSED
# endif
#endif
#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
-# endif
+# endif
#endif
#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
# define SWIGUNUSEDPARM(p)
# else
-# define SWIGUNUSEDPARM(p) p SWIGUNUSED
+# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif
@@ -105,7 +105,7 @@
# define SWIGSTDCALL __stdcall
# else
# define SWIGSTDCALL
-# endif
+# endif
#endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
@@ -150,28 +150,28 @@
#ifndef SWIGUNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
# elif defined(__ICC)
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
-# define SWIGUNUSED
+# define SWIGUNUSED
# endif
#endif
#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
-# endif
+# endif
#endif
#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
# define SWIGUNUSEDPARM(p)
# else
-# define SWIGUNUSEDPARM(p) p SWIGUNUSED
+# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif
@@ -214,7 +214,7 @@
# define SWIGSTDCALL __stdcall
# else
# define SWIGSTDCALL
-# endif
+# endif
#endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
@@ -252,7 +252,7 @@
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 strictly necessary, ie, if you have problems
with your compiler or suchlike.
*/
@@ -278,16 +278,16 @@
#define SWIG_POINTER_OWN 0x1
-/*
+/*
Flags/methods for returning states.
-
- The SWIG conversion methods, as ConvertPtr, return an integer
+
+ The SWIG conversion methods, as ConvertPtr, return an integer
that tells if the conversion was successful or not. And if not,
an error code can be returned (see swigerrors.swg for the codes).
-
+
Use the following macros/flags to set or process the returning
states.
-
+
In old versions of SWIG, code such as the following was usually written:
if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
@@ -320,23 +320,23 @@
} else {
// fail code
}
-
+
I.e., now SWIG_ConvertPtr can return new objects and you can
identify the case and take care of the deallocation. Of course that
also requires SWIG_ConvertPtr to return new result values, such as
- int SWIG_ConvertPtr(obj, ptr,...) {
- if (<obj is ok>) {
- if (<need new object>) {
- *ptr = <ptr to new allocated object>;
- return SWIG_NEWOBJ;
- } else {
- *ptr = <ptr to old object>;
- return SWIG_OLDOBJ;
- }
- } else {
- return SWIG_BADOBJ;
- }
+ int SWIG_ConvertPtr(obj, ptr,...) {
+ if (<obj is ok>) {
+ if (<need new object>) {
+ *ptr = <ptr to new allocated object>;
+ return SWIG_NEWOBJ;
+ } else {
+ *ptr = <ptr to old object>;
+ return SWIG_OLDOBJ;
+ }
+ } else {
+ return SWIG_BADOBJ;
+ }
}
Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
@@ -350,17 +350,17 @@
int fooi(int);
and you call
-
+
food(1) // cast rank '1' (1 -> 1.0)
fooi(1) // cast rank '0'
just use the SWIG_AddCast()/SWIG_CheckState()
*/
-#define SWIG_OK (0)
+#define SWIG_OK (0)
#define SWIG_ERROR (-1)
#define SWIG_IsOK(r) (r >= 0)
-#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
+#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
/* The CastRankLimit says how many bits are used for the cast rank */
#define SWIG_CASTRANKLIMIT (1 << 8)
@@ -391,14 +391,14 @@
# endif
# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
-SWIGINTERNINLINE int SWIG_AddCast(int r) {
+SWIGINTERNINLINE int SWIG_AddCast(int r) {
return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
}
-SWIGINTERNINLINE int SWIG_CheckState(int r) {
- return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
+SWIGINTERNINLINE int SWIG_CheckState(int r) {
+ return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
}
#else /* no cast-rank mode */
-# define SWIG_AddCast
+# define SWIG_AddCast(r) (r)
# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
#endif
@@ -442,7 +442,7 @@ typedef struct swig_module_info {
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.
@@ -462,18 +462,18 @@ SWIG_TypeNameComp(const char *f1, const char *l1,
/*
Check type equivalence in a name list like <name1>|<name2>|...
- Return 0 if not equal, 1 if equal
+ Return 0 if equal, -1 if nb < tb, 1 if nb > tb
*/
SWIGRUNTIME int
-SWIG_TypeEquiv(const char *nb, const char *tb) {
- int equiv = 0;
+SWIG_TypeCmp(const char *nb, const char *tb) {
+ int equiv = 1;
const char* te = tb + strlen(tb);
const char* ne = nb;
- while (!equiv && *ne) {
+ while (equiv != 0 && *ne) {
for (nb = ne; *ne; ++ne) {
if (*ne == '|') break;
}
- equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
+ equiv = SWIG_TypeNameComp(nb, ne, tb, te);
if (*ne) ++ne;
}
return equiv;
@@ -481,24 +481,13 @@ SWIG_TypeEquiv(const char *nb, const char *tb) {
/*
Check type equivalence in a name list like <name1>|<name2>|...
- Return 0 if equal, -1 if nb < tb, 1 if nb > tb
+ Return 0 if not equal, 1 if equal
*/
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;
+SWIG_TypeEquiv(const char *nb, const char *tb) {
+ return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
}
-
/*
Check the typename
*/
@@ -526,7 +515,7 @@ SWIG_TypeCheck(const char *c, swig_type_info *ty) {
return 0;
}
-/*
+/*
Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
*/
SWIGRUNTIME swig_cast_info *
@@ -561,7 +550,7 @@ SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
}
-/*
+/*
Dynamic pointer casting. Down an inheritance hierarchy
*/
SWIGRUNTIME swig_type_info *
@@ -605,7 +594,7 @@ SWIG_TypePrettyName(const swig_type_info *type) {
return type->name;
}
-/*
+/*
Set the clientdata field for a type
*/
SWIGRUNTIME void
@@ -613,14 +602,14 @@ SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
swig_cast_info *cast = ti->cast;
/* if (ti->clientdata == clientdata) return; */
ti->clientdata = clientdata;
-
+
while (cast) {
if (!cast->converter) {
swig_type_info *tc = cast->type;
if (!tc->clientdata) {
SWIG_TypeClientData(tc, clientdata);
}
- }
+ }
cast = cast->next;
}
}
@@ -629,18 +618,18 @@ SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
SWIG_TypeClientData(ti, clientdata);
ti->owndata = 1;
}
-
+
/*
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.
+
+ 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,
+SWIG_MangledTypeQueryModule(swig_module_info *start,
+ swig_module_info *end,
const char *name) {
swig_module_info *iter = start;
do {
@@ -649,11 +638,11 @@ SWIG_MangledTypeQueryModule(swig_module_info *start,
register size_t r = iter->size - 1;
do {
/* since l+r >= 0, we can (>> 1) instead (/ 2) */
- register size_t i = (l + r) >> 1;
+ 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) {
+ if (compare == 0) {
return iter->types[i];
} else if (compare < 0) {
if (i) {
@@ -678,14 +667,14 @@ SWIG_MangledTypeQueryModule(swig_module_info *start,
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.
+
+ 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,
+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);
@@ -704,12 +693,12 @@ SWIG_TypeQueryModule(swig_module_info *start,
iter = iter->next;
} while (iter != end);
}
-
+
/* neither found a match */
return 0;
}
-/*
+/*
Pack binary data into a string
*/
SWIGRUNTIME char *
@@ -725,7 +714,7 @@ SWIG_PackData(char *c, void *ptr, size_t sz) {
return c;
}
-/*
+/*
Unpack binary data from a string
*/
SWIGRUNTIME const char *
@@ -739,21 +728,21 @@ SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
uu = ((d - '0') << 4);
else if ((d >= 'a') && (d <= 'f'))
uu = ((d - ('a'-10)) << 4);
- else
+ 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
+ else
return (char *) 0;
*u = uu;
}
return c;
}
-/*
+/*
Pack 'void *' into a string buffer.
*/
SWIGRUNTIME char *
@@ -813,18 +802,18 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
#endif
/* Errors in SWIG */
-#define SWIG_UnknownError -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_UnknownError -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_AttributeError -11
-#define SWIG_MemoryError -12
+#define SWIG_MemoryError -12
#define SWIG_NullReferenceError -13
@@ -1750,7 +1739,7 @@ SWIG_Ruby_SetModule(swig_module_info *pointer)
SWIGINTERN
int SWIG_Ruby_isCallable( VALUE proc )
{
- if ( rb_respond_to( proc, swig_call_id ) == Qtrue )
+ if ( rb_respond_to( proc, swig_call_id ) )
return 1;
return 0;
}
@@ -1763,7 +1752,7 @@ int SWIG_Ruby_isCallable( VALUE proc )
SWIGINTERN
int SWIG_Ruby_arity( VALUE proc, int minimal )
{
- if ( rb_respond_to( proc, swig_arity_id ) == Qtrue )
+ if ( rb_respond_to( proc, swig_arity_id ) )
{
VALUE num = rb_funcall( proc, swig_arity_id, 0 );
int arity = NUM2INT(num);
@@ -1813,122 +1802,131 @@ int SWIG_Ruby_arity( VALUE proc, int minimal )
#define SWIGTYPE_p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[18]
#define SWIGTYPE_p_f_p_void_p_apr_pool_t__p_svn_error_t swig_types[19]
#define SWIGTYPE_p_f_p_void_p_q_const__char__p_svn_error_t swig_types[20]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_string_t__p_svn_error_t swig_types[21]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t swig_types[22]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_svn_boolean_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t swig_types[23]
-#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_pool_t__p_svn_error_t swig_types[24]
-#define SWIGTYPE_p_f_p_void_p_q_const__struct_svn_repos_notify_t_p_apr_pool_t__void swig_types[25]
-#define SWIGTYPE_p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t swig_types[26]
-#define SWIGTYPE_p_f_svn_repos_authz_access_t_p_svn_boolean_t_p_svn_fs_root_t_p_q_const__char_p_void_p_apr_pool_t__p_svn_error_t swig_types[27]
-#define SWIGTYPE_p_f_svn_revnum_t_p_q_const__char_p_q_const__char_p_void__p_svn_error_t swig_types[28]
-#define SWIGTYPE_p_int swig_types[29]
-#define SWIGTYPE_p_long swig_types[30]
-#define SWIGTYPE_p_p_apr_array_header_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_f_p_svn_txdelta_window_t_p_void__p_svn_error_t swig_types[34]
-#define SWIGTYPE_p_p_svn_authz_t swig_types[35]
-#define SWIGTYPE_p_p_svn_delta_editor_t swig_types[36]
-#define SWIGTYPE_p_p_svn_dirent_t swig_types[37]
-#define SWIGTYPE_p_p_svn_fs_txn_t swig_types[38]
-#define SWIGTYPE_p_p_svn_lock_t swig_types[39]
-#define SWIGTYPE_p_p_svn_repos_parse_fns2_t swig_types[40]
-#define SWIGTYPE_p_p_svn_repos_parse_fns3_t swig_types[41]
-#define SWIGTYPE_p_p_svn_repos_parse_fns_t swig_types[42]
-#define SWIGTYPE_p_p_svn_repos_t swig_types[43]
-#define SWIGTYPE_p_p_svn_stream_t swig_types[44]
-#define SWIGTYPE_p_p_svn_string_t swig_types[45]
-#define SWIGTYPE_p_p_void swig_types[46]
-#define SWIGTYPE_p_svn_auth_baton_t swig_types[47]
-#define SWIGTYPE_p_svn_auth_cred_simple_t swig_types[48]
-#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t swig_types[49]
-#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t swig_types[50]
-#define SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t swig_types[51]
-#define SWIGTYPE_p_svn_auth_cred_username_t swig_types[52]
-#define SWIGTYPE_p_svn_auth_iterstate_t swig_types[53]
-#define SWIGTYPE_p_svn_auth_provider_object_t swig_types[54]
-#define SWIGTYPE_p_svn_auth_provider_t swig_types[55]
-#define SWIGTYPE_p_svn_auth_ssl_server_cert_info_t swig_types[56]
-#define SWIGTYPE_p_svn_authz_t swig_types[57]
-#define SWIGTYPE_p_svn_checksum_ctx_t swig_types[58]
-#define SWIGTYPE_p_svn_checksum_kind_t swig_types[59]
-#define SWIGTYPE_p_svn_checksum_t swig_types[60]
-#define SWIGTYPE_p_svn_commit_info_t swig_types[61]
-#define SWIGTYPE_p_svn_config_t swig_types[62]
-#define SWIGTYPE_p_svn_delta_editor_t swig_types[63]
-#define SWIGTYPE_p_svn_depth_t swig_types[64]
-#define SWIGTYPE_p_svn_diff_conflict_display_style_t swig_types[65]
-#define SWIGTYPE_p_svn_diff_datasource_e swig_types[66]
-#define SWIGTYPE_p_svn_diff_file_ignore_space_t swig_types[67]
-#define SWIGTYPE_p_svn_diff_file_options_t swig_types[68]
-#define SWIGTYPE_p_svn_diff_fns2_t swig_types[69]
-#define SWIGTYPE_p_svn_diff_fns_t swig_types[70]
-#define SWIGTYPE_p_svn_diff_hunk_t swig_types[71]
-#define SWIGTYPE_p_svn_diff_operation_kind_e swig_types[72]
-#define SWIGTYPE_p_svn_diff_output_fns_t swig_types[73]
-#define SWIGTYPE_p_svn_diff_t swig_types[74]
-#define SWIGTYPE_p_svn_dirent_t swig_types[75]
-#define SWIGTYPE_p_svn_errno_t swig_types[76]
-#define SWIGTYPE_p_svn_error_t swig_types[77]
-#define SWIGTYPE_p_svn_fs_access_t swig_types[78]
-#define SWIGTYPE_p_svn_fs_dirent_t swig_types[79]
-#define SWIGTYPE_p_svn_fs_history_t swig_types[80]
-#define SWIGTYPE_p_svn_fs_id_t swig_types[81]
-#define SWIGTYPE_p_svn_fs_pack_notify_action_t swig_types[82]
-#define SWIGTYPE_p_svn_fs_path_change2_t swig_types[83]
-#define SWIGTYPE_p_svn_fs_path_change_kind_t swig_types[84]
-#define SWIGTYPE_p_svn_fs_path_change_t swig_types[85]
-#define SWIGTYPE_p_svn_fs_root_t swig_types[86]
-#define SWIGTYPE_p_svn_fs_t swig_types[87]
-#define SWIGTYPE_p_svn_fs_txn_t swig_types[88]
-#define SWIGTYPE_p_svn_io_dirent2_t swig_types[89]
-#define SWIGTYPE_p_svn_io_dirent_t swig_types[90]
-#define SWIGTYPE_p_svn_io_file_del_t swig_types[91]
-#define SWIGTYPE_p_svn_location_segment_t swig_types[92]
-#define SWIGTYPE_p_svn_lock_t swig_types[93]
-#define SWIGTYPE_p_svn_log_changed_path2_t swig_types[94]
-#define SWIGTYPE_p_svn_log_changed_path_t swig_types[95]
-#define SWIGTYPE_p_svn_log_entry_t swig_types[96]
-#define SWIGTYPE_p_svn_merge_range_t swig_types[97]
-#define SWIGTYPE_p_svn_mergeinfo_inheritance_t swig_types[98]
-#define SWIGTYPE_p_svn_node_kind_t swig_types[99]
-#define SWIGTYPE_p_svn_opt_revision_range_t swig_types[100]
-#define SWIGTYPE_p_svn_opt_revision_t swig_types[101]
-#define SWIGTYPE_p_svn_opt_revision_value_t swig_types[102]
-#define SWIGTYPE_p_svn_opt_subcommand_desc2_t swig_types[103]
-#define SWIGTYPE_p_svn_opt_subcommand_desc_t swig_types[104]
-#define SWIGTYPE_p_svn_patch_file_t swig_types[105]
-#define SWIGTYPE_p_svn_patch_t swig_types[106]
-#define SWIGTYPE_p_svn_prop_inherited_item_t swig_types[107]
-#define SWIGTYPE_p_svn_prop_kind swig_types[108]
-#define SWIGTYPE_p_svn_prop_patch_t swig_types[109]
-#define SWIGTYPE_p_svn_repos_authz_access_t swig_types[110]
-#define SWIGTYPE_p_svn_repos_node_t swig_types[111]
-#define SWIGTYPE_p_svn_repos_notify_action_t swig_types[112]
-#define SWIGTYPE_p_svn_repos_notify_t swig_types[113]
-#define SWIGTYPE_p_svn_repos_notify_warning_t swig_types[114]
-#define SWIGTYPE_p_svn_repos_parse_fns2_t swig_types[115]
-#define SWIGTYPE_p_svn_repos_parse_fns3_t swig_types[116]
-#define SWIGTYPE_p_svn_repos_parse_fns_t swig_types[117]
-#define SWIGTYPE_p_svn_repos_revision_access_level_t swig_types[118]
-#define SWIGTYPE_p_svn_repos_t swig_types[119]
-#define SWIGTYPE_p_svn_stream_mark_t swig_types[120]
-#define SWIGTYPE_p_svn_stream_t swig_types[121]
-#define SWIGTYPE_p_svn_string_t swig_types[122]
-#define SWIGTYPE_p_svn_stringbuf_t swig_types[123]
-#define SWIGTYPE_p_svn_tristate_t swig_types[124]
-#define SWIGTYPE_p_svn_txdelta_op_t swig_types[125]
-#define SWIGTYPE_p_svn_txdelta_stream_t swig_types[126]
-#define SWIGTYPE_p_svn_txdelta_window_t swig_types[127]
-#define SWIGTYPE_p_svn_version_checklist_t swig_types[128]
-#define SWIGTYPE_p_svn_version_ext_linked_lib_t swig_types[129]
-#define SWIGTYPE_p_svn_version_ext_loaded_lib_t swig_types[130]
-#define SWIGTYPE_p_svn_version_extended_t swig_types[131]
-#define SWIGTYPE_p_svn_version_t swig_types[132]
-#define SWIGTYPE_p_unsigned_long swig_types[133]
-#define SWIGTYPE_p_void swig_types[134]
-static swig_type_info *swig_types[136];
-static swig_module_info swig_module = {swig_types, 135, 0, 0, 0, 0};
+#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t swig_types[21]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_string_t__p_svn_error_t swig_types[22]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t swig_types[23]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_svn_boolean_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t swig_types[24]
+#define SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_pool_t__p_svn_error_t swig_types[25]
+#define SWIGTYPE_p_f_p_void_p_q_const__struct_svn_repos_notify_t_p_apr_pool_t__void swig_types[26]
+#define SWIGTYPE_p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t swig_types[27]
+#define SWIGTYPE_p_f_p_void_svn_revnum_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t swig_types[28]
+#define SWIGTYPE_p_f_svn_repos_authz_access_t_p_svn_boolean_t_p_svn_fs_root_t_p_q_const__char_p_void_p_apr_pool_t__p_svn_error_t swig_types[29]
+#define SWIGTYPE_p_f_svn_revnum_t_p_q_const__char_p_q_const__char_p_void__p_svn_error_t swig_types[30]
+#define SWIGTYPE_p_int swig_types[31]
+#define SWIGTYPE_p_long swig_types[32]
+#define SWIGTYPE_p_p_apr_array_header_t swig_types[33]
+#define SWIGTYPE_p_p_apr_hash_t swig_types[34]
+#define SWIGTYPE_p_p_char swig_types[35]
+#define SWIGTYPE_p_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t swig_types[36]
+#define SWIGTYPE_p_p_svn_authz_t swig_types[37]
+#define SWIGTYPE_p_p_svn_delta_editor_t swig_types[38]
+#define SWIGTYPE_p_p_svn_dirent_t swig_types[39]
+#define SWIGTYPE_p_p_svn_fs_txn_t swig_types[40]
+#define SWIGTYPE_p_p_svn_lock_t swig_types[41]
+#define SWIGTYPE_p_p_svn_repos_parse_fns2_t swig_types[42]
+#define SWIGTYPE_p_p_svn_repos_parse_fns3_t swig_types[43]
+#define SWIGTYPE_p_p_svn_repos_parse_fns_t swig_types[44]
+#define SWIGTYPE_p_p_svn_repos_t swig_types[45]
+#define SWIGTYPE_p_p_svn_stream_t swig_types[46]
+#define SWIGTYPE_p_p_svn_string_t swig_types[47]
+#define SWIGTYPE_p_p_svn_version_t swig_types[48]
+#define SWIGTYPE_p_p_void swig_types[49]
+#define SWIGTYPE_p_svn_auth_baton_t swig_types[50]
+#define SWIGTYPE_p_svn_auth_cred_simple_t swig_types[51]
+#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t swig_types[52]
+#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t swig_types[53]
+#define SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t swig_types[54]
+#define SWIGTYPE_p_svn_auth_cred_username_t swig_types[55]
+#define SWIGTYPE_p_svn_auth_iterstate_t swig_types[56]
+#define SWIGTYPE_p_svn_auth_provider_object_t swig_types[57]
+#define SWIGTYPE_p_svn_auth_provider_t swig_types[58]
+#define SWIGTYPE_p_svn_auth_ssl_server_cert_info_t swig_types[59]
+#define SWIGTYPE_p_svn_authz_t swig_types[60]
+#define SWIGTYPE_p_svn_checksum_ctx_t swig_types[61]
+#define SWIGTYPE_p_svn_checksum_kind_t swig_types[62]
+#define SWIGTYPE_p_svn_checksum_t swig_types[63]
+#define SWIGTYPE_p_svn_commit_info_t swig_types[64]
+#define SWIGTYPE_p_svn_config_t swig_types[65]
+#define SWIGTYPE_p_svn_delta_editor_t swig_types[66]
+#define SWIGTYPE_p_svn_depth_t swig_types[67]
+#define SWIGTYPE_p_svn_diff_conflict_display_style_t swig_types[68]
+#define SWIGTYPE_p_svn_diff_datasource_e swig_types[69]
+#define SWIGTYPE_p_svn_diff_file_ignore_space_t swig_types[70]
+#define SWIGTYPE_p_svn_diff_file_options_t swig_types[71]
+#define SWIGTYPE_p_svn_diff_fns2_t swig_types[72]
+#define SWIGTYPE_p_svn_diff_fns_t swig_types[73]
+#define SWIGTYPE_p_svn_diff_hunk_t swig_types[74]
+#define SWIGTYPE_p_svn_diff_operation_kind_e swig_types[75]
+#define SWIGTYPE_p_svn_diff_output_fns_t swig_types[76]
+#define SWIGTYPE_p_svn_diff_t swig_types[77]
+#define SWIGTYPE_p_svn_dirent_t swig_types[78]
+#define SWIGTYPE_p_svn_errno_t swig_types[79]
+#define SWIGTYPE_p_svn_error_t swig_types[80]
+#define SWIGTYPE_p_svn_fs_access_t swig_types[81]
+#define SWIGTYPE_p_svn_fs_dirent_t swig_types[82]
+#define SWIGTYPE_p_svn_fs_fsfs_info_t swig_types[83]
+#define SWIGTYPE_p_svn_fs_fsx_info_t swig_types[84]
+#define SWIGTYPE_p_svn_fs_history_t swig_types[85]
+#define SWIGTYPE_p_svn_fs_id_t swig_types[86]
+#define SWIGTYPE_p_svn_fs_info_placeholder_t swig_types[87]
+#define SWIGTYPE_p_svn_fs_lock_target_t swig_types[88]
+#define SWIGTYPE_p_svn_fs_node_relation_t swig_types[89]
+#define SWIGTYPE_p_svn_fs_pack_notify_action_t swig_types[90]
+#define SWIGTYPE_p_svn_fs_path_change2_t swig_types[91]
+#define SWIGTYPE_p_svn_fs_path_change_kind_t swig_types[92]
+#define SWIGTYPE_p_svn_fs_path_change_t swig_types[93]
+#define SWIGTYPE_p_svn_fs_root_t swig_types[94]
+#define SWIGTYPE_p_svn_fs_t swig_types[95]
+#define SWIGTYPE_p_svn_fs_txn_t swig_types[96]
+#define SWIGTYPE_p_svn_fs_upgrade_notify_action_t swig_types[97]
+#define SWIGTYPE_p_svn_io_dirent2_t swig_types[98]
+#define SWIGTYPE_p_svn_io_dirent_t swig_types[99]
+#define SWIGTYPE_p_svn_io_file_del_t swig_types[100]
+#define SWIGTYPE_p_svn_location_segment_t swig_types[101]
+#define SWIGTYPE_p_svn_lock_t swig_types[102]
+#define SWIGTYPE_p_svn_log_changed_path2_t swig_types[103]
+#define SWIGTYPE_p_svn_log_changed_path_t swig_types[104]
+#define SWIGTYPE_p_svn_log_entry_t swig_types[105]
+#define SWIGTYPE_p_svn_merge_range_t swig_types[106]
+#define SWIGTYPE_p_svn_mergeinfo_inheritance_t swig_types[107]
+#define SWIGTYPE_p_svn_node_kind_t swig_types[108]
+#define SWIGTYPE_p_svn_opt_revision_range_t swig_types[109]
+#define SWIGTYPE_p_svn_opt_revision_t swig_types[110]
+#define SWIGTYPE_p_svn_opt_revision_value_t swig_types[111]
+#define SWIGTYPE_p_svn_opt_subcommand_desc2_t swig_types[112]
+#define SWIGTYPE_p_svn_opt_subcommand_desc_t swig_types[113]
+#define SWIGTYPE_p_svn_patch_file_t swig_types[114]
+#define SWIGTYPE_p_svn_patch_t swig_types[115]
+#define SWIGTYPE_p_svn_prop_inherited_item_t swig_types[116]
+#define SWIGTYPE_p_svn_prop_kind swig_types[117]
+#define SWIGTYPE_p_svn_prop_patch_t swig_types[118]
+#define SWIGTYPE_p_svn_repos_authz_access_t swig_types[119]
+#define SWIGTYPE_p_svn_repos_node_t swig_types[120]
+#define SWIGTYPE_p_svn_repos_notify_action_t swig_types[121]
+#define SWIGTYPE_p_svn_repos_notify_t swig_types[122]
+#define SWIGTYPE_p_svn_repos_notify_warning_t swig_types[123]
+#define SWIGTYPE_p_svn_repos_parse_fns2_t swig_types[124]
+#define SWIGTYPE_p_svn_repos_parse_fns3_t swig_types[125]
+#define SWIGTYPE_p_svn_repos_parse_fns_t swig_types[126]
+#define SWIGTYPE_p_svn_repos_revision_access_level_t swig_types[127]
+#define SWIGTYPE_p_svn_repos_t swig_types[128]
+#define SWIGTYPE_p_svn_stream_mark_t swig_types[129]
+#define SWIGTYPE_p_svn_stream_t swig_types[130]
+#define SWIGTYPE_p_svn_string_t swig_types[131]
+#define SWIGTYPE_p_svn_stringbuf_t swig_types[132]
+#define SWIGTYPE_p_svn_tristate_t swig_types[133]
+#define SWIGTYPE_p_svn_txdelta_op_t swig_types[134]
+#define SWIGTYPE_p_svn_txdelta_stream_t swig_types[135]
+#define SWIGTYPE_p_svn_txdelta_window_t swig_types[136]
+#define SWIGTYPE_p_svn_version_checklist_t swig_types[137]
+#define SWIGTYPE_p_svn_version_ext_linked_lib_t swig_types[138]
+#define SWIGTYPE_p_svn_version_ext_loaded_lib_t swig_types[139]
+#define SWIGTYPE_p_svn_version_extended_t swig_types[140]
+#define SWIGTYPE_p_svn_version_t swig_types[141]
+#define SWIGTYPE_p_unsigned_long swig_types[142]
+#define SWIGTYPE_p_void swig_types[143]
+static swig_type_info *swig_types[145];
+static swig_module_info swig_module = {swig_types, 144, 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)
@@ -1943,7 +1941,7 @@ static VALUE mRepos;
#define SWIG_RUBY_THREAD_END_BLOCK
-#define SWIGVERSION 0x020009
+#define SWIGVERSION 0x020012
#define SWIG_VERSION SWIGVERSION
@@ -2006,7 +2004,7 @@ SWIG_ruby_failed(void)
}
-/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
+/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
{
VALUE obj = args[0];
@@ -2148,7 +2146,7 @@ SWIG_FromCharPtr(const char *cptr)
}
-/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
+/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
{
VALUE obj = args[0];
@@ -2352,11 +2350,6 @@ static svn_error_t * svn_repos_invoke_authz_callback(
return _obj(required, allowed, root, path, baton, pool);
}
-static svn_error_t * svn_repos_invoke_file_rev_handler(
- svn_repos_file_rev_handler_t _obj, void *baton, const char *path, svn_revnum_t rev, apr_hash_t *rev_props, svn_txdelta_window_handler_t *delta_handler, void **delta_baton, apr_array_header_t *prop_diffs, apr_pool_t *pool) {
- return _obj(baton, path, rev, rev_props, delta_handler, delta_baton, prop_diffs, pool);
-}
-
static void svn_repos_invoke_notify_func(
svn_repos_notify_func_t _obj, void *baton, const svn_repos_notify_t *notify, apr_pool_t *scratch_pool) {
_obj(baton, notify, scratch_pool);
@@ -2372,6 +2365,16 @@ static svn_error_t * svn_repos_invoke_history_func(
return _obj(baton, path, revision, pool);
}
+static svn_error_t * svn_repos_invoke_file_rev_handler(
+ svn_repos_file_rev_handler_t _obj, void *baton, const char *path, svn_revnum_t rev, apr_hash_t *rev_props, svn_txdelta_window_handler_t *delta_handler, void **delta_baton, apr_array_header_t *prop_diffs, apr_pool_t *pool) {
+ return _obj(baton, path, rev, rev_props, delta_handler, delta_baton, prop_diffs, pool);
+}
+
+static svn_error_t * svn_repos_invoke_verify_callback(
+ svn_repos_verify_callback_t _obj, void *baton, svn_revnum_t revision, svn_error_t *verify_err, apr_pool_t *scratch_pool) {
+ return _obj(baton, revision, verify_err, scratch_pool);
+}
+
static VALUE
@@ -2515,7 +2518,7 @@ _wrap_svn_repos_dump_fs2(int argc, VALUE *argv, VALUE self) {
arg6 = RTEST(argv[5]);
arg7 = RTEST(argv[6]);
{
- arg8 = svn_swig_rb_cancel_func;
+ arg8 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
if (argc > 8) {
@@ -3087,6 +3090,112 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_repos_notify_t_start_revision_set(int argc, VALUE *argv, VALUE self) {
+ struct svn_repos_notify_t *arg1 = (struct svn_repos_notify_t *) 0 ;
+ svn_revnum_t arg2 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ long val2 ;
+ int ecode2 = 0 ;
+
+ if ((argc < 1) || (argc > 1)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_repos_notify_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_repos_notify_t *","start_revision", 1, self ));
+ }
+ arg1 = (struct svn_repos_notify_t *)(argp1);
+ ecode2 = SWIG_AsVal_long(argv[0], &val2);
+ if (!SWIG_IsOK(ecode2)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","start_revision", 2, argv[0] ));
+ }
+ arg2 = (svn_revnum_t)(val2);
+ if (arg1) (arg1)->start_revision = arg2;
+ return Qnil;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_repos_notify_t_start_revision_get(int argc, VALUE *argv, VALUE self) {
+ struct svn_repos_notify_t *arg1 = (struct svn_repos_notify_t *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ svn_revnum_t result;
+ VALUE vresult = Qnil;
+
+ if ((argc < 0) || (argc > 0)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_repos_notify_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_repos_notify_t *","start_revision", 1, self ));
+ }
+ arg1 = (struct svn_repos_notify_t *)(argp1);
+ result = (svn_revnum_t) ((arg1)->start_revision);
+ vresult = SWIG_From_long((long)(result));
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_repos_notify_t_end_revision_set(int argc, VALUE *argv, VALUE self) {
+ struct svn_repos_notify_t *arg1 = (struct svn_repos_notify_t *) 0 ;
+ svn_revnum_t arg2 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ long val2 ;
+ int ecode2 = 0 ;
+
+ if ((argc < 1) || (argc > 1)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_repos_notify_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_repos_notify_t *","end_revision", 1, self ));
+ }
+ arg1 = (struct svn_repos_notify_t *)(argp1);
+ ecode2 = SWIG_AsVal_long(argv[0], &val2);
+ if (!SWIG_IsOK(ecode2)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","end_revision", 2, argv[0] ));
+ }
+ arg2 = (svn_revnum_t)(val2);
+ if (arg1) (arg1)->end_revision = arg2;
+ return Qnil;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_repos_notify_t_end_revision_get(int argc, VALUE *argv, VALUE self) {
+ struct svn_repos_notify_t *arg1 = (struct svn_repos_notify_t *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ svn_revnum_t result;
+ VALUE vresult = Qnil;
+
+ if ((argc < 0) || (argc > 0)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_repos_notify_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_repos_notify_t *","end_revision", 1, self ));
+ }
+ arg1 = (struct svn_repos_notify_t *)(argp1);
+ result = (svn_revnum_t) ((arg1)->end_revision);
+ vresult = SWIG_From_long((long)(result));
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_repos_notify_create(int argc, VALUE *argv, VALUE self) {
svn_repos_notify_action_t arg1 ;
apr_pool_t *arg2 = (apr_pool_t *) 0 ;
@@ -3197,6 +3306,119 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_repos_open3(int argc, VALUE *argv, VALUE self) {
+ svn_repos_t **arg1 = (svn_repos_t **) 0 ;
+ char *arg2 = (char *) 0 ;
+ apr_hash_t *arg3 = (apr_hash_t *) 0 ;
+ apr_pool_t *arg4 = (apr_pool_t *) 0 ;
+ apr_pool_t *arg5 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ svn_repos_t *temp1 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
+ _global_pool = arg4;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
+ _global_pool = arg5;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ arg1 = &temp1;
+ if ((argc < 2) || (argc > 4)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
+ }
+ {
+ arg2 = StringValueCStr(argv[0]);
+ }
+ {
+ VALUE rb_pool = Qnil;
+ if (!_global_pool) {
+ svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
+ svn_swig_rb_push_pool(rb_pool);
+ }
+ arg3 = (NIL_P(argv[1])) ? NULL :
+ svn_swig_rb_hash_to_apr_hash_string(argv[1], _global_pool);
+ _global_pool = NULL;
+ if (!NIL_P(rb_pool)) {
+ if (NIL_P(arg3)) {
+ svn_swig_rb_destroy_pool(rb_pool);
+ } else {
+ svn_swig_rb_set_pool_for_no_swig_type(argv[1], rb_pool);
+ }
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ }
+ if (argc > 2) {
+
+ }
+ if (argc > 3) {
+
+ }
+ {
+ result = (svn_error_t *)svn_repos_open3(arg1,(char const *)arg2,arg3,arg4,arg5);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ VALUE tmp;
+ tmp = SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_repos_t, 0);
+ if (rb_block_given_p()) {
+ rb_yield(tmp);
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ DATA_PTR(tmp) = NULL;
+ } else {
+ vresult = SWIG_Ruby_AppendOutput(vresult, tmp);
+ }
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_repos_open2(int argc, VALUE *argv, VALUE self) {
svn_repos_t **arg1 = (svn_repos_t **) 0 ;
char *arg2 = (char *) 0 ;
@@ -3749,6 +3971,322 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_repos_capabilities(int argc, VALUE *argv, VALUE self) {
+ apr_hash_t **arg1 = (apr_hash_t **) 0 ;
+ svn_repos_t *arg2 = (svn_repos_t *) 0 ;
+ apr_pool_t *arg3 = (apr_pool_t *) 0 ;
+ apr_pool_t *arg4 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ apr_hash_t *temp1 ;
+ void *argp2 = 0 ;
+ int res2 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
+ _global_pool = arg3;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
+ _global_pool = arg4;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ arg1 = &temp1;
+ if ((argc < 1) || (argc > 3)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_repos_t, 0 | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_repos_t *","svn_repos_capabilities", 2, argv[0] ));
+ }
+ arg2 = (svn_repos_t *)(argp2);
+ if (argc > 1) {
+
+ }
+ if (argc > 2) {
+
+ }
+ {
+ if (!arg2) {
+ svn_swig_rb_raise_svn_repos_already_close();
+ }
+ }
+ {
+ result = (svn_error_t *)svn_repos_capabilities(arg1,arg2,arg3,arg4);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ /* FIXME: Missing argout typemap: svn_repos_capabilities arg 1 (apr_hash_t **) */
+
+
+
+
+ SWIG_exception(SWIG_ValueError, "svn_repos_capabilities is not implemented yet");
+
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_repos_remember_client_capabilities(int argc, VALUE *argv, VALUE self) {
+ svn_repos_t *arg1 = (svn_repos_t *) 0 ;
+ apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ void *argp2 = 0 ;
+ int res2 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ if ((argc < 2) || (argc > 2)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_repos_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_repos_t *","svn_repos_remember_client_capabilities", 1, argv[0] ));
+ }
+ arg1 = (svn_repos_t *)(argp1);
+ res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_apr_array_header_t, 0 | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "apr_array_header_t const *","svn_repos_remember_client_capabilities", 2, argv[1] ));
+ }
+ arg2 = (apr_array_header_t *)(argp2);
+ {
+ if (!arg1) {
+ svn_swig_rb_raise_svn_repos_already_close();
+ }
+ }
+ {
+ result = (svn_error_t *)svn_repos_remember_client_capabilities(arg1,(apr_array_header_t const *)arg2);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_repos_fs_type(int argc, VALUE *argv, VALUE self) {
+ svn_repos_t *arg1 = (svn_repos_t *) 0 ;
+ apr_pool_t *arg2 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ char *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2);
+ _global_pool = arg2;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 1) || (argc > 2)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_repos_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_repos_t *","svn_repos_fs_type", 1, argv[0] ));
+ }
+ arg1 = (svn_repos_t *)(argp1);
+ if (argc > 1) {
+
+ }
+ {
+ if (!arg1) {
+ svn_swig_rb_raise_svn_repos_already_close();
+ }
+ }
+ {
+ result = (char *)svn_repos_fs_type(arg1,arg2);
+
+
+
+ }
+ {
+ if (result) {
+ vresult = rb_str_new2(result);
+ } else {
+ vresult = Qnil;
+ }
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_repos_hotcopy3(int argc, VALUE *argv, VALUE self) {
+ char *arg1 = (char *) 0 ;
+ char *arg2 = (char *) 0 ;
+ svn_boolean_t arg3 ;
+ svn_boolean_t arg4 ;
+ svn_repos_notify_func_t arg5 = (svn_repos_notify_func_t) 0 ;
+ void *arg6 = (void *) 0 ;
+ svn_cancel_func_t arg7 = (svn_cancel_func_t) 0 ;
+ void *arg8 = (void *) 0 ;
+ apr_pool_t *arg9 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ int res1 ;
+ char *buf1 = 0 ;
+ int alloc1 = 0 ;
+ int res2 ;
+ char *buf2 = 0 ;
+ int alloc2 = 0 ;
+ int res6 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg9);
+ _global_pool = arg9;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 7) || (argc > 8)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
+ }
+ res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_repos_hotcopy3", 1, argv[0] ));
+ }
+ arg1 = (char *)(buf1);
+ res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_repos_hotcopy3", 2, argv[1] ));
+ }
+ arg2 = (char *)(buf2);
+ arg3 = RTEST(argv[2]);
+ arg4 = RTEST(argv[3]);
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[4], (void**)(&arg5), SWIGTYPE_p_f_p_void_p_q_const__struct_svn_repos_notify_t_p_apr_pool_t__void);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_repos_notify_func_t","svn_repos_hotcopy3", 5, argv[4] ));
+ }
+ }
+ res6 = SWIG_ConvertPtr(argv[5],SWIG_as_voidptrptr(&arg6), 0, 0);
+ if (!SWIG_IsOK(res6)) {
+ SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "void *","svn_repos_hotcopy3", 6, argv[5] ));
+ }
+ {
+ arg7 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
+ arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
+ }
+ if (argc > 7) {
+
+ }
+ {
+ result = (svn_error_t *)svn_repos_hotcopy3((char const *)arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ svn_swig_rb_set_baton(vresult, (VALUE)arg8);
+ }
+ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
+ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
+ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_repos_hotcopy2(int argc, VALUE *argv, VALUE self) {
char *arg1 = (char *) 0 ;
char *arg2 = (char *) 0 ;
@@ -3789,7 +4327,7 @@ _wrap_svn_repos_hotcopy2(int argc, VALUE *argv, VALUE self) {
arg3 = RTEST(argv[2]);
arg4 = RTEST(argv[3]);
{
- arg5 = svn_swig_rb_cancel_func;
+ arg5 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
if (argc > 5) {
@@ -3953,7 +4491,7 @@ _wrap_svn_repos_fs_pack2(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "void *","svn_repos_fs_pack2", 3, argv[2] ));
}
{
- arg4 = svn_swig_rb_cancel_func;
+ arg4 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
if (argc > 4) {
@@ -4041,7 +4579,7 @@ _wrap_svn_repos_fs_pack(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "void *","svn_repos_fs_pack", 3, argv[2] ));
}
{
- arg4 = svn_swig_rb_cancel_func;
+ arg4 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
if (argc > 4) {
@@ -4127,7 +4665,7 @@ _wrap_svn_repos_recover4(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","svn_repos_recover4", 4, argv[3] ));
}
{
- arg5 = svn_swig_rb_cancel_func;
+ arg5 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
if (argc > 5) {
@@ -4201,7 +4739,7 @@ _wrap_svn_repos_recover3(int argc, VALUE *argv, VALUE self) {
arg4 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
{
- arg5 = svn_swig_rb_cancel_func;
+ arg5 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg6 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
if (argc > 4) {
@@ -5774,7 +6312,7 @@ _wrap_svn_repos_begin_report3(int argc, VALUE *argv, VALUE self) {
}
}
{
- arg13 = svn_swig_rb_repos_authz_func;
+ arg13 = (svn_repos_authz_func_t) svn_swig_rb_repos_authz_func;
arg14 = (void *)svn_swig_rb_make_baton(argv[10], _global_svn_swig_rb_pool);
}
ecode15 = SWIG_AsVal_unsigned_SS_long(argv[11], &val15);
@@ -5919,7 +6457,7 @@ _wrap_svn_repos_begin_report2(int argc, VALUE *argv, VALUE self) {
}
}
{
- arg13 = svn_swig_rb_repos_authz_func;
+ arg13 = (svn_repos_authz_func_t) svn_swig_rb_repos_authz_func;
arg14 = (void *)svn_swig_rb_make_baton(argv[10], _global_svn_swig_rb_pool);
}
if (argc > 11) {
@@ -6063,7 +6601,7 @@ _wrap_svn_repos_begin_report(int argc, VALUE *argv, VALUE self) {
}
}
{
- arg13 = svn_swig_rb_repos_authz_func;
+ arg13 = (svn_repos_authz_func_t) svn_swig_rb_repos_authz_func;
arg14 = (void *)svn_swig_rb_make_baton(argv[10], _global_svn_swig_rb_pool);
}
if (argc > 11) {
@@ -6885,7 +7423,7 @@ _wrap_svn_repos_dir_delta2(int argc, VALUE *argv, VALUE self) {
}
}
{
- arg8 = svn_swig_rb_repos_authz_func;
+ arg8 = (svn_repos_authz_func_t) svn_swig_rb_repos_authz_func;
arg9 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
arg10 = RTEST(argv[7]);
@@ -7011,7 +7549,7 @@ _wrap_svn_repos_dir_delta(int argc, VALUE *argv, VALUE self) {
}
}
{
- arg8 = svn_swig_rb_repos_authz_func;
+ arg8 = (svn_repos_authz_func_t) svn_swig_rb_repos_authz_func;
arg9 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
arg10 = RTEST(argv[7]);
@@ -7117,7 +7655,7 @@ _wrap_svn_repos_replay2(int argc, VALUE *argv, VALUE self) {
}
}
{
- arg7 = svn_swig_rb_repos_authz_func;
+ arg7 = (svn_repos_authz_func_t) svn_swig_rb_repos_authz_func;
arg8 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
if (argc > 6) {
@@ -7317,7 +7855,7 @@ _wrap_svn_repos_get_commit_editor5(int argc, VALUE *argv, VALUE self) {
arg9 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
{
- arg10 = svn_swig_rb_repos_authz_callback;
+ arg10 = (svn_repos_authz_callback_t) svn_swig_rb_repos_authz_callback;
arg11 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
if (argc > 7) {
@@ -7456,7 +7994,7 @@ _wrap_svn_repos_get_commit_editor4(int argc, VALUE *argv, VALUE self) {
arg10 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
{
- arg11 = svn_swig_rb_repos_authz_callback;
+ arg11 = (svn_repos_authz_callback_t) svn_swig_rb_repos_authz_callback;
arg12 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
if (argc > 8) {
@@ -7595,7 +8133,7 @@ _wrap_svn_repos_get_commit_editor3(int argc, VALUE *argv, VALUE self) {
arg10 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
{
- arg11 = svn_swig_rb_repos_authz_callback;
+ arg11 = (svn_repos_authz_callback_t) svn_swig_rb_repos_authz_callback;
arg12 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
if (argc > 8) {
@@ -8289,11 +8827,11 @@ _wrap_svn_repos_history2(int argc, VALUE *argv, VALUE self) {
arg2 = StringValueCStr(argv[1]);
}
{
- arg3 = svn_swig_rb_repos_history_func;
+ arg3 = (svn_repos_history_func_t) svn_swig_rb_repos_history_func;
arg4 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
{
- arg5 = svn_swig_rb_repos_authz_func;
+ arg5 = (svn_repos_authz_func_t) svn_swig_rb_repos_authz_func;
arg6 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
ecode7 = SWIG_AsVal_long(argv[4], &val7);
@@ -8387,7 +8925,7 @@ _wrap_svn_repos_history(int argc, VALUE *argv, VALUE self) {
arg2 = StringValueCStr(argv[1]);
}
{
- arg3 = svn_swig_rb_repos_history_func;
+ arg3 = (svn_repos_history_func_t) svn_swig_rb_repos_history_func;
arg4 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
ecode5 = SWIG_AsVal_long(argv[3], &val5);
@@ -8494,7 +9032,7 @@ _wrap_svn_repos_trace_node_locations(int argc, VALUE *argv, VALUE self) {
arg5 = svn_swig_rb_array_to_apr_array_revnum(argv[3], _global_pool);
}
{
- arg6 = svn_swig_rb_repos_authz_func;
+ arg6 = (svn_repos_authz_func_t) svn_swig_rb_repos_authz_func;
arg7 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
if (argc > 5) {
@@ -8612,7 +9150,7 @@ _wrap_svn_repos_node_location_segments(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "void *","svn_repos_node_location_segments", 7, argv[6] ));
}
{
- arg8 = svn_swig_rb_repos_authz_func;
+ arg8 = (svn_repos_authz_func_t) svn_swig_rb_repos_authz_func;
arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
if (argc > 8) {
@@ -8725,11 +9263,11 @@ _wrap_svn_repos_get_logs4(int argc, VALUE *argv, VALUE self) {
svn_swig_rb_strings_to_apr_array(argv[8], _global_pool);
}
{
- arg10 = svn_swig_rb_repos_authz_func;
+ arg10 = (svn_repos_authz_func_t) svn_swig_rb_repos_authz_func;
arg11 = (void *)svn_swig_rb_make_baton(argv[9], _global_svn_swig_rb_pool);
}
{
- arg12 = svn_swig_rb_log_entry_receiver;
+ arg12 = (svn_log_entry_receiver_t) svn_swig_rb_log_entry_receiver;
arg13 = (void *)svn_swig_rb_make_baton(argv[10], _global_svn_swig_rb_pool);
}
if (argc > 11) {
@@ -8835,11 +9373,11 @@ _wrap_svn_repos_get_logs3(int argc, VALUE *argv, VALUE self) {
arg6 = RTEST(argv[5]);
arg7 = RTEST(argv[6]);
{
- arg8 = svn_swig_rb_repos_authz_func;
+ arg8 = (svn_repos_authz_func_t) svn_swig_rb_repos_authz_func;
arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
{
- arg10 = svn_swig_rb_log_receiver;
+ arg10 = (svn_log_message_receiver_t) svn_swig_rb_log_receiver;
arg11 = (void *)svn_swig_rb_make_baton(argv[8], _global_svn_swig_rb_pool);
}
if (argc > 9) {
@@ -8937,11 +9475,11 @@ _wrap_svn_repos_get_logs2(int argc, VALUE *argv, VALUE self) {
arg5 = RTEST(argv[4]);
arg6 = RTEST(argv[5]);
{
- arg7 = svn_swig_rb_repos_authz_func;
+ arg7 = (svn_repos_authz_func_t) svn_swig_rb_repos_authz_func;
arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
{
- arg9 = svn_swig_rb_log_receiver;
+ arg9 = (svn_log_message_receiver_t) svn_swig_rb_log_receiver;
arg10 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
if (argc > 8) {
@@ -9037,7 +9575,7 @@ _wrap_svn_repos_get_logs(int argc, VALUE *argv, VALUE self) {
arg5 = RTEST(argv[4]);
arg6 = RTEST(argv[5]);
{
- arg7 = svn_swig_rb_log_receiver;
+ arg7 = (svn_log_message_receiver_t) svn_swig_rb_log_receiver;
arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
if (argc > 7) {
@@ -9130,7 +9668,7 @@ _wrap_svn_repos_fs_get_mergeinfo(int argc, VALUE *argv, VALUE self) {
}
arg6 = RTEST(argv[4]);
{
- arg7 = svn_swig_rb_repos_authz_func;
+ arg7 = (svn_repos_authz_func_t) svn_swig_rb_repos_authz_func;
arg8 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
if (argc > 6) {
@@ -9230,7 +9768,7 @@ _wrap_svn_repos_get_file_revs2(int argc, VALUE *argv, VALUE self) {
arg4 = (svn_revnum_t)(val4);
arg5 = RTEST(argv[4]);
{
- arg6 = svn_swig_rb_repos_authz_func;
+ arg6 = (svn_repos_authz_func_t) svn_swig_rb_repos_authz_func;
arg7 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
{
@@ -9334,11 +9872,11 @@ _wrap_svn_repos_get_file_revs(int argc, VALUE *argv, VALUE self) {
}
arg4 = (svn_revnum_t)(val4);
{
- arg5 = svn_swig_rb_repos_authz_func;
+ arg5 = (svn_repos_authz_func_t) svn_swig_rb_repos_authz_func;
arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
{
- arg7 = svn_swig_rb_repos_file_rev_handler;
+ arg7 = (svn_repos_file_rev_handler_t) svn_swig_rb_repos_file_rev_handler;
arg8 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
if (argc > 6) {
@@ -9766,6 +10304,132 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_repos_fs_lock_many(int argc, VALUE *argv, VALUE self) {
+ svn_repos_t *arg1 = (svn_repos_t *) 0 ;
+ apr_hash_t *arg2 = (apr_hash_t *) 0 ;
+ char *arg3 = (char *) 0 ;
+ svn_boolean_t arg4 ;
+ apr_time_t arg5 ;
+ svn_boolean_t arg6 ;
+ svn_fs_lock_callback_t arg7 = (svn_fs_lock_callback_t) 0 ;
+ void *arg8 = (void *) 0 ;
+ apr_pool_t *arg9 = (apr_pool_t *) 0 ;
+ apr_pool_t *arg10 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ void *argp2 = 0 ;
+ int res2 = 0 ;
+ int res8 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg9);
+ _global_pool = arg9;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg10);
+ _global_pool = arg10;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 8) || (argc > 10)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_repos_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_repos_t *","svn_repos_fs_lock_many", 1, argv[0] ));
+ }
+ arg1 = (svn_repos_t *)(argp1);
+ res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_apr_hash_t, 0 | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "apr_hash_t *","svn_repos_fs_lock_many", 2, argv[1] ));
+ }
+ arg2 = (apr_hash_t *)(argp2);
+ {
+ if (NIL_P(argv[2])) {
+ arg3 = NULL;
+ } else {
+ arg3 = StringValuePtr(argv[2]);
+ }
+ }
+ arg4 = RTEST(argv[3]);
+ {
+ arg5 = (apr_time_t)NUM2LL(argv[4]);
+ }
+ arg6 = RTEST(argv[5]);
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[6], (void**)(&arg7), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_fs_lock_callback_t","svn_repos_fs_lock_many", 7, argv[6] ));
+ }
+ }
+ res8 = SWIG_ConvertPtr(argv[7],SWIG_as_voidptrptr(&arg8), 0, 0);
+ if (!SWIG_IsOK(res8)) {
+ SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "void *","svn_repos_fs_lock_many", 8, argv[7] ));
+ }
+ if (argc > 8) {
+
+ }
+ if (argc > 9) {
+
+ }
+ {
+ if (!arg1) {
+ svn_swig_rb_raise_svn_repos_already_close();
+ }
+ }
+ {
+ result = (svn_error_t *)svn_repos_fs_lock_many(arg1,arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_repos_fs_lock(int argc, VALUE *argv, VALUE self) {
svn_lock_t **arg1 = (svn_lock_t **) 0 ;
svn_repos_t *arg2 = (svn_repos_t *) 0 ;
@@ -9874,6 +10538,118 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_repos_fs_unlock_many(int argc, VALUE *argv, VALUE self) {
+ svn_repos_t *arg1 = (svn_repos_t *) 0 ;
+ apr_hash_t *arg2 = (apr_hash_t *) 0 ;
+ svn_boolean_t arg3 ;
+ svn_fs_lock_callback_t arg4 = (svn_fs_lock_callback_t) 0 ;
+ void *arg5 = (void *) 0 ;
+ apr_pool_t *arg6 = (apr_pool_t *) 0 ;
+ apr_pool_t *arg7 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ void *argp2 = 0 ;
+ int res2 = 0 ;
+ int res5 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);
+ _global_pool = arg6;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7);
+ _global_pool = arg7;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 5) || (argc > 7)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_repos_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_repos_t *","svn_repos_fs_unlock_many", 1, argv[0] ));
+ }
+ arg1 = (svn_repos_t *)(argp1);
+ res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_apr_hash_t, 0 | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "apr_hash_t *","svn_repos_fs_unlock_many", 2, argv[1] ));
+ }
+ arg2 = (apr_hash_t *)(argp2);
+ arg3 = RTEST(argv[2]);
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[3], (void**)(&arg4), SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_fs_lock_callback_t","svn_repos_fs_unlock_many", 4, argv[3] ));
+ }
+ }
+ res5 = SWIG_ConvertPtr(argv[4],SWIG_as_voidptrptr(&arg5), 0, 0);
+ if (!SWIG_IsOK(res5)) {
+ SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "void *","svn_repos_fs_unlock_many", 5, argv[4] ));
+ }
+ if (argc > 5) {
+
+ }
+ if (argc > 6) {
+
+ }
+ {
+ if (!arg1) {
+ svn_swig_rb_raise_svn_repos_already_close();
+ }
+ }
+ {
+ result = (svn_error_t *)svn_repos_fs_unlock_many(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_repos_fs_unlock(int argc, VALUE *argv, VALUE self) {
svn_repos_t *arg1 = (svn_repos_t *) 0 ;
char *arg2 = (char *) 0 ;
@@ -9991,7 +10767,7 @@ _wrap_svn_repos_fs_get_locks2(int argc, VALUE *argv, VALUE self) {
arg4 = svn_swig_rb_to_depth(argv[2]);
}
{
- arg5 = svn_swig_rb_repos_authz_func;
+ arg5 = (svn_repos_authz_func_t) svn_swig_rb_repos_authz_func;
arg6 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
if (argc > 4) {
@@ -10076,7 +10852,7 @@ _wrap_svn_repos_fs_get_locks(int argc, VALUE *argv, VALUE self) {
arg3 = StringValueCStr(argv[1]);
}
{
- arg4 = svn_swig_rb_repos_authz_func;
+ arg4 = (svn_repos_authz_func_t) svn_swig_rb_repos_authz_func;
arg5 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
if (argc > 3) {
@@ -10203,7 +10979,7 @@ _wrap_svn_repos_fs_change_rev_prop4(int argc, VALUE *argv, VALUE self) {
arg7 = RTEST(argv[6]);
arg8 = RTEST(argv[7]);
{
- arg9 = svn_swig_rb_repos_authz_func;
+ arg9 = (svn_repos_authz_func_t) svn_swig_rb_repos_authz_func;
arg10 = (void *)svn_swig_rb_make_baton(argv[8], _global_svn_swig_rb_pool);
}
if (argc > 9) {
@@ -10327,7 +11103,7 @@ _wrap_svn_repos_fs_change_rev_prop3(int argc, VALUE *argv, VALUE self) {
arg6 = RTEST(argv[5]);
arg7 = RTEST(argv[6]);
{
- arg8 = svn_swig_rb_repos_authz_func;
+ arg8 = (svn_repos_authz_func_t) svn_swig_rb_repos_authz_func;
arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
if (argc > 8) {
@@ -10440,7 +11216,7 @@ _wrap_svn_repos_fs_change_rev_prop2(int argc, VALUE *argv, VALUE self) {
}
}
{
- arg6 = svn_swig_rb_repos_authz_func;
+ arg6 = (svn_repos_authz_func_t) svn_swig_rb_repos_authz_func;
arg7 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
if (argc > 6) {
@@ -10643,7 +11419,7 @@ _wrap_svn_repos_fs_revision_prop(int argc, VALUE *argv, VALUE self) {
}
arg4 = (char *)(buf4);
{
- arg5 = svn_swig_rb_repos_authz_func;
+ arg5 = (svn_repos_authz_func_t) svn_swig_rb_repos_authz_func;
arg6 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
if (argc > 4) {
@@ -10735,7 +11511,7 @@ _wrap_svn_repos_fs_revision_proplist(int argc, VALUE *argv, VALUE self) {
}
arg3 = (svn_revnum_t)(val3);
{
- arg4 = svn_swig_rb_repos_authz_func;
+ arg4 = (svn_repos_authz_func_t) svn_swig_rb_repos_authz_func;
arg5 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
if (argc > 3) {
@@ -10871,6 +11647,123 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_repos_fs_get_inherited_props(int argc, VALUE *argv, VALUE self) {
+ apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
+ svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
+ char *arg3 = (char *) 0 ;
+ char *arg4 = (char *) 0 ;
+ svn_repos_authz_func_t arg5 = (svn_repos_authz_func_t) 0 ;
+ void *arg6 = (void *) 0 ;
+ apr_pool_t *arg7 = (apr_pool_t *) 0 ;
+ apr_pool_t *arg8 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ apr_array_header_t *temp1 ;
+ void *argp2 = 0 ;
+ int res2 = 0 ;
+ int res4 ;
+ char *buf4 = 0 ;
+ int alloc4 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7);
+ _global_pool = arg7;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8);
+ _global_pool = arg8;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ arg1 = &temp1;
+ if ((argc < 4) || (argc > 6)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
+ }
+ res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_fs_root_t *","svn_repos_fs_get_inherited_props", 2, argv[0] ));
+ }
+ arg2 = (svn_fs_root_t *)(argp2);
+ {
+ arg3 = StringValueCStr(argv[1]);
+ }
+ res4 = SWIG_AsCharPtrAndSize(argv[2], &buf4, NULL, &alloc4);
+ if (!SWIG_IsOK(res4)) {
+ SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_repos_fs_get_inherited_props", 4, argv[2] ));
+ }
+ arg4 = (char *)(buf4);
+ {
+ arg5 = (svn_repos_authz_func_t) svn_swig_rb_repos_authz_func;
+ arg6 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
+ }
+ if (argc > 4) {
+
+ }
+ if (argc > 5) {
+
+ }
+ {
+ result = (svn_error_t *)svn_repos_fs_get_inherited_props(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5,arg6,arg7,arg8);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ /* FIXME: Missing argout typemap: svn_repos_fs_get_inherited_props arg 1 (apr_array_header_t **) */
+
+
+
+
+ SWIG_exception(SWIG_ValueError, "svn_repos_fs_get_inherited_props is not implemented yet");
+
+ }
+ if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_repos_fs_change_txn_prop(int argc, VALUE *argv, VALUE self) {
svn_fs_txn_t *arg1 = (svn_fs_txn_t *) 0 ;
char *arg2 = (char *) 0 ;
@@ -11716,6 +12609,242 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_repos_info_format(int argc, VALUE *argv, VALUE self) {
+ int *arg1 = (int *) 0 ;
+ svn_version_t **arg2 = (svn_version_t **) 0 ;
+ svn_repos_t *arg3 = (svn_repos_t *) 0 ;
+ apr_pool_t *arg4 = (apr_pool_t *) 0 ;
+ apr_pool_t *arg5 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ int temp1 ;
+ int res1 = SWIG_TMPOBJ ;
+ svn_version_t *temp2 ;
+ void *argp3 = 0 ;
+ int res3 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
+ _global_pool = arg4;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
+ _global_pool = arg5;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ arg1 = &temp1;
+ arg2 = &temp2;
+ if ((argc < 1) || (argc > 3)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res3 = SWIG_ConvertPtr(argv[0], &argp3,SWIGTYPE_p_svn_repos_t, 0 | 0 );
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_repos_t *","svn_repos_info_format", 3, argv[0] ));
+ }
+ arg3 = (svn_repos_t *)(argp3);
+ if (argc > 1) {
+
+ }
+ if (argc > 2) {
+
+ }
+ {
+ if (!arg3) {
+ svn_swig_rb_raise_svn_repos_already_close();
+ }
+ }
+ {
+ result = (svn_error_t *)svn_repos_info_format(arg1,arg2,arg3,arg4,arg5);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ if (SWIG_IsTmpObj(res1)) {
+ vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int((*arg1)));
+ } else {
+ int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
+ vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
+ }
+ {
+ /* FIXME: Missing argout typemap: svn_repos_info_format arg 2 (svn_version_t **) */
+
+
+
+
+ SWIG_exception(SWIG_ValueError, "svn_repos_info_format is not implemented yet");
+
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_repos_verify_fs3(int argc, VALUE *argv, VALUE self) {
+ svn_repos_t *arg1 = (svn_repos_t *) 0 ;
+ svn_revnum_t arg2 ;
+ svn_revnum_t arg3 ;
+ svn_boolean_t arg4 ;
+ svn_boolean_t arg5 ;
+ svn_repos_notify_func_t arg6 = (svn_repos_notify_func_t) 0 ;
+ void *arg7 = (void *) 0 ;
+ svn_repos_verify_callback_t arg8 = (svn_repos_verify_callback_t) 0 ;
+ void *arg9 = (void *) 0 ;
+ svn_cancel_func_t arg10 = (svn_cancel_func_t) 0 ;
+ void *arg11 = (void *) 0 ;
+ apr_pool_t *arg12 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ long val2 ;
+ int ecode2 = 0 ;
+ long val3 ;
+ int ecode3 = 0 ;
+ int res7 ;
+ int res9 ;
+ int res11 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg12);
+ _global_pool = arg12;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 11) || (argc > 12)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 11)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_repos_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_repos_t *","svn_repos_verify_fs3", 1, argv[0] ));
+ }
+ arg1 = (svn_repos_t *)(argp1);
+ ecode2 = SWIG_AsVal_long(argv[1], &val2);
+ if (!SWIG_IsOK(ecode2)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","svn_repos_verify_fs3", 2, argv[1] ));
+ }
+ arg2 = (svn_revnum_t)(val2);
+ ecode3 = SWIG_AsVal_long(argv[2], &val3);
+ if (!SWIG_IsOK(ecode3)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "svn_revnum_t","svn_repos_verify_fs3", 3, argv[2] ));
+ }
+ arg3 = (svn_revnum_t)(val3);
+ arg4 = RTEST(argv[3]);
+ arg5 = RTEST(argv[4]);
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[5], (void**)(&arg6), SWIGTYPE_p_f_p_void_p_q_const__struct_svn_repos_notify_t_p_apr_pool_t__void);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_repos_notify_func_t","svn_repos_verify_fs3", 6, argv[5] ));
+ }
+ }
+ res7 = SWIG_ConvertPtr(argv[6],SWIG_as_voidptrptr(&arg7), 0, 0);
+ if (!SWIG_IsOK(res7)) {
+ SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "void *","svn_repos_verify_fs3", 7, argv[6] ));
+ }
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[7], (void**)(&arg8), SWIGTYPE_p_f_p_void_svn_revnum_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_repos_verify_callback_t","svn_repos_verify_fs3", 8, argv[7] ));
+ }
+ }
+ res9 = SWIG_ConvertPtr(argv[8],SWIG_as_voidptrptr(&arg9), 0, 0);
+ if (!SWIG_IsOK(res9)) {
+ SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "void *","svn_repos_verify_fs3", 9, argv[8] ));
+ }
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[9], (void**)(&arg10), SWIGTYPE_p_f_p_void__p_svn_error_t);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_cancel_func_t","svn_repos_verify_fs3", 10, argv[9] ));
+ }
+ }
+ res11 = SWIG_ConvertPtr(argv[10],SWIG_as_voidptrptr(&arg11), 0, 0);
+ if (!SWIG_IsOK(res11)) {
+ SWIG_exception_fail(SWIG_ArgError(res11), Ruby_Format_TypeError( "", "void *","svn_repos_verify_fs3", 11, argv[10] ));
+ }
+ if (argc > 11) {
+
+ }
+ {
+ if (!arg1) {
+ svn_swig_rb_raise_svn_repos_already_close();
+ }
+ }
+ {
+ result = (svn_error_t *)svn_repos_verify_fs3(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_repos_verify_fs2(int argc, VALUE *argv, VALUE self) {
svn_repos_t *arg1 = (svn_repos_t *) 0 ;
svn_revnum_t arg2 ;
@@ -11874,7 +13003,7 @@ _wrap_svn_repos_verify_fs(int argc, VALUE *argv, VALUE self) {
}
arg4 = (svn_revnum_t)(val4);
{
- arg5 = svn_swig_rb_cancel_func;
+ arg5 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
if (argc > 5) {
@@ -11986,7 +13115,7 @@ _wrap_svn_repos_dump_fs3(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "void *","svn_repos_dump_fs3", 8, argv[7] ));
}
{
- arg9 = svn_swig_rb_cancel_func;
+ arg9 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg10 = (void *)svn_swig_rb_make_baton(argv[8], _global_svn_swig_rb_pool);
}
if (argc > 9) {
@@ -12091,7 +13220,7 @@ _wrap_svn_repos_dump_fs(int argc, VALUE *argv, VALUE self) {
arg5 = (svn_revnum_t)(val5);
arg6 = RTEST(argv[5]);
{
- arg7 = svn_swig_rb_cancel_func;
+ arg7 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
if (argc > 7) {
@@ -12140,6 +13269,138 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_repos_load_fs5(int argc, VALUE *argv, VALUE self) {
+ svn_repos_t *arg1 = (svn_repos_t *) 0 ;
+ svn_stream_t *arg2 = (svn_stream_t *) 0 ;
+ svn_revnum_t arg3 ;
+ svn_revnum_t arg4 ;
+ enum svn_repos_load_uuid arg5 ;
+ char *arg6 = (char *) 0 ;
+ svn_boolean_t arg7 ;
+ svn_boolean_t arg8 ;
+ svn_boolean_t arg9 ;
+ svn_boolean_t arg10 ;
+ svn_repos_notify_func_t arg11 = (svn_repos_notify_func_t) 0 ;
+ void *arg12 = (void *) 0 ;
+ svn_cancel_func_t arg13 = (svn_cancel_func_t) 0 ;
+ void *arg14 = (void *) 0 ;
+ apr_pool_t *arg15 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ long val3 ;
+ int ecode3 = 0 ;
+ long val4 ;
+ int ecode4 = 0 ;
+ int val5 ;
+ int ecode5 = 0 ;
+ int res12 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg15);
+ _global_pool = arg15;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 13) || (argc > 14)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 13)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_repos_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_repos_t *","svn_repos_load_fs5", 1, argv[0] ));
+ }
+ arg1 = (svn_repos_t *)(argp1);
+ {
+ arg2 = svn_swig_rb_make_stream(argv[1]);
+ }
+ ecode3 = SWIG_AsVal_long(argv[2], &val3);
+ if (!SWIG_IsOK(ecode3)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "svn_revnum_t","svn_repos_load_fs5", 3, argv[2] ));
+ }
+ arg3 = (svn_revnum_t)(val3);
+ ecode4 = SWIG_AsVal_long(argv[3], &val4);
+ if (!SWIG_IsOK(ecode4)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_repos_load_fs5", 4, argv[3] ));
+ }
+ arg4 = (svn_revnum_t)(val4);
+ ecode5 = SWIG_AsVal_int(argv[4], &val5);
+ if (!SWIG_IsOK(ecode5)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "enum svn_repos_load_uuid","svn_repos_load_fs5", 5, argv[4] ));
+ }
+ arg5 = (enum svn_repos_load_uuid)(val5);
+ {
+ if (NIL_P(argv[5])) {
+ arg6 = NULL;
+ } else {
+ arg6 = StringValuePtr(argv[5]);
+ }
+ }
+ arg7 = RTEST(argv[6]);
+ arg8 = RTEST(argv[7]);
+ arg9 = RTEST(argv[8]);
+ arg10 = RTEST(argv[9]);
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[10], (void**)(&arg11), SWIGTYPE_p_f_p_void_p_q_const__struct_svn_repos_notify_t_p_apr_pool_t__void);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_repos_notify_func_t","svn_repos_load_fs5", 11, argv[10] ));
+ }
+ }
+ res12 = SWIG_ConvertPtr(argv[11],SWIG_as_voidptrptr(&arg12), 0, 0);
+ if (!SWIG_IsOK(res12)) {
+ SWIG_exception_fail(SWIG_ArgError(res12), Ruby_Format_TypeError( "", "void *","svn_repos_load_fs5", 12, argv[11] ));
+ }
+ {
+ arg13 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
+ arg14 = (void *)svn_swig_rb_make_baton(argv[12], _global_svn_swig_rb_pool);
+ }
+ if (argc > 13) {
+
+ }
+ {
+ if (!arg1) {
+ svn_swig_rb_raise_svn_repos_already_close();
+ }
+ }
+ {
+ result = (svn_error_t *)svn_repos_load_fs5(arg1,arg2,arg3,arg4,arg5,(char const *)arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ svn_swig_rb_set_baton(vresult, (VALUE)arg14);
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_repos_load_fs4(int argc, VALUE *argv, VALUE self) {
svn_repos_t *arg1 = (svn_repos_t *) 0 ;
svn_stream_t *arg2 = (svn_stream_t *) 0 ;
@@ -12221,7 +13482,7 @@ _wrap_svn_repos_load_fs4(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res11), Ruby_Format_TypeError( "", "void *","svn_repos_load_fs4", 11, argv[10] ));
}
{
- arg12 = svn_swig_rb_cancel_func;
+ arg12 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg13 = (void *)svn_swig_rb_make_baton(argv[11], _global_svn_swig_rb_pool);
}
if (argc > 12) {
@@ -12335,7 +13596,7 @@ _wrap_svn_repos_load_fs3(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "void *","svn_repos_load_fs3", 9, argv[8] ));
}
{
- arg10 = svn_swig_rb_cancel_func;
+ arg10 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg11 = (void *)svn_swig_rb_make_baton(argv[9], _global_svn_swig_rb_pool);
}
if (argc > 10) {
@@ -12442,7 +13703,7 @@ _wrap_svn_repos_load_fs2(int argc, VALUE *argv, VALUE self) {
arg6 = RTEST(argv[5]);
arg7 = RTEST(argv[6]);
{
- arg8 = svn_swig_rb_cancel_func;
+ arg8 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
if (argc > 8) {
@@ -12545,7 +13806,7 @@ _wrap_svn_repos_load_fs(int argc, VALUE *argv, VALUE self) {
}
}
{
- arg6 = svn_swig_rb_cancel_func;
+ arg6 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg7 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
if (argc > 6) {
@@ -13258,7 +14519,7 @@ _wrap_svn_repos_parse_dumpstream3(int argc, VALUE *argv, VALUE self) {
}
arg4 = RTEST(argv[3]);
{
- arg5 = svn_swig_rb_cancel_func;
+ arg5 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
if (argc > 5) {
@@ -13302,6 +14563,139 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_repos_get_fs_build_parser5(int argc, VALUE *argv, VALUE self) {
+ svn_repos_parse_fns3_t **arg1 = (svn_repos_parse_fns3_t **) 0 ;
+ void **arg2 = (void **) 0 ;
+ svn_repos_t *arg3 = (svn_repos_t *) 0 ;
+ svn_revnum_t arg4 ;
+ svn_revnum_t arg5 ;
+ svn_boolean_t arg6 ;
+ svn_boolean_t arg7 ;
+ enum svn_repos_load_uuid arg8 ;
+ char *arg9 = (char *) 0 ;
+ svn_boolean_t arg10 ;
+ svn_boolean_t arg11 ;
+ svn_boolean_t arg12 ;
+ svn_repos_notify_func_t arg13 = (svn_repos_notify_func_t) 0 ;
+ void *arg14 = (void *) 0 ;
+ apr_pool_t *arg15 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ svn_repos_parse_fns3_t *temp1 ;
+ void *temp2 ;
+ void *argp3 = 0 ;
+ int res3 = 0 ;
+ long val4 ;
+ int ecode4 = 0 ;
+ long val5 ;
+ int ecode5 = 0 ;
+ int val8 ;
+ int ecode8 = 0 ;
+ int res14 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg15);
+ _global_pool = arg15;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ arg1 = &temp1;
+ arg2 = &temp2;
+ if ((argc < 12) || (argc > 13)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 12)",argc); SWIG_fail;
+ }
+ res3 = SWIG_ConvertPtr(argv[0], &argp3,SWIGTYPE_p_svn_repos_t, 0 | 0 );
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_repos_t *","svn_repos_get_fs_build_parser5", 3, argv[0] ));
+ }
+ arg3 = (svn_repos_t *)(argp3);
+ ecode4 = SWIG_AsVal_long(argv[1], &val4);
+ if (!SWIG_IsOK(ecode4)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_repos_get_fs_build_parser5", 4, argv[1] ));
+ }
+ arg4 = (svn_revnum_t)(val4);
+ ecode5 = SWIG_AsVal_long(argv[2], &val5);
+ if (!SWIG_IsOK(ecode5)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "svn_revnum_t","svn_repos_get_fs_build_parser5", 5, argv[2] ));
+ }
+ arg5 = (svn_revnum_t)(val5);
+ arg6 = RTEST(argv[3]);
+ arg7 = RTEST(argv[4]);
+ ecode8 = SWIG_AsVal_int(argv[5], &val8);
+ if (!SWIG_IsOK(ecode8)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode8), Ruby_Format_TypeError( "", "enum svn_repos_load_uuid","svn_repos_get_fs_build_parser5", 8, argv[5] ));
+ }
+ arg8 = (enum svn_repos_load_uuid)(val8);
+ {
+ if (NIL_P(argv[6])) {
+ arg9 = NULL;
+ } else {
+ arg9 = StringValuePtr(argv[6]);
+ }
+ }
+ arg10 = RTEST(argv[7]);
+ arg11 = RTEST(argv[8]);
+ arg12 = RTEST(argv[9]);
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[10], (void**)(&arg13), SWIGTYPE_p_f_p_void_p_q_const__struct_svn_repos_notify_t_p_apr_pool_t__void);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_repos_notify_func_t","svn_repos_get_fs_build_parser5", 13, argv[10] ));
+ }
+ }
+ res14 = SWIG_ConvertPtr(argv[11],SWIG_as_voidptrptr(&arg14), 0, 0);
+ if (!SWIG_IsOK(res14)) {
+ SWIG_exception_fail(SWIG_ArgError(res14), Ruby_Format_TypeError( "", "void *","svn_repos_get_fs_build_parser5", 14, argv[11] ));
+ }
+ if (argc > 12) {
+
+ }
+ {
+ if (!arg3) {
+ svn_swig_rb_raise_svn_repos_already_close();
+ }
+ }
+ {
+ result = (svn_error_t *)svn_repos_get_fs_build_parser5((struct svn_repos_parse_fns3_t const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,(char const *)arg9,arg10,arg11,arg12,arg13,arg14,arg15);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_repos_parse_fns3_t, 0));
+ }
+ {
+ vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_void, 0));
+ }
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_repos_get_fs_build_parser4(int argc, VALUE *argv, VALUE self) {
svn_repos_parse_fns3_t **arg1 = (svn_repos_parse_fns3_t **) 0 ;
void **arg2 = (void **) 0 ;
@@ -13403,13 +14797,7 @@ _wrap_svn_repos_get_fs_build_parser4(int argc, VALUE *argv, VALUE self) {
vresult = Qnil;
}
{
- /* FIXME: Missing argout typemap: svn_repos_get_fs_build_parser4 arg 1 (svn_repos_parse_fns3_t const **) */
-
-
-
-
- SWIG_exception(SWIG_ValueError, "svn_repos_get_fs_build_parser4 is not implemented yet");
-
+ vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_repos_parse_fns3_t, 0));
}
{
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_void, 0));
@@ -14515,7 +15903,7 @@ _wrap_svn_repos_parse_dumpstream2(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "void *","svn_repos_parse_dumpstream2", 3, argv[2] ));
}
{
- arg4 = svn_swig_rb_cancel_func;
+ arg4 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
if (argc > 4) {
@@ -14595,7 +15983,7 @@ _wrap_svn_repos_parse_dumpstream(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "void *","svn_repos_parse_dumpstream", 3, argv[2] ));
}
{
- arg4 = svn_swig_rb_cancel_func;
+ arg4 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
if (argc > 4) {
@@ -14724,7 +16112,13 @@ _wrap_svn_repos_get_fs_build_parser3(int argc, VALUE *argv, VALUE self) {
vresult = Qnil;
}
{
- vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_repos_parse_fns2_t, 0));
+ /* FIXME: Missing argout typemap: svn_repos_get_fs_build_parser3 arg 1 (svn_repos_parse_fns2_t const **) */
+
+
+
+
+ SWIG_exception(SWIG_ValueError, "svn_repos_get_fs_build_parser3 is not implemented yet");
+
}
{
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_void, 0));
@@ -14824,7 +16218,13 @@ _wrap_svn_repos_get_fs_build_parser2(int argc, VALUE *argv, VALUE self) {
vresult = Qnil;
}
{
- vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_repos_parse_fns2_t, 0));
+ /* FIXME: Missing argout typemap: svn_repos_get_fs_build_parser2 arg 1 (svn_repos_parse_fns2_t const **) */
+
+
+
+
+ SWIG_exception(SWIG_ValueError, "svn_repos_get_fs_build_parser2 is not implemented yet");
+
}
{
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_void, 0));
@@ -15305,7 +16705,7 @@ _wrap_svn_repos_check_revision_access(int argc, VALUE *argv, VALUE self) {
}
arg3 = (svn_revnum_t)(val3);
{
- arg4 = svn_swig_rb_repos_authz_func;
+ arg4 = (svn_repos_authz_func_t) svn_swig_rb_repos_authz_func;
arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
if (argc > 4) {
@@ -15351,172 +16751,6 @@ fail:
SWIGINTERN VALUE
-_wrap_svn_repos_fs_get_inherited_props(int argc, VALUE *argv, VALUE self) {
- apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;
- svn_fs_root_t *arg2 = (svn_fs_root_t *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- svn_repos_authz_func_t arg5 = (svn_repos_authz_func_t) 0 ;
- void *arg6 = (void *) 0 ;
- apr_pool_t *arg7 = (apr_pool_t *) 0 ;
- apr_pool_t *arg8 = (apr_pool_t *) 0 ;
- VALUE _global_svn_swig_rb_pool ;
- apr_pool_t *_global_pool ;
- apr_array_header_t *temp1 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- svn_error_t *result = 0 ;
- VALUE vresult = Qnil;
-
- {
- svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7);
- _global_pool = arg7;
- svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
- }
- {
- svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8);
- _global_pool = arg8;
- svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
- }
- arg1 = &temp1;
- if ((argc < 4) || (argc > 6)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
- }
- res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_fs_root_t *","svn_repos_fs_get_inherited_props", 2, argv[0] ));
- }
- arg2 = (svn_fs_root_t *)(argp2);
- {
- arg3 = StringValueCStr(argv[1]);
- }
- res4 = SWIG_AsCharPtrAndSize(argv[2], &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_repos_fs_get_inherited_props", 4, argv[2] ));
- }
- arg4 = (char *)(buf4);
- {
- arg5 = svn_swig_rb_repos_authz_func;
- arg6 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
- }
- if (argc > 4) {
-
- }
- if (argc > 5) {
-
- }
- {
- result = (svn_error_t *)svn_repos_fs_get_inherited_props(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5,arg6,arg7,arg8);
-
-
-
- }
- {
- if (result) {
- svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
- svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
- svn_swig_rb_handle_svn_error(result);
- }
- vresult = Qnil;
- }
- {
- /* FIXME: Missing argout typemap: svn_repos_fs_get_inherited_props arg 1 (apr_array_header_t **) */
-
-
-
-
- SWIG_exception(SWIG_ValueError, "svn_repos_fs_get_inherited_props is not implemented yet");
-
- }
- if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
- {
- VALUE target;
- target = _global_vresult_address == &vresult ? self : vresult;
- if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
- svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
- svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
- }
- {
- VALUE target;
- target = _global_vresult_address == &vresult ? self : vresult;
- if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
- svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
- svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
- }
- return vresult;
-fail:
- if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
- {
- VALUE target;
- target = _global_vresult_address == &vresult ? self : vresult;
- if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
- svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
- svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
- }
- {
- VALUE target;
- target = _global_vresult_address == &vresult ? self : vresult;
- if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
- svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
- svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
- }
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_repos_remember_client_capabilities(int argc, VALUE *argv, VALUE self) {
- svn_repos_t *arg1 = (svn_repos_t *) 0 ;
- apr_array_header_t *arg2 = (apr_array_header_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- svn_error_t *result = 0 ;
- VALUE vresult = Qnil;
-
- if ((argc < 2) || (argc > 2)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_repos_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_repos_t *","svn_repos_remember_client_capabilities", 1, argv[0] ));
- }
- arg1 = (svn_repos_t *)(argp1);
- res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_apr_array_header_t, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "apr_array_header_t const *","svn_repos_remember_client_capabilities", 2, argv[1] ));
- }
- arg2 = (apr_array_header_t *)(argp2);
- {
- if (!arg1) {
- svn_swig_rb_raise_svn_repos_already_close();
- }
- }
- {
- result = (svn_error_t *)svn_repos_remember_client_capabilities(arg1,(apr_array_header_t const *)arg2);
-
-
-
- }
- {
- if (result) {
- svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
- svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
- svn_swig_rb_handle_svn_error(result);
- }
- vresult = Qnil;
- }
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
_wrap_svn_repos_parse_fns3_invoke_magic_header_record(int argc, VALUE *argv, VALUE self) {
svn_repos_parse_fns3_t *arg1 = (svn_repos_parse_fns3_t *) 0 ;
int arg2 ;
@@ -17060,73 +18294,103 @@ fail:
SWIGINTERN VALUE
-_wrap_svn_repos_invoke_file_rev_handler(int argc, VALUE *argv, VALUE self) {
- svn_repos_file_rev_handler_t arg1 = (svn_repos_file_rev_handler_t) 0 ;
+_wrap_svn_repos_invoke_notify_func(int argc, VALUE *argv, VALUE self) {
+ svn_repos_notify_func_t arg1 = (svn_repos_notify_func_t) 0 ;
void *arg2 = (void *) 0 ;
- char *arg3 = (char *) 0 ;
- svn_revnum_t arg4 ;
- apr_hash_t *arg5 = (apr_hash_t *) 0 ;
- svn_txdelta_window_handler_t *arg6 = (svn_txdelta_window_handler_t *) 0 ;
- void **arg7 = (void **) 0 ;
- apr_array_header_t *arg8 = (apr_array_header_t *) 0 ;
- apr_pool_t *arg9 = (apr_pool_t *) 0 ;
+ svn_repos_notify_t *arg3 = (svn_repos_notify_t *) 0 ;
+ apr_pool_t *arg4 = (apr_pool_t *) 0 ;
VALUE _global_svn_swig_rb_pool ;
apr_pool_t *_global_pool ;
int res2 ;
- long val4 ;
- int ecode4 = 0 ;
- void *argp5 = 0 ;
- int res5 = 0 ;
- svn_txdelta_window_handler_t temp6 ;
- void *temp7 ;
- void *argp8 = 0 ;
- int res8 = 0 ;
- svn_error_t *result = 0 ;
- VALUE vresult = Qnil;
+ void *argp3 = 0 ;
+ int res3 = 0 ;
{
- svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg9);
- _global_pool = arg9;
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
+ _global_pool = arg4;
svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
}
- arg6 = &temp6;
- arg7 = &temp7;
- if ((argc < 6) || (argc > 7)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
+ if ((argc < 3) || (argc > 4)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
}
{
- int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t);
+ int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_q_const__struct_svn_repos_notify_t_p_apr_pool_t__void);
if (!SWIG_IsOK(res)) {
- SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_repos_file_rev_handler_t","svn_repos_invoke_file_rev_handler", 1, argv[0] ));
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_repos_notify_func_t","svn_repos_invoke_notify_func", 1, argv[0] ));
}
}
res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_repos_invoke_file_rev_handler", 2, argv[1] ));
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_repos_invoke_notify_func", 2, argv[1] ));
+ }
+ res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_svn_repos_notify_t, 0 | 0 );
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_repos_notify_t const *","svn_repos_invoke_notify_func", 3, argv[2] ));
+ }
+ arg3 = (svn_repos_notify_t *)(argp3);
+ if (argc > 3) {
+
}
{
- arg3 = StringValueCStr(argv[2]);
+ svn_repos_invoke_notify_func(arg1,arg2,(struct svn_repos_notify_t const *)arg3,arg4);
+
+
+
}
- ecode4 = SWIG_AsVal_long(argv[3], &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_repos_invoke_file_rev_handler", 4, argv[3] ));
- }
- arg4 = (svn_revnum_t)(val4);
- res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_apr_hash_t, 0 | 0 );
- if (!SWIG_IsOK(res5)) {
- SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "apr_hash_t *","svn_repos_invoke_file_rev_handler", 5, argv[4] ));
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
}
- arg5 = (apr_hash_t *)(argp5);
- res8 = SWIG_ConvertPtr(argv[5], &argp8,SWIGTYPE_p_apr_array_header_t, 0 | 0 );
- if (!SWIG_IsOK(res8)) {
- SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "apr_array_header_t *","svn_repos_invoke_file_rev_handler", 8, argv[5] ));
+ return Qnil;
+fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
}
- arg8 = (apr_array_header_t *)(argp8);
- if (argc > 6) {
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_repos_invoke_freeze_func(int argc, VALUE *argv, VALUE self) {
+ svn_repos_freeze_func_t arg1 = (svn_repos_freeze_func_t) 0 ;
+ void *arg2 = (void *) 0 ;
+ apr_pool_t *arg3 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ int res2 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
+ _global_pool = arg3;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 2) || (argc > 3)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
+ }
+ {
+ int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_apr_pool_t__p_svn_error_t);
+ if (!SWIG_IsOK(res)) {
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_repos_freeze_func_t","svn_repos_invoke_freeze_func", 1, argv[0] ));
+ }
+ }
+ res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_repos_invoke_freeze_func", 2, argv[1] ));
+ }
+ if (argc > 2) {
}
{
- result = (svn_error_t *)svn_repos_invoke_file_rev_handler(arg1,arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9);
+ result = (svn_error_t *)svn_repos_invoke_freeze_func(arg1,arg2,arg3);
@@ -17140,12 +18404,6 @@ _wrap_svn_repos_invoke_file_rev_handler(int argc, VALUE *argv, VALUE self) {
vresult = Qnil;
}
{
- vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg6, SWIGTYPE_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t, 0));
- }
- {
- vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg7, SWIGTYPE_p_void, 0));
- }
- {
VALUE target;
target = _global_vresult_address == &vresult ? self : vresult;
if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
@@ -17166,57 +18424,71 @@ fail:
SWIGINTERN VALUE
-_wrap_svn_repos_invoke_notify_func(int argc, VALUE *argv, VALUE self) {
- svn_repos_notify_func_t arg1 = (svn_repos_notify_func_t) 0 ;
+_wrap_svn_repos_invoke_history_func(int argc, VALUE *argv, VALUE self) {
+ svn_repos_history_func_t arg1 = (svn_repos_history_func_t) 0 ;
void *arg2 = (void *) 0 ;
- svn_repos_notify_t *arg3 = (svn_repos_notify_t *) 0 ;
- apr_pool_t *arg4 = (apr_pool_t *) 0 ;
+ char *arg3 = (char *) 0 ;
+ svn_revnum_t arg4 ;
+ apr_pool_t *arg5 = (apr_pool_t *) 0 ;
VALUE _global_svn_swig_rb_pool ;
apr_pool_t *_global_pool ;
int res2 ;
- void *argp3 = 0 ;
- int res3 = 0 ;
+ long val4 ;
+ int ecode4 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
{
- svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4);
- _global_pool = arg4;
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
+ _global_pool = arg5;
svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
}
- if ((argc < 3) || (argc > 4)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
+ if ((argc < 4) || (argc > 5)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
}
{
- int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_q_const__struct_svn_repos_notify_t_p_apr_pool_t__void);
+ int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_pool_t__p_svn_error_t);
if (!SWIG_IsOK(res)) {
- SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_repos_notify_func_t","svn_repos_invoke_notify_func", 1, argv[0] ));
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_repos_history_func_t","svn_repos_invoke_history_func", 1, argv[0] ));
}
}
res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_repos_invoke_notify_func", 2, argv[1] ));
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_repos_invoke_history_func", 2, argv[1] ));
}
- res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_svn_repos_notify_t, 0 | 0 );
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_repos_notify_t const *","svn_repos_invoke_notify_func", 3, argv[2] ));
+ {
+ arg3 = StringValueCStr(argv[2]);
}
- arg3 = (svn_repos_notify_t *)(argp3);
- if (argc > 3) {
+ ecode4 = SWIG_AsVal_long(argv[3], &val4);
+ if (!SWIG_IsOK(ecode4)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_repos_invoke_history_func", 4, argv[3] ));
+ }
+ arg4 = (svn_revnum_t)(val4);
+ if (argc > 4) {
}
{
- svn_repos_invoke_notify_func(arg1,arg2,(struct svn_repos_notify_t const *)arg3,arg4);
+ result = (svn_error_t *)svn_repos_invoke_history_func(arg1,arg2,(char const *)arg3,arg4,arg5);
}
{
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
VALUE target;
target = _global_vresult_address == &vresult ? self : vresult;
if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
}
- return Qnil;
+ return vresult;
fail:
{
VALUE target;
@@ -17230,39 +18502,73 @@ fail:
SWIGINTERN VALUE
-_wrap_svn_repos_invoke_freeze_func(int argc, VALUE *argv, VALUE self) {
- svn_repos_freeze_func_t arg1 = (svn_repos_freeze_func_t) 0 ;
+_wrap_svn_repos_invoke_file_rev_handler(int argc, VALUE *argv, VALUE self) {
+ svn_repos_file_rev_handler_t arg1 = (svn_repos_file_rev_handler_t) 0 ;
void *arg2 = (void *) 0 ;
- apr_pool_t *arg3 = (apr_pool_t *) 0 ;
+ char *arg3 = (char *) 0 ;
+ svn_revnum_t arg4 ;
+ apr_hash_t *arg5 = (apr_hash_t *) 0 ;
+ svn_txdelta_window_handler_t *arg6 = (svn_txdelta_window_handler_t *) 0 ;
+ void **arg7 = (void **) 0 ;
+ apr_array_header_t *arg8 = (apr_array_header_t *) 0 ;
+ apr_pool_t *arg9 = (apr_pool_t *) 0 ;
VALUE _global_svn_swig_rb_pool ;
apr_pool_t *_global_pool ;
int res2 ;
+ long val4 ;
+ int ecode4 = 0 ;
+ void *argp5 = 0 ;
+ int res5 = 0 ;
+ svn_txdelta_window_handler_t temp6 ;
+ void *temp7 ;
+ void *argp8 = 0 ;
+ int res8 = 0 ;
svn_error_t *result = 0 ;
VALUE vresult = Qnil;
{
- svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3);
- _global_pool = arg3;
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg9);
+ _global_pool = arg9;
svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
}
- if ((argc < 2) || (argc > 3)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
+ arg6 = &temp6;
+ arg7 = &temp7;
+ if ((argc < 6) || (argc > 7)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
}
{
- int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_apr_pool_t__p_svn_error_t);
+ int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t);
if (!SWIG_IsOK(res)) {
- SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_repos_freeze_func_t","svn_repos_invoke_freeze_func", 1, argv[0] ));
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_repos_file_rev_handler_t","svn_repos_invoke_file_rev_handler", 1, argv[0] ));
}
}
res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_repos_invoke_freeze_func", 2, argv[1] ));
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_repos_invoke_file_rev_handler", 2, argv[1] ));
}
- if (argc > 2) {
+ {
+ arg3 = StringValueCStr(argv[2]);
+ }
+ ecode4 = SWIG_AsVal_long(argv[3], &val4);
+ if (!SWIG_IsOK(ecode4)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_repos_invoke_file_rev_handler", 4, argv[3] ));
+ }
+ arg4 = (svn_revnum_t)(val4);
+ res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_apr_hash_t, 0 | 0 );
+ if (!SWIG_IsOK(res5)) {
+ SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "apr_hash_t *","svn_repos_invoke_file_rev_handler", 5, argv[4] ));
+ }
+ arg5 = (apr_hash_t *)(argp5);
+ res8 = SWIG_ConvertPtr(argv[5], &argp8,SWIGTYPE_p_apr_array_header_t, 0 | 0 );
+ if (!SWIG_IsOK(res8)) {
+ SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "apr_array_header_t *","svn_repos_invoke_file_rev_handler", 8, argv[5] ));
+ }
+ arg8 = (apr_array_header_t *)(argp8);
+ if (argc > 6) {
}
{
- result = (svn_error_t *)svn_repos_invoke_freeze_func(arg1,arg2,arg3);
+ result = (svn_error_t *)svn_repos_invoke_file_rev_handler(arg1,arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9);
@@ -17276,6 +18582,12 @@ _wrap_svn_repos_invoke_freeze_func(int argc, VALUE *argv, VALUE self) {
vresult = Qnil;
}
{
+ vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg6, SWIGTYPE_p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t, 0));
+ }
+ {
+ vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg7, SWIGTYPE_p_void, 0));
+ }
+ {
VALUE target;
target = _global_vresult_address == &vresult ? self : vresult;
if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
@@ -17296,17 +18608,19 @@ fail:
SWIGINTERN VALUE
-_wrap_svn_repos_invoke_history_func(int argc, VALUE *argv, VALUE self) {
- svn_repos_history_func_t arg1 = (svn_repos_history_func_t) 0 ;
+_wrap_svn_repos_invoke_verify_callback(int argc, VALUE *argv, VALUE self) {
+ svn_repos_verify_callback_t arg1 = (svn_repos_verify_callback_t) 0 ;
void *arg2 = (void *) 0 ;
- char *arg3 = (char *) 0 ;
- svn_revnum_t arg4 ;
+ svn_revnum_t arg3 ;
+ svn_error_t *arg4 = (svn_error_t *) 0 ;
apr_pool_t *arg5 = (apr_pool_t *) 0 ;
VALUE _global_svn_swig_rb_pool ;
apr_pool_t *_global_pool ;
int res2 ;
- long val4 ;
- int ecode4 = 0 ;
+ long val3 ;
+ int ecode3 = 0 ;
+ void *argp4 = 0 ;
+ int res4 = 0 ;
svn_error_t *result = 0 ;
VALUE vresult = Qnil;
@@ -17319,28 +18633,30 @@ _wrap_svn_repos_invoke_history_func(int argc, VALUE *argv, VALUE self) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
}
{
- int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_pool_t__p_svn_error_t);
+ int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_void_svn_revnum_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t);
if (!SWIG_IsOK(res)) {
- SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_repos_history_func_t","svn_repos_invoke_history_func", 1, argv[0] ));
+ SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_repos_verify_callback_t","svn_repos_invoke_verify_callback", 1, argv[0] ));
}
}
res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_repos_invoke_history_func", 2, argv[1] ));
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","svn_repos_invoke_verify_callback", 2, argv[1] ));
}
- {
- arg3 = StringValueCStr(argv[2]);
- }
- ecode4 = SWIG_AsVal_long(argv[3], &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_revnum_t","svn_repos_invoke_history_func", 4, argv[3] ));
+ ecode3 = SWIG_AsVal_long(argv[2], &val3);
+ if (!SWIG_IsOK(ecode3)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "svn_revnum_t","svn_repos_invoke_verify_callback", 3, argv[2] ));
}
- arg4 = (svn_revnum_t)(val4);
+ arg3 = (svn_revnum_t)(val3);
+ res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_svn_error_t, 0 | 0 );
+ if (!SWIG_IsOK(res4)) {
+ SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_error_t *","svn_repos_invoke_verify_callback", 4, argv[3] ));
+ }
+ arg4 = (svn_error_t *)(argp4);
if (argc > 4) {
}
{
- result = (svn_error_t *)svn_repos_invoke_history_func(arg1,arg2,(char const *)arg3,arg4,arg5);
+ result = (svn_error_t *)svn_repos_invoke_verify_callback(arg1,arg2,arg3,arg4,arg5);
@@ -17397,12 +18713,14 @@ static swig_type_info _swigt__p_f_p_void_apr_int64_t_svn_fs_pack_notify_action_t
static swig_type_info _swigt__p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void *,apr_hash_t *,svn_revnum_t,char const *,char const *,char const *,apr_pool_t *)|svn_log_message_receiver_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void *,apr_pool_t *)|svn_repos_freeze_func_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_q_const__char__p_svn_error_t = {"_p_f_p_void_p_q_const__char__p_svn_error_t", "struct svn_error_t *(*)(void *,char const *)|svn_error_t *(*)(void *,char const *)", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void *,char const *,svn_lock_t const *,svn_error_t *,apr_pool_t *)|svn_fs_lock_callback_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_q_const__char_p_q_const__svn_string_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_p_q_const__svn_string_t__p_svn_error_t", "struct svn_error_t *(*)(void *,char const *,svn_string_t const *)|svn_error_t *(*)(void *,char const *,svn_string_t const *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void *,char const *,svn_revnum_t,apr_hash_t *,svn_txdelta_window_handler_t *,void **,apr_array_header_t *,apr_pool_t *)|svn_repos_file_rev_handler_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_svn_boolean_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_svn_boolean_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void *,char const *,svn_revnum_t,apr_hash_t *,svn_boolean_t,svn_txdelta_window_handler_t *,void **,apr_array_header_t *,apr_pool_t *)|svn_file_rev_handler_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void *,char const *,svn_revnum_t,apr_pool_t *)|svn_repos_history_func_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_q_const__struct_svn_repos_notify_t_p_apr_pool_t__void = {"_p_f_p_void_p_q_const__struct_svn_repos_notify_t_p_apr_pool_t__void", "svn_repos_notify_func_t|void (*)(void *,struct svn_repos_notify_t const *,apr_pool_t *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void *,svn_log_entry_t *,apr_pool_t *)|svn_log_entry_receiver_t", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_f_p_void_svn_revnum_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_void_svn_revnum_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t", "svn_repos_verify_callback_t|struct svn_error_t *(*)(void *,svn_revnum_t,svn_error_t *,apr_pool_t *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_svn_repos_authz_access_t_p_svn_boolean_t_p_svn_fs_root_t_p_q_const__char_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_svn_repos_authz_access_t_p_svn_boolean_t_p_svn_fs_root_t_p_q_const__char_p_void_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(svn_repos_authz_access_t,svn_boolean_t *,svn_fs_root_t *,char const *,void *,apr_pool_t *)|svn_repos_authz_callback_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_svn_revnum_t_p_q_const__char_p_q_const__char_p_void__p_svn_error_t = {"_p_f_svn_revnum_t_p_q_const__char_p_q_const__char_p_void__p_svn_error_t", "struct svn_error_t *(*)(svn_revnum_t,char const *,char const *,void *)|svn_commit_callback_t", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_int = {"_p_int", "int *|svn_boolean_t *|apr_status_t *", 0, 0, (void*)0, 0};
@@ -17422,6 +18740,7 @@ static swig_type_info _swigt__p_p_svn_repos_parse_fns_t = {"_p_p_svn_repos_parse
static swig_type_info _swigt__p_p_svn_repos_t = {"_p_p_svn_repos_t", "struct svn_repos_t **|svn_repos_t **", 0, 0, (void*)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, (void*)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, (void*)0, 0};
+static swig_type_info _swigt__p_p_svn_version_t = {"_p_p_svn_version_t", "struct svn_version_t **|svn_version_t **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_void = {"_p_p_void", "void **", 0, 0, (void*)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, (void*)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, (void*)0, 0};
@@ -17456,8 +18775,13 @@ static swig_type_info _swigt__p_svn_errno_t = {"_p_svn_errno_t", "enum svn_errno
static swig_type_info _swigt__p_svn_error_t = {"_p_svn_error_t", "struct svn_error_t *|svn_error_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_fs_access_t = {"_p_svn_fs_access_t", "struct svn_fs_access_t *|svn_fs_access_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_fs_dirent_t = {"_p_svn_fs_dirent_t", "struct svn_fs_dirent_t *|svn_fs_dirent_t *", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_svn_fs_fsfs_info_t = {"_p_svn_fs_fsfs_info_t", "struct svn_fs_fsfs_info_t *|svn_fs_fsfs_info_t *", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_svn_fs_fsx_info_t = {"_p_svn_fs_fsx_info_t", "struct svn_fs_fsx_info_t *|svn_fs_fsx_info_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_fs_history_t = {"_p_svn_fs_history_t", "struct svn_fs_history_t *|svn_fs_history_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_fs_id_t = {"_p_svn_fs_id_t", "struct svn_fs_id_t *|svn_fs_id_t *", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_svn_fs_info_placeholder_t = {"_p_svn_fs_info_placeholder_t", "struct svn_fs_info_placeholder_t *|svn_fs_info_placeholder_t *", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_svn_fs_lock_target_t = {"_p_svn_fs_lock_target_t", "struct svn_fs_lock_target_t *|svn_fs_lock_target_t *", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_svn_fs_node_relation_t = {"_p_svn_fs_node_relation_t", "enum svn_fs_node_relation_t *|svn_fs_node_relation_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_fs_pack_notify_action_t = {"_p_svn_fs_pack_notify_action_t", "enum svn_fs_pack_notify_action_t *|svn_fs_pack_notify_action_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_fs_path_change2_t = {"_p_svn_fs_path_change2_t", "struct svn_fs_path_change2_t *|svn_fs_path_change2_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_fs_path_change_kind_t = {"_p_svn_fs_path_change_kind_t", "enum svn_fs_path_change_kind_t *|svn_fs_path_change_kind_t *", 0, 0, (void*)0, 0};
@@ -17465,6 +18789,7 @@ static swig_type_info _swigt__p_svn_fs_path_change_t = {"_p_svn_fs_path_change_t
static swig_type_info _swigt__p_svn_fs_root_t = {"_p_svn_fs_root_t", "struct svn_fs_root_t *|svn_fs_root_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_fs_t = {"_p_svn_fs_t", "struct svn_fs_t *|svn_fs_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_fs_txn_t = {"_p_svn_fs_txn_t", "struct svn_fs_txn_t *|svn_fs_txn_t *", 0, 0, (void*)0, 0};
+static swig_type_info _swigt__p_svn_fs_upgrade_notify_action_t = {"_p_svn_fs_upgrade_notify_action_t", "enum svn_fs_upgrade_notify_action_t *|svn_fs_upgrade_notify_action_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_io_dirent2_t = {"_p_svn_io_dirent2_t", "struct svn_io_dirent2_t *|svn_io_dirent2_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_io_dirent_t = {"_p_svn_io_dirent_t", "struct svn_io_dirent_t *|svn_io_dirent_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_svn_io_file_del_t = {"_p_svn_io_file_del_t", "enum svn_io_file_del_t *|svn_io_file_del_t *", 0, 0, (void*)0, 0};
@@ -17534,12 +18859,14 @@ static swig_type_info *swig_type_initial[] = {
&_swigt__p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_void_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_void_p_q_const__char__p_svn_error_t,
+ &_swigt__p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_void_p_q_const__char_p_q_const__svn_string_t__p_svn_error_t,
&_swigt__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_svn_boolean_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_p_void_p_q_const__struct_svn_repos_notify_t_p_apr_pool_t__void,
&_swigt__p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t,
+ &_swigt__p_f_p_void_svn_revnum_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_svn_repos_authz_access_t_p_svn_boolean_t_p_svn_fs_root_t_p_q_const__char_p_void_p_apr_pool_t__p_svn_error_t,
&_swigt__p_f_svn_revnum_t_p_q_const__char_p_q_const__char_p_void__p_svn_error_t,
&_swigt__p_int,
@@ -17559,6 +18886,7 @@ static swig_type_info *swig_type_initial[] = {
&_swigt__p_p_svn_repos_t,
&_swigt__p_p_svn_stream_t,
&_swigt__p_p_svn_string_t,
+ &_swigt__p_p_svn_version_t,
&_swigt__p_p_void,
&_swigt__p_svn_auth_baton_t,
&_swigt__p_svn_auth_cred_simple_t,
@@ -17593,8 +18921,13 @@ static swig_type_info *swig_type_initial[] = {
&_swigt__p_svn_error_t,
&_swigt__p_svn_fs_access_t,
&_swigt__p_svn_fs_dirent_t,
+ &_swigt__p_svn_fs_fsfs_info_t,
+ &_swigt__p_svn_fs_fsx_info_t,
&_swigt__p_svn_fs_history_t,
&_swigt__p_svn_fs_id_t,
+ &_swigt__p_svn_fs_info_placeholder_t,
+ &_swigt__p_svn_fs_lock_target_t,
+ &_swigt__p_svn_fs_node_relation_t,
&_swigt__p_svn_fs_pack_notify_action_t,
&_swigt__p_svn_fs_path_change2_t,
&_swigt__p_svn_fs_path_change_kind_t,
@@ -17602,6 +18935,7 @@ static swig_type_info *swig_type_initial[] = {
&_swigt__p_svn_fs_root_t,
&_swigt__p_svn_fs_t,
&_swigt__p_svn_fs_txn_t,
+ &_swigt__p_svn_fs_upgrade_notify_action_t,
&_swigt__p_svn_io_dirent2_t,
&_swigt__p_svn_io_dirent_t,
&_swigt__p_svn_io_file_del_t,
@@ -17671,12 +19005,14 @@ static swig_cast_info _swigc__p_f_p_void_apr_int64_t_svn_fs_pack_notify_action_t
static swig_cast_info _swigc__p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_q_const__char__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_q_const__char__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_q_const__char_p_q_const__svn_string_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_q_const__char_p_q_const__svn_string_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_svn_boolean_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_svn_boolean_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_q_const__struct_svn_repos_notify_t_p_apr_pool_t__void[] = { {&_swigt__p_f_p_void_p_q_const__struct_svn_repos_notify_t_p_apr_pool_t__void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_f_p_void_svn_revnum_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_void_svn_revnum_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_svn_repos_authz_access_t_p_svn_boolean_t_p_svn_fs_root_t_p_q_const__char_p_void_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_svn_repos_authz_access_t_p_svn_boolean_t_p_svn_fs_root_t_p_q_const__char_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_svn_revnum_t_p_q_const__char_p_q_const__char_p_void__p_svn_error_t[] = { {&_swigt__p_f_svn_revnum_t_p_q_const__char_p_q_const__char_p_void__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
@@ -17696,6 +19032,7 @@ static swig_cast_info _swigc__p_p_svn_repos_parse_fns_t[] = { {&_swigt__p_p_svn
static swig_cast_info _swigc__p_p_svn_repos_t[] = { {&_swigt__p_p_svn_repos_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_version_t[] = { {&_swigt__p_p_svn_version_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}};
@@ -17730,8 +19067,13 @@ static swig_cast_info _swigc__p_svn_errno_t[] = { {&_swigt__p_svn_errno_t, 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_fs_access_t[] = { {&_swigt__p_svn_fs_access_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_fs_dirent_t[] = { {&_swigt__p_svn_fs_dirent_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_svn_fs_fsfs_info_t[] = { {&_swigt__p_svn_fs_fsfs_info_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_svn_fs_fsx_info_t[] = { {&_swigt__p_svn_fs_fsx_info_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_fs_history_t[] = { {&_swigt__p_svn_fs_history_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_fs_id_t[] = { {&_swigt__p_svn_fs_id_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_svn_fs_info_placeholder_t[] = { {&_swigt__p_svn_fs_info_placeholder_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_svn_fs_lock_target_t[] = { {&_swigt__p_svn_fs_lock_target_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_svn_fs_node_relation_t[] = { {&_swigt__p_svn_fs_node_relation_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_fs_pack_notify_action_t[] = { {&_swigt__p_svn_fs_pack_notify_action_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_fs_path_change2_t[] = { {&_swigt__p_svn_fs_path_change2_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_fs_path_change_kind_t[] = { {&_swigt__p_svn_fs_path_change_kind_t, 0, 0, 0},{0, 0, 0, 0}};
@@ -17739,6 +19081,7 @@ static swig_cast_info _swigc__p_svn_fs_path_change_t[] = { {&_swigt__p_svn_fs_p
static swig_cast_info _swigc__p_svn_fs_root_t[] = { {&_swigt__p_svn_fs_root_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_fs_t[] = { {&_swigt__p_svn_fs_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_fs_txn_t[] = { {&_swigt__p_svn_fs_txn_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_svn_fs_upgrade_notify_action_t[] = { {&_swigt__p_svn_fs_upgrade_notify_action_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_svn_io_dirent2_t[] = { {&_swigt__p_svn_io_dirent2_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_io_file_del_t[] = { {&_swigt__p_svn_io_file_del_t, 0, 0, 0},{0, 0, 0, 0}};
@@ -17808,12 +19151,14 @@ static swig_cast_info *swig_cast_initial[] = {
_swigc__p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_void_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_void_p_q_const__char__p_svn_error_t,
+ _swigc__p_f_p_void_p_q_const__char_p_q_const__svn_lock_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_void_p_q_const__char_p_q_const__svn_string_t__p_svn_error_t,
_swigc__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_hash_t_svn_boolean_t_p_svn_txdelta_window_handler_t_p_p_void_p_apr_array_header_t_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_void_p_q_const__char_svn_revnum_t_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_p_void_p_q_const__struct_svn_repos_notify_t_p_apr_pool_t__void,
_swigc__p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t,
+ _swigc__p_f_p_void_svn_revnum_t_p_svn_error_t_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_svn_repos_authz_access_t_p_svn_boolean_t_p_svn_fs_root_t_p_q_const__char_p_void_p_apr_pool_t__p_svn_error_t,
_swigc__p_f_svn_revnum_t_p_q_const__char_p_q_const__char_p_void__p_svn_error_t,
_swigc__p_int,
@@ -17833,6 +19178,7 @@ static swig_cast_info *swig_cast_initial[] = {
_swigc__p_p_svn_repos_t,
_swigc__p_p_svn_stream_t,
_swigc__p_p_svn_string_t,
+ _swigc__p_p_svn_version_t,
_swigc__p_p_void,
_swigc__p_svn_auth_baton_t,
_swigc__p_svn_auth_cred_simple_t,
@@ -17867,8 +19213,13 @@ static swig_cast_info *swig_cast_initial[] = {
_swigc__p_svn_error_t,
_swigc__p_svn_fs_access_t,
_swigc__p_svn_fs_dirent_t,
+ _swigc__p_svn_fs_fsfs_info_t,
+ _swigc__p_svn_fs_fsx_info_t,
_swigc__p_svn_fs_history_t,
_swigc__p_svn_fs_id_t,
+ _swigc__p_svn_fs_info_placeholder_t,
+ _swigc__p_svn_fs_lock_target_t,
+ _swigc__p_svn_fs_node_relation_t,
_swigc__p_svn_fs_pack_notify_action_t,
_swigc__p_svn_fs_path_change2_t,
_swigc__p_svn_fs_path_change_kind_t,
@@ -17876,6 +19227,7 @@ static swig_cast_info *swig_cast_initial[] = {
_swigc__p_svn_fs_root_t,
_swigc__p_svn_fs_t,
_swigc__p_svn_fs_txn_t,
+ _swigc__p_svn_fs_upgrade_notify_action_t,
_swigc__p_svn_io_dirent2_t,
_swigc__p_svn_io_dirent_t,
_swigc__p_svn_io_file_del_t,
@@ -17929,18 +19281,18 @@ static swig_cast_info *swig_cast_initial[] = {
/* -----------------------------------------------------------------------------
* Type initialization:
- * This problem is tough by the requirement that no dynamic
- * memory is used. Also, since swig_type_info structures store pointers to
+ * 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
+ * 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
+ * The generated swig_type_info structures are assigned staticly to an initial
* array. We just loop through 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
@@ -17950,17 +19302,17 @@ static swig_cast_info *swig_cast_initial[] = {
* 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
+ * 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.
+ * 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
+ * 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
@@ -18023,7 +19375,7 @@ SWIG_InitializeModule(void *clientdata) {
module_head->next = &swig_module;
}
- /* When multiple interpeters are used, a module could have already been initialized in
+ /* When multiple interpreters are used, a module could have already been initialized in
a different interpreter, but not yet have a pointer in this interpreter.
In this case, we do not want to continue adding types... everything should be
set up already */
@@ -18037,7 +19389,7 @@ SWIG_InitializeModule(void *clientdata) {
swig_type_info *type = 0;
swig_type_info *ret;
swig_cast_info *cast;
-
+
#ifdef SWIGRUNTIME_DEBUG
printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
#endif
@@ -18064,7 +19416,7 @@ SWIG_InitializeModule(void *clientdata) {
/* Insert casting types */
cast = swig_module.cast_initial[i];
while (cast->type) {
-
+
/* Don't need to add information already in the list */
ret = 0;
#ifdef SWIGRUNTIME_DEBUG
@@ -18192,9 +19544,6 @@ SWIGEXPORT void Init_repos(void) {
rb_define_const(mRepos, "Svn_node_action_add", SWIG_From_int((int)(svn_node_action_add)));
rb_define_const(mRepos, "Svn_node_action_delete", SWIG_From_int((int)(svn_node_action_delete)));
rb_define_const(mRepos, "Svn_node_action_replace", SWIG_From_int((int)(svn_node_action_replace)));
- rb_define_const(mRepos, "Svn_repos_load_uuid_default", SWIG_From_int((int)(svn_repos_load_uuid_default)));
- rb_define_const(mRepos, "Svn_repos_load_uuid_ignore", SWIG_From_int((int)(svn_repos_load_uuid_ignore)));
- rb_define_const(mRepos, "Svn_repos_load_uuid_force", SWIG_From_int((int)(svn_repos_load_uuid_force)));
rb_define_const(mRepos, "Svn_authz_none", SWIG_From_int((int)(svn_authz_none)));
rb_define_const(mRepos, "Svn_authz_read", SWIG_From_int((int)(svn_authz_read)));
rb_define_const(mRepos, "Svn_authz_write", SWIG_From_int((int)(svn_authz_write)));
@@ -18219,9 +19568,16 @@ SWIGEXPORT void Init_repos(void) {
rb_define_const(mRepos, "Svn_repos_notify_upgrade_start", SWIG_From_int((int)(svn_repos_notify_upgrade_start)));
rb_define_const(mRepos, "Svn_repos_notify_load_skipped_rev", SWIG_From_int((int)(svn_repos_notify_load_skipped_rev)));
rb_define_const(mRepos, "Svn_repos_notify_verify_rev_structure", SWIG_From_int((int)(svn_repos_notify_verify_rev_structure)));
+ rb_define_const(mRepos, "Svn_repos_notify_pack_revprops", SWIG_From_int((int)(svn_repos_notify_pack_revprops)));
+ rb_define_const(mRepos, "Svn_repos_notify_cleanup_revprops", SWIG_From_int((int)(svn_repos_notify_cleanup_revprops)));
+ rb_define_const(mRepos, "Svn_repos_notify_format_bumped", SWIG_From_int((int)(svn_repos_notify_format_bumped)));
+ rb_define_const(mRepos, "Svn_repos_notify_hotcopy_rev_range", SWIG_From_int((int)(svn_repos_notify_hotcopy_rev_range)));
rb_define_const(mRepos, "Svn_repos_notify_warning_found_old_reference", SWIG_From_int((int)(svn_repos_notify_warning_found_old_reference)));
rb_define_const(mRepos, "Svn_repos_notify_warning_found_old_mergeinfo", SWIG_From_int((int)(svn_repos_notify_warning_found_old_mergeinfo)));
rb_define_const(mRepos, "Svn_repos_notify_warning_invalid_fspath", SWIG_From_int((int)(svn_repos_notify_warning_invalid_fspath)));
+ rb_define_const(mRepos, "Svn_repos_notify_warning_name_collision", SWIG_From_int((int)(svn_repos_notify_warning_name_collision)));
+ rb_define_const(mRepos, "Svn_repos_notify_warning_mergeinfo_collision", SWIG_From_int((int)(svn_repos_notify_warning_mergeinfo_collision)));
+ rb_define_const(mRepos, "Svn_repos_notify_warning_invalid_mergeinfo", SWIG_From_int((int)(svn_repos_notify_warning_invalid_mergeinfo)));
SwigClassSvn_repos_notify_t.klass = rb_define_class_under(mRepos, "Svn_repos_notify_t", rb_cObject);
SWIG_TypeClientData(SWIGTYPE_p_svn_repos_notify_t, (void *) &SwigClassSvn_repos_notify_t);
@@ -18244,10 +19600,15 @@ SWIGEXPORT void Init_repos(void) {
rb_define_method(SwigClassSvn_repos_notify_t.klass, "node_action", _wrap_svn_repos_notify_t_node_action_get, -1);
rb_define_method(SwigClassSvn_repos_notify_t.klass, "path=", _wrap_svn_repos_notify_t_path_set, -1);
rb_define_method(SwigClassSvn_repos_notify_t.klass, "path", _wrap_svn_repos_notify_t_path_get, -1);
+ rb_define_method(SwigClassSvn_repos_notify_t.klass, "start_revision=", _wrap_svn_repos_notify_t_start_revision_set, -1);
+ rb_define_method(SwigClassSvn_repos_notify_t.klass, "start_revision", _wrap_svn_repos_notify_t_start_revision_get, -1);
+ rb_define_method(SwigClassSvn_repos_notify_t.klass, "end_revision=", _wrap_svn_repos_notify_t_end_revision_set, -1);
+ rb_define_method(SwigClassSvn_repos_notify_t.klass, "end_revision", _wrap_svn_repos_notify_t_end_revision_get, -1);
SwigClassSvn_repos_notify_t.mark = 0;
SwigClassSvn_repos_notify_t.trackObjects = 0;
rb_define_module_function(mRepos, "svn_repos_notify_create", _wrap_svn_repos_notify_create, -1);
rb_define_module_function(mRepos, "svn_repos_find_root_path", _wrap_svn_repos_find_root_path, -1);
+ rb_define_module_function(mRepos, "svn_repos_open3", _wrap_svn_repos_open3, -1);
rb_define_module_function(mRepos, "svn_repos_open2", _wrap_svn_repos_open2, -1);
rb_define_module_function(mRepos, "svn_repos_open", _wrap_svn_repos_open, -1);
rb_define_module_function(mRepos, "svn_repos_create", _wrap_svn_repos_create, -1);
@@ -18255,7 +19616,11 @@ SWIGEXPORT void Init_repos(void) {
rb_define_module_function(mRepos, "svn_repos_upgrade", _wrap_svn_repos_upgrade, -1);
rb_define_module_function(mRepos, "svn_repos_delete", _wrap_svn_repos_delete, -1);
rb_define_module_function(mRepos, "svn_repos_has_capability", _wrap_svn_repos_has_capability, -1);
+ rb_define_module_function(mRepos, "svn_repos_capabilities", _wrap_svn_repos_capabilities, -1);
rb_define_const(mRepos, "SVN_REPOS_CAPABILITY_MERGEINFO", SWIG_FromCharPtr("mergeinfo"));
+ rb_define_module_function(mRepos, "svn_repos_remember_client_capabilities", _wrap_svn_repos_remember_client_capabilities, -1);
+ rb_define_module_function(mRepos, "svn_repos_fs_type", _wrap_svn_repos_fs_type, -1);
+ rb_define_module_function(mRepos, "svn_repos_hotcopy3", _wrap_svn_repos_hotcopy3, -1);
rb_define_module_function(mRepos, "svn_repos_hotcopy2", _wrap_svn_repos_hotcopy2, -1);
rb_define_module_function(mRepos, "svn_repos_hotcopy", _wrap_svn_repos_hotcopy, -1);
rb_define_module_function(mRepos, "svn_repos_fs_pack2", _wrap_svn_repos_fs_pack2, -1);
@@ -18324,7 +19689,9 @@ SWIGEXPORT void Init_repos(void) {
rb_define_module_function(mRepos, "svn_repos_fs_begin_txn_for_commit2", _wrap_svn_repos_fs_begin_txn_for_commit2, -1);
rb_define_module_function(mRepos, "svn_repos_fs_begin_txn_for_commit", _wrap_svn_repos_fs_begin_txn_for_commit, -1);
rb_define_module_function(mRepos, "svn_repos_fs_begin_txn_for_update", _wrap_svn_repos_fs_begin_txn_for_update, -1);
+ rb_define_module_function(mRepos, "svn_repos_fs_lock_many", _wrap_svn_repos_fs_lock_many, -1);
rb_define_module_function(mRepos, "svn_repos_fs_lock", _wrap_svn_repos_fs_lock, -1);
+ rb_define_module_function(mRepos, "svn_repos_fs_unlock_many", _wrap_svn_repos_fs_unlock_many, -1);
rb_define_module_function(mRepos, "svn_repos_fs_unlock", _wrap_svn_repos_fs_unlock, -1);
rb_define_module_function(mRepos, "svn_repos_fs_get_locks2", _wrap_svn_repos_fs_get_locks2, -1);
rb_define_module_function(mRepos, "svn_repos_fs_get_locks", _wrap_svn_repos_fs_get_locks, -1);
@@ -18335,6 +19702,7 @@ SWIGEXPORT void Init_repos(void) {
rb_define_module_function(mRepos, "svn_repos_fs_revision_prop", _wrap_svn_repos_fs_revision_prop, -1);
rb_define_module_function(mRepos, "svn_repos_fs_revision_proplist", _wrap_svn_repos_fs_revision_proplist, -1);
rb_define_module_function(mRepos, "svn_repos_fs_change_node_prop", _wrap_svn_repos_fs_change_node_prop, -1);
+ rb_define_module_function(mRepos, "svn_repos_fs_get_inherited_props", _wrap_svn_repos_fs_get_inherited_props, -1);
rb_define_module_function(mRepos, "svn_repos_fs_change_txn_prop", _wrap_svn_repos_fs_change_txn_prop, -1);
rb_define_module_function(mRepos, "svn_repos_fs_change_txn_props", _wrap_svn_repos_fs_change_txn_props, -1);
@@ -18365,6 +19733,7 @@ SWIGEXPORT void Init_repos(void) {
SwigClassSvn_repos_node_t.trackObjects = 0;
rb_define_module_function(mRepos, "svn_repos_node_editor", _wrap_svn_repos_node_editor, -1);
rb_define_module_function(mRepos, "svn_repos_node_from_baton", _wrap_svn_repos_node_from_baton, -1);
+ rb_define_module_function(mRepos, "svn_repos_info_format", _wrap_svn_repos_info_format, -1);
rb_define_const(mRepos, "SVN_REPOS_DUMPFILE_MAGIC_HEADER", SWIG_FromCharPtr("SVN-fs-dump-format-version"));
rb_define_const(mRepos, "SVN_REPOS_DUMPFILE_FORMAT_VERSION", SWIG_From_int((int)(3)));
rb_define_const(mRepos, "SVN_REPOS_DUMPFILE_FORMAT_VERSION_DELTAS", SWIG_From_int((int)(3)));
@@ -18389,10 +19758,15 @@ SWIGEXPORT void Init_repos(void) {
rb_define_const(mRepos, "SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_MD5", SWIG_FromCharPtr("Text-delta-base-md5"));
rb_define_const(mRepos, "SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_SHA1", SWIG_FromCharPtr("Text-delta-base-sha1"));
rb_define_const(mRepos, "SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_CHECKSUM", SWIG_FromCharPtr("Text-delta-base-md5"));
+ rb_define_const(mRepos, "Svn_repos_load_uuid_default", SWIG_From_int((int)(svn_repos_load_uuid_default)));
+ rb_define_const(mRepos, "Svn_repos_load_uuid_ignore", SWIG_From_int((int)(svn_repos_load_uuid_ignore)));
+ rb_define_const(mRepos, "Svn_repos_load_uuid_force", SWIG_From_int((int)(svn_repos_load_uuid_force)));
+ rb_define_module_function(mRepos, "svn_repos_verify_fs3", _wrap_svn_repos_verify_fs3, -1);
rb_define_module_function(mRepos, "svn_repos_verify_fs2", _wrap_svn_repos_verify_fs2, -1);
rb_define_module_function(mRepos, "svn_repos_verify_fs", _wrap_svn_repos_verify_fs, -1);
rb_define_module_function(mRepos, "svn_repos_dump_fs3", _wrap_svn_repos_dump_fs3, -1);
rb_define_module_function(mRepos, "svn_repos_dump_fs", _wrap_svn_repos_dump_fs, -1);
+ rb_define_module_function(mRepos, "svn_repos_load_fs5", _wrap_svn_repos_load_fs5, -1);
rb_define_module_function(mRepos, "svn_repos_load_fs4", _wrap_svn_repos_load_fs4, -1);
rb_define_module_function(mRepos, "svn_repos_load_fs3", _wrap_svn_repos_load_fs3, -1);
rb_define_module_function(mRepos, "svn_repos_load_fs2", _wrap_svn_repos_load_fs2, -1);
@@ -18428,6 +19802,7 @@ SWIGEXPORT void Init_repos(void) {
SwigClassSvn_repos_parse_fns3_t.mark = 0;
SwigClassSvn_repos_parse_fns3_t.trackObjects = 0;
rb_define_module_function(mRepos, "svn_repos_parse_dumpstream3", _wrap_svn_repos_parse_dumpstream3, -1);
+ rb_define_module_function(mRepos, "svn_repos_get_fs_build_parser5", _wrap_svn_repos_get_fs_build_parser5, -1);
rb_define_module_function(mRepos, "svn_repos_get_fs_build_parser4", _wrap_svn_repos_get_fs_build_parser4, -1);
SwigClassSvn_repos_parse_fns2_t.klass = rb_define_class_under(mRepos, "Svn_repos_parse_fns2_t", rb_cObject);
@@ -18494,8 +19869,6 @@ SWIGEXPORT void Init_repos(void) {
rb_define_const(mRepos, "Svn_repos_revision_access_partial", SWIG_From_int((int)(svn_repos_revision_access_partial)));
rb_define_const(mRepos, "Svn_repos_revision_access_full", SWIG_From_int((int)(svn_repos_revision_access_full)));
rb_define_module_function(mRepos, "svn_repos_check_revision_access", _wrap_svn_repos_check_revision_access, -1);
- rb_define_module_function(mRepos, "svn_repos_fs_get_inherited_props", _wrap_svn_repos_fs_get_inherited_props, -1);
- rb_define_module_function(mRepos, "svn_repos_remember_client_capabilities", _wrap_svn_repos_remember_client_capabilities, -1);
rb_define_module_function(mRepos, "svn_repos_parse_fns3_invoke_magic_header_record", _wrap_svn_repos_parse_fns3_invoke_magic_header_record, -1);
rb_define_module_function(mRepos, "svn_repos_parse_fns3_invoke_uuid_record", _wrap_svn_repos_parse_fns3_invoke_uuid_record, -1);
rb_define_module_function(mRepos, "svn_repos_parse_fns3_invoke_new_revision_record", _wrap_svn_repos_parse_fns3_invoke_new_revision_record, -1);
@@ -18521,10 +19894,11 @@ SWIGEXPORT void Init_repos(void) {
rb_define_module_function(mRepos, "svn_repos_parse_fns2_invoke_close_revision", _wrap_svn_repos_parse_fns2_invoke_close_revision, -1);
rb_define_module_function(mRepos, "svn_repos_invoke_authz_func", _wrap_svn_repos_invoke_authz_func, -1);
rb_define_module_function(mRepos, "svn_repos_invoke_authz_callback", _wrap_svn_repos_invoke_authz_callback, -1);
- rb_define_module_function(mRepos, "svn_repos_invoke_file_rev_handler", _wrap_svn_repos_invoke_file_rev_handler, -1);
rb_define_module_function(mRepos, "svn_repos_invoke_notify_func", _wrap_svn_repos_invoke_notify_func, -1);
rb_define_module_function(mRepos, "svn_repos_invoke_freeze_func", _wrap_svn_repos_invoke_freeze_func, -1);
rb_define_module_function(mRepos, "svn_repos_invoke_history_func", _wrap_svn_repos_invoke_history_func, -1);
+ rb_define_module_function(mRepos, "svn_repos_invoke_file_rev_handler", _wrap_svn_repos_invoke_file_rev_handler, -1);
+ rb_define_module_function(mRepos, "svn_repos_invoke_verify_callback", _wrap_svn_repos_invoke_verify_callback, -1);
{
VALUE cSvnrepos;
diff --git a/subversion/bindings/swig/ruby/svn_wc.c b/subversion/bindings/swig/ruby/svn_wc.c
index beb2ad8..1b45f52 100644
--- a/subversion/bindings/swig/ruby/svn_wc.c
+++ b/subversion/bindings/swig/ruby/svn_wc.c
@@ -1,11 +1,11 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.9
- *
- * This file is not intended to be easily readable and contains a number of
+ * Version 2.0.12
+ *
+ * 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.
+ * changes to this file unless you know what you are doing--modify the SWIG
+ * interface file instead.
* ----------------------------------------------------------------------------- */
#define SWIGRUBY
@@ -41,28 +41,28 @@
#ifndef SWIGUNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
# elif defined(__ICC)
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
-# define SWIGUNUSED
+# define SWIGUNUSED
# endif
#endif
#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
-# endif
+# endif
#endif
#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
# define SWIGUNUSEDPARM(p)
# else
-# define SWIGUNUSEDPARM(p) p SWIGUNUSED
+# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif
@@ -105,7 +105,7 @@
# define SWIGSTDCALL __stdcall
# else
# define SWIGSTDCALL
-# endif
+# endif
#endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
@@ -150,28 +150,28 @@
#ifndef SWIGUNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
# elif defined(__ICC)
-# define SWIGUNUSED __attribute__ ((__unused__))
+# define SWIGUNUSED __attribute__ ((__unused__))
# else
-# define SWIGUNUSED
+# define SWIGUNUSED
# endif
#endif
#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
-# endif
+# endif
#endif
#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
# define SWIGUNUSEDPARM(p)
# else
-# define SWIGUNUSEDPARM(p) p SWIGUNUSED
+# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif
@@ -214,7 +214,7 @@
# define SWIGSTDCALL __stdcall
# else
# define SWIGSTDCALL
-# endif
+# endif
#endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
@@ -252,7 +252,7 @@
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 strictly necessary, ie, if you have problems
with your compiler or suchlike.
*/
@@ -278,16 +278,16 @@
#define SWIG_POINTER_OWN 0x1
-/*
+/*
Flags/methods for returning states.
-
- The SWIG conversion methods, as ConvertPtr, return an integer
+
+ The SWIG conversion methods, as ConvertPtr, return an integer
that tells if the conversion was successful or not. And if not,
an error code can be returned (see swigerrors.swg for the codes).
-
+
Use the following macros/flags to set or process the returning
states.
-
+
In old versions of SWIG, code such as the following was usually written:
if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
@@ -320,23 +320,23 @@
} else {
// fail code
}
-
+
I.e., now SWIG_ConvertPtr can return new objects and you can
identify the case and take care of the deallocation. Of course that
also requires SWIG_ConvertPtr to return new result values, such as
- int SWIG_ConvertPtr(obj, ptr,...) {
- if (<obj is ok>) {
- if (<need new object>) {
- *ptr = <ptr to new allocated object>;
- return SWIG_NEWOBJ;
- } else {
- *ptr = <ptr to old object>;
- return SWIG_OLDOBJ;
- }
- } else {
- return SWIG_BADOBJ;
- }
+ int SWIG_ConvertPtr(obj, ptr,...) {
+ if (<obj is ok>) {
+ if (<need new object>) {
+ *ptr = <ptr to new allocated object>;
+ return SWIG_NEWOBJ;
+ } else {
+ *ptr = <ptr to old object>;
+ return SWIG_OLDOBJ;
+ }
+ } else {
+ return SWIG_BADOBJ;
+ }
}
Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
@@ -350,17 +350,17 @@
int fooi(int);
and you call
-
+
food(1) // cast rank '1' (1 -> 1.0)
fooi(1) // cast rank '0'
just use the SWIG_AddCast()/SWIG_CheckState()
*/
-#define SWIG_OK (0)
+#define SWIG_OK (0)
#define SWIG_ERROR (-1)
#define SWIG_IsOK(r) (r >= 0)
-#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
+#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
/* The CastRankLimit says how many bits are used for the cast rank */
#define SWIG_CASTRANKLIMIT (1 << 8)
@@ -391,14 +391,14 @@
# endif
# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
-SWIGINTERNINLINE int SWIG_AddCast(int r) {
+SWIGINTERNINLINE int SWIG_AddCast(int r) {
return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
}
-SWIGINTERNINLINE int SWIG_CheckState(int r) {
- return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
+SWIGINTERNINLINE int SWIG_CheckState(int r) {
+ return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
}
#else /* no cast-rank mode */
-# define SWIG_AddCast
+# define SWIG_AddCast(r) (r)
# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
#endif
@@ -442,7 +442,7 @@ typedef struct swig_module_info {
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.
@@ -462,18 +462,18 @@ SWIG_TypeNameComp(const char *f1, const char *l1,
/*
Check type equivalence in a name list like <name1>|<name2>|...
- Return 0 if not equal, 1 if equal
+ Return 0 if equal, -1 if nb < tb, 1 if nb > tb
*/
SWIGRUNTIME int
-SWIG_TypeEquiv(const char *nb, const char *tb) {
- int equiv = 0;
+SWIG_TypeCmp(const char *nb, const char *tb) {
+ int equiv = 1;
const char* te = tb + strlen(tb);
const char* ne = nb;
- while (!equiv && *ne) {
+ while (equiv != 0 && *ne) {
for (nb = ne; *ne; ++ne) {
if (*ne == '|') break;
}
- equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
+ equiv = SWIG_TypeNameComp(nb, ne, tb, te);
if (*ne) ++ne;
}
return equiv;
@@ -481,24 +481,13 @@ SWIG_TypeEquiv(const char *nb, const char *tb) {
/*
Check type equivalence in a name list like <name1>|<name2>|...
- Return 0 if equal, -1 if nb < tb, 1 if nb > tb
+ Return 0 if not equal, 1 if equal
*/
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;
+SWIG_TypeEquiv(const char *nb, const char *tb) {
+ return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
}
-
/*
Check the typename
*/
@@ -526,7 +515,7 @@ SWIG_TypeCheck(const char *c, swig_type_info *ty) {
return 0;
}
-/*
+/*
Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
*/
SWIGRUNTIME swig_cast_info *
@@ -561,7 +550,7 @@ SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
}
-/*
+/*
Dynamic pointer casting. Down an inheritance hierarchy
*/
SWIGRUNTIME swig_type_info *
@@ -605,7 +594,7 @@ SWIG_TypePrettyName(const swig_type_info *type) {
return type->name;
}
-/*
+/*
Set the clientdata field for a type
*/
SWIGRUNTIME void
@@ -613,14 +602,14 @@ SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
swig_cast_info *cast = ti->cast;
/* if (ti->clientdata == clientdata) return; */
ti->clientdata = clientdata;
-
+
while (cast) {
if (!cast->converter) {
swig_type_info *tc = cast->type;
if (!tc->clientdata) {
SWIG_TypeClientData(tc, clientdata);
}
- }
+ }
cast = cast->next;
}
}
@@ -629,18 +618,18 @@ SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
SWIG_TypeClientData(ti, clientdata);
ti->owndata = 1;
}
-
+
/*
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.
+
+ 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,
+SWIG_MangledTypeQueryModule(swig_module_info *start,
+ swig_module_info *end,
const char *name) {
swig_module_info *iter = start;
do {
@@ -649,11 +638,11 @@ SWIG_MangledTypeQueryModule(swig_module_info *start,
register size_t r = iter->size - 1;
do {
/* since l+r >= 0, we can (>> 1) instead (/ 2) */
- register size_t i = (l + r) >> 1;
+ 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) {
+ if (compare == 0) {
return iter->types[i];
} else if (compare < 0) {
if (i) {
@@ -678,14 +667,14 @@ SWIG_MangledTypeQueryModule(swig_module_info *start,
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.
+
+ 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,
+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);
@@ -704,12 +693,12 @@ SWIG_TypeQueryModule(swig_module_info *start,
iter = iter->next;
} while (iter != end);
}
-
+
/* neither found a match */
return 0;
}
-/*
+/*
Pack binary data into a string
*/
SWIGRUNTIME char *
@@ -725,7 +714,7 @@ SWIG_PackData(char *c, void *ptr, size_t sz) {
return c;
}
-/*
+/*
Unpack binary data from a string
*/
SWIGRUNTIME const char *
@@ -739,21 +728,21 @@ SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
uu = ((d - '0') << 4);
else if ((d >= 'a') && (d <= 'f'))
uu = ((d - ('a'-10)) << 4);
- else
+ 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
+ else
return (char *) 0;
*u = uu;
}
return c;
}
-/*
+/*
Pack 'void *' into a string buffer.
*/
SWIGRUNTIME char *
@@ -813,18 +802,18 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
#endif
/* Errors in SWIG */
-#define SWIG_UnknownError -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_UnknownError -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_AttributeError -11
-#define SWIG_MemoryError -12
+#define SWIG_MemoryError -12
#define SWIG_NullReferenceError -13
@@ -1750,7 +1739,7 @@ SWIG_Ruby_SetModule(swig_module_info *pointer)
SWIGINTERN
int SWIG_Ruby_isCallable( VALUE proc )
{
- if ( rb_respond_to( proc, swig_call_id ) == Qtrue )
+ if ( rb_respond_to( proc, swig_call_id ) )
return 1;
return 0;
}
@@ -1763,7 +1752,7 @@ int SWIG_Ruby_isCallable( VALUE proc )
SWIGINTERN
int SWIG_Ruby_arity( VALUE proc, int minimal )
{
- if ( rb_respond_to( proc, swig_arity_id ) == Qtrue )
+ if ( rb_respond_to( proc, swig_arity_id ) )
{
VALUE num = rb_funcall( proc, swig_arity_id, 0 );
int arity = NUM2INT(num);
@@ -1986,7 +1975,7 @@ static VALUE mWc;
#define SWIG_RUBY_THREAD_END_BLOCK
-#define SWIGVERSION 0x020009
+#define SWIGVERSION 0x020012
#define SWIG_VERSION SWIGVERSION
@@ -2119,7 +2108,7 @@ SWIG_ruby_failed(void)
}
-/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
+/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
{
VALUE obj = args[0];
@@ -2199,7 +2188,7 @@ SWIGINTERN svn_wc_external_item2_t *svn_wc_external_item2_t_dup(struct svn_wc_ex
return svn_wc_external_item2_dup(self, pool);
}
-/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
+/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
{
VALUE obj = args[0];
@@ -2711,7 +2700,7 @@ _wrap_svn_wc_adm_open3(int argc, VALUE *argv, VALUE self) {
}
arg5 = (int)(val5);
{
- arg6 = svn_swig_rb_cancel_func;
+ arg6 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg7 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
if (argc > 5) {
@@ -2978,7 +2967,7 @@ _wrap_svn_wc_adm_probe_open3(int argc, VALUE *argv, VALUE self) {
}
arg5 = (int)(val5);
{
- arg6 = svn_swig_rb_cancel_func;
+ arg6 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg7 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
if (argc > 5) {
@@ -3243,7 +3232,7 @@ _wrap_svn_wc_adm_open_anchor(int argc, VALUE *argv, VALUE self) {
}
arg6 = (int)(val6);
{
- arg7 = svn_swig_rb_cancel_func;
+ arg7 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg8 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
if (argc > 4) {
@@ -3506,7 +3495,7 @@ _wrap_svn_wc_adm_probe_try3(int argc, VALUE *argv, VALUE self) {
}
arg5 = (int)(val5);
{
- arg6 = svn_swig_rb_cancel_func;
+ arg6 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg7 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
if (argc > 5) {
@@ -7350,951 +7339,6 @@ fail:
}
-static swig_class SwigClassSvn_wc_conflict_description2_t;
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_local_abspath_set(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","local_abspath", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","local_abspath", 2, argv[0] ));
- }
- arg2 = (char *)(buf2);
- {
- apr_size_t len = strlen(arg2) + 1;
- char *copied;
- if (arg1->local_abspath) free((char *)arg1->local_abspath);
- copied = malloc(len);
- memcpy(copied, arg2, len);
- arg1->local_abspath = copied;
- }
- if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
- return Qnil;
-fail:
- if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_local_abspath_get(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- char *result = 0 ;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","local_abspath", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- result = (char *) ((arg1)->local_abspath);
- {
- if (result) {
- vresult = rb_str_new2(result);
- } else {
- vresult = Qnil;
- }
- }
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_node_kind_set(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- svn_node_kind_t arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","node_kind", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- ecode2 = SWIG_AsVal_int(argv[0], &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_node_kind_t","node_kind", 2, argv[0] ));
- }
- arg2 = (svn_node_kind_t)(val2);
- if (arg1) (arg1)->node_kind = arg2;
- return Qnil;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_node_kind_get(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- svn_node_kind_t result;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","node_kind", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- result = (svn_node_kind_t) ((arg1)->node_kind);
- vresult = SWIG_From_int((int)(result));
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_kind_set(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- svn_wc_conflict_kind_t arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","kind", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- ecode2 = SWIG_AsVal_int(argv[0], &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_wc_conflict_kind_t","kind", 2, argv[0] ));
- }
- arg2 = (svn_wc_conflict_kind_t)(val2);
- if (arg1) (arg1)->kind = arg2;
- return Qnil;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_kind_get(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- svn_wc_conflict_kind_t result;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","kind", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- result = (svn_wc_conflict_kind_t) ((arg1)->kind);
- vresult = SWIG_From_int((int)(result));
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_property_name_set(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","property_name", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","property_name", 2, argv[0] ));
- }
- arg2 = (char *)(buf2);
- {
- apr_size_t len = strlen(arg2) + 1;
- char *copied;
- if (arg1->property_name) free((char *)arg1->property_name);
- copied = malloc(len);
- memcpy(copied, arg2, len);
- arg1->property_name = copied;
- }
- if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
- return Qnil;
-fail:
- if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_property_name_get(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- char *result = 0 ;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","property_name", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- result = (char *) ((arg1)->property_name);
- {
- if (result) {
- vresult = rb_str_new2(result);
- } else {
- vresult = Qnil;
- }
- }
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_is_binary_set(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- svn_boolean_t arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","is_binary", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- arg2 = RTEST(argv[0]);
- if (arg1) (arg1)->is_binary = arg2;
- return Qnil;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_is_binary_get(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- svn_boolean_t result;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","is_binary", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- result = (svn_boolean_t) ((arg1)->is_binary);
- vresult = result ? Qtrue : Qfalse;
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_mime_type_set(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","mime_type", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","mime_type", 2, argv[0] ));
- }
- arg2 = (char *)(buf2);
- {
- apr_size_t len = strlen(arg2) + 1;
- char *copied;
- if (arg1->mime_type) free((char *)arg1->mime_type);
- copied = malloc(len);
- memcpy(copied, arg2, len);
- arg1->mime_type = copied;
- }
- if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
- return Qnil;
-fail:
- if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_mime_type_get(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- char *result = 0 ;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","mime_type", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- result = (char *) ((arg1)->mime_type);
- {
- if (result) {
- vresult = rb_str_new2(result);
- } else {
- vresult = Qnil;
- }
- }
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_action_set(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- svn_wc_conflict_action_t arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","action", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- ecode2 = SWIG_AsVal_int(argv[0], &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_wc_conflict_action_t","action", 2, argv[0] ));
- }
- arg2 = (svn_wc_conflict_action_t)(val2);
- if (arg1) (arg1)->action = arg2;
- return Qnil;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_action_get(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- svn_wc_conflict_action_t result;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","action", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- result = (svn_wc_conflict_action_t) ((arg1)->action);
- vresult = SWIG_From_int((int)(result));
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_reason_set(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- svn_wc_conflict_reason_t arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","reason", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- ecode2 = SWIG_AsVal_int(argv[0], &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_wc_conflict_reason_t","reason", 2, argv[0] ));
- }
- arg2 = (svn_wc_conflict_reason_t)(val2);
- if (arg1) (arg1)->reason = arg2;
- return Qnil;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_reason_get(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- svn_wc_conflict_reason_t result;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","reason", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- result = (svn_wc_conflict_reason_t) ((arg1)->reason);
- vresult = SWIG_From_int((int)(result));
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_base_abspath_set(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","base_abspath", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","base_abspath", 2, argv[0] ));
- }
- arg2 = (char *)(buf2);
- {
- apr_size_t len = strlen(arg2) + 1;
- char *copied;
- if (arg1->base_abspath) free((char *)arg1->base_abspath);
- copied = malloc(len);
- memcpy(copied, arg2, len);
- arg1->base_abspath = copied;
- }
- if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
- return Qnil;
-fail:
- if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_base_abspath_get(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- char *result = 0 ;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","base_abspath", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- result = (char *) ((arg1)->base_abspath);
- {
- if (result) {
- vresult = rb_str_new2(result);
- } else {
- vresult = Qnil;
- }
- }
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_their_abspath_set(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","their_abspath", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","their_abspath", 2, argv[0] ));
- }
- arg2 = (char *)(buf2);
- {
- apr_size_t len = strlen(arg2) + 1;
- char *copied;
- if (arg1->their_abspath) free((char *)arg1->their_abspath);
- copied = malloc(len);
- memcpy(copied, arg2, len);
- arg1->their_abspath = copied;
- }
- if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
- return Qnil;
-fail:
- if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_their_abspath_get(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- char *result = 0 ;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","their_abspath", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- result = (char *) ((arg1)->their_abspath);
- {
- if (result) {
- vresult = rb_str_new2(result);
- } else {
- vresult = Qnil;
- }
- }
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_my_abspath_set(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","my_abspath", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","my_abspath", 2, argv[0] ));
- }
- arg2 = (char *)(buf2);
- {
- apr_size_t len = strlen(arg2) + 1;
- char *copied;
- if (arg1->my_abspath) free((char *)arg1->my_abspath);
- copied = malloc(len);
- memcpy(copied, arg2, len);
- arg1->my_abspath = copied;
- }
- if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
- return Qnil;
-fail:
- if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_my_abspath_get(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- char *result = 0 ;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","my_abspath", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- result = (char *) ((arg1)->my_abspath);
- {
- if (result) {
- vresult = rb_str_new2(result);
- } else {
- vresult = Qnil;
- }
- }
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_merged_file_set(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","merged_file", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","merged_file", 2, argv[0] ));
- }
- arg2 = (char *)(buf2);
- {
- apr_size_t len = strlen(arg2) + 1;
- char *copied;
- if (arg1->merged_file) free((char *)arg1->merged_file);
- copied = malloc(len);
- memcpy(copied, arg2, len);
- arg1->merged_file = copied;
- }
- if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
- return Qnil;
-fail:
- if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_merged_file_get(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- char *result = 0 ;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","merged_file", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- result = (char *) ((arg1)->merged_file);
- {
- if (result) {
- vresult = rb_str_new2(result);
- } else {
- vresult = Qnil;
- }
- }
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_operation_set(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- svn_wc_operation_t arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","operation", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- ecode2 = SWIG_AsVal_int(argv[0], &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_wc_operation_t","operation", 2, argv[0] ));
- }
- arg2 = (svn_wc_operation_t)(val2);
- if (arg1) (arg1)->operation = arg2;
- return Qnil;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_operation_get(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- svn_wc_operation_t result;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","operation", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- result = (svn_wc_operation_t) ((arg1)->operation);
- vresult = SWIG_From_int((int)(result));
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_src_left_version_set(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- svn_wc_conflict_version_t *arg2 = (svn_wc_conflict_version_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","src_left_version", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_wc_conflict_version_t, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_wc_conflict_version_t const *","src_left_version", 2, argv[0] ));
- }
- arg2 = (svn_wc_conflict_version_t *)(argp2);
- if (arg1) (arg1)->src_left_version = (svn_wc_conflict_version_t const *)arg2;
- return Qnil;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_src_left_version_get(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- svn_wc_conflict_version_t *result = 0 ;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","src_left_version", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- result = (svn_wc_conflict_version_t *) ((arg1)->src_left_version);
- vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_wc_conflict_version_t, 0 | 0 );
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_src_right_version_set(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- svn_wc_conflict_version_t *arg2 = (svn_wc_conflict_version_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","src_right_version", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_wc_conflict_version_t, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_wc_conflict_version_t const *","src_right_version", 2, argv[0] ));
- }
- arg2 = (svn_wc_conflict_version_t *)(argp2);
- if (arg1) (arg1)->src_right_version = (svn_wc_conflict_version_t const *)arg2;
- return Qnil;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_src_right_version_get(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *arg1 = (struct svn_wc_conflict_description2_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- svn_wc_conflict_version_t *result = 0 ;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_description2_t *","src_right_version", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_description2_t *)(argp1);
- result = (svn_wc_conflict_version_t *) ((arg1)->src_right_version);
- vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_wc_conflict_version_t, 0 | 0 );
- return vresult;
-fail:
- return Qnil;
-}
-
-
-#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_description2_t_allocate(VALUE self) {
-#else
- SWIGINTERN VALUE
- _wrap_svn_wc_conflict_description2_t_allocate(int argc, VALUE *argv, VALUE self) {
-#endif
-
-
- VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_wc_conflict_description2_t);
-#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
- rb_obj_call_init(vresult, argc, argv);
-#endif
- return vresult;
- }
-
-
-SWIGINTERN VALUE
-_wrap_new_svn_wc_conflict_description2_t(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_description2_t *result = 0 ;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- {
- result = (struct svn_wc_conflict_description2_t *)calloc(1, sizeof(struct svn_wc_conflict_description2_t));
- DATA_PTR(self) = result;
-
-
-
- }
- return self;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN void
-free_svn_wc_conflict_description2_t(struct svn_wc_conflict_description2_t *arg1) {
- free((char *) arg1);
-}
-
static swig_class SwigClassSvn_wc_conflict_description_t;
SWIGINTERN VALUE
@@ -9762,7 +8806,7 @@ fail:
SWIGINTERN VALUE
-_wrap_svn_wc__conflict_description2_dup(int argc, VALUE *argv, VALUE self) {
+_wrap_svn_wc_conflict_description2_dup(int argc, VALUE *argv, VALUE self) {
svn_wc_conflict_description2_t *arg1 = (svn_wc_conflict_description2_t *) 0 ;
apr_pool_t *arg2 = (apr_pool_t *) 0 ;
VALUE _global_svn_swig_rb_pool ;
@@ -9782,14 +8826,14 @@ _wrap_svn_wc__conflict_description2_dup(int argc, VALUE *argv, VALUE self) {
}
res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_wc_conflict_description2_t const *","svn_wc__conflict_description2_dup", 1, argv[0] ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_wc_conflict_description2_t const *","svn_wc_conflict_description2_dup", 1, argv[0] ));
}
arg1 = (svn_wc_conflict_description2_t *)(argp1);
if (argc > 1) {
}
{
- result = (svn_wc_conflict_description2_t *)svn_wc__conflict_description2_dup((struct svn_wc_conflict_description2_t const *)arg1,arg2);
+ result = (svn_wc_conflict_description2_t *)svn_wc_conflict_description2_dup((struct svn_wc_conflict_description2_t const *)arg1,arg2);
@@ -9815,219 +8859,60 @@ fail:
}
-static swig_class SwigClassSvn_wc_conflict_result_t;
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_result_t_choice_set(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_result_t *arg1 = (struct svn_wc_conflict_result_t *) 0 ;
- svn_wc_conflict_choice_t arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_result_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_result_t *","choice", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_result_t *)(argp1);
- ecode2 = SWIG_AsVal_int(argv[0], &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_wc_conflict_choice_t","choice", 2, argv[0] ));
- }
- arg2 = (svn_wc_conflict_choice_t)(val2);
- if (arg1) (arg1)->choice = arg2;
- return Qnil;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_result_t_choice_get(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_result_t *arg1 = (struct svn_wc_conflict_result_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- svn_wc_conflict_choice_t result;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_result_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_result_t *","choice", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_result_t *)(argp1);
- result = (svn_wc_conflict_choice_t) ((arg1)->choice);
- vresult = SWIG_From_int((int)(result));
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_result_t_merged_file_set(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_result_t *arg1 = (struct svn_wc_conflict_result_t *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_result_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_result_t *","merged_file", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_result_t *)(argp1);
- res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","merged_file", 2, argv[0] ));
- }
- arg2 = (char *)(buf2);
- {
- apr_size_t len = strlen(arg2) + 1;
- char *copied;
- if (arg1->merged_file) free((char *)arg1->merged_file);
- copied = malloc(len);
- memcpy(copied, arg2, len);
- arg1->merged_file = copied;
- }
- if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
- return Qnil;
-fail:
- if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
- return Qnil;
-}
-
-
SWIGINTERN VALUE
-_wrap_svn_wc_conflict_result_t_merged_file_get(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_result_t *arg1 = (struct svn_wc_conflict_result_t *) 0 ;
+_wrap_svn_wc__conflict_description2_dup(int argc, VALUE *argv, VALUE self) {
+ svn_wc_conflict_description2_t *arg1 = (svn_wc_conflict_description2_t *) 0 ;
+ apr_pool_t *arg2 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
void *argp1 = 0 ;
int res1 = 0 ;
- char *result = 0 ;
+ svn_wc_conflict_description2_t *result = 0 ;
VALUE vresult = Qnil;
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_result_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_result_t *","merged_file", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_result_t *)(argp1);
- result = (char *) ((arg1)->merged_file);
{
- if (result) {
- vresult = rb_str_new2(result);
- } else {
- vresult = Qnil;
- }
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2);
+ _global_pool = arg2;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
}
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_result_t_save_merged_set(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_result_t *arg1 = (struct svn_wc_conflict_result_t *) 0 ;
- svn_boolean_t arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
-
- if ((argc < 1) || (argc > 1)) {
+ if ((argc < 1) || (argc > 2)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_result_t, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_result_t *","save_merged", 1, self ));
- }
- arg1 = (struct svn_wc_conflict_result_t *)(argp1);
- arg2 = RTEST(argv[0]);
- if (arg1) (arg1)->save_merged = arg2;
- return Qnil;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_result_t_save_merged_get(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_result_t *arg1 = (struct svn_wc_conflict_result_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- svn_boolean_t result;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_conflict_result_t, 0 | 0 );
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_conflict_result_t *","save_merged", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_wc_conflict_description2_t const *","svn_wc__conflict_description2_dup", 1, argv[0] ));
}
- arg1 = (struct svn_wc_conflict_result_t *)(argp1);
- result = (svn_boolean_t) ((arg1)->save_merged);
- vresult = result ? Qtrue : Qfalse;
- return vresult;
-fail:
- return Qnil;
-}
-
-
-#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
-SWIGINTERN VALUE
-_wrap_svn_wc_conflict_result_t_allocate(VALUE self) {
-#else
- SWIGINTERN VALUE
- _wrap_svn_wc_conflict_result_t_allocate(int argc, VALUE *argv, VALUE self) {
-#endif
-
+ arg1 = (svn_wc_conflict_description2_t *)(argp1);
+ if (argc > 1) {
- VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_wc_conflict_result_t);
-#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
- rb_obj_call_init(vresult, argc, argv);
-#endif
- return vresult;
- }
-
-
-SWIGINTERN VALUE
-_wrap_new_svn_wc_conflict_result_t(int argc, VALUE *argv, VALUE self) {
- struct svn_wc_conflict_result_t *result = 0 ;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
{
- result = (struct svn_wc_conflict_result_t *)calloc(1, sizeof(struct svn_wc_conflict_result_t));
- DATA_PTR(self) = result;
+ result = (svn_wc_conflict_description2_t *)svn_wc__conflict_description2_dup((struct svn_wc_conflict_description2_t const *)arg1,arg2);
}
- return self;
+ vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_wc_conflict_description2_t, 0 | 0 );
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
fail:
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
return Qnil;
}
-SWIGINTERN void
-free_svn_wc_conflict_result_t(struct svn_wc_conflict_result_t *arg1) {
- free((char *) arg1);
-}
-
SWIGINTERN VALUE
_wrap_svn_wc_create_conflict_result(int argc, VALUE *argv, VALUE self) {
svn_wc_conflict_choice_t arg1 ;
@@ -16273,7 +15158,7 @@ _wrap_svn_wc_walk_entries3(int argc, VALUE *argv, VALUE self) {
}
arg2 = (svn_wc_adm_access_t *)(argp2);
{
- arg3 = svn_swig_rb_wc_entry_callbacks2();
+ arg3 = (svn_wc_entry_callbacks2_t *) svn_swig_rb_wc_entry_callbacks2();
arg4 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
{
@@ -16281,7 +15166,7 @@ _wrap_svn_wc_walk_entries3(int argc, VALUE *argv, VALUE self) {
}
arg6 = RTEST(argv[4]);
{
- arg7 = svn_swig_rb_cancel_func;
+ arg7 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg8 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
if (argc > 6) {
@@ -16378,7 +15263,7 @@ _wrap_svn_wc_walk_entries2(int argc, VALUE *argv, VALUE self) {
}
arg5 = RTEST(argv[4]);
{
- arg6 = svn_swig_rb_cancel_func;
+ arg6 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg7 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
if (argc > 6) {
@@ -18793,6 +17678,59 @@ fail:
}
+SWIGINTERN VALUE
+_wrap_svn_wc_status3_t_actual_kind_set(int argc, VALUE *argv, VALUE self) {
+ struct svn_wc_status3_t *arg1 = (struct svn_wc_status3_t *) 0 ;
+ svn_node_kind_t arg2 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ int val2 ;
+ int ecode2 = 0 ;
+
+ if ((argc < 1) || (argc > 1)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_status3_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_status3_t *","actual_kind", 1, self ));
+ }
+ arg1 = (struct svn_wc_status3_t *)(argp1);
+ ecode2 = SWIG_AsVal_int(argv[0], &val2);
+ if (!SWIG_IsOK(ecode2)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_node_kind_t","actual_kind", 2, argv[0] ));
+ }
+ arg2 = (svn_node_kind_t)(val2);
+ if (arg1) (arg1)->actual_kind = arg2;
+ return Qnil;
+fail:
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
+_wrap_svn_wc_status3_t_actual_kind_get(int argc, VALUE *argv, VALUE self) {
+ struct svn_wc_status3_t *arg1 = (struct svn_wc_status3_t *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ svn_node_kind_t result;
+ VALUE vresult = Qnil;
+
+ if ((argc < 0) || (argc > 0)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_wc_status3_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_wc_status3_t *","actual_kind", 1, self ));
+ }
+ arg1 = (struct svn_wc_status3_t *)(argp1);
+ result = (svn_node_kind_t) ((arg1)->actual_kind);
+ vresult = SWIG_From_int((int)(result));
+ return vresult;
+fail:
+ return Qnil;
+}
+
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
SWIGINTERN VALUE
_wrap_svn_wc_status3_t_allocate(VALUE self) {
@@ -20781,7 +19719,7 @@ _wrap_svn_wc_walk_status(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "void *","svn_wc_walk_status", 9, argv[8] ));
}
{
- arg10 = svn_swig_rb_cancel_func;
+ arg10 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg11 = (void *)svn_swig_rb_make_baton(argv[9], _global_svn_swig_rb_pool);
}
if (argc > 10) {
@@ -20923,7 +19861,7 @@ _wrap_svn_wc_get_status_editor5(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res15), Ruby_Format_TypeError( "", "void *","svn_wc_get_status_editor5", 15, argv[10] ));
}
{
- arg16 = svn_swig_rb_cancel_func;
+ arg16 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg17 = (void *)svn_swig_rb_make_baton(argv[11], _global_svn_swig_rb_pool);
}
if (argc > 12) {
@@ -21083,7 +20021,7 @@ _wrap_svn_wc_get_status_editor4(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res12), Ruby_Format_TypeError( "", "void *","svn_wc_get_status_editor4", 12, argv[7] ));
}
{
- arg13 = svn_swig_rb_cancel_func;
+ arg13 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg14 = (void *)svn_swig_rb_make_baton(argv[8], _global_svn_swig_rb_pool);
}
res15 = SWIG_ConvertPtr(argv[9], &argp15,SWIGTYPE_p_svn_wc_traversal_info_t, 0 | 0 );
@@ -21218,11 +20156,11 @@ _wrap_svn_wc_get_status_editor3(int argc, VALUE *argv, VALUE self) {
}
arg10 = (apr_array_header_t *)(argp10);
{
- arg11 = svn_swig_rb_wc_status_func;
+ arg11 = (svn_wc_status_func2_t) svn_swig_rb_wc_status_func;
arg12 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
{
- arg13 = svn_swig_rb_cancel_func;
+ arg13 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg14 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
res15 = SWIG_ConvertPtr(argv[8], &argp15,SWIGTYPE_p_svn_wc_traversal_info_t, 0 | 0 );
@@ -21355,11 +20293,11 @@ _wrap_svn_wc_get_status_editor2(int argc, VALUE *argv, VALUE self) {
arg9 = RTEST(argv[4]);
arg10 = RTEST(argv[5]);
{
- arg11 = svn_swig_rb_wc_status_func;
+ arg11 = (svn_wc_status_func2_t) svn_swig_rb_wc_status_func;
arg12 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
{
- arg13 = svn_swig_rb_cancel_func;
+ arg13 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg14 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
res15 = SWIG_ConvertPtr(argv[8], &argp15,SWIGTYPE_p_svn_wc_traversal_info_t, 0 | 0 );
@@ -21500,7 +20438,7 @@ _wrap_svn_wc_get_status_editor(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res11), Ruby_Format_TypeError( "", "void *","svn_wc_get_status_editor", 11, argv[7] ));
}
{
- arg12 = svn_swig_rb_cancel_func;
+ arg12 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg13 = (void *)svn_swig_rb_make_baton(argv[8], _global_svn_swig_rb_pool);
}
res14 = SWIG_ConvertPtr(argv[9], &argp14,SWIGTYPE_p_svn_wc_traversal_info_t, 0 | 0 );
@@ -21689,11 +20627,11 @@ _wrap_svn_wc_copy3(int argc, VALUE *argv, VALUE self) {
arg3 = (char *)(buf3);
arg4 = RTEST(argv[3]);
{
- arg5 = svn_swig_rb_cancel_func;
+ arg5 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
{
- arg7 = svn_swig_rb_notify_func2;
+ arg7 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg8 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
if (argc > 6) {
@@ -21787,11 +20725,11 @@ _wrap_svn_wc_copy2(int argc, VALUE *argv, VALUE self) {
}
arg3 = (char *)(buf3);
{
- arg4 = svn_swig_rb_cancel_func;
+ arg4 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
{
- arg6 = svn_swig_rb_notify_func2;
+ arg6 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg7 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
if (argc > 5) {
@@ -21886,7 +20824,7 @@ _wrap_svn_wc_copy(int argc, VALUE *argv, VALUE self) {
}
arg3 = (char *)(buf3);
{
- arg4 = svn_swig_rb_cancel_func;
+ arg4 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
{
@@ -21992,11 +20930,11 @@ _wrap_svn_wc_move(int argc, VALUE *argv, VALUE self) {
arg3 = (char *)(buf3);
arg4 = RTEST(argv[3]);
{
- arg5 = svn_swig_rb_cancel_func;
+ arg5 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
{
- arg7 = svn_swig_rb_notify_func2;
+ arg7 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg8 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
if (argc > 6) {
@@ -22085,11 +21023,11 @@ _wrap_svn_wc_delete4(int argc, VALUE *argv, VALUE self) {
arg3 = RTEST(argv[2]);
arg4 = RTEST(argv[3]);
{
- arg5 = svn_swig_rb_cancel_func;
+ arg5 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
{
- arg7 = svn_swig_rb_notify_func2;
+ arg7 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg8 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
if (argc > 6) {
@@ -22173,11 +21111,11 @@ _wrap_svn_wc_delete3(int argc, VALUE *argv, VALUE self) {
}
arg2 = (svn_wc_adm_access_t *)(argp2);
{
- arg3 = svn_swig_rb_cancel_func;
+ arg3 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg4 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
{
- arg5 = svn_swig_rb_notify_func2;
+ arg5 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg6 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
arg7 = RTEST(argv[4]);
@@ -22261,11 +21199,11 @@ _wrap_svn_wc_delete2(int argc, VALUE *argv, VALUE self) {
}
arg2 = (svn_wc_adm_access_t *)(argp2);
{
- arg3 = svn_swig_rb_cancel_func;
+ arg3 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg4 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
{
- arg5 = svn_swig_rb_notify_func2;
+ arg5 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg6 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
if (argc > 4) {
@@ -22349,7 +21287,7 @@ _wrap_svn_wc_delete(int argc, VALUE *argv, VALUE self) {
}
arg2 = (svn_wc_adm_access_t *)(argp2);
{
- arg3 = svn_swig_rb_cancel_func;
+ arg3 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg4 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
{
@@ -22405,6 +21343,104 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_wc_add_from_disk3(int argc, VALUE *argv, VALUE self) {
+ svn_wc_context_t *arg1 = (svn_wc_context_t *) 0 ;
+ char *arg2 = (char *) 0 ;
+ apr_hash_t *arg3 = (apr_hash_t *) 0 ;
+ svn_boolean_t arg4 ;
+ svn_wc_notify_func2_t arg5 = (svn_wc_notify_func2_t) 0 ;
+ void *arg6 = (void *) 0 ;
+ apr_pool_t *arg7 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ int res2 ;
+ char *buf2 = 0 ;
+ int alloc2 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7);
+ _global_pool = arg7;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 5) || (argc > 6)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_wc_context_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_wc_context_t *","svn_wc_add_from_disk3", 1, argv[0] ));
+ }
+ arg1 = (svn_wc_context_t *)(argp1);
+ res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_wc_add_from_disk3", 2, argv[1] ));
+ }
+ arg2 = (char *)(buf2);
+ {
+ VALUE rb_pool = Qnil;
+ if (!_global_pool) {
+ svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
+ svn_swig_rb_push_pool(rb_pool);
+ }
+ arg3 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[2], _global_pool);
+ _global_pool = NULL;
+ if (!NIL_P(rb_pool)) {
+ if (NIL_P(arg3)) {
+ svn_swig_rb_destroy_pool(rb_pool);
+ } else {
+ svn_swig_rb_set_pool_for_no_swig_type(argv[2], rb_pool);
+ }
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ }
+ arg4 = RTEST(argv[3]);
+ {
+ arg5 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
+ arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
+ }
+ if (argc > 5) {
+
+ }
+ {
+ result = (svn_error_t *)svn_wc_add_from_disk3(arg1,(char const *)arg2,(apr_hash_t const *)arg3,arg4,arg5,arg6,arg7);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_wc_add_from_disk2(int argc, VALUE *argv, VALUE self) {
svn_wc_context_t *arg1 = (svn_wc_context_t *) 0 ;
char *arg2 = (char *) 0 ;
@@ -22458,7 +21494,7 @@ _wrap_svn_wc_add_from_disk2(int argc, VALUE *argv, VALUE self) {
}
}
{
- arg4 = svn_swig_rb_notify_func2;
+ arg4 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
if (argc > 4) {
@@ -22536,7 +21572,7 @@ _wrap_svn_wc_add_from_disk(int argc, VALUE *argv, VALUE self) {
}
arg2 = (char *)(buf2);
{
- arg3 = svn_swig_rb_notify_func2;
+ arg3 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg4 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
if (argc > 3) {
@@ -22636,11 +21672,11 @@ _wrap_svn_wc_add4(int argc, VALUE *argv, VALUE self) {
}
arg5 = (svn_revnum_t)(val5);
{
- arg6 = svn_swig_rb_cancel_func;
+ arg6 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg7 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
{
- arg8 = svn_swig_rb_notify_func2;
+ arg8 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg9 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
if (argc > 7) {
@@ -22743,11 +21779,11 @@ _wrap_svn_wc_add3(int argc, VALUE *argv, VALUE self) {
}
arg5 = (svn_revnum_t)(val5);
{
- arg6 = svn_swig_rb_cancel_func;
+ arg6 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg7 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
{
- arg8 = svn_swig_rb_notify_func2;
+ arg8 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg9 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
if (argc > 7) {
@@ -22846,11 +21882,11 @@ _wrap_svn_wc_add2(int argc, VALUE *argv, VALUE self) {
}
arg4 = (svn_revnum_t)(val4);
{
- arg5 = svn_swig_rb_cancel_func;
+ arg5 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
{
- arg7 = svn_swig_rb_notify_func2;
+ arg7 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg8 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
if (argc > 6) {
@@ -22950,7 +21986,7 @@ _wrap_svn_wc_add(int argc, VALUE *argv, VALUE self) {
}
arg4 = (svn_revnum_t)(val4);
{
- arg5 = svn_swig_rb_cancel_func;
+ arg5 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
{
@@ -23101,7 +22137,7 @@ _wrap_svn_wc_add_repos_file4(int argc, VALUE *argv, VALUE self) {
}
arg8 = (svn_revnum_t)(val8);
{
- arg9 = svn_swig_rb_cancel_func;
+ arg9 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg10 = (void *)svn_swig_rb_make_baton(argv[8], _global_svn_swig_rb_pool);
}
if (argc > 9) {
@@ -23244,11 +22280,11 @@ _wrap_svn_wc_add_repos_file3(int argc, VALUE *argv, VALUE self) {
}
arg8 = (svn_revnum_t)(val8);
{
- arg9 = svn_swig_rb_cancel_func;
+ arg9 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg10 = (void *)svn_swig_rb_make_baton(argv[8], _global_svn_swig_rb_pool);
}
{
- arg11 = svn_swig_rb_notify_func2;
+ arg11 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg12 = (void *)svn_swig_rb_make_baton(argv[9], _global_svn_swig_rb_pool);
}
if (argc > 10) {
@@ -23590,7 +22626,7 @@ _wrap_svn_wc_remove_from_revision_control2(int argc, VALUE *argv, VALUE self) {
arg3 = RTEST(argv[2]);
arg4 = RTEST(argv[3]);
{
- arg5 = svn_swig_rb_cancel_func;
+ arg5 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
if (argc > 5) {
@@ -23675,7 +22711,7 @@ _wrap_svn_wc_remove_from_revision_control(int argc, VALUE *argv, VALUE self) {
arg3 = RTEST(argv[2]);
arg4 = RTEST(argv[3]);
{
- arg5 = svn_swig_rb_cancel_func;
+ arg5 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
if (argc > 5) {
@@ -23783,11 +22819,11 @@ _wrap_svn_wc_resolved_conflict5(int argc, VALUE *argv, VALUE self) {
}
arg7 = (svn_wc_conflict_choice_t)(val7);
{
- arg8 = svn_swig_rb_cancel_func;
+ arg8 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
{
- arg10 = svn_swig_rb_notify_func2;
+ arg10 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg11 = (void *)svn_swig_rb_make_baton(argv[8], _global_svn_swig_rb_pool);
}
if (argc > 9) {
@@ -23890,11 +22926,11 @@ _wrap_svn_wc_resolved_conflict4(int argc, VALUE *argv, VALUE self) {
}
arg7 = (svn_wc_conflict_choice_t)(val7);
{
- arg8 = svn_swig_rb_notify_func2;
+ arg8 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
{
- arg10 = svn_swig_rb_cancel_func;
+ arg10 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg11 = (void *)svn_swig_rb_make_baton(argv[8], _global_svn_swig_rb_pool);
}
if (argc > 9) {
@@ -23993,11 +23029,11 @@ _wrap_svn_wc_resolved_conflict3(int argc, VALUE *argv, VALUE self) {
}
arg6 = (svn_wc_conflict_choice_t)(val6);
{
- arg7 = svn_swig_rb_notify_func2;
+ arg7 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
{
- arg9 = svn_swig_rb_cancel_func;
+ arg9 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg10 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
if (argc > 8) {
@@ -24086,11 +23122,11 @@ _wrap_svn_wc_resolved_conflict2(int argc, VALUE *argv, VALUE self) {
arg4 = RTEST(argv[3]);
arg5 = RTEST(argv[4]);
{
- arg6 = svn_swig_rb_notify_func2;
+ arg6 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg7 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
{
- arg8 = svn_swig_rb_cancel_func;
+ arg8 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg9 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
if (argc > 7) {
@@ -24227,6 +23263,111 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_wc_queue_committed4(int argc, VALUE *argv, VALUE self) {
+ svn_wc_committed_queue_t *arg1 = (svn_wc_committed_queue_t *) 0 ;
+ svn_wc_context_t *arg2 = (svn_wc_context_t *) 0 ;
+ char *arg3 = (char *) 0 ;
+ svn_boolean_t arg4 ;
+ svn_boolean_t arg5 ;
+ apr_array_header_t *arg6 = (apr_array_header_t *) 0 ;
+ svn_boolean_t arg7 ;
+ svn_boolean_t arg8 ;
+ svn_checksum_t *arg9 = (svn_checksum_t *) 0 ;
+ apr_pool_t *arg10 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ void *argp2 = 0 ;
+ int res2 = 0 ;
+ int res3 ;
+ char *buf3 = 0 ;
+ int alloc3 = 0 ;
+ void *argp9 = 0 ;
+ int res9 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg10);
+ _global_pool = arg10;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 9) || (argc > 10)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 9)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_wc_committed_queue_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_wc_committed_queue_t *","svn_wc_queue_committed4", 1, argv[0] ));
+ }
+ arg1 = (svn_wc_committed_queue_t *)(argp1);
+ res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_svn_wc_context_t, 0 | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_wc_context_t *","svn_wc_queue_committed4", 2, argv[1] ));
+ }
+ arg2 = (svn_wc_context_t *)(argp2);
+ res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_wc_queue_committed4", 3, argv[2] ));
+ }
+ arg3 = (char *)(buf3);
+ arg4 = RTEST(argv[3]);
+ arg5 = RTEST(argv[4]);
+ {
+ VALUE rb_pool;
+ apr_pool_t *pool;
+
+ svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &pool);
+
+ arg6 = svn_swig_rb_to_apr_array_prop(argv[5], pool);
+ }
+ arg7 = RTEST(argv[6]);
+ arg8 = RTEST(argv[7]);
+ res9 = SWIG_ConvertPtr(argv[8], &argp9,SWIGTYPE_p_svn_checksum_t, 0 | 0 );
+ if (!SWIG_IsOK(res9)) {
+ SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "svn_checksum_t const *","svn_wc_queue_committed4", 9, argv[8] ));
+ }
+ arg9 = (svn_checksum_t *)(argp9);
+ if (argc > 9) {
+
+ }
+ {
+ result = (svn_error_t *)svn_wc_queue_committed4(arg1,arg2,(char const *)arg3,arg4,arg5,(apr_array_header_t const *)arg6,arg7,arg8,(struct svn_checksum_t const *)arg9,arg10);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_wc_queue_committed3(int argc, VALUE *argv, VALUE self) {
svn_wc_committed_queue_t *arg1 = (svn_wc_committed_queue_t *) 0 ;
svn_wc_context_t *arg2 = (svn_wc_context_t *) 0 ;
@@ -24487,16 +23628,7 @@ _wrap_svn_wc_queue_committed(int argc, VALUE *argv, VALUE self) {
}
arg6 = RTEST(argv[5]);
arg7 = RTEST(argv[6]);
- {
- if (NIL_P(argv[7])) {
- arg8 = NULL;
- } else if (RSTRING_LEN(argv[7]) != APR_MD5_DIGESTSIZE) {
- rb_raise(rb_eArgError, "digest size (%d) must be %d",
- RSTRING_LEN(argv[7]), APR_MD5_DIGESTSIZE);
- } else {
- arg8 = (unsigned char *)StringValuePtr(argv[7]);
- }
- }
+
if (argc > 8) {
}
@@ -24599,7 +23731,7 @@ _wrap_svn_wc_process_committed_queue2(int argc, VALUE *argv, VALUE self) {
}
}
{
- arg6 = svn_swig_rb_cancel_func;
+ arg6 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg7 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
if (argc > 6) {
@@ -24808,16 +23940,7 @@ _wrap_svn_wc_process_committed4(int argc, VALUE *argv, VALUE self) {
}
arg8 = RTEST(argv[7]);
arg9 = RTEST(argv[8]);
- {
- if (NIL_P(argv[9])) {
- arg10 = NULL;
- } else if (RSTRING_LEN(argv[9]) != APR_MD5_DIGESTSIZE) {
- rb_raise(rb_eArgError, "digest size (%d) must be %d",
- RSTRING_LEN(argv[9]), APR_MD5_DIGESTSIZE);
- } else {
- arg10 = (unsigned char *)StringValuePtr(argv[9]);
- }
- }
+
if (argc > 10) {
}
@@ -24929,16 +24052,7 @@ _wrap_svn_wc_process_committed3(int argc, VALUE *argv, VALUE self) {
arg7 = svn_swig_rb_to_apr_array_prop(argv[6], pool);
}
arg8 = RTEST(argv[7]);
- {
- if (NIL_P(argv[8])) {
- arg9 = NULL;
- } else if (RSTRING_LEN(argv[8]) != APR_MD5_DIGESTSIZE) {
- rb_raise(rb_eArgError, "digest size (%d) must be %d",
- RSTRING_LEN(argv[8]), APR_MD5_DIGESTSIZE);
- } else {
- arg9 = (unsigned char *)StringValuePtr(argv[8]);
- }
- }
+
if (argc > 9) {
}
@@ -25240,7 +24354,7 @@ _wrap_svn_wc_crawl_revisions5(int argc, VALUE *argv, VALUE self) {
}
arg2 = (char *)(buf2);
{
- arg3 = svn_swig_rb_ra_reporter3;
+ arg3 = (svn_ra_reporter3_t *) svn_swig_rb_get_ra_reporter3();
arg4 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
arg5 = RTEST(argv[3]);
@@ -25251,11 +24365,11 @@ _wrap_svn_wc_crawl_revisions5(int argc, VALUE *argv, VALUE self) {
arg8 = RTEST(argv[6]);
arg9 = RTEST(argv[7]);
{
- arg10 = svn_swig_rb_cancel_func;
+ arg10 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg11 = (void *)svn_swig_rb_make_baton(argv[8], _global_svn_swig_rb_pool);
}
{
- arg12 = svn_swig_rb_notify_func2;
+ arg12 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg13 = (void *)svn_swig_rb_make_baton(argv[9], _global_svn_swig_rb_pool);
}
if (argc > 10) {
@@ -25346,7 +24460,7 @@ _wrap_svn_wc_crawl_revisions4(int argc, VALUE *argv, VALUE self) {
}
arg2 = (svn_wc_adm_access_t *)(argp2);
{
- arg3 = svn_swig_rb_ra_reporter3;
+ arg3 = (svn_ra_reporter3_t *) svn_swig_rb_get_ra_reporter3();
arg4 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
arg5 = RTEST(argv[3]);
@@ -25357,7 +24471,7 @@ _wrap_svn_wc_crawl_revisions4(int argc, VALUE *argv, VALUE self) {
arg8 = RTEST(argv[6]);
arg9 = RTEST(argv[7]);
{
- arg10 = svn_swig_rb_notify_func2;
+ arg10 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg11 = (void *)svn_swig_rb_make_baton(argv[8], _global_svn_swig_rb_pool);
}
res12 = SWIG_ConvertPtr(argv[9], &argp12,SWIGTYPE_p_svn_wc_traversal_info_t, 0 | 0 );
@@ -25449,7 +24563,7 @@ _wrap_svn_wc_crawl_revisions3(int argc, VALUE *argv, VALUE self) {
}
arg2 = (svn_wc_adm_access_t *)(argp2);
{
- arg3 = svn_swig_rb_ra_reporter3;
+ arg3 = (svn_ra_reporter3_t *) svn_swig_rb_get_ra_reporter3();
arg4 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
arg5 = RTEST(argv[3]);
@@ -25459,7 +24573,7 @@ _wrap_svn_wc_crawl_revisions3(int argc, VALUE *argv, VALUE self) {
arg7 = RTEST(argv[5]);
arg8 = RTEST(argv[6]);
{
- arg9 = svn_swig_rb_notify_func2;
+ arg9 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg10 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
res11 = SWIG_ConvertPtr(argv[8], &argp11,SWIGTYPE_p_svn_wc_traversal_info_t, 0 | 0 );
@@ -25565,7 +24679,7 @@ _wrap_svn_wc_crawl_revisions2(int argc, VALUE *argv, VALUE self) {
arg6 = RTEST(argv[5]);
arg7 = RTEST(argv[6]);
{
- arg8 = svn_swig_rb_notify_func2;
+ arg8 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
res10 = SWIG_ConvertPtr(argv[8], &argp10,SWIGTYPE_p_svn_wc_traversal_info_t, 0 | 0 );
@@ -26309,11 +25423,11 @@ _wrap_svn_wc_get_update_editor4(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res21), Ruby_Format_TypeError( "", "void *","svn_wc_get_update_editor4", 21, argv[18] ));
}
{
- arg22 = svn_swig_rb_cancel_func;
+ arg22 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg23 = (void *)svn_swig_rb_make_baton(argv[19], _global_svn_swig_rb_pool);
}
{
- arg24 = svn_swig_rb_notify_func2;
+ arg24 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg25 = (void *)svn_swig_rb_make_baton(argv[20], _global_svn_swig_rb_pool);
}
if (argc > 21) {
@@ -26458,11 +25572,11 @@ _wrap_svn_wc_get_update_editor3(int argc, VALUE *argv, VALUE self) {
arg6 = RTEST(argv[5]);
arg7 = RTEST(argv[6]);
{
- arg8 = svn_swig_rb_notify_func2;
+ arg8 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
{
- arg10 = svn_swig_rb_cancel_func;
+ arg10 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg11 = (void *)svn_swig_rb_make_baton(argv[8], _global_svn_swig_rb_pool);
}
{
@@ -26610,11 +25724,11 @@ _wrap_svn_wc_get_update_editor2(int argc, VALUE *argv, VALUE self) {
arg4 = RTEST(argv[3]);
arg5 = RTEST(argv[4]);
{
- arg6 = svn_swig_rb_notify_func2;
+ arg6 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg7 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
{
- arg8 = svn_swig_rb_cancel_func;
+ arg8 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg9 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
{
@@ -26752,7 +25866,7 @@ _wrap_svn_wc_get_update_editor(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "void *","svn_wc_get_update_editor", 7, argv[6] ));
}
{
- arg8 = svn_swig_rb_cancel_func;
+ arg8 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
{
@@ -26958,11 +26072,11 @@ _wrap_svn_wc_get_switch_editor4(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res20), Ruby_Format_TypeError( "", "void *","svn_wc_get_switch_editor4", 20, argv[17] ));
}
{
- arg21 = svn_swig_rb_cancel_func;
+ arg21 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg22 = (void *)svn_swig_rb_make_baton(argv[18], _global_svn_swig_rb_pool);
}
{
- arg23 = svn_swig_rb_notify_func2;
+ arg23 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg24 = (void *)svn_swig_rb_make_baton(argv[19], _global_svn_swig_rb_pool);
}
if (argc > 20) {
@@ -27116,11 +26230,11 @@ _wrap_svn_wc_get_switch_editor3(int argc, VALUE *argv, VALUE self) {
arg7 = RTEST(argv[6]);
arg8 = RTEST(argv[7]);
{
- arg9 = svn_swig_rb_notify_func2;
+ arg9 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg10 = (void *)svn_swig_rb_make_baton(argv[8], _global_svn_swig_rb_pool);
}
{
- arg11 = svn_swig_rb_cancel_func;
+ arg11 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg12 = (void *)svn_swig_rb_make_baton(argv[9], _global_svn_swig_rb_pool);
}
{
@@ -27268,11 +26382,11 @@ _wrap_svn_wc_get_switch_editor2(int argc, VALUE *argv, VALUE self) {
arg5 = RTEST(argv[4]);
arg6 = RTEST(argv[5]);
{
- arg7 = svn_swig_rb_notify_func2;
+ arg7 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
{
- arg9 = svn_swig_rb_cancel_func;
+ arg9 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg10 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
{
@@ -27421,7 +26535,7 @@ _wrap_svn_wc_get_switch_editor(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "void *","svn_wc_get_switch_editor", 8, argv[7] ));
}
{
- arg9 = svn_swig_rb_cancel_func;
+ arg9 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg10 = (void *)svn_swig_rb_make_baton(argv[8], _global_svn_swig_rb_pool);
}
{
@@ -28050,11 +27164,11 @@ _wrap_svn_wc_prop_set4(int argc, VALUE *argv, VALUE self) {
}
arg7 = (apr_array_header_t *)(argp7);
{
- arg8 = svn_swig_rb_cancel_func;
+ arg8 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
{
- arg10 = svn_swig_rb_notify_func2;
+ arg10 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg11 = (void *)svn_swig_rb_make_baton(argv[8], _global_svn_swig_rb_pool);
}
if (argc > 9) {
@@ -28159,7 +27273,7 @@ _wrap_svn_wc_prop_set3(int argc, VALUE *argv, VALUE self) {
arg4 = (svn_wc_adm_access_t *)(argp4);
arg5 = RTEST(argv[4]);
{
- arg6 = svn_swig_rb_notify_func2;
+ arg6 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg7 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
if (argc > 6) {
@@ -28703,7 +27817,7 @@ _wrap_svn_wc_get_diff_editor6(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res15), Ruby_Format_TypeError( "", "void *","svn_wc_get_diff_editor6", 15, argv[12] ));
}
{
- arg16 = svn_swig_rb_cancel_func;
+ arg16 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg17 = (void *)svn_swig_rb_make_baton(argv[13], _global_svn_swig_rb_pool);
}
if (argc > 14) {
@@ -28842,7 +27956,7 @@ _wrap_svn_wc_get_diff_editor5(int argc, VALUE *argv, VALUE self) {
arg7 = RTEST(argv[6]);
arg8 = RTEST(argv[7]);
{
- arg9 = svn_swig_rb_cancel_func;
+ arg9 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg10 = (void *)svn_swig_rb_make_baton(argv[8], _global_svn_swig_rb_pool);
}
res11 = SWIG_ConvertPtr(argv[9], &argp11,SWIGTYPE_p_apr_array_header_t, 0 | 0 );
@@ -28949,7 +28063,7 @@ _wrap_svn_wc_get_diff_editor4(int argc, VALUE *argv, VALUE self) {
}
arg2 = (char *)(buf2);
{
- arg3 = svn_swig_rb_wc_diff_callbacks2();
+ arg3 = (svn_wc_diff_callbacks2_t *) svn_swig_rb_wc_diff_callbacks2();
arg4 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
{
@@ -28959,7 +28073,7 @@ _wrap_svn_wc_get_diff_editor4(int argc, VALUE *argv, VALUE self) {
arg7 = RTEST(argv[5]);
arg8 = RTEST(argv[6]);
{
- arg9 = svn_swig_rb_cancel_func;
+ arg9 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg10 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
res11 = SWIG_ConvertPtr(argv[8], &argp11,SWIGTYPE_p_apr_array_header_t, 0 | 0 );
@@ -29063,7 +28177,7 @@ _wrap_svn_wc_get_diff_editor3(int argc, VALUE *argv, VALUE self) {
}
arg2 = (char *)(buf2);
{
- arg3 = svn_swig_rb_wc_diff_callbacks2();
+ arg3 = (svn_wc_diff_callbacks2_t *) svn_swig_rb_wc_diff_callbacks2();
arg4 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
arg5 = RTEST(argv[3]);
@@ -29071,7 +28185,7 @@ _wrap_svn_wc_get_diff_editor3(int argc, VALUE *argv, VALUE self) {
arg7 = RTEST(argv[5]);
arg8 = RTEST(argv[6]);
{
- arg9 = svn_swig_rb_cancel_func;
+ arg9 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg10 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
if (argc > 8) {
@@ -29186,7 +28300,7 @@ _wrap_svn_wc_get_diff_editor2(int argc, VALUE *argv, VALUE self) {
arg7 = RTEST(argv[6]);
arg8 = RTEST(argv[7]);
{
- arg9 = svn_swig_rb_cancel_func;
+ arg9 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg10 = (void *)svn_swig_rb_make_baton(argv[8], _global_svn_swig_rb_pool);
}
if (argc > 9) {
@@ -29299,7 +28413,7 @@ _wrap_svn_wc_get_diff_editor(int argc, VALUE *argv, VALUE self) {
arg6 = RTEST(argv[5]);
arg7 = RTEST(argv[6]);
{
- arg8 = svn_swig_rb_cancel_func;
+ arg8 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
}
if (argc > 8) {
@@ -29418,7 +28532,7 @@ _wrap_svn_wc_diff6(int argc, VALUE *argv, VALUE self) {
}
arg9 = (apr_array_header_t *)(argp9);
{
- arg10 = svn_swig_rb_cancel_func;
+ arg10 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg11 = (void *)svn_swig_rb_make_baton(argv[9], _global_svn_swig_rb_pool);
}
if (argc > 10) {
@@ -29604,7 +28718,7 @@ _wrap_svn_wc_diff4(int argc, VALUE *argv, VALUE self) {
}
arg2 = (char *)(buf2);
{
- arg3 = svn_swig_rb_wc_diff_callbacks2();
+ arg3 = (svn_wc_diff_callbacks2_t *) svn_swig_rb_wc_diff_callbacks2();
arg4 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
{
@@ -29693,7 +28807,7 @@ _wrap_svn_wc_diff3(int argc, VALUE *argv, VALUE self) {
}
arg2 = (char *)(buf2);
{
- arg3 = svn_swig_rb_wc_diff_callbacks2();
+ arg3 = (svn_wc_diff_callbacks2_t *) svn_swig_rb_wc_diff_callbacks2();
arg4 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
arg5 = RTEST(argv[3]);
@@ -30266,7 +29380,7 @@ _wrap_svn_wc_merge5(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res18), Ruby_Format_TypeError( "", "void *","svn_wc_merge5", 18, argv[16] ));
}
{
- arg19 = svn_swig_rb_cancel_func;
+ arg19 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg20 = (void *)svn_swig_rb_make_baton(argv[17], _global_svn_swig_rb_pool);
}
if (argc > 18) {
@@ -30471,7 +29585,7 @@ _wrap_svn_wc_merge4(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res16), Ruby_Format_TypeError( "", "void *","svn_wc_merge4", 16, argv[14] ));
}
{
- arg17 = svn_swig_rb_cancel_func;
+ arg17 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg18 = (void *)svn_swig_rb_make_baton(argv[15], _global_svn_swig_rb_pool);
}
if (argc > 16) {
@@ -31116,7 +30230,7 @@ _wrap_svn_wc_merge_props3(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "void *","svn_wc_merge_props3", 10, argv[9] ));
}
{
- arg11 = svn_swig_rb_cancel_func;
+ arg11 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg12 = (void *)svn_swig_rb_make_baton(argv[10], _global_svn_swig_rb_pool);
}
if (argc > 11) {
@@ -31754,6 +30868,101 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_wc_cleanup4(int argc, VALUE *argv, VALUE self) {
+ svn_wc_context_t *arg1 = (svn_wc_context_t *) 0 ;
+ char *arg2 = (char *) 0 ;
+ svn_boolean_t arg3 ;
+ svn_boolean_t arg4 ;
+ svn_boolean_t arg5 ;
+ svn_boolean_t arg6 ;
+ svn_cancel_func_t arg7 = (svn_cancel_func_t) 0 ;
+ void *arg8 = (void *) 0 ;
+ svn_wc_notify_func2_t arg9 = (svn_wc_notify_func2_t) 0 ;
+ void *arg10 = (void *) 0 ;
+ apr_pool_t *arg11 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ int res2 ;
+ char *buf2 = 0 ;
+ int alloc2 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg11);
+ _global_pool = arg11;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 8) || (argc > 9)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_wc_context_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_wc_context_t *","svn_wc_cleanup4", 1, argv[0] ));
+ }
+ arg1 = (svn_wc_context_t *)(argp1);
+ res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_wc_cleanup4", 2, argv[1] ));
+ }
+ arg2 = (char *)(buf2);
+ arg3 = RTEST(argv[2]);
+ arg4 = RTEST(argv[3]);
+ arg5 = RTEST(argv[4]);
+ arg6 = RTEST(argv[5]);
+ {
+ arg7 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
+ arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
+ }
+ {
+ arg9 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
+ arg10 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
+ }
+ if (argc > 8) {
+
+ }
+ {
+ result = (svn_error_t *)svn_wc_cleanup4(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ svn_swig_rb_set_baton(vresult, (VALUE)arg8);
+ }
+ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_wc_cleanup3(int argc, VALUE *argv, VALUE self) {
svn_wc_context_t *arg1 = (svn_wc_context_t *) 0 ;
char *arg2 = (char *) 0 ;
@@ -31789,7 +30998,7 @@ _wrap_svn_wc_cleanup3(int argc, VALUE *argv, VALUE self) {
}
arg2 = (char *)(buf2);
{
- arg3 = svn_swig_rb_cancel_func;
+ arg3 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg4 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
if (argc > 3) {
@@ -31870,7 +31079,7 @@ _wrap_svn_wc_cleanup2(int argc, VALUE *argv, VALUE self) {
}
}
{
- arg3 = svn_swig_rb_cancel_func;
+ arg3 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg4 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
if (argc > 3) {
@@ -31959,7 +31168,7 @@ _wrap_svn_wc_cleanup(int argc, VALUE *argv, VALUE self) {
}
}
{
- arg4 = svn_swig_rb_cancel_func;
+ arg4 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
if (argc > 4) {
@@ -32055,11 +31264,11 @@ _wrap_svn_wc_upgrade(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","svn_wc_upgrade", 4, argv[3] ));
}
{
- arg5 = svn_swig_rb_cancel_func;
+ arg5 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
{
- arg7 = svn_swig_rb_notify_func2;
+ arg7 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg8 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
if (argc > 6) {
@@ -32158,7 +31367,7 @@ _wrap_svn_wc_relocate4(int argc, VALUE *argv, VALUE self) {
}
arg4 = (char *)(buf4);
{
- arg5 = svn_swig_rb_wc_relocation_validator3;
+ arg5 = (svn_wc_relocation_validator3_t) svn_swig_rb_wc_relocation_validator3;
arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
if (argc > 5) {
@@ -32260,7 +31469,7 @@ _wrap_svn_wc_relocate3(int argc, VALUE *argv, VALUE self) {
arg4 = (char *)(buf4);
arg5 = RTEST(argv[4]);
{
- arg6 = svn_swig_rb_wc_relocation_validator3;
+ arg6 = (svn_wc_relocation_validator3_t) svn_swig_rb_wc_relocation_validator3;
arg7 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
if (argc > 6) {
@@ -32525,6 +31734,111 @@ fail:
SWIGINTERN VALUE
+_wrap_svn_wc_revert5(int argc, VALUE *argv, VALUE self) {
+ svn_wc_context_t *arg1 = (svn_wc_context_t *) 0 ;
+ char *arg2 = (char *) 0 ;
+ svn_depth_t arg3 ;
+ svn_boolean_t arg4 ;
+ apr_array_header_t *arg5 = (apr_array_header_t *) 0 ;
+ svn_boolean_t arg6 ;
+ svn_boolean_t arg7 ;
+ svn_cancel_func_t arg8 = (svn_cancel_func_t) 0 ;
+ void *arg9 = (void *) 0 ;
+ svn_wc_notify_func2_t arg10 = (svn_wc_notify_func2_t) 0 ;
+ void *arg11 = (void *) 0 ;
+ apr_pool_t *arg12 = (apr_pool_t *) 0 ;
+ VALUE _global_svn_swig_rb_pool ;
+ apr_pool_t *_global_pool ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ int res2 ;
+ char *buf2 = 0 ;
+ int alloc2 = 0 ;
+ void *argp5 = 0 ;
+ int res5 = 0 ;
+ svn_error_t *result = 0 ;
+ VALUE vresult = Qnil;
+
+ {
+ svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg12);
+ _global_pool = arg12;
+ svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
+ }
+ if ((argc < 9) || (argc > 10)) {
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 9)",argc); SWIG_fail;
+ }
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_wc_context_t, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_wc_context_t *","svn_wc_revert5", 1, argv[0] ));
+ }
+ arg1 = (svn_wc_context_t *)(argp1);
+ res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_wc_revert5", 2, argv[1] ));
+ }
+ arg2 = (char *)(buf2);
+ {
+ arg3 = svn_swig_rb_to_depth(argv[2]);
+ }
+ arg4 = RTEST(argv[3]);
+ res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_apr_array_header_t, 0 | 0 );
+ if (!SWIG_IsOK(res5)) {
+ SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "apr_array_header_t const *","svn_wc_revert5", 5, argv[4] ));
+ }
+ arg5 = (apr_array_header_t *)(argp5);
+ arg6 = RTEST(argv[5]);
+ arg7 = RTEST(argv[6]);
+ {
+ arg8 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
+ arg9 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool);
+ }
+ {
+ arg10 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
+ arg11 = (void *)svn_swig_rb_make_baton(argv[8], _global_svn_swig_rb_pool);
+ }
+ if (argc > 9) {
+
+ }
+ {
+ result = (svn_error_t *)svn_wc_revert5(arg1,(char const *)arg2,arg3,arg4,(apr_array_header_t const *)arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
+
+
+
+ }
+ {
+ if (result) {
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_handle_svn_error(result);
+ }
+ vresult = Qnil;
+ }
+ {
+ svn_swig_rb_set_baton(vresult, (VALUE)arg9);
+ }
+ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return vresult;
+fail:
+ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
+ {
+ VALUE target;
+ target = _global_vresult_address == &vresult ? self : vresult;
+ if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
+ svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
+ svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
+ }
+ return Qnil;
+}
+
+
+SWIGINTERN VALUE
_wrap_svn_wc_revert4(int argc, VALUE *argv, VALUE self) {
svn_wc_context_t *arg1 = (svn_wc_context_t *) 0 ;
char *arg2 = (char *) 0 ;
@@ -32576,11 +31890,11 @@ _wrap_svn_wc_revert4(int argc, VALUE *argv, VALUE self) {
}
arg5 = (apr_array_header_t *)(argp5);
{
- arg6 = svn_swig_rb_cancel_func;
+ arg6 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg7 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
{
- arg8 = svn_swig_rb_notify_func2;
+ arg8 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg9 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
if (argc > 7) {
@@ -32677,11 +31991,11 @@ _wrap_svn_wc_revert3(int argc, VALUE *argv, VALUE self) {
}
arg5 = (apr_array_header_t *)(argp5);
{
- arg6 = svn_swig_rb_cancel_func;
+ arg6 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg7 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
{
- arg8 = svn_swig_rb_notify_func2;
+ arg8 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg9 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
if (argc > 7) {
@@ -32768,11 +32082,11 @@ _wrap_svn_wc_revert2(int argc, VALUE *argv, VALUE self) {
arg3 = RTEST(argv[2]);
arg4 = RTEST(argv[3]);
{
- arg5 = svn_swig_rb_cancel_func;
+ arg5 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
{
- arg7 = svn_swig_rb_notify_func2;
+ arg7 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg8 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
if (argc > 6) {
@@ -32860,7 +32174,7 @@ _wrap_svn_wc_revert(int argc, VALUE *argv, VALUE self) {
arg3 = RTEST(argv[2]);
arg4 = RTEST(argv[3]);
{
- arg5 = svn_swig_rb_cancel_func;
+ arg5 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg6 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
{
@@ -34874,7 +34188,7 @@ _wrap_new_svn_wc_revision_status_t(int argc, VALUE *argv, VALUE self) {
}
arg3 = RTEST(argv[2]);
{
- arg4 = svn_swig_rb_cancel_func;
+ arg4 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
if (argc > 4) {
@@ -34974,7 +34288,7 @@ _wrap_svn_wc_revision_status2(int argc, VALUE *argv, VALUE self) {
}
arg5 = RTEST(argv[3]);
{
- arg6 = svn_swig_rb_cancel_func;
+ arg6 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg7 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
if (argc > 5) {
@@ -35093,11 +34407,11 @@ _wrap_svn_wc_set_changelist2(int argc, VALUE *argv, VALUE self) {
}
arg5 = (apr_array_header_t *)(argp5);
{
- arg6 = svn_swig_rb_cancel_func;
+ arg6 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg7 = (void *)svn_swig_rb_make_baton(argv[5], _global_svn_swig_rb_pool);
}
{
- arg8 = svn_swig_rb_notify_func2;
+ arg8 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg9 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
if (argc > 7) {
@@ -35184,11 +34498,11 @@ _wrap_svn_wc_set_changelist(int argc, VALUE *argv, VALUE self) {
}
arg3 = (svn_wc_adm_access_t *)(argp3);
{
- arg4 = svn_swig_rb_cancel_func;
+ arg4 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
{
- arg6 = svn_swig_rb_notify_func2;
+ arg6 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg7 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
if (argc > 5) {
@@ -35294,7 +34608,7 @@ _wrap_svn_wc_get_changelists(int argc, VALUE *argv, VALUE self) {
SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "void *","svn_wc_get_changelists", 6, argv[5] ));
}
{
- arg7 = svn_swig_rb_cancel_func;
+ arg7 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
}
if (argc > 7) {
@@ -35381,11 +34695,11 @@ _wrap_svn_wc_crop_tree2(int argc, VALUE *argv, VALUE self) {
arg3 = svn_swig_rb_to_depth(argv[2]);
}
{
- arg4 = svn_swig_rb_cancel_func;
+ arg4 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
{
- arg6 = svn_swig_rb_notify_func2;
+ arg6 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg7 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
if (argc > 5) {
@@ -35472,11 +34786,11 @@ _wrap_svn_wc_crop_tree(int argc, VALUE *argv, VALUE self) {
arg3 = svn_swig_rb_to_depth(argv[2]);
}
{
- arg4 = svn_swig_rb_notify_func2;
+ arg4 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg5 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
{
- arg6 = svn_swig_rb_cancel_func;
+ arg6 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg7 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);
}
if (argc > 5) {
@@ -35559,11 +34873,11 @@ _wrap_svn_wc_exclude(int argc, VALUE *argv, VALUE self) {
}
arg2 = (char *)(buf2);
{
- arg3 = svn_swig_rb_cancel_func;
+ arg3 = (svn_cancel_func_t) svn_swig_rb_cancel_func;
arg4 = (void *)svn_swig_rb_make_baton(argv[2], _global_svn_swig_rb_pool);
}
{
- arg5 = svn_swig_rb_notify_func2;
+ arg5 = (svn_wc_notify_func2_t) svn_swig_rb_notify_func2;
arg6 = (void *)svn_swig_rb_make_baton(argv[3], _global_svn_swig_rb_pool);
}
if (argc > 4) {
@@ -41701,18 +41015,18 @@ static swig_cast_info *swig_cast_initial[] = {
/* -----------------------------------------------------------------------------
* Type initialization:
- * This problem is tough by the requirement that no dynamic
- * memory is used. Also, since swig_type_info structures store pointers to
+ * 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
+ * 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
+ * The generated swig_type_info structures are assigned staticly to an initial
* array. We just loop through 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
@@ -41722,17 +41036,17 @@ static swig_cast_info *swig_cast_initial[] = {
* 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
+ * 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.
+ * 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
+ * 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
@@ -41795,7 +41109,7 @@ SWIG_InitializeModule(void *clientdata) {
module_head->next = &swig_module;
}
- /* When multiple interpeters are used, a module could have already been initialized in
+ /* When multiple interpreters are used, a module could have already been initialized in
a different interpreter, but not yet have a pointer in this interpreter.
In this case, we do not want to continue adding types... everything should be
set up already */
@@ -41809,7 +41123,7 @@ SWIG_InitializeModule(void *clientdata) {
swig_type_info *type = 0;
swig_type_info *ret;
swig_cast_info *cast;
-
+
#ifdef SWIGRUNTIME_DEBUG
printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
#endif
@@ -41836,7 +41150,7 @@ SWIG_InitializeModule(void *clientdata) {
/* Insert casting types */
cast = swig_module.cast_initial[i];
while (cast->type) {
-
+
/* Don't need to add information already in the list */
ret = 0;
#ifdef SWIGRUNTIME_DEBUG
@@ -42101,6 +41415,10 @@ SWIGEXPORT void Init_wc(void) {
rb_define_const(mWc, "Svn_wc_notify_left_local_modifications", SWIG_From_int((int)(svn_wc_notify_left_local_modifications)));
rb_define_const(mWc, "Svn_wc_notify_foreign_copy_begin", SWIG_From_int((int)(svn_wc_notify_foreign_copy_begin)));
rb_define_const(mWc, "Svn_wc_notify_move_broken", SWIG_From_int((int)(svn_wc_notify_move_broken)));
+ rb_define_const(mWc, "Svn_wc_notify_cleanup_external", SWIG_From_int((int)(svn_wc_notify_cleanup_external)));
+ rb_define_const(mWc, "Svn_wc_notify_failed_requires_target", SWIG_From_int((int)(svn_wc_notify_failed_requires_target)));
+ rb_define_const(mWc, "Svn_wc_notify_info_external", SWIG_From_int((int)(svn_wc_notify_info_external)));
+ rb_define_const(mWc, "Svn_wc_notify_commit_finalizing", SWIG_From_int((int)(svn_wc_notify_commit_finalizing)));
rb_define_const(mWc, "Svn_wc_notify_state_inapplicable", SWIG_From_int((int)(svn_wc_notify_state_inapplicable)));
rb_define_const(mWc, "Svn_wc_notify_state_unknown", SWIG_From_int((int)(svn_wc_notify_state_unknown)));
rb_define_const(mWc, "Svn_wc_notify_state_unchanged", SWIG_From_int((int)(svn_wc_notify_state_unchanged)));
@@ -42214,44 +41532,6 @@ SWIGEXPORT void Init_wc(void) {
rb_define_module_function(mWc, "svn_wc_conflict_version_create", _wrap_svn_wc_conflict_version_create, -1);
rb_define_module_function(mWc, "svn_wc_conflict_version_dup", _wrap_svn_wc_conflict_version_dup, -1);
- SwigClassSvn_wc_conflict_description2_t.klass = rb_define_class_under(mWc, "Svn_wc_conflict_description2_t", rb_cObject);
- SWIG_TypeClientData(SWIGTYPE_p_svn_wc_conflict_description2_t, (void *) &SwigClassSvn_wc_conflict_description2_t);
- rb_define_alloc_func(SwigClassSvn_wc_conflict_description2_t.klass, _wrap_svn_wc_conflict_description2_t_allocate);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "initialize", _wrap_new_svn_wc_conflict_description2_t, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "local_abspath=", _wrap_svn_wc_conflict_description2_t_local_abspath_set, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "local_abspath", _wrap_svn_wc_conflict_description2_t_local_abspath_get, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "node_kind=", _wrap_svn_wc_conflict_description2_t_node_kind_set, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "node_kind", _wrap_svn_wc_conflict_description2_t_node_kind_get, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "kind=", _wrap_svn_wc_conflict_description2_t_kind_set, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "kind", _wrap_svn_wc_conflict_description2_t_kind_get, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "property_name=", _wrap_svn_wc_conflict_description2_t_property_name_set, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "property_name", _wrap_svn_wc_conflict_description2_t_property_name_get, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "is_binary=", _wrap_svn_wc_conflict_description2_t_is_binary_set, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "is_binary", _wrap_svn_wc_conflict_description2_t_is_binary_get, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "mime_type=", _wrap_svn_wc_conflict_description2_t_mime_type_set, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "mime_type", _wrap_svn_wc_conflict_description2_t_mime_type_get, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "action=", _wrap_svn_wc_conflict_description2_t_action_set, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "action", _wrap_svn_wc_conflict_description2_t_action_get, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "reason=", _wrap_svn_wc_conflict_description2_t_reason_set, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "reason", _wrap_svn_wc_conflict_description2_t_reason_get, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "base_abspath=", _wrap_svn_wc_conflict_description2_t_base_abspath_set, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "base_abspath", _wrap_svn_wc_conflict_description2_t_base_abspath_get, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "their_abspath=", _wrap_svn_wc_conflict_description2_t_their_abspath_set, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "their_abspath", _wrap_svn_wc_conflict_description2_t_their_abspath_get, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "my_abspath=", _wrap_svn_wc_conflict_description2_t_my_abspath_set, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "my_abspath", _wrap_svn_wc_conflict_description2_t_my_abspath_get, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "merged_file=", _wrap_svn_wc_conflict_description2_t_merged_file_set, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "merged_file", _wrap_svn_wc_conflict_description2_t_merged_file_get, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "operation=", _wrap_svn_wc_conflict_description2_t_operation_set, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "operation", _wrap_svn_wc_conflict_description2_t_operation_get, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "src_left_version=", _wrap_svn_wc_conflict_description2_t_src_left_version_set, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "src_left_version", _wrap_svn_wc_conflict_description2_t_src_left_version_get, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "src_right_version=", _wrap_svn_wc_conflict_description2_t_src_right_version_set, -1);
- rb_define_method(SwigClassSvn_wc_conflict_description2_t.klass, "src_right_version", _wrap_svn_wc_conflict_description2_t_src_right_version_get, -1);
- SwigClassSvn_wc_conflict_description2_t.mark = 0;
- SwigClassSvn_wc_conflict_description2_t.destroy = (void (*)(void *)) free_svn_wc_conflict_description2_t;
- SwigClassSvn_wc_conflict_description2_t.trackObjects = 0;
-
SwigClassSvn_wc_conflict_description_t.klass = rb_define_class_under(mWc, "Svn_wc_conflict_description_t", rb_cObject);
SWIG_TypeClientData(SWIGTYPE_p_svn_wc_conflict_description_t, (void *) &SwigClassSvn_wc_conflict_description_t);
rb_define_alloc_func(SwigClassSvn_wc_conflict_description_t.klass, _wrap_svn_wc_conflict_description_t_allocate);
@@ -42297,7 +41577,9 @@ SWIGEXPORT void Init_wc(void) {
rb_define_module_function(mWc, "svn_wc_conflict_description_create_prop", _wrap_svn_wc_conflict_description_create_prop, -1);
rb_define_module_function(mWc, "svn_wc_conflict_description_create_tree2", _wrap_svn_wc_conflict_description_create_tree2, -1);
rb_define_module_function(mWc, "svn_wc_conflict_description_create_tree", _wrap_svn_wc_conflict_description_create_tree, -1);
+ rb_define_module_function(mWc, "svn_wc_conflict_description2_dup", _wrap_svn_wc_conflict_description2_dup, -1);
rb_define_module_function(mWc, "svn_wc__conflict_description2_dup", _wrap_svn_wc__conflict_description2_dup, -1);
+ rb_define_const(mWc, "Svn_wc_conflict_choose_undefined", SWIG_From_int((int)(svn_wc_conflict_choose_undefined)));
rb_define_const(mWc, "Svn_wc_conflict_choose_postpone", SWIG_From_int((int)(svn_wc_conflict_choose_postpone)));
rb_define_const(mWc, "Svn_wc_conflict_choose_base", SWIG_From_int((int)(svn_wc_conflict_choose_base)));
rb_define_const(mWc, "Svn_wc_conflict_choose_theirs_full", SWIG_From_int((int)(svn_wc_conflict_choose_theirs_full)));
@@ -42306,20 +41588,6 @@ SWIGEXPORT void Init_wc(void) {
rb_define_const(mWc, "Svn_wc_conflict_choose_mine_conflict", SWIG_From_int((int)(svn_wc_conflict_choose_mine_conflict)));
rb_define_const(mWc, "Svn_wc_conflict_choose_merged", SWIG_From_int((int)(svn_wc_conflict_choose_merged)));
rb_define_const(mWc, "Svn_wc_conflict_choose_unspecified", SWIG_From_int((int)(svn_wc_conflict_choose_unspecified)));
-
- SwigClassSvn_wc_conflict_result_t.klass = rb_define_class_under(mWc, "Svn_wc_conflict_result_t", rb_cObject);
- SWIG_TypeClientData(SWIGTYPE_p_svn_wc_conflict_result_t, (void *) &SwigClassSvn_wc_conflict_result_t);
- rb_define_alloc_func(SwigClassSvn_wc_conflict_result_t.klass, _wrap_svn_wc_conflict_result_t_allocate);
- rb_define_method(SwigClassSvn_wc_conflict_result_t.klass, "initialize", _wrap_new_svn_wc_conflict_result_t, -1);
- rb_define_method(SwigClassSvn_wc_conflict_result_t.klass, "choice=", _wrap_svn_wc_conflict_result_t_choice_set, -1);
- rb_define_method(SwigClassSvn_wc_conflict_result_t.klass, "choice", _wrap_svn_wc_conflict_result_t_choice_get, -1);
- rb_define_method(SwigClassSvn_wc_conflict_result_t.klass, "merged_file=", _wrap_svn_wc_conflict_result_t_merged_file_set, -1);
- rb_define_method(SwigClassSvn_wc_conflict_result_t.klass, "merged_file", _wrap_svn_wc_conflict_result_t_merged_file_get, -1);
- rb_define_method(SwigClassSvn_wc_conflict_result_t.klass, "save_merged=", _wrap_svn_wc_conflict_result_t_save_merged_set, -1);
- rb_define_method(SwigClassSvn_wc_conflict_result_t.klass, "save_merged", _wrap_svn_wc_conflict_result_t_save_merged_get, -1);
- SwigClassSvn_wc_conflict_result_t.mark = 0;
- SwigClassSvn_wc_conflict_result_t.destroy = (void (*)(void *)) free_svn_wc_conflict_result_t;
- SwigClassSvn_wc_conflict_result_t.trackObjects = 0;
rb_define_module_function(mWc, "svn_wc_create_conflict_result", _wrap_svn_wc_create_conflict_result, -1);
SwigClassSvn_wc_diff_callbacks4_t.klass = rb_define_class_under(mWc, "Svn_wc_diff_callbacks4_t", rb_cObject);
@@ -42661,6 +41929,8 @@ SWIGEXPORT void Init_wc(void) {
rb_define_method(SwigClassSvn_wc_status3_t.klass, "moved_to_abspath", _wrap_svn_wc_status3_t_moved_to_abspath_get, -1);
rb_define_method(SwigClassSvn_wc_status3_t.klass, "file_external=", _wrap_svn_wc_status3_t_file_external_set, -1);
rb_define_method(SwigClassSvn_wc_status3_t.klass, "file_external", _wrap_svn_wc_status3_t_file_external_get, -1);
+ rb_define_method(SwigClassSvn_wc_status3_t.klass, "actual_kind=", _wrap_svn_wc_status3_t_actual_kind_set, -1);
+ rb_define_method(SwigClassSvn_wc_status3_t.klass, "actual_kind", _wrap_svn_wc_status3_t_actual_kind_get, -1);
SwigClassSvn_wc_status3_t.mark = 0;
SwigClassSvn_wc_status3_t.destroy = (void (*)(void *)) free_svn_wc_status3_t;
SwigClassSvn_wc_status3_t.trackObjects = 0;
@@ -42753,6 +42023,7 @@ SWIGEXPORT void Init_wc(void) {
rb_define_module_function(mWc, "svn_wc_delete3", _wrap_svn_wc_delete3, -1);
rb_define_module_function(mWc, "svn_wc_delete2", _wrap_svn_wc_delete2, -1);
rb_define_module_function(mWc, "svn_wc_delete", _wrap_svn_wc_delete, -1);
+ rb_define_module_function(mWc, "svn_wc_add_from_disk3", _wrap_svn_wc_add_from_disk3, -1);
rb_define_module_function(mWc, "svn_wc_add_from_disk2", _wrap_svn_wc_add_from_disk2, -1);
rb_define_module_function(mWc, "svn_wc_add_from_disk", _wrap_svn_wc_add_from_disk, -1);
rb_define_module_function(mWc, "svn_wc_add4", _wrap_svn_wc_add4, -1);
@@ -42770,6 +42041,7 @@ SWIGEXPORT void Init_wc(void) {
rb_define_module_function(mWc, "svn_wc_resolved_conflict3", _wrap_svn_wc_resolved_conflict3, -1);
rb_define_module_function(mWc, "svn_wc_resolved_conflict2", _wrap_svn_wc_resolved_conflict2, -1);
rb_define_module_function(mWc, "svn_wc_resolved_conflict", _wrap_svn_wc_resolved_conflict, -1);
+ rb_define_module_function(mWc, "svn_wc_queue_committed4", _wrap_svn_wc_queue_committed4, -1);
rb_define_module_function(mWc, "svn_wc_queue_committed3", _wrap_svn_wc_queue_committed3, -1);
rb_define_module_function(mWc, "svn_wc_queue_committed2", _wrap_svn_wc_queue_committed2, -1);
rb_define_module_function(mWc, "svn_wc_queue_committed", _wrap_svn_wc_queue_committed, -1);
@@ -42840,6 +42112,7 @@ SWIGEXPORT void Init_wc(void) {
rb_define_module_function(mWc, "svn_wc_get_pristine_contents2", _wrap_svn_wc_get_pristine_contents2, -1);
rb_define_module_function(mWc, "svn_wc_get_pristine_contents", _wrap_svn_wc_get_pristine_contents, -1);
rb_define_module_function(mWc, "svn_wc_get_pristine_copy_path", _wrap_svn_wc_get_pristine_copy_path, -1);
+ rb_define_module_function(mWc, "svn_wc_cleanup4", _wrap_svn_wc_cleanup4, -1);
rb_define_module_function(mWc, "svn_wc_cleanup3", _wrap_svn_wc_cleanup3, -1);
rb_define_module_function(mWc, "svn_wc_cleanup2", _wrap_svn_wc_cleanup2, -1);
rb_define_module_function(mWc, "svn_wc_cleanup", _wrap_svn_wc_cleanup, -1);
@@ -42848,6 +42121,7 @@ SWIGEXPORT void Init_wc(void) {
rb_define_module_function(mWc, "svn_wc_relocate3", _wrap_svn_wc_relocate3, -1);
rb_define_module_function(mWc, "svn_wc_relocate2", _wrap_svn_wc_relocate2, -1);
rb_define_module_function(mWc, "svn_wc_relocate", _wrap_svn_wc_relocate, -1);
+ rb_define_module_function(mWc, "svn_wc_revert5", _wrap_svn_wc_revert5, -1);
rb_define_module_function(mWc, "svn_wc_revert4", _wrap_svn_wc_revert4, -1);
rb_define_module_function(mWc, "svn_wc_revert3", _wrap_svn_wc_revert3, -1);
rb_define_module_function(mWc, "svn_wc_revert2", _wrap_svn_wc_revert2, -1);
diff --git a/subversion/bindings/swig/ruby/test/my-assertions.rb b/subversion/bindings/swig/ruby/test/my-assertions.rb
index 77c42e7..0aa3d94 100644
--- a/subversion/bindings/swig/ruby/test/my-assertions.rb
+++ b/subversion/bindings/swig/ruby/test/my-assertions.rb
@@ -27,9 +27,7 @@ module Test
# make an intermediary assertion block handler
def _my_assert_block(&block)
if RUBY_VERSION > '1.9'
- assert_block do
- yield
- end
+ yield
else
_wrap_assertion do
yield
diff --git a/subversion/bindings/swig/ruby/test/test_client.rb b/subversion/bindings/swig/ruby/test/test_client.rb
index 9c97567..7f3343b 100644
--- a/subversion/bindings/swig/ruby/test/test_client.rb
+++ b/subversion/bindings/swig/ruby/test/test_client.rb
@@ -179,7 +179,9 @@ class SvnClientTest < Test::Unit::TestCase
infos = []
ctx.set_notify_func do |notify|
- infos << [notify.path, notify]
+ if notify.action != Svn::Wc::NOTIFY_COMMIT_FINALIZING
+ infos << [notify.path, notify]
+ end
end
assert_equal([false, false], dirs_path.collect {|path| path.exist?})
@@ -223,7 +225,9 @@ class SvnClientTest < Test::Unit::TestCase
infos = []
ctx.set_notify_func do |notify|
- infos << [notify.path, notify]
+ if notify.action != Svn::Wc::NOTIFY_COMMIT_FINALIZING
+ infos << [notify.path, notify]
+ end
end
assert_equal([false, false], [dir_path.exist?, child_dir_path.exist?])
@@ -1155,7 +1159,8 @@ class SvnClientTest < Test::Unit::TestCase
ctx.relocate(@wc_path, @repos_uri, @repos_svnserve_uri)
make_context(log) do |ctx|
- assert_raises(Svn::Error::AuthnNoProvider) do
+ # ### TODO: Verify Svn::Error::AuthnNoProvider in error chain
+ assert_raises(Svn::Error::RaCannotCreateSession) do
ctx.cat(path)
end
end
@@ -1227,10 +1232,12 @@ class SvnClientTest < Test::Unit::TestCase
end
ctx.ci(@wc_path)
- assert_equal([full_path2.to_s].sort,
+ assert_equal([full_path2.to_s, '.'].sort,
infos.collect{|path, notify| path}.sort)
path2_notify = infos.assoc(full_path2.to_s)[1]
assert(path2_notify.commit_added?)
+ finalizing_notify = infos.assoc('.')[1]
+ assert(finalizing_notify.action == Svn::Wc::NOTIFY_COMMIT_FINALIZING)
assert_equal(File.open(path1) {|f| f.read},
File.open(path2) {|f| f.read})
end
@@ -1258,12 +1265,16 @@ class SvnClientTest < Test::Unit::TestCase
end
ctx.ci(@wc_path)
- assert_equal([path1, path2].sort.collect{|p|File.expand_path(p)},
+ assert_equal([path1, path2].collect do |p|
+ File.expand_path(p)
+ end.push('.').sort,
infos.collect{|path, notify| path}.sort)
path1_notify = infos.assoc(File.expand_path(path1))[1]
assert(path1_notify.commit_deleted?)
path2_notify = infos.assoc(File.expand_path(path2))[1]
assert(path2_notify.commit_added?)
+ finalizing_notify = infos.assoc('.')[1]
+ assert(finalizing_notify.action == Svn::Wc::NOTIFY_COMMIT_FINALIZING)
assert_equal(src, File.open(path2) {|f| f.read})
end
end
@@ -1302,7 +1313,9 @@ class SvnClientTest < Test::Unit::TestCase
paths = notifies.collect do |notify|
notify.path
end
- assert_equal([path1, path2, path2].sort.collect{|p|File.expand_path(p)},
+ assert_equal([path1, path2, path2].collect do |p|
+ File.expand_path(p)
+ end.push('.').sort,
paths.sort)
deleted_paths = notifies.find_all do |notify|
@@ -1329,6 +1342,13 @@ class SvnClientTest < Test::Unit::TestCase
assert_equal([path2].sort.collect{|p|File.expand_path(p)},
postfix_txdelta_paths.sort)
+ finalizing_paths = notifies.find_all do |notify|
+ notify.action == Svn::Wc::NOTIFY_COMMIT_FINALIZING
+ end.collect do |notify|
+ notify.path
+ end
+ assert_equal(['.'], finalizing_paths)
+
assert_equal(src2, File.open(path2) {|f| f.read})
end
end
@@ -2022,7 +2042,8 @@ class SvnClientTest < Test::Unit::TestCase
end
Svn::Client::Context.new do |ctx|
- assert_raises(Svn::Error::AuthnNoProvider) do
+ # ### TODO: Verify Svn::Error::AuthnNoProvider in error chain
+ assert_raises(Svn::Error::RaCannotCreateSession) do
ctx.cat(svnserve_uri)
end
@@ -2031,7 +2052,8 @@ class SvnClientTest < Test::Unit::TestCase
cred.password = @password
cred.may_save = false
end
- assert_raises(Svn::Error::RaNotAuthorized) do
+ # ### TODO: Verify Svn::Error::RaNotAuthorized in error chain
+ assert_raises(Svn::Error::RaCannotCreateSession) do
ctx.cat(svnserve_uri)
end
@@ -2040,7 +2062,8 @@ class SvnClientTest < Test::Unit::TestCase
cred.password = "wrong-#{@password}"
cred.may_save = false
end
- assert_raises(Svn::Error::RaNotAuthorized) do
+ # ### TODO: Verify Svn::Error::RaNotAuthorized in error chain
+ assert_raises(Svn::Error::RaCannotCreateSession) do
ctx.cat(svnserve_uri)
end
@@ -2071,7 +2094,8 @@ class SvnClientTest < Test::Unit::TestCase
ctx = Svn::Client::Context.new
setup_auth_baton(ctx.auth_baton)
ctx.send(method)
- assert_raises(Svn::Error::RaNotAuthorized) do
+ # ### Verify Svn::Error::RaNotAuthorized in chain
+ assert_raises(Svn::Error::RaCannotCreateSession) do
ctx.cat(svnserve_uri)
end
@@ -2219,8 +2243,8 @@ class SvnClientTest < Test::Unit::TestCase
items = nil
ctx.cp(path, repos_uri2)
- assert_equal([nil], items.collect {|item| item.wcprop_changes})
- assert_equal([nil], items.collect {|item| item.incoming_prop_changes})
+ assert_equal([[]], items.collect {|item| item.wcprop_changes})
+ assert_equal([[]], items.collect {|item| item.incoming_prop_changes})
assert_equal([nil], items.collect {|item| item.outgoing_prop_changes})
end
end
@@ -2493,7 +2517,7 @@ class SvnClientTest < Test::Unit::TestCase
assert_not_nil(info)
assert_equal(3, info.revision)
- assert_equal("<<<<<<< .mine\nafter\n=======\nbefore\n>>>>>>> .r2\n",
+ assert_equal("<<<<<<< .mine\nafter\n||||||| .r1\n=======\nbefore\n>>>>>>> .r2\n",
File.read(path))
end
end
diff --git a/subversion/bindings/swig/ruby/test/test_core.rb b/subversion/bindings/swig/ruby/test/test_core.rb
index 5f05448..9d5743c 100644
--- a/subversion/bindings/swig/ruby/test/test_core.rb
+++ b/subversion/bindings/swig/ruby/test/test_core.rb
@@ -33,9 +33,9 @@ class SvnCoreTest < Test::Unit::TestCase
setup_default_variables
@config_file = File.join(@config_path, Svn::Core::CONFIG_CATEGORY_CONFIG)
@servers_file = File.join(@config_path, Svn::Core::CONFIG_CATEGORY_SERVERS)
+ setup_tmp
setup_repository(@repos_path)
setup_config
- setup_tmp
end
def teardown
diff --git a/subversion/bindings/swig/ruby/test/test_fs.rb b/subversion/bindings/swig/ruby/test/test_fs.rb
index 2c693a1..8808055 100644
--- a/subversion/bindings/swig/ruby/test/test_fs.rb
+++ b/subversion/bindings/swig/ruby/test/test_fs.rb
@@ -110,7 +110,8 @@ class SvnFsTest < Test::Unit::TestCase
FileUtils.mkdir_p(fs_path)
make_context(log) do |ctx|
- assert_raises(Svn::Error::RaLocalReposOpenFailed) do
+ # ### Verify Svn::Error::RaLocalReposOpenFailed in chain
+ assert_raises(Svn::Error::RaCannotCreateSession) do
ctx.log_message(path, rev)
end
@@ -209,10 +210,14 @@ class SvnFsTest < Test::Unit::TestCase
ctx.commit(@wc_path)
end
- assert_raises(Svn::Error::FsNoSuchTransaction) do
+ assert_raises(Svn::Error::FsMalformedTxnId) do
@fs.open_txn("NOT-EXIST")
end
+ assert_raises(Svn::Error::FsNoSuchTransaction) do
+ @fs.open_txn("9-9")
+ end
+
start_time = Time.now
txn1 = @fs.transaction
assert_equal([Svn::Core::PROP_REVISION_DATE], txn1.proplist.keys)
diff --git a/subversion/bindings/swig/ruby/test/test_ra.rb b/subversion/bindings/swig/ruby/test/test_ra.rb
index 7fbbe16..1d20ca4 100644
--- a/subversion/bindings/swig/ruby/test/test_ra.rb
+++ b/subversion/bindings/swig/ruby/test/test_ra.rb
@@ -38,8 +38,7 @@ class SvnRaTest < Test::Unit::TestCase
def test_uuid
Svn::Ra::Session.open(@repos_uri) do |session|
- assert_equal(File.read(File.join(@repos_path, "db", "uuid")).strip,
- session.uuid)
+ assert_equal(@repos.fs.uuid, session.uuid)
end
end
diff --git a/subversion/bindings/swig/ruby/test/test_repos.rb b/subversion/bindings/swig/ruby/test/test_repos.rb
index 89ca8c1..1c0c366 100644
--- a/subversion/bindings/swig/ruby/test/test_repos.rb
+++ b/subversion/bindings/swig/ruby/test/test_repos.rb
@@ -679,7 +679,7 @@ class SvnReposTest < Test::Unit::TestCase
dest_path = File.join(@tmp_path, "dest")
Svn::Repos.create(dest_path) do |repos|
assert_raises(NoMethodError) do
- repos.load_fs(nil)
+ repos.load_fs(Object.new)
end
end
diff --git a/subversion/bindings/swig/ruby/test/test_wc.rb b/subversion/bindings/swig/ruby/test/test_wc.rb
index 3a2aa65..763cbf6 100644
--- a/subversion/bindings/swig/ruby/test/test_wc.rb
+++ b/subversion/bindings/swig/ruby/test/test_wc.rb
@@ -1068,15 +1068,10 @@ EOE
def test_context_create
assert_nothing_raised do
- result = Svn::Wc::Context.create do |context|
+ Svn::Wc::Context.create do |context|
assert_not_nil context
assert_kind_of Svn::Wc::Context, context
end
- if RUBY_VERSION > '1.9'
- assert_equal(result,true)
- else
- assert_nil result
- end
end
end
diff --git a/subversion/bindings/swig/ruby/test/util.rb b/subversion/bindings/swig/ruby/test/util.rb
index ee1a7ac..06ae7ba 100644
--- a/subversion/bindings/swig/ruby/test/util.rb
+++ b/subversion/bindings/swig/ruby/test/util.rb
@@ -1,4 +1,4 @@
-# ====================================================================
+# ====================================================================
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
@@ -79,10 +79,11 @@ module SvnTestUtil
@wc_path = File.join(@tmp_path, "wc")
@import_path = File.join(@tmp_path, "import")
@repos_path = File.join(@tmp_path, "repos")
+ @svnserve_pid_file = File.join(@tmp_path, "svnserve.pid")
@full_repos_path = File.expand_path(@repos_path)
@repos_uri = "file://#{@full_repos_path.sub(/^\/?/, '/')}"
- @config_path = "config"
+ @config_path = File.join(@tmp_path, "config")
@greek = Greek.new(@tmp_path, @import_path, @wc_path, @repos_uri)
end
@@ -90,7 +91,7 @@ module SvnTestUtil
@need_svnserve = need_svnserve
setup_default_variables
setup_tmp
- setup_tmp(@import_path)
+ setup_tmp(@import_path)
setup_repository
add_hooks
setup_svnserve if @need_svnserve
@@ -233,6 +234,7 @@ realm = #{@realm}
cred.username = @author
cred.may_save = false
end
+ ctx.config = Svn::Core::Config.config(@config_path)
setup_auth_baton(ctx.auth_baton)
return ctx unless block_given?
begin
diff --git a/subversion/bindings/swig/ruby/test/windows_util.rb b/subversion/bindings/swig/ruby/test/windows_util.rb
index 793d096..726527a 100644
--- a/subversion/bindings/swig/ruby/test/windows_util.rb
+++ b/subversion/bindings/swig/ruby/test/windows_util.rb
@@ -34,149 +34,34 @@ module SvnTestUtil
end
end
- def service_control(command, args={})
- args = args.collect do |key, value|
- "#{key}= #{Svnserve.escape_value(value)}"
- end.join(" ")
- result = `sc #{command} #{service_name} #{args}`
- if result.match(/FAILED/)
- raise "Failed to #{command} #{service_name}: #{args}"
- end
- /^\s*STATE\s*:\s\d+\s*(.*?)\s*$/ =~ result
- $1
- end
-
- def grant_everyone_full_access(dir)
- dir = dir.tr(File::SEPARATOR, File::ALT_SEPARATOR)
- `cacls #{Svnserve.escape_value(dir)} /T /E /P Everyone:F`
- end
-
- def service_exists?
- begin
- service_control("query")
- true
- rescue
- false
- end
- end
-
- def service_stopped?
- "STOPPED" == service_control("query") rescue true
- end
-
def setup_svnserve
@svnserve_port = @svnserve_ports.last
@repos_svnserve_uri = "svn://#{@svnserve_host}:#{@svnserve_port}"
- grant_everyone_full_access(@full_repos_path)
@@service_created ||= begin
@@service_created = true
- service_control('stop') unless service_stopped?
- service_control('delete') if service_exists?
-
- svnserve_dir = File.expand_path("svnserve")
- FileUtils.mkdir_p(svnserve_dir)
- at_exit do
- service_control('stop') unless service_stopped?
- service_control('delete') if service_exists?
- FileUtils.rm_rf(svnserve_dir)
- end
- trap("INT") do
- service_control('stop') unless service_stopped?
- service_control('delete') if service_exists?
- FileUtils.rm_rf(svnserve_dir)
- end
- config = SetupEnvironment.gen_make_opts
- apr_version_include = Pathname.new(config["--with-apr"]) +
- 'include' + 'apr_version.h'
- %r'^\s*#define\s+APR_MAJOR_VERSION\s+(\d+)' =~ apr_version_include.read
- apr_major_version = $1 == '0' ? '' : "-#{$1}"
-
- cwd = Dir.getwd
- targets = %W(svnserve.exe libsvn_subr-1.dll libsvn_repos-1.dll
- libsvn_fs-1.dll libsvn_delta-1.dll
- libaprutil#{apr_major_version}.dll
- libapr#{apr_major_version}.dll
- libapriconv#{apr_major_version}.dll
- libdb??.dll libdb??d.dll)
- ENV["PATH"].split(";").each do |path|
-
- # Change the cwd to path, but ignore non-existent paths.
- begin
- Dir.chdir(path)
- rescue Errno::ENOENT
- next
- end
-
- found_targets = []
- targets.each do |target|
- matching_paths = Dir.glob(target)
- matching_paths.each do |target_path|
- target_path = File.join(path.tr('\\', '/'), target_path)
- if File.exists?(target_path)
- found_targets << target
- retried = 0
- begin
- FileUtils.cp(target_path, svnserve_dir)
- rescue Errno::EACCES
- # On Windows the tests frequently fail spuriously with a
- # 'Errno::EACCES: Permission denied - svnserve.exe' error.
- # Sleeping for a few seconds avoids this.
- if retried > 5
- # Give up!
- raise
- else
- # Wait a sec...
- sleep(1)
- retried += 1
- retry
- end
- end
- end
- end
- end
- targets -= found_targets
- break if targets.empty?
- end
- Dir.chdir(cwd)
- # Remove optional targets instead of raising below. If they are really
- # needed, svnserve won't start anyway.
- targets -= %W[libapriconv#{apr_major_version}.dll]
- # Ditto these four, since svnserve.exe might be a static build.
- targets -= %W[libsvn_subr-1.dll]
- targets -= %W[libsvn_repos-1.dll]
- targets -= %W[libsvn_fs-1.dll]
- targets -= %W[libsvn_delta-1.dll]
-
- unless targets.empty?
- raise "can't find libraries to work svnserve: #{targets.join(' ')}"
- end
-
- grant_everyone_full_access(svnserve_dir)
-
- svnserve_path = File.join(svnserve_dir, "svnserve.exe")
- svnserve_path = svnserve_path.tr(File::SEPARATOR,
- File::ALT_SEPARATOR)
+ top_directory = File.join(File.dirname(__FILE__), "..", "..", "..", "..", "..")
+ build_type = ENV["BUILD_TYPE"] || "Release"
+ svnserve_path = File.join(top_directory, build_type, 'subversion', 'svnserve', 'svnserve.exe')
svnserve_path = Svnserve.escape_value(svnserve_path)
root = @full_repos_path.tr(File::SEPARATOR, File::ALT_SEPARATOR)
+ FileUtils.mkdir_p(root)
- args = ["--service", "--root", Svnserve.escape_value(root),
- "--listen-host", @svnserve_host,
- "--listen-port", @svnserve_port]
+ IO.popen("#{svnserve_path} -d -r #{Svnserve.escape_value(root)} --listen-host #{@svnserve_host} --listen-port #{@svnserve_port} --pid-file #{@svnserve_pid_file}")
user = ENV["USERNAME"] || Etc.getlogin
- service_control('create',
- [["binPath", "#{svnserve_path} #{args.join(' ')}"],
- ["DisplayName", service_name],
- ["type", "own"]])
+
+ # Give svnserve a bit of time to start
+ sleep 1
end
- service_control('start')
true
end
def teardown_svnserve
- service_control('stop') unless service_stopped?
+ # TODO:
+ # Load @svnserve_pid_file
+ # Kill process
end
def add_pre_revprop_change_hook