[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Ruby binding can't be built?

From: Fumitoshi UKAI <ukai_at_debian.or.jp>
Date: 2002-12-26 09:17:58 CET

Hi,

I try to build ruby bindings, but failed.
It seems that svn_client_propget() and svn_client_proplist()
APIs has been changed that bindings/ruby/client.c expected.
In subversion/include/svn_client.h

svn_error_t *
svn_client_propget (apr_hash_t **props,
                    const char *propname,
                    const char *target,
                    const svn_opt_revision_t *revision,
                    svn_client_auth_baton_t *auth_baton,
                    svn_boolean_t recurse,
                    apr_pool_t *pool);

and

svn_error_t *
svn_client_proplist (apr_array_header_t **props,
                     const char *target,
                     const svn_opt_revision_t *revision,
                     svn_client_auth_baton_t *auth_baton,
                     svn_boolean_t recurse,
                     apr_pool_t *pool);

But in bindings/ruby/client.c, it is written like this

  SVN_RB_ERR (svn_client_propget (&props, StringValuePtr (name),
                                  StringValuePtr (aTarget), RTEST (recurse),
                                  pool),
              pool);

and

  SVN_RB_ERR (svn_client_proplist (&props, StringValuePtr (aTarget),
                                   RTEST (recurse), pool),
              pool);

It misses passing revision and auth_baton.
How should we fix this? change ruby APIs SVN::Client#propget, proplist?

Thanks,
Fumitoshi UKAI

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 26 09:18:43 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.