Alien-SVN

 view release on metacpan or  search on metacpan

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

    XSRETURN(argvi);
  fail:
    
    if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    
    
    
    
    SWIG_croak_null();
  }
}


XS(_wrap_svn_client_export5) {
  {
    svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
    char *arg2 = (char *) 0 ;
    char *arg3 = (char *) 0 ;
    svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
    svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
    svn_boolean_t arg6 ;
    svn_boolean_t arg7 ;
    svn_boolean_t arg8 ;
    svn_depth_t arg9 ;
    char *arg10 = (char *) 0 ;
    svn_client_ctx_t *arg11 = (svn_client_ctx_t *) 0 ;
    apr_pool_t *arg12 = (apr_pool_t *) 0 ;
    apr_pool_t *_global_pool ;
    svn_revnum_t temp1 ;
    int res1 = SWIG_TMPOBJ ;
    int res2 ;
    char *buf2 = 0 ;
    int alloc2 = 0 ;
    int res3 ;
    char *buf3 = 0 ;
    int alloc3 = 0 ;
    svn_opt_revision_t rev4 ;
    svn_opt_revision_t rev5 ;
    int val6 ;
    int ecode6 = 0 ;
    int val7 ;
    int ecode7 = 0 ;
    int val8 ;
    int ecode8 = 0 ;
    int val9 ;
    int ecode9 = 0 ;
    int res10 ;
    char *buf10 = 0 ;
    int alloc10 = 0 ;
    void *argp11 = 0 ;
    int res11 = 0 ;
    int argvi = 0;
    svn_error_t *result = 0 ;
    dXSARGS;
    
    {
      _global_pool = arg12 = svn_swig_pl_make_pool (ST(items-1));
    }
    arg1 = &temp1;
    if ((items < 10) || (items > 11)) {
      SWIG_croak("Usage: svn_client_export5(from_path_or_url,to_path,peg_revision,revision,overwrite,ignore_externals,ignore_keywords,depth,native_eol,ctx,pool);");
    }
    res2 = SWIG_AsCharPtrAndSize(ST(0), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_client_export5" "', argument " "2"" of type '" "char const *""'");
    }
    arg2 = (char *)(buf2);
    res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_client_export5" "', argument " "3"" of type '" "char const *""'");
    }
    arg3 = (char *)(buf3);
    {
      arg4 = svn_swig_pl_set_revision(&rev4, ST(2), TRUE);
    }
    {
      arg5 = svn_swig_pl_set_revision(&rev5, ST(3), TRUE);
    }
    ecode6 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "svn_client_export5" "', argument " "6"" of type '" "svn_boolean_t""'");
    } 
    arg6 = (svn_boolean_t)(val6);
    ecode7 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(5), &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "svn_client_export5" "', argument " "7"" of type '" "svn_boolean_t""'");
    } 
    arg7 = (svn_boolean_t)(val7);
    ecode8 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(6), &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "svn_client_export5" "', argument " "8"" of type '" "svn_boolean_t""'");
    } 
    arg8 = (svn_boolean_t)(val8);
    ecode9 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(7), &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "svn_client_export5" "', argument " "9"" of type '" "svn_depth_t""'");
    } 
    arg9 = (svn_depth_t)(val9);
    res10 = SWIG_AsCharPtrAndSize(ST(8), &buf10, NULL, &alloc10);
    if (!SWIG_IsOK(res10)) {
      SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "svn_client_export5" "', argument " "10"" of type '" "char const *""'");
    }
    arg10 = (char *)(buf10);
    res11 = SWIG_ConvertPtr(ST(9), &argp11,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
    if (!SWIG_IsOK(res11)) {
      SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "svn_client_export5" "', argument " "11"" of type '" "svn_client_ctx_t *""'"); 
    }
    arg11 = (svn_client_ctx_t *)(argp11);
    if (items > 10) {
      
    }
    {
      if (!arg4) {
        SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
      }
    }
    {
      if (!arg5) {
        SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
      }
    }

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

    if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
    
    
    
    
    
    
    if (alloc10 == SWIG_NEWOBJ) free((char*)buf10);
    
    
    SWIG_croak_null();
  }
}


XS(_wrap_svn_client_export4) {
  {
    svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
    char *arg2 = (char *) 0 ;
    char *arg3 = (char *) 0 ;
    svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
    svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
    svn_boolean_t arg6 ;
    svn_boolean_t arg7 ;
    svn_depth_t arg8 ;
    char *arg9 = (char *) 0 ;
    svn_client_ctx_t *arg10 = (svn_client_ctx_t *) 0 ;
    apr_pool_t *arg11 = (apr_pool_t *) 0 ;
    apr_pool_t *_global_pool ;
    svn_revnum_t temp1 ;
    int res1 = SWIG_TMPOBJ ;
    int res2 ;
    char *buf2 = 0 ;
    int alloc2 = 0 ;
    int res3 ;
    char *buf3 = 0 ;
    int alloc3 = 0 ;
    svn_opt_revision_t rev4 ;
    svn_opt_revision_t rev5 ;
    int val6 ;
    int ecode6 = 0 ;
    int val7 ;
    int ecode7 = 0 ;
    int val8 ;
    int ecode8 = 0 ;
    int res9 ;
    char *buf9 = 0 ;
    int alloc9 = 0 ;
    void *argp10 = 0 ;
    int res10 = 0 ;
    int argvi = 0;
    svn_error_t *result = 0 ;
    dXSARGS;
    
    {
      _global_pool = arg11 = svn_swig_pl_make_pool (ST(items-1));
    }
    arg1 = &temp1;
    if ((items < 9) || (items > 10)) {
      SWIG_croak("Usage: svn_client_export4(from_path_or_url,to_path,peg_revision,revision,overwrite,ignore_externals,depth,native_eol,ctx,pool);");
    }
    res2 = SWIG_AsCharPtrAndSize(ST(0), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_client_export4" "', argument " "2"" of type '" "char const *""'");
    }
    arg2 = (char *)(buf2);
    res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_client_export4" "', argument " "3"" of type '" "char const *""'");
    }
    arg3 = (char *)(buf3);
    {
      arg4 = svn_swig_pl_set_revision(&rev4, ST(2), TRUE);
    }
    {
      arg5 = svn_swig_pl_set_revision(&rev5, ST(3), TRUE);
    }
    ecode6 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "svn_client_export4" "', argument " "6"" of type '" "svn_boolean_t""'");
    } 
    arg6 = (svn_boolean_t)(val6);
    ecode7 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(5), &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "svn_client_export4" "', argument " "7"" of type '" "svn_boolean_t""'");
    } 
    arg7 = (svn_boolean_t)(val7);
    ecode8 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(6), &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "svn_client_export4" "', argument " "8"" of type '" "svn_depth_t""'");
    } 
    arg8 = (svn_depth_t)(val8);
    res9 = SWIG_AsCharPtrAndSize(ST(7), &buf9, NULL, &alloc9);
    if (!SWIG_IsOK(res9)) {
      SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "svn_client_export4" "', argument " "9"" of type '" "char const *""'");
    }
    arg9 = (char *)(buf9);
    res10 = SWIG_ConvertPtr(ST(8), &argp10,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
    if (!SWIG_IsOK(res10)) {
      SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "svn_client_export4" "', argument " "10"" of type '" "svn_client_ctx_t *""'"); 
    }
    arg10 = (svn_client_ctx_t *)(argp10);
    if (items > 9) {
      
    }
    {
      if (!arg4) {
        SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
      }
    }
    {
      if (!arg5) {
        SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
      }
    }
    {
      result = (svn_error_t *)svn_client_export4(arg1,(char const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_opt_revision_t const *)arg5,arg6,arg7,arg8,(char const *)arg9,arg10,arg11);
      
      
      

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

    
    if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
    
    
    
    
    
    if (alloc9 == SWIG_NEWOBJ) free((char*)buf9);
    
    
    SWIG_croak_null();
  }
}


XS(_wrap_svn_client_export3) {
  {
    svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
    char *arg2 = (char *) 0 ;
    char *arg3 = (char *) 0 ;
    svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
    svn_opt_revision_t *arg5 = (svn_opt_revision_t *) 0 ;
    svn_boolean_t arg6 ;
    svn_boolean_t arg7 ;
    svn_boolean_t arg8 ;
    char *arg9 = (char *) 0 ;
    svn_client_ctx_t *arg10 = (svn_client_ctx_t *) 0 ;
    apr_pool_t *arg11 = (apr_pool_t *) 0 ;
    apr_pool_t *_global_pool ;
    svn_revnum_t temp1 ;
    int res1 = SWIG_TMPOBJ ;
    int res2 ;
    char *buf2 = 0 ;
    int alloc2 = 0 ;
    int res3 ;
    char *buf3 = 0 ;
    int alloc3 = 0 ;
    svn_opt_revision_t rev4 ;
    svn_opt_revision_t rev5 ;
    int val6 ;
    int ecode6 = 0 ;
    int val7 ;
    int ecode7 = 0 ;
    int val8 ;
    int ecode8 = 0 ;
    int res9 ;
    char *buf9 = 0 ;
    int alloc9 = 0 ;
    void *argp10 = 0 ;
    int res10 = 0 ;
    int argvi = 0;
    svn_error_t *result = 0 ;
    dXSARGS;
    
    {
      _global_pool = arg11 = svn_swig_pl_make_pool (ST(items-1));
    }
    arg1 = &temp1;
    if ((items < 9) || (items > 10)) {
      SWIG_croak("Usage: svn_client_export3(from_path_or_url,to_path,peg_revision,revision,overwrite,ignore_externals,recurse,native_eol,ctx,pool);");
    }
    res2 = SWIG_AsCharPtrAndSize(ST(0), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_client_export3" "', argument " "2"" of type '" "char const *""'");
    }
    arg2 = (char *)(buf2);
    res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_client_export3" "', argument " "3"" of type '" "char const *""'");
    }
    arg3 = (char *)(buf3);
    {
      arg4 = svn_swig_pl_set_revision(&rev4, ST(2), TRUE);
    }
    {
      arg5 = svn_swig_pl_set_revision(&rev5, ST(3), TRUE);
    }
    ecode6 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "svn_client_export3" "', argument " "6"" of type '" "svn_boolean_t""'");
    } 
    arg6 = (svn_boolean_t)(val6);
    ecode7 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(5), &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "svn_client_export3" "', argument " "7"" of type '" "svn_boolean_t""'");
    } 
    arg7 = (svn_boolean_t)(val7);
    ecode8 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(6), &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "svn_client_export3" "', argument " "8"" of type '" "svn_boolean_t""'");
    } 
    arg8 = (svn_boolean_t)(val8);
    res9 = SWIG_AsCharPtrAndSize(ST(7), &buf9, NULL, &alloc9);
    if (!SWIG_IsOK(res9)) {
      SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "svn_client_export3" "', argument " "9"" of type '" "char const *""'");
    }
    arg9 = (char *)(buf9);
    res10 = SWIG_ConvertPtr(ST(8), &argp10,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
    if (!SWIG_IsOK(res10)) {
      SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "svn_client_export3" "', argument " "10"" of type '" "svn_client_ctx_t *""'"); 
    }
    arg10 = (svn_client_ctx_t *)(argp10);
    if (items > 9) {
      
    }
    {
      if (!arg4) {
        SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
      }
    }
    {
      if (!arg5) {
        SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
      }
    }
    {
      result = (svn_error_t *)svn_client_export3(arg1,(char const *)arg2,(char const *)arg3,(struct svn_opt_revision_t const *)arg4,(struct svn_opt_revision_t const *)arg5,arg6,arg7,arg8,(char const *)arg9,arg10,arg11);
      
      
      

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

    
    
    
    if (alloc9 == SWIG_NEWOBJ) free((char*)buf9);
    
    
    XSRETURN(argvi);
  fail:
    
    if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
    
    
    
    
    
    if (alloc9 == SWIG_NEWOBJ) free((char*)buf9);
    
    
    SWIG_croak_null();
  }
}


XS(_wrap_svn_client_export2) {
  {
    svn_revnum_t *arg1 = (svn_revnum_t *) 0 ;
    char *arg2 = (char *) 0 ;
    char *arg3 = (char *) 0 ;
    svn_opt_revision_t *arg4 = (svn_opt_revision_t *) 0 ;
    svn_boolean_t arg5 ;
    char *arg6 = (char *) 0 ;
    svn_client_ctx_t *arg7 = (svn_client_ctx_t *) 0 ;
    apr_pool_t *arg8 = (apr_pool_t *) 0 ;
    apr_pool_t *_global_pool ;
    svn_revnum_t temp1 ;
    int res1 = SWIG_TMPOBJ ;
    int res2 ;
    char *buf2 = 0 ;
    int alloc2 = 0 ;
    int res3 ;
    char *buf3 = 0 ;
    int alloc3 = 0 ;
    svn_opt_revision_t rev4 ;
    int val5 ;
    int ecode5 = 0 ;
    int res6 ;
    char *buf6 = 0 ;
    int alloc6 = 0 ;
    void *argp7 = 0 ;
    int res7 = 0 ;
    int argvi = 0;
    svn_error_t *result = 0 ;
    dXSARGS;
    
    {
      _global_pool = arg8 = svn_swig_pl_make_pool (ST(items-1));
    }
    arg1 = &temp1;
    if ((items < 6) || (items > 7)) {
      SWIG_croak("Usage: svn_client_export2(from_path_or_url,to_path,revision,force,native_eol,ctx,pool);");
    }
    res2 = SWIG_AsCharPtrAndSize(ST(0), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_client_export2" "', argument " "2"" of type '" "char const *""'");
    }
    arg2 = (char *)(buf2);
    res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_client_export2" "', argument " "3"" of type '" "char const *""'");
    }
    arg3 = (char *)(buf3);
    {
      arg4 = svn_swig_pl_set_revision(&rev4, ST(2), TRUE);
    }
    ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "svn_client_export2" "', argument " "5"" of type '" "svn_boolean_t""'");
    } 
    arg5 = (svn_boolean_t)(val5);
    res6 = SWIG_AsCharPtrAndSize(ST(4), &buf6, NULL, &alloc6);
    if (!SWIG_IsOK(res6)) {
      SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "svn_client_export2" "', argument " "6"" of type '" "char const *""'");
    }
    arg6 = (char *)(buf6);
    res7 = SWIG_ConvertPtr(ST(5), &argp7,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
    if (!SWIG_IsOK(res7)) {
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "svn_client_export2" "', argument " "7"" of type '" "svn_client_ctx_t *""'"); 
    }
    arg7 = (svn_client_ctx_t *)(argp7);
    if (items > 6) {
      
    }
    {
      result = (svn_error_t *)svn_client_export2(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,(char const *)arg6,arg7,arg8);
      
      
      
    }
    {
      if (result) {
        SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
        
        if (SvOK(exception_handler)) {
          SV *callback_result;
          
          svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
            &callback_result, "S", result,
            SWIGTYPE_p_svn_error_t);
        } else {
          ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
          argvi++;
        }
      }
    }
    if (SWIG_IsTmpObj(res1)) {
      if (argvi >= items) EXTEND(sp,1);  ST(argvi) = SWIG_From_long  SWIG_PERL_CALL_ARGS_1((*arg1)); argvi++  ;
    } else {
      int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0) : 0;
      if (argvi >= items) EXTEND(sp,1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_long, new_flags); argvi++  ;
    }



( run in 0.598 second using v1.01-cache-2.11-cpan-8f98c5d2c55 )