diff options
Diffstat (limited to 'subversion/bindings/swig/ruby/core.c')
-rw-r--r-- | subversion/bindings/swig/ruby/core.c | 7623 |
1 files changed, 6261 insertions, 1362 deletions
diff --git a/subversion/bindings/swig/ruby/core.c b/subversion/bindings/swig/ruby/core.c index 90488c0..69fd53d 100644 --- a/subversion/bindings/swig/ruby/core.c +++ b/subversion/bindings/swig/ruby/core.c @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 + * Version 2.0.9 * * 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 @@ -1374,7 +1374,7 @@ SWIG_Ruby_AppendOutput(VALUE target, VALUE o) { /* Runtime API */ -#define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule() +#define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule(clientdata) #define SWIG_SetModule(clientdata, pointer) SWIG_Ruby_SetModule(pointer) @@ -1528,7 +1528,7 @@ SWIG_Ruby_NewPointerObj(void *ptr, swig_type_info *type, int flags) downcast methods. */ if (obj != Qnil) { VALUE value = rb_iv_get(obj, "@__swigtype__"); - char* type_name = RSTRING_PTR(value); + const char* type_name = RSTRING_PTR(value); if (strcmp(type->name, type_name) == 0) { return obj; @@ -1710,7 +1710,7 @@ SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty) { } SWIGRUNTIME swig_module_info * -SWIG_Ruby_GetModule(void) +SWIG_Ruby_GetModule(void *SWIGUNUSEDPARM(clientdata)) { VALUE pointer; swig_module_info *ret = 0; @@ -1813,125 +1813,135 @@ int SWIG_Ruby_arity( VALUE proc, int minimal ) #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_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_void_p_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[27] -#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[28] -#define SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void__int swig_types[29] -#define SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void_p_apr_pool_t__int swig_types[30] -#define SWIGTYPE_p_f_p_q_const__char_p_void__int swig_types[31] -#define SWIGTYPE_p_f_p_q_const__char_p_void_p_apr_pool_t__int swig_types[32] -#define SWIGTYPE_p_f_p_q_const__svn_commit_info_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[33] -#define SWIGTYPE_p_f_p_svn_boolean_t_p_q_const__char_p_void_p_apr_pool_t__p_svn_error_t swig_types[34] -#define SWIGTYPE_p_f_p_svn_boolean_t_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[35] -#define SWIGTYPE_p_f_p_svn_location_segment_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[36] -#define SWIGTYPE_p_f_p_void__p_svn_error_t swig_types[37] -#define SWIGTYPE_p_f_p_void__void swig_types[38] -#define SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t swig_types[39] -#define SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_p_svn_diff_t__p_svn_error_t swig_types[40] -#define SWIGTYPE_p_f_p_void_apr_size_t__p_svn_error_t swig_types[41] -#define SWIGTYPE_p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[42] -#define SWIGTYPE_p_f_p_void_p_apr_off_t_p_apr_off_t_p_q_const__svn_diff_datasource_e_apr_size_t__p_svn_error_t swig_types[43] -#define SWIGTYPE_p_f_p_void_p_char_p_apr_size_t__p_svn_error_t swig_types[44] -#define SWIGTYPE_p_f_p_void_p_p_svn_stream_mark_t_p_apr_pool_t__p_svn_error_t swig_types[45] -#define SWIGTYPE_p_f_p_void_p_q_const__char_p_apr_size_t__p_svn_error_t swig_types[46] -#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[47] -#define SWIGTYPE_p_f_p_void_p_q_const__svn_stream_mark_t__p_svn_error_t swig_types[48] -#define SWIGTYPE_p_f_p_void_p_svn_log_entry_t_p_apr_pool_t__p_svn_error_t swig_types[49] -#define SWIGTYPE_p_f_p_void_p_void__void swig_types[50] -#define SWIGTYPE_p_f_p_void_p_void_p_void_p_int__p_svn_error_t swig_types[51] -#define SWIGTYPE_p_f_p_void_svn_diff_datasource_e__p_svn_error_t swig_types[52] -#define SWIGTYPE_p_f_svn_revnum_t_p_q_const__char_p_q_const__char_p_void__p_svn_error_t swig_types[53] -#define SWIGTYPE_p_f_void__p_svn_version_t swig_types[54] -#define SWIGTYPE_p_int swig_types[55] -#define SWIGTYPE_p_long swig_types[56] -#define SWIGTYPE_p_p_apr_array_header_t swig_types[57] -#define SWIGTYPE_p_p_apr_file_t swig_types[58] -#define SWIGTYPE_p_p_apr_hash_t swig_types[59] -#define SWIGTYPE_p_p_char swig_types[60] -#define SWIGTYPE_p_p_svn_auth_cred_simple_t swig_types[61] -#define SWIGTYPE_p_p_svn_auth_cred_ssl_client_cert_pw_t swig_types[62] -#define SWIGTYPE_p_p_svn_auth_cred_ssl_client_cert_t swig_types[63] -#define SWIGTYPE_p_p_svn_auth_cred_ssl_server_trust_t swig_types[64] -#define SWIGTYPE_p_p_svn_auth_cred_username_t swig_types[65] -#define SWIGTYPE_p_p_svn_auth_iterstate_t swig_types[66] -#define SWIGTYPE_p_p_svn_auth_provider_object_t swig_types[67] -#define SWIGTYPE_p_p_svn_checksum_t swig_types[68] -#define SWIGTYPE_p_p_svn_config_t swig_types[69] -#define SWIGTYPE_p_p_svn_diff_t swig_types[70] -#define SWIGTYPE_p_p_svn_io_dirent2_t swig_types[71] -#define SWIGTYPE_p_p_svn_patch_file_t swig_types[72] -#define SWIGTYPE_p_p_svn_patch_t swig_types[73] -#define SWIGTYPE_p_p_svn_stream_mark_t swig_types[74] -#define SWIGTYPE_p_p_svn_stream_t swig_types[75] -#define SWIGTYPE_p_p_svn_string_t swig_types[76] -#define SWIGTYPE_p_p_svn_stringbuf_t swig_types[77] -#define SWIGTYPE_p_p_void swig_types[78] -#define SWIGTYPE_p_svn_auth_baton_t swig_types[79] -#define SWIGTYPE_p_svn_auth_cred_simple_t swig_types[80] -#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t swig_types[81] -#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t swig_types[82] -#define SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t swig_types[83] -#define SWIGTYPE_p_svn_auth_cred_username_t swig_types[84] -#define SWIGTYPE_p_svn_auth_iterstate_t swig_types[85] -#define SWIGTYPE_p_svn_auth_provider_object_t swig_types[86] -#define SWIGTYPE_p_svn_auth_provider_t swig_types[87] -#define SWIGTYPE_p_svn_auth_ssl_server_cert_info_t swig_types[88] -#define SWIGTYPE_p_svn_checksum_kind_t swig_types[89] -#define SWIGTYPE_p_svn_commit_info_t swig_types[90] -#define SWIGTYPE_p_svn_config_t swig_types[91] -#define SWIGTYPE_p_svn_depth_t swig_types[92] -#define SWIGTYPE_p_svn_diff_conflict_display_style_t swig_types[93] -#define SWIGTYPE_p_svn_diff_datasource_e swig_types[94] -#define SWIGTYPE_p_svn_diff_file_ignore_space_t swig_types[95] -#define SWIGTYPE_p_svn_diff_file_options_t swig_types[96] -#define SWIGTYPE_p_svn_diff_fns2_t swig_types[97] -#define SWIGTYPE_p_svn_diff_fns_t swig_types[98] -#define SWIGTYPE_p_svn_diff_hunk_t swig_types[99] -#define SWIGTYPE_p_svn_diff_operation_kind_e swig_types[100] -#define SWIGTYPE_p_svn_diff_output_fns_t swig_types[101] -#define SWIGTYPE_p_svn_diff_t swig_types[102] -#define SWIGTYPE_p_svn_dirent_t swig_types[103] -#define SWIGTYPE_p_svn_errno_t swig_types[104] -#define SWIGTYPE_p_svn_error_t swig_types[105] -#define SWIGTYPE_p_svn_io_dirent2_t swig_types[106] -#define SWIGTYPE_p_svn_io_dirent_t swig_types[107] -#define SWIGTYPE_p_svn_io_file_del_t swig_types[108] -#define SWIGTYPE_p_svn_location_segment_t swig_types[109] -#define SWIGTYPE_p_svn_lock_t swig_types[110] -#define SWIGTYPE_p_svn_log_changed_path2_t swig_types[111] -#define SWIGTYPE_p_svn_log_changed_path_t swig_types[112] -#define SWIGTYPE_p_svn_log_entry_t swig_types[113] -#define SWIGTYPE_p_svn_merge_range_t swig_types[114] -#define SWIGTYPE_p_svn_mergeinfo_inheritance_t swig_types[115] -#define SWIGTYPE_p_svn_node_kind_t swig_types[116] -#define SWIGTYPE_p_svn_opt_revision_range_t swig_types[117] -#define SWIGTYPE_p_svn_opt_revision_t swig_types[118] -#define SWIGTYPE_p_svn_opt_revision_value_t swig_types[119] -#define SWIGTYPE_p_svn_opt_subcommand_desc2_t swig_types[120] -#define SWIGTYPE_p_svn_opt_subcommand_desc2_t_desc_overrides swig_types[121] -#define SWIGTYPE_p_svn_opt_subcommand_desc_t swig_types[122] -#define SWIGTYPE_p_svn_patch_file_t swig_types[123] -#define SWIGTYPE_p_svn_patch_t swig_types[124] -#define SWIGTYPE_p_svn_prop_kind swig_types[125] -#define SWIGTYPE_p_svn_prop_patch_t swig_types[126] -#define SWIGTYPE_p_svn_prop_t swig_types[127] -#define SWIGTYPE_p_svn_stream_mark_t swig_types[128] -#define SWIGTYPE_p_svn_stream_t swig_types[129] -#define SWIGTYPE_p_svn_string_t swig_types[130] -#define SWIGTYPE_p_svn_stringbuf_t swig_types[131] -#define SWIGTYPE_p_svn_tristate_t swig_types[132] -#define SWIGTYPE_p_svn_version_checklist_t swig_types[133] -#define SWIGTYPE_p_svn_version_t swig_types[134] -#define SWIGTYPE_p_unsigned_char swig_types[135] -#define SWIGTYPE_p_unsigned_long swig_types[136] -#define SWIGTYPE_p_void swig_types[137] -static swig_type_info *swig_types[139]; -static swig_module_info swig_module = {swig_types, 138, 0, 0, 0, 0}; +#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_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] +#define SWIGTYPE_p_f_p_svn_boolean_t_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[38] +#define SWIGTYPE_p_f_p_svn_location_segment_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[39] +#define SWIGTYPE_p_f_p_void__p_svn_error_t swig_types[40] +#define SWIGTYPE_p_f_p_void__void swig_types[41] +#define SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t swig_types[42] +#define SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_p_svn_diff_t__p_svn_error_t swig_types[43] +#define SWIGTYPE_p_f_p_void_apr_size_t__p_svn_error_t swig_types[44] +#define SWIGTYPE_p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[45] +#define SWIGTYPE_p_f_p_void_p_apr_off_t_p_apr_off_t_p_q_const__svn_diff_datasource_e_apr_size_t__p_svn_error_t swig_types[46] +#define SWIGTYPE_p_f_p_void_p_char_p_apr_size_t__p_svn_error_t swig_types[47] +#define SWIGTYPE_p_f_p_void_p_p_svn_stream_mark_t_p_apr_pool_t__p_svn_error_t swig_types[48] +#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 SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) @@ -1946,7 +1956,7 @@ static VALUE mCore; #define SWIG_RUBY_THREAD_END_BLOCK -#define SWIGVERSION 0x020004 +#define SWIGVERSION 0x020009 #define SWIG_VERSION SWIGVERSION @@ -2052,11 +2062,7 @@ SWIGINTERN int SWIG_AsCharPtrAndSize(VALUE obj, char** cptr, size_t* psize, int *alloc) { if (TYPE(obj) == T_STRING) { - #if defined(StringValuePtr) char *cstr = StringValuePtr(obj); - #else - char *cstr = STR2CSTR(obj); - #endif size_t size = RSTRING_LEN(obj) + 1; if (cptr) { if (alloc) { @@ -2101,7 +2107,7 @@ SWIG_ruby_failed(void) } -/*@SWIG:/home/pm/sw/subversion/release/prefix/share/swig/2.0.4/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/ +/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/ SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args) { VALUE obj = args[0]; @@ -2169,10 +2175,10 @@ SWIG_FromCharPtr(const char *cptr) return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0)); } -SWIGINTERN svn_commit_info_t *new_svn_commit_info_t(apr_pool_t *pool){ +SWIGINTERN struct svn_commit_info_t *new_svn_commit_info_t(apr_pool_t *pool){ return svn_create_commit_info(pool); } -SWIGINTERN svn_commit_info_t *svn_commit_info_t_dup(svn_commit_info_t *self,apr_pool_t *pool){ +SWIGINTERN svn_commit_info_t *svn_commit_info_t_dup(struct svn_commit_info_t *self,apr_pool_t *pool){ return svn_commit_info_dup(self, pool); } @@ -2225,7 +2231,7 @@ SWIG_From_char (char c) return SWIG_FromCharPtrAndSize(&c,1); } -SWIGINTERN svn_merge_range_t *new_svn_merge_range_t(svn_revnum_t start,svn_revnum_t end,svn_boolean_t inheritable,apr_pool_t *pool){ +SWIGINTERN struct svn_merge_range_t *new_svn_merge_range_t(svn_revnum_t start,svn_revnum_t end,svn_boolean_t inheritable,apr_pool_t *pool){ svn_merge_range_t *self; self = apr_palloc(pool, sizeof(svn_merge_range_t)); self->start = start; @@ -2233,7 +2239,7 @@ SWIGINTERN svn_merge_range_t *new_svn_merge_range_t(svn_revnum_t start,svn_revnu self->inheritable = inheritable; return self; } -SWIGINTERN svn_merge_range_t *svn_merge_range_t_dup(svn_merge_range_t *self,apr_pool_t *pool){ +SWIGINTERN svn_merge_range_t *svn_merge_range_t_dup(struct svn_merge_range_t *self,apr_pool_t *pool){ return svn_merge_range_dup(self, pool); } @@ -2304,10 +2310,15 @@ typedef struct { +#include "svn_cmdline.h" + + + + #include "svn_auth.h" -/*@SWIG:/home/pm/sw/subversion/release/prefix/share/swig/2.0.4/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/ +/*@SWIG:/tmp/svnrm/prefix/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/ SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args) { VALUE obj = args[0]; @@ -2428,6 +2439,11 @@ static svn_boolean_t svn_config_invoke_enumerator2( return _obj(name, value, baton, pool); } +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); +} + #include "svn_utf.h" @@ -2488,6 +2504,11 @@ static svn_error_t * svn_stream_invoke_seek_fn( return _obj(baton, mark); } +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); +} + static svn_error_t * svn_io_invoke_walk_func( svn_io_walk_func_t _obj, void *baton, const char *path, const apr_finfo_t *finfo, apr_pool_t *pool) { return _obj(baton, path, finfo, pool); @@ -2495,6 +2516,34 @@ static svn_error_t * svn_io_invoke_walk_func( +#include "svn_checksum.h" + + + + +/* Helper function to set the gnome-keyring unlock prompt function. This + * C function accepts an auth baton, a function and a prompt baton, but + * the below callback_typemap uses both the function and the prompt + * baton, so the resulting binding has just two arguments: The auth + * baton and the prompt function. + * The prompt function should again have two arguments: The keyring name + * (string) and a pool (except for the ruby version, which doesn't have + * the pool argument). It should return the entered password (string). + * This binding generated for this function generates a reference to the + * prompt function that was passed into this. The caller should store + * that reference somewhere, to prevent the function from being garbage + * collected... + */ +static void svn_auth_set_gnome_keyring_unlock_prompt_func(svn_auth_baton_t *ab, + svn_auth_gnome_keyring_unlock_prompt_func_t prompt_func, + void *prompt_baton) { + svn_auth_set_parameter(ab, SVN_AUTH_PARAM_GNOME_KEYRING_UNLOCK_PROMPT_FUNC, + prompt_func); + svn_auth_set_parameter(ab, SVN_AUTH_PARAM_GNOME_KEYRING_UNLOCK_PROMPT_BATON, + prompt_baton); +} + + #include "svn_md5.h" @@ -2591,7 +2640,7 @@ SWIGINTERN struct svn_auth_baton_t *new_svn_auth_baton_t(apr_array_header_t *pro #include "svn_diff.h" -SWIGINTERN svn_diff_file_options_t *new_svn_diff_file_options_t(apr_pool_t *pool){ +SWIGINTERN struct svn_diff_file_options_t *new_svn_diff_file_options_t(apr_pool_t *pool){ return svn_diff_file_options_create(pool); } @@ -2777,15 +2826,15 @@ svn_swig_mergeinfo_sort(apr_hash_t **mergeinfo_inout, apr_pool_t *pool) } static svn_error_t * -svn_swig_rangelist_merge(apr_array_header_t **rangelist_inout, - apr_array_header_t *changes, +svn_swig_rangelist_merge(svn_rangelist_t **rangelist_inout, + svn_rangelist_t *changes, apr_pool_t *pool) { return svn_rangelist_merge(rangelist_inout, changes, pool); } static svn_error_t * -svn_swig_rangelist_reverse(apr_array_header_t **rangelist_inout, +svn_swig_rangelist_reverse(svn_rangelist_t **rangelist_inout, apr_pool_t *pool) { return svn_rangelist_reverse(*rangelist_inout, pool); @@ -3301,11 +3350,11 @@ fail: } -swig_class SwigClassSvn_error_t; +static swig_class SwigClassSvn_error_t; SWIGINTERN VALUE _wrap_svn_error_t_apr_err_set(int argc, VALUE *argv, VALUE self) { - svn_error_t *arg1 = (svn_error_t *) 0 ; + struct svn_error_t *arg1 = (struct svn_error_t *) 0 ; apr_status_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -3317,9 +3366,9 @@ _wrap_svn_error_t_apr_err_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_error_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_error_t *","apr_err", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_error_t *","apr_err", 1, self )); } - arg1 = (svn_error_t *)(argp1); + arg1 = (struct svn_error_t *)(argp1); ecode2 = SWIG_AsVal_int(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "apr_status_t","apr_err", 2, argv[0] )); @@ -3334,7 +3383,7 @@ fail: SWIGINTERN VALUE _wrap_svn_error_t_apr_err_get(int argc, VALUE *argv, VALUE self) { - svn_error_t *arg1 = (svn_error_t *) 0 ; + struct svn_error_t *arg1 = (struct svn_error_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; apr_status_t result; @@ -3345,9 +3394,9 @@ _wrap_svn_error_t_apr_err_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_error_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_error_t *","apr_err", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_error_t *","apr_err", 1, self )); } - arg1 = (svn_error_t *)(argp1); + arg1 = (struct svn_error_t *)(argp1); result = (apr_status_t) ((arg1)->apr_err); vresult = SWIG_From_int((int)(result)); return vresult; @@ -3358,7 +3407,7 @@ fail: SWIGINTERN VALUE _wrap_svn_error_t_message_get(int argc, VALUE *argv, VALUE self) { - svn_error_t *arg1 = (svn_error_t *) 0 ; + struct svn_error_t *arg1 = (struct svn_error_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -3369,9 +3418,9 @@ _wrap_svn_error_t_message_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_error_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_error_t *","message", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_error_t *","message", 1, self )); } - arg1 = (svn_error_t *)(argp1); + arg1 = (struct svn_error_t *)(argp1); result = (char *) ((arg1)->message); { if (result) { @@ -3388,7 +3437,7 @@ fail: SWIGINTERN VALUE _wrap_svn_error_t_child_set(int argc, VALUE *argv, VALUE self) { - svn_error_t *arg1 = (svn_error_t *) 0 ; + struct svn_error_t *arg1 = (struct svn_error_t *) 0 ; struct svn_error_t *arg2 = (struct svn_error_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -3400,9 +3449,9 @@ _wrap_svn_error_t_child_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_error_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_error_t *","child", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_error_t *","child", 1, self )); } - arg1 = (svn_error_t *)(argp1); + arg1 = (struct svn_error_t *)(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_error_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "struct svn_error_t *","child", 2, argv[0] )); @@ -3417,7 +3466,7 @@ fail: SWIGINTERN VALUE _wrap_svn_error_t_child_get(int argc, VALUE *argv, VALUE self) { - svn_error_t *arg1 = (svn_error_t *) 0 ; + struct svn_error_t *arg1 = (struct svn_error_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; struct svn_error_t *result = 0 ; @@ -3428,9 +3477,9 @@ _wrap_svn_error_t_child_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_error_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_error_t *","child", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_error_t *","child", 1, self )); } - arg1 = (svn_error_t *)(argp1); + arg1 = (struct svn_error_t *)(argp1); result = (struct svn_error_t *) ((arg1)->child); vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_error_t, 0 | 0 ); return vresult; @@ -3441,7 +3490,7 @@ fail: SWIGINTERN VALUE _wrap_svn_error_t_pool_set(int argc, VALUE *argv, VALUE self) { - svn_error_t *arg1 = (svn_error_t *) 0 ; + struct svn_error_t *arg1 = (struct svn_error_t *) 0 ; apr_pool_t *arg2 = (apr_pool_t *) 0 ; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; @@ -3458,9 +3507,9 @@ _wrap_svn_error_t_pool_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_error_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_error_t *","pool", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_error_t *","pool", 1, self )); } - arg1 = (svn_error_t *)(argp1); + arg1 = (struct svn_error_t *)(argp1); if (argc > 0) { } @@ -3487,7 +3536,7 @@ fail: SWIGINTERN VALUE _wrap_svn_error_t_pool_get(int argc, VALUE *argv, VALUE self) { - svn_error_t *arg1 = (svn_error_t *) 0 ; + struct svn_error_t *arg1 = (struct svn_error_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; apr_pool_t *result = 0 ; @@ -3498,9 +3547,9 @@ _wrap_svn_error_t_pool_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_error_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_error_t *","pool", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_error_t *","pool", 1, self )); } - arg1 = (svn_error_t *)(argp1); + arg1 = (struct svn_error_t *)(argp1); result = (apr_pool_t *) ((arg1)->pool); vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_apr_pool_t, 0 | 0 ); return vresult; @@ -3511,7 +3560,7 @@ fail: SWIGINTERN VALUE _wrap_svn_error_t_file_get(int argc, VALUE *argv, VALUE self) { - svn_error_t *arg1 = (svn_error_t *) 0 ; + struct svn_error_t *arg1 = (struct svn_error_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -3522,9 +3571,9 @@ _wrap_svn_error_t_file_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_error_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_error_t *","file", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_error_t *","file", 1, self )); } - arg1 = (svn_error_t *)(argp1); + arg1 = (struct svn_error_t *)(argp1); result = (char *) ((arg1)->file); { if (result) { @@ -3541,7 +3590,7 @@ fail: SWIGINTERN VALUE _wrap_svn_error_t_line_set(int argc, VALUE *argv, VALUE self) { - svn_error_t *arg1 = (svn_error_t *) 0 ; + struct svn_error_t *arg1 = (struct svn_error_t *) 0 ; long arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -3553,9 +3602,9 @@ _wrap_svn_error_t_line_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_error_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_error_t *","line", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_error_t *","line", 1, self )); } - arg1 = (svn_error_t *)(argp1); + arg1 = (struct svn_error_t *)(argp1); ecode2 = SWIG_AsVal_long(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","line", 2, argv[0] )); @@ -3570,7 +3619,7 @@ fail: SWIGINTERN VALUE _wrap_svn_error_t_line_get(int argc, VALUE *argv, VALUE self) { - svn_error_t *arg1 = (svn_error_t *) 0 ; + struct svn_error_t *arg1 = (struct svn_error_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; long result; @@ -3581,9 +3630,9 @@ _wrap_svn_error_t_line_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_error_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_error_t *","line", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_error_t *","line", 1, self )); } - arg1 = (svn_error_t *)(argp1); + arg1 = (struct svn_error_t *)(argp1); result = (long) ((arg1)->line); vresult = SWIG_From_long((long)(result)); return vresult; @@ -3611,13 +3660,13 @@ _wrap_svn_error_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_error_t(int argc, VALUE *argv, VALUE self) { - svn_error_t *result = 0 ; + struct svn_error_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_error_t *)calloc(1, sizeof(svn_error_t)); + result = (struct svn_error_t *)calloc(1, sizeof(struct svn_error_t)); DATA_PTR(self) = result; @@ -3630,7 +3679,7 @@ fail: SWIGINTERN void -free_svn_error_t(svn_error_t *arg1) { +free_svn_error_t(struct svn_error_t *arg1) { free((char *) arg1); } @@ -3984,11 +4033,11 @@ fail: } -swig_class SwigClassSvn_dirent_t; +static swig_class SwigClassSvn_dirent_t; SWIGINTERN VALUE _wrap_svn_dirent_t_kind_set(int argc, VALUE *argv, VALUE self) { - svn_dirent_t *arg1 = (svn_dirent_t *) 0 ; + struct svn_dirent_t *arg1 = (struct svn_dirent_t *) 0 ; svn_node_kind_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -4000,9 +4049,9 @@ _wrap_svn_dirent_t_kind_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_dirent_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_dirent_t *","kind", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_dirent_t *","kind", 1, self )); } - arg1 = (svn_dirent_t *)(argp1); + arg1 = (struct svn_dirent_t *)(argp1); ecode2 = SWIG_AsVal_int(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_node_kind_t","kind", 2, argv[0] )); @@ -4017,7 +4066,7 @@ fail: SWIGINTERN VALUE _wrap_svn_dirent_t_kind_get(int argc, VALUE *argv, VALUE self) { - svn_dirent_t *arg1 = (svn_dirent_t *) 0 ; + struct svn_dirent_t *arg1 = (struct svn_dirent_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_node_kind_t result; @@ -4028,9 +4077,9 @@ _wrap_svn_dirent_t_kind_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_dirent_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_dirent_t *","kind", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_dirent_t *","kind", 1, self )); } - arg1 = (svn_dirent_t *)(argp1); + arg1 = (struct svn_dirent_t *)(argp1); result = (svn_node_kind_t) ((arg1)->kind); vresult = SWIG_From_int((int)(result)); return vresult; @@ -4059,7 +4108,7 @@ Size or Length of the svn_dirent_t. */ SWIGINTERN VALUE _wrap_svn_dirent_t_size_set(int argc, VALUE *argv, VALUE self) { - svn_dirent_t *arg1 = (svn_dirent_t *) 0 ; + struct svn_dirent_t *arg1 = (struct svn_dirent_t *) 0 ; svn_filesize_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -4069,9 +4118,9 @@ _wrap_svn_dirent_t_size_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_dirent_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_dirent_t *","size", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_dirent_t *","size", 1, self )); } - arg1 = (svn_dirent_t *)(argp1); + arg1 = (struct svn_dirent_t *)(argp1); { arg2 = (svn_filesize_t)NUM2LL(argv[0]); } @@ -4084,7 +4133,7 @@ fail: SWIGINTERN VALUE _wrap_svn_dirent_t_size_get(int argc, VALUE *argv, VALUE self) { - svn_dirent_t *arg1 = (svn_dirent_t *) 0 ; + struct svn_dirent_t *arg1 = (struct svn_dirent_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_filesize_t result; @@ -4095,9 +4144,9 @@ _wrap_svn_dirent_t_size_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_dirent_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_dirent_t *","size", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_dirent_t *","size", 1, self )); } - arg1 = (svn_dirent_t *)(argp1); + arg1 = (struct svn_dirent_t *)(argp1); result = ((arg1)->size); { vresult = LL2NUM((svn_filesize_t)(result)); @@ -4110,7 +4159,7 @@ fail: SWIGINTERN VALUE _wrap_svn_dirent_t_has_props_set(int argc, VALUE *argv, VALUE self) { - svn_dirent_t *arg1 = (svn_dirent_t *) 0 ; + struct svn_dirent_t *arg1 = (struct svn_dirent_t *) 0 ; svn_boolean_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -4120,9 +4169,9 @@ _wrap_svn_dirent_t_has_props_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_dirent_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_dirent_t *","has_props", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_dirent_t *","has_props", 1, self )); } - arg1 = (svn_dirent_t *)(argp1); + arg1 = (struct svn_dirent_t *)(argp1); arg2 = RTEST(argv[0]); if (arg1) (arg1)->has_props = arg2; return Qnil; @@ -4133,7 +4182,7 @@ fail: SWIGINTERN VALUE _wrap_svn_dirent_t_has_props_get(int argc, VALUE *argv, VALUE self) { - svn_dirent_t *arg1 = (svn_dirent_t *) 0 ; + struct svn_dirent_t *arg1 = (struct svn_dirent_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_boolean_t result; @@ -4144,9 +4193,9 @@ _wrap_svn_dirent_t_has_props_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_dirent_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_dirent_t *","has_props", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_dirent_t *","has_props", 1, self )); } - arg1 = (svn_dirent_t *)(argp1); + arg1 = (struct svn_dirent_t *)(argp1); result = (svn_boolean_t) ((arg1)->has_props); vresult = result ? Qtrue : Qfalse; return vresult; @@ -4157,7 +4206,7 @@ fail: SWIGINTERN VALUE _wrap_svn_dirent_t_created_rev_set(int argc, VALUE *argv, VALUE self) { - svn_dirent_t *arg1 = (svn_dirent_t *) 0 ; + struct svn_dirent_t *arg1 = (struct svn_dirent_t *) 0 ; svn_revnum_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -4169,9 +4218,9 @@ _wrap_svn_dirent_t_created_rev_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_dirent_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_dirent_t *","created_rev", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_dirent_t *","created_rev", 1, self )); } - arg1 = (svn_dirent_t *)(argp1); + arg1 = (struct svn_dirent_t *)(argp1); ecode2 = SWIG_AsVal_long(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","created_rev", 2, argv[0] )); @@ -4186,7 +4235,7 @@ fail: SWIGINTERN VALUE _wrap_svn_dirent_t_created_rev_get(int argc, VALUE *argv, VALUE self) { - svn_dirent_t *arg1 = (svn_dirent_t *) 0 ; + struct svn_dirent_t *arg1 = (struct svn_dirent_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_revnum_t result; @@ -4197,9 +4246,9 @@ _wrap_svn_dirent_t_created_rev_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_dirent_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_dirent_t *","created_rev", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_dirent_t *","created_rev", 1, self )); } - arg1 = (svn_dirent_t *)(argp1); + arg1 = (struct svn_dirent_t *)(argp1); result = (svn_revnum_t) ((arg1)->created_rev); vresult = SWIG_From_long((long)(result)); return vresult; @@ -4210,7 +4259,7 @@ fail: SWIGINTERN VALUE _wrap_svn_dirent_t_time_set(int argc, VALUE *argv, VALUE self) { - svn_dirent_t *arg1 = (svn_dirent_t *) 0 ; + struct svn_dirent_t *arg1 = (struct svn_dirent_t *) 0 ; apr_time_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -4220,9 +4269,9 @@ _wrap_svn_dirent_t_time_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_dirent_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_dirent_t *","time", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_dirent_t *","time", 1, self )); } - arg1 = (svn_dirent_t *)(argp1); + arg1 = (struct svn_dirent_t *)(argp1); { arg2 = (apr_time_t)NUM2LL(argv[0]); } @@ -4235,7 +4284,7 @@ fail: SWIGINTERN VALUE _wrap_svn_dirent_t_time_get(int argc, VALUE *argv, VALUE self) { - svn_dirent_t *arg1 = (svn_dirent_t *) 0 ; + struct svn_dirent_t *arg1 = (struct svn_dirent_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; apr_time_t result; @@ -4246,9 +4295,9 @@ _wrap_svn_dirent_t_time_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_dirent_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_dirent_t *","time", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_dirent_t *","time", 1, self )); } - arg1 = (svn_dirent_t *)(argp1); + arg1 = (struct svn_dirent_t *)(argp1); result = ((arg1)->time); { vresult = LL2NUM((apr_time_t)(result)); @@ -4261,7 +4310,7 @@ fail: SWIGINTERN VALUE _wrap_svn_dirent_t_last_author_get(int argc, VALUE *argv, VALUE self) { - svn_dirent_t *arg1 = (svn_dirent_t *) 0 ; + struct svn_dirent_t *arg1 = (struct svn_dirent_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -4272,9 +4321,9 @@ _wrap_svn_dirent_t_last_author_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_dirent_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_dirent_t *","last_author", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_dirent_t *","last_author", 1, self )); } - arg1 = (svn_dirent_t *)(argp1); + arg1 = (struct svn_dirent_t *)(argp1); result = (char *) ((arg1)->last_author); { if (result) { @@ -4308,13 +4357,13 @@ _wrap_svn_dirent_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_dirent_t(int argc, VALUE *argv, VALUE self) { - svn_dirent_t *result = 0 ; + struct svn_dirent_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_dirent_t *)calloc(1, sizeof(svn_dirent_t)); + result = (struct svn_dirent_t *)calloc(1, sizeof(struct svn_dirent_t)); DATA_PTR(self) = result; @@ -4327,7 +4376,7 @@ fail: SWIGINTERN void -free_svn_dirent_t(svn_dirent_t *arg1) { +free_svn_dirent_t(struct svn_dirent_t *arg1) { free((char *) arg1); } @@ -4385,11 +4434,57 @@ fail: } -swig_class SwigClassSvn_commit_info_t; +SWIGINTERN VALUE +_wrap_svn_dirent_create(int argc, VALUE *argv, VALUE self) { + apr_pool_t *arg1 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + svn_dirent_t *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg1); + _global_pool = arg1; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + if ((argc < 0) || (argc > 1)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; + } + if (argc > 0) { + + } + { + result = (svn_dirent_t *)svn_dirent_create(arg1); + + + + } + vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_dirent_t, 0 | 0 ); + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return vresult; +fail: + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +} + + +static swig_class SwigClassSvn_commit_info_t; SWIGINTERN VALUE _wrap_svn_commit_info_t_revision_set(int argc, VALUE *argv, VALUE self) { - svn_commit_info_t *arg1 = (svn_commit_info_t *) 0 ; + struct svn_commit_info_t *arg1 = (struct svn_commit_info_t *) 0 ; svn_revnum_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -4401,9 +4496,9 @@ _wrap_svn_commit_info_t_revision_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_commit_info_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_commit_info_t *","revision", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_commit_info_t *","revision", 1, self )); } - arg1 = (svn_commit_info_t *)(argp1); + arg1 = (struct svn_commit_info_t *)(argp1); ecode2 = SWIG_AsVal_long(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","revision", 2, argv[0] )); @@ -4418,7 +4513,7 @@ fail: SWIGINTERN VALUE _wrap_svn_commit_info_t_revision_get(int argc, VALUE *argv, VALUE self) { - svn_commit_info_t *arg1 = (svn_commit_info_t *) 0 ; + struct svn_commit_info_t *arg1 = (struct svn_commit_info_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_revnum_t result; @@ -4429,9 +4524,9 @@ _wrap_svn_commit_info_t_revision_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_commit_info_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_commit_info_t *","revision", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_commit_info_t *","revision", 1, self )); } - arg1 = (svn_commit_info_t *)(argp1); + arg1 = (struct svn_commit_info_t *)(argp1); result = (svn_revnum_t) ((arg1)->revision); vresult = SWIG_From_long((long)(result)); return vresult; @@ -4442,7 +4537,7 @@ fail: SWIGINTERN VALUE _wrap_svn_commit_info_t_date_set(int argc, VALUE *argv, VALUE self) { - svn_commit_info_t *arg1 = (svn_commit_info_t *) 0 ; + struct svn_commit_info_t *arg1 = (struct svn_commit_info_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -4455,9 +4550,9 @@ _wrap_svn_commit_info_t_date_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_commit_info_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_commit_info_t *","date", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_commit_info_t *","date", 1, self )); } - arg1 = (svn_commit_info_t *)(argp1); + arg1 = (struct svn_commit_info_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","date", 2, argv[0] )); @@ -4481,7 +4576,7 @@ fail: SWIGINTERN VALUE _wrap_svn_commit_info_t_date_get(int argc, VALUE *argv, VALUE self) { - svn_commit_info_t *arg1 = (svn_commit_info_t *) 0 ; + struct svn_commit_info_t *arg1 = (struct svn_commit_info_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -4492,9 +4587,9 @@ _wrap_svn_commit_info_t_date_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_commit_info_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_commit_info_t *","date", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_commit_info_t *","date", 1, self )); } - arg1 = (svn_commit_info_t *)(argp1); + arg1 = (struct svn_commit_info_t *)(argp1); result = (char *) ((arg1)->date); { if (result) { @@ -4511,7 +4606,7 @@ fail: SWIGINTERN VALUE _wrap_svn_commit_info_t_author_set(int argc, VALUE *argv, VALUE self) { - svn_commit_info_t *arg1 = (svn_commit_info_t *) 0 ; + struct svn_commit_info_t *arg1 = (struct svn_commit_info_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -4524,9 +4619,9 @@ _wrap_svn_commit_info_t_author_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_commit_info_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_commit_info_t *","author", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_commit_info_t *","author", 1, self )); } - arg1 = (svn_commit_info_t *)(argp1); + arg1 = (struct svn_commit_info_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","author", 2, argv[0] )); @@ -4550,7 +4645,7 @@ fail: SWIGINTERN VALUE _wrap_svn_commit_info_t_author_get(int argc, VALUE *argv, VALUE self) { - svn_commit_info_t *arg1 = (svn_commit_info_t *) 0 ; + struct svn_commit_info_t *arg1 = (struct svn_commit_info_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -4561,9 +4656,9 @@ _wrap_svn_commit_info_t_author_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_commit_info_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_commit_info_t *","author", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_commit_info_t *","author", 1, self )); } - arg1 = (svn_commit_info_t *)(argp1); + arg1 = (struct svn_commit_info_t *)(argp1); result = (char *) ((arg1)->author); { if (result) { @@ -4580,7 +4675,7 @@ fail: SWIGINTERN VALUE _wrap_svn_commit_info_t_post_commit_err_set(int argc, VALUE *argv, VALUE self) { - svn_commit_info_t *arg1 = (svn_commit_info_t *) 0 ; + struct svn_commit_info_t *arg1 = (struct svn_commit_info_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -4593,9 +4688,9 @@ _wrap_svn_commit_info_t_post_commit_err_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_commit_info_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_commit_info_t *","post_commit_err", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_commit_info_t *","post_commit_err", 1, self )); } - arg1 = (svn_commit_info_t *)(argp1); + arg1 = (struct svn_commit_info_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","post_commit_err", 2, argv[0] )); @@ -4619,7 +4714,7 @@ fail: SWIGINTERN VALUE _wrap_svn_commit_info_t_post_commit_err_get(int argc, VALUE *argv, VALUE self) { - svn_commit_info_t *arg1 = (svn_commit_info_t *) 0 ; + struct svn_commit_info_t *arg1 = (struct svn_commit_info_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -4630,9 +4725,9 @@ _wrap_svn_commit_info_t_post_commit_err_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_commit_info_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_commit_info_t *","post_commit_err", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_commit_info_t *","post_commit_err", 1, self )); } - arg1 = (svn_commit_info_t *)(argp1); + arg1 = (struct svn_commit_info_t *)(argp1); result = (char *) ((arg1)->post_commit_err); { if (result) { @@ -4649,7 +4744,7 @@ fail: SWIGINTERN VALUE _wrap_svn_commit_info_t_repos_root_set(int argc, VALUE *argv, VALUE self) { - svn_commit_info_t *arg1 = (svn_commit_info_t *) 0 ; + struct svn_commit_info_t *arg1 = (struct svn_commit_info_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -4662,9 +4757,9 @@ _wrap_svn_commit_info_t_repos_root_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_commit_info_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_commit_info_t *","repos_root", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_commit_info_t *","repos_root", 1, self )); } - arg1 = (svn_commit_info_t *)(argp1); + arg1 = (struct svn_commit_info_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","repos_root", 2, argv[0] )); @@ -4688,7 +4783,7 @@ fail: SWIGINTERN VALUE _wrap_svn_commit_info_t_repos_root_get(int argc, VALUE *argv, VALUE self) { - svn_commit_info_t *arg1 = (svn_commit_info_t *) 0 ; + struct svn_commit_info_t *arg1 = (struct svn_commit_info_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -4699,9 +4794,9 @@ _wrap_svn_commit_info_t_repos_root_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_commit_info_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_commit_info_t *","repos_root", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_commit_info_t *","repos_root", 1, self )); } - arg1 = (svn_commit_info_t *)(argp1); + arg1 = (struct svn_commit_info_t *)(argp1); result = (char *) ((arg1)->repos_root); { if (result) { @@ -4738,7 +4833,7 @@ _wrap_new_svn_commit_info_t(int argc, VALUE *argv, VALUE self) { apr_pool_t *arg1 = (apr_pool_t *) 0 ; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; - svn_commit_info_t *result = 0 ; + struct svn_commit_info_t *result = 0 ; { svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg1); @@ -4752,7 +4847,7 @@ _wrap_new_svn_commit_info_t(int argc, VALUE *argv, VALUE self) { } { - result = (svn_commit_info_t *)new_svn_commit_info_t(arg1); + result = (struct svn_commit_info_t *)new_svn_commit_info_t(arg1); DATA_PTR(self) = result; @@ -4778,10 +4873,10 @@ fail: } -SWIGINTERN void delete_svn_commit_info_t(svn_commit_info_t *self){ +SWIGINTERN void delete_svn_commit_info_t(struct svn_commit_info_t *self){ } SWIGINTERN void -free_svn_commit_info_t(svn_commit_info_t *arg1) { +free_svn_commit_info_t(struct svn_commit_info_t *arg1) { delete_svn_commit_info_t(arg1); } @@ -4796,7 +4891,7 @@ Create a duplicate of the class and unfreeze it if needed. */ SWIGINTERN VALUE _wrap_svn_commit_info_t_dup(int argc, VALUE *argv, VALUE self) { - svn_commit_info_t *arg1 = (svn_commit_info_t *) 0 ; + struct svn_commit_info_t *arg1 = (struct svn_commit_info_t *) 0 ; apr_pool_t *arg2 = (apr_pool_t *) 0 ; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; @@ -4815,9 +4910,9 @@ _wrap_svn_commit_info_t_dup(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_commit_info_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_commit_info_t *","dup", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_commit_info_t *","dup", 1, self )); } - arg1 = (svn_commit_info_t *)(argp1); + arg1 = (struct svn_commit_info_t *)(argp1); if (argc > 0) { } @@ -4848,11 +4943,11 @@ fail: } -swig_class SwigClassSvn_log_changed_path2_t; +static swig_class SwigClassSvn_log_changed_path2_t; SWIGINTERN VALUE _wrap_svn_log_changed_path2_t_action_set(int argc, VALUE *argv, VALUE self) { - svn_log_changed_path2_t *arg1 = (svn_log_changed_path2_t *) 0 ; + struct svn_log_changed_path2_t *arg1 = (struct svn_log_changed_path2_t *) 0 ; char arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -4864,9 +4959,9 @@ _wrap_svn_log_changed_path2_t_action_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_changed_path2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_changed_path2_t *","action", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_changed_path2_t *","action", 1, self )); } - arg1 = (svn_log_changed_path2_t *)(argp1); + arg1 = (struct svn_log_changed_path2_t *)(argp1); ecode2 = SWIG_AsVal_char(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","action", 2, argv[0] )); @@ -4881,7 +4976,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_changed_path2_t_action_get(int argc, VALUE *argv, VALUE self) { - svn_log_changed_path2_t *arg1 = (svn_log_changed_path2_t *) 0 ; + struct svn_log_changed_path2_t *arg1 = (struct svn_log_changed_path2_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char result; @@ -4892,9 +4987,9 @@ _wrap_svn_log_changed_path2_t_action_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_changed_path2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_changed_path2_t *","action", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_changed_path2_t *","action", 1, self )); } - arg1 = (svn_log_changed_path2_t *)(argp1); + arg1 = (struct svn_log_changed_path2_t *)(argp1); result = (char) ((arg1)->action); vresult = SWIG_From_char((char)(result)); return vresult; @@ -4905,7 +5000,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_changed_path2_t_copyfrom_path_set(int argc, VALUE *argv, VALUE self) { - svn_log_changed_path2_t *arg1 = (svn_log_changed_path2_t *) 0 ; + struct svn_log_changed_path2_t *arg1 = (struct svn_log_changed_path2_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -4918,9 +5013,9 @@ _wrap_svn_log_changed_path2_t_copyfrom_path_set(int argc, VALUE *argv, VALUE sel } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_changed_path2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_changed_path2_t *","copyfrom_path", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_changed_path2_t *","copyfrom_path", 1, self )); } - arg1 = (svn_log_changed_path2_t *)(argp1); + arg1 = (struct svn_log_changed_path2_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","copyfrom_path", 2, argv[0] )); @@ -4944,7 +5039,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_changed_path2_t_copyfrom_path_get(int argc, VALUE *argv, VALUE self) { - svn_log_changed_path2_t *arg1 = (svn_log_changed_path2_t *) 0 ; + struct svn_log_changed_path2_t *arg1 = (struct svn_log_changed_path2_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -4955,9 +5050,9 @@ _wrap_svn_log_changed_path2_t_copyfrom_path_get(int argc, VALUE *argv, VALUE sel } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_changed_path2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_changed_path2_t *","copyfrom_path", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_changed_path2_t *","copyfrom_path", 1, self )); } - arg1 = (svn_log_changed_path2_t *)(argp1); + arg1 = (struct svn_log_changed_path2_t *)(argp1); result = (char *) ((arg1)->copyfrom_path); { if (result) { @@ -4974,7 +5069,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_changed_path2_t_copyfrom_rev_set(int argc, VALUE *argv, VALUE self) { - svn_log_changed_path2_t *arg1 = (svn_log_changed_path2_t *) 0 ; + struct svn_log_changed_path2_t *arg1 = (struct svn_log_changed_path2_t *) 0 ; svn_revnum_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -4986,9 +5081,9 @@ _wrap_svn_log_changed_path2_t_copyfrom_rev_set(int argc, VALUE *argv, VALUE self } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_changed_path2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_changed_path2_t *","copyfrom_rev", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_changed_path2_t *","copyfrom_rev", 1, self )); } - arg1 = (svn_log_changed_path2_t *)(argp1); + arg1 = (struct svn_log_changed_path2_t *)(argp1); ecode2 = SWIG_AsVal_long(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","copyfrom_rev", 2, argv[0] )); @@ -5003,7 +5098,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_changed_path2_t_copyfrom_rev_get(int argc, VALUE *argv, VALUE self) { - svn_log_changed_path2_t *arg1 = (svn_log_changed_path2_t *) 0 ; + struct svn_log_changed_path2_t *arg1 = (struct svn_log_changed_path2_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_revnum_t result; @@ -5014,9 +5109,9 @@ _wrap_svn_log_changed_path2_t_copyfrom_rev_get(int argc, VALUE *argv, VALUE self } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_changed_path2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_changed_path2_t *","copyfrom_rev", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_changed_path2_t *","copyfrom_rev", 1, self )); } - arg1 = (svn_log_changed_path2_t *)(argp1); + arg1 = (struct svn_log_changed_path2_t *)(argp1); result = (svn_revnum_t) ((arg1)->copyfrom_rev); vresult = SWIG_From_long((long)(result)); return vresult; @@ -5027,7 +5122,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_changed_path2_t_node_kind_set(int argc, VALUE *argv, VALUE self) { - svn_log_changed_path2_t *arg1 = (svn_log_changed_path2_t *) 0 ; + struct svn_log_changed_path2_t *arg1 = (struct svn_log_changed_path2_t *) 0 ; svn_node_kind_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -5039,9 +5134,9 @@ _wrap_svn_log_changed_path2_t_node_kind_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_changed_path2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_changed_path2_t *","node_kind", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_changed_path2_t *","node_kind", 1, self )); } - arg1 = (svn_log_changed_path2_t *)(argp1); + arg1 = (struct svn_log_changed_path2_t *)(argp1); ecode2 = SWIG_AsVal_int(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_node_kind_t","node_kind", 2, argv[0] )); @@ -5056,7 +5151,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_changed_path2_t_node_kind_get(int argc, VALUE *argv, VALUE self) { - svn_log_changed_path2_t *arg1 = (svn_log_changed_path2_t *) 0 ; + struct svn_log_changed_path2_t *arg1 = (struct svn_log_changed_path2_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_node_kind_t result; @@ -5067,9 +5162,9 @@ _wrap_svn_log_changed_path2_t_node_kind_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_changed_path2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_changed_path2_t *","node_kind", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_changed_path2_t *","node_kind", 1, self )); } - arg1 = (svn_log_changed_path2_t *)(argp1); + arg1 = (struct svn_log_changed_path2_t *)(argp1); result = (svn_node_kind_t) ((arg1)->node_kind); vresult = SWIG_From_int((int)(result)); return vresult; @@ -5080,7 +5175,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_changed_path2_t_text_modified_set(int argc, VALUE *argv, VALUE self) { - svn_log_changed_path2_t *arg1 = (svn_log_changed_path2_t *) 0 ; + struct svn_log_changed_path2_t *arg1 = (struct svn_log_changed_path2_t *) 0 ; svn_tristate_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -5092,9 +5187,9 @@ _wrap_svn_log_changed_path2_t_text_modified_set(int argc, VALUE *argv, VALUE sel } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_changed_path2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_changed_path2_t *","text_modified", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_changed_path2_t *","text_modified", 1, self )); } - arg1 = (svn_log_changed_path2_t *)(argp1); + arg1 = (struct svn_log_changed_path2_t *)(argp1); ecode2 = SWIG_AsVal_int(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_tristate_t","text_modified", 2, argv[0] )); @@ -5109,7 +5204,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_changed_path2_t_text_modified_get(int argc, VALUE *argv, VALUE self) { - svn_log_changed_path2_t *arg1 = (svn_log_changed_path2_t *) 0 ; + struct svn_log_changed_path2_t *arg1 = (struct svn_log_changed_path2_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_tristate_t result; @@ -5120,9 +5215,9 @@ _wrap_svn_log_changed_path2_t_text_modified_get(int argc, VALUE *argv, VALUE sel } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_changed_path2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_changed_path2_t *","text_modified", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_changed_path2_t *","text_modified", 1, self )); } - arg1 = (svn_log_changed_path2_t *)(argp1); + arg1 = (struct svn_log_changed_path2_t *)(argp1); result = (svn_tristate_t) ((arg1)->text_modified); vresult = SWIG_From_int((int)(result)); return vresult; @@ -5133,7 +5228,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_changed_path2_t_props_modified_set(int argc, VALUE *argv, VALUE self) { - svn_log_changed_path2_t *arg1 = (svn_log_changed_path2_t *) 0 ; + struct svn_log_changed_path2_t *arg1 = (struct svn_log_changed_path2_t *) 0 ; svn_tristate_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -5145,9 +5240,9 @@ _wrap_svn_log_changed_path2_t_props_modified_set(int argc, VALUE *argv, VALUE se } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_changed_path2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_changed_path2_t *","props_modified", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_changed_path2_t *","props_modified", 1, self )); } - arg1 = (svn_log_changed_path2_t *)(argp1); + arg1 = (struct svn_log_changed_path2_t *)(argp1); ecode2 = SWIG_AsVal_int(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_tristate_t","props_modified", 2, argv[0] )); @@ -5162,7 +5257,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_changed_path2_t_props_modified_get(int argc, VALUE *argv, VALUE self) { - svn_log_changed_path2_t *arg1 = (svn_log_changed_path2_t *) 0 ; + struct svn_log_changed_path2_t *arg1 = (struct svn_log_changed_path2_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_tristate_t result; @@ -5173,9 +5268,9 @@ _wrap_svn_log_changed_path2_t_props_modified_get(int argc, VALUE *argv, VALUE se } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_changed_path2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_changed_path2_t *","props_modified", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_changed_path2_t *","props_modified", 1, self )); } - arg1 = (svn_log_changed_path2_t *)(argp1); + arg1 = (struct svn_log_changed_path2_t *)(argp1); result = (svn_tristate_t) ((arg1)->props_modified); vresult = SWIG_From_int((int)(result)); return vresult; @@ -5203,13 +5298,13 @@ _wrap_svn_log_changed_path2_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_log_changed_path2_t(int argc, VALUE *argv, VALUE self) { - svn_log_changed_path2_t *result = 0 ; + struct svn_log_changed_path2_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_log_changed_path2_t *)calloc(1, sizeof(svn_log_changed_path2_t)); + result = (struct svn_log_changed_path2_t *)calloc(1, sizeof(struct svn_log_changed_path2_t)); DATA_PTR(self) = result; @@ -5222,7 +5317,7 @@ fail: SWIGINTERN void -free_svn_log_changed_path2_t(svn_log_changed_path2_t *arg1) { +free_svn_log_changed_path2_t(struct svn_log_changed_path2_t *arg1) { free((char *) arg1); } @@ -5326,11 +5421,11 @@ fail: } -swig_class SwigClassSvn_log_changed_path_t; +static swig_class SwigClassSvn_log_changed_path_t; SWIGINTERN VALUE _wrap_svn_log_changed_path_t_action_set(int argc, VALUE *argv, VALUE self) { - svn_log_changed_path_t *arg1 = (svn_log_changed_path_t *) 0 ; + struct svn_log_changed_path_t *arg1 = (struct svn_log_changed_path_t *) 0 ; char arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -5342,9 +5437,9 @@ _wrap_svn_log_changed_path_t_action_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_changed_path_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_changed_path_t *","action", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_changed_path_t *","action", 1, self )); } - arg1 = (svn_log_changed_path_t *)(argp1); + arg1 = (struct svn_log_changed_path_t *)(argp1); ecode2 = SWIG_AsVal_char(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","action", 2, argv[0] )); @@ -5359,7 +5454,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_changed_path_t_action_get(int argc, VALUE *argv, VALUE self) { - svn_log_changed_path_t *arg1 = (svn_log_changed_path_t *) 0 ; + struct svn_log_changed_path_t *arg1 = (struct svn_log_changed_path_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char result; @@ -5370,9 +5465,9 @@ _wrap_svn_log_changed_path_t_action_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_changed_path_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_changed_path_t *","action", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_changed_path_t *","action", 1, self )); } - arg1 = (svn_log_changed_path_t *)(argp1); + arg1 = (struct svn_log_changed_path_t *)(argp1); result = (char) ((arg1)->action); vresult = SWIG_From_char((char)(result)); return vresult; @@ -5383,7 +5478,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_changed_path_t_copyfrom_path_get(int argc, VALUE *argv, VALUE self) { - svn_log_changed_path_t *arg1 = (svn_log_changed_path_t *) 0 ; + struct svn_log_changed_path_t *arg1 = (struct svn_log_changed_path_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -5394,9 +5489,9 @@ _wrap_svn_log_changed_path_t_copyfrom_path_get(int argc, VALUE *argv, VALUE self } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_changed_path_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_changed_path_t *","copyfrom_path", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_changed_path_t *","copyfrom_path", 1, self )); } - arg1 = (svn_log_changed_path_t *)(argp1); + arg1 = (struct svn_log_changed_path_t *)(argp1); result = (char *) ((arg1)->copyfrom_path); { if (result) { @@ -5413,7 +5508,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_changed_path_t_copyfrom_rev_set(int argc, VALUE *argv, VALUE self) { - svn_log_changed_path_t *arg1 = (svn_log_changed_path_t *) 0 ; + struct svn_log_changed_path_t *arg1 = (struct svn_log_changed_path_t *) 0 ; svn_revnum_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -5425,9 +5520,9 @@ _wrap_svn_log_changed_path_t_copyfrom_rev_set(int argc, VALUE *argv, VALUE self) } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_changed_path_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_changed_path_t *","copyfrom_rev", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_changed_path_t *","copyfrom_rev", 1, self )); } - arg1 = (svn_log_changed_path_t *)(argp1); + arg1 = (struct svn_log_changed_path_t *)(argp1); ecode2 = SWIG_AsVal_long(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","copyfrom_rev", 2, argv[0] )); @@ -5442,7 +5537,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_changed_path_t_copyfrom_rev_get(int argc, VALUE *argv, VALUE self) { - svn_log_changed_path_t *arg1 = (svn_log_changed_path_t *) 0 ; + struct svn_log_changed_path_t *arg1 = (struct svn_log_changed_path_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_revnum_t result; @@ -5453,9 +5548,9 @@ _wrap_svn_log_changed_path_t_copyfrom_rev_get(int argc, VALUE *argv, VALUE self) } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_changed_path_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_changed_path_t *","copyfrom_rev", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_changed_path_t *","copyfrom_rev", 1, self )); } - arg1 = (svn_log_changed_path_t *)(argp1); + arg1 = (struct svn_log_changed_path_t *)(argp1); result = (svn_revnum_t) ((arg1)->copyfrom_rev); vresult = SWIG_From_long((long)(result)); return vresult; @@ -5483,13 +5578,13 @@ _wrap_svn_log_changed_path_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_log_changed_path_t(int argc, VALUE *argv, VALUE self) { - svn_log_changed_path_t *result = 0 ; + struct svn_log_changed_path_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_log_changed_path_t *)calloc(1, sizeof(svn_log_changed_path_t)); + result = (struct svn_log_changed_path_t *)calloc(1, sizeof(struct svn_log_changed_path_t)); DATA_PTR(self) = result; @@ -5502,7 +5597,7 @@ fail: SWIGINTERN void -free_svn_log_changed_path_t(svn_log_changed_path_t *arg1) { +free_svn_log_changed_path_t(struct svn_log_changed_path_t *arg1) { free((char *) arg1); } @@ -5560,11 +5655,11 @@ fail: } -swig_class SwigClassSvn_log_entry_t; +static swig_class SwigClassSvn_log_entry_t; SWIGINTERN VALUE _wrap_svn_log_entry_t_changed_paths_set(int argc, VALUE *argv, VALUE self) { - svn_log_entry_t *arg1 = (svn_log_entry_t *) 0 ; + struct svn_log_entry_t *arg1 = (struct svn_log_entry_t *) 0 ; apr_hash_t *arg2 = (apr_hash_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -5576,9 +5671,9 @@ _wrap_svn_log_entry_t_changed_paths_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_entry_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_entry_t *","changed_paths", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_entry_t *","changed_paths", 1, self )); } - arg1 = (svn_log_entry_t *)(argp1); + arg1 = (struct svn_log_entry_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( "", "apr_hash_t *","changed_paths", 2, argv[0] )); @@ -5593,7 +5688,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_entry_t_changed_paths_get(int argc, VALUE *argv, VALUE self) { - svn_log_entry_t *arg1 = (svn_log_entry_t *) 0 ; + struct svn_log_entry_t *arg1 = (struct svn_log_entry_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; apr_hash_t *result = 0 ; @@ -5604,9 +5699,9 @@ _wrap_svn_log_entry_t_changed_paths_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_entry_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_entry_t *","changed_paths", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_entry_t *","changed_paths", 1, self )); } - arg1 = (svn_log_entry_t *)(argp1); + arg1 = (struct svn_log_entry_t *)(argp1); result = (apr_hash_t *) ((arg1)->changed_paths); { VALUE rb_changed_path_hash; @@ -5622,7 +5717,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_entry_t_revision_set(int argc, VALUE *argv, VALUE self) { - svn_log_entry_t *arg1 = (svn_log_entry_t *) 0 ; + struct svn_log_entry_t *arg1 = (struct svn_log_entry_t *) 0 ; svn_revnum_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -5634,9 +5729,9 @@ _wrap_svn_log_entry_t_revision_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_entry_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_entry_t *","revision", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_entry_t *","revision", 1, self )); } - arg1 = (svn_log_entry_t *)(argp1); + arg1 = (struct svn_log_entry_t *)(argp1); ecode2 = SWIG_AsVal_long(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","revision", 2, argv[0] )); @@ -5651,7 +5746,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_entry_t_revision_get(int argc, VALUE *argv, VALUE self) { - svn_log_entry_t *arg1 = (svn_log_entry_t *) 0 ; + struct svn_log_entry_t *arg1 = (struct svn_log_entry_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_revnum_t result; @@ -5662,9 +5757,9 @@ _wrap_svn_log_entry_t_revision_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_entry_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_entry_t *","revision", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_entry_t *","revision", 1, self )); } - arg1 = (svn_log_entry_t *)(argp1); + arg1 = (struct svn_log_entry_t *)(argp1); result = (svn_revnum_t) ((arg1)->revision); vresult = SWIG_From_long((long)(result)); return vresult; @@ -5675,7 +5770,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_entry_t_revprops_set(int argc, VALUE *argv, VALUE self) { - svn_log_entry_t *arg1 = (svn_log_entry_t *) 0 ; + struct svn_log_entry_t *arg1 = (struct svn_log_entry_t *) 0 ; apr_hash_t *arg2 = (apr_hash_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -5685,9 +5780,9 @@ _wrap_svn_log_entry_t_revprops_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_entry_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_entry_t *","revprops", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_entry_t *","revprops", 1, self )); } - arg1 = (svn_log_entry_t *)(argp1); + arg1 = (struct svn_log_entry_t *)(argp1); { VALUE rb_pool = Qnil; if (!_global_pool) { @@ -5714,7 +5809,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_entry_t_revprops_get(int argc, VALUE *argv, VALUE self) { - svn_log_entry_t *arg1 = (svn_log_entry_t *) 0 ; + struct svn_log_entry_t *arg1 = (struct svn_log_entry_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; apr_hash_t *result = 0 ; @@ -5725,9 +5820,9 @@ _wrap_svn_log_entry_t_revprops_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_entry_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_entry_t *","revprops", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_entry_t *","revprops", 1, self )); } - arg1 = (svn_log_entry_t *)(argp1); + arg1 = (struct svn_log_entry_t *)(argp1); result = (apr_hash_t *) ((arg1)->revprops); { vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_svn_string(result)); @@ -5740,7 +5835,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_entry_t_has_children_set(int argc, VALUE *argv, VALUE self) { - svn_log_entry_t *arg1 = (svn_log_entry_t *) 0 ; + struct svn_log_entry_t *arg1 = (struct svn_log_entry_t *) 0 ; svn_boolean_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -5750,9 +5845,9 @@ _wrap_svn_log_entry_t_has_children_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_entry_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_entry_t *","has_children", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_entry_t *","has_children", 1, self )); } - arg1 = (svn_log_entry_t *)(argp1); + arg1 = (struct svn_log_entry_t *)(argp1); arg2 = RTEST(argv[0]); if (arg1) (arg1)->has_children = arg2; return Qnil; @@ -5763,7 +5858,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_entry_t_has_children_get(int argc, VALUE *argv, VALUE self) { - svn_log_entry_t *arg1 = (svn_log_entry_t *) 0 ; + struct svn_log_entry_t *arg1 = (struct svn_log_entry_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_boolean_t result; @@ -5774,9 +5869,9 @@ _wrap_svn_log_entry_t_has_children_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_entry_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_entry_t *","has_children", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_entry_t *","has_children", 1, self )); } - arg1 = (svn_log_entry_t *)(argp1); + arg1 = (struct svn_log_entry_t *)(argp1); result = (svn_boolean_t) ((arg1)->has_children); vresult = result ? Qtrue : Qfalse; return vresult; @@ -5787,7 +5882,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_entry_t_changed_paths2_set(int argc, VALUE *argv, VALUE self) { - svn_log_entry_t *arg1 = (svn_log_entry_t *) 0 ; + struct svn_log_entry_t *arg1 = (struct svn_log_entry_t *) 0 ; apr_hash_t *arg2 = (apr_hash_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -5799,9 +5894,9 @@ _wrap_svn_log_entry_t_changed_paths2_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_entry_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_entry_t *","changed_paths2", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_entry_t *","changed_paths2", 1, self )); } - arg1 = (svn_log_entry_t *)(argp1); + arg1 = (struct svn_log_entry_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( "", "apr_hash_t *","changed_paths2", 2, argv[0] )); @@ -5816,7 +5911,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_entry_t_changed_paths2_get(int argc, VALUE *argv, VALUE self) { - svn_log_entry_t *arg1 = (svn_log_entry_t *) 0 ; + struct svn_log_entry_t *arg1 = (struct svn_log_entry_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; apr_hash_t *result = 0 ; @@ -5827,9 +5922,9 @@ _wrap_svn_log_entry_t_changed_paths2_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_entry_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_entry_t *","changed_paths2", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_entry_t *","changed_paths2", 1, self )); } - arg1 = (svn_log_entry_t *)(argp1); + arg1 = (struct svn_log_entry_t *)(argp1); result = (apr_hash_t *) ((arg1)->changed_paths2); vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_apr_hash_t, 0 | 0 ); return vresult; @@ -5840,7 +5935,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_entry_t_non_inheritable_set(int argc, VALUE *argv, VALUE self) { - svn_log_entry_t *arg1 = (svn_log_entry_t *) 0 ; + struct svn_log_entry_t *arg1 = (struct svn_log_entry_t *) 0 ; svn_boolean_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -5850,9 +5945,9 @@ _wrap_svn_log_entry_t_non_inheritable_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_entry_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_entry_t *","non_inheritable", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_entry_t *","non_inheritable", 1, self )); } - arg1 = (svn_log_entry_t *)(argp1); + arg1 = (struct svn_log_entry_t *)(argp1); arg2 = RTEST(argv[0]); if (arg1) (arg1)->non_inheritable = arg2; return Qnil; @@ -5863,7 +5958,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_entry_t_non_inheritable_get(int argc, VALUE *argv, VALUE self) { - svn_log_entry_t *arg1 = (svn_log_entry_t *) 0 ; + struct svn_log_entry_t *arg1 = (struct svn_log_entry_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_boolean_t result; @@ -5874,9 +5969,9 @@ _wrap_svn_log_entry_t_non_inheritable_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_entry_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_entry_t *","non_inheritable", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_entry_t *","non_inheritable", 1, self )); } - arg1 = (svn_log_entry_t *)(argp1); + arg1 = (struct svn_log_entry_t *)(argp1); result = (svn_boolean_t) ((arg1)->non_inheritable); vresult = result ? Qtrue : Qfalse; return vresult; @@ -5887,7 +5982,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_entry_t_subtractive_merge_set(int argc, VALUE *argv, VALUE self) { - svn_log_entry_t *arg1 = (svn_log_entry_t *) 0 ; + struct svn_log_entry_t *arg1 = (struct svn_log_entry_t *) 0 ; svn_boolean_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -5897,9 +5992,9 @@ _wrap_svn_log_entry_t_subtractive_merge_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_entry_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_entry_t *","subtractive_merge", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_entry_t *","subtractive_merge", 1, self )); } - arg1 = (svn_log_entry_t *)(argp1); + arg1 = (struct svn_log_entry_t *)(argp1); arg2 = RTEST(argv[0]); if (arg1) (arg1)->subtractive_merge = arg2; return Qnil; @@ -5910,7 +6005,7 @@ fail: SWIGINTERN VALUE _wrap_svn_log_entry_t_subtractive_merge_get(int argc, VALUE *argv, VALUE self) { - svn_log_entry_t *arg1 = (svn_log_entry_t *) 0 ; + struct svn_log_entry_t *arg1 = (struct svn_log_entry_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_boolean_t result; @@ -5921,9 +6016,9 @@ _wrap_svn_log_entry_t_subtractive_merge_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_log_entry_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_log_entry_t *","subtractive_merge", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_log_entry_t *","subtractive_merge", 1, self )); } - arg1 = (svn_log_entry_t *)(argp1); + arg1 = (struct svn_log_entry_t *)(argp1); result = (svn_boolean_t) ((arg1)->subtractive_merge); vresult = result ? Qtrue : Qfalse; return vresult; @@ -5951,13 +6046,13 @@ _wrap_svn_log_entry_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_log_entry_t(int argc, VALUE *argv, VALUE self) { - svn_log_entry_t *result = 0 ; + struct svn_log_entry_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_log_entry_t *)calloc(1, sizeof(svn_log_entry_t)); + result = (struct svn_log_entry_t *)calloc(1, sizeof(struct svn_log_entry_t)); DATA_PTR(self) = result; @@ -5970,7 +6065,7 @@ fail: SWIGINTERN void -free_svn_log_entry_t(svn_log_entry_t *arg1) { +free_svn_log_entry_t(struct svn_log_entry_t *arg1) { free((char *) arg1); } @@ -6170,11 +6265,11 @@ fail: } -swig_class SwigClassSvn_lock_t; +static swig_class SwigClassSvn_lock_t; SWIGINTERN VALUE _wrap_svn_lock_t_path_set(int argc, VALUE *argv, VALUE self) { - svn_lock_t *arg1 = (svn_lock_t *) 0 ; + struct svn_lock_t *arg1 = (struct svn_lock_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -6187,9 +6282,9 @@ _wrap_svn_lock_t_path_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_lock_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_lock_t *","path", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_lock_t *","path", 1, self )); } - arg1 = (svn_lock_t *)(argp1); + arg1 = (struct svn_lock_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","path", 2, argv[0] )); @@ -6213,7 +6308,7 @@ fail: SWIGINTERN VALUE _wrap_svn_lock_t_path_get(int argc, VALUE *argv, VALUE self) { - svn_lock_t *arg1 = (svn_lock_t *) 0 ; + struct svn_lock_t *arg1 = (struct svn_lock_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -6224,9 +6319,9 @@ _wrap_svn_lock_t_path_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_lock_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_lock_t *","path", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_lock_t *","path", 1, self )); } - arg1 = (svn_lock_t *)(argp1); + arg1 = (struct svn_lock_t *)(argp1); result = (char *) ((arg1)->path); { if (result) { @@ -6243,7 +6338,7 @@ fail: SWIGINTERN VALUE _wrap_svn_lock_t_token_set(int argc, VALUE *argv, VALUE self) { - svn_lock_t *arg1 = (svn_lock_t *) 0 ; + struct svn_lock_t *arg1 = (struct svn_lock_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -6256,9 +6351,9 @@ _wrap_svn_lock_t_token_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_lock_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_lock_t *","token", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_lock_t *","token", 1, self )); } - arg1 = (svn_lock_t *)(argp1); + arg1 = (struct svn_lock_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","token", 2, argv[0] )); @@ -6282,7 +6377,7 @@ fail: SWIGINTERN VALUE _wrap_svn_lock_t_token_get(int argc, VALUE *argv, VALUE self) { - svn_lock_t *arg1 = (svn_lock_t *) 0 ; + struct svn_lock_t *arg1 = (struct svn_lock_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -6293,9 +6388,9 @@ _wrap_svn_lock_t_token_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_lock_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_lock_t *","token", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_lock_t *","token", 1, self )); } - arg1 = (svn_lock_t *)(argp1); + arg1 = (struct svn_lock_t *)(argp1); result = (char *) ((arg1)->token); { if (result) { @@ -6312,7 +6407,7 @@ fail: SWIGINTERN VALUE _wrap_svn_lock_t_owner_set(int argc, VALUE *argv, VALUE self) { - svn_lock_t *arg1 = (svn_lock_t *) 0 ; + struct svn_lock_t *arg1 = (struct svn_lock_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -6325,9 +6420,9 @@ _wrap_svn_lock_t_owner_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_lock_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_lock_t *","owner", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_lock_t *","owner", 1, self )); } - arg1 = (svn_lock_t *)(argp1); + arg1 = (struct svn_lock_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","owner", 2, argv[0] )); @@ -6351,7 +6446,7 @@ fail: SWIGINTERN VALUE _wrap_svn_lock_t_owner_get(int argc, VALUE *argv, VALUE self) { - svn_lock_t *arg1 = (svn_lock_t *) 0 ; + struct svn_lock_t *arg1 = (struct svn_lock_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -6362,9 +6457,9 @@ _wrap_svn_lock_t_owner_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_lock_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_lock_t *","owner", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_lock_t *","owner", 1, self )); } - arg1 = (svn_lock_t *)(argp1); + arg1 = (struct svn_lock_t *)(argp1); result = (char *) ((arg1)->owner); { if (result) { @@ -6381,7 +6476,7 @@ fail: SWIGINTERN VALUE _wrap_svn_lock_t_comment_set(int argc, VALUE *argv, VALUE self) { - svn_lock_t *arg1 = (svn_lock_t *) 0 ; + struct svn_lock_t *arg1 = (struct svn_lock_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -6394,9 +6489,9 @@ _wrap_svn_lock_t_comment_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_lock_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_lock_t *","comment", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_lock_t *","comment", 1, self )); } - arg1 = (svn_lock_t *)(argp1); + arg1 = (struct svn_lock_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","comment", 2, argv[0] )); @@ -6420,7 +6515,7 @@ fail: SWIGINTERN VALUE _wrap_svn_lock_t_comment_get(int argc, VALUE *argv, VALUE self) { - svn_lock_t *arg1 = (svn_lock_t *) 0 ; + struct svn_lock_t *arg1 = (struct svn_lock_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -6431,9 +6526,9 @@ _wrap_svn_lock_t_comment_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_lock_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_lock_t *","comment", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_lock_t *","comment", 1, self )); } - arg1 = (svn_lock_t *)(argp1); + arg1 = (struct svn_lock_t *)(argp1); result = (char *) ((arg1)->comment); { if (result) { @@ -6450,7 +6545,7 @@ fail: SWIGINTERN VALUE _wrap_svn_lock_t_is_dav_comment_set(int argc, VALUE *argv, VALUE self) { - svn_lock_t *arg1 = (svn_lock_t *) 0 ; + struct svn_lock_t *arg1 = (struct svn_lock_t *) 0 ; svn_boolean_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -6460,9 +6555,9 @@ _wrap_svn_lock_t_is_dav_comment_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_lock_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_lock_t *","is_dav_comment", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_lock_t *","is_dav_comment", 1, self )); } - arg1 = (svn_lock_t *)(argp1); + arg1 = (struct svn_lock_t *)(argp1); arg2 = RTEST(argv[0]); if (arg1) (arg1)->is_dav_comment = arg2; return Qnil; @@ -6473,7 +6568,7 @@ fail: SWIGINTERN VALUE _wrap_svn_lock_t_is_dav_comment_get(int argc, VALUE *argv, VALUE self) { - svn_lock_t *arg1 = (svn_lock_t *) 0 ; + struct svn_lock_t *arg1 = (struct svn_lock_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_boolean_t result; @@ -6484,9 +6579,9 @@ _wrap_svn_lock_t_is_dav_comment_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_lock_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_lock_t *","is_dav_comment", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_lock_t *","is_dav_comment", 1, self )); } - arg1 = (svn_lock_t *)(argp1); + arg1 = (struct svn_lock_t *)(argp1); result = (svn_boolean_t) ((arg1)->is_dav_comment); vresult = result ? Qtrue : Qfalse; return vresult; @@ -6497,7 +6592,7 @@ fail: SWIGINTERN VALUE _wrap_svn_lock_t_creation_date_set(int argc, VALUE *argv, VALUE self) { - svn_lock_t *arg1 = (svn_lock_t *) 0 ; + struct svn_lock_t *arg1 = (struct svn_lock_t *) 0 ; apr_time_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -6507,9 +6602,9 @@ _wrap_svn_lock_t_creation_date_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_lock_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_lock_t *","creation_date", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_lock_t *","creation_date", 1, self )); } - arg1 = (svn_lock_t *)(argp1); + arg1 = (struct svn_lock_t *)(argp1); { arg2 = (apr_time_t)NUM2LL(argv[0]); } @@ -6522,7 +6617,7 @@ fail: SWIGINTERN VALUE _wrap_svn_lock_t_creation_date_get(int argc, VALUE *argv, VALUE self) { - svn_lock_t *arg1 = (svn_lock_t *) 0 ; + struct svn_lock_t *arg1 = (struct svn_lock_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; apr_time_t result; @@ -6533,9 +6628,9 @@ _wrap_svn_lock_t_creation_date_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_lock_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_lock_t *","creation_date", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_lock_t *","creation_date", 1, self )); } - arg1 = (svn_lock_t *)(argp1); + arg1 = (struct svn_lock_t *)(argp1); result = ((arg1)->creation_date); { vresult = LL2NUM((apr_time_t)(result)); @@ -6548,7 +6643,7 @@ fail: SWIGINTERN VALUE _wrap_svn_lock_t_expiration_date_set(int argc, VALUE *argv, VALUE self) { - svn_lock_t *arg1 = (svn_lock_t *) 0 ; + struct svn_lock_t *arg1 = (struct svn_lock_t *) 0 ; apr_time_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -6558,9 +6653,9 @@ _wrap_svn_lock_t_expiration_date_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_lock_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_lock_t *","expiration_date", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_lock_t *","expiration_date", 1, self )); } - arg1 = (svn_lock_t *)(argp1); + arg1 = (struct svn_lock_t *)(argp1); { arg2 = (apr_time_t)NUM2LL(argv[0]); } @@ -6573,7 +6668,7 @@ fail: SWIGINTERN VALUE _wrap_svn_lock_t_expiration_date_get(int argc, VALUE *argv, VALUE self) { - svn_lock_t *arg1 = (svn_lock_t *) 0 ; + struct svn_lock_t *arg1 = (struct svn_lock_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; apr_time_t result; @@ -6584,9 +6679,9 @@ _wrap_svn_lock_t_expiration_date_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_lock_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_lock_t *","expiration_date", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_lock_t *","expiration_date", 1, self )); } - arg1 = (svn_lock_t *)(argp1); + arg1 = (struct svn_lock_t *)(argp1); result = ((arg1)->expiration_date); { vresult = LL2NUM((apr_time_t)(result)); @@ -6616,13 +6711,13 @@ _wrap_svn_lock_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_lock_t(int argc, VALUE *argv, VALUE self) { - svn_lock_t *result = 0 ; + struct svn_lock_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_lock_t *)calloc(1, sizeof(svn_lock_t)); + result = (struct svn_lock_t *)calloc(1, sizeof(struct svn_lock_t)); DATA_PTR(self) = result; @@ -6635,7 +6730,7 @@ fail: SWIGINTERN void -free_svn_lock_t(svn_lock_t *arg1) { +free_svn_lock_t(struct svn_lock_t *arg1) { free((char *) arg1); } @@ -6791,11 +6886,11 @@ fail: } -swig_class SwigClassSvn_merge_range_t; +static swig_class SwigClassSvn_merge_range_t; SWIGINTERN VALUE _wrap_svn_merge_range_t_start_set(int argc, VALUE *argv, VALUE self) { - svn_merge_range_t *arg1 = (svn_merge_range_t *) 0 ; + struct svn_merge_range_t *arg1 = (struct svn_merge_range_t *) 0 ; svn_revnum_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -6807,9 +6902,9 @@ _wrap_svn_merge_range_t_start_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_merge_range_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_merge_range_t *","start", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_merge_range_t *","start", 1, self )); } - arg1 = (svn_merge_range_t *)(argp1); + arg1 = (struct svn_merge_range_t *)(argp1); ecode2 = SWIG_AsVal_long(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","start", 2, argv[0] )); @@ -6824,7 +6919,7 @@ fail: SWIGINTERN VALUE _wrap_svn_merge_range_t_start_get(int argc, VALUE *argv, VALUE self) { - svn_merge_range_t *arg1 = (svn_merge_range_t *) 0 ; + struct svn_merge_range_t *arg1 = (struct svn_merge_range_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_revnum_t result; @@ -6835,9 +6930,9 @@ _wrap_svn_merge_range_t_start_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_merge_range_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_merge_range_t *","start", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_merge_range_t *","start", 1, self )); } - arg1 = (svn_merge_range_t *)(argp1); + arg1 = (struct svn_merge_range_t *)(argp1); result = (svn_revnum_t) ((arg1)->start); vresult = SWIG_From_long((long)(result)); return vresult; @@ -6848,7 +6943,7 @@ fail: SWIGINTERN VALUE _wrap_svn_merge_range_t_end_set(int argc, VALUE *argv, VALUE self) { - svn_merge_range_t *arg1 = (svn_merge_range_t *) 0 ; + struct svn_merge_range_t *arg1 = (struct svn_merge_range_t *) 0 ; svn_revnum_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -6860,9 +6955,9 @@ _wrap_svn_merge_range_t_end_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_merge_range_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_merge_range_t *","end", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_merge_range_t *","end", 1, self )); } - arg1 = (svn_merge_range_t *)(argp1); + arg1 = (struct svn_merge_range_t *)(argp1); ecode2 = SWIG_AsVal_long(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","end", 2, argv[0] )); @@ -6877,7 +6972,7 @@ fail: SWIGINTERN VALUE _wrap_svn_merge_range_t_end_get(int argc, VALUE *argv, VALUE self) { - svn_merge_range_t *arg1 = (svn_merge_range_t *) 0 ; + struct svn_merge_range_t *arg1 = (struct svn_merge_range_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_revnum_t result; @@ -6888,9 +6983,9 @@ _wrap_svn_merge_range_t_end_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_merge_range_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_merge_range_t *","end", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_merge_range_t *","end", 1, self )); } - arg1 = (svn_merge_range_t *)(argp1); + arg1 = (struct svn_merge_range_t *)(argp1); result = (svn_revnum_t) ((arg1)->end); vresult = SWIG_From_long((long)(result)); return vresult; @@ -6901,7 +6996,7 @@ fail: SWIGINTERN VALUE _wrap_svn_merge_range_t_inheritable_set(int argc, VALUE *argv, VALUE self) { - svn_merge_range_t *arg1 = (svn_merge_range_t *) 0 ; + struct svn_merge_range_t *arg1 = (struct svn_merge_range_t *) 0 ; svn_boolean_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -6911,9 +7006,9 @@ _wrap_svn_merge_range_t_inheritable_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_merge_range_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_merge_range_t *","inheritable", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_merge_range_t *","inheritable", 1, self )); } - arg1 = (svn_merge_range_t *)(argp1); + arg1 = (struct svn_merge_range_t *)(argp1); arg2 = RTEST(argv[0]); if (arg1) (arg1)->inheritable = arg2; return Qnil; @@ -6924,7 +7019,7 @@ fail: SWIGINTERN VALUE _wrap_svn_merge_range_t_inheritable_get(int argc, VALUE *argv, VALUE self) { - svn_merge_range_t *arg1 = (svn_merge_range_t *) 0 ; + struct svn_merge_range_t *arg1 = (struct svn_merge_range_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_boolean_t result; @@ -6935,9 +7030,9 @@ _wrap_svn_merge_range_t_inheritable_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_merge_range_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_merge_range_t *","inheritable", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_merge_range_t *","inheritable", 1, self )); } - arg1 = (svn_merge_range_t *)(argp1); + arg1 = (struct svn_merge_range_t *)(argp1); result = (svn_boolean_t) ((arg1)->inheritable); vresult = result ? Qtrue : Qfalse; return vresult; @@ -6975,7 +7070,7 @@ _wrap_new_svn_merge_range_t(int argc, VALUE *argv, VALUE self) { int ecode1 = 0 ; long val2 ; int ecode2 = 0 ; - svn_merge_range_t *result = 0 ; + struct svn_merge_range_t *result = 0 ; { svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4); @@ -7000,7 +7095,7 @@ _wrap_new_svn_merge_range_t(int argc, VALUE *argv, VALUE self) { } { - result = (svn_merge_range_t *)new_svn_merge_range_t(arg1,arg2,arg3,arg4); + result = (struct svn_merge_range_t *)new_svn_merge_range_t(arg1,arg2,arg3,arg4); DATA_PTR(self) = result; @@ -7026,10 +7121,10 @@ fail: } -SWIGINTERN void delete_svn_merge_range_t(svn_merge_range_t *self){ +SWIGINTERN void delete_svn_merge_range_t(struct svn_merge_range_t *self){ } SWIGINTERN void -free_svn_merge_range_t(svn_merge_range_t *arg1) { +free_svn_merge_range_t(struct svn_merge_range_t *arg1) { delete_svn_merge_range_t(arg1); } @@ -7044,7 +7139,7 @@ Create a duplicate of the class and unfreeze it if needed. */ SWIGINTERN VALUE _wrap_svn_merge_range_t_dup(int argc, VALUE *argv, VALUE self) { - svn_merge_range_t *arg1 = (svn_merge_range_t *) 0 ; + struct svn_merge_range_t *arg1 = (struct svn_merge_range_t *) 0 ; apr_pool_t *arg2 = (apr_pool_t *) 0 ; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; @@ -7063,9 +7158,9 @@ _wrap_svn_merge_range_t_dup(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_merge_range_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_merge_range_t *","dup", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_merge_range_t *","dup", 1, self )); } - arg1 = (svn_merge_range_t *)(argp1); + arg1 = (struct svn_merge_range_t *)(argp1); if (argc > 0) { } @@ -7187,11 +7282,11 @@ fail: } -swig_class SwigClassSvn_location_segment_t; +static swig_class SwigClassSvn_location_segment_t; SWIGINTERN VALUE _wrap_svn_location_segment_t_range_start_set(int argc, VALUE *argv, VALUE self) { - svn_location_segment_t *arg1 = (svn_location_segment_t *) 0 ; + struct svn_location_segment_t *arg1 = (struct svn_location_segment_t *) 0 ; svn_revnum_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -7203,9 +7298,9 @@ _wrap_svn_location_segment_t_range_start_set(int argc, VALUE *argv, VALUE self) } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_location_segment_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_location_segment_t *","range_start", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_location_segment_t *","range_start", 1, self )); } - arg1 = (svn_location_segment_t *)(argp1); + arg1 = (struct svn_location_segment_t *)(argp1); ecode2 = SWIG_AsVal_long(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","range_start", 2, argv[0] )); @@ -7220,7 +7315,7 @@ fail: SWIGINTERN VALUE _wrap_svn_location_segment_t_range_start_get(int argc, VALUE *argv, VALUE self) { - svn_location_segment_t *arg1 = (svn_location_segment_t *) 0 ; + struct svn_location_segment_t *arg1 = (struct svn_location_segment_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_revnum_t result; @@ -7231,9 +7326,9 @@ _wrap_svn_location_segment_t_range_start_get(int argc, VALUE *argv, VALUE self) } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_location_segment_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_location_segment_t *","range_start", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_location_segment_t *","range_start", 1, self )); } - arg1 = (svn_location_segment_t *)(argp1); + arg1 = (struct svn_location_segment_t *)(argp1); result = (svn_revnum_t) ((arg1)->range_start); vresult = SWIG_From_long((long)(result)); return vresult; @@ -7244,7 +7339,7 @@ fail: SWIGINTERN VALUE _wrap_svn_location_segment_t_range_end_set(int argc, VALUE *argv, VALUE self) { - svn_location_segment_t *arg1 = (svn_location_segment_t *) 0 ; + struct svn_location_segment_t *arg1 = (struct svn_location_segment_t *) 0 ; svn_revnum_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -7256,9 +7351,9 @@ _wrap_svn_location_segment_t_range_end_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_location_segment_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_location_segment_t *","range_end", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_location_segment_t *","range_end", 1, self )); } - arg1 = (svn_location_segment_t *)(argp1); + arg1 = (struct svn_location_segment_t *)(argp1); ecode2 = SWIG_AsVal_long(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","range_end", 2, argv[0] )); @@ -7273,7 +7368,7 @@ fail: SWIGINTERN VALUE _wrap_svn_location_segment_t_range_end_get(int argc, VALUE *argv, VALUE self) { - svn_location_segment_t *arg1 = (svn_location_segment_t *) 0 ; + struct svn_location_segment_t *arg1 = (struct svn_location_segment_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_revnum_t result; @@ -7284,9 +7379,9 @@ _wrap_svn_location_segment_t_range_end_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_location_segment_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_location_segment_t *","range_end", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_location_segment_t *","range_end", 1, self )); } - arg1 = (svn_location_segment_t *)(argp1); + arg1 = (struct svn_location_segment_t *)(argp1); result = (svn_revnum_t) ((arg1)->range_end); vresult = SWIG_From_long((long)(result)); return vresult; @@ -7297,7 +7392,7 @@ fail: SWIGINTERN VALUE _wrap_svn_location_segment_t_path_set(int argc, VALUE *argv, VALUE self) { - svn_location_segment_t *arg1 = (svn_location_segment_t *) 0 ; + struct svn_location_segment_t *arg1 = (struct svn_location_segment_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -7310,9 +7405,9 @@ _wrap_svn_location_segment_t_path_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_location_segment_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_location_segment_t *","path", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_location_segment_t *","path", 1, self )); } - arg1 = (svn_location_segment_t *)(argp1); + arg1 = (struct svn_location_segment_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","path", 2, argv[0] )); @@ -7336,7 +7431,7 @@ fail: SWIGINTERN VALUE _wrap_svn_location_segment_t_path_get(int argc, VALUE *argv, VALUE self) { - svn_location_segment_t *arg1 = (svn_location_segment_t *) 0 ; + struct svn_location_segment_t *arg1 = (struct svn_location_segment_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -7347,9 +7442,9 @@ _wrap_svn_location_segment_t_path_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_location_segment_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_location_segment_t *","path", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_location_segment_t *","path", 1, self )); } - arg1 = (svn_location_segment_t *)(argp1); + arg1 = (struct svn_location_segment_t *)(argp1); result = (char *) ((arg1)->path); { if (result) { @@ -7383,13 +7478,13 @@ _wrap_svn_location_segment_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_location_segment_t(int argc, VALUE *argv, VALUE self) { - svn_location_segment_t *result = 0 ; + struct svn_location_segment_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_location_segment_t *)calloc(1, sizeof(svn_location_segment_t)); + result = (struct svn_location_segment_t *)calloc(1, sizeof(struct svn_location_segment_t)); DATA_PTR(self) = result; @@ -7402,7 +7497,7 @@ fail: SWIGINTERN void -free_svn_location_segment_t(svn_location_segment_t *arg1) { +free_svn_location_segment_t(struct svn_location_segment_t *arg1) { free((char *) arg1); } @@ -7951,7 +8046,30 @@ fail: } -swig_class SwigClassSvn_version_t; +SWIGINTERN VALUE +_wrap_svn_pool_create_allocator(int argc, VALUE *argv, VALUE self) { + svn_boolean_t arg1 ; + apr_allocator_t *result = 0 ; + VALUE vresult = Qnil; + + if ((argc < 1) || (argc > 1)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; + } + arg1 = RTEST(argv[0]); + { + result = (apr_allocator_t *)svn_pool_create_allocator(arg1); + + + + } + vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_apr_allocator_t, 0 | 0 ); + return vresult; +fail: + return Qnil; +} + + +static swig_class SwigClassSvn_version_t; SWIGINTERN VALUE _wrap_svn_version_t_major_set(int argc, VALUE *argv, VALUE self) { @@ -8297,11 +8415,11 @@ fail: } -swig_class SwigClassSvn_version_checklist_t; +static swig_class SwigClassSvn_version_checklist_t; SWIGINTERN VALUE _wrap_svn_version_checklist_t_label_set(int argc, VALUE *argv, VALUE self) { - svn_version_checklist_t *arg1 = (svn_version_checklist_t *) 0 ; + struct svn_version_checklist_t *arg1 = (struct svn_version_checklist_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -8314,9 +8432,9 @@ _wrap_svn_version_checklist_t_label_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_version_checklist_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_version_checklist_t *","label", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_version_checklist_t *","label", 1, self )); } - arg1 = (svn_version_checklist_t *)(argp1); + arg1 = (struct svn_version_checklist_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","label", 2, argv[0] )); @@ -8340,7 +8458,7 @@ fail: SWIGINTERN VALUE _wrap_svn_version_checklist_t_label_get(int argc, VALUE *argv, VALUE self) { - svn_version_checklist_t *arg1 = (svn_version_checklist_t *) 0 ; + struct svn_version_checklist_t *arg1 = (struct svn_version_checklist_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -8351,9 +8469,9 @@ _wrap_svn_version_checklist_t_label_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_version_checklist_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_version_checklist_t *","label", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_version_checklist_t *","label", 1, self )); } - arg1 = (svn_version_checklist_t *)(argp1); + arg1 = (struct svn_version_checklist_t *)(argp1); result = (char *) ((arg1)->label); { if (result) { @@ -8370,7 +8488,7 @@ fail: SWIGINTERN VALUE _wrap_svn_version_checklist_t_version_query_set(int argc, VALUE *argv, VALUE self) { - svn_version_checklist_t *arg1 = (svn_version_checklist_t *) 0 ; + struct svn_version_checklist_t *arg1 = (struct svn_version_checklist_t *) 0 ; svn_version_t *(*arg2)(void) = (svn_version_t *(*)(void)) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -8380,9 +8498,9 @@ _wrap_svn_version_checklist_t_version_query_set(int argc, VALUE *argv, VALUE sel } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_version_checklist_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_version_checklist_t *","version_query", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_version_checklist_t *","version_query", 1, self )); } - arg1 = (svn_version_checklist_t *)(argp1); + arg1 = (struct svn_version_checklist_t *)(argp1); { int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_void__p_svn_version_t); if (!SWIG_IsOK(res)) { @@ -8398,7 +8516,7 @@ fail: SWIGINTERN VALUE _wrap_svn_version_checklist_t_version_query_get(int argc, VALUE *argv, VALUE self) { - svn_version_checklist_t *arg1 = (svn_version_checklist_t *) 0 ; + struct svn_version_checklist_t *arg1 = (struct svn_version_checklist_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_version_t *(*result)(void) = 0 ; @@ -8409,9 +8527,9 @@ _wrap_svn_version_checklist_t_version_query_get(int argc, VALUE *argv, VALUE sel } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_version_checklist_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_version_checklist_t *","version_query", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_version_checklist_t *","version_query", 1, self )); } - arg1 = (svn_version_checklist_t *)(argp1); + arg1 = (struct svn_version_checklist_t *)(argp1); result = (svn_version_t *(*)(void)) ((arg1)->version_query); vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_void__p_svn_version_t); return vresult; @@ -8439,13 +8557,13 @@ _wrap_svn_version_checklist_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_version_checklist_t(int argc, VALUE *argv, VALUE self) { - svn_version_checklist_t *result = 0 ; + struct svn_version_checklist_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_version_checklist_t *)calloc(1, sizeof(svn_version_checklist_t)); + result = (struct svn_version_checklist_t *)calloc(1, sizeof(struct svn_version_checklist_t)); DATA_PTR(self) = result; @@ -8458,7 +8576,7 @@ fail: SWIGINTERN void -free_svn_version_checklist_t(svn_version_checklist_t *arg1) { +free_svn_version_checklist_t(struct svn_version_checklist_t *arg1) { free((char *) arg1); } @@ -8528,6 +8646,755 @@ fail: SWIGINTERN VALUE +_wrap_svn_version_extended(int argc, VALUE *argv, VALUE self) { + svn_boolean_t arg1 ; + apr_pool_t *arg2 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + svn_version_extended_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 = RTEST(argv[0]); + if (argc > 1) { + + } + { + result = (svn_version_extended_t *)svn_version_extended(arg1,arg2); + + + + } + vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_version_extended_t, 0 | 0 ); + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return vresult; +fail: + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_version_ext_build_date(int argc, VALUE *argv, VALUE self) { + svn_version_extended_t *arg1 = (svn_version_extended_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + char *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_svn_version_extended_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_version_extended_t const *","svn_version_ext_build_date", 1, argv[0] )); + } + arg1 = (svn_version_extended_t *)(argp1); + { + result = (char *)svn_version_ext_build_date((struct svn_version_extended_t const *)arg1); + + + + } + { + if (result) { + vresult = rb_str_new2(result); + } else { + vresult = Qnil; + } + } + return vresult; +fail: + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_version_ext_build_time(int argc, VALUE *argv, VALUE self) { + svn_version_extended_t *arg1 = (svn_version_extended_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + char *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_svn_version_extended_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_version_extended_t const *","svn_version_ext_build_time", 1, argv[0] )); + } + arg1 = (svn_version_extended_t *)(argp1); + { + result = (char *)svn_version_ext_build_time((struct svn_version_extended_t const *)arg1); + + + + } + { + if (result) { + vresult = rb_str_new2(result); + } else { + vresult = Qnil; + } + } + return vresult; +fail: + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_version_ext_build_host(int argc, VALUE *argv, VALUE self) { + svn_version_extended_t *arg1 = (svn_version_extended_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + char *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_svn_version_extended_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_version_extended_t const *","svn_version_ext_build_host", 1, argv[0] )); + } + arg1 = (svn_version_extended_t *)(argp1); + { + result = (char *)svn_version_ext_build_host((struct svn_version_extended_t const *)arg1); + + + + } + { + if (result) { + vresult = rb_str_new2(result); + } else { + vresult = Qnil; + } + } + return vresult; +fail: + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_version_ext_copyright(int argc, VALUE *argv, VALUE self) { + svn_version_extended_t *arg1 = (svn_version_extended_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + char *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_svn_version_extended_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_version_extended_t const *","svn_version_ext_copyright", 1, argv[0] )); + } + arg1 = (svn_version_extended_t *)(argp1); + { + result = (char *)svn_version_ext_copyright((struct svn_version_extended_t const *)arg1); + + + + } + { + if (result) { + vresult = rb_str_new2(result); + } else { + vresult = Qnil; + } + } + return vresult; +fail: + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_version_ext_runtime_host(int argc, VALUE *argv, VALUE self) { + svn_version_extended_t *arg1 = (svn_version_extended_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + char *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_svn_version_extended_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_version_extended_t const *","svn_version_ext_runtime_host", 1, argv[0] )); + } + arg1 = (svn_version_extended_t *)(argp1); + { + result = (char *)svn_version_ext_runtime_host((struct svn_version_extended_t const *)arg1); + + + + } + { + if (result) { + vresult = rb_str_new2(result); + } else { + vresult = Qnil; + } + } + return vresult; +fail: + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_version_ext_runtime_osname(int argc, VALUE *argv, VALUE self) { + svn_version_extended_t *arg1 = (svn_version_extended_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + char *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_svn_version_extended_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_version_extended_t const *","svn_version_ext_runtime_osname", 1, argv[0] )); + } + arg1 = (svn_version_extended_t *)(argp1); + { + result = (char *)svn_version_ext_runtime_osname((struct svn_version_extended_t const *)arg1); + + + + } + { + if (result) { + vresult = rb_str_new2(result); + } else { + vresult = Qnil; + } + } + return vresult; +fail: + return Qnil; +} + + +static swig_class SwigClassSvn_version_ext_linked_lib_t; + +SWIGINTERN VALUE +_wrap_svn_version_ext_linked_lib_t_name_set(int argc, VALUE *argv, VALUE self) { + struct svn_version_ext_linked_lib_t *arg1 = (struct svn_version_ext_linked_lib_t *) 0 ; + char *arg2 = (char *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + + if ((argc < 1) || (argc > 1)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_version_ext_linked_lib_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_version_ext_linked_lib_t *","name", 1, self )); + } + arg1 = (struct svn_version_ext_linked_lib_t *)(argp1); + res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","name", 2, argv[0] )); + } + arg2 = (char *)(buf2); + { + apr_size_t len = strlen(arg2) + 1; + char *copied; + if (arg1->name) free((char *)arg1->name); + copied = malloc(len); + memcpy(copied, arg2, len); + arg1->name = copied; + } + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + return Qnil; +fail: + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_version_ext_linked_lib_t_name_get(int argc, VALUE *argv, VALUE self) { + struct svn_version_ext_linked_lib_t *arg1 = (struct svn_version_ext_linked_lib_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + char *result = 0 ; + VALUE vresult = Qnil; + + if ((argc < 0) || (argc > 0)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_version_ext_linked_lib_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_version_ext_linked_lib_t *","name", 1, self )); + } + arg1 = (struct svn_version_ext_linked_lib_t *)(argp1); + result = (char *) ((arg1)->name); + { + if (result) { + vresult = rb_str_new2(result); + } else { + vresult = Qnil; + } + } + return vresult; +fail: + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_version_ext_linked_lib_t_compiled_version_set(int argc, VALUE *argv, VALUE self) { + struct svn_version_ext_linked_lib_t *arg1 = (struct svn_version_ext_linked_lib_t *) 0 ; + char *arg2 = (char *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + + if ((argc < 1) || (argc > 1)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_version_ext_linked_lib_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_version_ext_linked_lib_t *","compiled_version", 1, self )); + } + arg1 = (struct svn_version_ext_linked_lib_t *)(argp1); + res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","compiled_version", 2, argv[0] )); + } + arg2 = (char *)(buf2); + { + apr_size_t len = strlen(arg2) + 1; + char *copied; + if (arg1->compiled_version) free((char *)arg1->compiled_version); + copied = malloc(len); + memcpy(copied, arg2, len); + arg1->compiled_version = copied; + } + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + return Qnil; +fail: + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_version_ext_linked_lib_t_compiled_version_get(int argc, VALUE *argv, VALUE self) { + struct svn_version_ext_linked_lib_t *arg1 = (struct svn_version_ext_linked_lib_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + char *result = 0 ; + VALUE vresult = Qnil; + + if ((argc < 0) || (argc > 0)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_version_ext_linked_lib_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_version_ext_linked_lib_t *","compiled_version", 1, self )); + } + arg1 = (struct svn_version_ext_linked_lib_t *)(argp1); + result = (char *) ((arg1)->compiled_version); + { + if (result) { + vresult = rb_str_new2(result); + } else { + vresult = Qnil; + } + } + return vresult; +fail: + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_version_ext_linked_lib_t_runtime_version_set(int argc, VALUE *argv, VALUE self) { + struct svn_version_ext_linked_lib_t *arg1 = (struct svn_version_ext_linked_lib_t *) 0 ; + char *arg2 = (char *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + + if ((argc < 1) || (argc > 1)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_version_ext_linked_lib_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_version_ext_linked_lib_t *","runtime_version", 1, self )); + } + arg1 = (struct svn_version_ext_linked_lib_t *)(argp1); + res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","runtime_version", 2, argv[0] )); + } + arg2 = (char *)(buf2); + { + apr_size_t len = strlen(arg2) + 1; + char *copied; + if (arg1->runtime_version) free((char *)arg1->runtime_version); + copied = malloc(len); + memcpy(copied, arg2, len); + arg1->runtime_version = copied; + } + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + return Qnil; +fail: + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_version_ext_linked_lib_t_runtime_version_get(int argc, VALUE *argv, VALUE self) { + struct svn_version_ext_linked_lib_t *arg1 = (struct svn_version_ext_linked_lib_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + char *result = 0 ; + VALUE vresult = Qnil; + + if ((argc < 0) || (argc > 0)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_version_ext_linked_lib_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_version_ext_linked_lib_t *","runtime_version", 1, self )); + } + arg1 = (struct svn_version_ext_linked_lib_t *)(argp1); + result = (char *) ((arg1)->runtime_version); + { + if (result) { + vresult = rb_str_new2(result); + } else { + vresult = Qnil; + } + } + return vresult; +fail: + return Qnil; +} + + +#ifdef HAVE_RB_DEFINE_ALLOC_FUNC +SWIGINTERN VALUE +_wrap_svn_version_ext_linked_lib_t_allocate(VALUE self) { +#else + SWIGINTERN VALUE + _wrap_svn_version_ext_linked_lib_t_allocate(int argc, VALUE *argv, VALUE self) { +#endif + + + VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_version_ext_linked_lib_t); +#ifndef HAVE_RB_DEFINE_ALLOC_FUNC + rb_obj_call_init(vresult, argc, argv); +#endif + return vresult; + } + + +SWIGINTERN VALUE +_wrap_new_svn_version_ext_linked_lib_t(int argc, VALUE *argv, VALUE self) { + struct svn_version_ext_linked_lib_t *result = 0 ; + + if ((argc < 0) || (argc > 0)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; + } + { + result = (struct svn_version_ext_linked_lib_t *)calloc(1, sizeof(struct svn_version_ext_linked_lib_t)); + DATA_PTR(self) = result; + + + + } + return self; +fail: + return Qnil; +} + + +SWIGINTERN void +free_svn_version_ext_linked_lib_t(struct svn_version_ext_linked_lib_t *arg1) { + free((char *) arg1); +} + +SWIGINTERN VALUE +_wrap_svn_version_ext_linked_libs(int argc, VALUE *argv, VALUE self) { + svn_version_extended_t *arg1 = (svn_version_extended_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + apr_array_header_t *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_svn_version_extended_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_version_extended_t const *","svn_version_ext_linked_libs", 1, argv[0] )); + } + arg1 = (svn_version_extended_t *)(argp1); + { + result = (apr_array_header_t *)svn_version_ext_linked_libs((struct svn_version_extended_t const *)arg1); + + + + } + vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_apr_array_header_t, 0 | 0 ); + return vresult; +fail: + return Qnil; +} + + +static swig_class SwigClassSvn_version_ext_loaded_lib_t; + +SWIGINTERN VALUE +_wrap_svn_version_ext_loaded_lib_t_name_set(int argc, VALUE *argv, VALUE self) { + struct svn_version_ext_loaded_lib_t *arg1 = (struct svn_version_ext_loaded_lib_t *) 0 ; + char *arg2 = (char *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + + if ((argc < 1) || (argc > 1)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_version_ext_loaded_lib_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_version_ext_loaded_lib_t *","name", 1, self )); + } + arg1 = (struct svn_version_ext_loaded_lib_t *)(argp1); + res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","name", 2, argv[0] )); + } + arg2 = (char *)(buf2); + { + apr_size_t len = strlen(arg2) + 1; + char *copied; + if (arg1->name) free((char *)arg1->name); + copied = malloc(len); + memcpy(copied, arg2, len); + arg1->name = copied; + } + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + return Qnil; +fail: + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_version_ext_loaded_lib_t_name_get(int argc, VALUE *argv, VALUE self) { + struct svn_version_ext_loaded_lib_t *arg1 = (struct svn_version_ext_loaded_lib_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + char *result = 0 ; + VALUE vresult = Qnil; + + if ((argc < 0) || (argc > 0)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_version_ext_loaded_lib_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_version_ext_loaded_lib_t *","name", 1, self )); + } + arg1 = (struct svn_version_ext_loaded_lib_t *)(argp1); + result = (char *) ((arg1)->name); + { + if (result) { + vresult = rb_str_new2(result); + } else { + vresult = Qnil; + } + } + return vresult; +fail: + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_version_ext_loaded_lib_t_version_set(int argc, VALUE *argv, VALUE self) { + struct svn_version_ext_loaded_lib_t *arg1 = (struct svn_version_ext_loaded_lib_t *) 0 ; + char *arg2 = (char *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + + if ((argc < 1) || (argc > 1)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_version_ext_loaded_lib_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_version_ext_loaded_lib_t *","version", 1, self )); + } + arg1 = (struct svn_version_ext_loaded_lib_t *)(argp1); + res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","version", 2, argv[0] )); + } + arg2 = (char *)(buf2); + { + apr_size_t len = strlen(arg2) + 1; + char *copied; + if (arg1->version) free((char *)arg1->version); + copied = malloc(len); + memcpy(copied, arg2, len); + arg1->version = copied; + } + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + return Qnil; +fail: + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_version_ext_loaded_lib_t_version_get(int argc, VALUE *argv, VALUE self) { + struct svn_version_ext_loaded_lib_t *arg1 = (struct svn_version_ext_loaded_lib_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + char *result = 0 ; + VALUE vresult = Qnil; + + if ((argc < 0) || (argc > 0)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_version_ext_loaded_lib_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_version_ext_loaded_lib_t *","version", 1, self )); + } + arg1 = (struct svn_version_ext_loaded_lib_t *)(argp1); + result = (char *) ((arg1)->version); + { + if (result) { + vresult = rb_str_new2(result); + } else { + vresult = Qnil; + } + } + return vresult; +fail: + return Qnil; +} + + +#ifdef HAVE_RB_DEFINE_ALLOC_FUNC +SWIGINTERN VALUE +_wrap_svn_version_ext_loaded_lib_t_allocate(VALUE self) { +#else + SWIGINTERN VALUE + _wrap_svn_version_ext_loaded_lib_t_allocate(int argc, VALUE *argv, VALUE self) { +#endif + + + VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_version_ext_loaded_lib_t); +#ifndef HAVE_RB_DEFINE_ALLOC_FUNC + rb_obj_call_init(vresult, argc, argv); +#endif + return vresult; + } + + +SWIGINTERN VALUE +_wrap_new_svn_version_ext_loaded_lib_t(int argc, VALUE *argv, VALUE self) { + struct svn_version_ext_loaded_lib_t *result = 0 ; + + if ((argc < 0) || (argc > 0)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; + } + { + result = (struct svn_version_ext_loaded_lib_t *)calloc(1, sizeof(struct svn_version_ext_loaded_lib_t)); + DATA_PTR(self) = result; + + + + } + return self; +fail: + return Qnil; +} + + +SWIGINTERN void +free_svn_version_ext_loaded_lib_t(struct svn_version_ext_loaded_lib_t *arg1) { + free((char *) arg1); +} + +SWIGINTERN VALUE +_wrap_svn_version_ext_loaded_libs(int argc, VALUE *argv, VALUE self) { + svn_version_extended_t *arg1 = (svn_version_extended_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + apr_array_header_t *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_svn_version_extended_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_version_extended_t const *","svn_version_ext_loaded_libs", 1, argv[0] )); + } + arg1 = (svn_version_extended_t *)(argp1); + { + result = (apr_array_header_t *)svn_version_ext_loaded_libs((struct svn_version_extended_t const *)arg1); + + + + } + vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_apr_array_header_t, 0 | 0 ); + return vresult; +fail: + return Qnil; +} + + +SWIGINTERN VALUE _wrap_svn_version_checklist_invoke_version_query(int argc, VALUE *argv, VALUE self) { svn_version_checklist_t *arg1 = (svn_version_checklist_t *) 0 ; void *argp1 = 0 ; @@ -8692,6 +9559,172 @@ fail: } +static swig_class SwigClassSvn_prop_inherited_item_t; + +SWIGINTERN VALUE +_wrap_svn_prop_inherited_item_t_path_or_url_set(int argc, VALUE *argv, VALUE self) { + struct svn_prop_inherited_item_t *arg1 = (struct svn_prop_inherited_item_t *) 0 ; + char *arg2 = (char *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + + if ((argc < 1) || (argc > 1)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_prop_inherited_item_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_prop_inherited_item_t *","path_or_url", 1, self )); + } + arg1 = (struct svn_prop_inherited_item_t *)(argp1); + res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","path_or_url", 2, argv[0] )); + } + arg2 = (char *)(buf2); + { + apr_size_t len = strlen(arg2) + 1; + char *copied; + if (arg1->path_or_url) free((char *)arg1->path_or_url); + copied = malloc(len); + memcpy(copied, arg2, len); + arg1->path_or_url = copied; + } + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + return Qnil; +fail: + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_prop_inherited_item_t_path_or_url_get(int argc, VALUE *argv, VALUE self) { + struct svn_prop_inherited_item_t *arg1 = (struct svn_prop_inherited_item_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + char *result = 0 ; + VALUE vresult = Qnil; + + if ((argc < 0) || (argc > 0)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_prop_inherited_item_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_prop_inherited_item_t *","path_or_url", 1, self )); + } + arg1 = (struct svn_prop_inherited_item_t *)(argp1); + result = (char *) ((arg1)->path_or_url); + { + if (result) { + vresult = rb_str_new2(result); + } else { + vresult = Qnil; + } + } + return vresult; +fail: + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_prop_inherited_item_t_prop_hash_set(int argc, VALUE *argv, VALUE self) { + struct svn_prop_inherited_item_t *arg1 = (struct svn_prop_inherited_item_t *) 0 ; + apr_hash_t *arg2 = (apr_hash_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_prop_inherited_item_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_prop_inherited_item_t *","prop_hash", 1, self )); + } + arg1 = (struct svn_prop_inherited_item_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( "", "apr_hash_t *","prop_hash", 2, argv[0] )); + } + arg2 = (apr_hash_t *)(argp2); + if (arg1) (arg1)->prop_hash = arg2; + return Qnil; +fail: + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_prop_inherited_item_t_prop_hash_get(int argc, VALUE *argv, VALUE self) { + struct svn_prop_inherited_item_t *arg1 = (struct svn_prop_inherited_item_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + apr_hash_t *result = 0 ; + VALUE vresult = Qnil; + + if ((argc < 0) || (argc > 0)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_prop_inherited_item_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_prop_inherited_item_t *","prop_hash", 1, self )); + } + arg1 = (struct svn_prop_inherited_item_t *)(argp1); + result = (apr_hash_t *) ((arg1)->prop_hash); + 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_prop_inherited_item_t_allocate(VALUE self) { +#else + SWIGINTERN VALUE + _wrap_svn_prop_inherited_item_t_allocate(int argc, VALUE *argv, VALUE self) { +#endif + + + VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_prop_inherited_item_t); +#ifndef HAVE_RB_DEFINE_ALLOC_FUNC + rb_obj_call_init(vresult, argc, argv); +#endif + return vresult; + } + + +SWIGINTERN VALUE +_wrap_new_svn_prop_inherited_item_t(int argc, VALUE *argv, VALUE self) { + struct svn_prop_inherited_item_t *result = 0 ; + + if ((argc < 0) || (argc > 0)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; + } + { + result = (struct svn_prop_inherited_item_t *)calloc(1, sizeof(struct svn_prop_inherited_item_t)); + DATA_PTR(self) = result; + + + + } + return self; +fail: + return Qnil; +} + + +SWIGINTERN void +free_svn_prop_inherited_item_t(struct svn_prop_inherited_item_t *arg1) { + free((char *) arg1); +} + SWIGINTERN VALUE _wrap_svn_prop_hash_to_array(int argc, VALUE *argv, VALUE self) { apr_hash_t *arg1 = (apr_hash_t *) 0 ; @@ -8730,7 +9763,7 @@ _wrap_svn_prop_hash_to_array(int argc, VALUE *argv, VALUE self) { } { - result = (apr_array_header_t *)svn_prop_hash_to_array(arg1,arg2); + result = (apr_array_header_t *)svn_prop_hash_to_array((apr_hash_t const *)arg1,arg2); @@ -8831,7 +9864,7 @@ _wrap_svn_prop_hash_dup(int argc, VALUE *argv, VALUE self) { } { - result = (apr_hash_t *)svn_prop_hash_dup(arg1,arg2); + result = (apr_hash_t *)svn_prop_hash_dup((apr_hash_t const *)arg1,arg2); @@ -8874,7 +9907,7 @@ _wrap_svn_prop_get_value(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_apr_hash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "apr_hash_t *","svn_prop_get_value", 1, argv[0] )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "apr_hash_t const *","svn_prop_get_value", 1, argv[0] )); } arg1 = (apr_hash_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2); @@ -8883,7 +9916,7 @@ _wrap_svn_prop_get_value(int argc, VALUE *argv, VALUE self) { } arg2 = (char *)(buf2); { - result = (char *)svn_prop_get_value(arg1,(char const *)arg2); + result = (char *)svn_prop_get_value((apr_hash_t const *)arg1,(char const *)arg2); @@ -8904,6 +9937,38 @@ fail: SWIGINTERN VALUE +_wrap_svn_property_kind2(int argc, VALUE *argv, VALUE self) { + char *arg1 = (char *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + svn_prop_kind_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_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_property_kind2", 1, argv[0] )); + } + arg1 = (char *)(buf1); + { + result = (svn_prop_kind_t)svn_property_kind2((char const *)arg1); + + + + } + vresult = SWIG_From_int((int)(result)); + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return vresult; +fail: + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return Qnil; +} + + +SWIGINTERN VALUE _wrap_svn_property_kind(int argc, VALUE *argv, VALUE self) { int *arg1 = (int *) 0 ; char *arg2 = (char *) 0 ; @@ -9074,6 +10139,134 @@ fail: SWIGINTERN VALUE +_wrap_svn_prop_is_known_svn_rev_prop(int argc, VALUE *argv, VALUE self) { + char *arg1 = (char *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 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; + } + res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_prop_is_known_svn_rev_prop", 1, argv[0] )); + } + arg1 = (char *)(buf1); + { + result = (svn_boolean_t)svn_prop_is_known_svn_rev_prop((char const *)arg1); + + + + } + vresult = result ? Qtrue : Qfalse; + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return vresult; +fail: + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_prop_is_known_svn_node_prop(int argc, VALUE *argv, VALUE self) { + char *arg1 = (char *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 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; + } + res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_prop_is_known_svn_node_prop", 1, argv[0] )); + } + arg1 = (char *)(buf1); + { + result = (svn_boolean_t)svn_prop_is_known_svn_node_prop((char const *)arg1); + + + + } + vresult = result ? Qtrue : Qfalse; + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return vresult; +fail: + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_prop_is_known_svn_file_prop(int argc, VALUE *argv, VALUE self) { + char *arg1 = (char *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 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; + } + res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_prop_is_known_svn_file_prop", 1, argv[0] )); + } + arg1 = (char *)(buf1); + { + result = (svn_boolean_t)svn_prop_is_known_svn_file_prop((char const *)arg1); + + + + } + vresult = result ? Qtrue : Qfalse; + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return vresult; +fail: + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_prop_is_known_svn_dir_prop(int argc, VALUE *argv, VALUE self) { + char *arg1 = (char *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 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; + } + res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_prop_is_known_svn_dir_prop", 1, argv[0] )); + } + arg1 = (char *)(buf1); + { + result = (svn_boolean_t)svn_prop_is_known_svn_dir_prop((char const *)arg1); + + + + } + vresult = result ? Qtrue : Qfalse; + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return vresult; +fail: + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return Qnil; +} + + +SWIGINTERN VALUE _wrap_svn_prop_needs_translation(int argc, VALUE *argv, VALUE self) { char *arg1 = (char *) 0 ; int res1 ; @@ -9239,7 +10432,7 @@ _wrap_svn_prop_diffs(int argc, VALUE *argv, VALUE self) { } { - result = (svn_error_t *)svn_prop_diffs(arg1,arg2,arg3,arg4); + result = (svn_error_t *)svn_prop_diffs(arg1,(apr_hash_t const *)arg2,(apr_hash_t const *)arg3,arg4); @@ -9307,11 +10500,11 @@ fail: } -swig_class SwigClassSvn_opt_subcommand_desc2_t; +static swig_class SwigClassSvn_opt_subcommand_desc2_t; SWIGINTERN VALUE _wrap_svn_opt_subcommand_desc2_t_name_set(int argc, VALUE *argv, VALUE self) { - svn_opt_subcommand_desc2_t *arg1 = (svn_opt_subcommand_desc2_t *) 0 ; + struct svn_opt_subcommand_desc2_t *arg1 = (struct svn_opt_subcommand_desc2_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -9324,9 +10517,9 @@ _wrap_svn_opt_subcommand_desc2_t_name_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_subcommand_desc2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_subcommand_desc2_t *","name", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_subcommand_desc2_t *","name", 1, self )); } - arg1 = (svn_opt_subcommand_desc2_t *)(argp1); + arg1 = (struct svn_opt_subcommand_desc2_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","name", 2, argv[0] )); @@ -9350,7 +10543,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_subcommand_desc2_t_name_get(int argc, VALUE *argv, VALUE self) { - svn_opt_subcommand_desc2_t *arg1 = (svn_opt_subcommand_desc2_t *) 0 ; + struct svn_opt_subcommand_desc2_t *arg1 = (struct svn_opt_subcommand_desc2_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -9361,9 +10554,9 @@ _wrap_svn_opt_subcommand_desc2_t_name_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_subcommand_desc2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_subcommand_desc2_t *","name", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_subcommand_desc2_t *","name", 1, self )); } - arg1 = (svn_opt_subcommand_desc2_t *)(argp1); + arg1 = (struct svn_opt_subcommand_desc2_t *)(argp1); result = (char *) ((arg1)->name); { if (result) { @@ -9380,7 +10573,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_subcommand_desc2_t_cmd_func_set(int argc, VALUE *argv, VALUE self) { - svn_opt_subcommand_desc2_t *arg1 = (svn_opt_subcommand_desc2_t *) 0 ; + struct svn_opt_subcommand_desc2_t *arg1 = (struct svn_opt_subcommand_desc2_t *) 0 ; svn_opt_subcommand_t *arg2 = (svn_opt_subcommand_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -9390,9 +10583,9 @@ _wrap_svn_opt_subcommand_desc2_t_cmd_func_set(int argc, VALUE *argv, VALUE self) } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_subcommand_desc2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_subcommand_desc2_t *","cmd_func", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_subcommand_desc2_t *","cmd_func", 1, self )); } - arg1 = (svn_opt_subcommand_desc2_t *)(argp1); + arg1 = (struct svn_opt_subcommand_desc2_t *)(argp1); { int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t); if (!SWIG_IsOK(res)) { @@ -9408,7 +10601,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_subcommand_desc2_t_cmd_func_get(int argc, VALUE *argv, VALUE self) { - svn_opt_subcommand_desc2_t *arg1 = (svn_opt_subcommand_desc2_t *) 0 ; + struct svn_opt_subcommand_desc2_t *arg1 = (struct svn_opt_subcommand_desc2_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_opt_subcommand_t *result = 0 ; @@ -9419,9 +10612,9 @@ _wrap_svn_opt_subcommand_desc2_t_cmd_func_get(int argc, VALUE *argv, VALUE self) } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_subcommand_desc2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_subcommand_desc2_t *","cmd_func", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_subcommand_desc2_t *","cmd_func", 1, self )); } - arg1 = (svn_opt_subcommand_desc2_t *)(argp1); + arg1 = (struct svn_opt_subcommand_desc2_t *)(argp1); result = (svn_opt_subcommand_t *) ((arg1)->cmd_func); vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t); return vresult; @@ -9432,7 +10625,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_subcommand_desc2_t_aliases_set(int argc, VALUE *argv, VALUE self) { - svn_opt_subcommand_desc2_t *arg1 = (svn_opt_subcommand_desc2_t *) 0 ; + struct svn_opt_subcommand_desc2_t *arg1 = (struct svn_opt_subcommand_desc2_t *) 0 ; char **arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -9444,9 +10637,9 @@ _wrap_svn_opt_subcommand_desc2_t_aliases_set(int argc, VALUE *argv, VALUE self) } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_subcommand_desc2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_subcommand_desc2_t *","aliases", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_subcommand_desc2_t *","aliases", 1, self )); } - arg1 = (svn_opt_subcommand_desc2_t *)(argp1); + arg1 = (struct svn_opt_subcommand_desc2_t *)(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_p_char, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *[3]","aliases", 2, argv[0] )); @@ -9468,7 +10661,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_subcommand_desc2_t_aliases_get(int argc, VALUE *argv, VALUE self) { - svn_opt_subcommand_desc2_t *arg1 = (svn_opt_subcommand_desc2_t *) 0 ; + struct svn_opt_subcommand_desc2_t *arg1 = (struct svn_opt_subcommand_desc2_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char **result = 0 ; @@ -9479,9 +10672,9 @@ _wrap_svn_opt_subcommand_desc2_t_aliases_get(int argc, VALUE *argv, VALUE self) } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_subcommand_desc2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_subcommand_desc2_t *","aliases", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_subcommand_desc2_t *","aliases", 1, self )); } - arg1 = (svn_opt_subcommand_desc2_t *)(argp1); + arg1 = (struct svn_opt_subcommand_desc2_t *)(argp1); result = (char **)(char **) ((arg1)->aliases); vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_char, 0 | 0 ); return vresult; @@ -9492,7 +10685,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_subcommand_desc2_t_help_set(int argc, VALUE *argv, VALUE self) { - svn_opt_subcommand_desc2_t *arg1 = (svn_opt_subcommand_desc2_t *) 0 ; + struct svn_opt_subcommand_desc2_t *arg1 = (struct svn_opt_subcommand_desc2_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -9505,9 +10698,9 @@ _wrap_svn_opt_subcommand_desc2_t_help_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_subcommand_desc2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_subcommand_desc2_t *","help", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_subcommand_desc2_t *","help", 1, self )); } - arg1 = (svn_opt_subcommand_desc2_t *)(argp1); + arg1 = (struct svn_opt_subcommand_desc2_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","help", 2, argv[0] )); @@ -9531,7 +10724,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_subcommand_desc2_t_help_get(int argc, VALUE *argv, VALUE self) { - svn_opt_subcommand_desc2_t *arg1 = (svn_opt_subcommand_desc2_t *) 0 ; + struct svn_opt_subcommand_desc2_t *arg1 = (struct svn_opt_subcommand_desc2_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -9542,9 +10735,9 @@ _wrap_svn_opt_subcommand_desc2_t_help_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_subcommand_desc2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_subcommand_desc2_t *","help", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_subcommand_desc2_t *","help", 1, self )); } - arg1 = (svn_opt_subcommand_desc2_t *)(argp1); + arg1 = (struct svn_opt_subcommand_desc2_t *)(argp1); result = (char *) ((arg1)->help); { if (result) { @@ -9561,7 +10754,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_subcommand_desc2_t_valid_options_set(int argc, VALUE *argv, VALUE self) { - svn_opt_subcommand_desc2_t *arg1 = (svn_opt_subcommand_desc2_t *) 0 ; + struct svn_opt_subcommand_desc2_t *arg1 = (struct svn_opt_subcommand_desc2_t *) 0 ; int *arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -9573,9 +10766,9 @@ _wrap_svn_opt_subcommand_desc2_t_valid_options_set(int argc, VALUE *argv, VALUE } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_subcommand_desc2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_subcommand_desc2_t *","valid_options", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_subcommand_desc2_t *","valid_options", 1, self )); } - arg1 = (svn_opt_subcommand_desc2_t *)(argp1); + arg1 = (struct svn_opt_subcommand_desc2_t *)(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "int [50]","valid_options", 2, argv[0] )); @@ -9597,7 +10790,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_subcommand_desc2_t_valid_options_get(int argc, VALUE *argv, VALUE self) { - svn_opt_subcommand_desc2_t *arg1 = (svn_opt_subcommand_desc2_t *) 0 ; + struct svn_opt_subcommand_desc2_t *arg1 = (struct svn_opt_subcommand_desc2_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int *result = 0 ; @@ -9608,9 +10801,9 @@ _wrap_svn_opt_subcommand_desc2_t_valid_options_get(int argc, VALUE *argv, VALUE } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_subcommand_desc2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_subcommand_desc2_t *","valid_options", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_subcommand_desc2_t *","valid_options", 1, self )); } - arg1 = (svn_opt_subcommand_desc2_t *)(argp1); + arg1 = (struct svn_opt_subcommand_desc2_t *)(argp1); result = (int *)(int *) ((arg1)->valid_options); vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); return vresult; @@ -9621,7 +10814,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_subcommand_desc2_t_desc_overrides_get(int argc, VALUE *argv, VALUE self) { - svn_opt_subcommand_desc2_t *arg1 = (svn_opt_subcommand_desc2_t *) 0 ; + struct svn_opt_subcommand_desc2_t *arg1 = (struct svn_opt_subcommand_desc2_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_opt_subcommand_desc2_t_desc_overrides *result = 0 ; @@ -9632,9 +10825,9 @@ _wrap_svn_opt_subcommand_desc2_t_desc_overrides_get(int argc, VALUE *argv, VALUE } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_subcommand_desc2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_subcommand_desc2_t *","desc_overrides", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_subcommand_desc2_t *","desc_overrides", 1, self )); } - arg1 = (svn_opt_subcommand_desc2_t *)(argp1); + arg1 = (struct svn_opt_subcommand_desc2_t *)(argp1); result = (svn_opt_subcommand_desc2_t_desc_overrides *)(svn_opt_subcommand_desc2_t_desc_overrides *) ((arg1)->desc_overrides); vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_opt_subcommand_desc2_t_desc_overrides, 0 | 0 ); return vresult; @@ -9662,13 +10855,13 @@ _wrap_svn_opt_subcommand_desc2_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_opt_subcommand_desc2_t(int argc, VALUE *argv, VALUE self) { - svn_opt_subcommand_desc2_t *result = 0 ; + struct svn_opt_subcommand_desc2_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_opt_subcommand_desc2_t *)calloc(1, sizeof(svn_opt_subcommand_desc2_t)); + result = (struct svn_opt_subcommand_desc2_t *)calloc(1, sizeof(struct svn_opt_subcommand_desc2_t)); DATA_PTR(self) = result; @@ -9681,11 +10874,11 @@ fail: SWIGINTERN void -free_svn_opt_subcommand_desc2_t(svn_opt_subcommand_desc2_t *arg1) { +free_svn_opt_subcommand_desc2_t(struct svn_opt_subcommand_desc2_t *arg1) { free((char *) arg1); } -swig_class SwigClassSvn_opt_subcommand_desc2_t_desc_overrides; +static swig_class SwigClassSvn_opt_subcommand_desc2_t_desc_overrides; SWIGINTERN VALUE _wrap_svn_opt_subcommand_desc2_t_desc_overrides_optch_set(int argc, VALUE *argv, VALUE self) { @@ -9851,11 +11044,11 @@ free_svn_opt_subcommand_desc2_t_desc_overrides(svn_opt_subcommand_desc2_t_desc_o free((char *) arg1); } -swig_class SwigClassSvn_opt_subcommand_desc_t; +static swig_class SwigClassSvn_opt_subcommand_desc_t; SWIGINTERN VALUE _wrap_svn_opt_subcommand_desc_t_name_set(int argc, VALUE *argv, VALUE self) { - svn_opt_subcommand_desc_t *arg1 = (svn_opt_subcommand_desc_t *) 0 ; + struct svn_opt_subcommand_desc_t *arg1 = (struct svn_opt_subcommand_desc_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -9868,9 +11061,9 @@ _wrap_svn_opt_subcommand_desc_t_name_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_subcommand_desc_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_subcommand_desc_t *","name", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_subcommand_desc_t *","name", 1, self )); } - arg1 = (svn_opt_subcommand_desc_t *)(argp1); + arg1 = (struct svn_opt_subcommand_desc_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","name", 2, argv[0] )); @@ -9894,7 +11087,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_subcommand_desc_t_name_get(int argc, VALUE *argv, VALUE self) { - svn_opt_subcommand_desc_t *arg1 = (svn_opt_subcommand_desc_t *) 0 ; + struct svn_opt_subcommand_desc_t *arg1 = (struct svn_opt_subcommand_desc_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -9905,9 +11098,9 @@ _wrap_svn_opt_subcommand_desc_t_name_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_subcommand_desc_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_subcommand_desc_t *","name", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_subcommand_desc_t *","name", 1, self )); } - arg1 = (svn_opt_subcommand_desc_t *)(argp1); + arg1 = (struct svn_opt_subcommand_desc_t *)(argp1); result = (char *) ((arg1)->name); { if (result) { @@ -9924,7 +11117,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_subcommand_desc_t_cmd_func_set(int argc, VALUE *argv, VALUE self) { - svn_opt_subcommand_desc_t *arg1 = (svn_opt_subcommand_desc_t *) 0 ; + struct svn_opt_subcommand_desc_t *arg1 = (struct svn_opt_subcommand_desc_t *) 0 ; svn_opt_subcommand_t *arg2 = (svn_opt_subcommand_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -9934,9 +11127,9 @@ _wrap_svn_opt_subcommand_desc_t_cmd_func_set(int argc, VALUE *argv, VALUE self) } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_subcommand_desc_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_subcommand_desc_t *","cmd_func", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_subcommand_desc_t *","cmd_func", 1, self )); } - arg1 = (svn_opt_subcommand_desc_t *)(argp1); + arg1 = (struct svn_opt_subcommand_desc_t *)(argp1); { int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t); if (!SWIG_IsOK(res)) { @@ -9952,7 +11145,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_subcommand_desc_t_cmd_func_get(int argc, VALUE *argv, VALUE self) { - svn_opt_subcommand_desc_t *arg1 = (svn_opt_subcommand_desc_t *) 0 ; + struct svn_opt_subcommand_desc_t *arg1 = (struct svn_opt_subcommand_desc_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_opt_subcommand_t *result = 0 ; @@ -9963,9 +11156,9 @@ _wrap_svn_opt_subcommand_desc_t_cmd_func_get(int argc, VALUE *argv, VALUE self) } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_subcommand_desc_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_subcommand_desc_t *","cmd_func", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_subcommand_desc_t *","cmd_func", 1, self )); } - arg1 = (svn_opt_subcommand_desc_t *)(argp1); + arg1 = (struct svn_opt_subcommand_desc_t *)(argp1); result = (svn_opt_subcommand_t *) ((arg1)->cmd_func); vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t); return vresult; @@ -9976,7 +11169,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_subcommand_desc_t_aliases_set(int argc, VALUE *argv, VALUE self) { - svn_opt_subcommand_desc_t *arg1 = (svn_opt_subcommand_desc_t *) 0 ; + struct svn_opt_subcommand_desc_t *arg1 = (struct svn_opt_subcommand_desc_t *) 0 ; char **arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -9988,9 +11181,9 @@ _wrap_svn_opt_subcommand_desc_t_aliases_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_subcommand_desc_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_subcommand_desc_t *","aliases", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_subcommand_desc_t *","aliases", 1, self )); } - arg1 = (svn_opt_subcommand_desc_t *)(argp1); + arg1 = (struct svn_opt_subcommand_desc_t *)(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_p_char, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *[3]","aliases", 2, argv[0] )); @@ -10012,7 +11205,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_subcommand_desc_t_aliases_get(int argc, VALUE *argv, VALUE self) { - svn_opt_subcommand_desc_t *arg1 = (svn_opt_subcommand_desc_t *) 0 ; + struct svn_opt_subcommand_desc_t *arg1 = (struct svn_opt_subcommand_desc_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char **result = 0 ; @@ -10023,9 +11216,9 @@ _wrap_svn_opt_subcommand_desc_t_aliases_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_subcommand_desc_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_subcommand_desc_t *","aliases", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_subcommand_desc_t *","aliases", 1, self )); } - arg1 = (svn_opt_subcommand_desc_t *)(argp1); + arg1 = (struct svn_opt_subcommand_desc_t *)(argp1); result = (char **)(char **) ((arg1)->aliases); vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_char, 0 | 0 ); return vresult; @@ -10036,7 +11229,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_subcommand_desc_t_help_set(int argc, VALUE *argv, VALUE self) { - svn_opt_subcommand_desc_t *arg1 = (svn_opt_subcommand_desc_t *) 0 ; + struct svn_opt_subcommand_desc_t *arg1 = (struct svn_opt_subcommand_desc_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -10049,9 +11242,9 @@ _wrap_svn_opt_subcommand_desc_t_help_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_subcommand_desc_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_subcommand_desc_t *","help", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_subcommand_desc_t *","help", 1, self )); } - arg1 = (svn_opt_subcommand_desc_t *)(argp1); + arg1 = (struct svn_opt_subcommand_desc_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","help", 2, argv[0] )); @@ -10075,7 +11268,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_subcommand_desc_t_help_get(int argc, VALUE *argv, VALUE self) { - svn_opt_subcommand_desc_t *arg1 = (svn_opt_subcommand_desc_t *) 0 ; + struct svn_opt_subcommand_desc_t *arg1 = (struct svn_opt_subcommand_desc_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -10086,9 +11279,9 @@ _wrap_svn_opt_subcommand_desc_t_help_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_subcommand_desc_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_subcommand_desc_t *","help", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_subcommand_desc_t *","help", 1, self )); } - arg1 = (svn_opt_subcommand_desc_t *)(argp1); + arg1 = (struct svn_opt_subcommand_desc_t *)(argp1); result = (char *) ((arg1)->help); { if (result) { @@ -10105,7 +11298,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_subcommand_desc_t_valid_options_set(int argc, VALUE *argv, VALUE self) { - svn_opt_subcommand_desc_t *arg1 = (svn_opt_subcommand_desc_t *) 0 ; + struct svn_opt_subcommand_desc_t *arg1 = (struct svn_opt_subcommand_desc_t *) 0 ; int *arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -10117,9 +11310,9 @@ _wrap_svn_opt_subcommand_desc_t_valid_options_set(int argc, VALUE *argv, VALUE s } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_subcommand_desc_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_subcommand_desc_t *","valid_options", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_subcommand_desc_t *","valid_options", 1, self )); } - arg1 = (svn_opt_subcommand_desc_t *)(argp1); + arg1 = (struct svn_opt_subcommand_desc_t *)(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "int [50]","valid_options", 2, argv[0] )); @@ -10141,7 +11334,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_subcommand_desc_t_valid_options_get(int argc, VALUE *argv, VALUE self) { - svn_opt_subcommand_desc_t *arg1 = (svn_opt_subcommand_desc_t *) 0 ; + struct svn_opt_subcommand_desc_t *arg1 = (struct svn_opt_subcommand_desc_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int *result = 0 ; @@ -10152,9 +11345,9 @@ _wrap_svn_opt_subcommand_desc_t_valid_options_get(int argc, VALUE *argv, VALUE s } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_subcommand_desc_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_subcommand_desc_t *","valid_options", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_subcommand_desc_t *","valid_options", 1, self )); } - arg1 = (svn_opt_subcommand_desc_t *)(argp1); + arg1 = (struct svn_opt_subcommand_desc_t *)(argp1); result = (int *)(int *) ((arg1)->valid_options); vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); return vresult; @@ -10182,13 +11375,13 @@ _wrap_svn_opt_subcommand_desc_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_opt_subcommand_desc_t(int argc, VALUE *argv, VALUE self) { - svn_opt_subcommand_desc_t *result = 0 ; + struct svn_opt_subcommand_desc_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_opt_subcommand_desc_t *)calloc(1, sizeof(svn_opt_subcommand_desc_t)); + result = (struct svn_opt_subcommand_desc_t *)calloc(1, sizeof(struct svn_opt_subcommand_desc_t)); DATA_PTR(self) = result; @@ -10201,7 +11394,7 @@ fail: SWIGINTERN void -free_svn_opt_subcommand_desc_t(svn_opt_subcommand_desc_t *arg1) { +free_svn_opt_subcommand_desc_t(struct svn_opt_subcommand_desc_t *arg1) { free((char *) arg1); } @@ -10889,11 +12082,11 @@ fail: } -swig_class SwigClassSvn_opt_revision_value_t; +static swig_class SwigClassSvn_opt_revision_value_t; SWIGINTERN VALUE _wrap_svn_opt_revision_value_t_number_set(int argc, VALUE *argv, VALUE self) { - svn_opt_revision_value_t *arg1 = (svn_opt_revision_value_t *) 0 ; + union svn_opt_revision_value_t *arg1 = (union svn_opt_revision_value_t *) 0 ; svn_revnum_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -10905,9 +12098,9 @@ _wrap_svn_opt_revision_value_t_number_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_revision_value_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_revision_value_t *","number", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union svn_opt_revision_value_t *","number", 1, self )); } - arg1 = (svn_opt_revision_value_t *)(argp1); + arg1 = (union svn_opt_revision_value_t *)(argp1); ecode2 = SWIG_AsVal_long(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_revnum_t","number", 2, argv[0] )); @@ -10922,7 +12115,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_revision_value_t_number_get(int argc, VALUE *argv, VALUE self) { - svn_opt_revision_value_t *arg1 = (svn_opt_revision_value_t *) 0 ; + union svn_opt_revision_value_t *arg1 = (union svn_opt_revision_value_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_revnum_t result; @@ -10933,9 +12126,9 @@ _wrap_svn_opt_revision_value_t_number_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_revision_value_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_revision_value_t *","number", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union svn_opt_revision_value_t *","number", 1, self )); } - arg1 = (svn_opt_revision_value_t *)(argp1); + arg1 = (union svn_opt_revision_value_t *)(argp1); result = (svn_revnum_t) ((arg1)->number); vresult = SWIG_From_long((long)(result)); return vresult; @@ -10946,7 +12139,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_revision_value_t_date_set(int argc, VALUE *argv, VALUE self) { - svn_opt_revision_value_t *arg1 = (svn_opt_revision_value_t *) 0 ; + union svn_opt_revision_value_t *arg1 = (union svn_opt_revision_value_t *) 0 ; apr_time_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -10956,9 +12149,9 @@ _wrap_svn_opt_revision_value_t_date_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_revision_value_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_revision_value_t *","date", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union svn_opt_revision_value_t *","date", 1, self )); } - arg1 = (svn_opt_revision_value_t *)(argp1); + arg1 = (union svn_opt_revision_value_t *)(argp1); { arg2 = (apr_time_t)NUM2LL(argv[0]); } @@ -10971,7 +12164,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_revision_value_t_date_get(int argc, VALUE *argv, VALUE self) { - svn_opt_revision_value_t *arg1 = (svn_opt_revision_value_t *) 0 ; + union svn_opt_revision_value_t *arg1 = (union svn_opt_revision_value_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; apr_time_t result; @@ -10982,9 +12175,9 @@ _wrap_svn_opt_revision_value_t_date_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_revision_value_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_revision_value_t *","date", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union svn_opt_revision_value_t *","date", 1, self )); } - arg1 = (svn_opt_revision_value_t *)(argp1); + arg1 = (union svn_opt_revision_value_t *)(argp1); result = ((arg1)->date); { vresult = LL2NUM((apr_time_t)(result)); @@ -11014,13 +12207,13 @@ _wrap_svn_opt_revision_value_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_opt_revision_value_t(int argc, VALUE *argv, VALUE self) { - svn_opt_revision_value_t *result = 0 ; + union svn_opt_revision_value_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_opt_revision_value_t *)calloc(1, sizeof(svn_opt_revision_value_t)); + result = (union svn_opt_revision_value_t *)calloc(1, sizeof(union svn_opt_revision_value_t)); DATA_PTR(self) = result; @@ -11033,27 +12226,29 @@ fail: SWIGINTERN void -free_svn_opt_revision_value_t(svn_opt_revision_value_t *arg1) { +free_svn_opt_revision_value_t(union svn_opt_revision_value_t *arg1) { free((char *) arg1); } -swig_class SwigClassSvn_opt_revision_t; +static swig_class SwigClassSvn_opt_revision_t; SWIGINTERN VALUE _wrap_svn_opt_revision_t_kind_set(int argc, VALUE *argv, VALUE self) { - svn_opt_revision_t *arg1 = (svn_opt_revision_t *) 0 ; + struct svn_opt_revision_t *arg1 = (struct svn_opt_revision_t *) 0 ; enum svn_opt_revision_kind arg2 ; - svn_opt_revision_t rev1 ; + 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; } - { - arg1 = &rev1; - svn_swig_rb_set_revision(&rev1, self); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_revision_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_revision_t *","kind", 1, self )); } + arg1 = (struct svn_opt_revision_t *)(argp1); ecode2 = SWIG_AsVal_int(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "enum svn_opt_revision_kind","kind", 2, argv[0] )); @@ -11068,18 +12263,20 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_revision_t_kind_get(int argc, VALUE *argv, VALUE self) { - svn_opt_revision_t *arg1 = (svn_opt_revision_t *) 0 ; - svn_opt_revision_t rev1 ; + struct svn_opt_revision_t *arg1 = (struct svn_opt_revision_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; enum svn_opt_revision_kind result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } - { - arg1 = &rev1; - svn_swig_rb_set_revision(&rev1, self); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_revision_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_revision_t *","kind", 1, self )); } + arg1 = (struct svn_opt_revision_t *)(argp1); result = (enum svn_opt_revision_kind) ((arg1)->kind); vresult = SWIG_From_int((int)(result)); return vresult; @@ -11090,19 +12287,21 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_revision_t_value_set(int argc, VALUE *argv, VALUE self) { - svn_opt_revision_t *arg1 = (svn_opt_revision_t *) 0 ; + struct svn_opt_revision_t *arg1 = (struct svn_opt_revision_t *) 0 ; svn_opt_revision_value_t *arg2 = (svn_opt_revision_value_t *) 0 ; - svn_opt_revision_t rev1 ; + 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; } - { - arg1 = &rev1; - svn_swig_rb_set_revision(&rev1, self); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_revision_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_revision_t *","value", 1, self )); } + arg1 = (struct svn_opt_revision_t *)(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_opt_revision_value_t, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_opt_revision_value_t *","value", 2, argv[0] )); @@ -11117,18 +12316,20 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_revision_t_value_get(int argc, VALUE *argv, VALUE self) { - svn_opt_revision_t *arg1 = (svn_opt_revision_t *) 0 ; - svn_opt_revision_t rev1 ; + struct svn_opt_revision_t *arg1 = (struct svn_opt_revision_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; svn_opt_revision_value_t *result = 0 ; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } - { - arg1 = &rev1; - svn_swig_rb_set_revision(&rev1, self); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_revision_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_revision_t *","value", 1, self )); } + arg1 = (struct svn_opt_revision_t *)(argp1); result = (svn_opt_revision_value_t *)& ((arg1)->value); vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_opt_revision_value_t, 0 | 0 ); return vresult; @@ -11156,13 +12357,13 @@ _wrap_svn_opt_revision_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_opt_revision_t(int argc, VALUE *argv, VALUE self) { - svn_opt_revision_t *result = 0 ; + struct svn_opt_revision_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_opt_revision_t *)calloc(1, sizeof(svn_opt_revision_t)); + result = (struct svn_opt_revision_t *)calloc(1, sizeof(struct svn_opt_revision_t)); DATA_PTR(self) = result; @@ -11175,15 +12376,15 @@ fail: SWIGINTERN void -free_svn_opt_revision_t(svn_opt_revision_t *arg1) { +free_svn_opt_revision_t(struct svn_opt_revision_t *arg1) { free((char *) arg1); } -swig_class SwigClassSvn_opt_revision_range_t; +static swig_class SwigClassSvn_opt_revision_range_t; SWIGINTERN VALUE _wrap_svn_opt_revision_range_t_start_set(int argc, VALUE *argv, VALUE self) { - svn_opt_revision_range_t *arg1 = (svn_opt_revision_range_t *) 0 ; + struct svn_opt_revision_range_t *arg1 = (struct svn_opt_revision_range_t *) 0 ; svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -11194,9 +12395,9 @@ _wrap_svn_opt_revision_range_t_start_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_revision_range_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_revision_range_t *","start", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_revision_range_t *","start", 1, self )); } - arg1 = (svn_opt_revision_range_t *)(argp1); + arg1 = (struct svn_opt_revision_range_t *)(argp1); { arg2 = &rev2; svn_swig_rb_set_revision(&rev2, argv[0]); @@ -11210,7 +12411,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_revision_range_t_start_get(int argc, VALUE *argv, VALUE self) { - svn_opt_revision_range_t *arg1 = (svn_opt_revision_range_t *) 0 ; + struct svn_opt_revision_range_t *arg1 = (struct svn_opt_revision_range_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_opt_revision_t *result = 0 ; @@ -11221,9 +12422,9 @@ _wrap_svn_opt_revision_range_t_start_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_revision_range_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_revision_range_t *","start", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_revision_range_t *","start", 1, self )); } - arg1 = (svn_opt_revision_range_t *)(argp1); + arg1 = (struct svn_opt_revision_range_t *)(argp1); result = (svn_opt_revision_t *)& ((arg1)->start); vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_opt_revision_t, 0 | 0 ); return vresult; @@ -11234,7 +12435,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_revision_range_t_end_set(int argc, VALUE *argv, VALUE self) { - svn_opt_revision_range_t *arg1 = (svn_opt_revision_range_t *) 0 ; + struct svn_opt_revision_range_t *arg1 = (struct svn_opt_revision_range_t *) 0 ; svn_opt_revision_t *arg2 = (svn_opt_revision_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -11245,9 +12446,9 @@ _wrap_svn_opt_revision_range_t_end_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_revision_range_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_revision_range_t *","end", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_revision_range_t *","end", 1, self )); } - arg1 = (svn_opt_revision_range_t *)(argp1); + arg1 = (struct svn_opt_revision_range_t *)(argp1); { arg2 = &rev2; svn_swig_rb_set_revision(&rev2, argv[0]); @@ -11261,7 +12462,7 @@ fail: SWIGINTERN VALUE _wrap_svn_opt_revision_range_t_end_get(int argc, VALUE *argv, VALUE self) { - svn_opt_revision_range_t *arg1 = (svn_opt_revision_range_t *) 0 ; + struct svn_opt_revision_range_t *arg1 = (struct svn_opt_revision_range_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_opt_revision_t *result = 0 ; @@ -11272,9 +12473,9 @@ _wrap_svn_opt_revision_range_t_end_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_opt_revision_range_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_opt_revision_range_t *","end", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_opt_revision_range_t *","end", 1, self )); } - arg1 = (svn_opt_revision_range_t *)(argp1); + arg1 = (struct svn_opt_revision_range_t *)(argp1); result = (svn_opt_revision_t *)& ((arg1)->end); vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_opt_revision_t, 0 | 0 ); return vresult; @@ -11302,13 +12503,13 @@ _wrap_svn_opt_revision_range_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_opt_revision_range_t(int argc, VALUE *argv, VALUE self) { - svn_opt_revision_range_t *result = 0 ; + struct svn_opt_revision_range_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_opt_revision_range_t *)calloc(1, sizeof(svn_opt_revision_range_t)); + result = (struct svn_opt_revision_range_t *)calloc(1, sizeof(struct svn_opt_revision_range_t)); DATA_PTR(self) = result; @@ -11321,7 +12522,7 @@ fail: SWIGINTERN void -free_svn_opt_revision_range_t(svn_opt_revision_range_t *arg1) { +free_svn_opt_revision_range_t(struct svn_opt_revision_range_t *arg1) { free((char *) arg1); } @@ -11730,6 +12931,143 @@ fail: SWIGINTERN VALUE +_wrap_svn_opt_print_help4(int argc, VALUE *argv, VALUE self) { + apr_getopt_t *arg1 = (apr_getopt_t *) 0 ; + char *arg2 = (char *) 0 ; + svn_boolean_t arg3 ; + svn_boolean_t arg4 ; + svn_boolean_t arg5 ; + char *arg6 = (char *) 0 ; + char *arg7 = (char *) 0 ; + svn_opt_subcommand_desc2_t *arg8 = (svn_opt_subcommand_desc2_t *) 0 ; + apr_getopt_option_t *arg9 = (apr_getopt_option_t *) 0 ; + int *arg10 = (int *) 0 ; + char *arg11 = (char *) 0 ; + apr_pool_t *arg12 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + int res6 ; + char *buf6 = 0 ; + int alloc6 = 0 ; + int res7 ; + char *buf7 = 0 ; + int alloc7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + void *argp9 = 0 ; + int res9 = 0 ; + int temp10 ; + int res10 = SWIG_TMPOBJ ; + int res11 ; + char *buf11 = 0 ; + int alloc11 = 0 ; + svn_error_t *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg12); + _global_pool = arg12; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + arg10 = &temp10; + if ((argc < 10) || (argc > 11)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 10)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_apr_getopt_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "apr_getopt_t *","svn_opt_print_help4", 1, argv[0] )); + } + arg1 = (apr_getopt_t *)(argp1); + res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_opt_print_help4", 2, argv[1] )); + } + arg2 = (char *)(buf2); + arg3 = RTEST(argv[2]); + arg4 = RTEST(argv[3]); + arg5 = RTEST(argv[4]); + res6 = SWIG_AsCharPtrAndSize(argv[5], &buf6, NULL, &alloc6); + if (!SWIG_IsOK(res6)) { + SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "char const *","svn_opt_print_help4", 6, argv[5] )); + } + arg6 = (char *)(buf6); + res7 = SWIG_AsCharPtrAndSize(argv[6], &buf7, NULL, &alloc7); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "char const *","svn_opt_print_help4", 7, argv[6] )); + } + arg7 = (char *)(buf7); + res8 = SWIG_ConvertPtr(argv[7], &argp8,SWIGTYPE_p_svn_opt_subcommand_desc2_t, 0 | 0 ); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "svn_opt_subcommand_desc2_t const *","svn_opt_print_help4", 8, argv[7] )); + } + arg8 = (svn_opt_subcommand_desc2_t *)(argp8); + res9 = SWIG_ConvertPtr(argv[8], &argp9,SWIGTYPE_p_apr_getopt_option_t, 0 | 0 ); + if (!SWIG_IsOK(res9)) { + SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "apr_getopt_option_t const *","svn_opt_print_help4", 9, argv[8] )); + } + arg9 = (apr_getopt_option_t *)(argp9); + res11 = SWIG_AsCharPtrAndSize(argv[9], &buf11, NULL, &alloc11); + if (!SWIG_IsOK(res11)) { + SWIG_exception_fail(SWIG_ArgError(res11), Ruby_Format_TypeError( "", "char const *","svn_opt_print_help4", 11, argv[9] )); + } + arg11 = (char *)(buf11); + if (argc > 10) { + + } + { + result = (svn_error_t *)svn_opt_print_help4(arg1,(char const *)arg2,arg3,arg4,arg5,(char const *)arg6,(char const *)arg7,(struct svn_opt_subcommand_desc2_t const *)arg8,(apr_getopt_option_t const *)arg9,(int const *)arg10,(char const *)arg11,arg12); + + + + } + { + if (result) { + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + svn_swig_rb_handle_svn_error(result); + } + vresult = Qnil; + } + if (SWIG_IsTmpObj(res10)) { + vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int((*arg10))); + } else { + int new_flags = SWIG_IsNewObj(res10) ? (SWIG_POINTER_OWN | 0 ) : 0 ; + vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg10), SWIGTYPE_p_int, new_flags)); + } + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + if (alloc6 == SWIG_NEWOBJ) free((char*)buf6); + if (alloc7 == SWIG_NEWOBJ) free((char*)buf7); + if (alloc11 == SWIG_NEWOBJ) free((char*)buf11); + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return vresult; +fail: + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + if (alloc6 == SWIG_NEWOBJ) free((char*)buf6); + if (alloc7 == SWIG_NEWOBJ) free((char*)buf7); + if (alloc11 == SWIG_NEWOBJ) free((char*)buf11); + { + 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_opt_print_help3(int argc, VALUE *argv, VALUE self) { apr_getopt_t *arg1 = (apr_getopt_t *) 0 ; char *arg2 = (char *) 0 ; @@ -12114,11 +13452,157 @@ fail: } -swig_class SwigClassSvn_auth_provider_t; +SWIGINTERN VALUE +_wrap_svn_cmdline_init(int argc, VALUE *argv, VALUE self) { + char *arg1 = (char *) 0 ; + FILE *arg2 = (FILE *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + int result; + VALUE vresult = Qnil; + + if ((argc < 2) || (argc > 2)) { + 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_cmdline_init", 1, argv[0] )); + } + arg1 = (char *)(buf1); + res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FILE, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FILE *","svn_cmdline_init", 2, argv[1] )); + } + arg2 = (FILE *)(argp2); + { + result = (int)svn_cmdline_init((char const *)arg1,arg2); + + + + } + vresult = SWIG_From_int((int)(result)); + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return vresult; +fail: + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + 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 ; + char *arg3 = (char *) 0 ; + char *arg4 = (char *) 0 ; + char *arg5 = (char *) 0 ; + svn_boolean_t arg6 ; + svn_boolean_t arg7 ; + svn_config_t *arg8 = (svn_config_t *) 0 ; + svn_cancel_func_t arg9 = (svn_cancel_func_t) 0 ; + void *arg10 = (void *) 0 ; + apr_pool_t *arg11 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + svn_auth_baton_t *temp1 ; + void *argp8 = 0 ; + int res8 = 0 ; + svn_error_t *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg11); + _global_pool = arg11; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + arg1 = &temp1; + if ((argc < 8) || (argc > 9)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",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]); + res8 = SWIG_ConvertPtr(argv[6], &argp8,SWIGTYPE_p_svn_config_t, 0 | 0 ); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "svn_config_t *","svn_cmdline_create_auth_baton", 8, argv[6] )); + } + arg8 = (svn_config_t *)(argp8); + { + arg9 = svn_swig_rb_cancel_func; + arg10 = (void *)svn_swig_rb_make_baton(argv[7], _global_svn_swig_rb_pool); + } + if (argc > 8) { + + } + { + result = (svn_error_t *)svn_cmdline_create_auth_baton(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,arg6,arg7,arg8,arg9,arg10,arg11); + + + + } + { + if (result) { + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + svn_swig_rb_handle_svn_error(result); + } + vresult = Qnil; + } + { + vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_auth_baton_t, 0)); + } + { + svn_swig_rb_set_baton(vresult, (VALUE)arg10); + } + { + 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; +} + + +static swig_class SwigClassSvn_auth_provider_t; SWIGINTERN VALUE _wrap_svn_auth_provider_t_cred_kind_set(int argc, VALUE *argv, VALUE self) { - svn_auth_provider_t *arg1 = (svn_auth_provider_t *) 0 ; + struct svn_auth_provider_t *arg1 = (struct svn_auth_provider_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -12131,9 +13615,9 @@ _wrap_svn_auth_provider_t_cred_kind_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_provider_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_provider_t *","cred_kind", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_provider_t *","cred_kind", 1, self )); } - arg1 = (svn_auth_provider_t *)(argp1); + arg1 = (struct svn_auth_provider_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","cred_kind", 2, argv[0] )); @@ -12157,7 +13641,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_provider_t_cred_kind_get(int argc, VALUE *argv, VALUE self) { - svn_auth_provider_t *arg1 = (svn_auth_provider_t *) 0 ; + struct svn_auth_provider_t *arg1 = (struct svn_auth_provider_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -12168,9 +13652,9 @@ _wrap_svn_auth_provider_t_cred_kind_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_provider_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_provider_t *","cred_kind", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_provider_t *","cred_kind", 1, self )); } - arg1 = (svn_auth_provider_t *)(argp1); + arg1 = (struct svn_auth_provider_t *)(argp1); result = (char *) ((arg1)->cred_kind); { if (result) { @@ -12187,7 +13671,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_provider_t_first_credentials_set(int argc, VALUE *argv, VALUE self) { - svn_auth_provider_t *arg1 = (svn_auth_provider_t *) 0 ; + struct svn_auth_provider_t *arg1 = (struct svn_auth_provider_t *) 0 ; svn_error_t *(*arg2)(void **,void **,void *,apr_hash_t *,char const *,apr_pool_t *) = (svn_error_t *(*)(void **,void **,void *,apr_hash_t *,char const *,apr_pool_t *)) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -12197,9 +13681,9 @@ _wrap_svn_auth_provider_t_first_credentials_set(int argc, VALUE *argv, VALUE sel } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_provider_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_provider_t *","first_credentials", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_provider_t *","first_credentials", 1, self )); } - arg1 = (svn_auth_provider_t *)(argp1); + arg1 = (struct svn_auth_provider_t *)(argp1); { int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_p_void_p_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t); if (!SWIG_IsOK(res)) { @@ -12215,7 +13699,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_provider_t_first_credentials_get(int argc, VALUE *argv, VALUE self) { - svn_auth_provider_t *arg1 = (svn_auth_provider_t *) 0 ; + struct svn_auth_provider_t *arg1 = (struct svn_auth_provider_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_error_t *(*result)(void **,void **,void *,apr_hash_t *,char const *,apr_pool_t *) = 0 ; @@ -12226,9 +13710,9 @@ _wrap_svn_auth_provider_t_first_credentials_get(int argc, VALUE *argv, VALUE sel } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_provider_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_provider_t *","first_credentials", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_provider_t *","first_credentials", 1, self )); } - arg1 = (svn_auth_provider_t *)(argp1); + arg1 = (struct svn_auth_provider_t *)(argp1); result = (svn_error_t *(*)(void **,void **,void *,apr_hash_t *,char const *,apr_pool_t *)) ((arg1)->first_credentials); vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_p_void_p_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t); return vresult; @@ -12239,7 +13723,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_provider_t_next_credentials_set(int argc, VALUE *argv, VALUE self) { - svn_auth_provider_t *arg1 = (svn_auth_provider_t *) 0 ; + struct svn_auth_provider_t *arg1 = (struct svn_auth_provider_t *) 0 ; svn_error_t *(*arg2)(void **,void *,void *,apr_hash_t *,char const *,apr_pool_t *) = (svn_error_t *(*)(void **,void *,void *,apr_hash_t *,char const *,apr_pool_t *)) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -12249,9 +13733,9 @@ _wrap_svn_auth_provider_t_next_credentials_set(int argc, VALUE *argv, VALUE self } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_provider_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_provider_t *","next_credentials", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_provider_t *","next_credentials", 1, self )); } - arg1 = (svn_auth_provider_t *)(argp1); + arg1 = (struct svn_auth_provider_t *)(argp1); { int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_p_void_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t); if (!SWIG_IsOK(res)) { @@ -12267,7 +13751,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_provider_t_next_credentials_get(int argc, VALUE *argv, VALUE self) { - svn_auth_provider_t *arg1 = (svn_auth_provider_t *) 0 ; + struct svn_auth_provider_t *arg1 = (struct svn_auth_provider_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_error_t *(*result)(void **,void *,void *,apr_hash_t *,char const *,apr_pool_t *) = 0 ; @@ -12278,9 +13762,9 @@ _wrap_svn_auth_provider_t_next_credentials_get(int argc, VALUE *argv, VALUE self } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_provider_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_provider_t *","next_credentials", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_provider_t *","next_credentials", 1, self )); } - arg1 = (svn_auth_provider_t *)(argp1); + arg1 = (struct svn_auth_provider_t *)(argp1); result = (svn_error_t *(*)(void **,void *,void *,apr_hash_t *,char const *,apr_pool_t *)) ((arg1)->next_credentials); vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_p_void_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t); return vresult; @@ -12291,7 +13775,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_provider_t_save_credentials_set(int argc, VALUE *argv, VALUE self) { - svn_auth_provider_t *arg1 = (svn_auth_provider_t *) 0 ; + struct svn_auth_provider_t *arg1 = (struct svn_auth_provider_t *) 0 ; svn_error_t *(*arg2)(svn_boolean_t *,void *,void *,apr_hash_t *,char const *,apr_pool_t *) = (svn_error_t *(*)(svn_boolean_t *,void *,void *,apr_hash_t *,char const *,apr_pool_t *)) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -12301,9 +13785,9 @@ _wrap_svn_auth_provider_t_save_credentials_set(int argc, VALUE *argv, VALUE self } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_provider_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_provider_t *","save_credentials", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_provider_t *","save_credentials", 1, self )); } - arg1 = (svn_auth_provider_t *)(argp1); + arg1 = (struct svn_auth_provider_t *)(argp1); { int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_svn_boolean_t_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t); if (!SWIG_IsOK(res)) { @@ -12319,7 +13803,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_provider_t_save_credentials_get(int argc, VALUE *argv, VALUE self) { - svn_auth_provider_t *arg1 = (svn_auth_provider_t *) 0 ; + struct svn_auth_provider_t *arg1 = (struct svn_auth_provider_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_error_t *(*result)(svn_boolean_t *,void *,void *,apr_hash_t *,char const *,apr_pool_t *) = 0 ; @@ -12330,9 +13814,9 @@ _wrap_svn_auth_provider_t_save_credentials_get(int argc, VALUE *argv, VALUE self } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_provider_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_provider_t *","save_credentials", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_provider_t *","save_credentials", 1, self )); } - arg1 = (svn_auth_provider_t *)(argp1); + arg1 = (struct svn_auth_provider_t *)(argp1); result = (svn_error_t *(*)(svn_boolean_t *,void *,void *,apr_hash_t *,char const *,apr_pool_t *)) ((arg1)->save_credentials); vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_svn_boolean_t_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t); return vresult; @@ -12360,13 +13844,13 @@ _wrap_svn_auth_provider_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_auth_provider_t(int argc, VALUE *argv, VALUE self) { - svn_auth_provider_t *result = 0 ; + struct svn_auth_provider_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_auth_provider_t *)calloc(1, sizeof(svn_auth_provider_t)); + result = (struct svn_auth_provider_t *)calloc(1, sizeof(struct svn_auth_provider_t)); DATA_PTR(self) = result; @@ -12379,15 +13863,15 @@ fail: SWIGINTERN void -free_svn_auth_provider_t(svn_auth_provider_t *arg1) { +free_svn_auth_provider_t(struct svn_auth_provider_t *arg1) { free((char *) arg1); } -swig_class SwigClassSvn_auth_provider_object_t; +static swig_class SwigClassSvn_auth_provider_object_t; SWIGINTERN VALUE _wrap_svn_auth_provider_object_t_vtable_set(int argc, VALUE *argv, VALUE self) { - svn_auth_provider_object_t *arg1 = (svn_auth_provider_object_t *) 0 ; + struct svn_auth_provider_object_t *arg1 = (struct svn_auth_provider_object_t *) 0 ; svn_auth_provider_t *arg2 = (svn_auth_provider_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -12399,9 +13883,9 @@ _wrap_svn_auth_provider_object_t_vtable_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_provider_object_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_provider_object_t *","vtable", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_provider_object_t *","vtable", 1, self )); } - arg1 = (svn_auth_provider_object_t *)(argp1); + arg1 = (struct svn_auth_provider_object_t *)(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_auth_provider_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_auth_provider_t const *","vtable", 2, argv[0] )); @@ -12416,7 +13900,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_provider_object_t_vtable_get(int argc, VALUE *argv, VALUE self) { - svn_auth_provider_object_t *arg1 = (svn_auth_provider_object_t *) 0 ; + struct svn_auth_provider_object_t *arg1 = (struct svn_auth_provider_object_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_auth_provider_t *result = 0 ; @@ -12427,9 +13911,9 @@ _wrap_svn_auth_provider_object_t_vtable_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_provider_object_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_provider_object_t *","vtable", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_provider_object_t *","vtable", 1, self )); } - arg1 = (svn_auth_provider_object_t *)(argp1); + arg1 = (struct svn_auth_provider_object_t *)(argp1); result = (svn_auth_provider_t *) ((arg1)->vtable); vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_auth_provider_t, 0 | 0 ); return vresult; @@ -12440,7 +13924,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_provider_object_t_provider_baton_set(int argc, VALUE *argv, VALUE self) { - svn_auth_provider_object_t *arg1 = (svn_auth_provider_object_t *) 0 ; + struct svn_auth_provider_object_t *arg1 = (struct svn_auth_provider_object_t *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -12451,9 +13935,9 @@ _wrap_svn_auth_provider_object_t_provider_baton_set(int argc, VALUE *argv, VALUE } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_provider_object_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_provider_object_t *","provider_baton", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_provider_object_t *","provider_baton", 1, self )); } - arg1 = (svn_auth_provider_object_t *)(argp1); + arg1 = (struct svn_auth_provider_object_t *)(argp1); res2 = SWIG_ConvertPtr(argv[0],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "void *","provider_baton", 2, argv[0] )); @@ -12467,7 +13951,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_provider_object_t_provider_baton_get(int argc, VALUE *argv, VALUE self) { - svn_auth_provider_object_t *arg1 = (svn_auth_provider_object_t *) 0 ; + struct svn_auth_provider_object_t *arg1 = (struct svn_auth_provider_object_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *result = 0 ; @@ -12478,9 +13962,9 @@ _wrap_svn_auth_provider_object_t_provider_baton_get(int argc, VALUE *argv, VALUE } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_provider_object_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_provider_object_t *","provider_baton", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_provider_object_t *","provider_baton", 1, self )); } - arg1 = (svn_auth_provider_object_t *)(argp1); + arg1 = (struct svn_auth_provider_object_t *)(argp1); result = (void *) ((arg1)->provider_baton); vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); return vresult; @@ -12508,13 +13992,13 @@ _wrap_svn_auth_provider_object_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_auth_provider_object_t(int argc, VALUE *argv, VALUE self) { - svn_auth_provider_object_t *result = 0 ; + struct svn_auth_provider_object_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_auth_provider_object_t *)calloc(1, sizeof(svn_auth_provider_object_t)); + result = (struct svn_auth_provider_object_t *)calloc(1, sizeof(struct svn_auth_provider_object_t)); DATA_PTR(self) = result; @@ -12527,35 +14011,34 @@ fail: SWIGINTERN void -free_svn_auth_provider_object_t(svn_auth_provider_object_t *arg1) { +free_svn_auth_provider_object_t(struct svn_auth_provider_object_t *arg1) { free((char *) arg1); } -swig_class SwigClassSvn_auth_cred_simple_t; +static swig_class SwigClassSvn_auth_cred_simple_t; SWIGINTERN VALUE _wrap_svn_auth_cred_simple_t_username_set(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_simple_t *arg1 = (svn_auth_cred_simple_t *) 0 ; + struct svn_auth_cred_simple_t *arg1 = (struct svn_auth_cred_simple_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_cred_simple_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_cred_simple_t *","username", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_cred_simple_t *","username", 1, self )); } - arg1 = (svn_auth_cred_simple_t *)(argp1); - res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","username", 2, argv[0] )); + arg1 = (struct svn_auth_cred_simple_t *)(argp1); + { + if (NIL_P(argv[0])) { + arg2 = NULL; + } else { + arg2 = StringValuePtr(argv[0]); + } } - arg2 = (char *)(buf2); { apr_size_t len = strlen(arg2) + 1; char *copied; @@ -12564,17 +14047,15 @@ _wrap_svn_auth_cred_simple_t_username_set(int argc, VALUE *argv, VALUE self) { memcpy(copied, arg2, len); arg1->username = copied; } - if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); return Qnil; fail: - if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); return Qnil; } SWIGINTERN VALUE _wrap_svn_auth_cred_simple_t_username_get(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_simple_t *arg1 = (svn_auth_cred_simple_t *) 0 ; + struct svn_auth_cred_simple_t *arg1 = (struct svn_auth_cred_simple_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -12585,9 +14066,9 @@ _wrap_svn_auth_cred_simple_t_username_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_cred_simple_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_cred_simple_t *","username", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_cred_simple_t *","username", 1, self )); } - arg1 = (svn_auth_cred_simple_t *)(argp1); + arg1 = (struct svn_auth_cred_simple_t *)(argp1); result = (char *) ((arg1)->username); { if (result) { @@ -12604,27 +14085,26 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_cred_simple_t_password_set(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_simple_t *arg1 = (svn_auth_cred_simple_t *) 0 ; + struct svn_auth_cred_simple_t *arg1 = (struct svn_auth_cred_simple_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_cred_simple_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_cred_simple_t *","password", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_cred_simple_t *","password", 1, self )); } - arg1 = (svn_auth_cred_simple_t *)(argp1); - res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","password", 2, argv[0] )); + arg1 = (struct svn_auth_cred_simple_t *)(argp1); + { + if (NIL_P(argv[0])) { + arg2 = NULL; + } else { + arg2 = StringValuePtr(argv[0]); + } } - arg2 = (char *)(buf2); { apr_size_t len = strlen(arg2) + 1; char *copied; @@ -12633,17 +14113,15 @@ _wrap_svn_auth_cred_simple_t_password_set(int argc, VALUE *argv, VALUE self) { memcpy(copied, arg2, len); arg1->password = copied; } - if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); return Qnil; fail: - if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); return Qnil; } SWIGINTERN VALUE _wrap_svn_auth_cred_simple_t_password_get(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_simple_t *arg1 = (svn_auth_cred_simple_t *) 0 ; + struct svn_auth_cred_simple_t *arg1 = (struct svn_auth_cred_simple_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -12654,9 +14132,9 @@ _wrap_svn_auth_cred_simple_t_password_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_cred_simple_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_cred_simple_t *","password", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_cred_simple_t *","password", 1, self )); } - arg1 = (svn_auth_cred_simple_t *)(argp1); + arg1 = (struct svn_auth_cred_simple_t *)(argp1); result = (char *) ((arg1)->password); { if (result) { @@ -12673,7 +14151,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_cred_simple_t_may_save_set(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_simple_t *arg1 = (svn_auth_cred_simple_t *) 0 ; + struct svn_auth_cred_simple_t *arg1 = (struct svn_auth_cred_simple_t *) 0 ; svn_boolean_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -12683,9 +14161,9 @@ _wrap_svn_auth_cred_simple_t_may_save_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_cred_simple_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_cred_simple_t *","may_save", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_cred_simple_t *","may_save", 1, self )); } - arg1 = (svn_auth_cred_simple_t *)(argp1); + arg1 = (struct svn_auth_cred_simple_t *)(argp1); arg2 = RTEST(argv[0]); if (arg1) (arg1)->may_save = arg2; return Qnil; @@ -12696,7 +14174,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_cred_simple_t_may_save_get(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_simple_t *arg1 = (svn_auth_cred_simple_t *) 0 ; + struct svn_auth_cred_simple_t *arg1 = (struct svn_auth_cred_simple_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_boolean_t result; @@ -12707,9 +14185,9 @@ _wrap_svn_auth_cred_simple_t_may_save_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_cred_simple_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_cred_simple_t *","may_save", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_cred_simple_t *","may_save", 1, self )); } - arg1 = (svn_auth_cred_simple_t *)(argp1); + arg1 = (struct svn_auth_cred_simple_t *)(argp1); result = (svn_boolean_t) ((arg1)->may_save); vresult = result ? Qtrue : Qfalse; return vresult; @@ -12737,13 +14215,13 @@ _wrap_svn_auth_cred_simple_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_auth_cred_simple_t(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_simple_t *result = 0 ; + struct svn_auth_cred_simple_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_auth_cred_simple_t *)calloc(1, sizeof(svn_auth_cred_simple_t)); + result = (struct svn_auth_cred_simple_t *)calloc(1, sizeof(struct svn_auth_cred_simple_t)); DATA_PTR(self) = result; @@ -12756,35 +14234,34 @@ fail: SWIGINTERN void -free_svn_auth_cred_simple_t(svn_auth_cred_simple_t *arg1) { +free_svn_auth_cred_simple_t(struct svn_auth_cred_simple_t *arg1) { free((char *) arg1); } -swig_class SwigClassSvn_auth_cred_username_t; +static swig_class SwigClassSvn_auth_cred_username_t; SWIGINTERN VALUE _wrap_svn_auth_cred_username_t_username_set(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_username_t *arg1 = (svn_auth_cred_username_t *) 0 ; + struct svn_auth_cred_username_t *arg1 = (struct svn_auth_cred_username_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_cred_username_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_cred_username_t *","username", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_cred_username_t *","username", 1, self )); } - arg1 = (svn_auth_cred_username_t *)(argp1); - res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","username", 2, argv[0] )); + arg1 = (struct svn_auth_cred_username_t *)(argp1); + { + if (NIL_P(argv[0])) { + arg2 = NULL; + } else { + arg2 = StringValuePtr(argv[0]); + } } - arg2 = (char *)(buf2); { apr_size_t len = strlen(arg2) + 1; char *copied; @@ -12793,17 +14270,15 @@ _wrap_svn_auth_cred_username_t_username_set(int argc, VALUE *argv, VALUE self) { memcpy(copied, arg2, len); arg1->username = copied; } - if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); return Qnil; fail: - if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); return Qnil; } SWIGINTERN VALUE _wrap_svn_auth_cred_username_t_username_get(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_username_t *arg1 = (svn_auth_cred_username_t *) 0 ; + struct svn_auth_cred_username_t *arg1 = (struct svn_auth_cred_username_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -12814,9 +14289,9 @@ _wrap_svn_auth_cred_username_t_username_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_cred_username_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_cred_username_t *","username", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_cred_username_t *","username", 1, self )); } - arg1 = (svn_auth_cred_username_t *)(argp1); + arg1 = (struct svn_auth_cred_username_t *)(argp1); result = (char *) ((arg1)->username); { if (result) { @@ -12833,7 +14308,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_cred_username_t_may_save_set(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_username_t *arg1 = (svn_auth_cred_username_t *) 0 ; + struct svn_auth_cred_username_t *arg1 = (struct svn_auth_cred_username_t *) 0 ; svn_boolean_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -12843,9 +14318,9 @@ _wrap_svn_auth_cred_username_t_may_save_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_cred_username_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_cred_username_t *","may_save", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_cred_username_t *","may_save", 1, self )); } - arg1 = (svn_auth_cred_username_t *)(argp1); + arg1 = (struct svn_auth_cred_username_t *)(argp1); arg2 = RTEST(argv[0]); if (arg1) (arg1)->may_save = arg2; return Qnil; @@ -12856,7 +14331,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_cred_username_t_may_save_get(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_username_t *arg1 = (svn_auth_cred_username_t *) 0 ; + struct svn_auth_cred_username_t *arg1 = (struct svn_auth_cred_username_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_boolean_t result; @@ -12867,9 +14342,9 @@ _wrap_svn_auth_cred_username_t_may_save_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_cred_username_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_cred_username_t *","may_save", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_cred_username_t *","may_save", 1, self )); } - arg1 = (svn_auth_cred_username_t *)(argp1); + arg1 = (struct svn_auth_cred_username_t *)(argp1); result = (svn_boolean_t) ((arg1)->may_save); vresult = result ? Qtrue : Qfalse; return vresult; @@ -12897,13 +14372,13 @@ _wrap_svn_auth_cred_username_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_auth_cred_username_t(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_username_t *result = 0 ; + struct svn_auth_cred_username_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_auth_cred_username_t *)calloc(1, sizeof(svn_auth_cred_username_t)); + result = (struct svn_auth_cred_username_t *)calloc(1, sizeof(struct svn_auth_cred_username_t)); DATA_PTR(self) = result; @@ -12916,15 +14391,15 @@ fail: SWIGINTERN void -free_svn_auth_cred_username_t(svn_auth_cred_username_t *arg1) { +free_svn_auth_cred_username_t(struct svn_auth_cred_username_t *arg1) { free((char *) arg1); } -swig_class SwigClassSvn_auth_cred_ssl_client_cert_t; +static swig_class SwigClassSvn_auth_cred_ssl_client_cert_t; SWIGINTERN VALUE _wrap_svn_auth_cred_ssl_client_cert_t_cert_file_set(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_ssl_client_cert_t *arg1 = (svn_auth_cred_ssl_client_cert_t *) 0 ; + struct svn_auth_cred_ssl_client_cert_t *arg1 = (struct svn_auth_cred_ssl_client_cert_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -12937,9 +14412,9 @@ _wrap_svn_auth_cred_ssl_client_cert_t_cert_file_set(int argc, VALUE *argv, VALUE } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_cred_ssl_client_cert_t *","cert_file", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_cred_ssl_client_cert_t *","cert_file", 1, self )); } - arg1 = (svn_auth_cred_ssl_client_cert_t *)(argp1); + arg1 = (struct svn_auth_cred_ssl_client_cert_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","cert_file", 2, argv[0] )); @@ -12963,7 +14438,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_cred_ssl_client_cert_t_cert_file_get(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_ssl_client_cert_t *arg1 = (svn_auth_cred_ssl_client_cert_t *) 0 ; + struct svn_auth_cred_ssl_client_cert_t *arg1 = (struct svn_auth_cred_ssl_client_cert_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -12974,9 +14449,9 @@ _wrap_svn_auth_cred_ssl_client_cert_t_cert_file_get(int argc, VALUE *argv, VALUE } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_cred_ssl_client_cert_t *","cert_file", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_cred_ssl_client_cert_t *","cert_file", 1, self )); } - arg1 = (svn_auth_cred_ssl_client_cert_t *)(argp1); + arg1 = (struct svn_auth_cred_ssl_client_cert_t *)(argp1); result = (char *) ((arg1)->cert_file); { if (result) { @@ -12993,7 +14468,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_cred_ssl_client_cert_t_may_save_set(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_ssl_client_cert_t *arg1 = (svn_auth_cred_ssl_client_cert_t *) 0 ; + struct svn_auth_cred_ssl_client_cert_t *arg1 = (struct svn_auth_cred_ssl_client_cert_t *) 0 ; svn_boolean_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -13003,9 +14478,9 @@ _wrap_svn_auth_cred_ssl_client_cert_t_may_save_set(int argc, VALUE *argv, VALUE } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_cred_ssl_client_cert_t *","may_save", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_cred_ssl_client_cert_t *","may_save", 1, self )); } - arg1 = (svn_auth_cred_ssl_client_cert_t *)(argp1); + arg1 = (struct svn_auth_cred_ssl_client_cert_t *)(argp1); arg2 = RTEST(argv[0]); if (arg1) (arg1)->may_save = arg2; return Qnil; @@ -13016,7 +14491,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_cred_ssl_client_cert_t_may_save_get(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_ssl_client_cert_t *arg1 = (svn_auth_cred_ssl_client_cert_t *) 0 ; + struct svn_auth_cred_ssl_client_cert_t *arg1 = (struct svn_auth_cred_ssl_client_cert_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_boolean_t result; @@ -13027,9 +14502,9 @@ _wrap_svn_auth_cred_ssl_client_cert_t_may_save_get(int argc, VALUE *argv, VALUE } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_cred_ssl_client_cert_t *","may_save", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_cred_ssl_client_cert_t *","may_save", 1, self )); } - arg1 = (svn_auth_cred_ssl_client_cert_t *)(argp1); + arg1 = (struct svn_auth_cred_ssl_client_cert_t *)(argp1); result = (svn_boolean_t) ((arg1)->may_save); vresult = result ? Qtrue : Qfalse; return vresult; @@ -13057,13 +14532,13 @@ _wrap_svn_auth_cred_ssl_client_cert_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_auth_cred_ssl_client_cert_t(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_ssl_client_cert_t *result = 0 ; + struct svn_auth_cred_ssl_client_cert_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_auth_cred_ssl_client_cert_t *)calloc(1, sizeof(svn_auth_cred_ssl_client_cert_t)); + result = (struct svn_auth_cred_ssl_client_cert_t *)calloc(1, sizeof(struct svn_auth_cred_ssl_client_cert_t)); DATA_PTR(self) = result; @@ -13076,35 +14551,34 @@ fail: SWIGINTERN void -free_svn_auth_cred_ssl_client_cert_t(svn_auth_cred_ssl_client_cert_t *arg1) { +free_svn_auth_cred_ssl_client_cert_t(struct svn_auth_cred_ssl_client_cert_t *arg1) { free((char *) arg1); } -swig_class SwigClassSvn_auth_cred_ssl_client_cert_pw_t; +static swig_class SwigClassSvn_auth_cred_ssl_client_cert_pw_t; SWIGINTERN VALUE _wrap_svn_auth_cred_ssl_client_cert_pw_t_password_set(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_ssl_client_cert_pw_t *arg1 = (svn_auth_cred_ssl_client_cert_pw_t *) 0 ; + struct svn_auth_cred_ssl_client_cert_pw_t *arg1 = (struct svn_auth_cred_ssl_client_cert_pw_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_cred_ssl_client_cert_pw_t *","password", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_cred_ssl_client_cert_pw_t *","password", 1, self )); } - arg1 = (svn_auth_cred_ssl_client_cert_pw_t *)(argp1); - res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","password", 2, argv[0] )); + arg1 = (struct svn_auth_cred_ssl_client_cert_pw_t *)(argp1); + { + if (NIL_P(argv[0])) { + arg2 = NULL; + } else { + arg2 = StringValuePtr(argv[0]); + } } - arg2 = (char *)(buf2); { apr_size_t len = strlen(arg2) + 1; char *copied; @@ -13113,17 +14587,15 @@ _wrap_svn_auth_cred_ssl_client_cert_pw_t_password_set(int argc, VALUE *argv, VAL memcpy(copied, arg2, len); arg1->password = copied; } - if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); return Qnil; fail: - if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); return Qnil; } SWIGINTERN VALUE _wrap_svn_auth_cred_ssl_client_cert_pw_t_password_get(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_ssl_client_cert_pw_t *arg1 = (svn_auth_cred_ssl_client_cert_pw_t *) 0 ; + struct svn_auth_cred_ssl_client_cert_pw_t *arg1 = (struct svn_auth_cred_ssl_client_cert_pw_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -13134,9 +14606,9 @@ _wrap_svn_auth_cred_ssl_client_cert_pw_t_password_get(int argc, VALUE *argv, VAL } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_cred_ssl_client_cert_pw_t *","password", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_cred_ssl_client_cert_pw_t *","password", 1, self )); } - arg1 = (svn_auth_cred_ssl_client_cert_pw_t *)(argp1); + arg1 = (struct svn_auth_cred_ssl_client_cert_pw_t *)(argp1); result = (char *) ((arg1)->password); { if (result) { @@ -13153,7 +14625,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_cred_ssl_client_cert_pw_t_may_save_set(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_ssl_client_cert_pw_t *arg1 = (svn_auth_cred_ssl_client_cert_pw_t *) 0 ; + struct svn_auth_cred_ssl_client_cert_pw_t *arg1 = (struct svn_auth_cred_ssl_client_cert_pw_t *) 0 ; svn_boolean_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -13163,9 +14635,9 @@ _wrap_svn_auth_cred_ssl_client_cert_pw_t_may_save_set(int argc, VALUE *argv, VAL } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_cred_ssl_client_cert_pw_t *","may_save", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_cred_ssl_client_cert_pw_t *","may_save", 1, self )); } - arg1 = (svn_auth_cred_ssl_client_cert_pw_t *)(argp1); + arg1 = (struct svn_auth_cred_ssl_client_cert_pw_t *)(argp1); arg2 = RTEST(argv[0]); if (arg1) (arg1)->may_save = arg2; return Qnil; @@ -13176,7 +14648,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_cred_ssl_client_cert_pw_t_may_save_get(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_ssl_client_cert_pw_t *arg1 = (svn_auth_cred_ssl_client_cert_pw_t *) 0 ; + struct svn_auth_cred_ssl_client_cert_pw_t *arg1 = (struct svn_auth_cred_ssl_client_cert_pw_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_boolean_t result; @@ -13187,9 +14659,9 @@ _wrap_svn_auth_cred_ssl_client_cert_pw_t_may_save_get(int argc, VALUE *argv, VAL } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_cred_ssl_client_cert_pw_t *","may_save", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_cred_ssl_client_cert_pw_t *","may_save", 1, self )); } - arg1 = (svn_auth_cred_ssl_client_cert_pw_t *)(argp1); + arg1 = (struct svn_auth_cred_ssl_client_cert_pw_t *)(argp1); result = (svn_boolean_t) ((arg1)->may_save); vresult = result ? Qtrue : Qfalse; return vresult; @@ -13217,13 +14689,13 @@ _wrap_svn_auth_cred_ssl_client_cert_pw_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_auth_cred_ssl_client_cert_pw_t(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_ssl_client_cert_pw_t *result = 0 ; + struct svn_auth_cred_ssl_client_cert_pw_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_auth_cred_ssl_client_cert_pw_t *)calloc(1, sizeof(svn_auth_cred_ssl_client_cert_pw_t)); + result = (struct svn_auth_cred_ssl_client_cert_pw_t *)calloc(1, sizeof(struct svn_auth_cred_ssl_client_cert_pw_t)); DATA_PTR(self) = result; @@ -13236,15 +14708,15 @@ fail: SWIGINTERN void -free_svn_auth_cred_ssl_client_cert_pw_t(svn_auth_cred_ssl_client_cert_pw_t *arg1) { +free_svn_auth_cred_ssl_client_cert_pw_t(struct svn_auth_cred_ssl_client_cert_pw_t *arg1) { free((char *) arg1); } -swig_class SwigClassSvn_auth_ssl_server_cert_info_t; +static swig_class SwigClassSvn_auth_ssl_server_cert_info_t; SWIGINTERN VALUE _wrap_svn_auth_ssl_server_cert_info_t_hostname_set(int argc, VALUE *argv, VALUE self) { - svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ; + struct svn_auth_ssl_server_cert_info_t *arg1 = (struct svn_auth_ssl_server_cert_info_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -13257,9 +14729,9 @@ _wrap_svn_auth_ssl_server_cert_info_t_hostname_set(int argc, VALUE *argv, VALUE } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_ssl_server_cert_info_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_ssl_server_cert_info_t *","hostname", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_ssl_server_cert_info_t *","hostname", 1, self )); } - arg1 = (svn_auth_ssl_server_cert_info_t *)(argp1); + arg1 = (struct svn_auth_ssl_server_cert_info_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","hostname", 2, argv[0] )); @@ -13283,7 +14755,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_ssl_server_cert_info_t_hostname_get(int argc, VALUE *argv, VALUE self) { - svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ; + struct svn_auth_ssl_server_cert_info_t *arg1 = (struct svn_auth_ssl_server_cert_info_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -13294,9 +14766,9 @@ _wrap_svn_auth_ssl_server_cert_info_t_hostname_get(int argc, VALUE *argv, VALUE } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_ssl_server_cert_info_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_ssl_server_cert_info_t *","hostname", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_ssl_server_cert_info_t *","hostname", 1, self )); } - arg1 = (svn_auth_ssl_server_cert_info_t *)(argp1); + arg1 = (struct svn_auth_ssl_server_cert_info_t *)(argp1); result = (char *) ((arg1)->hostname); { if (result) { @@ -13313,7 +14785,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_ssl_server_cert_info_t_fingerprint_set(int argc, VALUE *argv, VALUE self) { - svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ; + struct svn_auth_ssl_server_cert_info_t *arg1 = (struct svn_auth_ssl_server_cert_info_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -13326,9 +14798,9 @@ _wrap_svn_auth_ssl_server_cert_info_t_fingerprint_set(int argc, VALUE *argv, VAL } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_ssl_server_cert_info_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_ssl_server_cert_info_t *","fingerprint", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_ssl_server_cert_info_t *","fingerprint", 1, self )); } - arg1 = (svn_auth_ssl_server_cert_info_t *)(argp1); + arg1 = (struct svn_auth_ssl_server_cert_info_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","fingerprint", 2, argv[0] )); @@ -13352,7 +14824,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_ssl_server_cert_info_t_fingerprint_get(int argc, VALUE *argv, VALUE self) { - svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ; + struct svn_auth_ssl_server_cert_info_t *arg1 = (struct svn_auth_ssl_server_cert_info_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -13363,9 +14835,9 @@ _wrap_svn_auth_ssl_server_cert_info_t_fingerprint_get(int argc, VALUE *argv, VAL } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_ssl_server_cert_info_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_ssl_server_cert_info_t *","fingerprint", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_ssl_server_cert_info_t *","fingerprint", 1, self )); } - arg1 = (svn_auth_ssl_server_cert_info_t *)(argp1); + arg1 = (struct svn_auth_ssl_server_cert_info_t *)(argp1); result = (char *) ((arg1)->fingerprint); { if (result) { @@ -13382,7 +14854,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_ssl_server_cert_info_t_valid_from_set(int argc, VALUE *argv, VALUE self) { - svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ; + struct svn_auth_ssl_server_cert_info_t *arg1 = (struct svn_auth_ssl_server_cert_info_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -13395,9 +14867,9 @@ _wrap_svn_auth_ssl_server_cert_info_t_valid_from_set(int argc, VALUE *argv, VALU } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_ssl_server_cert_info_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_ssl_server_cert_info_t *","valid_from", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_ssl_server_cert_info_t *","valid_from", 1, self )); } - arg1 = (svn_auth_ssl_server_cert_info_t *)(argp1); + arg1 = (struct svn_auth_ssl_server_cert_info_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","valid_from", 2, argv[0] )); @@ -13421,7 +14893,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_ssl_server_cert_info_t_valid_from_get(int argc, VALUE *argv, VALUE self) { - svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ; + struct svn_auth_ssl_server_cert_info_t *arg1 = (struct svn_auth_ssl_server_cert_info_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -13432,9 +14904,9 @@ _wrap_svn_auth_ssl_server_cert_info_t_valid_from_get(int argc, VALUE *argv, VALU } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_ssl_server_cert_info_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_ssl_server_cert_info_t *","valid_from", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_ssl_server_cert_info_t *","valid_from", 1, self )); } - arg1 = (svn_auth_ssl_server_cert_info_t *)(argp1); + arg1 = (struct svn_auth_ssl_server_cert_info_t *)(argp1); result = (char *) ((arg1)->valid_from); { if (result) { @@ -13451,7 +14923,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_ssl_server_cert_info_t_valid_until_set(int argc, VALUE *argv, VALUE self) { - svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ; + struct svn_auth_ssl_server_cert_info_t *arg1 = (struct svn_auth_ssl_server_cert_info_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -13464,9 +14936,9 @@ _wrap_svn_auth_ssl_server_cert_info_t_valid_until_set(int argc, VALUE *argv, VAL } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_ssl_server_cert_info_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_ssl_server_cert_info_t *","valid_until", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_ssl_server_cert_info_t *","valid_until", 1, self )); } - arg1 = (svn_auth_ssl_server_cert_info_t *)(argp1); + arg1 = (struct svn_auth_ssl_server_cert_info_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","valid_until", 2, argv[0] )); @@ -13490,7 +14962,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_ssl_server_cert_info_t_valid_until_get(int argc, VALUE *argv, VALUE self) { - svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ; + struct svn_auth_ssl_server_cert_info_t *arg1 = (struct svn_auth_ssl_server_cert_info_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -13501,9 +14973,9 @@ _wrap_svn_auth_ssl_server_cert_info_t_valid_until_get(int argc, VALUE *argv, VAL } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_ssl_server_cert_info_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_ssl_server_cert_info_t *","valid_until", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_ssl_server_cert_info_t *","valid_until", 1, self )); } - arg1 = (svn_auth_ssl_server_cert_info_t *)(argp1); + arg1 = (struct svn_auth_ssl_server_cert_info_t *)(argp1); result = (char *) ((arg1)->valid_until); { if (result) { @@ -13520,7 +14992,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_ssl_server_cert_info_t_issuer_dname_set(int argc, VALUE *argv, VALUE self) { - svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ; + struct svn_auth_ssl_server_cert_info_t *arg1 = (struct svn_auth_ssl_server_cert_info_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -13533,9 +15005,9 @@ _wrap_svn_auth_ssl_server_cert_info_t_issuer_dname_set(int argc, VALUE *argv, VA } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_ssl_server_cert_info_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_ssl_server_cert_info_t *","issuer_dname", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_ssl_server_cert_info_t *","issuer_dname", 1, self )); } - arg1 = (svn_auth_ssl_server_cert_info_t *)(argp1); + arg1 = (struct svn_auth_ssl_server_cert_info_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","issuer_dname", 2, argv[0] )); @@ -13559,7 +15031,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_ssl_server_cert_info_t_issuer_dname_get(int argc, VALUE *argv, VALUE self) { - svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ; + struct svn_auth_ssl_server_cert_info_t *arg1 = (struct svn_auth_ssl_server_cert_info_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -13570,9 +15042,9 @@ _wrap_svn_auth_ssl_server_cert_info_t_issuer_dname_get(int argc, VALUE *argv, VA } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_ssl_server_cert_info_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_ssl_server_cert_info_t *","issuer_dname", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_ssl_server_cert_info_t *","issuer_dname", 1, self )); } - arg1 = (svn_auth_ssl_server_cert_info_t *)(argp1); + arg1 = (struct svn_auth_ssl_server_cert_info_t *)(argp1); result = (char *) ((arg1)->issuer_dname); { if (result) { @@ -13589,7 +15061,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_ssl_server_cert_info_t_ascii_cert_set(int argc, VALUE *argv, VALUE self) { - svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ; + struct svn_auth_ssl_server_cert_info_t *arg1 = (struct svn_auth_ssl_server_cert_info_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -13602,9 +15074,9 @@ _wrap_svn_auth_ssl_server_cert_info_t_ascii_cert_set(int argc, VALUE *argv, VALU } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_ssl_server_cert_info_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_ssl_server_cert_info_t *","ascii_cert", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_ssl_server_cert_info_t *","ascii_cert", 1, self )); } - arg1 = (svn_auth_ssl_server_cert_info_t *)(argp1); + arg1 = (struct svn_auth_ssl_server_cert_info_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","ascii_cert", 2, argv[0] )); @@ -13628,7 +15100,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_ssl_server_cert_info_t_ascii_cert_get(int argc, VALUE *argv, VALUE self) { - svn_auth_ssl_server_cert_info_t *arg1 = (svn_auth_ssl_server_cert_info_t *) 0 ; + struct svn_auth_ssl_server_cert_info_t *arg1 = (struct svn_auth_ssl_server_cert_info_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -13639,9 +15111,9 @@ _wrap_svn_auth_ssl_server_cert_info_t_ascii_cert_get(int argc, VALUE *argv, VALU } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_ssl_server_cert_info_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_ssl_server_cert_info_t *","ascii_cert", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_ssl_server_cert_info_t *","ascii_cert", 1, self )); } - arg1 = (svn_auth_ssl_server_cert_info_t *)(argp1); + arg1 = (struct svn_auth_ssl_server_cert_info_t *)(argp1); result = (char *) ((arg1)->ascii_cert); { if (result) { @@ -13675,13 +15147,13 @@ _wrap_svn_auth_ssl_server_cert_info_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_auth_ssl_server_cert_info_t(int argc, VALUE *argv, VALUE self) { - svn_auth_ssl_server_cert_info_t *result = 0 ; + struct svn_auth_ssl_server_cert_info_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_auth_ssl_server_cert_info_t *)calloc(1, sizeof(svn_auth_ssl_server_cert_info_t)); + result = (struct svn_auth_ssl_server_cert_info_t *)calloc(1, sizeof(struct svn_auth_ssl_server_cert_info_t)); DATA_PTR(self) = result; @@ -13694,7 +15166,7 @@ fail: SWIGINTERN void -free_svn_auth_ssl_server_cert_info_t(svn_auth_ssl_server_cert_info_t *arg1) { +free_svn_auth_ssl_server_cert_info_t(struct svn_auth_ssl_server_cert_info_t *arg1) { free((char *) arg1); } @@ -13752,11 +15224,11 @@ fail: } -swig_class SwigClassSvn_auth_cred_ssl_server_trust_t; +static swig_class SwigClassSvn_auth_cred_ssl_server_trust_t; SWIGINTERN VALUE _wrap_svn_auth_cred_ssl_server_trust_t_may_save_set(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_ssl_server_trust_t *arg1 = (svn_auth_cred_ssl_server_trust_t *) 0 ; + struct svn_auth_cred_ssl_server_trust_t *arg1 = (struct svn_auth_cred_ssl_server_trust_t *) 0 ; svn_boolean_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -13766,9 +15238,9 @@ _wrap_svn_auth_cred_ssl_server_trust_t_may_save_set(int argc, VALUE *argv, VALUE } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_cred_ssl_server_trust_t *","may_save", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_cred_ssl_server_trust_t *","may_save", 1, self )); } - arg1 = (svn_auth_cred_ssl_server_trust_t *)(argp1); + arg1 = (struct svn_auth_cred_ssl_server_trust_t *)(argp1); arg2 = RTEST(argv[0]); if (arg1) (arg1)->may_save = arg2; return Qnil; @@ -13779,7 +15251,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_cred_ssl_server_trust_t_may_save_get(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_ssl_server_trust_t *arg1 = (svn_auth_cred_ssl_server_trust_t *) 0 ; + struct svn_auth_cred_ssl_server_trust_t *arg1 = (struct svn_auth_cred_ssl_server_trust_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_boolean_t result; @@ -13790,9 +15262,9 @@ _wrap_svn_auth_cred_ssl_server_trust_t_may_save_get(int argc, VALUE *argv, VALUE } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_cred_ssl_server_trust_t *","may_save", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_cred_ssl_server_trust_t *","may_save", 1, self )); } - arg1 = (svn_auth_cred_ssl_server_trust_t *)(argp1); + arg1 = (struct svn_auth_cred_ssl_server_trust_t *)(argp1); result = (svn_boolean_t) ((arg1)->may_save); vresult = result ? Qtrue : Qfalse; return vresult; @@ -13803,7 +15275,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_cred_ssl_server_trust_t_accepted_failures_set(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_ssl_server_trust_t *arg1 = (svn_auth_cred_ssl_server_trust_t *) 0 ; + struct svn_auth_cred_ssl_server_trust_t *arg1 = (struct svn_auth_cred_ssl_server_trust_t *) 0 ; apr_uint32_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -13815,9 +15287,9 @@ _wrap_svn_auth_cred_ssl_server_trust_t_accepted_failures_set(int argc, VALUE *ar } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_cred_ssl_server_trust_t *","accepted_failures", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_cred_ssl_server_trust_t *","accepted_failures", 1, self )); } - arg1 = (svn_auth_cred_ssl_server_trust_t *)(argp1); + arg1 = (struct svn_auth_cred_ssl_server_trust_t *)(argp1); ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "apr_uint32_t","accepted_failures", 2, argv[0] )); @@ -13832,7 +15304,7 @@ fail: SWIGINTERN VALUE _wrap_svn_auth_cred_ssl_server_trust_t_accepted_failures_get(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_ssl_server_trust_t *arg1 = (svn_auth_cred_ssl_server_trust_t *) 0 ; + struct svn_auth_cred_ssl_server_trust_t *arg1 = (struct svn_auth_cred_ssl_server_trust_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; apr_uint32_t result; @@ -13843,9 +15315,9 @@ _wrap_svn_auth_cred_ssl_server_trust_t_accepted_failures_get(int argc, VALUE *ar } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_cred_ssl_server_trust_t *","accepted_failures", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_auth_cred_ssl_server_trust_t *","accepted_failures", 1, self )); } - arg1 = (svn_auth_cred_ssl_server_trust_t *)(argp1); + arg1 = (struct svn_auth_cred_ssl_server_trust_t *)(argp1); result = ((arg1)->accepted_failures); vresult = SWIG_From_unsigned_SS_long((unsigned long)(result)); return vresult; @@ -13873,13 +15345,13 @@ _wrap_svn_auth_cred_ssl_server_trust_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_auth_cred_ssl_server_trust_t(int argc, VALUE *argv, VALUE self) { - svn_auth_cred_ssl_server_trust_t *result = 0 ; + struct svn_auth_cred_ssl_server_trust_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_auth_cred_ssl_server_trust_t *)calloc(1, sizeof(svn_auth_cred_ssl_server_trust_t)); + result = (struct svn_auth_cred_ssl_server_trust_t *)calloc(1, sizeof(struct svn_auth_cred_ssl_server_trust_t)); DATA_PTR(self) = result; @@ -13892,7 +15364,7 @@ fail: SWIGINTERN void -free_svn_auth_cred_ssl_server_trust_t(svn_auth_cred_ssl_server_trust_t *arg1) { +free_svn_auth_cred_ssl_server_trust_t(struct svn_auth_cred_ssl_server_trust_t *arg1) { free((char *) arg1); } @@ -14217,6 +15689,89 @@ fail: SWIGINTERN VALUE +_wrap_svn_auth_forget_credentials(int argc, VALUE *argv, VALUE self) { + svn_auth_baton_t *arg1 = (svn_auth_baton_t *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + apr_pool_t *arg4 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + int res3 ; + char *buf3 = 0 ; + int alloc3 = 0 ; + svn_error_t *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4); + _global_pool = arg4; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + if ((argc < 3) || (argc > 4)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_auth_baton_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_baton_t *","svn_auth_forget_credentials", 1, argv[0] )); + } + arg1 = (svn_auth_baton_t *)(argp1); + res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_auth_forget_credentials", 2, argv[1] )); + } + arg2 = (char *)(buf2); + res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_auth_forget_credentials", 3, argv[2] )); + } + arg3 = (char *)(buf3); + if (argc > 3) { + + } + { + result = (svn_error_t *)svn_auth_forget_credentials(arg1,(char const *)arg2,(char const *)arg3,arg4); + + + + } + { + if (result) { + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + svn_swig_rb_handle_svn_error(result); + } + vresult = Qnil; + } + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return vresult; +fail: + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +} + + +SWIGINTERN VALUE _wrap_svn_auth_get_simple_prompt_provider(int argc, VALUE *argv, VALUE self) { svn_auth_provider_object_t **arg1 = (svn_auth_provider_object_t **) 0 ; svn_auth_simple_prompt_func_t arg2 = (svn_auth_simple_prompt_func_t) 0 ; @@ -15476,9 +17031,6 @@ _wrap_svn_auth_invoke_simple_prompt_func(int argc, VALUE *argv, VALUE self) { int res4 ; char *buf4 = 0 ; int alloc4 = 0 ; - int res5 ; - char *buf5 = 0 ; - int alloc5 = 0 ; svn_error_t *result = 0 ; VALUE vresult = Qnil; @@ -15506,11 +17058,13 @@ _wrap_svn_auth_invoke_simple_prompt_func(int argc, VALUE *argv, VALUE self) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_auth_invoke_simple_prompt_func", 4, argv[2] )); } arg4 = (char *)(buf4); - res5 = SWIG_AsCharPtrAndSize(argv[3], &buf5, NULL, &alloc5); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_auth_invoke_simple_prompt_func", 5, argv[3] )); + { + if (NIL_P(argv[3])) { + arg5 = NULL; + } else { + arg5 = StringValuePtr(argv[3]); + } } - arg5 = (char *)(buf5); arg6 = RTEST(argv[4]); if (argc > 5) { @@ -15533,7 +17087,6 @@ _wrap_svn_auth_invoke_simple_prompt_func(int argc, VALUE *argv, VALUE self) { vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_svn_auth_cred_simple_t, 0)); } if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); - if (alloc5 == SWIG_NEWOBJ) free((char*)buf5); { VALUE target; target = _global_vresult_address == &vresult ? self : vresult; @@ -15544,7 +17097,6 @@ _wrap_svn_auth_invoke_simple_prompt_func(int argc, VALUE *argv, VALUE self) { return vresult; fail: if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); - if (alloc5 == SWIG_NEWOBJ) free((char*)buf5); { VALUE target; target = _global_vresult_address == &vresult ? self : vresult; @@ -16149,6 +17701,69 @@ fail: SWIGINTERN VALUE +_wrap_svn_config_create2(int argc, VALUE *argv, VALUE self) { + svn_config_t **arg1 = (svn_config_t **) 0 ; + svn_boolean_t arg2 ; + svn_boolean_t arg3 ; + apr_pool_t *arg4 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + svn_config_t *temp1 ; + svn_error_t *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4); + _global_pool = arg4; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + arg1 = &temp1; + if ((argc < 2) || (argc > 3)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; + } + arg2 = RTEST(argv[0]); + arg3 = RTEST(argv[1]); + if (argc > 2) { + + } + { + result = (svn_error_t *)svn_config_create2(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; + } + { + vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_config_t, 0)); + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + 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_config_create(int argc, VALUE *argv, VALUE self) { svn_config_t **arg1 = (svn_config_t **) 0 ; svn_boolean_t arg2 ; @@ -16210,6 +17825,82 @@ fail: SWIGINTERN VALUE +_wrap_svn_config_read3(int argc, VALUE *argv, VALUE self) { + svn_config_t **arg1 = (svn_config_t **) 0 ; + char *arg2 = (char *) 0 ; + svn_boolean_t arg3 ; + svn_boolean_t arg4 ; + svn_boolean_t arg5 ; + apr_pool_t *arg6 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + svn_config_t *temp1 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + svn_error_t *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6); + _global_pool = arg6; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + arg1 = &temp1; + if ((argc < 4) || (argc > 5)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail; + } + res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_config_read3", 2, argv[0] )); + } + arg2 = (char *)(buf2); + arg3 = RTEST(argv[1]); + arg4 = RTEST(argv[2]); + arg5 = RTEST(argv[3]); + if (argc > 4) { + + } + { + result = (svn_error_t *)svn_config_read3(arg1,(char const *)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; + } + { + vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_config_t, 0)); + } + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return vresult; +fail: + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +} + + +SWIGINTERN VALUE _wrap_svn_config_read2(int argc, VALUE *argv, VALUE self) { svn_config_t **arg1 = (svn_config_t **) 0 ; char *arg2 = (char *) 0 ; @@ -16356,6 +18047,73 @@ fail: SWIGINTERN VALUE +_wrap_svn_config_parse(int argc, VALUE *argv, VALUE self) { + svn_config_t **arg1 = (svn_config_t **) 0 ; + svn_stream_t *arg2 = (svn_stream_t *) 0 ; + svn_boolean_t arg3 ; + svn_boolean_t arg4 ; + apr_pool_t *arg5 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + svn_config_t *temp1 ; + 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); + } + arg1 = &temp1; + if ((argc < 3) || (argc > 4)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; + } + { + arg2 = svn_swig_rb_make_stream(argv[0]); + } + arg3 = RTEST(argv[1]); + arg4 = RTEST(argv[2]); + if (argc > 3) { + + } + { + result = (svn_error_t *)svn_config_parse(arg1,arg2,arg3,arg4,arg5); + + + + } + { + if (result) { + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + svn_swig_rb_handle_svn_error(result); + } + vresult = Qnil; + } + { + vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_config_t, 0)); + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + 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_config_merge(int argc, VALUE *argv, VALUE self) { svn_config_t *arg1 = (svn_config_t *) 0 ; char *arg2 = (char *) 0 ; @@ -16647,6 +18405,127 @@ fail: SWIGINTERN VALUE +_wrap_svn_config_get_int64(int argc, VALUE *argv, VALUE self) { + svn_config_t *arg1 = (svn_config_t *) 0 ; + apr_int64_t *arg2 = (apr_int64_t *) 0 ; + char *arg3 = (char *) 0 ; + char *arg4 = (char *) 0 ; + apr_int64_t arg5 ; + void *argp1 = 0 ; + int res1 = 0 ; + apr_int64_t temp2 ; + int res2 = SWIG_TMPOBJ ; + int res3 ; + char *buf3 = 0 ; + int alloc3 = 0 ; + int res4 ; + char *buf4 = 0 ; + int alloc4 = 0 ; + svn_error_t *result = 0 ; + VALUE vresult = Qnil; + + arg2 = &temp2; + 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_config_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_config_t *","svn_config_get_int64", 1, argv[0] )); + } + arg1 = (svn_config_t *)(argp1); + res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_config_get_int64", 3, argv[1] )); + } + arg3 = (char *)(buf3); + res4 = SWIG_AsCharPtrAndSize(argv[2], &buf4, NULL, &alloc4); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_config_get_int64", 4, argv[2] )); + } + arg4 = (char *)(buf4); + { + arg5 = (apr_int64_t)NUM2LL(argv[3]); + } + { + result = (svn_error_t *)svn_config_get_int64(arg1,arg2,(char const *)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; + } + { + vresult = SWIG_Ruby_AppendOutput(vresult, LL2NUM(*arg2)); + } + if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); + if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); + return vresult; +fail: + if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); + if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_config_set_int64(int argc, VALUE *argv, VALUE self) { + svn_config_t *arg1 = (svn_config_t *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + apr_int64_t arg4 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + int res3 ; + char *buf3 = 0 ; + int alloc3 = 0 ; + + 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_config_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_config_t *","svn_config_set_int64", 1, argv[0] )); + } + arg1 = (svn_config_t *)(argp1); + res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_config_set_int64", 2, argv[1] )); + } + arg2 = (char *)(buf2); + res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_config_set_int64", 3, argv[2] )); + } + arg3 = (char *)(buf3); + { + arg4 = (apr_int64_t)NUM2LL(argv[3]); + } + { + svn_config_set_int64(arg1,(char const *)arg2,(char const *)arg3,arg4); + + + + } + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); + return Qnil; +fail: + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); + return Qnil; +} + + +SWIGINTERN VALUE _wrap_svn_config_get_yes_no_ask(int argc, VALUE *argv, VALUE self) { svn_config_t *arg1 = (svn_config_t *) 0 ; char **arg2 = (char **) 0 ; @@ -16723,6 +18602,91 @@ fail: SWIGINTERN VALUE +_wrap_svn_config_get_tristate(int argc, VALUE *argv, VALUE self) { + svn_config_t *arg1 = (svn_config_t *) 0 ; + svn_tristate_t *arg2 = (svn_tristate_t *) 0 ; + char *arg3 = (char *) 0 ; + char *arg4 = (char *) 0 ; + char *arg5 = (char *) 0 ; + svn_tristate_t arg6 ; + void *argp1 = 0 ; + int res1 = 0 ; + 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 val6 ; + int ecode6 = 0 ; + svn_error_t *result = 0 ; + VALUE vresult = Qnil; + + if ((argc < 6) || (argc > 6)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_config_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_config_t *","svn_config_get_tristate", 1, argv[0] )); + } + arg1 = (svn_config_t *)(argp1); + res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_svn_tristate_t, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_tristate_t *","svn_config_get_tristate", 2, argv[1] )); + } + arg2 = (svn_tristate_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_config_get_tristate", 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_config_get_tristate", 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_config_get_tristate", 5, argv[4] )); + } + arg5 = (char *)(buf5); + ecode6 = SWIG_AsVal_int(argv[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "svn_tristate_t","svn_config_get_tristate", 6, argv[5] )); + } + arg6 = (svn_tristate_t)(val6); + { + result = (svn_error_t *)svn_config_get_tristate(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,arg6); + + + + } + { + if (result) { + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + svn_swig_rb_handle_svn_error(result); + } + vresult = Qnil; + } + if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); + if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); + if (alloc5 == SWIG_NEWOBJ) free((char*)buf5); + return vresult; +fail: + if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); + if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); + if (alloc5 == SWIG_NEWOBJ) free((char*)buf5); + return Qnil; +} + + +SWIGINTERN VALUE _wrap_svn_config_enumerate_sections(int argc, VALUE *argv, VALUE self) { svn_config_t *arg1 = (svn_config_t *) 0 ; svn_config_section_enumerator_t arg2 = (svn_config_section_enumerator_t) 0 ; @@ -17547,6 +19511,80 @@ fail: SWIGINTERN VALUE +_wrap_svn_config_walk_auth_data(int argc, VALUE *argv, VALUE self) { + char *arg1 = (char *) 0 ; + svn_config_auth_walk_func_t arg2 = (svn_config_auth_walk_func_t) 0 ; + void *arg3 = (void *) 0 ; + apr_pool_t *arg4 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + int res3 ; + 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; + } + { + if (NIL_P(argv[0])) { + arg1 = NULL; + } else { + arg1 = StringValuePtr(argv[0]); + } + } + { + int res = SWIG_ConvertFunctionPtr(argv[1], (void**)(&arg2), 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); + if (!SWIG_IsOK(res)) { + SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_config_auth_walk_func_t","svn_config_walk_auth_data", 2, argv[1] )); + } + } + res3 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg3), 0, 0); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "void *","svn_config_walk_auth_data", 3, argv[2] )); + } + if (argc > 3) { + + } + { + result = (svn_error_t *)svn_config_walk_auth_data((char const *)arg1,arg2,arg3,arg4); + + + + } + { + if (result) { + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + svn_swig_rb_handle_svn_error(result); + } + vresult = Qnil; + } + { + 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_config_get_user_config_path(int argc, VALUE *argv, VALUE self) { char **arg1 = (char **) 0 ; char *arg2 = (char *) 0 ; @@ -17629,6 +19667,143 @@ fail: SWIGINTERN VALUE +_wrap_svn_config_dup(int argc, VALUE *argv, VALUE self) { + svn_config_t **arg1 = (svn_config_t **) 0 ; + svn_config_t *arg2 = (svn_config_t *) 0 ; + apr_pool_t *arg3 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + svn_config_t *temp1 ; + void *argp2 = 0 ; + int res2 = 0 ; + svn_error_t *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3); + _global_pool = arg3; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + arg1 = &temp1; + if ((argc < 1) || (argc > 2)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; + } + 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] )); + } + arg2 = (svn_config_t *)(argp2); + if (argc > 1) { + + } + { + result = (svn_error_t *)svn_config_dup(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, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_config_t, 0)); + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + 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_config_copy_config(int argc, VALUE *argv, VALUE self) { + apr_hash_t **arg1 = (apr_hash_t **) 0 ; + apr_hash_t *arg2 = (apr_hash_t *) 0 ; + apr_pool_t *arg3 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + apr_hash_t *temp1 ; + void *argp2 = 0 ; + int res2 = 0 ; + svn_error_t *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3); + _global_pool = arg3; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + arg1 = &temp1; + if ((argc < 1) || (argc > 2)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; + } + res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_apr_hash_t, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "apr_hash_t *","svn_config_copy_config", 2, argv[0] )); + } + arg2 = (apr_hash_t *)(argp2); + if (argc > 1) { + + } + { + result = (svn_error_t *)svn_config_copy_config(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, svn_swig_rb_apr_hash_to_hash_swig_type(*arg1, + "svn_config_t *")) + + ; + } + { + 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_config_invoke_section_enumerator(int argc, VALUE *argv, VALUE self) { svn_config_section_enumerator_t arg1 = (svn_config_section_enumerator_t) 0 ; char *arg2 = (char *) 0 ; @@ -17881,6 +20056,163 @@ fail: SWIGINTERN VALUE +_wrap_svn_config_invoke_auth_walk_func(int argc, VALUE *argv, VALUE self) { + svn_config_auth_walk_func_t arg1 = (svn_config_auth_walk_func_t) 0 ; + svn_boolean_t *arg2 = (svn_boolean_t *) 0 ; + void *arg3 = (void *) 0 ; + char *arg4 = (char *) 0 ; + char *arg5 = (char *) 0 ; + apr_hash_t *arg6 = (apr_hash_t *) 0 ; + apr_pool_t *arg7 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + svn_boolean_t temp2 ; + int res3 ; + int res4 ; + char *buf4 = 0 ; + int alloc4 = 0 ; + int res5 ; + char *buf5 = 0 ; + int alloc5 = 0 ; + svn_error_t *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7); + _global_pool = arg7; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + arg2 = &temp2; + if ((argc < 5) || (argc > 6)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail; + } + { + int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_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); + if (!SWIG_IsOK(res)) { + SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_config_auth_walk_func_t","svn_config_invoke_auth_walk_func", 1, argv[0] )); + } + } + res3 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg3), 0, 0); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "void *","svn_config_invoke_auth_walk_func", 3, argv[1] )); + } + res4 = SWIG_AsCharPtrAndSize(argv[2], &buf4, NULL, &alloc4); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_config_invoke_auth_walk_func", 4, argv[2] )); + } + arg4 = (char *)(buf4); + res5 = SWIG_AsCharPtrAndSize(argv[3], &buf5, NULL, &alloc5); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_config_invoke_auth_walk_func", 5, argv[3] )); + } + arg5 = (char *)(buf5); + { + VALUE rb_pool = Qnil; + if (!_global_pool) { + svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool); + svn_swig_rb_push_pool(rb_pool); + } + arg6 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[4], _global_pool); + _global_pool = NULL; + if (!NIL_P(rb_pool)) { + if (NIL_P(arg6)) { + svn_swig_rb_destroy_pool(rb_pool); + } else { + svn_swig_rb_set_pool_for_no_swig_type(argv[4], rb_pool); + } + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + } + if (argc > 5) { + + } + { + result = (svn_error_t *)svn_config_invoke_auth_walk_func(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,arg6,arg7); + + + + } + { + if (result) { + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + svn_swig_rb_handle_svn_error(result); + } + vresult = Qnil; + } + { + vresult = SWIG_Ruby_AppendOutput(vresult, *arg2 ? Qtrue : Qfalse); + } + 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 (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_utf_initialize2(int argc, VALUE *argv, VALUE self) { + svn_boolean_t arg1 ; + apr_pool_t *arg2 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + + { + 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 = RTEST(argv[0]); + if (argc > 1) { + + } + { + svn_utf_initialize2(arg1,arg2); + + + + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +fail: + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +} + + +SWIGINTERN VALUE _wrap_svn_utf_initialize(int argc, VALUE *argv, VALUE self) { apr_pool_t *arg1 = (apr_pool_t *) 0 ; VALUE _global_svn_swig_rb_pool ; @@ -18938,6 +21270,38 @@ fail: SWIGINTERN VALUE +_wrap_svn_utf_cstring_utf8_width(int argc, VALUE *argv, VALUE self) { + char *arg1 = (char *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + int result; + VALUE vresult = Qnil; + + if ((argc < 1) || (argc > 1)) { + 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_utf_cstring_utf8_width", 1, argv[0] )); + } + arg1 = (char *)(buf1); + { + result = (int)svn_utf_cstring_utf8_width((char const *)arg1); + + + + } + vresult = SWIG_From_int((int)(result)); + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return vresult; +fail: + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return Qnil; +} + + +SWIGINTERN VALUE _wrap_svn_nls_init(int argc, VALUE *argv, VALUE self) { svn_error_t *result = 0 ; VALUE vresult = Qnil; @@ -19641,6 +22005,186 @@ fail: SWIGINTERN VALUE +_wrap_svn_path_is_repos_relative_url(int argc, VALUE *argv, VALUE self) { + char *arg1 = (char *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 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; + } + res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_path_is_repos_relative_url", 1, argv[0] )); + } + arg1 = (char *)(buf1); + { + result = (svn_boolean_t)svn_path_is_repos_relative_url((char const *)arg1); + + + + } + vresult = result ? Qtrue : Qfalse; + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return vresult; +fail: + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_path_resolve_repos_relative_url(int argc, VALUE *argv, VALUE self) { + char **arg1 = (char **) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + apr_pool_t *arg4 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + char *temp1 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + int res3 ; + char *buf3 = 0 ; + int alloc3 = 0 ; + svn_error_t *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4); + _global_pool = arg4; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + arg1 = &temp1; + if ((argc < 2) || (argc > 3)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; + } + res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_path_resolve_repos_relative_url", 2, argv[0] )); + } + arg2 = (char *)(buf2); + res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_path_resolve_repos_relative_url", 3, argv[1] )); + } + arg3 = (char *)(buf3); + if (argc > 2) { + + } + { + result = (svn_error_t *)svn_path_resolve_repos_relative_url((char const **)arg1,(char const *)arg2,(char const *)arg3,arg4); + + + + } + { + if (result) { + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + svn_swig_rb_handle_svn_error(result); + } + vresult = Qnil; + } + { + if (*arg1) { + vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg1)); + } else { + vresult = SWIG_Ruby_AppendOutput(vresult, Qnil); + } + } + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return vresult; +fail: + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_path_illegal_path_escape(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 ; + char *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2); + _global_pool = arg2; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + if ((argc < 1) || (argc > 2)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; + } + res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_path_illegal_path_escape", 1, argv[0] )); + } + arg1 = (char *)(buf1); + if (argc > 1) { + + } + { + result = (char *)svn_path_illegal_path_escape((char const *)arg1,arg2); + + + + } + { + 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_dirent_internal_style(int argc, VALUE *argv, VALUE self) { char *arg1 = (char *) 0 ; apr_pool_t *arg2 = (apr_pool_t *) 0 ; @@ -21239,80 +23783,6 @@ fail: SWIGINTERN VALUE -_wrap_svn_uri__is_child(int argc, VALUE *argv, VALUE self) { - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - 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 res2 ; - char *buf2 = 0 ; - int alloc2 = 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_uri__is_child", 1, argv[0] )); - } - arg1 = (char *)(buf1); - res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_uri__is_child", 2, argv[1] )); - } - arg2 = (char *)(buf2); - if (argc > 2) { - - } - { - result = (char *)svn_uri__is_child((char const *)arg1,(char const *)arg2,arg3); - - - - } - { - if (result) { - vresult = rb_str_new2(result); - } else { - vresult = Qnil; - } - } - if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); - if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); - { - VALUE target; - target = _global_vresult_address == &vresult ? self : vresult; - if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) - svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); - svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); - } - return vresult; -fail: - if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); - if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); - { - VALUE target; - target = _global_vresult_address == &vresult ? self : vresult; - if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) - svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); - svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); - } - return Qnil; -} - - -SWIGINTERN VALUE _wrap_svn_dirent_is_child(int argc, VALUE *argv, VALUE self) { char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -21387,80 +23857,6 @@ fail: SWIGINTERN VALUE -_wrap_svn_relpath__is_child(int argc, VALUE *argv, VALUE self) { - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - 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 res2 ; - char *buf2 = 0 ; - int alloc2 = 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__is_child", 1, argv[0] )); - } - arg1 = (char *)(buf1); - res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_relpath__is_child", 2, argv[1] )); - } - arg2 = (char *)(buf2); - if (argc > 2) { - - } - { - result = (char *)svn_relpath__is_child((char const *)arg1,(char const *)arg2,arg3); - - - - } - { - if (result) { - vresult = rb_str_new2(result); - } else { - vresult = Qnil; - } - } - if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); - if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); - { - VALUE target; - target = _global_vresult_address == &vresult ? self : vresult; - if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) - svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); - svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); - } - return vresult; -fail: - if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); - if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); - { - VALUE target; - target = _global_vresult_address == &vresult ? self : vresult; - if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) - svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); - svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); - } - return Qnil; -} - - -SWIGINTERN VALUE _wrap_svn_dirent_is_ancestor(int argc, VALUE *argv, VALUE self) { char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -21504,49 +23900,6 @@ fail: SWIGINTERN VALUE -_wrap_svn_relpath__is_ancestor(int argc, VALUE *argv, VALUE self) { - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - svn_boolean_t result; - VALUE vresult = Qnil; - - if ((argc < 2) || (argc > 2)) { - 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__is_ancestor", 1, argv[0] )); - } - arg1 = (char *)(buf1); - res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_relpath__is_ancestor", 2, argv[1] )); - } - arg2 = (char *)(buf2); - { - result = (svn_boolean_t)svn_relpath__is_ancestor((char const *)arg1,(char const *)arg2); - - - - } - vresult = result ? Qtrue : Qfalse; - if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); - if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); - return vresult; -fail: - if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); - if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); - return Qnil; -} - - -SWIGINTERN VALUE _wrap_svn_uri__is_ancestor(int argc, VALUE *argv, VALUE self) { char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -21980,6 +24333,104 @@ fail: SWIGINTERN VALUE +_wrap_svn_mergeinfo_diff2(int argc, VALUE *argv, VALUE self) { + svn_mergeinfo_t *arg1 = (svn_mergeinfo_t *) 0 ; + svn_mergeinfo_t *arg2 = (svn_mergeinfo_t *) 0 ; + svn_mergeinfo_t arg3 = (svn_mergeinfo_t) 0 ; + svn_mergeinfo_t arg4 = (svn_mergeinfo_t) 0 ; + svn_boolean_t arg5 ; + apr_pool_t *arg6 = (apr_pool_t *) 0 ; + apr_pool_t *arg7 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + svn_mergeinfo_t temp1 ; + svn_mergeinfo_t temp2 ; + svn_error_t *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6); + _global_pool = arg6; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7); + _global_pool = arg7; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + arg1 = &temp1; + arg2 = &temp2; + if ((argc < 3) || (argc > 5)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; + } + { + arg3 = svn_swig_rb_hash_to_apr_hash_merge_range(argv[0], _global_pool); + } + { + arg4 = svn_swig_rb_hash_to_apr_hash_merge_range(argv[1], _global_pool); + } + arg5 = RTEST(argv[2]); + if (argc > 3) { + + } + if (argc > 4) { + + } + { + result = (svn_error_t *)svn_mergeinfo_diff2(arg1,arg2,arg3,arg4,arg5,arg6,arg7); + + + + } + { + if (result) { + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + svn_swig_rb_handle_svn_error(result); + } + vresult = Qnil; + } + { + vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_merge_range(*arg1)); + } + { + vresult = SWIG_Ruby_AppendOutput(vresult, svn_swig_rb_apr_hash_to_hash_merge_range(*arg2)); + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return vresult; +fail: + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +} + + +SWIGINTERN VALUE _wrap_svn_mergeinfo_diff(int argc, VALUE *argv, VALUE self) { svn_mergeinfo_t *arg1 = (svn_mergeinfo_t *) 0 ; svn_mergeinfo_t *arg2 = (svn_mergeinfo_t *) 0 ; @@ -22055,6 +24506,90 @@ fail: SWIGINTERN VALUE +_wrap_svn_mergeinfo_merge2(int argc, VALUE *argv, VALUE self) { + svn_mergeinfo_t arg1 = (svn_mergeinfo_t) 0 ; + svn_mergeinfo_t arg2 = (svn_mergeinfo_t) 0 ; + apr_pool_t *arg3 = (apr_pool_t *) 0 ; + apr_pool_t *arg4 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + svn_error_t *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3); + _global_pool = arg3; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4); + _global_pool = arg4; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + if ((argc < 2) || (argc > 4)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; + } + { + arg1 = svn_swig_rb_hash_to_apr_hash_merge_range(argv[0], _global_pool); + } + { + arg2 = svn_swig_rb_hash_to_apr_hash_merge_range(argv[1], _global_pool); + } + if (argc > 2) { + + } + if (argc > 3) { + + } + { + result = (svn_error_t *)svn_mergeinfo_merge2(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; + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return vresult; +fail: + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +} + + +SWIGINTERN VALUE _wrap_svn_mergeinfo_catalog_merge(int argc, VALUE *argv, VALUE self) { svn_mergeinfo_catalog_t arg1 = (svn_mergeinfo_catalog_t) 0 ; svn_mergeinfo_catalog_t arg2 = (svn_mergeinfo_catalog_t) 0 ; @@ -22307,16 +24842,16 @@ fail: SWIGINTERN VALUE _wrap_svn_rangelist_diff(int argc, VALUE *argv, VALUE self) { - apr_array_header_t **arg1 = (apr_array_header_t **) 0 ; - apr_array_header_t **arg2 = (apr_array_header_t **) 0 ; - apr_array_header_t *arg3 = (apr_array_header_t *) 0 ; - apr_array_header_t *arg4 = (apr_array_header_t *) 0 ; + svn_rangelist_t **arg1 = (svn_rangelist_t **) 0 ; + svn_rangelist_t **arg2 = (svn_rangelist_t **) 0 ; + svn_rangelist_t *arg3 = (svn_rangelist_t *) 0 ; + svn_rangelist_t *arg4 = (svn_rangelist_t *) 0 ; svn_boolean_t arg5 ; apr_pool_t *arg6 = (apr_pool_t *) 0 ; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; - apr_array_header_t *temp1 ; - apr_array_header_t *temp2 ; + svn_rangelist_t *temp1 ; + svn_rangelist_t *temp2 ; svn_error_t *result = 0 ; VALUE vresult = Qnil; @@ -22381,15 +24916,103 @@ fail: SWIGINTERN VALUE +_wrap_svn_rangelist_merge2(int argc, VALUE *argv, VALUE self) { + svn_rangelist_t *arg1 = (svn_rangelist_t *) 0 ; + svn_rangelist_t *arg2 = (svn_rangelist_t *) 0 ; + apr_pool_t *arg3 = (apr_pool_t *) 0 ; + apr_pool_t *arg4 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + void *argp1 = 0 ; + int res1 = 0 ; + svn_error_t *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3); + _global_pool = arg3; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4); + _global_pool = arg4; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + if ((argc < 2) || (argc > 4)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_apr_array_header_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_rangelist_t *","svn_rangelist_merge2", 1, argv[0] )); + } + arg1 = (svn_rangelist_t *)(argp1); + { + arg2 = svn_swig_rb_array_to_apr_array_merge_range(argv[1], _global_pool); + } + if (argc > 2) { + + } + if (argc > 3) { + + } + { + result = (svn_error_t *)svn_rangelist_merge2(arg1,(apr_array_header_t 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; + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return vresult; +fail: + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +} + + +SWIGINTERN VALUE _wrap_svn_rangelist_remove(int argc, VALUE *argv, VALUE self) { - apr_array_header_t **arg1 = (apr_array_header_t **) 0 ; - apr_array_header_t *arg2 = (apr_array_header_t *) 0 ; - apr_array_header_t *arg3 = (apr_array_header_t *) 0 ; + svn_rangelist_t **arg1 = (svn_rangelist_t **) 0 ; + svn_rangelist_t *arg2 = (svn_rangelist_t *) 0 ; + svn_rangelist_t *arg3 = (svn_rangelist_t *) 0 ; svn_boolean_t arg4 ; apr_pool_t *arg5 = (apr_pool_t *) 0 ; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; - apr_array_header_t *temp1 ; + svn_rangelist_t *temp1 ; svn_error_t *result = 0 ; VALUE vresult = Qnil; @@ -22626,14 +25249,14 @@ fail: SWIGINTERN VALUE _wrap_svn_rangelist_intersect(int argc, VALUE *argv, VALUE self) { - apr_array_header_t **arg1 = (apr_array_header_t **) 0 ; - apr_array_header_t *arg2 = (apr_array_header_t *) 0 ; - apr_array_header_t *arg3 = (apr_array_header_t *) 0 ; + svn_rangelist_t **arg1 = (svn_rangelist_t **) 0 ; + svn_rangelist_t *arg2 = (svn_rangelist_t *) 0 ; + svn_rangelist_t *arg3 = (svn_rangelist_t *) 0 ; svn_boolean_t arg4 ; apr_pool_t *arg5 = (apr_pool_t *) 0 ; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; - apr_array_header_t *temp1 ; + svn_rangelist_t *temp1 ; svn_error_t *result = 0 ; VALUE vresult = Qnil; @@ -22696,7 +25319,7 @@ fail: SWIGINTERN VALUE _wrap_svn_rangelist_to_string(int argc, VALUE *argv, VALUE self) { svn_string_t **arg1 = (svn_string_t **) 0 ; - apr_array_header_t *arg2 = (apr_array_header_t *) 0 ; + svn_rangelist_t *arg2 = (svn_rangelist_t *) 0 ; apr_pool_t *arg3 = (apr_pool_t *) 0 ; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; @@ -22762,8 +25385,8 @@ fail: SWIGINTERN VALUE _wrap_svn_rangelist_inheritable2(int argc, VALUE *argv, VALUE self) { - apr_array_header_t **arg1 = (apr_array_header_t **) 0 ; - apr_array_header_t *arg2 = (apr_array_header_t *) 0 ; + svn_rangelist_t **arg1 = (svn_rangelist_t **) 0 ; + svn_rangelist_t *arg2 = (svn_rangelist_t *) 0 ; svn_revnum_t arg3 ; svn_revnum_t arg4 ; svn_boolean_t arg5 ; @@ -22771,7 +25394,7 @@ _wrap_svn_rangelist_inheritable2(int argc, VALUE *argv, VALUE self) { apr_pool_t *arg7 = (apr_pool_t *) 0 ; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; - apr_array_header_t *temp1 ; + svn_rangelist_t *temp1 ; long val3 ; int ecode3 = 0 ; long val4 ; @@ -22866,14 +25489,14 @@ fail: SWIGINTERN VALUE _wrap_svn_rangelist_inheritable(int argc, VALUE *argv, VALUE self) { - apr_array_header_t **arg1 = (apr_array_header_t **) 0 ; - apr_array_header_t *arg2 = (apr_array_header_t *) 0 ; + svn_rangelist_t **arg1 = (svn_rangelist_t **) 0 ; + svn_rangelist_t *arg2 = (svn_rangelist_t *) 0 ; svn_revnum_t arg3 ; svn_revnum_t arg4 ; apr_pool_t *arg5 = (apr_pool_t *) 0 ; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; - apr_array_header_t *temp1 ; + svn_rangelist_t *temp1 ; long val3 ; int ecode3 = 0 ; long val4 ; @@ -23321,11 +25944,11 @@ fail: SWIGINTERN VALUE _wrap_svn_rangelist_dup(int argc, VALUE *argv, VALUE self) { - apr_array_header_t *arg1 = (apr_array_header_t *) 0 ; + svn_rangelist_t *arg1 = (svn_rangelist_t *) 0 ; apr_pool_t *arg2 = (apr_pool_t *) 0 ; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; - apr_array_header_t *result = 0 ; + svn_rangelist_t *result = 0 ; VALUE vresult = Qnil; { @@ -23343,7 +25966,7 @@ _wrap_svn_rangelist_dup(int argc, VALUE *argv, VALUE self) { } { - result = (apr_array_header_t *)svn_rangelist_dup((apr_array_header_t const *)arg1,arg2); + result = (svn_rangelist_t *)svn_rangelist_dup((apr_array_header_t const *)arg1,arg2); @@ -23432,11 +26055,11 @@ fail: } -swig_class SwigClassSvn_io_dirent2_t; +static swig_class SwigClassSvn_io_dirent2_t; SWIGINTERN VALUE _wrap_svn_io_dirent2_t_kind_set(int argc, VALUE *argv, VALUE self) { - svn_io_dirent2_t *arg1 = (svn_io_dirent2_t *) 0 ; + struct svn_io_dirent2_t *arg1 = (struct svn_io_dirent2_t *) 0 ; svn_node_kind_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -23448,9 +26071,9 @@ _wrap_svn_io_dirent2_t_kind_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_io_dirent2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_io_dirent2_t *","kind", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_io_dirent2_t *","kind", 1, self )); } - arg1 = (svn_io_dirent2_t *)(argp1); + arg1 = (struct svn_io_dirent2_t *)(argp1); ecode2 = SWIG_AsVal_int(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_node_kind_t","kind", 2, argv[0] )); @@ -23465,7 +26088,7 @@ fail: SWIGINTERN VALUE _wrap_svn_io_dirent2_t_kind_get(int argc, VALUE *argv, VALUE self) { - svn_io_dirent2_t *arg1 = (svn_io_dirent2_t *) 0 ; + struct svn_io_dirent2_t *arg1 = (struct svn_io_dirent2_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_node_kind_t result; @@ -23476,9 +26099,9 @@ _wrap_svn_io_dirent2_t_kind_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_io_dirent2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_io_dirent2_t *","kind", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_io_dirent2_t *","kind", 1, self )); } - arg1 = (svn_io_dirent2_t *)(argp1); + arg1 = (struct svn_io_dirent2_t *)(argp1); result = (svn_node_kind_t) ((arg1)->kind); vresult = SWIG_From_int((int)(result)); return vresult; @@ -23489,7 +26112,7 @@ fail: SWIGINTERN VALUE _wrap_svn_io_dirent2_t_special_set(int argc, VALUE *argv, VALUE self) { - svn_io_dirent2_t *arg1 = (svn_io_dirent2_t *) 0 ; + struct svn_io_dirent2_t *arg1 = (struct svn_io_dirent2_t *) 0 ; svn_boolean_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -23499,9 +26122,9 @@ _wrap_svn_io_dirent2_t_special_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_io_dirent2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_io_dirent2_t *","special", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_io_dirent2_t *","special", 1, self )); } - arg1 = (svn_io_dirent2_t *)(argp1); + arg1 = (struct svn_io_dirent2_t *)(argp1); arg2 = RTEST(argv[0]); if (arg1) (arg1)->special = arg2; return Qnil; @@ -23512,7 +26135,7 @@ fail: SWIGINTERN VALUE _wrap_svn_io_dirent2_t_special_get(int argc, VALUE *argv, VALUE self) { - svn_io_dirent2_t *arg1 = (svn_io_dirent2_t *) 0 ; + struct svn_io_dirent2_t *arg1 = (struct svn_io_dirent2_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_boolean_t result; @@ -23523,9 +26146,9 @@ _wrap_svn_io_dirent2_t_special_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_io_dirent2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_io_dirent2_t *","special", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_io_dirent2_t *","special", 1, self )); } - arg1 = (svn_io_dirent2_t *)(argp1); + arg1 = (struct svn_io_dirent2_t *)(argp1); result = (svn_boolean_t) ((arg1)->special); vresult = result ? Qtrue : Qfalse; return vresult; @@ -23536,7 +26159,7 @@ fail: SWIGINTERN VALUE _wrap_svn_io_dirent2_t_filesize_set(int argc, VALUE *argv, VALUE self) { - svn_io_dirent2_t *arg1 = (svn_io_dirent2_t *) 0 ; + struct svn_io_dirent2_t *arg1 = (struct svn_io_dirent2_t *) 0 ; svn_filesize_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -23546,9 +26169,9 @@ _wrap_svn_io_dirent2_t_filesize_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_io_dirent2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_io_dirent2_t *","filesize", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_io_dirent2_t *","filesize", 1, self )); } - arg1 = (svn_io_dirent2_t *)(argp1); + arg1 = (struct svn_io_dirent2_t *)(argp1); { arg2 = (svn_filesize_t)NUM2LL(argv[0]); } @@ -23561,7 +26184,7 @@ fail: SWIGINTERN VALUE _wrap_svn_io_dirent2_t_filesize_get(int argc, VALUE *argv, VALUE self) { - svn_io_dirent2_t *arg1 = (svn_io_dirent2_t *) 0 ; + struct svn_io_dirent2_t *arg1 = (struct svn_io_dirent2_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_filesize_t result; @@ -23572,9 +26195,9 @@ _wrap_svn_io_dirent2_t_filesize_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_io_dirent2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_io_dirent2_t *","filesize", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_io_dirent2_t *","filesize", 1, self )); } - arg1 = (svn_io_dirent2_t *)(argp1); + arg1 = (struct svn_io_dirent2_t *)(argp1); result = ((arg1)->filesize); { vresult = LL2NUM((svn_filesize_t)(result)); @@ -23587,7 +26210,7 @@ fail: SWIGINTERN VALUE _wrap_svn_io_dirent2_t_mtime_set(int argc, VALUE *argv, VALUE self) { - svn_io_dirent2_t *arg1 = (svn_io_dirent2_t *) 0 ; + struct svn_io_dirent2_t *arg1 = (struct svn_io_dirent2_t *) 0 ; apr_time_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -23597,9 +26220,9 @@ _wrap_svn_io_dirent2_t_mtime_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_io_dirent2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_io_dirent2_t *","mtime", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_io_dirent2_t *","mtime", 1, self )); } - arg1 = (svn_io_dirent2_t *)(argp1); + arg1 = (struct svn_io_dirent2_t *)(argp1); { arg2 = (apr_time_t)NUM2LL(argv[0]); } @@ -23612,7 +26235,7 @@ fail: SWIGINTERN VALUE _wrap_svn_io_dirent2_t_mtime_get(int argc, VALUE *argv, VALUE self) { - svn_io_dirent2_t *arg1 = (svn_io_dirent2_t *) 0 ; + struct svn_io_dirent2_t *arg1 = (struct svn_io_dirent2_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; apr_time_t result; @@ -23623,9 +26246,9 @@ _wrap_svn_io_dirent2_t_mtime_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_io_dirent2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_io_dirent2_t *","mtime", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_io_dirent2_t *","mtime", 1, self )); } - arg1 = (svn_io_dirent2_t *)(argp1); + arg1 = (struct svn_io_dirent2_t *)(argp1); result = ((arg1)->mtime); { vresult = LL2NUM((apr_time_t)(result)); @@ -23655,13 +26278,13 @@ _wrap_svn_io_dirent2_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_io_dirent2_t(int argc, VALUE *argv, VALUE self) { - svn_io_dirent2_t *result = 0 ; + struct svn_io_dirent2_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_io_dirent2_t *)calloc(1, sizeof(svn_io_dirent2_t)); + result = (struct svn_io_dirent2_t *)calloc(1, sizeof(struct svn_io_dirent2_t)); DATA_PTR(self) = result; @@ -23674,7 +26297,7 @@ fail: SWIGINTERN void -free_svn_io_dirent2_t(svn_io_dirent2_t *arg1) { +free_svn_io_dirent2_t(struct svn_io_dirent2_t *arg1) { free((char *) arg1); } @@ -23778,11 +26401,11 @@ fail: } -swig_class SwigClassSvn_io_dirent_t; +static swig_class SwigClassSvn_io_dirent_t; SWIGINTERN VALUE _wrap_svn_io_dirent_t_kind_set(int argc, VALUE *argv, VALUE self) { - svn_io_dirent_t *arg1 = (svn_io_dirent_t *) 0 ; + struct svn_io_dirent_t *arg1 = (struct svn_io_dirent_t *) 0 ; svn_node_kind_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -23794,9 +26417,9 @@ _wrap_svn_io_dirent_t_kind_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_io_dirent_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_io_dirent_t *","kind", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_io_dirent_t *","kind", 1, self )); } - arg1 = (svn_io_dirent_t *)(argp1); + arg1 = (struct svn_io_dirent_t *)(argp1); ecode2 = SWIG_AsVal_int(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_node_kind_t","kind", 2, argv[0] )); @@ -23811,7 +26434,7 @@ fail: SWIGINTERN VALUE _wrap_svn_io_dirent_t_kind_get(int argc, VALUE *argv, VALUE self) { - svn_io_dirent_t *arg1 = (svn_io_dirent_t *) 0 ; + struct svn_io_dirent_t *arg1 = (struct svn_io_dirent_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_node_kind_t result; @@ -23822,9 +26445,9 @@ _wrap_svn_io_dirent_t_kind_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_io_dirent_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_io_dirent_t *","kind", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_io_dirent_t *","kind", 1, self )); } - arg1 = (svn_io_dirent_t *)(argp1); + arg1 = (struct svn_io_dirent_t *)(argp1); result = (svn_node_kind_t) ((arg1)->kind); vresult = SWIG_From_int((int)(result)); return vresult; @@ -23835,7 +26458,7 @@ fail: SWIGINTERN VALUE _wrap_svn_io_dirent_t_special_set(int argc, VALUE *argv, VALUE self) { - svn_io_dirent_t *arg1 = (svn_io_dirent_t *) 0 ; + struct svn_io_dirent_t *arg1 = (struct svn_io_dirent_t *) 0 ; svn_boolean_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -23845,9 +26468,9 @@ _wrap_svn_io_dirent_t_special_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_io_dirent_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_io_dirent_t *","special", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_io_dirent_t *","special", 1, self )); } - arg1 = (svn_io_dirent_t *)(argp1); + arg1 = (struct svn_io_dirent_t *)(argp1); arg2 = RTEST(argv[0]); if (arg1) (arg1)->special = arg2; return Qnil; @@ -23858,7 +26481,7 @@ fail: SWIGINTERN VALUE _wrap_svn_io_dirent_t_special_get(int argc, VALUE *argv, VALUE self) { - svn_io_dirent_t *arg1 = (svn_io_dirent_t *) 0 ; + struct svn_io_dirent_t *arg1 = (struct svn_io_dirent_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_boolean_t result; @@ -23869,9 +26492,9 @@ _wrap_svn_io_dirent_t_special_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_io_dirent_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_io_dirent_t *","special", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_io_dirent_t *","special", 1, self )); } - arg1 = (svn_io_dirent_t *)(argp1); + arg1 = (struct svn_io_dirent_t *)(argp1); result = (svn_boolean_t) ((arg1)->special); vresult = result ? Qtrue : Qfalse; return vresult; @@ -23899,13 +26522,13 @@ _wrap_svn_io_dirent_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_io_dirent_t(int argc, VALUE *argv, VALUE self) { - svn_io_dirent_t *result = 0 ; + struct svn_io_dirent_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_io_dirent_t *)calloc(1, sizeof(svn_io_dirent_t)); + result = (struct svn_io_dirent_t *)calloc(1, sizeof(struct svn_io_dirent_t)); DATA_PTR(self) = result; @@ -23918,7 +26541,7 @@ fail: SWIGINTERN void -free_svn_io_dirent_t(svn_io_dirent_t *arg1) { +free_svn_io_dirent_t(struct svn_io_dirent_t *arg1) { free((char *) arg1); } @@ -24488,6 +27111,110 @@ fail: SWIGINTERN VALUE +_wrap_svn_io_filesizes_three_different_p(int argc, VALUE *argv, VALUE self) { + svn_boolean_t *arg1 = (svn_boolean_t *) 0 ; + svn_boolean_t *arg2 = (svn_boolean_t *) 0 ; + svn_boolean_t *arg3 = (svn_boolean_t *) 0 ; + char *arg4 = (char *) 0 ; + char *arg5 = (char *) 0 ; + char *arg6 = (char *) 0 ; + apr_pool_t *arg7 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + svn_boolean_t temp1 ; + svn_boolean_t temp2 ; + svn_boolean_t temp3 ; + 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_error_t *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7); + _global_pool = arg7; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + arg1 = &temp1; + arg2 = &temp2; + arg3 = &temp3; + if ((argc < 3) || (argc > 4)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; + } + res4 = SWIG_AsCharPtrAndSize(argv[0], &buf4, NULL, &alloc4); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_io_filesizes_three_different_p", 4, argv[0] )); + } + arg4 = (char *)(buf4); + res5 = SWIG_AsCharPtrAndSize(argv[1], &buf5, NULL, &alloc5); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_io_filesizes_three_different_p", 5, argv[1] )); + } + arg5 = (char *)(buf5); + res6 = SWIG_AsCharPtrAndSize(argv[2], &buf6, NULL, &alloc6); + if (!SWIG_IsOK(res6)) { + SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "char const *","svn_io_filesizes_three_different_p", 6, argv[2] )); + } + arg6 = (char *)(buf6); + if (argc > 3) { + + } + { + result = (svn_error_t *)svn_io_filesizes_three_different_p(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,arg7); + + + + } + { + if (result) { + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + svn_swig_rb_handle_svn_error(result); + } + vresult = Qnil; + } + { + vresult = SWIG_Ruby_AppendOutput(vresult, *arg1 ? Qtrue : Qfalse); + } + { + vresult = SWIG_Ruby_AppendOutput(vresult, *arg2 ? Qtrue : Qfalse); + } + { + vresult = SWIG_Ruby_AppendOutput(vresult, *arg3 ? Qtrue : Qfalse); + } + 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_io_file_checksum2(int argc, VALUE *argv, VALUE self) { svn_checksum_t **arg1 = (svn_checksum_t **) 0 ; char *arg2 = (char *) 0 ; @@ -24499,8 +27226,8 @@ _wrap_svn_io_file_checksum2(int argc, VALUE *argv, VALUE self) { int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; - void *argp3 ; - int res3 = 0 ; + int val3 ; + int ecode3 = 0 ; svn_error_t *result = 0 ; VALUE vresult = Qnil; @@ -24518,17 +27245,11 @@ _wrap_svn_io_file_checksum2(int argc, VALUE *argv, VALUE self) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_io_file_checksum2", 2, argv[0] )); } arg2 = (char *)(buf2); - { - res3 = SWIG_ConvertPtr(argv[1], &argp3, SWIGTYPE_p_svn_checksum_kind_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "svn_checksum_kind_t","svn_io_file_checksum2", 3, argv[1] )); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "svn_checksum_kind_t","svn_io_file_checksum2", 3, argv[1])); - } else { - arg3 = *((svn_checksum_kind_t *)(argp3)); - } - } + ecode3 = SWIG_AsVal_int(argv[1], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "svn_checksum_kind_t","svn_io_file_checksum2", 3, argv[1] )); + } + arg3 = (svn_checksum_kind_t)(val3); if (argc > 2) { } @@ -24730,6 +27451,228 @@ fail: SWIGINTERN VALUE +_wrap_svn_io_files_contents_three_same_p(int argc, VALUE *argv, VALUE self) { + svn_boolean_t *arg1 = (svn_boolean_t *) 0 ; + svn_boolean_t *arg2 = (svn_boolean_t *) 0 ; + svn_boolean_t *arg3 = (svn_boolean_t *) 0 ; + char *arg4 = (char *) 0 ; + char *arg5 = (char *) 0 ; + char *arg6 = (char *) 0 ; + apr_pool_t *arg7 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + svn_boolean_t temp1 ; + svn_boolean_t temp2 ; + svn_boolean_t temp3 ; + 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_error_t *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7); + _global_pool = arg7; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + arg1 = &temp1; + arg2 = &temp2; + arg3 = &temp3; + if ((argc < 3) || (argc > 4)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; + } + res4 = SWIG_AsCharPtrAndSize(argv[0], &buf4, NULL, &alloc4); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_io_files_contents_three_same_p", 4, argv[0] )); + } + arg4 = (char *)(buf4); + res5 = SWIG_AsCharPtrAndSize(argv[1], &buf5, NULL, &alloc5); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","svn_io_files_contents_three_same_p", 5, argv[1] )); + } + arg5 = (char *)(buf5); + res6 = SWIG_AsCharPtrAndSize(argv[2], &buf6, NULL, &alloc6); + if (!SWIG_IsOK(res6)) { + SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "char const *","svn_io_files_contents_three_same_p", 6, argv[2] )); + } + arg6 = (char *)(buf6); + if (argc > 3) { + + } + { + result = (svn_error_t *)svn_io_files_contents_three_same_p(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,arg7); + + + + } + { + if (result) { + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + svn_swig_rb_handle_svn_error(result); + } + vresult = Qnil; + } + { + vresult = SWIG_Ruby_AppendOutput(vresult, *arg1 ? Qtrue : Qfalse); + } + { + vresult = SWIG_Ruby_AppendOutput(vresult, *arg2 ? Qtrue : Qfalse); + } + { + vresult = SWIG_Ruby_AppendOutput(vresult, *arg3 ? Qtrue : Qfalse); + } + 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_io_lock_open_file(int argc, VALUE *argv, VALUE self) { + apr_file_t *arg1 = (apr_file_t *) 0 ; + svn_boolean_t arg2 ; + svn_boolean_t arg3 ; + apr_pool_t *arg4 = (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, &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; + } + { + arg1 = svn_swig_rb_make_file(argv[0], _global_pool); + } + arg2 = RTEST(argv[1]); + arg3 = RTEST(argv[2]); + if (argc > 3) { + + } + { + result = (svn_error_t *)svn_io_lock_open_file(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; + } + { + 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_unlock_open_file(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_unlock_open_file(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_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 ; @@ -25602,6 +28545,52 @@ fail: SWIGINTERN VALUE +_wrap_svn_stream_buffered(int argc, VALUE *argv, VALUE self) { + apr_pool_t *arg1 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + svn_stream_t *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg1); + _global_pool = arg1; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + if ((argc < 0) || (argc > 1)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; + } + if (argc > 0) { + + } + { + result = (svn_stream_t *)svn_stream_buffered(arg1); + + + + } + vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_stream_t, 0 | 0 ); + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return vresult; +fail: + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +} + + +SWIGINTERN VALUE _wrap_svn_stream_compressed(int argc, VALUE *argv, VALUE self) { svn_stream_t *arg1 = (svn_stream_t *) 0 ; apr_pool_t *arg2 = (apr_pool_t *) 0 ; @@ -25663,8 +28652,8 @@ _wrap_svn_stream_checksummed2(int argc, VALUE *argv, VALUE self) { apr_pool_t *_global_pool ; svn_checksum_t *temp2 ; svn_checksum_t *temp3 ; - void *argp4 ; - int res4 = 0 ; + int val4 ; + int ecode4 = 0 ; svn_stream_t *result = 0 ; VALUE vresult = Qnil; @@ -25681,17 +28670,11 @@ _wrap_svn_stream_checksummed2(int argc, VALUE *argv, VALUE self) { { arg1 = svn_swig_rb_make_stream(argv[0]); } - { - res4 = SWIG_ConvertPtr(argv[1], &argp4, SWIGTYPE_p_svn_checksum_kind_t, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "svn_checksum_kind_t","svn_stream_checksummed2", 4, argv[1] )); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "svn_checksum_kind_t","svn_stream_checksummed2", 4, argv[1])); - } else { - arg4 = *((svn_checksum_kind_t *)(argp4)); - } - } + ecode4 = SWIG_AsVal_int(argv[1], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "svn_checksum_kind_t","svn_stream_checksummed2", 4, argv[1] )); + } + arg4 = (svn_checksum_kind_t)(val4); arg5 = RTEST(argv[2]); if (argc > 3) { @@ -26121,6 +29104,49 @@ fail: SWIGINTERN VALUE +_wrap_svn_stream_puts(int argc, VALUE *argv, VALUE self) { + svn_stream_t *arg1 = (svn_stream_t *) 0 ; + char *arg2 = (char *) 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + svn_error_t *result = 0 ; + VALUE vresult = Qnil; + + if ((argc < 2) || (argc > 2)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; + } + { + arg1 = svn_swig_rb_make_stream(argv[0]); + } + res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_stream_puts", 2, argv[1] )); + } + arg2 = (char *)(buf2); + { + result = (svn_error_t *)svn_stream_puts(arg1,(char const *)arg2); + + + + } + { + if (result) { + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + svn_swig_rb_handle_svn_error(result); + } + vresult = Qnil; + } + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + return vresult; +fail: + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + return Qnil; +} + + +SWIGINTERN VALUE _wrap_svn_stream_readline(int argc, VALUE *argv, VALUE self) { svn_stream_t *arg1 = (svn_stream_t *) 0 ; svn_stringbuf_t **arg2 = (svn_stringbuf_t **) 0 ; @@ -26630,6 +29656,67 @@ fail: SWIGINTERN VALUE +_wrap_svn_stream_lazyopen_create(int argc, VALUE *argv, VALUE self) { + svn_stream_lazyopen_func_t arg1 = (svn_stream_lazyopen_func_t) 0 ; + void *arg2 = (void *) 0 ; + svn_boolean_t arg3 ; + apr_pool_t *arg4 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + int res2 ; + svn_stream_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; + } + { + int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg1), SWIGTYPE_p_f_p_p_svn_stream_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t); + if (!SWIG_IsOK(res)) { + SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_stream_lazyopen_func_t","svn_stream_lazyopen_create", 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_lazyopen_create", 2, argv[1] )); + } + arg3 = RTEST(argv[2]); + if (argc > 3) { + + } + { + result = (svn_stream_t *)svn_stream_lazyopen_create(arg1,arg2,arg3,arg4); + + + + } + vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_stream_t, 0 | 0 ); + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return vresult; +fail: + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +} + + +SWIGINTERN VALUE _wrap_svn_stringbuf_from_file2(int argc, VALUE *argv, VALUE self) { svn_stringbuf_t **arg1 = (svn_stringbuf_t **) 0 ; char *arg2 = (char *) 0 ; @@ -27084,6 +30171,109 @@ fail: SWIGINTERN VALUE +_wrap_svn_io_stat_dirent2(int argc, VALUE *argv, VALUE self) { + svn_io_dirent2_t **arg1 = (svn_io_dirent2_t **) 0 ; + char *arg2 = (char *) 0 ; + svn_boolean_t arg3 ; + svn_boolean_t arg4 ; + apr_pool_t *arg5 = (apr_pool_t *) 0 ; + apr_pool_t *arg6 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + svn_io_dirent2_t *temp1 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + svn_error_t *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5); + _global_pool = arg5; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6); + _global_pool = arg6; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + arg1 = &temp1; + if ((argc < 3) || (argc > 5)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; + } + res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_io_stat_dirent2", 2, argv[0] )); + } + arg2 = (char *)(buf2); + arg3 = RTEST(argv[1]); + arg4 = RTEST(argv[2]); + if (argc > 3) { + + } + if (argc > 4) { + + } + { + result = (svn_error_t *)svn_io_stat_dirent2((struct svn_io_dirent2_t const **)arg1,(char const *)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; + } + { + /* FIXME: Missing argout typemap: svn_io_stat_dirent2 arg 1 (svn_io_dirent2_t const **) */ + + + + + SWIG_exception(SWIG_ValueError, "svn_io_stat_dirent2 is not implemented yet"); + + } + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return vresult; +fail: + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +} + + +SWIGINTERN VALUE _wrap_svn_io_stat_dirent(int argc, VALUE *argv, VALUE self) { svn_io_dirent2_t **arg1 = (svn_io_dirent2_t **) 0 ; char *arg2 = (char *) 0 ; @@ -27270,6 +30460,125 @@ fail: SWIGINTERN VALUE +_wrap_svn_io_start_cmd3(int argc, VALUE *argv, VALUE self) { + apr_proc_t *arg1 = (apr_proc_t *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + char **arg4 = (char **) 0 ; + char **arg5 = (char **) 0 ; + svn_boolean_t arg6 ; + svn_boolean_t arg7 ; + apr_file_t *arg8 = (apr_file_t *) 0 ; + svn_boolean_t arg9 ; + apr_file_t *arg10 = (apr_file_t *) 0 ; + svn_boolean_t arg11 ; + apr_file_t *arg12 = (apr_file_t *) 0 ; + apr_pool_t *arg13 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + int res3 ; + char *buf3 = 0 ; + int alloc3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + void *argp5 = 0 ; + int res5 = 0 ; + svn_error_t *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg13); + _global_pool = arg13; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + if ((argc < 12) || (argc > 13)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 12)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_apr_proc_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "apr_proc_t *","svn_io_start_cmd3", 1, argv[0] )); + } + arg1 = (apr_proc_t *)(argp1); + res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_io_start_cmd3", 2, argv[1] )); + } + arg2 = (char *)(buf2); + res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_io_start_cmd3", 3, argv[2] )); + } + arg3 = (char *)(buf3); + res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_p_char, 0 | 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *const *","svn_io_start_cmd3", 4, argv[3] )); + } + arg4 = (char **)(argp4); + res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_p_char, 0 | 0 ); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *const *","svn_io_start_cmd3", 5, argv[4] )); + } + arg5 = (char **)(argp5); + arg6 = RTEST(argv[5]); + arg7 = RTEST(argv[6]); + { + arg8 = svn_swig_rb_make_file(argv[7], _global_pool); + } + arg9 = RTEST(argv[8]); + { + arg10 = svn_swig_rb_make_file(argv[9], _global_pool); + } + arg11 = RTEST(argv[10]); + { + arg12 = svn_swig_rb_make_file(argv[11], _global_pool); + } + if (argc > 12) { + + } + { + result = (svn_error_t *)svn_io_start_cmd3(arg1,(char const *)arg2,(char const *)arg3,(char const *const *)arg4,(char const *const *)arg5,arg6,arg7,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; + } + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return vresult; +fail: + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +} + + +SWIGINTERN VALUE _wrap_svn_io_start_cmd2(int argc, VALUE *argv, VALUE self) { apr_proc_t *arg1 = (apr_proc_t *) 0 ; char *arg2 = (char *) 0 ; @@ -28366,6 +31675,120 @@ fail: SWIGINTERN VALUE +_wrap_svn_io_file_readline(int argc, VALUE *argv, VALUE self) { + apr_file_t *arg1 = (apr_file_t *) 0 ; + svn_stringbuf_t **arg2 = (svn_stringbuf_t **) 0 ; + char **arg3 = (char **) 0 ; + svn_boolean_t *arg4 = (svn_boolean_t *) 0 ; + apr_size_t arg5 ; + apr_pool_t *arg6 = (apr_pool_t *) 0 ; + apr_pool_t *arg7 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + svn_stringbuf_t *temp2 ; + char *temp3 ; + svn_boolean_t temp4 ; + unsigned long val5 ; + int ecode5 = 0 ; + svn_error_t *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6); + _global_pool = arg6; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg7); + _global_pool = arg7; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + arg2 = &temp2; + arg3 = &temp3; + arg4 = &temp4; + if ((argc < 2) || (argc > 4)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; + } + { + arg1 = svn_swig_rb_make_file(argv[0], _global_pool); + } + ecode5 = SWIG_AsVal_unsigned_SS_long(argv[1], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "apr_size_t","svn_io_file_readline", 5, argv[1] )); + } + arg5 = (apr_size_t)(val5); + if (argc > 2) { + + } + if (argc > 3) { + + } + { + result = (svn_error_t *)svn_io_file_readline(arg1,arg2,(char const **)arg3,arg4,arg5,arg6,arg7); + + + + } + { + if (result) { + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + svn_swig_rb_handle_svn_error(result); + } + vresult = Qnil; + } + { + if (*arg2) { + vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new((*arg2)->data, (*arg2)->len)); + } else { + vresult = SWIG_Ruby_AppendOutput(vresult, Qnil); + } + } + { + if (*arg3) { + vresult = SWIG_Ruby_AppendOutput(vresult, rb_str_new2(*arg3)); + } else { + vresult = SWIG_Ruby_AppendOutput(vresult, Qnil); + } + } + { + vresult = SWIG_Ruby_AppendOutput(vresult, *arg4 ? Qtrue : Qfalse); + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return vresult; +fail: + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +} + + +SWIGINTERN VALUE _wrap_svn_read_invoke_fn(int argc, VALUE *argv, VALUE self) { svn_read_fn_t arg1 = (svn_read_fn_t) 0 ; void *arg2 = (void *) 0 ; @@ -28688,6 +32111,101 @@ fail: 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 ; + void *arg3 = (void *) 0 ; + apr_pool_t *arg4 = (apr_pool_t *) 0 ; + apr_pool_t *arg5 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + svn_stream_t *temp2 ; + int res3 ; + svn_error_t *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4); + _global_pool = arg4; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5); + _global_pool = arg5; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + arg2 = &temp2; + if ((argc < 2) || (argc > 4)) { + 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_p_svn_stream_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t); + if (!SWIG_IsOK(res)) { + SWIG_exception_fail(SWIG_ArgError(res), Ruby_Format_TypeError( "", "svn_stream_lazyopen_func_t","svn_stream_invoke_lazyopen_func", 1, argv[0] )); + } + } + res3 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg3), 0, 0); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "void *","svn_stream_invoke_lazyopen_func", 3, argv[1] )); + } + if (argc > 2) { + + } + if (argc > 3) { + + } + { + result = (svn_error_t *)svn_stream_invoke_lazyopen_func(arg1,arg2,arg3,arg4,arg5); + + + + } + { + if (result) { + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + svn_swig_rb_handle_svn_error(result); + } + vresult = Qnil; + } + { + vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg2, SWIGTYPE_p_svn_stream_t, 0)); + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return vresult; +fail: + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +} + + +SWIGINTERN VALUE _wrap_svn_io_invoke_walk_func(int argc, VALUE *argv, VALUE self) { svn_io_walk_func_t arg1 = (svn_io_walk_func_t) 0 ; void *arg2 = (void *) 0 ; @@ -28772,6 +32290,1219 @@ fail: } +static swig_class SwigClassSvn_checksum_t; + +SWIGINTERN VALUE +_wrap_svn_checksum_t_digest_set(int argc, VALUE *argv, VALUE self) { + struct svn_checksum_t *arg1 = (struct svn_checksum_t *) 0 ; + unsigned char *arg2 = (unsigned char *) 0 ; + void *argp1 = 0 ; + int res1 = 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(self, &argp1,SWIGTYPE_p_svn_checksum_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + 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; +fail: + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_checksum_t_digest_get(int argc, VALUE *argv, VALUE self) { + struct svn_checksum_t *arg1 = (struct svn_checksum_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned char *result = 0 ; + VALUE vresult = Qnil; + + if ((argc < 0) || (argc > 0)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_checksum_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_checksum_t *","digest", 1, self )); + } + arg1 = (struct svn_checksum_t *)(argp1); + result = (unsigned char *) ((arg1)->digest); + vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); + return vresult; +fail: + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_checksum_t_kind_set(int argc, VALUE *argv, VALUE self) { + struct svn_checksum_t *arg1 = (struct svn_checksum_t *) 0 ; + svn_checksum_kind_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + + if ((argc < 1) || (argc > 1)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_checksum_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_checksum_t *","kind", 1, self )); + } + arg1 = (struct svn_checksum_t *)(argp1); + ecode2 = SWIG_AsVal_int(argv[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_checksum_kind_t","kind", 2, argv[0] )); + } + arg2 = (svn_checksum_kind_t)(val2); + if (arg1) (arg1)->kind = arg2; + return Qnil; +fail: + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_checksum_t_kind_get(int argc, VALUE *argv, VALUE self) { + struct svn_checksum_t *arg1 = (struct svn_checksum_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + svn_checksum_kind_t result; + VALUE vresult = Qnil; + + if ((argc < 0) || (argc > 0)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_checksum_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_checksum_t *","kind", 1, self )); + } + arg1 = (struct svn_checksum_t *)(argp1); + result = (svn_checksum_kind_t) ((arg1)->kind); + vresult = SWIG_From_int((int)(result)); + return vresult; +fail: + return Qnil; +} + + +#ifdef HAVE_RB_DEFINE_ALLOC_FUNC +SWIGINTERN VALUE +_wrap_svn_checksum_t_allocate(VALUE self) { +#else + SWIGINTERN VALUE + _wrap_svn_checksum_t_allocate(int argc, VALUE *argv, VALUE self) { +#endif + + + VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_checksum_t); +#ifndef HAVE_RB_DEFINE_ALLOC_FUNC + rb_obj_call_init(vresult, argc, argv); +#endif + return vresult; + } + + +SWIGINTERN VALUE +_wrap_new_svn_checksum_t(int argc, VALUE *argv, VALUE self) { + struct svn_checksum_t *result = 0 ; + + if ((argc < 0) || (argc > 0)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; + } + { + result = (struct svn_checksum_t *)calloc(1, sizeof(struct svn_checksum_t)); + DATA_PTR(self) = result; + + + + } + return self; +fail: + return Qnil; +} + + +SWIGINTERN void +free_svn_checksum_t(struct svn_checksum_t *arg1) { + free((char *) arg1); +} + +SWIGINTERN VALUE +_wrap_svn_checksum_create(int argc, VALUE *argv, VALUE self) { + svn_checksum_kind_t arg1 ; + apr_pool_t *arg2 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + int val1 ; + int ecode1 = 0 ; + svn_checksum_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; + } + ecode1 = SWIG_AsVal_int(argv[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "svn_checksum_kind_t","svn_checksum_create", 1, argv[0] )); + } + arg1 = (svn_checksum_kind_t)(val1); + if (argc > 1) { + + } + { + result = (svn_checksum_t *)svn_checksum_create(arg1,arg2); + + + + } + vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_checksum_t, 0 | 0 ); + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return vresult; +fail: + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_checksum_clear(int argc, VALUE *argv, VALUE self) { + svn_checksum_t *arg1 = (svn_checksum_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + svn_error_t *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_svn_checksum_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_checksum_t *","svn_checksum_clear", 1, argv[0] )); + } + arg1 = (svn_checksum_t *)(argp1); + { + result = (svn_error_t *)svn_checksum_clear(arg1); + + + + } + { + 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_checksum_match(int argc, VALUE *argv, VALUE self) { + svn_checksum_t *arg1 = (svn_checksum_t *) 0 ; + svn_checksum_t *arg2 = (svn_checksum_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + svn_boolean_t result; + VALUE vresult = Qnil; + + if ((argc < 2) || (argc > 2)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_checksum_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_checksum_t const *","svn_checksum_match", 1, argv[0] )); + } + arg1 = (svn_checksum_t *)(argp1); + res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_svn_checksum_t, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_checksum_t const *","svn_checksum_match", 2, argv[1] )); + } + arg2 = (svn_checksum_t *)(argp2); + { + result = (svn_boolean_t)svn_checksum_match((struct svn_checksum_t const *)arg1,(struct svn_checksum_t const *)arg2); + + + + } + vresult = result ? Qtrue : Qfalse; + return vresult; +fail: + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_checksum_dup(int argc, VALUE *argv, VALUE self) { + svn_checksum_t *arg1 = (svn_checksum_t *) 0 ; + apr_pool_t *arg2 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + void *argp1 = 0 ; + int res1 = 0 ; + svn_checksum_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_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_checksum_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_checksum_t const *","svn_checksum_dup", 1, argv[0] )); + } + arg1 = (svn_checksum_t *)(argp1); + if (argc > 1) { + + } + { + result = (svn_checksum_t *)svn_checksum_dup((struct svn_checksum_t const *)arg1,arg2); + + + + } + vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_checksum_t, 0 | 0 ); + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return vresult; +fail: + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_checksum_to_cstring_display(int argc, VALUE *argv, VALUE self) { + svn_checksum_t *arg1 = (svn_checksum_t *) 0 ; + apr_pool_t *arg2 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + void *argp1 = 0 ; + int res1 = 0 ; + char *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2); + _global_pool = arg2; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + if ((argc < 1) || (argc > 2)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_checksum_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_checksum_t const *","svn_checksum_to_cstring_display", 1, argv[0] )); + } + arg1 = (svn_checksum_t *)(argp1); + if (argc > 1) { + + } + { + result = (char *)svn_checksum_to_cstring_display((struct svn_checksum_t const *)arg1,arg2); + + + + } + { + if (result) { + vresult = rb_str_new2(result); + } else { + vresult = Qnil; + } + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return vresult; +fail: + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_checksum_to_cstring(int argc, VALUE *argv, VALUE self) { + svn_checksum_t *arg1 = (svn_checksum_t *) 0 ; + apr_pool_t *arg2 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + void *argp1 = 0 ; + int res1 = 0 ; + char *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2); + _global_pool = arg2; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + if ((argc < 1) || (argc > 2)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_checksum_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_checksum_t const *","svn_checksum_to_cstring", 1, argv[0] )); + } + arg1 = (svn_checksum_t *)(argp1); + if (argc > 1) { + + } + { + result = (char *)svn_checksum_to_cstring((struct svn_checksum_t const *)arg1,arg2); + + + + } + { + if (result) { + vresult = rb_str_new2(result); + } else { + vresult = Qnil; + } + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return vresult; +fail: + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_checksum_serialize(int argc, VALUE *argv, VALUE self) { + svn_checksum_t *arg1 = (svn_checksum_t *) 0 ; + apr_pool_t *arg2 = (apr_pool_t *) 0 ; + apr_pool_t *arg3 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + void *argp1 = 0 ; + int res1 = 0 ; + char *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2); + _global_pool = arg2; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3); + _global_pool = arg3; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + if ((argc < 1) || (argc > 3)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_checksum_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_checksum_t const *","svn_checksum_serialize", 1, argv[0] )); + } + arg1 = (svn_checksum_t *)(argp1); + if (argc > 1) { + + } + if (argc > 2) { + + } + { + result = (char *)svn_checksum_serialize((struct svn_checksum_t const *)arg1,arg2,arg3); + + + + } + { + if (result) { + vresult = rb_str_new2(result); + } else { + vresult = Qnil; + } + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return vresult; +fail: + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_checksum_deserialize(int argc, VALUE *argv, VALUE self) { + svn_checksum_t **arg1 = (svn_checksum_t **) 0 ; + char *arg2 = (char *) 0 ; + apr_pool_t *arg3 = (apr_pool_t *) 0 ; + apr_pool_t *arg4 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + svn_checksum_t *temp1 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + svn_error_t *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3); + _global_pool = arg3; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4); + _global_pool = arg4; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + arg1 = &temp1; + if ((argc < 1) || (argc > 3)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; + } + res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_checksum_deserialize", 2, argv[0] )); + } + arg2 = (char *)(buf2); + if (argc > 1) { + + } + if (argc > 2) { + + } + { + result = (svn_error_t *)svn_checksum_deserialize((struct svn_checksum_t const **)arg1,(char 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; + } + { + /* FIXME: Missing argout typemap: svn_checksum_deserialize arg 1 (svn_checksum_t const **) */ + + + + + SWIG_exception(SWIG_ValueError, "svn_checksum_deserialize is not implemented yet"); + + } + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return vresult; +fail: + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_checksum_parse_hex(int argc, VALUE *argv, VALUE self) { + svn_checksum_t **arg1 = (svn_checksum_t **) 0 ; + svn_checksum_kind_t arg2 ; + char *arg3 = (char *) 0 ; + apr_pool_t *arg4 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + svn_checksum_t *temp1 ; + int val2 ; + int ecode2 = 0 ; + int res3 ; + char *buf3 = 0 ; + int alloc3 = 0 ; + svn_error_t *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg4); + _global_pool = arg4; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + arg1 = &temp1; + if ((argc < 2) || (argc > 3)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; + } + ecode2 = SWIG_AsVal_int(argv[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_checksum_kind_t","svn_checksum_parse_hex", 2, argv[0] )); + } + arg2 = (svn_checksum_kind_t)(val2); + res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_checksum_parse_hex", 3, argv[1] )); + } + arg3 = (char *)(buf3); + if (argc > 2) { + + } + { + result = (svn_error_t *)svn_checksum_parse_hex(arg1,arg2,(char const *)arg3,arg4); + + + + } + { + if (result) { + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + svn_swig_rb_handle_svn_error(result); + } + vresult = Qnil; + } + { + /* FIXME: Missing argout typemap: svn_checksum_parse_hex arg 1 (svn_checksum_t **) */ + + + + + SWIG_exception(SWIG_ValueError, "svn_checksum_parse_hex is not implemented yet"); + + } + if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return vresult; +fail: + if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_checksum(int argc, VALUE *argv, VALUE self) { + svn_checksum_t **arg1 = (svn_checksum_t **) 0 ; + svn_checksum_kind_t arg2 ; + void *arg3 = (void *) 0 ; + apr_size_t arg4 ; + apr_pool_t *arg5 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + svn_checksum_t *temp1 ; + int val2 ; + int ecode2 = 0 ; + int res3 ; + unsigned long val4 ; + int ecode4 = 0 ; + svn_error_t *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5); + _global_pool = arg5; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + arg1 = &temp1; + if ((argc < 3) || (argc > 4)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; + } + ecode2 = SWIG_AsVal_int(argv[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_checksum_kind_t","svn_checksum", 2, argv[0] )); + } + arg2 = (svn_checksum_kind_t)(val2); + res3 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg3), 0, 0); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "void const *","svn_checksum", 3, argv[1] )); + } + ecode4 = SWIG_AsVal_unsigned_SS_long(argv[2], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "apr_size_t","svn_checksum", 4, argv[2] )); + } + arg4 = (apr_size_t)(val4); + if (argc > 3) { + + } + { + result = (svn_error_t *)svn_checksum(arg1,arg2,(void 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; + } + { + /* FIXME: Missing argout typemap: svn_checksum arg 1 (svn_checksum_t **) */ + + + + + SWIG_exception(SWIG_ValueError, "svn_checksum is not implemented yet"); + + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + 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_checksum_empty_checksum(int argc, VALUE *argv, VALUE self) { + svn_checksum_kind_t arg1 ; + apr_pool_t *arg2 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + int val1 ; + int ecode1 = 0 ; + svn_checksum_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; + } + ecode1 = SWIG_AsVal_int(argv[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "svn_checksum_kind_t","svn_checksum_empty_checksum", 1, argv[0] )); + } + arg1 = (svn_checksum_kind_t)(val1); + if (argc > 1) { + + } + { + result = (svn_checksum_t *)svn_checksum_empty_checksum(arg1,arg2); + + + + } + vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_checksum_t, 0 | 0 ); + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return vresult; +fail: + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_checksum_ctx_create(int argc, VALUE *argv, VALUE self) { + svn_checksum_kind_t arg1 ; + apr_pool_t *arg2 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + int val1 ; + int ecode1 = 0 ; + svn_checksum_ctx_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; + } + ecode1 = SWIG_AsVal_int(argv[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "svn_checksum_kind_t","svn_checksum_ctx_create", 1, argv[0] )); + } + arg1 = (svn_checksum_kind_t)(val1); + if (argc > 1) { + + } + { + result = (svn_checksum_ctx_t *)svn_checksum_ctx_create(arg1,arg2); + + + + } + vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_checksum_ctx_t, 0 | 0 ); + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return vresult; +fail: + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_checksum_update(int argc, VALUE *argv, VALUE self) { + svn_checksum_ctx_t *arg1 = (svn_checksum_ctx_t *) 0 ; + void *arg2 = (void *) 0 ; + apr_size_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + unsigned long val3 ; + int ecode3 = 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_checksum_ctx_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_checksum_ctx_t *","svn_checksum_update", 1, argv[0] )); + } + arg1 = (svn_checksum_ctx_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 const *","svn_checksum_update", 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_checksum_update", 3, argv[2] )); + } + arg3 = (apr_size_t)(val3); + { + result = (svn_error_t *)svn_checksum_update(arg1,(void 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_checksum_final(int argc, VALUE *argv, VALUE self) { + svn_checksum_t **arg1 = (svn_checksum_t **) 0 ; + svn_checksum_ctx_t *arg2 = (svn_checksum_ctx_t *) 0 ; + apr_pool_t *arg3 = (apr_pool_t *) 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + svn_checksum_t *temp1 ; + void *argp2 = 0 ; + int res2 = 0 ; + svn_error_t *result = 0 ; + VALUE vresult = Qnil; + + { + svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg3); + _global_pool = arg3; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + arg1 = &temp1; + if ((argc < 1) || (argc > 2)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; + } + res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_svn_checksum_ctx_t, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_checksum_ctx_t const *","svn_checksum_final", 2, argv[0] )); + } + arg2 = (svn_checksum_ctx_t *)(argp2); + if (argc > 1) { + + } + { + result = (svn_error_t *)svn_checksum_final(arg1,(struct svn_checksum_ctx_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; + } + { + /* FIXME: Missing argout typemap: svn_checksum_final arg 1 (svn_checksum_t **) */ + + + + + SWIG_exception(SWIG_ValueError, "svn_checksum_final is not implemented yet"); + + } + { + VALUE target; + target = _global_vresult_address == &vresult ? self : vresult; + if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool)) + svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool); + svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); + } + 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_checksum_size(int argc, VALUE *argv, VALUE self) { + svn_checksum_t *arg1 = (svn_checksum_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + apr_size_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_svn_checksum_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_checksum_t const *","svn_checksum_size", 1, argv[0] )); + } + arg1 = (svn_checksum_t *)(argp1); + { + result = svn_checksum_size((struct svn_checksum_t const *)arg1); + + + + } + vresult = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return vresult; +fail: + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_checksum_is_empty_checksum(int argc, VALUE *argv, VALUE self) { + svn_checksum_t *arg1 = (svn_checksum_t *) 0 ; + void *argp1 = 0 ; + int res1 = 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; + } + res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_checksum_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_checksum_t *","svn_checksum_is_empty_checksum", 1, argv[0] )); + } + arg1 = (svn_checksum_t *)(argp1); + { + result = (svn_boolean_t)svn_checksum_is_empty_checksum(arg1); + + + + } + vresult = result ? Qtrue : Qfalse; + return vresult; +fail: + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_checksum_mismatch_err(int argc, VALUE *argv, VALUE self) { + svn_checksum_t *arg1 = (svn_checksum_t *) 0 ; + svn_checksum_t *arg2 = (svn_checksum_t *) 0 ; + apr_pool_t *arg3 = (apr_pool_t *) 0 ; + char *arg4 = (char *) 0 ; + void *arg5 = 0 ; + VALUE _global_svn_swig_rb_pool ; + apr_pool_t *_global_pool ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + int 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, &arg3); + _global_pool = arg3; + svn_swig_rb_push_pool(_global_svn_swig_rb_pool); + } + if (argc < 2) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_checksum_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_checksum_t const *","svn_checksum_mismatch_err", 1, argv[0] )); + } + arg1 = (svn_checksum_t *)(argp1); + res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_svn_checksum_t, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "svn_checksum_t const *","svn_checksum_mismatch_err", 2, argv[1] )); + } + arg2 = (svn_checksum_t *)(argp2); + if (argc > 2) { + + } + if (argc > 3) { + res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_checksum_mismatch_err", 4, argv[3] )); + } + arg4 = (char *)(buf4); + } + { + result = (svn_error_t *)svn_checksum_mismatch_err((struct svn_checksum_t const *)arg1,(struct svn_checksum_t 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; + } + { + 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); + } + if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); + 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); + } + if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); + return Qnil; +} + + +SWIGINTERN VALUE +_wrap_svn_auth_set_gnome_keyring_unlock_prompt_func(int argc, VALUE *argv, VALUE self) { + svn_auth_baton_t *arg1 = (svn_auth_baton_t *) 0 ; + svn_auth_gnome_keyring_unlock_prompt_func_t arg2 = (svn_auth_gnome_keyring_unlock_prompt_func_t) 0 ; + void *arg3 = (void *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + + if ((argc < 2) || (argc > 2)) { + rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; + } + res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_svn_auth_baton_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_auth_baton_t *","svn_auth_set_gnome_keyring_unlock_prompt_func", 1, argv[0] )); + } + arg1 = (svn_auth_baton_t *)(argp1); + { + arg2 = svn_swig_rb_auth_gnome_keyring_unlock_prompt_func; + arg3 = (void *)svn_swig_rb_make_baton(argv[1], _global_svn_swig_rb_pool); + } + { + svn_auth_set_gnome_keyring_unlock_prompt_func(arg1,arg2,arg3); + + + + } + return Qnil; +fail: + return Qnil; +} + + SWIGINTERN VALUE _wrap_svn_md5_empty_string_digest(int argc, VALUE *argv, VALUE self) { unsigned char *result = 0 ; @@ -28940,7 +33671,7 @@ fail: } -swig_class SwigClassApr_pool_wrapper_t; +static swig_class SwigClassApr_pool_wrapper_t; SWIGINTERN VALUE _wrap_apr_pool_wrapper_t_destroy(int argc, VALUE *argv, VALUE self) { @@ -29102,7 +33833,7 @@ fail: } -swig_class SwigClassSvn_stream_t; +static swig_class SwigClassSvn_stream_t; #ifdef HAVE_RB_DEFINE_ALLOC_FUNC SWIGINTERN VALUE @@ -29150,7 +33881,7 @@ free_svn_stream_t(struct svn_stream_t *arg1) { delete_svn_stream_t(arg1); } -swig_class SwigClassSvn_auth_baton_t; +static swig_class SwigClassSvn_auth_baton_t; #ifdef HAVE_RB_DEFINE_ALLOC_FUNC SWIGINTERN VALUE @@ -29246,11 +33977,11 @@ fail: } -swig_class SwigClassSvn_diff_fns2_t; +static swig_class SwigClassSvn_diff_fns2_t; SWIGINTERN VALUE _wrap_svn_diff_fns2_t_datasources_open_set(int argc, VALUE *argv, VALUE self) { - svn_diff_fns2_t *arg1 = (svn_diff_fns2_t *) 0 ; + struct svn_diff_fns2_t *arg1 = (struct svn_diff_fns2_t *) 0 ; svn_error_t *(*arg2)(void *,apr_off_t *,apr_off_t *,svn_diff_datasource_e const *,apr_size_t) = (svn_error_t *(*)(void *,apr_off_t *,apr_off_t *,svn_diff_datasource_e const *,apr_size_t)) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -29260,9 +33991,9 @@ _wrap_svn_diff_fns2_t_datasources_open_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_fns2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_fns2_t *","datasources_open", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_fns2_t *","datasources_open", 1, self )); } - arg1 = (svn_diff_fns2_t *)(argp1); + arg1 = (struct svn_diff_fns2_t *)(argp1); { int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_apr_off_t_p_apr_off_t_p_q_const__svn_diff_datasource_e_apr_size_t__p_svn_error_t); if (!SWIG_IsOK(res)) { @@ -29278,7 +34009,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_fns2_t_datasources_open_get(int argc, VALUE *argv, VALUE self) { - svn_diff_fns2_t *arg1 = (svn_diff_fns2_t *) 0 ; + struct svn_diff_fns2_t *arg1 = (struct svn_diff_fns2_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_error_t *(*result)(void *,apr_off_t *,apr_off_t *,svn_diff_datasource_e const *,apr_size_t) = 0 ; @@ -29289,9 +34020,9 @@ _wrap_svn_diff_fns2_t_datasources_open_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_fns2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_fns2_t *","datasources_open", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_fns2_t *","datasources_open", 1, self )); } - arg1 = (svn_diff_fns2_t *)(argp1); + arg1 = (struct svn_diff_fns2_t *)(argp1); result = (svn_error_t *(*)(void *,apr_off_t *,apr_off_t *,svn_diff_datasource_e const *,apr_size_t)) ((arg1)->datasources_open); vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_apr_off_t_p_apr_off_t_p_q_const__svn_diff_datasource_e_apr_size_t__p_svn_error_t); return vresult; @@ -29302,7 +34033,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_fns2_t_datasource_close_set(int argc, VALUE *argv, VALUE self) { - svn_diff_fns2_t *arg1 = (svn_diff_fns2_t *) 0 ; + struct svn_diff_fns2_t *arg1 = (struct svn_diff_fns2_t *) 0 ; svn_error_t *(*arg2)(void *,svn_diff_datasource_e) = (svn_error_t *(*)(void *,svn_diff_datasource_e)) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -29312,9 +34043,9 @@ _wrap_svn_diff_fns2_t_datasource_close_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_fns2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_fns2_t *","datasource_close", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_fns2_t *","datasource_close", 1, self )); } - arg1 = (svn_diff_fns2_t *)(argp1); + arg1 = (struct svn_diff_fns2_t *)(argp1); { int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_svn_diff_datasource_e__p_svn_error_t); if (!SWIG_IsOK(res)) { @@ -29330,7 +34061,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_fns2_t_datasource_close_get(int argc, VALUE *argv, VALUE self) { - svn_diff_fns2_t *arg1 = (svn_diff_fns2_t *) 0 ; + struct svn_diff_fns2_t *arg1 = (struct svn_diff_fns2_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_error_t *(*result)(void *,svn_diff_datasource_e) = 0 ; @@ -29341,9 +34072,9 @@ _wrap_svn_diff_fns2_t_datasource_close_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_fns2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_fns2_t *","datasource_close", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_fns2_t *","datasource_close", 1, self )); } - arg1 = (svn_diff_fns2_t *)(argp1); + arg1 = (struct svn_diff_fns2_t *)(argp1); result = (svn_error_t *(*)(void *,svn_diff_datasource_e)) ((arg1)->datasource_close); vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_svn_diff_datasource_e__p_svn_error_t); return vresult; @@ -29354,7 +34085,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_fns2_t_datasource_get_next_token_set(int argc, VALUE *argv, VALUE self) { - svn_diff_fns2_t *arg1 = (svn_diff_fns2_t *) 0 ; + struct svn_diff_fns2_t *arg1 = (struct svn_diff_fns2_t *) 0 ; svn_error_t *(*arg2)(apr_uint32_t *,void **,void *,svn_diff_datasource_e) = (svn_error_t *(*)(apr_uint32_t *,void **,void *,svn_diff_datasource_e)) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -29364,9 +34095,9 @@ _wrap_svn_diff_fns2_t_datasource_get_next_token_set(int argc, VALUE *argv, VALUE } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_fns2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_fns2_t *","datasource_get_next_token", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_fns2_t *","datasource_get_next_token", 1, self )); } - arg1 = (svn_diff_fns2_t *)(argp1); + arg1 = (struct svn_diff_fns2_t *)(argp1); { int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_apr_uint32_t_p_p_void_p_void_svn_diff_datasource_e__p_svn_error_t); if (!SWIG_IsOK(res)) { @@ -29382,7 +34113,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_fns2_t_datasource_get_next_token_get(int argc, VALUE *argv, VALUE self) { - svn_diff_fns2_t *arg1 = (svn_diff_fns2_t *) 0 ; + struct svn_diff_fns2_t *arg1 = (struct svn_diff_fns2_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_error_t *(*result)(apr_uint32_t *,void **,void *,svn_diff_datasource_e) = 0 ; @@ -29393,9 +34124,9 @@ _wrap_svn_diff_fns2_t_datasource_get_next_token_get(int argc, VALUE *argv, VALUE } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_fns2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_fns2_t *","datasource_get_next_token", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_fns2_t *","datasource_get_next_token", 1, self )); } - arg1 = (svn_diff_fns2_t *)(argp1); + arg1 = (struct svn_diff_fns2_t *)(argp1); result = (svn_error_t *(*)(apr_uint32_t *,void **,void *,svn_diff_datasource_e)) ((arg1)->datasource_get_next_token); vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_apr_uint32_t_p_p_void_p_void_svn_diff_datasource_e__p_svn_error_t); return vresult; @@ -29406,7 +34137,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_fns2_t_token_compare_set(int argc, VALUE *argv, VALUE self) { - svn_diff_fns2_t *arg1 = (svn_diff_fns2_t *) 0 ; + struct svn_diff_fns2_t *arg1 = (struct svn_diff_fns2_t *) 0 ; svn_error_t *(*arg2)(void *,void *,void *,int *) = (svn_error_t *(*)(void *,void *,void *,int *)) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -29416,9 +34147,9 @@ _wrap_svn_diff_fns2_t_token_compare_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_fns2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_fns2_t *","token_compare", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_fns2_t *","token_compare", 1, self )); } - arg1 = (svn_diff_fns2_t *)(argp1); + arg1 = (struct svn_diff_fns2_t *)(argp1); { int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_void_p_void_p_int__p_svn_error_t); if (!SWIG_IsOK(res)) { @@ -29434,7 +34165,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_fns2_t_token_compare_get(int argc, VALUE *argv, VALUE self) { - svn_diff_fns2_t *arg1 = (svn_diff_fns2_t *) 0 ; + struct svn_diff_fns2_t *arg1 = (struct svn_diff_fns2_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_error_t *(*result)(void *,void *,void *,int *) = 0 ; @@ -29445,9 +34176,9 @@ _wrap_svn_diff_fns2_t_token_compare_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_fns2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_fns2_t *","token_compare", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_fns2_t *","token_compare", 1, self )); } - arg1 = (svn_diff_fns2_t *)(argp1); + arg1 = (struct svn_diff_fns2_t *)(argp1); result = (svn_error_t *(*)(void *,void *,void *,int *)) ((arg1)->token_compare); vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_void_p_void_p_int__p_svn_error_t); return vresult; @@ -29458,7 +34189,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_fns2_t_token_discard_set(int argc, VALUE *argv, VALUE self) { - svn_diff_fns2_t *arg1 = (svn_diff_fns2_t *) 0 ; + struct svn_diff_fns2_t *arg1 = (struct svn_diff_fns2_t *) 0 ; void (*arg2)(void *,void *) = (void (*)(void *,void *)) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -29468,9 +34199,9 @@ _wrap_svn_diff_fns2_t_token_discard_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_fns2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_fns2_t *","token_discard", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_fns2_t *","token_discard", 1, self )); } - arg1 = (svn_diff_fns2_t *)(argp1); + arg1 = (struct svn_diff_fns2_t *)(argp1); { int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_void__void); if (!SWIG_IsOK(res)) { @@ -29486,7 +34217,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_fns2_t_token_discard_get(int argc, VALUE *argv, VALUE self) { - svn_diff_fns2_t *arg1 = (svn_diff_fns2_t *) 0 ; + struct svn_diff_fns2_t *arg1 = (struct svn_diff_fns2_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void (*result)(void *,void *) = 0 ; @@ -29497,9 +34228,9 @@ _wrap_svn_diff_fns2_t_token_discard_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_fns2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_fns2_t *","token_discard", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_fns2_t *","token_discard", 1, self )); } - arg1 = (svn_diff_fns2_t *)(argp1); + arg1 = (struct svn_diff_fns2_t *)(argp1); result = (void (*)(void *,void *)) ((arg1)->token_discard); vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_void__void); return vresult; @@ -29510,7 +34241,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_fns2_t_token_discard_all_set(int argc, VALUE *argv, VALUE self) { - svn_diff_fns2_t *arg1 = (svn_diff_fns2_t *) 0 ; + struct svn_diff_fns2_t *arg1 = (struct svn_diff_fns2_t *) 0 ; void (*arg2)(void *) = (void (*)(void *)) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -29520,9 +34251,9 @@ _wrap_svn_diff_fns2_t_token_discard_all_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_fns2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_fns2_t *","token_discard_all", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_fns2_t *","token_discard_all", 1, self )); } - arg1 = (svn_diff_fns2_t *)(argp1); + arg1 = (struct svn_diff_fns2_t *)(argp1); { int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void__void); if (!SWIG_IsOK(res)) { @@ -29538,7 +34269,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_fns2_t_token_discard_all_get(int argc, VALUE *argv, VALUE self) { - svn_diff_fns2_t *arg1 = (svn_diff_fns2_t *) 0 ; + struct svn_diff_fns2_t *arg1 = (struct svn_diff_fns2_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void (*result)(void *) = 0 ; @@ -29549,9 +34280,9 @@ _wrap_svn_diff_fns2_t_token_discard_all_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_fns2_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_fns2_t *","token_discard_all", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_fns2_t *","token_discard_all", 1, self )); } - arg1 = (svn_diff_fns2_t *)(argp1); + arg1 = (struct svn_diff_fns2_t *)(argp1); result = (void (*)(void *)) ((arg1)->token_discard_all); vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void__void); return vresult; @@ -29579,13 +34310,13 @@ _wrap_svn_diff_fns2_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_diff_fns2_t(int argc, VALUE *argv, VALUE self) { - svn_diff_fns2_t *result = 0 ; + struct svn_diff_fns2_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_diff_fns2_t *)calloc(1, sizeof(svn_diff_fns2_t)); + result = (struct svn_diff_fns2_t *)calloc(1, sizeof(struct svn_diff_fns2_t)); DATA_PTR(self) = result; @@ -29598,15 +34329,15 @@ fail: SWIGINTERN void -free_svn_diff_fns2_t(svn_diff_fns2_t *arg1) { +free_svn_diff_fns2_t(struct svn_diff_fns2_t *arg1) { free((char *) arg1); } -swig_class SwigClassSvn_diff_fns_t; +static swig_class SwigClassSvn_diff_fns_t; SWIGINTERN VALUE _wrap_svn_diff_fns_t_datasource_open_set(int argc, VALUE *argv, VALUE self) { - svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ; + struct svn_diff_fns_t *arg1 = (struct svn_diff_fns_t *) 0 ; svn_error_t *(*arg2)(void *,svn_diff_datasource_e) = (svn_error_t *(*)(void *,svn_diff_datasource_e)) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -29616,9 +34347,9 @@ _wrap_svn_diff_fns_t_datasource_open_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_fns_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_fns_t *","datasource_open", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_fns_t *","datasource_open", 1, self )); } - arg1 = (svn_diff_fns_t *)(argp1); + arg1 = (struct svn_diff_fns_t *)(argp1); { int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_svn_diff_datasource_e__p_svn_error_t); if (!SWIG_IsOK(res)) { @@ -29634,7 +34365,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_fns_t_datasource_open_get(int argc, VALUE *argv, VALUE self) { - svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ; + struct svn_diff_fns_t *arg1 = (struct svn_diff_fns_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_error_t *(*result)(void *,svn_diff_datasource_e) = 0 ; @@ -29645,9 +34376,9 @@ _wrap_svn_diff_fns_t_datasource_open_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_fns_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_fns_t *","datasource_open", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_fns_t *","datasource_open", 1, self )); } - arg1 = (svn_diff_fns_t *)(argp1); + arg1 = (struct svn_diff_fns_t *)(argp1); result = (svn_error_t *(*)(void *,svn_diff_datasource_e)) ((arg1)->datasource_open); vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_svn_diff_datasource_e__p_svn_error_t); return vresult; @@ -29658,7 +34389,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_fns_t_datasource_close_set(int argc, VALUE *argv, VALUE self) { - svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ; + struct svn_diff_fns_t *arg1 = (struct svn_diff_fns_t *) 0 ; svn_error_t *(*arg2)(void *,svn_diff_datasource_e) = (svn_error_t *(*)(void *,svn_diff_datasource_e)) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -29668,9 +34399,9 @@ _wrap_svn_diff_fns_t_datasource_close_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_fns_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_fns_t *","datasource_close", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_fns_t *","datasource_close", 1, self )); } - arg1 = (svn_diff_fns_t *)(argp1); + arg1 = (struct svn_diff_fns_t *)(argp1); { int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_svn_diff_datasource_e__p_svn_error_t); if (!SWIG_IsOK(res)) { @@ -29686,7 +34417,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_fns_t_datasource_close_get(int argc, VALUE *argv, VALUE self) { - svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ; + struct svn_diff_fns_t *arg1 = (struct svn_diff_fns_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_error_t *(*result)(void *,svn_diff_datasource_e) = 0 ; @@ -29697,9 +34428,9 @@ _wrap_svn_diff_fns_t_datasource_close_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_fns_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_fns_t *","datasource_close", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_fns_t *","datasource_close", 1, self )); } - arg1 = (svn_diff_fns_t *)(argp1); + arg1 = (struct svn_diff_fns_t *)(argp1); result = (svn_error_t *(*)(void *,svn_diff_datasource_e)) ((arg1)->datasource_close); vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_svn_diff_datasource_e__p_svn_error_t); return vresult; @@ -29710,7 +34441,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_fns_t_datasource_get_next_token_set(int argc, VALUE *argv, VALUE self) { - svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ; + struct svn_diff_fns_t *arg1 = (struct svn_diff_fns_t *) 0 ; svn_error_t *(*arg2)(apr_uint32_t *,void **,void *,svn_diff_datasource_e) = (svn_error_t *(*)(apr_uint32_t *,void **,void *,svn_diff_datasource_e)) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -29720,9 +34451,9 @@ _wrap_svn_diff_fns_t_datasource_get_next_token_set(int argc, VALUE *argv, VALUE } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_fns_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_fns_t *","datasource_get_next_token", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_fns_t *","datasource_get_next_token", 1, self )); } - arg1 = (svn_diff_fns_t *)(argp1); + arg1 = (struct svn_diff_fns_t *)(argp1); { int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_apr_uint32_t_p_p_void_p_void_svn_diff_datasource_e__p_svn_error_t); if (!SWIG_IsOK(res)) { @@ -29738,7 +34469,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_fns_t_datasource_get_next_token_get(int argc, VALUE *argv, VALUE self) { - svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ; + struct svn_diff_fns_t *arg1 = (struct svn_diff_fns_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_error_t *(*result)(apr_uint32_t *,void **,void *,svn_diff_datasource_e) = 0 ; @@ -29749,9 +34480,9 @@ _wrap_svn_diff_fns_t_datasource_get_next_token_get(int argc, VALUE *argv, VALUE } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_fns_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_fns_t *","datasource_get_next_token", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_fns_t *","datasource_get_next_token", 1, self )); } - arg1 = (svn_diff_fns_t *)(argp1); + arg1 = (struct svn_diff_fns_t *)(argp1); result = (svn_error_t *(*)(apr_uint32_t *,void **,void *,svn_diff_datasource_e)) ((arg1)->datasource_get_next_token); vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_apr_uint32_t_p_p_void_p_void_svn_diff_datasource_e__p_svn_error_t); return vresult; @@ -29762,7 +34493,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_fns_t_token_compare_set(int argc, VALUE *argv, VALUE self) { - svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ; + struct svn_diff_fns_t *arg1 = (struct svn_diff_fns_t *) 0 ; svn_error_t *(*arg2)(void *,void *,void *,int *) = (svn_error_t *(*)(void *,void *,void *,int *)) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -29772,9 +34503,9 @@ _wrap_svn_diff_fns_t_token_compare_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_fns_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_fns_t *","token_compare", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_fns_t *","token_compare", 1, self )); } - arg1 = (svn_diff_fns_t *)(argp1); + arg1 = (struct svn_diff_fns_t *)(argp1); { int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_void_p_void_p_int__p_svn_error_t); if (!SWIG_IsOK(res)) { @@ -29790,7 +34521,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_fns_t_token_compare_get(int argc, VALUE *argv, VALUE self) { - svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ; + struct svn_diff_fns_t *arg1 = (struct svn_diff_fns_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_error_t *(*result)(void *,void *,void *,int *) = 0 ; @@ -29801,9 +34532,9 @@ _wrap_svn_diff_fns_t_token_compare_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_fns_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_fns_t *","token_compare", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_fns_t *","token_compare", 1, self )); } - arg1 = (svn_diff_fns_t *)(argp1); + arg1 = (struct svn_diff_fns_t *)(argp1); result = (svn_error_t *(*)(void *,void *,void *,int *)) ((arg1)->token_compare); vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_void_p_void_p_int__p_svn_error_t); return vresult; @@ -29814,7 +34545,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_fns_t_token_discard_set(int argc, VALUE *argv, VALUE self) { - svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ; + struct svn_diff_fns_t *arg1 = (struct svn_diff_fns_t *) 0 ; void (*arg2)(void *,void *) = (void (*)(void *,void *)) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -29824,9 +34555,9 @@ _wrap_svn_diff_fns_t_token_discard_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_fns_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_fns_t *","token_discard", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_fns_t *","token_discard", 1, self )); } - arg1 = (svn_diff_fns_t *)(argp1); + arg1 = (struct svn_diff_fns_t *)(argp1); { int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_void__void); if (!SWIG_IsOK(res)) { @@ -29842,7 +34573,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_fns_t_token_discard_get(int argc, VALUE *argv, VALUE self) { - svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ; + struct svn_diff_fns_t *arg1 = (struct svn_diff_fns_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void (*result)(void *,void *) = 0 ; @@ -29853,9 +34584,9 @@ _wrap_svn_diff_fns_t_token_discard_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_fns_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_fns_t *","token_discard", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_fns_t *","token_discard", 1, self )); } - arg1 = (svn_diff_fns_t *)(argp1); + arg1 = (struct svn_diff_fns_t *)(argp1); result = (void (*)(void *,void *)) ((arg1)->token_discard); vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_void__void); return vresult; @@ -29866,7 +34597,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_fns_t_token_discard_all_set(int argc, VALUE *argv, VALUE self) { - svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ; + struct svn_diff_fns_t *arg1 = (struct svn_diff_fns_t *) 0 ; void (*arg2)(void *) = (void (*)(void *)) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -29876,9 +34607,9 @@ _wrap_svn_diff_fns_t_token_discard_all_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_fns_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_fns_t *","token_discard_all", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_fns_t *","token_discard_all", 1, self )); } - arg1 = (svn_diff_fns_t *)(argp1); + arg1 = (struct svn_diff_fns_t *)(argp1); { int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void__void); if (!SWIG_IsOK(res)) { @@ -29894,7 +34625,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_fns_t_token_discard_all_get(int argc, VALUE *argv, VALUE self) { - svn_diff_fns_t *arg1 = (svn_diff_fns_t *) 0 ; + struct svn_diff_fns_t *arg1 = (struct svn_diff_fns_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void (*result)(void *) = 0 ; @@ -29905,9 +34636,9 @@ _wrap_svn_diff_fns_t_token_discard_all_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_fns_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_fns_t *","token_discard_all", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_fns_t *","token_discard_all", 1, self )); } - arg1 = (svn_diff_fns_t *)(argp1); + arg1 = (struct svn_diff_fns_t *)(argp1); result = (void (*)(void *)) ((arg1)->token_discard_all); vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void__void); return vresult; @@ -29935,13 +34666,13 @@ _wrap_svn_diff_fns_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_diff_fns_t(int argc, VALUE *argv, VALUE self) { - svn_diff_fns_t *result = 0 ; + struct svn_diff_fns_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_diff_fns_t *)calloc(1, sizeof(svn_diff_fns_t)); + result = (struct svn_diff_fns_t *)calloc(1, sizeof(struct svn_diff_fns_t)); DATA_PTR(self) = result; @@ -29954,7 +34685,7 @@ fail: SWIGINTERN void -free_svn_diff_fns_t(svn_diff_fns_t *arg1) { +free_svn_diff_fns_t(struct svn_diff_fns_t *arg1) { free((char *) arg1); } @@ -30454,11 +35185,11 @@ fail: } -swig_class SwigClassSvn_diff_output_fns_t; +static swig_class SwigClassSvn_diff_output_fns_t; SWIGINTERN VALUE _wrap_svn_diff_output_fns_t_output_common_set(int argc, VALUE *argv, VALUE self) { - svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ; + struct svn_diff_output_fns_t *arg1 = (struct svn_diff_output_fns_t *) 0 ; svn_error_t *(*arg2)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t) = (svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t)) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -30468,9 +35199,9 @@ _wrap_svn_diff_output_fns_t_output_common_set(int argc, VALUE *argv, VALUE self) } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_output_fns_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_output_fns_t *","output_common", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_output_fns_t *","output_common", 1, self )); } - arg1 = (svn_diff_output_fns_t *)(argp1); + arg1 = (struct svn_diff_output_fns_t *)(argp1); { int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t); if (!SWIG_IsOK(res)) { @@ -30486,7 +35217,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_output_fns_t_output_common_get(int argc, VALUE *argv, VALUE self) { - svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ; + struct svn_diff_output_fns_t *arg1 = (struct svn_diff_output_fns_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_error_t *(*result)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t) = 0 ; @@ -30497,9 +35228,9 @@ _wrap_svn_diff_output_fns_t_output_common_get(int argc, VALUE *argv, VALUE self) } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_output_fns_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_output_fns_t *","output_common", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_output_fns_t *","output_common", 1, self )); } - arg1 = (svn_diff_output_fns_t *)(argp1); + arg1 = (struct svn_diff_output_fns_t *)(argp1); result = (svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t)) ((arg1)->output_common); vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t); return vresult; @@ -30510,7 +35241,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_output_fns_t_output_diff_modified_set(int argc, VALUE *argv, VALUE self) { - svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ; + struct svn_diff_output_fns_t *arg1 = (struct svn_diff_output_fns_t *) 0 ; svn_error_t *(*arg2)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t) = (svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t)) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -30520,9 +35251,9 @@ _wrap_svn_diff_output_fns_t_output_diff_modified_set(int argc, VALUE *argv, VALU } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_output_fns_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_output_fns_t *","output_diff_modified", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_output_fns_t *","output_diff_modified", 1, self )); } - arg1 = (svn_diff_output_fns_t *)(argp1); + arg1 = (struct svn_diff_output_fns_t *)(argp1); { int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t); if (!SWIG_IsOK(res)) { @@ -30538,7 +35269,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_output_fns_t_output_diff_modified_get(int argc, VALUE *argv, VALUE self) { - svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ; + struct svn_diff_output_fns_t *arg1 = (struct svn_diff_output_fns_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_error_t *(*result)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t) = 0 ; @@ -30549,9 +35280,9 @@ _wrap_svn_diff_output_fns_t_output_diff_modified_get(int argc, VALUE *argv, VALU } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_output_fns_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_output_fns_t *","output_diff_modified", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_output_fns_t *","output_diff_modified", 1, self )); } - arg1 = (svn_diff_output_fns_t *)(argp1); + arg1 = (struct svn_diff_output_fns_t *)(argp1); result = (svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t)) ((arg1)->output_diff_modified); vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t); return vresult; @@ -30562,7 +35293,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_output_fns_t_output_diff_latest_set(int argc, VALUE *argv, VALUE self) { - svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ; + struct svn_diff_output_fns_t *arg1 = (struct svn_diff_output_fns_t *) 0 ; svn_error_t *(*arg2)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t) = (svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t)) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -30572,9 +35303,9 @@ _wrap_svn_diff_output_fns_t_output_diff_latest_set(int argc, VALUE *argv, VALUE } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_output_fns_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_output_fns_t *","output_diff_latest", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_output_fns_t *","output_diff_latest", 1, self )); } - arg1 = (svn_diff_output_fns_t *)(argp1); + arg1 = (struct svn_diff_output_fns_t *)(argp1); { int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t); if (!SWIG_IsOK(res)) { @@ -30590,7 +35321,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_output_fns_t_output_diff_latest_get(int argc, VALUE *argv, VALUE self) { - svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ; + struct svn_diff_output_fns_t *arg1 = (struct svn_diff_output_fns_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_error_t *(*result)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t) = 0 ; @@ -30601,9 +35332,9 @@ _wrap_svn_diff_output_fns_t_output_diff_latest_get(int argc, VALUE *argv, VALUE } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_output_fns_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_output_fns_t *","output_diff_latest", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_output_fns_t *","output_diff_latest", 1, self )); } - arg1 = (svn_diff_output_fns_t *)(argp1); + arg1 = (struct svn_diff_output_fns_t *)(argp1); result = (svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t)) ((arg1)->output_diff_latest); vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t); return vresult; @@ -30614,7 +35345,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_output_fns_t_output_diff_common_set(int argc, VALUE *argv, VALUE self) { - svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ; + struct svn_diff_output_fns_t *arg1 = (struct svn_diff_output_fns_t *) 0 ; svn_error_t *(*arg2)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t) = (svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t)) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -30624,9 +35355,9 @@ _wrap_svn_diff_output_fns_t_output_diff_common_set(int argc, VALUE *argv, VALUE } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_output_fns_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_output_fns_t *","output_diff_common", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_output_fns_t *","output_diff_common", 1, self )); } - arg1 = (svn_diff_output_fns_t *)(argp1); + arg1 = (struct svn_diff_output_fns_t *)(argp1); { int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t); if (!SWIG_IsOK(res)) { @@ -30642,7 +35373,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_output_fns_t_output_diff_common_get(int argc, VALUE *argv, VALUE self) { - svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ; + struct svn_diff_output_fns_t *arg1 = (struct svn_diff_output_fns_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_error_t *(*result)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t) = 0 ; @@ -30653,9 +35384,9 @@ _wrap_svn_diff_output_fns_t_output_diff_common_get(int argc, VALUE *argv, VALUE } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_output_fns_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_output_fns_t *","output_diff_common", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_output_fns_t *","output_diff_common", 1, self )); } - arg1 = (svn_diff_output_fns_t *)(argp1); + arg1 = (struct svn_diff_output_fns_t *)(argp1); result = (svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t)) ((arg1)->output_diff_common); vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t__p_svn_error_t); return vresult; @@ -30666,7 +35397,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_output_fns_t_output_conflict_set(int argc, VALUE *argv, VALUE self) { - svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ; + struct svn_diff_output_fns_t *arg1 = (struct svn_diff_output_fns_t *) 0 ; svn_error_t *(*arg2)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,svn_diff_t *) = (svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,svn_diff_t *)) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -30676,9 +35407,9 @@ _wrap_svn_diff_output_fns_t_output_conflict_set(int argc, VALUE *argv, VALUE sel } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_output_fns_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_output_fns_t *","output_conflict", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_output_fns_t *","output_conflict", 1, self )); } - arg1 = (svn_diff_output_fns_t *)(argp1); + arg1 = (struct svn_diff_output_fns_t *)(argp1); { int res = SWIG_ConvertFunctionPtr(argv[0], (void**)(&arg2), SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_p_svn_diff_t__p_svn_error_t); if (!SWIG_IsOK(res)) { @@ -30694,7 +35425,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_output_fns_t_output_conflict_get(int argc, VALUE *argv, VALUE self) { - svn_diff_output_fns_t *arg1 = (svn_diff_output_fns_t *) 0 ; + struct svn_diff_output_fns_t *arg1 = (struct svn_diff_output_fns_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_error_t *(*result)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,svn_diff_t *) = 0 ; @@ -30705,9 +35436,9 @@ _wrap_svn_diff_output_fns_t_output_conflict_get(int argc, VALUE *argv, VALUE sel } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_output_fns_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_diff_output_fns_t *","output_conflict", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_output_fns_t *","output_conflict", 1, self )); } - arg1 = (svn_diff_output_fns_t *)(argp1); + arg1 = (struct svn_diff_output_fns_t *)(argp1); result = (svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,apr_off_t,svn_diff_t *)) ((arg1)->output_conflict); vresult = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_apr_off_t_p_svn_diff_t__p_svn_error_t); return vresult; @@ -30735,13 +35466,13 @@ _wrap_svn_diff_output_fns_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_diff_output_fns_t(int argc, VALUE *argv, VALUE self) { - svn_diff_output_fns_t *result = 0 ; + struct svn_diff_output_fns_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_diff_output_fns_t *)calloc(1, sizeof(svn_diff_output_fns_t)); + result = (struct svn_diff_output_fns_t *)calloc(1, sizeof(struct svn_diff_output_fns_t)); DATA_PTR(self) = result; @@ -30754,7 +35485,7 @@ fail: SWIGINTERN void -free_svn_diff_output_fns_t(svn_diff_output_fns_t *arg1) { +free_svn_diff_output_fns_t(struct svn_diff_output_fns_t *arg1) { free((char *) arg1); } @@ -30808,11 +35539,11 @@ fail: } -swig_class SwigClassSvn_diff_file_options_t; +static swig_class SwigClassSvn_diff_file_options_t; SWIGINTERN VALUE _wrap_svn_diff_file_options_t_ignore_space_set(int argc, VALUE *argv, VALUE self) { - svn_diff_file_options_t *arg1 = (svn_diff_file_options_t *) 0 ; + struct svn_diff_file_options_t *arg1 = (struct svn_diff_file_options_t *) 0 ; svn_diff_file_ignore_space_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -30824,9 +35555,9 @@ _wrap_svn_diff_file_options_t_ignore_space_set(int argc, VALUE *argv, VALUE self } 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( "", "svn_diff_file_options_t *","ignore_space", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_file_options_t *","ignore_space", 1, self )); } - arg1 = (svn_diff_file_options_t *)(argp1); + 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( "", "svn_diff_file_ignore_space_t","ignore_space", 2, argv[0] )); @@ -30841,7 +35572,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_file_options_t_ignore_space_get(int argc, VALUE *argv, VALUE self) { - svn_diff_file_options_t *arg1 = (svn_diff_file_options_t *) 0 ; + struct svn_diff_file_options_t *arg1 = (struct svn_diff_file_options_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_diff_file_ignore_space_t result; @@ -30852,9 +35583,9 @@ _wrap_svn_diff_file_options_t_ignore_space_get(int argc, VALUE *argv, VALUE self } 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( "", "svn_diff_file_options_t *","ignore_space", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_file_options_t *","ignore_space", 1, self )); } - arg1 = (svn_diff_file_options_t *)(argp1); + arg1 = (struct svn_diff_file_options_t *)(argp1); result = (svn_diff_file_ignore_space_t) ((arg1)->ignore_space); vresult = SWIG_From_int((int)(result)); return vresult; @@ -30865,7 +35596,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_file_options_t_ignore_eol_style_set(int argc, VALUE *argv, VALUE self) { - svn_diff_file_options_t *arg1 = (svn_diff_file_options_t *) 0 ; + struct svn_diff_file_options_t *arg1 = (struct svn_diff_file_options_t *) 0 ; svn_boolean_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -30875,9 +35606,9 @@ _wrap_svn_diff_file_options_t_ignore_eol_style_set(int argc, VALUE *argv, VALUE } 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( "", "svn_diff_file_options_t *","ignore_eol_style", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_file_options_t *","ignore_eol_style", 1, self )); } - arg1 = (svn_diff_file_options_t *)(argp1); + arg1 = (struct svn_diff_file_options_t *)(argp1); arg2 = RTEST(argv[0]); if (arg1) (arg1)->ignore_eol_style = arg2; return Qnil; @@ -30888,7 +35619,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_file_options_t_ignore_eol_style_get(int argc, VALUE *argv, VALUE self) { - svn_diff_file_options_t *arg1 = (svn_diff_file_options_t *) 0 ; + struct svn_diff_file_options_t *arg1 = (struct svn_diff_file_options_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_boolean_t result; @@ -30899,9 +35630,9 @@ _wrap_svn_diff_file_options_t_ignore_eol_style_get(int argc, VALUE *argv, VALUE } 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( "", "svn_diff_file_options_t *","ignore_eol_style", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_file_options_t *","ignore_eol_style", 1, self )); } - arg1 = (svn_diff_file_options_t *)(argp1); + arg1 = (struct svn_diff_file_options_t *)(argp1); result = (svn_boolean_t) ((arg1)->ignore_eol_style); vresult = result ? Qtrue : Qfalse; return vresult; @@ -30912,7 +35643,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_file_options_t_show_c_function_set(int argc, VALUE *argv, VALUE self) { - svn_diff_file_options_t *arg1 = (svn_diff_file_options_t *) 0 ; + struct svn_diff_file_options_t *arg1 = (struct svn_diff_file_options_t *) 0 ; svn_boolean_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -30922,9 +35653,9 @@ _wrap_svn_diff_file_options_t_show_c_function_set(int argc, VALUE *argv, VALUE s } 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( "", "svn_diff_file_options_t *","show_c_function", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_file_options_t *","show_c_function", 1, self )); } - arg1 = (svn_diff_file_options_t *)(argp1); + arg1 = (struct svn_diff_file_options_t *)(argp1); arg2 = RTEST(argv[0]); if (arg1) (arg1)->show_c_function = arg2; return Qnil; @@ -30935,7 +35666,7 @@ fail: SWIGINTERN VALUE _wrap_svn_diff_file_options_t_show_c_function_get(int argc, VALUE *argv, VALUE self) { - svn_diff_file_options_t *arg1 = (svn_diff_file_options_t *) 0 ; + struct svn_diff_file_options_t *arg1 = (struct svn_diff_file_options_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_boolean_t result; @@ -30946,9 +35677,9 @@ _wrap_svn_diff_file_options_t_show_c_function_get(int argc, VALUE *argv, VALUE s } 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( "", "svn_diff_file_options_t *","show_c_function", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_file_options_t *","show_c_function", 1, self )); } - arg1 = (svn_diff_file_options_t *)(argp1); + arg1 = (struct svn_diff_file_options_t *)(argp1); result = (svn_boolean_t) ((arg1)->show_c_function); vresult = result ? Qtrue : Qfalse; return vresult; @@ -30979,7 +35710,7 @@ _wrap_new_svn_diff_file_options_t(int argc, VALUE *argv, VALUE self) { apr_pool_t *arg1 = (apr_pool_t *) 0 ; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; - svn_diff_file_options_t *result = 0 ; + struct svn_diff_file_options_t *result = 0 ; { svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg1); @@ -30993,7 +35724,7 @@ _wrap_new_svn_diff_file_options_t(int argc, VALUE *argv, VALUE self) { } { - result = (svn_diff_file_options_t *)new_svn_diff_file_options_t(arg1); + result = (struct svn_diff_file_options_t *)new_svn_diff_file_options_t(arg1); DATA_PTR(self) = result; @@ -31019,10 +35750,10 @@ fail: } -SWIGINTERN void delete_svn_diff_file_options_t(svn_diff_file_options_t *self){ +SWIGINTERN void delete_svn_diff_file_options_t(struct svn_diff_file_options_t *self){ } SWIGINTERN void -free_svn_diff_file_options_t(svn_diff_file_options_t *arg1) { +free_svn_diff_file_options_t(struct svn_diff_file_options_t *arg1) { delete_svn_diff_file_options_t(arg1); } @@ -33740,11 +38471,11 @@ fail: } -swig_class SwigClassSvn_prop_patch_t; +static swig_class SwigClassSvn_prop_patch_t; SWIGINTERN VALUE _wrap_svn_prop_patch_t_name_set(int argc, VALUE *argv, VALUE self) { - svn_prop_patch_t *arg1 = (svn_prop_patch_t *) 0 ; + struct svn_prop_patch_t *arg1 = (struct svn_prop_patch_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -33757,9 +38488,9 @@ _wrap_svn_prop_patch_t_name_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_prop_patch_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_prop_patch_t *","name", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_prop_patch_t *","name", 1, self )); } - arg1 = (svn_prop_patch_t *)(argp1); + arg1 = (struct svn_prop_patch_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","name", 2, argv[0] )); @@ -33783,7 +38514,7 @@ fail: SWIGINTERN VALUE _wrap_svn_prop_patch_t_name_get(int argc, VALUE *argv, VALUE self) { - svn_prop_patch_t *arg1 = (svn_prop_patch_t *) 0 ; + struct svn_prop_patch_t *arg1 = (struct svn_prop_patch_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -33794,9 +38525,9 @@ _wrap_svn_prop_patch_t_name_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_prop_patch_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_prop_patch_t *","name", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_prop_patch_t *","name", 1, self )); } - arg1 = (svn_prop_patch_t *)(argp1); + arg1 = (struct svn_prop_patch_t *)(argp1); result = (char *) ((arg1)->name); { if (result) { @@ -33813,7 +38544,7 @@ fail: SWIGINTERN VALUE _wrap_svn_prop_patch_t_operation_set(int argc, VALUE *argv, VALUE self) { - svn_prop_patch_t *arg1 = (svn_prop_patch_t *) 0 ; + struct svn_prop_patch_t *arg1 = (struct svn_prop_patch_t *) 0 ; svn_diff_operation_kind_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -33825,9 +38556,9 @@ _wrap_svn_prop_patch_t_operation_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_prop_patch_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_prop_patch_t *","operation", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_prop_patch_t *","operation", 1, self )); } - arg1 = (svn_prop_patch_t *)(argp1); + arg1 = (struct svn_prop_patch_t *)(argp1); ecode2 = SWIG_AsVal_int(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_diff_operation_kind_t","operation", 2, argv[0] )); @@ -33842,7 +38573,7 @@ fail: SWIGINTERN VALUE _wrap_svn_prop_patch_t_operation_get(int argc, VALUE *argv, VALUE self) { - svn_prop_patch_t *arg1 = (svn_prop_patch_t *) 0 ; + struct svn_prop_patch_t *arg1 = (struct svn_prop_patch_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_diff_operation_kind_t result; @@ -33853,9 +38584,9 @@ _wrap_svn_prop_patch_t_operation_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_prop_patch_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_prop_patch_t *","operation", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_prop_patch_t *","operation", 1, self )); } - arg1 = (svn_prop_patch_t *)(argp1); + arg1 = (struct svn_prop_patch_t *)(argp1); result = (svn_diff_operation_kind_t) ((arg1)->operation); vresult = SWIG_From_int((int)(result)); return vresult; @@ -33866,7 +38597,7 @@ fail: SWIGINTERN VALUE _wrap_svn_prop_patch_t_hunks_set(int argc, VALUE *argv, VALUE self) { - svn_prop_patch_t *arg1 = (svn_prop_patch_t *) 0 ; + struct svn_prop_patch_t *arg1 = (struct svn_prop_patch_t *) 0 ; apr_array_header_t *arg2 = (apr_array_header_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -33878,9 +38609,9 @@ _wrap_svn_prop_patch_t_hunks_set(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_prop_patch_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_prop_patch_t *","hunks", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_prop_patch_t *","hunks", 1, self )); } - arg1 = (svn_prop_patch_t *)(argp1); + arg1 = (struct svn_prop_patch_t *)(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_apr_array_header_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "apr_array_header_t *","hunks", 2, argv[0] )); @@ -33895,7 +38626,7 @@ fail: SWIGINTERN VALUE _wrap_svn_prop_patch_t_hunks_get(int argc, VALUE *argv, VALUE self) { - svn_prop_patch_t *arg1 = (svn_prop_patch_t *) 0 ; + struct svn_prop_patch_t *arg1 = (struct svn_prop_patch_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; apr_array_header_t *result = 0 ; @@ -33906,9 +38637,9 @@ _wrap_svn_prop_patch_t_hunks_get(int argc, VALUE *argv, VALUE self) { } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_prop_patch_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "svn_prop_patch_t *","hunks", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_prop_patch_t *","hunks", 1, self )); } - arg1 = (svn_prop_patch_t *)(argp1); + arg1 = (struct svn_prop_patch_t *)(argp1); result = (apr_array_header_t *) ((arg1)->hunks); vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_apr_array_header_t, 0 | 0 ); return vresult; @@ -33936,13 +38667,13 @@ _wrap_svn_prop_patch_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_prop_patch_t(int argc, VALUE *argv, VALUE self) { - svn_prop_patch_t *result = 0 ; + struct svn_prop_patch_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_prop_patch_t *)calloc(1, sizeof(svn_prop_patch_t)); + result = (struct svn_prop_patch_t *)calloc(1, sizeof(struct svn_prop_patch_t)); DATA_PTR(self) = result; @@ -33955,15 +38686,15 @@ fail: SWIGINTERN void -free_svn_prop_patch_t(svn_prop_patch_t *arg1) { +free_svn_prop_patch_t(struct svn_prop_patch_t *arg1) { free((char *) arg1); } -swig_class SwigClassSvn_patch_t; +static swig_class SwigClassSvn_patch_t; SWIGINTERN VALUE _wrap_svn_patch_t_old_filename_set(int argc, VALUE *argv, VALUE self) { - svn_patch_t *arg1 = (svn_patch_t *) 0 ; + struct svn_patch_t *arg1 = (struct svn_patch_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -33976,9 +38707,9 @@ _wrap_svn_patch_t_old_filename_set(int argc, VALUE *argv, VALUE self) { } 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( "", "svn_patch_t *","old_filename", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_patch_t *","old_filename", 1, self )); } - arg1 = (svn_patch_t *)(argp1); + arg1 = (struct svn_patch_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","old_filename", 2, argv[0] )); @@ -34002,7 +38733,7 @@ fail: SWIGINTERN VALUE _wrap_svn_patch_t_old_filename_get(int argc, VALUE *argv, VALUE self) { - svn_patch_t *arg1 = (svn_patch_t *) 0 ; + struct svn_patch_t *arg1 = (struct svn_patch_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -34013,9 +38744,9 @@ _wrap_svn_patch_t_old_filename_get(int argc, VALUE *argv, VALUE self) { } 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( "", "svn_patch_t *","old_filename", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_patch_t *","old_filename", 1, self )); } - arg1 = (svn_patch_t *)(argp1); + arg1 = (struct svn_patch_t *)(argp1); result = (char *) ((arg1)->old_filename); { if (result) { @@ -34032,7 +38763,7 @@ fail: SWIGINTERN VALUE _wrap_svn_patch_t_new_filename_set(int argc, VALUE *argv, VALUE self) { - svn_patch_t *arg1 = (svn_patch_t *) 0 ; + struct svn_patch_t *arg1 = (struct svn_patch_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -34045,9 +38776,9 @@ _wrap_svn_patch_t_new_filename_set(int argc, VALUE *argv, VALUE self) { } 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( "", "svn_patch_t *","new_filename", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_patch_t *","new_filename", 1, self )); } - arg1 = (svn_patch_t *)(argp1); + arg1 = (struct svn_patch_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","new_filename", 2, argv[0] )); @@ -34071,7 +38802,7 @@ fail: SWIGINTERN VALUE _wrap_svn_patch_t_new_filename_get(int argc, VALUE *argv, VALUE self) { - svn_patch_t *arg1 = (svn_patch_t *) 0 ; + struct svn_patch_t *arg1 = (struct svn_patch_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; @@ -34082,9 +38813,9 @@ _wrap_svn_patch_t_new_filename_get(int argc, VALUE *argv, VALUE self) { } 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( "", "svn_patch_t *","new_filename", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_patch_t *","new_filename", 1, self )); } - arg1 = (svn_patch_t *)(argp1); + arg1 = (struct svn_patch_t *)(argp1); result = (char *) ((arg1)->new_filename); { if (result) { @@ -34101,7 +38832,7 @@ fail: SWIGINTERN VALUE _wrap_svn_patch_t_hunks_set(int argc, VALUE *argv, VALUE self) { - svn_patch_t *arg1 = (svn_patch_t *) 0 ; + struct svn_patch_t *arg1 = (struct svn_patch_t *) 0 ; apr_array_header_t *arg2 = (apr_array_header_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -34113,9 +38844,9 @@ _wrap_svn_patch_t_hunks_set(int argc, VALUE *argv, VALUE self) { } 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( "", "svn_patch_t *","hunks", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_patch_t *","hunks", 1, self )); } - arg1 = (svn_patch_t *)(argp1); + arg1 = (struct svn_patch_t *)(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_apr_array_header_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "apr_array_header_t *","hunks", 2, argv[0] )); @@ -34130,7 +38861,7 @@ fail: SWIGINTERN VALUE _wrap_svn_patch_t_hunks_get(int argc, VALUE *argv, VALUE self) { - svn_patch_t *arg1 = (svn_patch_t *) 0 ; + struct svn_patch_t *arg1 = (struct svn_patch_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; apr_array_header_t *result = 0 ; @@ -34141,9 +38872,9 @@ _wrap_svn_patch_t_hunks_get(int argc, VALUE *argv, VALUE self) { } 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( "", "svn_patch_t *","hunks", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_patch_t *","hunks", 1, self )); } - arg1 = (svn_patch_t *)(argp1); + arg1 = (struct svn_patch_t *)(argp1); result = (apr_array_header_t *) ((arg1)->hunks); vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_apr_array_header_t, 0 | 0 ); return vresult; @@ -34154,7 +38885,7 @@ fail: SWIGINTERN VALUE _wrap_svn_patch_t_prop_patches_set(int argc, VALUE *argv, VALUE self) { - svn_patch_t *arg1 = (svn_patch_t *) 0 ; + struct svn_patch_t *arg1 = (struct svn_patch_t *) 0 ; apr_hash_t *arg2 = (apr_hash_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -34166,9 +38897,9 @@ _wrap_svn_patch_t_prop_patches_set(int argc, VALUE *argv, VALUE self) { } 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( "", "svn_patch_t *","prop_patches", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_patch_t *","prop_patches", 1, self )); } - arg1 = (svn_patch_t *)(argp1); + 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( "", "apr_hash_t *","prop_patches", 2, argv[0] )); @@ -34183,7 +38914,7 @@ fail: SWIGINTERN VALUE _wrap_svn_patch_t_prop_patches_get(int argc, VALUE *argv, VALUE self) { - svn_patch_t *arg1 = (svn_patch_t *) 0 ; + struct svn_patch_t *arg1 = (struct svn_patch_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; apr_hash_t *result = 0 ; @@ -34194,9 +38925,9 @@ _wrap_svn_patch_t_prop_patches_get(int argc, VALUE *argv, VALUE self) { } 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( "", "svn_patch_t *","prop_patches", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_patch_t *","prop_patches", 1, self )); } - arg1 = (svn_patch_t *)(argp1); + arg1 = (struct svn_patch_t *)(argp1); result = (apr_hash_t *) ((arg1)->prop_patches); vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_apr_hash_t, 0 | 0 ); return vresult; @@ -34207,7 +38938,7 @@ fail: SWIGINTERN VALUE _wrap_svn_patch_t_operation_set(int argc, VALUE *argv, VALUE self) { - svn_patch_t *arg1 = (svn_patch_t *) 0 ; + struct svn_patch_t *arg1 = (struct svn_patch_t *) 0 ; svn_diff_operation_kind_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -34219,9 +38950,9 @@ _wrap_svn_patch_t_operation_set(int argc, VALUE *argv, VALUE self) { } 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( "", "svn_patch_t *","operation", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_patch_t *","operation", 1, self )); } - arg1 = (svn_patch_t *)(argp1); + arg1 = (struct svn_patch_t *)(argp1); ecode2 = SWIG_AsVal_int(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "svn_diff_operation_kind_t","operation", 2, argv[0] )); @@ -34236,7 +38967,7 @@ fail: SWIGINTERN VALUE _wrap_svn_patch_t_operation_get(int argc, VALUE *argv, VALUE self) { - svn_patch_t *arg1 = (svn_patch_t *) 0 ; + struct svn_patch_t *arg1 = (struct svn_patch_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_diff_operation_kind_t result; @@ -34247,9 +38978,9 @@ _wrap_svn_patch_t_operation_get(int argc, VALUE *argv, VALUE self) { } 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( "", "svn_patch_t *","operation", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_patch_t *","operation", 1, self )); } - arg1 = (svn_patch_t *)(argp1); + arg1 = (struct svn_patch_t *)(argp1); result = (svn_diff_operation_kind_t) ((arg1)->operation); vresult = SWIG_From_int((int)(result)); return vresult; @@ -34260,7 +38991,7 @@ fail: SWIGINTERN VALUE _wrap_svn_patch_t_reverse_set(int argc, VALUE *argv, VALUE self) { - svn_patch_t *arg1 = (svn_patch_t *) 0 ; + struct svn_patch_t *arg1 = (struct svn_patch_t *) 0 ; svn_boolean_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -34270,9 +39001,9 @@ _wrap_svn_patch_t_reverse_set(int argc, VALUE *argv, VALUE self) { } 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( "", "svn_patch_t *","reverse", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_patch_t *","reverse", 1, self )); } - arg1 = (svn_patch_t *)(argp1); + arg1 = (struct svn_patch_t *)(argp1); arg2 = RTEST(argv[0]); if (arg1) (arg1)->reverse = arg2; return Qnil; @@ -34283,7 +39014,7 @@ fail: SWIGINTERN VALUE _wrap_svn_patch_t_reverse_get(int argc, VALUE *argv, VALUE self) { - svn_patch_t *arg1 = (svn_patch_t *) 0 ; + struct svn_patch_t *arg1 = (struct svn_patch_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; svn_boolean_t result; @@ -34294,9 +39025,9 @@ _wrap_svn_patch_t_reverse_get(int argc, VALUE *argv, VALUE self) { } 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( "", "svn_patch_t *","reverse", 1, self )); + SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_patch_t *","reverse", 1, self )); } - arg1 = (svn_patch_t *)(argp1); + arg1 = (struct svn_patch_t *)(argp1); result = (svn_boolean_t) ((arg1)->reverse); vresult = result ? Qtrue : Qfalse; return vresult; @@ -34324,13 +39055,13 @@ _wrap_svn_patch_t_allocate(VALUE self) { SWIGINTERN VALUE _wrap_new_svn_patch_t(int argc, VALUE *argv, VALUE self) { - svn_patch_t *result = 0 ; + struct svn_patch_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } { - result = (svn_patch_t *)calloc(1, sizeof(svn_patch_t)); + result = (struct svn_patch_t *)calloc(1, sizeof(struct svn_patch_t)); DATA_PTR(self) = result; @@ -34343,7 +39074,7 @@ fail: SWIGINTERN void -free_svn_patch_t(svn_patch_t *arg1) { +free_svn_patch_t(struct svn_patch_t *arg1) { free((char *) arg1); } @@ -34393,13 +39124,7 @@ _wrap_svn_diff_open_patch_file(int argc, VALUE *argv, VALUE self) { vresult = Qnil; } { - /* FIXME: Missing argout typemap: svn_diff_open_patch_file arg 1 (svn_patch_file_t **) */ - - - - - SWIG_exception(SWIG_ValueError, "svn_diff_open_patch_file is not implemented yet"); - + vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_patch_file_t, 0)); } if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); { @@ -34481,13 +39206,7 @@ _wrap_svn_diff_parse_next_patch(int argc, VALUE *argv, VALUE self) { vresult = Qnil; } { - /* FIXME: Missing argout typemap: svn_diff_parse_next_patch arg 1 (svn_patch_t **) */ - - - - - SWIG_exception(SWIG_ValueError, "svn_diff_parse_next_patch is not implemented yet"); - + vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_patch_t, 0)); } { VALUE target; @@ -36040,12 +40759,12 @@ fail: SWIGINTERN VALUE _wrap_svn_swig_rangelist_merge(int argc, VALUE *argv, VALUE self) { - apr_array_header_t **arg1 = (apr_array_header_t **) 0 ; - apr_array_header_t *arg2 = (apr_array_header_t *) 0 ; + svn_rangelist_t **arg1 = (svn_rangelist_t **) 0 ; + svn_rangelist_t *arg2 = (svn_rangelist_t *) 0 ; apr_pool_t *arg3 = (apr_pool_t *) 0 ; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; - apr_array_header_t *temp1 ; + svn_rangelist_t *temp1 ; svn_error_t *result = 0 ; VALUE vresult = Qnil; @@ -36106,11 +40825,11 @@ fail: SWIGINTERN VALUE _wrap_svn_swig_rangelist_reverse(int argc, VALUE *argv, VALUE self) { - apr_array_header_t **arg1 = (apr_array_header_t **) 0 ; + svn_rangelist_t **arg1 = (svn_rangelist_t **) 0 ; apr_pool_t *arg2 = (apr_pool_t *) 0 ; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; - apr_array_header_t *temp1 ; + svn_rangelist_t *temp1 ; svn_error_t *result = 0 ; VALUE vresult = Qnil; @@ -36171,7 +40890,7 @@ fail: static swig_type_info _swigt__p_FILE = {"_p_FILE", "FILE *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_apr_allocator_t = {"_p_apr_allocator_t", "apr_allocator_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_apr_array_header_t = {"_p_apr_array_header_t", "apr_array_header_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_apr_array_header_t = {"_p_apr_array_header_t", "apr_array_header_t *|svn_rangelist_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_apr_dir_t = {"_p_apr_dir_t", "apr_dir_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_apr_file_t = {"_p_apr_file_t", "apr_file_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_apr_finfo_t = {"_p_apr_finfo_t", "apr_finfo_t *", 0, 0, (void*)0, 0}; @@ -36190,12 +40909,14 @@ static swig_type_info _swigt__p_apr_uint32_t = {"_p_apr_uint32_t", "apr_uint32_t static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t", "svn_opt_subcommand_t *|struct svn_error_t *(*)(apr_getopt_t *,void *,apr_pool_t *)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_apr_uint32_t_p_p_void_p_void_svn_diff_datasource_e__p_svn_error_t = {"_p_f_p_apr_uint32_t_p_p_void_p_void_svn_diff_datasource_e__p_svn_error_t", "struct svn_error_t *(*)(apr_uint32_t *,void **,void *,svn_diff_datasource_e)|svn_error_t *(*)(apr_uint32_t *,void **,void *,svn_diff_datasource_e)", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_f_p_p_char_p_q_const__char_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_char_p_q_const__char_p_void_p_apr_pool_t__p_svn_error_t", "svn_auth_gnome_keyring_unlock_prompt_func_t|struct svn_error_t *(*)(char **,char const *,void *,apr_pool_t *)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_p_struct_svn_auth_provider_object_t_p_apr_pool_t__void = {"_p_f_p_p_struct_svn_auth_provider_object_t_p_apr_pool_t__void", "svn_auth_simple_provider_func_t|svn_auth_ssl_client_cert_pw_provider_func_t|void (*)(struct svn_auth_provider_object_t **,apr_pool_t *)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__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 = {"_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", "svn_auth_simple_prompt_func_t|struct svn_error_t *(*)(svn_auth_cred_simple_t **,void *,char const *,char const *,svn_boolean_t,apr_pool_t *)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_p_svn_auth_cred_ssl_client_cert_pw_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_svn_auth_cred_ssl_client_cert_pw_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t", "svn_auth_ssl_client_cert_pw_prompt_func_t|struct svn_error_t *(*)(svn_auth_cred_ssl_client_cert_pw_t **,void *,char const *,svn_boolean_t,apr_pool_t *)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_p_svn_auth_cred_ssl_client_cert_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_svn_auth_cred_ssl_client_cert_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t", "svn_auth_ssl_client_cert_prompt_func_t|struct svn_error_t *(*)(svn_auth_cred_ssl_client_cert_t **,void *,char const *,svn_boolean_t,apr_pool_t *)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_p_svn_auth_cred_ssl_server_trust_t_p_void_p_q_const__char_apr_uint32_t_p_q_const__svn_auth_ssl_server_cert_info_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_svn_auth_cred_ssl_server_trust_t_p_void_p_q_const__char_apr_uint32_t_p_q_const__svn_auth_ssl_server_cert_info_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(svn_auth_cred_ssl_server_trust_t **,void *,char const *,apr_uint32_t,svn_auth_ssl_server_cert_info_t const *,svn_boolean_t,apr_pool_t *)|svn_auth_ssl_server_trust_prompt_func_t", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_p_svn_auth_cred_username_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_svn_auth_cred_username_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(svn_auth_cred_username_t **,void *,char const *,svn_boolean_t,apr_pool_t *)|svn_auth_username_prompt_func_t", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_f_p_p_svn_stream_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_svn_stream_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(svn_stream_t **,void *,apr_pool_t *,apr_pool_t *)|svn_stream_lazyopen_func_t", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_p_void_p_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_void_p_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(void **,void **,void *,apr_hash_t *,char const *,apr_pool_t *)|svn_error_t *(*)(void **,void **,void *,apr_hash_t *,char const *,apr_pool_t *)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_p_void_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_p_void_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(void **,void *,void *,apr_hash_t *,char const *,apr_pool_t *)|struct svn_error_t *(*)(void **,void *,void *,apr_hash_t *,char const *,apr_pool_t *)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_q_const__char_p_q_const__char_p_void__int = {"_p_f_p_q_const__char_p_q_const__char_p_void__int", "svn_config_enumerator_t|int (*)(char const *,char const *,void *)", 0, 0, (void*)0, 0}; @@ -36204,6 +40925,7 @@ static swig_type_info _swigt__p_f_p_q_const__char_p_void__int = {"_p_f_p_q_const 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__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}; static swig_type_info _swigt__p_f_p_svn_boolean_t_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t = {"_p_f_p_svn_boolean_t_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t", "svn_error_t *(*)(svn_boolean_t *,void *,void *,apr_hash_t *,char const *,apr_pool_t *)|struct svn_error_t *(*)(svn_boolean_t *,void *,void *,apr_hash_t *,char const *,apr_pool_t *)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_svn_location_segment_t_p_void_p_apr_pool_t__p_svn_error_t = {"_p_f_p_svn_location_segment_t_p_void_p_apr_pool_t__p_svn_error_t", "struct svn_error_t *(*)(svn_location_segment_t *,void *,apr_pool_t *)|svn_location_segment_receiver_t", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_void__p_svn_error_t = {"_p_f_p_void__p_svn_error_t", "svn_cancel_func_t|svn_close_fn_t|struct svn_error_t *(*)(void *)", 0, 0, (void*)0, 0}; @@ -36226,10 +40948,11 @@ static swig_type_info _swigt__p_f_svn_revnum_t_p_q_const__char_p_q_const__char_p static swig_type_info _swigt__p_f_void__p_svn_version_t = {"_p_f_void__p_svn_version_t", "svn_version_func_t|struct svn_version_t *(*)(void)|svn_version_t *(*)(void)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_int = {"_p_int", "int *|svn_boolean_t *|apr_status_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_long = {"_p_long", "long *|svn_revnum_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_apr_array_header_t = {"_p_p_apr_array_header_t", "apr_array_header_t **", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_p_apr_array_header_t = {"_p_p_apr_array_header_t", "apr_array_header_t **|svn_rangelist_t **", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_p_apr_file_t = {"_p_p_apr_file_t", "apr_file_t **", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_p_apr_hash_t = {"_p_p_apr_hash_t", "apr_hash_t **|svn_mergeinfo_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_p_svn_auth_baton_t = {"_p_p_svn_auth_baton_t", "struct svn_auth_baton_t **|svn_auth_baton_t **", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_p_svn_auth_cred_simple_t = {"_p_p_svn_auth_cred_simple_t", "struct svn_auth_cred_simple_t **|svn_auth_cred_simple_t **", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_p_svn_auth_cred_ssl_client_cert_pw_t = {"_p_p_svn_auth_cred_ssl_client_cert_pw_t", "struct svn_auth_cred_ssl_client_cert_pw_t **|svn_auth_cred_ssl_client_cert_pw_t **", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_p_svn_auth_cred_ssl_client_cert_t = {"_p_p_svn_auth_cred_ssl_client_cert_t", "struct svn_auth_cred_ssl_client_cert_t **|svn_auth_cred_ssl_client_cert_t **", 0, 0, (void*)0, 0}; @@ -36237,7 +40960,7 @@ static swig_type_info _swigt__p_p_svn_auth_cred_ssl_server_trust_t = {"_p_p_svn_ static swig_type_info _swigt__p_p_svn_auth_cred_username_t = {"_p_p_svn_auth_cred_username_t", "struct svn_auth_cred_username_t **|svn_auth_cred_username_t **", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_p_svn_auth_iterstate_t = {"_p_p_svn_auth_iterstate_t", "struct svn_auth_iterstate_t **|svn_auth_iterstate_t **", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_p_svn_auth_provider_object_t = {"_p_p_svn_auth_provider_object_t", "struct svn_auth_provider_object_t **|svn_auth_provider_object_t **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_svn_checksum_t = {"_p_p_svn_checksum_t", "svn_checksum_t **", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_p_svn_checksum_t = {"_p_p_svn_checksum_t", "struct svn_checksum_t **|svn_checksum_t **", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_p_svn_config_t = {"_p_p_svn_config_t", "struct svn_config_t **|svn_config_t **", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_p_svn_diff_t = {"_p_p_svn_diff_t", "struct svn_diff_t **|svn_diff_t **", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_p_svn_io_dirent2_t = {"_p_p_svn_io_dirent2_t", "struct svn_io_dirent2_t **|svn_io_dirent2_t **", 0, 0, (void*)0, 0}; @@ -36258,7 +40981,9 @@ static swig_type_info _swigt__p_svn_auth_iterstate_t = {"_p_svn_auth_iterstate_t static swig_type_info _swigt__p_svn_auth_provider_object_t = {"_p_svn_auth_provider_object_t", "struct svn_auth_provider_object_t *|svn_auth_provider_object_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_svn_auth_provider_t = {"_p_svn_auth_provider_t", "struct svn_auth_provider_t *|svn_auth_provider_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_svn_auth_ssl_server_cert_info_t = {"_p_svn_auth_ssl_server_cert_info_t", "struct svn_auth_ssl_server_cert_info_t *|svn_auth_ssl_server_cert_info_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_svn_checksum_kind_t = {"_p_svn_checksum_kind_t", "svn_checksum_kind_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_svn_checksum_ctx_t = {"_p_svn_checksum_ctx_t", "struct svn_checksum_ctx_t *|svn_checksum_ctx_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_svn_checksum_kind_t = {"_p_svn_checksum_kind_t", "enum svn_checksum_kind_t *|svn_checksum_kind_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_svn_checksum_t = {"_p_svn_checksum_t", "struct svn_checksum_t *|svn_checksum_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_svn_commit_info_t = {"_p_svn_commit_info_t", "struct svn_commit_info_t *|svn_commit_info_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_svn_config_t = {"_p_svn_config_t", "struct svn_config_t *|svn_config_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_svn_depth_t = {"_p_svn_depth_t", "enum svn_depth_t *|svn_depth_t *", 0, 0, (void*)0, 0}; @@ -36294,6 +41019,7 @@ static swig_type_info _swigt__p_svn_opt_subcommand_desc2_t_desc_overrides = {"_p static swig_type_info _swigt__p_svn_opt_subcommand_desc_t = {"_p_svn_opt_subcommand_desc_t", "struct svn_opt_subcommand_desc_t *|svn_opt_subcommand_desc_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_svn_patch_file_t = {"_p_svn_patch_file_t", "struct svn_patch_file_t *|svn_patch_file_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_svn_patch_t = {"_p_svn_patch_t", "struct svn_patch_t *|svn_patch_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_svn_prop_inherited_item_t = {"_p_svn_prop_inherited_item_t", "struct svn_prop_inherited_item_t *|svn_prop_inherited_item_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_svn_prop_kind = {"_p_svn_prop_kind", "svn_prop_kind_t *|enum svn_prop_kind *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_svn_prop_patch_t = {"_p_svn_prop_patch_t", "struct svn_prop_patch_t *|svn_prop_patch_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_svn_prop_t = {"_p_svn_prop_t", "struct svn_prop_t *|svn_prop_t *", 0, 0, (void*)0, 0}; @@ -36303,6 +41029,9 @@ static swig_type_info _swigt__p_svn_string_t = {"_p_svn_string_t", "struct svn_s static swig_type_info _swigt__p_svn_stringbuf_t = {"_p_svn_stringbuf_t", "struct svn_stringbuf_t *|svn_stringbuf_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_svn_tristate_t = {"_p_svn_tristate_t", "enum svn_tristate_t *|svn_tristate_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_svn_version_checklist_t = {"_p_svn_version_checklist_t", "struct svn_version_checklist_t *|svn_version_checklist_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_svn_version_ext_linked_lib_t = {"_p_svn_version_ext_linked_lib_t", "struct svn_version_ext_linked_lib_t *|svn_version_ext_linked_lib_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_svn_version_ext_loaded_lib_t = {"_p_svn_version_ext_loaded_lib_t", "struct svn_version_ext_loaded_lib_t *|svn_version_ext_loaded_lib_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_svn_version_extended_t = {"_p_svn_version_extended_t", "struct svn_version_extended_t *|svn_version_extended_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_svn_version_t = {"_p_svn_version_t", "struct svn_version_t *|svn_version_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|svn_linenum_t *", 0, 0, (void*)0, 0}; @@ -36330,12 +41059,14 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_char, &_swigt__p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t, &_swigt__p_f_p_apr_uint32_t_p_p_void_p_void_svn_diff_datasource_e__p_svn_error_t, + &_swigt__p_f_p_p_char_p_q_const__char_p_void_p_apr_pool_t__p_svn_error_t, &_swigt__p_f_p_p_struct_svn_auth_provider_object_t_p_apr_pool_t__void, &_swigt__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, &_swigt__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, &_swigt__p_f_p_p_svn_auth_cred_ssl_client_cert_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t, &_swigt__p_f_p_p_svn_auth_cred_ssl_server_trust_t_p_void_p_q_const__char_apr_uint32_t_p_q_const__svn_auth_ssl_server_cert_info_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t, &_swigt__p_f_p_p_svn_auth_cred_username_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t, + &_swigt__p_f_p_p_svn_stream_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t, &_swigt__p_f_p_p_void_p_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t, &_swigt__p_f_p_p_void_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t, &_swigt__p_f_p_q_const__char_p_q_const__char_p_void__int, @@ -36344,6 +41075,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_f_p_q_const__char_p_void_p_apr_pool_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, &_swigt__p_f_p_svn_boolean_t_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t, &_swigt__p_f_p_svn_location_segment_t_p_void_p_apr_pool_t__p_svn_error_t, &_swigt__p_f_p_void__p_svn_error_t, @@ -36370,6 +41102,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_p_apr_file_t, &_swigt__p_p_apr_hash_t, &_swigt__p_p_char, + &_swigt__p_p_svn_auth_baton_t, &_swigt__p_p_svn_auth_cred_simple_t, &_swigt__p_p_svn_auth_cred_ssl_client_cert_pw_t, &_swigt__p_p_svn_auth_cred_ssl_client_cert_t, @@ -36398,7 +41131,9 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_svn_auth_provider_object_t, &_swigt__p_svn_auth_provider_t, &_swigt__p_svn_auth_ssl_server_cert_info_t, + &_swigt__p_svn_checksum_ctx_t, &_swigt__p_svn_checksum_kind_t, + &_swigt__p_svn_checksum_t, &_swigt__p_svn_commit_info_t, &_swigt__p_svn_config_t, &_swigt__p_svn_depth_t, @@ -36434,6 +41169,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_svn_opt_subcommand_desc_t, &_swigt__p_svn_patch_file_t, &_swigt__p_svn_patch_t, + &_swigt__p_svn_prop_inherited_item_t, &_swigt__p_svn_prop_kind, &_swigt__p_svn_prop_patch_t, &_swigt__p_svn_prop_t, @@ -36443,6 +41179,9 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_svn_stringbuf_t, &_swigt__p_svn_tristate_t, &_swigt__p_svn_version_checklist_t, + &_swigt__p_svn_version_ext_linked_lib_t, + &_swigt__p_svn_version_ext_loaded_lib_t, + &_swigt__p_svn_version_extended_t, &_swigt__p_svn_version_t, &_swigt__p_unsigned_char, &_swigt__p_unsigned_long, @@ -36470,12 +41209,14 @@ static swig_cast_info _swigc__p_apr_uint32_t[] = { {&_swigt__p_apr_uint32_t, 0, static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_apr_uint32_t_p_p_void_p_void_svn_diff_datasource_e__p_svn_error_t[] = { {&_swigt__p_f_p_apr_uint32_t_p_p_void_p_void_svn_diff_datasource_e__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_p_p_char_p_q_const__char_p_void_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_p_char_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_p_struct_svn_auth_provider_object_t_p_apr_pool_t__void[] = { {&_swigt__p_f_p_p_struct_svn_auth_provider_object_t_p_apr_pool_t__void, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__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[] = { {&_swigt__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, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__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[] = { {&_swigt__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, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_p_svn_auth_cred_ssl_client_cert_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_p_svn_auth_cred_ssl_client_cert_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_p_svn_auth_cred_ssl_server_trust_t_p_void_p_q_const__char_apr_uint32_t_p_q_const__svn_auth_ssl_server_cert_info_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_p_svn_auth_cred_ssl_server_trust_t_p_void_p_q_const__char_apr_uint32_t_p_q_const__svn_auth_ssl_server_cert_info_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_p_svn_auth_cred_username_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_p_svn_auth_cred_username_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_p_p_svn_stream_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_p_svn_stream_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_p_void_p_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_p_void_p_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_p_void_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_p_void_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_q_const__char_p_q_const__char_p_void__int[] = { {&_swigt__p_f_p_q_const__char_p_q_const__char_p_void__int, 0, 0, 0},{0, 0, 0, 0}}; @@ -36484,6 +41225,7 @@ static swig_cast_info _swigc__p_f_p_q_const__char_p_void__int[] = { {&_swigt__p 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__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}}; static swig_cast_info _swigc__p_f_p_svn_boolean_t_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_svn_boolean_t_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_svn_location_segment_t_p_void_p_apr_pool_t__p_svn_error_t[] = { {&_swigt__p_f_p_svn_location_segment_t_p_void_p_apr_pool_t__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_void__p_svn_error_t[] = { {&_swigt__p_f_p_void__p_svn_error_t, 0, 0, 0},{0, 0, 0, 0}}; @@ -36510,6 +41252,7 @@ static swig_cast_info _swigc__p_p_apr_array_header_t[] = { {&_swigt__p_p_apr_ar static swig_cast_info _swigc__p_p_apr_file_t[] = { {&_swigt__p_p_apr_file_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_apr_hash_t[] = { {&_swigt__p_p_apr_hash_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_char[] = { {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_p_svn_auth_baton_t[] = { {&_swigt__p_p_svn_auth_baton_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_svn_auth_cred_simple_t[] = { {&_swigt__p_p_svn_auth_cred_simple_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_svn_auth_cred_ssl_client_cert_pw_t[] = { {&_swigt__p_p_svn_auth_cred_ssl_client_cert_pw_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_svn_auth_cred_ssl_client_cert_t[] = { {&_swigt__p_p_svn_auth_cred_ssl_client_cert_t, 0, 0, 0},{0, 0, 0, 0}}; @@ -36538,7 +41281,9 @@ static swig_cast_info _swigc__p_svn_auth_iterstate_t[] = { {&_swigt__p_svn_auth static swig_cast_info _swigc__p_svn_auth_provider_object_t[] = { {&_swigt__p_svn_auth_provider_object_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_svn_auth_provider_t[] = { {&_swigt__p_svn_auth_provider_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_svn_auth_ssl_server_cert_info_t[] = { {&_swigt__p_svn_auth_ssl_server_cert_info_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_svn_checksum_ctx_t[] = { {&_swigt__p_svn_checksum_ctx_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_svn_checksum_kind_t[] = { {&_swigt__p_svn_checksum_kind_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_svn_checksum_t[] = { {&_swigt__p_svn_checksum_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_svn_commit_info_t[] = { {&_swigt__p_svn_commit_info_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_svn_config_t[] = { {&_swigt__p_svn_config_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_svn_depth_t[] = { {&_swigt__p_svn_depth_t, 0, 0, 0},{0, 0, 0, 0}}; @@ -36574,6 +41319,7 @@ static swig_cast_info _swigc__p_svn_opt_subcommand_desc2_t_desc_overrides[] = { static swig_cast_info _swigc__p_svn_opt_subcommand_desc_t[] = { {&_swigt__p_svn_opt_subcommand_desc_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_svn_patch_file_t[] = { {&_swigt__p_svn_patch_file_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_svn_patch_t[] = { {&_swigt__p_svn_patch_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_svn_prop_inherited_item_t[] = { {&_swigt__p_svn_prop_inherited_item_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_svn_prop_kind[] = { {&_swigt__p_svn_prop_kind, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_svn_prop_patch_t[] = { {&_swigt__p_svn_prop_patch_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_svn_prop_t[] = { {&_swigt__p_svn_prop_t, 0, 0, 0},{0, 0, 0, 0}}; @@ -36583,6 +41329,9 @@ static swig_cast_info _swigc__p_svn_string_t[] = { {&_swigt__p_svn_string_t, 0, static swig_cast_info _swigc__p_svn_stringbuf_t[] = { {&_swigt__p_svn_stringbuf_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_svn_tristate_t[] = { {&_swigt__p_svn_tristate_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_svn_version_checklist_t[] = { {&_swigt__p_svn_version_checklist_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_svn_version_ext_linked_lib_t[] = { {&_swigt__p_svn_version_ext_linked_lib_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_svn_version_ext_loaded_lib_t[] = { {&_swigt__p_svn_version_ext_loaded_lib_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_svn_version_extended_t[] = { {&_swigt__p_svn_version_extended_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_svn_version_t[] = { {&_swigt__p_svn_version_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; @@ -36610,12 +41359,14 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_char, _swigc__p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t, _swigc__p_f_p_apr_uint32_t_p_p_void_p_void_svn_diff_datasource_e__p_svn_error_t, + _swigc__p_f_p_p_char_p_q_const__char_p_void_p_apr_pool_t__p_svn_error_t, _swigc__p_f_p_p_struct_svn_auth_provider_object_t_p_apr_pool_t__void, _swigc__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, _swigc__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, _swigc__p_f_p_p_svn_auth_cred_ssl_client_cert_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t, _swigc__p_f_p_p_svn_auth_cred_ssl_server_trust_t_p_void_p_q_const__char_apr_uint32_t_p_q_const__svn_auth_ssl_server_cert_info_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t, _swigc__p_f_p_p_svn_auth_cred_username_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t, + _swigc__p_f_p_p_svn_stream_t_p_void_p_apr_pool_t_p_apr_pool_t__p_svn_error_t, _swigc__p_f_p_p_void_p_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t, _swigc__p_f_p_p_void_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t, _swigc__p_f_p_q_const__char_p_q_const__char_p_void__int, @@ -36624,6 +41375,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_f_p_q_const__char_p_void_p_apr_pool_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, _swigc__p_f_p_svn_boolean_t_p_void_p_void_p_apr_hash_t_p_q_const__char_p_apr_pool_t__p_svn_error_t, _swigc__p_f_p_svn_location_segment_t_p_void_p_apr_pool_t__p_svn_error_t, _swigc__p_f_p_void__p_svn_error_t, @@ -36650,6 +41402,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_p_apr_file_t, _swigc__p_p_apr_hash_t, _swigc__p_p_char, + _swigc__p_p_svn_auth_baton_t, _swigc__p_p_svn_auth_cred_simple_t, _swigc__p_p_svn_auth_cred_ssl_client_cert_pw_t, _swigc__p_p_svn_auth_cred_ssl_client_cert_t, @@ -36678,7 +41431,9 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_svn_auth_provider_object_t, _swigc__p_svn_auth_provider_t, _swigc__p_svn_auth_ssl_server_cert_info_t, + _swigc__p_svn_checksum_ctx_t, _swigc__p_svn_checksum_kind_t, + _swigc__p_svn_checksum_t, _swigc__p_svn_commit_info_t, _swigc__p_svn_config_t, _swigc__p_svn_depth_t, @@ -36714,6 +41469,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_svn_opt_subcommand_desc_t, _swigc__p_svn_patch_file_t, _swigc__p_svn_patch_t, + _swigc__p_svn_prop_inherited_item_t, _swigc__p_svn_prop_kind, _swigc__p_svn_prop_patch_t, _swigc__p_svn_prop_t, @@ -36723,6 +41479,9 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_svn_stringbuf_t, _swigc__p_svn_tristate_t, _swigc__p_svn_version_checklist_t, + _swigc__p_svn_version_ext_linked_lib_t, + _swigc__p_svn_version_ext_loaded_lib_t, + _swigc__p_svn_version_extended_t, _swigc__p_svn_version_t, _swigc__p_unsigned_char, _swigc__p_unsigned_long, @@ -36791,8 +41550,6 @@ SWIG_InitializeModule(void *clientdata) { swig_module_info *module_head, *iter; int found, init; - clientdata = clientdata; - /* check to see if the circular list has been setup, if not, set it up */ if (swig_module.next==0) { /* Initialize the swig_module */ @@ -37015,6 +41772,7 @@ SWIGEXPORT void Init_core(void) { rb_define_const(mCore, "SVN_ERR_BAD_CHECKSUM_PARSE", SWIG_From_int((int)(SVN_ERR_BAD_CHECKSUM_PARSE))); 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_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))); @@ -37081,6 +41839,8 @@ SWIGEXPORT void Init_core(void) { rb_define_const(mCore, "SVN_ERR_WC_CLEANUP_REQUIRED", SWIG_From_int((int)(SVN_ERR_WC_CLEANUP_REQUIRED))); rb_define_const(mCore, "SVN_ERR_WC_INVALID_OPERATION_DEPTH", SWIG_From_int((int)(SVN_ERR_WC_INVALID_OPERATION_DEPTH))); rb_define_const(mCore, "SVN_ERR_WC_PATH_ACCESS_DENIED", SWIG_From_int((int)(SVN_ERR_WC_PATH_ACCESS_DENIED))); + rb_define_const(mCore, "SVN_ERR_WC_MIXED_REVISIONS", SWIG_From_int((int)(SVN_ERR_WC_MIXED_REVISIONS))); + rb_define_const(mCore, "SVN_ERR_WC_DUPLICATE_EXTERNALS_TARGET", SWIG_From_int((int)(SVN_ERR_WC_DUPLICATE_EXTERNALS_TARGET))); rb_define_const(mCore, "SVN_ERR_FS_GENERAL", SWIG_From_int((int)(SVN_ERR_FS_GENERAL))); rb_define_const(mCore, "SVN_ERR_FS_CLEANUP", SWIG_From_int((int)(SVN_ERR_FS_CLEANUP))); rb_define_const(mCore, "SVN_ERR_FS_ALREADY_OPEN", SWIG_From_int((int)(SVN_ERR_FS_ALREADY_OPEN))); @@ -37131,6 +41891,9 @@ SWIGEXPORT void Init_core(void) { rb_define_const(mCore, "SVN_ERR_FS_UNSUPPORTED_UPGRADE", SWIG_From_int((int)(SVN_ERR_FS_UNSUPPORTED_UPGRADE))); rb_define_const(mCore, "SVN_ERR_FS_NO_SUCH_CHECKSUM_REP", SWIG_From_int((int)(SVN_ERR_FS_NO_SUCH_CHECKSUM_REP))); rb_define_const(mCore, "SVN_ERR_FS_PROP_BASEVALUE_MISMATCH", SWIG_From_int((int)(SVN_ERR_FS_PROP_BASEVALUE_MISMATCH))); + 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_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))); @@ -37154,6 +41917,7 @@ SWIGEXPORT void Init_core(void) { rb_define_const(mCore, "SVN_ERR_RA_UUID_MISMATCH", SWIG_From_int((int)(SVN_ERR_RA_UUID_MISMATCH))); 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_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))); @@ -37170,36 +41934,12 @@ SWIGEXPORT void Init_core(void) { 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_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_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))); - rb_define_const(mCore, "SVN_ERR_RA_SVN_IO_ERROR", SWIG_From_int((int)(SVN_ERR_RA_SVN_IO_ERROR))); - rb_define_const(mCore, "SVN_ERR_RA_SVN_MALFORMED_DATA", SWIG_From_int((int)(SVN_ERR_RA_SVN_MALFORMED_DATA))); - rb_define_const(mCore, "SVN_ERR_RA_SVN_REPOS_NOT_FOUND", SWIG_From_int((int)(SVN_ERR_RA_SVN_REPOS_NOT_FOUND))); - rb_define_const(mCore, "SVN_ERR_RA_SVN_BAD_VERSION", SWIG_From_int((int)(SVN_ERR_RA_SVN_BAD_VERSION))); - rb_define_const(mCore, "SVN_ERR_RA_SVN_NO_MECHANISMS", SWIG_From_int((int)(SVN_ERR_RA_SVN_NO_MECHANISMS))); - rb_define_const(mCore, "SVN_ERR_RA_SVN_EDIT_ABORTED", SWIG_From_int((int)(SVN_ERR_RA_SVN_EDIT_ABORTED))); - rb_define_const(mCore, "SVN_ERR_RA_SERF_SSPI_INITIALISATION_FAILED", SWIG_From_int((int)(SVN_ERR_RA_SERF_SSPI_INITIALISATION_FAILED))); - rb_define_const(mCore, "SVN_ERR_RA_SERF_SSL_CERT_UNTRUSTED", SWIG_From_int((int)(SVN_ERR_RA_SERF_SSL_CERT_UNTRUSTED))); - rb_define_const(mCore, "SVN_ERR_RA_SERF_GSSAPI_INITIALISATION_FAILED", SWIG_From_int((int)(SVN_ERR_RA_SERF_GSSAPI_INITIALISATION_FAILED))); - 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_AUTHN_CREDS_UNAVAILABLE", SWIG_From_int((int)(SVN_ERR_AUTHN_CREDS_UNAVAILABLE))); - rb_define_const(mCore, "SVN_ERR_AUTHN_NO_PROVIDER", SWIG_From_int((int)(SVN_ERR_AUTHN_NO_PROVIDER))); - rb_define_const(mCore, "SVN_ERR_AUTHN_PROVIDERS_EXHAUSTED", SWIG_From_int((int)(SVN_ERR_AUTHN_PROVIDERS_EXHAUSTED))); - rb_define_const(mCore, "SVN_ERR_AUTHN_CREDS_NOT_SAVED", SWIG_From_int((int)(SVN_ERR_AUTHN_CREDS_NOT_SAVED))); - rb_define_const(mCore, "SVN_ERR_AUTHN_FAILED", SWIG_From_int((int)(SVN_ERR_AUTHN_FAILED))); - rb_define_const(mCore, "SVN_ERR_AUTHZ_ROOT_UNREADABLE", SWIG_From_int((int)(SVN_ERR_AUTHZ_ROOT_UNREADABLE))); - rb_define_const(mCore, "SVN_ERR_AUTHZ_UNREADABLE", SWIG_From_int((int)(SVN_ERR_AUTHZ_UNREADABLE))); - rb_define_const(mCore, "SVN_ERR_AUTHZ_PARTIALLY_READABLE", SWIG_From_int((int)(SVN_ERR_AUTHZ_PARTIALLY_READABLE))); - rb_define_const(mCore, "SVN_ERR_AUTHZ_INVALID_CONFIG", SWIG_From_int((int)(SVN_ERR_AUTHZ_INVALID_CONFIG))); - rb_define_const(mCore, "SVN_ERR_AUTHZ_UNWRITABLE", SWIG_From_int((int)(SVN_ERR_AUTHZ_UNWRITABLE))); rb_define_const(mCore, "SVN_ERR_SVNDIFF_INVALID_HEADER", SWIG_From_int((int)(SVN_ERR_SVNDIFF_INVALID_HEADER))); rb_define_const(mCore, "SVN_ERR_SVNDIFF_CORRUPT_WINDOW", SWIG_From_int((int)(SVN_ERR_SVNDIFF_CORRUPT_WINDOW))); rb_define_const(mCore, "SVN_ERR_SVNDIFF_BACKWARD_VIEW", SWIG_From_int((int)(SVN_ERR_SVNDIFF_BACKWARD_VIEW))); rb_define_const(mCore, "SVN_ERR_SVNDIFF_INVALID_OPS", SWIG_From_int((int)(SVN_ERR_SVNDIFF_INVALID_OPS))); rb_define_const(mCore, "SVN_ERR_SVNDIFF_UNEXPECTED_END", SWIG_From_int((int)(SVN_ERR_SVNDIFF_UNEXPECTED_END))); rb_define_const(mCore, "SVN_ERR_SVNDIFF_INVALID_COMPRESSED_DATA", SWIG_From_int((int)(SVN_ERR_SVNDIFF_INVALID_COMPRESSED_DATA))); - rb_define_const(mCore, "SVN_ERR_DIFF_DATASOURCE_MODIFIED", SWIG_From_int((int)(SVN_ERR_DIFF_DATASOURCE_MODIFIED))); rb_define_const(mCore, "SVN_ERR_APMOD_MISSING_PATH_TO_FS", SWIG_From_int((int)(SVN_ERR_APMOD_MISSING_PATH_TO_FS))); rb_define_const(mCore, "SVN_ERR_APMOD_MALFORMED_URI", SWIG_From_int((int)(SVN_ERR_APMOD_MALFORMED_URI))); rb_define_const(mCore, "SVN_ERR_APMOD_ACTIVITY_NOT_FOUND", SWIG_From_int((int)(SVN_ERR_APMOD_ACTIVITY_NOT_FOUND))); @@ -37265,6 +42005,9 @@ SWIGEXPORT void Init_core(void) { rb_define_const(mCore, "SVN_ERR_SQLITE_BUSY", SWIG_From_int((int)(SVN_ERR_SQLITE_BUSY))); rb_define_const(mCore, "SVN_ERR_SQLITE_RESETTING_FOR_ROLLBACK", SWIG_From_int((int)(SVN_ERR_SQLITE_RESETTING_FOR_ROLLBACK))); rb_define_const(mCore, "SVN_ERR_SQLITE_CONSTRAINT", SWIG_From_int((int)(SVN_ERR_SQLITE_CONSTRAINT))); + 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_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))); @@ -37277,6 +42020,30 @@ 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_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))); + rb_define_const(mCore, "SVN_ERR_RA_SVN_IO_ERROR", SWIG_From_int((int)(SVN_ERR_RA_SVN_IO_ERROR))); + rb_define_const(mCore, "SVN_ERR_RA_SVN_MALFORMED_DATA", SWIG_From_int((int)(SVN_ERR_RA_SVN_MALFORMED_DATA))); + rb_define_const(mCore, "SVN_ERR_RA_SVN_REPOS_NOT_FOUND", SWIG_From_int((int)(SVN_ERR_RA_SVN_REPOS_NOT_FOUND))); + rb_define_const(mCore, "SVN_ERR_RA_SVN_BAD_VERSION", SWIG_From_int((int)(SVN_ERR_RA_SVN_BAD_VERSION))); + rb_define_const(mCore, "SVN_ERR_RA_SVN_NO_MECHANISMS", SWIG_From_int((int)(SVN_ERR_RA_SVN_NO_MECHANISMS))); + rb_define_const(mCore, "SVN_ERR_RA_SVN_EDIT_ABORTED", SWIG_From_int((int)(SVN_ERR_RA_SVN_EDIT_ABORTED))); + rb_define_const(mCore, "SVN_ERR_AUTHN_CREDS_UNAVAILABLE", SWIG_From_int((int)(SVN_ERR_AUTHN_CREDS_UNAVAILABLE))); + rb_define_const(mCore, "SVN_ERR_AUTHN_NO_PROVIDER", SWIG_From_int((int)(SVN_ERR_AUTHN_NO_PROVIDER))); + rb_define_const(mCore, "SVN_ERR_AUTHN_PROVIDERS_EXHAUSTED", SWIG_From_int((int)(SVN_ERR_AUTHN_PROVIDERS_EXHAUSTED))); + rb_define_const(mCore, "SVN_ERR_AUTHN_CREDS_NOT_SAVED", SWIG_From_int((int)(SVN_ERR_AUTHN_CREDS_NOT_SAVED))); + rb_define_const(mCore, "SVN_ERR_AUTHN_FAILED", SWIG_From_int((int)(SVN_ERR_AUTHN_FAILED))); + rb_define_const(mCore, "SVN_ERR_AUTHZ_ROOT_UNREADABLE", SWIG_From_int((int)(SVN_ERR_AUTHZ_ROOT_UNREADABLE))); + rb_define_const(mCore, "SVN_ERR_AUTHZ_UNREADABLE", SWIG_From_int((int)(SVN_ERR_AUTHZ_UNREADABLE))); + rb_define_const(mCore, "SVN_ERR_AUTHZ_PARTIALLY_READABLE", SWIG_From_int((int)(SVN_ERR_AUTHZ_PARTIALLY_READABLE))); + rb_define_const(mCore, "SVN_ERR_AUTHZ_INVALID_CONFIG", SWIG_From_int((int)(SVN_ERR_AUTHZ_INVALID_CONFIG))); + rb_define_const(mCore, "SVN_ERR_AUTHZ_UNWRITABLE", SWIG_From_int((int)(SVN_ERR_AUTHZ_UNWRITABLE))); + rb_define_const(mCore, "SVN_ERR_DIFF_DATASOURCE_MODIFIED", SWIG_From_int((int)(SVN_ERR_DIFF_DATASOURCE_MODIFIED))); + rb_define_const(mCore, "SVN_ERR_RA_SERF_SSPI_INITIALISATION_FAILED", SWIG_From_int((int)(SVN_ERR_RA_SERF_SSPI_INITIALISATION_FAILED))); + rb_define_const(mCore, "SVN_ERR_RA_SERF_SSL_CERT_UNTRUSTED", SWIG_From_int((int)(SVN_ERR_RA_SERF_SSL_CERT_UNTRUSTED))); + rb_define_const(mCore, "SVN_ERR_RA_SERF_GSSAPI_INITIALISATION_FAILED", SWIG_From_int((int)(SVN_ERR_RA_SERF_GSSAPI_INITIALISATION_FAILED))); + 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_LAST", SWIG_From_int((int)(SVN_ERR_LAST))); @@ -37286,6 +42053,8 @@ SWIGEXPORT void Init_core(void) { rb_define_module_function(mCore, "svn_parse_date", _wrap_svn_parse_date, -1); rb_define_module_function(mCore, "svn_sleep_for_timestamps", _wrap_svn_sleep_for_timestamps, -1); rb_define_const(mCore, "SVN_UNALIGNED_ACCESS_IS_OK", SWIG_From_int((int)(0))); + rb_define_const(mCore, "TRUE", SWIG_From_int((int)(1))); + rb_define_const(mCore, "FALSE", SWIG_From_int((int)(0))); SwigClassSvn_error_t.klass = rb_define_class_under(mCore, "Svn_error_t", rb_cObject); SWIG_TypeClientData(SWIGTYPE_p_svn_error_t, (void *) &SwigClassSvn_error_t); @@ -37311,6 +42080,7 @@ SWIGEXPORT void Init_core(void) { 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))); rb_define_const(mCore, "Svn_node_unknown", SWIG_From_int((int)(svn_node_unknown))); + rb_define_const(mCore, "Svn_node_symlink", SWIG_From_int((int)(svn_node_symlink))); rb_define_module_function(mCore, "svn_node_kind_to_word", _wrap_svn_node_kind_to_word, -1); rb_define_module_function(mCore, "svn_node_kind_from_word", _wrap_svn_node_kind_from_word, -1); rb_define_const(mCore, "Svn_tristate_false", SWIG_From_int((int)(svn_tristate_false))); @@ -37320,8 +42090,6 @@ SWIGEXPORT void Init_core(void) { rb_define_module_function(mCore, "svn_tristate__from_word", _wrap_svn_tristate__from_word, -1); rb_define_module_function(mCore, "svn_revnum_parse", _wrap_svn_revnum_parse, -1); rb_define_const(mCore, "SVN_REVNUM_T_FMT", SWIG_FromCharPtr("ld")); - rb_define_const(mCore, "TRUE", SWIG_From_int((int)(1))); - rb_define_const(mCore, "FALSE", SWIG_From_int((int)(0))); rb_define_const(mCore, "Svn_nonrecursive", SWIG_From_int((int)(svn_nonrecursive))); rb_define_const(mCore, "Svn_recursive", SWIG_From_int((int)(svn_recursive))); rb_define_const(mCore, "Svn_depth_unknown", SWIG_From_int((int)(svn_depth_unknown))); @@ -37358,6 +42126,7 @@ SWIGEXPORT void Init_core(void) { SwigClassSvn_dirent_t.destroy = (void (*)(void *)) free_svn_dirent_t; SwigClassSvn_dirent_t.trackObjects = 0; rb_define_module_function(mCore, "svn_dirent_dup", _wrap_svn_dirent_dup, -1); + rb_define_module_function(mCore, "svn_dirent_create", _wrap_svn_dirent_create, -1); rb_define_const(mCore, "SVN_KEYWORD_MAX_LEN", SWIG_From_int((int)(255))); rb_define_const(mCore, "SVN_KEYWORD_REVISION_LONG", SWIG_FromCharPtr("LastChangedRevision")); rb_define_const(mCore, "SVN_KEYWORD_REVISION_SHORT", SWIG_FromCharPtr("Rev")); @@ -37518,17 +42287,18 @@ SWIGEXPORT void Init_core(void) { rb_define_module_function(mCore, "svn_location_invoke_segment_receiver", _wrap_svn_location_invoke_segment_receiver, -1); rb_define_const(mCore, "SVN_ALLOCATOR_RECOMMENDED_MAX_FREE", SWIG_From_int((int)((4096*1024)))); 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)(7))); - rb_define_const(mCore, "SVN_VER_PATCH", SWIG_From_int((int)(6))); - rb_define_const(mCore, "SVN_VER_MICRO", SWIG_From_int((int)(6))); + 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_LIBRARY", SWIG_From_int((int)(1))); - rb_define_const(mCore, "SVN_VER_TAG", SWIG_FromCharPtr(" (r1370777)")); + rb_define_const(mCore, "SVN_VER_TAG", SWIG_FromCharPtr(" (r1667537)")); rb_define_const(mCore, "SVN_VER_NUMTAG", SWIG_FromCharPtr("")); - rb_define_const(mCore, "SVN_VER_REVISION", SWIG_From_int((int)(1370777))); - rb_define_const(mCore, "SVN_VER_NUM", SWIG_FromCharPtr("1.7.6")); - rb_define_const(mCore, "SVN_VER_NUMBER", SWIG_FromCharPtr("1.7.6")); - rb_define_const(mCore, "SVN_VERSION", SWIG_FromCharPtr("1.7.6 (r1370777)")); + 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)")); 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); @@ -37561,10 +42331,57 @@ SWIGEXPORT void Init_core(void) { SwigClassSvn_version_checklist_t.trackObjects = 0; 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); + rb_define_module_function(mCore, "svn_version_ext_build_date", _wrap_svn_version_ext_build_date, -1); + rb_define_module_function(mCore, "svn_version_ext_build_time", _wrap_svn_version_ext_build_time, -1); + rb_define_module_function(mCore, "svn_version_ext_build_host", _wrap_svn_version_ext_build_host, -1); + rb_define_module_function(mCore, "svn_version_ext_copyright", _wrap_svn_version_ext_copyright, -1); + rb_define_module_function(mCore, "svn_version_ext_runtime_host", _wrap_svn_version_ext_runtime_host, -1); + rb_define_module_function(mCore, "svn_version_ext_runtime_osname", _wrap_svn_version_ext_runtime_osname, -1); + + SwigClassSvn_version_ext_linked_lib_t.klass = rb_define_class_under(mCore, "Svn_version_ext_linked_lib_t", rb_cObject); + SWIG_TypeClientData(SWIGTYPE_p_svn_version_ext_linked_lib_t, (void *) &SwigClassSvn_version_ext_linked_lib_t); + rb_define_alloc_func(SwigClassSvn_version_ext_linked_lib_t.klass, _wrap_svn_version_ext_linked_lib_t_allocate); + rb_define_method(SwigClassSvn_version_ext_linked_lib_t.klass, "initialize", _wrap_new_svn_version_ext_linked_lib_t, -1); + rb_define_method(SwigClassSvn_version_ext_linked_lib_t.klass, "name=", _wrap_svn_version_ext_linked_lib_t_name_set, -1); + rb_define_method(SwigClassSvn_version_ext_linked_lib_t.klass, "name", _wrap_svn_version_ext_linked_lib_t_name_get, -1); + rb_define_method(SwigClassSvn_version_ext_linked_lib_t.klass, "compiled_version=", _wrap_svn_version_ext_linked_lib_t_compiled_version_set, -1); + rb_define_method(SwigClassSvn_version_ext_linked_lib_t.klass, "compiled_version", _wrap_svn_version_ext_linked_lib_t_compiled_version_get, -1); + rb_define_method(SwigClassSvn_version_ext_linked_lib_t.klass, "runtime_version=", _wrap_svn_version_ext_linked_lib_t_runtime_version_set, -1); + rb_define_method(SwigClassSvn_version_ext_linked_lib_t.klass, "runtime_version", _wrap_svn_version_ext_linked_lib_t_runtime_version_get, -1); + SwigClassSvn_version_ext_linked_lib_t.mark = 0; + SwigClassSvn_version_ext_linked_lib_t.destroy = (void (*)(void *)) free_svn_version_ext_linked_lib_t; + SwigClassSvn_version_ext_linked_lib_t.trackObjects = 0; + rb_define_module_function(mCore, "svn_version_ext_linked_libs", _wrap_svn_version_ext_linked_libs, -1); + + SwigClassSvn_version_ext_loaded_lib_t.klass = rb_define_class_under(mCore, "Svn_version_ext_loaded_lib_t", rb_cObject); + SWIG_TypeClientData(SWIGTYPE_p_svn_version_ext_loaded_lib_t, (void *) &SwigClassSvn_version_ext_loaded_lib_t); + rb_define_alloc_func(SwigClassSvn_version_ext_loaded_lib_t.klass, _wrap_svn_version_ext_loaded_lib_t_allocate); + rb_define_method(SwigClassSvn_version_ext_loaded_lib_t.klass, "initialize", _wrap_new_svn_version_ext_loaded_lib_t, -1); + rb_define_method(SwigClassSvn_version_ext_loaded_lib_t.klass, "name=", _wrap_svn_version_ext_loaded_lib_t_name_set, -1); + rb_define_method(SwigClassSvn_version_ext_loaded_lib_t.klass, "name", _wrap_svn_version_ext_loaded_lib_t_name_get, -1); + rb_define_method(SwigClassSvn_version_ext_loaded_lib_t.klass, "version=", _wrap_svn_version_ext_loaded_lib_t_version_set, -1); + rb_define_method(SwigClassSvn_version_ext_loaded_lib_t.klass, "version", _wrap_svn_version_ext_loaded_lib_t_version_get, -1); + SwigClassSvn_version_ext_loaded_lib_t.mark = 0; + SwigClassSvn_version_ext_loaded_lib_t.destroy = (void (*)(void *)) free_svn_version_ext_loaded_lib_t; + SwigClassSvn_version_ext_loaded_lib_t.trackObjects = 0; + rb_define_module_function(mCore, "svn_version_ext_loaded_libs", _wrap_svn_version_ext_loaded_libs, -1); rb_define_module_function(mCore, "svn_version_checklist_invoke_version_query", _wrap_svn_version_checklist_invoke_version_query, -1); rb_define_module_function(mCore, "svn_version_invoke_func", _wrap_svn_version_invoke_func, -1); rb_define_module_function(mCore, "svn_prop_dup", _wrap_svn_prop_dup, -1); rb_define_module_function(mCore, "svn_prop_array_dup", _wrap_svn_prop_array_dup, -1); + + SwigClassSvn_prop_inherited_item_t.klass = rb_define_class_under(mCore, "Svn_prop_inherited_item_t", rb_cObject); + SWIG_TypeClientData(SWIGTYPE_p_svn_prop_inherited_item_t, (void *) &SwigClassSvn_prop_inherited_item_t); + rb_define_alloc_func(SwigClassSvn_prop_inherited_item_t.klass, _wrap_svn_prop_inherited_item_t_allocate); + rb_define_method(SwigClassSvn_prop_inherited_item_t.klass, "initialize", _wrap_new_svn_prop_inherited_item_t, -1); + rb_define_method(SwigClassSvn_prop_inherited_item_t.klass, "path_or_url=", _wrap_svn_prop_inherited_item_t_path_or_url_set, -1); + rb_define_method(SwigClassSvn_prop_inherited_item_t.klass, "path_or_url", _wrap_svn_prop_inherited_item_t_path_or_url_get, -1); + rb_define_method(SwigClassSvn_prop_inherited_item_t.klass, "prop_hash=", _wrap_svn_prop_inherited_item_t_prop_hash_set, -1); + rb_define_method(SwigClassSvn_prop_inherited_item_t.klass, "prop_hash", _wrap_svn_prop_inherited_item_t_prop_hash_get, -1); + SwigClassSvn_prop_inherited_item_t.mark = 0; + SwigClassSvn_prop_inherited_item_t.destroy = (void (*)(void *)) free_svn_prop_inherited_item_t; + SwigClassSvn_prop_inherited_item_t.trackObjects = 0; rb_define_module_function(mCore, "svn_prop_hash_to_array", _wrap_svn_prop_hash_to_array, -1); rb_define_module_function(mCore, "svn_prop_array_to_hash", _wrap_svn_prop_array_to_hash, -1); rb_define_module_function(mCore, "svn_prop_hash_dup", _wrap_svn_prop_hash_dup, -1); @@ -37572,10 +42389,15 @@ SWIGEXPORT void Init_core(void) { rb_define_const(mCore, "Svn_prop_entry_kind", SWIG_From_int((int)(svn_prop_entry_kind))); rb_define_const(mCore, "Svn_prop_wc_kind", SWIG_From_int((int)(svn_prop_wc_kind))); rb_define_const(mCore, "Svn_prop_regular_kind", SWIG_From_int((int)(svn_prop_regular_kind))); + rb_define_module_function(mCore, "svn_property_kind2", _wrap_svn_property_kind2, -1); rb_define_module_function(mCore, "svn_property_kind", _wrap_svn_property_kind, -1); rb_define_module_function(mCore, "svn_prop_is_svn_prop", _wrap_svn_prop_is_svn_prop, -1); rb_define_module_function(mCore, "svn_prop_has_svn_prop", _wrap_svn_prop_has_svn_prop, -1); rb_define_module_function(mCore, "svn_prop_is_boolean", _wrap_svn_prop_is_boolean, -1); + rb_define_module_function(mCore, "svn_prop_is_known_svn_rev_prop", _wrap_svn_prop_is_known_svn_rev_prop, -1); + rb_define_module_function(mCore, "svn_prop_is_known_svn_node_prop", _wrap_svn_prop_is_known_svn_node_prop, -1); + rb_define_module_function(mCore, "svn_prop_is_known_svn_file_prop", _wrap_svn_prop_is_known_svn_file_prop, -1); + rb_define_module_function(mCore, "svn_prop_is_known_svn_dir_prop", _wrap_svn_prop_is_known_svn_dir_prop, -1); rb_define_module_function(mCore, "svn_prop_needs_translation", _wrap_svn_prop_needs_translation, -1); rb_define_module_function(mCore, "svn_categorize_props", _wrap_svn_categorize_props, -1); rb_define_module_function(mCore, "svn_prop_diffs", _wrap_svn_prop_diffs, -1); @@ -37594,6 +42416,8 @@ SWIGEXPORT void Init_core(void) { rb_define_const(mCore, "SVN_PROP_SPECIAL_VALUE", SWIG_FromCharPtr("*")); rb_define_const(mCore, "SVN_PROP_EXTERNALS", SWIG_FromCharPtr("svn:externals")); rb_define_const(mCore, "SVN_PROP_MERGEINFO", SWIG_FromCharPtr("svn:mergeinfo")); + rb_define_const(mCore, "SVN_PROP_INHERITABLE_AUTO_PROPS", SWIG_FromCharPtr("svn:auto-props")); + rb_define_const(mCore, "SVN_PROP_INHERITABLE_IGNORES", SWIG_FromCharPtr("svn:global-ignores")); rb_define_const(mCore, "SVN_PROP_TEXT_TIME", SWIG_FromCharPtr("svn:text-time")); rb_define_const(mCore, "SVN_PROP_OWNER", SWIG_FromCharPtr("svn:owner")); rb_define_const(mCore, "SVN_PROP_GROUP", SWIG_FromCharPtr("svn:group")); @@ -37617,6 +42441,10 @@ SWIGEXPORT void Init_core(void) { rb_define_const(mCore, "SVNSYNC_PROP_FROM_UUID", SWIG_FromCharPtr("svn:sync-from-uuid")); rb_define_const(mCore, "SVNSYNC_PROP_LAST_MERGED_REV", SWIG_FromCharPtr("svn:sync-last-merged-rev")); rb_define_const(mCore, "SVNSYNC_PROP_CURRENTLY_COPYING", SWIG_FromCharPtr("svn:sync-currently-copying")); + rb_define_const(mCore, "SVN_PROP_TXN_PREFIX", SWIG_FromCharPtr("svn:txn-")); + rb_define_const(mCore, "SVN_PROP_TXN_CLIENT_COMPAT_VERSION", SWIG_FromCharPtr("svn:txn-client-compat-version")); + rb_define_const(mCore, "SVN_PROP_TXN_USER_AGENT", SWIG_FromCharPtr("svn:txn-user-agent")); + rb_define_const(mCore, "SVN_PROP_REVISION_PREFIX", SWIG_FromCharPtr("svn:revision-")); rb_define_const(mCore, "SVN_OPT_MAX_ALIASES", SWIG_From_int((int)(3))); rb_define_const(mCore, "SVN_OPT_MAX_OPTIONS", SWIG_From_int((int)(50))); rb_define_const(mCore, "SVN_OPT_FIRST_LONGOPT_ID", SWIG_From_int((int)(256))); @@ -37731,9 +42559,12 @@ SWIGEXPORT void Init_core(void) { rb_define_module_function(mCore, "svn_opt_parse_revprop", _wrap_svn_opt_parse_revprop, -1); rb_define_module_function(mCore, "svn_opt_push_implicit_dot_target", _wrap_svn_opt_push_implicit_dot_target, -1); rb_define_module_function(mCore, "svn_opt_parse_path", _wrap_svn_opt_parse_path, -1); + rb_define_module_function(mCore, "svn_opt_print_help4", _wrap_svn_opt_print_help4, -1); rb_define_module_function(mCore, "svn_opt_print_help3", _wrap_svn_opt_print_help3, -1); 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_baton", _wrap_svn_cmdline_create_auth_baton, -1); SwigClassSvn_auth_provider_t.klass = rb_define_class_under(mCore, "Svn_auth_provider_t", rb_cObject); SWIG_TypeClientData(SWIGTYPE_p_svn_auth_provider_t, (void *) &SwigClassSvn_auth_provider_t); @@ -37876,6 +42707,7 @@ SWIGEXPORT void Init_core(void) { rb_define_module_function(mCore, "svn_auth_first_credentials", _wrap_svn_auth_first_credentials, -1); rb_define_module_function(mCore, "svn_auth_next_credentials", _wrap_svn_auth_next_credentials, -1); rb_define_module_function(mCore, "svn_auth_save_credentials", _wrap_svn_auth_save_credentials, -1); + rb_define_module_function(mCore, "svn_auth_forget_credentials", _wrap_svn_auth_forget_credentials, -1); rb_define_module_function(mCore, "svn_auth_get_simple_prompt_provider", _wrap_svn_auth_get_simple_prompt_provider, -1); rb_define_module_function(mCore, "svn_auth_get_username_prompt_provider", _wrap_svn_auth_get_username_prompt_provider, -1); rb_define_module_function(mCore, "svn_auth_get_simple_provider2", _wrap_svn_auth_get_simple_provider2, -1); @@ -37928,11 +42760,14 @@ SWIGEXPORT void Init_core(void) { rb_define_const(mCore, "SVN_CONFIG_OPTION_STORE_SSL_CLIENT_CERT_PP", SWIG_FromCharPtr("store-ssl-client-cert-pp")); rb_define_const(mCore, "SVN_CONFIG_OPTION_STORE_SSL_CLIENT_CERT_PP_PLAINTEXT", SWIG_FromCharPtr("store-ssl-client-cert-pp-plaintext")); 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_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")); rb_define_const(mCore, "SVN_CONFIG_OPTION_KWALLET_WALLET", SWIG_FromCharPtr("kwallet-wallet")); rb_define_const(mCore, "SVN_CONFIG_OPTION_KWALLET_SVN_APPLICATION_NAME_WITH_PID", SWIG_FromCharPtr("kwallet-svn-application-name-with-pid")); + rb_define_const(mCore, "SVN_CONFIG_OPTION_SSL_CLIENT_CERT_FILE_PROMPT", SWIG_FromCharPtr("ssl-client-cert-file-prompt")); rb_define_const(mCore, "SVN_CONFIG_SECTION_HELPERS", SWIG_FromCharPtr("helpers")); rb_define_const(mCore, "SVN_CONFIG_OPTION_EDITOR_CMD", SWIG_FromCharPtr("editor-cmd")); rb_define_const(mCore, "SVN_CONFIG_OPTION_DIFF_CMD", SWIG_FromCharPtr("diff-cmd")); @@ -37953,21 +42788,26 @@ SWIGEXPORT void Init_core(void) { rb_define_const(mCore, "SVN_CONFIG_OPTION_MEMORY_CACHE_SIZE", SWIG_FromCharPtr("memory-cache-size")); 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_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")); rb_define_const(mCore, "SVN_CONFIG_OPTION_PASSWORD_DB", SWIG_FromCharPtr("password-db")); rb_define_const(mCore, "SVN_CONFIG_OPTION_REALM", SWIG_FromCharPtr("realm")); rb_define_const(mCore, "SVN_CONFIG_OPTION_AUTHZ_DB", SWIG_FromCharPtr("authz-db")); + rb_define_const(mCore, "SVN_CONFIG_OPTION_GROUPS_DB", SWIG_FromCharPtr("groups-db")); rb_define_const(mCore, "SVN_CONFIG_OPTION_FORCE_USERNAME_CASE", SWIG_FromCharPtr("force-username-case")); + rb_define_const(mCore, "SVN_CONFIG_OPTION_HOOKS_ENV", SWIG_FromCharPtr("hooks-env")); rb_define_const(mCore, "SVN_CONFIG_SECTION_SASL", SWIG_FromCharPtr("sasl")); rb_define_const(mCore, "SVN_CONFIG_OPTION_USE_SASL", SWIG_FromCharPtr("use-sasl")); rb_define_const(mCore, "SVN_CONFIG_OPTION_MIN_SSF", SWIG_FromCharPtr("min-encryption")); 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")); + 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 *.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_TRUE", SWIG_FromCharPtr("TRUE")); rb_define_const(mCore, "SVN_CONFIG_FALSE", SWIG_FromCharPtr("FALSE")); rb_define_const(mCore, "SVN_CONFIG_ASK", SWIG_FromCharPtr("ASK")); @@ -37976,16 +42816,23 @@ SWIGEXPORT void Init_core(void) { rb_define_const(mCore, "SVN_CONFIG_DEFAULT_OPTION_STORE_AUTH_CREDS", SWIG_From_int((int)(1))); rb_define_const(mCore, "SVN_CONFIG_DEFAULT_OPTION_STORE_SSL_CLIENT_CERT_PP", SWIG_From_int((int)(1))); rb_define_const(mCore, "SVN_CONFIG_DEFAULT_OPTION_STORE_SSL_CLIENT_CERT_PP_PLAINTEXT", SWIG_FromCharPtr("ASK")); + rb_define_const(mCore, "SVN_CONFIG_DEFAULT_OPTION_HTTP_MAX_CONNECTIONS", SWIG_From_int((int)(4))); rb_define_module_function(mCore, "svn_config_get_config", _wrap_svn_config_get_config, -1); + rb_define_module_function(mCore, "svn_config_create2", _wrap_svn_config_create2, -1); rb_define_module_function(mCore, "svn_config_create", _wrap_svn_config_create, -1); + rb_define_module_function(mCore, "svn_config_read3", _wrap_svn_config_read3, -1); rb_define_module_function(mCore, "svn_config_read2", _wrap_svn_config_read2, -1); rb_define_module_function(mCore, "svn_config_read", _wrap_svn_config_read, -1); + rb_define_module_function(mCore, "svn_config_parse", _wrap_svn_config_parse, -1); rb_define_module_function(mCore, "svn_config_merge", _wrap_svn_config_merge, -1); rb_define_module_function(mCore, "svn_config_get", _wrap_svn_config_get, -1); rb_define_module_function(mCore, "svn_config_set", _wrap_svn_config_set, -1); rb_define_module_function(mCore, "svn_config_get_bool", _wrap_svn_config_get_bool, -1); rb_define_module_function(mCore, "svn_config_set_bool", _wrap_svn_config_set_bool, -1); + rb_define_module_function(mCore, "svn_config_get_int64", _wrap_svn_config_get_int64, -1); + rb_define_module_function(mCore, "svn_config_set_int64", _wrap_svn_config_set_int64, -1); rb_define_module_function(mCore, "svn_config_get_yes_no_ask", _wrap_svn_config_get_yes_no_ask, -1); + rb_define_module_function(mCore, "svn_config_get_tristate", _wrap_svn_config_get_tristate, -1); rb_define_module_function(mCore, "svn_config_enumerate_sections", _wrap_svn_config_enumerate_sections, -1); rb_define_module_function(mCore, "svn_config_enumerate_sections2", _wrap_svn_config_enumerate_sections2, -1); rb_define_module_function(mCore, "svn_config_enumerate", _wrap_svn_config_enumerate, -1); @@ -37999,11 +42846,16 @@ SWIGEXPORT void Init_core(void) { rb_define_const(mCore, "SVN_CONFIG_REALMSTRING_KEY", SWIG_FromCharPtr("svn:realmstring")); 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); rb_define_module_function(mCore, "svn_config_get_user_config_path", _wrap_svn_config_get_user_config_path, -1); + rb_define_module_function(mCore, "svn_config_dup", _wrap_svn_config_dup, -1); + rb_define_module_function(mCore, "svn_config_copy_config", _wrap_svn_config_copy_config, -1); rb_define_module_function(mCore, "svn_config_invoke_section_enumerator", _wrap_svn_config_invoke_section_enumerator, -1); rb_define_module_function(mCore, "svn_config_invoke_section_enumerator2", _wrap_svn_config_invoke_section_enumerator2, -1); rb_define_module_function(mCore, "svn_config_invoke_enumerator", _wrap_svn_config_invoke_enumerator, -1); rb_define_module_function(mCore, "svn_config_invoke_enumerator2", _wrap_svn_config_invoke_enumerator2, -1); + rb_define_module_function(mCore, "svn_config_invoke_auth_walk_func", _wrap_svn_config_invoke_auth_walk_func, -1); + rb_define_module_function(mCore, "svn_utf_initialize2", _wrap_svn_utf_initialize2, -1); rb_define_module_function(mCore, "svn_utf_initialize", _wrap_svn_utf_initialize, -1); rb_define_module_function(mCore, "svn_utf_stringbuf_to_utf8", _wrap_svn_utf_stringbuf_to_utf8, -1); rb_define_module_function(mCore, "svn_utf_string_to_utf8", _wrap_svn_utf_string_to_utf8, -1); @@ -38018,6 +42870,7 @@ SWIGEXPORT void Init_core(void) { rb_define_module_function(mCore, "svn_utf_cstring_from_utf8_fuzzy", _wrap_svn_utf_cstring_from_utf8_fuzzy, -1); rb_define_module_function(mCore, "svn_utf_cstring_from_utf8_stringbuf", _wrap_svn_utf_cstring_from_utf8_stringbuf, -1); rb_define_module_function(mCore, "svn_utf_cstring_from_utf8_string", _wrap_svn_utf_cstring_from_utf8_string, -1); + rb_define_module_function(mCore, "svn_utf_cstring_utf8_width", _wrap_svn_utf_cstring_utf8_width, -1); rb_define_module_function(mCore, "svn_nls_init", _wrap_svn_nls_init, -1); rb_define_module_function(mCore, "svn_path_internal_style", _wrap_svn_path_internal_style, -1); rb_define_module_function(mCore, "svn_path_local_style", _wrap_svn_path_local_style, -1); @@ -38032,6 +42885,9 @@ SWIGEXPORT void Init_core(void) { rb_define_module_function(mCore, "svn_path_is_url", _wrap_svn_path_is_url, -1); rb_define_module_function(mCore, "svn_path_is_uri_safe", _wrap_svn_path_is_uri_safe, -1); rb_define_module_function(mCore, "svn_path_url_add_component2", _wrap_svn_path_url_add_component2, -1); + rb_define_module_function(mCore, "svn_path_is_repos_relative_url", _wrap_svn_path_is_repos_relative_url, -1); + rb_define_module_function(mCore, "svn_path_resolve_repos_relative_url", _wrap_svn_path_resolve_repos_relative_url, -1); + rb_define_module_function(mCore, "svn_path_illegal_path_escape", _wrap_svn_path_illegal_path_escape, -1); rb_define_module_function(mCore, "svn_dirent_internal_style", _wrap_svn_dirent_internal_style, -1); rb_define_module_function(mCore, "svn_dirent_local_style", _wrap_svn_dirent_local_style, -1); rb_define_module_function(mCore, "svn_relpath__internal_style", _wrap_svn_relpath__internal_style, -1); @@ -38058,11 +42914,8 @@ SWIGEXPORT void Init_core(void) { rb_define_module_function(mCore, "svn_relpath_get_longest_ancestor", _wrap_svn_relpath_get_longest_ancestor, -1); rb_define_module_function(mCore, "svn_uri_get_longest_ancestor", _wrap_svn_uri_get_longest_ancestor, -1); rb_define_module_function(mCore, "svn_dirent_get_absolute", _wrap_svn_dirent_get_absolute, -1); - rb_define_module_function(mCore, "svn_uri__is_child", _wrap_svn_uri__is_child, -1); rb_define_module_function(mCore, "svn_dirent_is_child", _wrap_svn_dirent_is_child, -1); - rb_define_module_function(mCore, "svn_relpath__is_child", _wrap_svn_relpath__is_child, -1); rb_define_module_function(mCore, "svn_dirent_is_ancestor", _wrap_svn_dirent_is_ancestor, -1); - rb_define_module_function(mCore, "svn_relpath__is_ancestor", _wrap_svn_relpath__is_ancestor, -1); rb_define_module_function(mCore, "svn_uri__is_ancestor", _wrap_svn_uri__is_ancestor, -1); rb_define_module_function(mCore, "svn_dirent_skip_ancestor", _wrap_svn_dirent_skip_ancestor, -1); rb_define_module_function(mCore, "svn_relpath_skip_ancestor", _wrap_svn_relpath_skip_ancestor, -1); @@ -38071,11 +42924,14 @@ SWIGEXPORT void Init_core(void) { rb_define_module_function(mCore, "svn_uri_get_file_url_from_dirent", _wrap_svn_uri_get_file_url_from_dirent, -1); rb_define_const(mCore, "SVN_MERGEINFO_NONINHERITABLE_STR", SWIG_FromCharPtr("*")); rb_define_module_function(mCore, "svn_mergeinfo_parse", _wrap_svn_mergeinfo_parse, -1); + rb_define_module_function(mCore, "svn_mergeinfo_diff2", _wrap_svn_mergeinfo_diff2, -1); rb_define_module_function(mCore, "svn_mergeinfo_diff", _wrap_svn_mergeinfo_diff, -1); + rb_define_module_function(mCore, "svn_mergeinfo_merge2", _wrap_svn_mergeinfo_merge2, -1); rb_define_module_function(mCore, "svn_mergeinfo_catalog_merge", _wrap_svn_mergeinfo_catalog_merge, -1); rb_define_module_function(mCore, "svn_mergeinfo_remove", _wrap_svn_mergeinfo_remove, -1); rb_define_module_function(mCore, "svn_mergeinfo_remove2", _wrap_svn_mergeinfo_remove2, -1); rb_define_module_function(mCore, "svn_rangelist_diff", _wrap_svn_rangelist_diff, -1); + rb_define_module_function(mCore, "svn_rangelist_merge2", _wrap_svn_rangelist_merge2, -1); rb_define_module_function(mCore, "svn_rangelist_remove", _wrap_svn_rangelist_remove, -1); rb_define_module_function(mCore, "svn_mergeinfo_intersect2", _wrap_svn_mergeinfo_intersect2, -1); rb_define_module_function(mCore, "svn_mergeinfo_intersect", _wrap_svn_mergeinfo_intersect, -1); @@ -38133,9 +42989,13 @@ SWIGEXPORT void Init_core(void) { rb_define_module_function(mCore, "svn_io_open_unique_file", _wrap_svn_io_open_unique_file, -1); rb_define_module_function(mCore, "svn_io_copy_perms", _wrap_svn_io_copy_perms, -1); rb_define_module_function(mCore, "svn_io_sleep_for_timestamps", _wrap_svn_io_sleep_for_timestamps, -1); + rb_define_module_function(mCore, "svn_io_filesizes_three_different_p", _wrap_svn_io_filesizes_three_different_p, -1); rb_define_module_function(mCore, "svn_io_file_checksum2", _wrap_svn_io_file_checksum2, -1); 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_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_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); @@ -38151,6 +43011,7 @@ SWIGEXPORT void Init_core(void) { rb_define_module_function(mCore, "svn_stream_for_stdout", _wrap_svn_stream_for_stdout, -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", _wrap_svn_stream_read, -1); @@ -38162,6 +43023,7 @@ SWIGEXPORT void Init_core(void) { 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_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); rb_define_module_function(mCore, "svn_stream_copy3", _wrap_svn_stream_copy3, -1); rb_define_module_function(mCore, "svn_stream_copy2", _wrap_svn_stream_copy2, -1); @@ -38169,14 +43031,17 @@ SWIGEXPORT void Init_core(void) { rb_define_module_function(mCore, "svn_stream_contents_same2", _wrap_svn_stream_contents_same2, -1); rb_define_module_function(mCore, "svn_stream_contents_same", _wrap_svn_stream_contents_same, -1); rb_define_module_function(mCore, "svn_string_from_stream", _wrap_svn_string_from_stream, -1); + rb_define_module_function(mCore, "svn_stream_lazyopen_create", _wrap_svn_stream_lazyopen_create, -1); rb_define_module_function(mCore, "svn_stringbuf_from_file2", _wrap_svn_stringbuf_from_file2, -1); rb_define_module_function(mCore, "svn_stringbuf_from_file", _wrap_svn_stringbuf_from_file, -1); rb_define_module_function(mCore, "svn_stringbuf_from_aprfile", _wrap_svn_stringbuf_from_aprfile, -1); rb_define_module_function(mCore, "svn_io_remove_file2", _wrap_svn_io_remove_file2, -1); rb_define_module_function(mCore, "svn_io_remove_dir2", _wrap_svn_io_remove_dir2, -1); rb_define_module_function(mCore, "svn_io_get_dirents3", _wrap_svn_io_get_dirents3, -1); + rb_define_module_function(mCore, "svn_io_stat_dirent2", _wrap_svn_io_stat_dirent2, -1); rb_define_module_function(mCore, "svn_io_stat_dirent", _wrap_svn_io_stat_dirent, -1); rb_define_module_function(mCore, "svn_io_dir_walk2", _wrap_svn_io_dir_walk2, -1); + rb_define_module_function(mCore, "svn_io_start_cmd3", _wrap_svn_io_start_cmd3, -1); rb_define_module_function(mCore, "svn_io_start_cmd2", _wrap_svn_io_start_cmd2, -1); rb_define_module_function(mCore, "svn_io_run_diff2", _wrap_svn_io_run_diff2, -1); rb_define_module_function(mCore, "svn_io_run_diff3_3", _wrap_svn_io_run_diff3_3, -1); @@ -38190,13 +43055,47 @@ SWIGEXPORT void Init_core(void) { 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); rb_define_module_function(mCore, "svn_io_file_name_get", _wrap_svn_io_file_name_get, -1); + rb_define_module_function(mCore, "svn_io_file_readline", _wrap_svn_io_file_readline, -1); rb_define_module_function(mCore, "svn_read_invoke_fn", _wrap_svn_read_invoke_fn, -1); rb_define_module_function(mCore, "svn_stream_invoke_skip_fn", _wrap_svn_stream_invoke_skip_fn, -1); rb_define_module_function(mCore, "svn_write_invoke_fn", _wrap_svn_write_invoke_fn, -1); 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_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))); + + 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); + rb_define_alloc_func(SwigClassSvn_checksum_t.klass, _wrap_svn_checksum_t_allocate); + rb_define_method(SwigClassSvn_checksum_t.klass, "initialize", _wrap_new_svn_checksum_t, -1); + rb_define_method(SwigClassSvn_checksum_t.klass, "digest=", _wrap_svn_checksum_t_digest_set, -1); + rb_define_method(SwigClassSvn_checksum_t.klass, "digest", _wrap_svn_checksum_t_digest_get, -1); + rb_define_method(SwigClassSvn_checksum_t.klass, "kind=", _wrap_svn_checksum_t_kind_set, -1); + rb_define_method(SwigClassSvn_checksum_t.klass, "kind", _wrap_svn_checksum_t_kind_get, -1); + SwigClassSvn_checksum_t.mark = 0; + SwigClassSvn_checksum_t.destroy = (void (*)(void *)) free_svn_checksum_t; + SwigClassSvn_checksum_t.trackObjects = 0; + rb_define_module_function(mCore, "svn_checksum_create", _wrap_svn_checksum_create, -1); + rb_define_module_function(mCore, "svn_checksum_clear", _wrap_svn_checksum_clear, -1); + rb_define_module_function(mCore, "svn_checksum_match", _wrap_svn_checksum_match, -1); + rb_define_module_function(mCore, "svn_checksum_dup", _wrap_svn_checksum_dup, -1); + rb_define_module_function(mCore, "svn_checksum_to_cstring_display", _wrap_svn_checksum_to_cstring_display, -1); + rb_define_module_function(mCore, "svn_checksum_to_cstring", _wrap_svn_checksum_to_cstring, -1); + rb_define_module_function(mCore, "svn_checksum_serialize", _wrap_svn_checksum_serialize, -1); + rb_define_module_function(mCore, "svn_checksum_deserialize", _wrap_svn_checksum_deserialize, -1); + rb_define_module_function(mCore, "svn_checksum_parse_hex", _wrap_svn_checksum_parse_hex, -1); + rb_define_module_function(mCore, "svn_checksum", _wrap_svn_checksum, -1); + rb_define_module_function(mCore, "svn_checksum_empty_checksum", _wrap_svn_checksum_empty_checksum, -1); + rb_define_module_function(mCore, "svn_checksum_ctx_create", _wrap_svn_checksum_ctx_create, -1); + rb_define_module_function(mCore, "svn_checksum_update", _wrap_svn_checksum_update, -1); + rb_define_module_function(mCore, "svn_checksum_final", _wrap_svn_checksum_final, -1); + rb_define_module_function(mCore, "svn_checksum_size", _wrap_svn_checksum_size, -1); + rb_define_module_function(mCore, "svn_checksum_is_empty_checksum", _wrap_svn_checksum_is_empty_checksum, -1); + rb_define_module_function(mCore, "svn_checksum_mismatch_err", _wrap_svn_checksum_mismatch_err, -1); + rb_define_module_function(mCore, "svn_auth_set_gnome_keyring_unlock_prompt_func", _wrap_svn_auth_set_gnome_keyring_unlock_prompt_func, -1); rb_define_module_function(mCore, "svn_md5_empty_string_digest", _wrap_svn_md5_empty_string_digest, -1); rb_define_module_function(mCore, "svn_md5_digest_to_cstring_display", _wrap_svn_md5_digest_to_cstring_display, -1); rb_define_module_function(mCore, "svn_md5_digest_to_cstring", _wrap_svn_md5_digest_to_cstring, -1); |