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

[PATCH] Cleanup usage of make_ob_pool and make_ob_fs_root in swigutil_py.c

From: David James <james82_at_gmail.com>
Date: 2005-10-20 23:15:01 CEST

[[[

Cleanup usage of make_ob_pool and make_ob_fs_root in order to simplify
code.

* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c
  (make_ob_pool): Rename "pool" argument to "unused_ptr", in order to clarify
  that the argument is not used.

  (make_ob_fs_root): Don't accept pool which created the fs_root as an argument,
  because we don't pass C pools into Python world anymore. Instead, use
  _global_svn_swig_py_pool as a placeholder.

  (open_root, delete_entry, add_directory, open_directory, change_dir_prop,
   add_file, open_file, change_file_prop, svn_swig_py_get_fs_locks_func,
   svn_swig_py_get_commit_log_func, svn_swig_py_repos_history_func,
   svn_swig_py_client_blame_receiver_func, svn_swig_py_auth_simple_prompt_func,
   svn_swig_py_auth_username_prompt_func,
   svn_swig_py_auth_ssl_server_trust_prompt_func,
   svn_swig_py_auth_ssl_client_cert_prompt_func,
   svn_swig_py_auth_ssl_client_cert_pw_prompt_func): Don't pass real pool
   to make_ob_pool. Instead pass NULL, since make_ob_pool ignores its
   arguments.

  (svn_swig_py_repos_authz_func): Cleanup usage of make_ob_pool and
  make_ob_fs_root.

  (svn_swig_py_log_receiver): Cleanup usage of make_ob_pool.

]]]

--
David James -- http://www.cs.toronto.edu/~james


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Thu Oct 20 23:16:03 2005

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