diff options
Diffstat (limited to 'subversion/bindings/swig/ruby/core.c')
-rw-r--r-- | subversion/bindings/swig/ruby/core.c | 2593 |
1 files changed, 2211 insertions, 382 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; |