⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 core.c

📁 subversion-1.4.5.tar.gz 配置svn的源码
💻 C
📖 第 1 页 / 共 5 页
字号:
    if (argc > 1) {            }    {        result = (svn_error_t *)svn_time_from_cstring(arg1,(char const *)arg2,arg3);                                    }    {        if (result) {            svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);            svn_swig_rb_handle_svn_error(result);        }        vresult = Qnil;    }    {        VALUE o = LL2NUM((long long) (*arg1));        vresult = output_helper(vresult, o);    }    {        svn_swig_rb_set_pool(vresult, _global_svn_swig_rb_pool);        svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);    }    return vresult;}static VALUE_wrap_svn_time_to_human_cstring(int argc, VALUE *argv, VALUE self) {    apr_time_t arg1 ;    apr_pool_t *arg2 = (apr_pool_t *) 0 ;    char *result;    VALUE _global_svn_swig_rb_pool ;    apr_pool_t *_global_pool ;    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);    arg1 = (apr_time_t) NUM2LL(argv[0]);    if (argc > 1) {            }    {        result = (char *)svn_time_to_human_cstring(arg1,arg2);                                    }    {        if (result) {            vresult = rb_str_new2(result);        } else {            vresult = Qnil;        }    }    {        svn_swig_rb_set_pool(vresult, _global_svn_swig_rb_pool);        svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);    }    return vresult;}static VALUE_wrap_svn_parse_date(int argc, VALUE *argv, VALUE self) {    svn_boolean_t *arg1 = (svn_boolean_t *) 0 ;    apr_time_t *arg2 = (apr_time_t *) 0 ;    char *arg3 = (char *) 0 ;    apr_time_t arg4 ;    apr_pool_t *arg5 = (apr_pool_t *) 0 ;    svn_error_t *result;    VALUE _global_svn_swig_rb_pool ;    apr_pool_t *_global_pool ;    svn_boolean_t temp1 ;    apr_time_t temp2 ;    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;    }    arg2 = &temp2;    if ((argc < 2) || (argc > 3))    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);    arg3 = StringValuePtr(argv[0]);    arg4 = (apr_time_t) NUM2LL(argv[1]);    if (argc > 2) {            }    {        result = (svn_error_t *)svn_parse_date(arg1,arg2,(char const *)arg3,arg4,arg5);                                    }    {        if (result) {            svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);            svn_swig_rb_handle_svn_error(result);        }        vresult = Qnil;    }    {        vresult = output_helper(vresult, *arg1 ? Qtrue : Qfalse);    }    {        VALUE o = LL2NUM((long long) (*arg2));        vresult = output_helper(vresult, o);    }    {        svn_swig_rb_set_pool(vresult, _global_svn_swig_rb_pool);        svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);    }    return vresult;}static VALUE_wrap_svn_sleep_for_timestamps(int argc, VALUE *argv, VALUE self) {    if ((argc < 0) || (argc > 0))    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);    {        svn_sleep_for_timestamps();                                    }    return Qnil;}swig_class cSvn_error_t;static VALUE_wrap_svn_error_t_apr_err_set(int argc, VALUE *argv, VALUE self) {    svn_error_t *arg1 = (svn_error_t *) 0 ;    apr_status_t arg2 ;    void *temp1 ;        if ((argc < 1) || (argc > 1))    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);    {        SWIG_ConvertPtr(self, &temp1, SWIGTYPE_p_svn_error_t, 1);                                arg1 = (svn_error_t *)temp1;    }    arg2 = NUM2INT(argv[0]);    if (arg1) (arg1)->apr_err = arg2;        return Qnil;}static VALUE_wrap_svn_error_t_apr_err_get(int argc, VALUE *argv, VALUE self) {    svn_error_t *arg1 = (svn_error_t *) 0 ;    apr_status_t result;    void *temp1 ;    VALUE vresult = Qnil;        if ((argc < 0) || (argc > 0))    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);    {        SWIG_ConvertPtr(self, &temp1, SWIGTYPE_p_svn_error_t, 1);                                arg1 = (svn_error_t *)temp1;    }    result = (apr_status_t) ((arg1)->apr_err);        vresult = INT2NUM(result);    return vresult;}static VALUE_wrap_svn_error_t_message_get(int argc, VALUE *argv, VALUE self) {    svn_error_t *arg1 = (svn_error_t *) 0 ;    char *result;    void *temp1 ;    VALUE vresult = Qnil;        if ((argc < 0) || (argc > 0))    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);    {        SWIG_ConvertPtr(self, &temp1, SWIGTYPE_p_svn_error_t, 1);                                arg1 = (svn_error_t *)temp1;    }    result = (char *) ((arg1)->message);        {        if (result) {            vresult = rb_str_new2(result);        } else {            vresult = Qnil;        }    }    return vresult;}static 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 *arg2 = (struct svn_error_t *) 0 ;    void *temp1 ;    void *temp2 ;        if ((argc < 1) || (argc > 1))    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);    {        SWIG_ConvertPtr(self, &temp1, SWIGTYPE_p_svn_error_t, 1);                                arg1 = (svn_error_t *)temp1;    }    {        SWIG_ConvertPtr(argv[0], &temp2, SWIGTYPE_p_svn_error_t, 1);                                arg2 = (struct svn_error_t *)temp2;    }    if (arg1) (arg1)->child = arg2;        return Qnil;}static 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 *result;    void *temp1 ;    VALUE vresult = Qnil;        if ((argc < 0) || (argc > 0))    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);    {        SWIG_ConvertPtr(self, &temp1, SWIGTYPE_p_svn_error_t, 1);                                arg1 = (svn_error_t *)temp1;    }    result = (struct svn_error_t *) ((arg1)->child);        vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_svn_error_t,0);    return vresult;}static VALUE_wrap_svn_error_t_pool_set(int argc, VALUE *argv, VALUE self) {    svn_error_t *arg1 = (svn_error_t *) 0 ;    apr_pool_t *arg2 = (apr_pool_t *) 0 ;    VALUE _global_svn_swig_rb_pool ;    apr_pool_t *_global_pool ;    void *temp1 ;    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 < 0) || (argc > 1))    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);    {        SWIG_ConvertPtr(self, &temp1, SWIGTYPE_p_svn_error_t, 1);                                arg1 = (svn_error_t *)temp1;    }    if (argc > 0) {            }    if (arg1) (arg1)->pool = arg2;        {        svn_swig_rb_set_pool(vresult, _global_svn_swig_rb_pool);        svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);    }    return vresult;}static VALUE_wrap_svn_error_t_pool_get(int argc, VALUE *argv, VALUE self) {    svn_error_t *arg1 = (svn_error_t *) 0 ;    apr_pool_t *result;    void *temp1 ;    VALUE vresult = Qnil;        if ((argc < 0) || (argc > 0))    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);    {        SWIG_ConvertPtr(self, &temp1, SWIGTYPE_p_svn_error_t, 1);                                arg1 = (svn_error_t *)temp1;    }    result = (apr_pool_t *) ((arg1)->pool);        vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_apr_pool_t,0);    return vresult;}static VALUE_wrap_svn_error_t_file_get(int argc, VALUE *argv, VALUE self) {    svn_error_t *arg1 = (svn_error_t *) 0 ;    char *result;    void *temp1 ;    VALUE vresult = Qnil;        if ((argc < 0) || (argc > 0))    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);    {        SWIG_ConvertPtr(self, &temp1, SWIGTYPE_p_svn_error_t, 1);                                arg1 = (svn_error_t *)temp1;    }    result = (char *) ((arg1)->file);        {        if (result) {            vresult = rb_str_new2(result);        } else {            vresult = Qnil;        }    }    return vresult;}static VALUE_wrap_svn_error_t_line_set(int argc, VALUE *argv, VALUE self) {    svn_error_t *arg1 = (svn_error_t *) 0 ;    long arg2 ;    void *temp1 ;        if ((argc < 1) || (argc > 1))    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);    {        SWIG_ConvertPtr(self, &temp1, SWIGTYPE_p_svn_error_t, 1);                                arg1 = (svn_error_t *)temp1;    }    arg2 = NUM2LONG(argv[0]);    if (arg1) (arg1)->line = arg2;        return Qnil;}static VALUE_wrap_svn_error_t_line_get(int argc, VALUE *argv, VALUE self) {    svn_error_t *arg1 = (svn_error_t *) 0 ;    long result;    void *temp1 ;    VALUE vresult = Qnil;        if ((argc < 0) || (argc > 0))    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);    {        SWIG_ConvertPtr(self, &temp1, SWIGTYPE_p_svn_error_t, 1);                                arg1 = (svn_error_t *)temp1;    }    result = (long) ((arg1)->line);        vresult = INT2NUM(result);    return vresult;}#ifdef HAVE_RB_DEFINE_ALLOC_FUNCstatic VALUE_wrap_svn_error_t_allocate(VALUE self) {#else    static VALUE    _wrap_svn_error_t_allocate(int argc, VALUE *argv, VALUE self) {#endif                        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_error_t);#ifndef HAVE_RB_DEFINE_ALLOC_FUNC        rb_obj_call_init(vresult, argc, argv);#endif        return vresult;    }    static VALUE_wrap_new_svn_error_t(int argc, VALUE *argv, VALUE self) {    svn_error_t *result;        if ((argc < 0) || (argc > 0))    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);    {        result = (svn_error_t *)(svn_error_t *) calloc(1, sizeof(svn_error_t));        DATA_PTR(self) = result;                            }    return self;}static voidfree_svn_error_t(svn_error_t *arg1) {    free((char *) arg1);}swig_class cSvn_dirent_t;static VALUE_wrap_svn_dirent_t_kind_set(int argc, VALUE *argv, VALUE self) {    svn_dirent_t *arg1 = (svn_dirent_t *) 0 ;    svn_node_kind_t arg2 ;    void *temp1 ;        if ((argc < 1) || (argc > 1))    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);    {        SWIG_ConvertPtr(self, &temp1, SWIGTYPE_p_svn_dirent_t, 1);                                arg1 = (svn_dirent_t *)temp1;    }    arg2 = (svn_node_kind_t) NUM2INT(argv[0]);    if (arg1) (arg1)->kind = arg2;        return Qnil;}static VALUE_wrap_svn_dirent_t_kind_get(int argc, VALUE *argv, VALUE self) {    svn_dirent_t *arg1 = (svn_dirent_t *) 0 ;    svn_node_kind_t result;    void *temp1 ;    VALUE vresult = Qnil;    

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -