Alien-SVN

 view release on metacpan or  search on metacpan

src/subversion/subversion/bindings/swig/perl/native/svn_repos.c  view on Meta::CPAN

    XSRETURN(argvi);
  fail:
    
    
    
    
    
    
    
    
    
    SWIG_croak_null();
  }
}


XS(_wrap_svn_repos_load_fs4) {
  {
    svn_repos_t *arg1 = (svn_repos_t *) 0 ;
    svn_stream_t *arg2 = (svn_stream_t *) 0 ;
    svn_revnum_t arg3 ;
    svn_revnum_t arg4 ;
    enum svn_repos_load_uuid arg5 ;
    char *arg6 = (char *) 0 ;
    svn_boolean_t arg7 ;
    svn_boolean_t arg8 ;
    svn_boolean_t arg9 ;
    svn_repos_notify_func_t arg10 = (svn_repos_notify_func_t) 0 ;
    void *arg11 = (void *) 0 ;
    svn_cancel_func_t arg12 = (svn_cancel_func_t) 0 ;
    void *arg13 = (void *) 0 ;
    apr_pool_t *arg14 = (apr_pool_t *) 0 ;
    apr_pool_t *_global_pool ;
    void *argp1 = 0 ;
    int res1 = 0 ;
    long val3 ;
    int ecode3 = 0 ;
    long val4 ;
    int ecode4 = 0 ;
    int val5 ;
    int ecode5 = 0 ;
    int res6 ;
    char *buf6 = 0 ;
    int alloc6 = 0 ;
    int val7 ;
    int ecode7 = 0 ;
    int val8 ;
    int ecode8 = 0 ;
    int val9 ;
    int ecode9 = 0 ;
    int res11 ;
    int res13 ;
    int argvi = 0;
    svn_error_t *result = 0 ;
    dXSARGS;
    
    {
      _global_pool = arg14 = svn_swig_pl_make_pool (ST(items-1));
    }
    if ((items < 13) || (items > 14)) {
      SWIG_croak("Usage: svn_repos_load_fs4(repos,dumpstream,start_rev,end_rev,uuid_action,parent_dir,use_pre_commit_hook,use_post_commit_hook,validate_props,notify_func,notify_baton,cancel_func,cancel_baton,pool);");
    }
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_repos_t, 0 |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_repos_load_fs4" "', argument " "1"" of type '" "svn_repos_t *""'"); 
    }
    arg1 = (svn_repos_t *)(argp1);
    {
      svn_swig_pl_make_stream (&arg2, ST(1));
    }
    ecode3 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_repos_load_fs4" "', argument " "3"" of type '" "svn_revnum_t""'");
    } 
    arg3 = (svn_revnum_t)(val3);
    ecode4 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "svn_repos_load_fs4" "', argument " "4"" of type '" "svn_revnum_t""'");
    } 
    arg4 = (svn_revnum_t)(val4);
    ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "svn_repos_load_fs4" "', argument " "5"" of type '" "enum svn_repos_load_uuid""'");
    } 
    arg5 = (enum svn_repos_load_uuid)(val5);
    res6 = SWIG_AsCharPtrAndSize(ST(5), &buf6, NULL, &alloc6);
    if (!SWIG_IsOK(res6)) {
      SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "svn_repos_load_fs4" "', argument " "6"" of type '" "char const *""'");
    }
    arg6 = (char *)(buf6);
    ecode7 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(6), &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "svn_repos_load_fs4" "', argument " "7"" of type '" "svn_boolean_t""'");
    } 
    arg7 = (svn_boolean_t)(val7);
    ecode8 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(7), &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "svn_repos_load_fs4" "', argument " "8"" of type '" "svn_boolean_t""'");
    } 
    arg8 = (svn_boolean_t)(val8);
    ecode9 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(8), &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "svn_repos_load_fs4" "', argument " "9"" of type '" "svn_boolean_t""'");
    } 
    arg9 = (svn_boolean_t)(val9);
    {
      int res = SWIG_ConvertFunctionPtr(ST(9), (void**)(&arg10), SWIGTYPE_p_f_p_void_p_q_const__struct_svn_repos_notify_t_p_apr_pool_t__void);
      if (!SWIG_IsOK(res)) {
        SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_repos_load_fs4" "', argument " "10"" of type '" "svn_repos_notify_func_t""'"); 
      }
    }
    res11 = SWIG_ConvertPtr(ST(10),SWIG_as_voidptrptr(&arg11), 0, 0);
    if (!SWIG_IsOK(res11)) {
      SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "svn_repos_load_fs4" "', argument " "11"" of type '" "void *""'"); 
    }
    {
      int res = SWIG_ConvertFunctionPtr(ST(11), (void**)(&arg12), SWIGTYPE_p_f_p_void__p_svn_error_t);
      if (!SWIG_IsOK(res)) {
        SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_repos_load_fs4" "', argument " "12"" of type '" "svn_cancel_func_t""'"); 
      }
    }

src/subversion/subversion/bindings/swig/perl/native/svn_repos.c  view on Meta::CPAN

    
    XSRETURN(argvi);
  fail:
    
    
    
    
    
    if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
    
    
    
    
    
    
    
    
    SWIG_croak_null();
  }
}


XS(_wrap_svn_repos_load_fs3) {
  {
    svn_repos_t *arg1 = (svn_repos_t *) 0 ;
    svn_stream_t *arg2 = (svn_stream_t *) 0 ;
    enum svn_repos_load_uuid arg3 ;
    char *arg4 = (char *) 0 ;
    svn_boolean_t arg5 ;
    svn_boolean_t arg6 ;
    svn_boolean_t arg7 ;
    svn_repos_notify_func_t arg8 = (svn_repos_notify_func_t) 0 ;
    void *arg9 = (void *) 0 ;
    svn_cancel_func_t arg10 = (svn_cancel_func_t) 0 ;
    void *arg11 = (void *) 0 ;
    apr_pool_t *arg12 = (apr_pool_t *) 0 ;
    apr_pool_t *_global_pool ;
    void *argp1 = 0 ;
    int res1 = 0 ;
    int val3 ;
    int ecode3 = 0 ;
    int res4 ;
    char *buf4 = 0 ;
    int alloc4 = 0 ;
    int val5 ;
    int ecode5 = 0 ;
    int val6 ;
    int ecode6 = 0 ;
    int val7 ;
    int ecode7 = 0 ;
    int res9 ;
    int res11 ;
    int argvi = 0;
    svn_error_t *result = 0 ;
    dXSARGS;
    
    {
      _global_pool = arg12 = svn_swig_pl_make_pool (ST(items-1));
    }
    if ((items < 11) || (items > 12)) {
      SWIG_croak("Usage: svn_repos_load_fs3(repos,dumpstream,uuid_action,parent_dir,use_pre_commit_hook,use_post_commit_hook,validate_props,notify_func,notify_baton,cancel_func,cancel_baton,pool);");
    }
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_repos_t, 0 |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_repos_load_fs3" "', argument " "1"" of type '" "svn_repos_t *""'"); 
    }
    arg1 = (svn_repos_t *)(argp1);
    {
      svn_swig_pl_make_stream (&arg2, ST(1));
    }
    ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_repos_load_fs3" "', argument " "3"" of type '" "enum svn_repos_load_uuid""'");
    } 
    arg3 = (enum svn_repos_load_uuid)(val3);
    res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "svn_repos_load_fs3" "', argument " "4"" of type '" "char const *""'");
    }
    arg4 = (char *)(buf4);
    ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "svn_repos_load_fs3" "', argument " "5"" of type '" "svn_boolean_t""'");
    } 
    arg5 = (svn_boolean_t)(val5);
    ecode6 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(5), &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "svn_repos_load_fs3" "', argument " "6"" of type '" "svn_boolean_t""'");
    } 
    arg6 = (svn_boolean_t)(val6);
    ecode7 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(6), &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "svn_repos_load_fs3" "', argument " "7"" of type '" "svn_boolean_t""'");
    } 
    arg7 = (svn_boolean_t)(val7);
    {
      int res = SWIG_ConvertFunctionPtr(ST(7), (void**)(&arg8), SWIGTYPE_p_f_p_void_p_q_const__struct_svn_repos_notify_t_p_apr_pool_t__void);
      if (!SWIG_IsOK(res)) {
        SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_repos_load_fs3" "', argument " "8"" of type '" "svn_repos_notify_func_t""'"); 
      }
    }
    res9 = SWIG_ConvertPtr(ST(8),SWIG_as_voidptrptr(&arg9), 0, 0);
    if (!SWIG_IsOK(res9)) {
      SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "svn_repos_load_fs3" "', argument " "9"" of type '" "void *""'"); 
    }
    {
      int res = SWIG_ConvertFunctionPtr(ST(9), (void**)(&arg10), SWIGTYPE_p_f_p_void__p_svn_error_t);
      if (!SWIG_IsOK(res)) {
        SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_repos_load_fs3" "', argument " "10"" of type '" "svn_cancel_func_t""'"); 
      }
    }
    res11 = SWIG_ConvertPtr(ST(10),SWIG_as_voidptrptr(&arg11), 0, 0);
    if (!SWIG_IsOK(res11)) {
      SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "svn_repos_load_fs3" "', argument " "11"" of type '" "void *""'"); 
    }
    if (items > 11) {
      
    }
    {
      result = (svn_error_t *)svn_repos_load_fs3(arg1,arg2,arg3,(char const *)arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
      

src/subversion/subversion/bindings/swig/perl/native/svn_repos.c  view on Meta::CPAN

    
    
    
    XSRETURN(argvi);
  fail:
    
    
    
    
    
    
    
    SWIG_croak_null();
  }
}


XS(_wrap_svn_repos_get_fs_build_parser4) {
  {
    svn_repos_parse_fns3_t **arg1 = (svn_repos_parse_fns3_t **) 0 ;
    void **arg2 = (void **) 0 ;
    svn_repos_t *arg3 = (svn_repos_t *) 0 ;
    svn_revnum_t arg4 ;
    svn_revnum_t arg5 ;
    svn_boolean_t arg6 ;
    svn_boolean_t arg7 ;
    enum svn_repos_load_uuid arg8 ;
    char *arg9 = (char *) 0 ;
    svn_repos_notify_func_t arg10 = (svn_repos_notify_func_t) 0 ;
    void *arg11 = (void *) 0 ;
    apr_pool_t *arg12 = (apr_pool_t *) 0 ;
    apr_pool_t *_global_pool ;
    svn_repos_parse_fns3_t *temp1 ;
    void *temp2 ;
    void *argp3 = 0 ;
    int res3 = 0 ;
    long val4 ;
    int ecode4 = 0 ;
    long val5 ;
    int ecode5 = 0 ;
    int val6 ;
    int ecode6 = 0 ;
    int val7 ;
    int ecode7 = 0 ;
    int val8 ;
    int ecode8 = 0 ;
    int res9 ;
    char *buf9 = 0 ;
    int alloc9 = 0 ;
    int res11 ;
    int argvi = 0;
    svn_error_t *result = 0 ;
    dXSARGS;
    
    {
      _global_pool = arg12 = svn_swig_pl_make_pool (ST(items-1));
    }
    arg1 = &temp1;
    arg2 = &temp2;
    if ((items < 9) || (items > 10)) {
      SWIG_croak("Usage: svn_repos_get_fs_build_parser4(repos,start_rev,end_rev,use_history,validate_props,uuid_action,parent_dir,notify_func,notify_baton,pool);");
    }
    res3 = SWIG_ConvertPtr(ST(0), &argp3,SWIGTYPE_p_svn_repos_t, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_repos_get_fs_build_parser4" "', argument " "3"" of type '" "svn_repos_t *""'"); 
    }
    arg3 = (svn_repos_t *)(argp3);
    ecode4 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(1), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "svn_repos_get_fs_build_parser4" "', argument " "4"" of type '" "svn_revnum_t""'");
    } 
    arg4 = (svn_revnum_t)(val4);
    ecode5 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(2), &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "svn_repos_get_fs_build_parser4" "', argument " "5"" of type '" "svn_revnum_t""'");
    } 
    arg5 = (svn_revnum_t)(val5);
    ecode6 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "svn_repos_get_fs_build_parser4" "', argument " "6"" of type '" "svn_boolean_t""'");
    } 
    arg6 = (svn_boolean_t)(val6);
    ecode7 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "svn_repos_get_fs_build_parser4" "', argument " "7"" of type '" "svn_boolean_t""'");
    } 
    arg7 = (svn_boolean_t)(val7);
    ecode8 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(5), &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "svn_repos_get_fs_build_parser4" "', argument " "8"" of type '" "enum svn_repos_load_uuid""'");
    } 
    arg8 = (enum svn_repos_load_uuid)(val8);
    res9 = SWIG_AsCharPtrAndSize(ST(6), &buf9, NULL, &alloc9);
    if (!SWIG_IsOK(res9)) {
      SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "svn_repos_get_fs_build_parser4" "', argument " "9"" of type '" "char const *""'");
    }
    arg9 = (char *)(buf9);
    {
      int res = SWIG_ConvertFunctionPtr(ST(7), (void**)(&arg10), SWIGTYPE_p_f_p_void_p_q_const__struct_svn_repos_notify_t_p_apr_pool_t__void);
      if (!SWIG_IsOK(res)) {
        SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_repos_get_fs_build_parser4" "', argument " "10"" of type '" "svn_repos_notify_func_t""'"); 
      }
    }
    res11 = SWIG_ConvertPtr(ST(8),SWIG_as_voidptrptr(&arg11), 0, 0);
    if (!SWIG_IsOK(res11)) {
      SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "svn_repos_get_fs_build_parser4" "', argument " "11"" of type '" "void *""'"); 
    }
    if (items > 9) {
      
    }
    {
      result = (svn_error_t *)svn_repos_get_fs_build_parser4((struct svn_repos_parse_fns3_t const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,(char const *)arg9,arg10,arg11,arg12);
      
      
      
    }
    {
      if (result) {
        SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
        
        if (SvOK(exception_handler)) {

src/subversion/subversion/bindings/swig/perl/native/svn_repos.c  view on Meta::CPAN

          argvi++;
        }
      }
    }
    
    
    
    
    
    
    XSRETURN(argvi);
  fail:
    
    
    
    
    
    
    SWIG_croak_null();
  }
}


XS(_wrap_svn_repos_get_fs_build_parser3) {
  {
    svn_repos_parse_fns2_t **arg1 = (svn_repos_parse_fns2_t **) 0 ;
    void **arg2 = (void **) 0 ;
    svn_repos_t *arg3 = (svn_repos_t *) 0 ;
    svn_boolean_t arg4 ;
    svn_boolean_t arg5 ;
    enum svn_repos_load_uuid arg6 ;
    char *arg7 = (char *) 0 ;
    svn_repos_notify_func_t arg8 = (svn_repos_notify_func_t) 0 ;
    void *arg9 = (void *) 0 ;
    apr_pool_t *arg10 = (apr_pool_t *) 0 ;
    apr_pool_t *_global_pool ;
    svn_repos_parse_fns2_t *temp1 ;
    void *temp2 ;
    void *argp3 = 0 ;
    int res3 = 0 ;
    int val4 ;
    int ecode4 = 0 ;
    int val5 ;
    int ecode5 = 0 ;
    int val6 ;
    int ecode6 = 0 ;
    int res7 ;
    char *buf7 = 0 ;
    int alloc7 = 0 ;
    int res9 ;
    int argvi = 0;
    svn_error_t *result = 0 ;
    dXSARGS;
    
    {
      _global_pool = arg10 = svn_swig_pl_make_pool (ST(items-1));
    }
    arg1 = &temp1;
    arg2 = &temp2;
    if ((items < 7) || (items > 8)) {
      SWIG_croak("Usage: svn_repos_get_fs_build_parser3(repos,use_history,validate_props,uuid_action,parent_dir,notify_func,notify_baton,pool);");
    }
    res3 = SWIG_ConvertPtr(ST(0), &argp3,SWIGTYPE_p_svn_repos_t, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_repos_get_fs_build_parser3" "', argument " "3"" of type '" "svn_repos_t *""'"); 
    }
    arg3 = (svn_repos_t *)(argp3);
    ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "svn_repos_get_fs_build_parser3" "', argument " "4"" of type '" "svn_boolean_t""'");
    } 
    arg4 = (svn_boolean_t)(val4);
    ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "svn_repos_get_fs_build_parser3" "', argument " "5"" of type '" "svn_boolean_t""'");
    } 
    arg5 = (svn_boolean_t)(val5);
    ecode6 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "svn_repos_get_fs_build_parser3" "', argument " "6"" of type '" "enum svn_repos_load_uuid""'");
    } 
    arg6 = (enum svn_repos_load_uuid)(val6);
    res7 = SWIG_AsCharPtrAndSize(ST(4), &buf7, NULL, &alloc7);
    if (!SWIG_IsOK(res7)) {
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "svn_repos_get_fs_build_parser3" "', argument " "7"" of type '" "char const *""'");
    }
    arg7 = (char *)(buf7);
    {
      int res = SWIG_ConvertFunctionPtr(ST(5), (void**)(&arg8), SWIGTYPE_p_f_p_void_p_q_const__struct_svn_repos_notify_t_p_apr_pool_t__void);
      if (!SWIG_IsOK(res)) {
        SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_repos_get_fs_build_parser3" "', argument " "8"" of type '" "svn_repos_notify_func_t""'"); 
      }
    }
    res9 = SWIG_ConvertPtr(ST(6),SWIG_as_voidptrptr(&arg9), 0, 0);
    if (!SWIG_IsOK(res9)) {
      SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "svn_repos_get_fs_build_parser3" "', argument " "9"" of type '" "void *""'"); 
    }
    if (items > 7) {
      
    }
    {
      result = (svn_error_t *)svn_repos_get_fs_build_parser3((struct svn_repos_parse_fns2_t const **)arg1,arg2,arg3,arg4,arg5,arg6,(char const *)arg7,arg8,arg9,arg10);
      
      
      
    }
    {
      if (result) {
        SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
        
        if (SvOK(exception_handler)) {
          SV *callback_result;
          
          svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
            &callback_result, "S", result,
            SWIGTYPE_p_svn_error_t);
        } else {
          ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
          argvi++;
        }
      }



( run in 2.918 seconds using v1.01-cache-2.11-cpan-df04353d9ac )