subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1506531 - /subversion/trunk/subversion/bindings/swig/svn_delta.i
Date Wed, 24 Jul 2013 12:46:01 GMT
Author: rhuijben
Date: Wed Jul 24 12:46:01 2013
New Revision: 1506531

URL: http://svn.apache.org/r1506531
Log:
* subversion/bindings/swig/svn_delta.i
  (svn_swig_py_make_editor): Following up on r1506520, reintroduce
    function prototype, but now with documentation why it is needed.

Modified:
    subversion/trunk/subversion/bindings/swig/svn_delta.i

Modified: subversion/trunk/subversion/bindings/swig/svn_delta.i
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/svn_delta.i?rev=1506531&r1=1506530&r2=1506531&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/swig/svn_delta.i (original)
+++ subversion/trunk/subversion/bindings/swig/svn_delta.i Wed Jul 24 12:46:01 2013
@@ -62,6 +62,16 @@
    thunk editors for the various language bindings.
 */
 
+#ifdef SWIGPYTHON
+/* Make swig wrap this function for us, to allow making an editor in python
+   ### There must be a cleaner way to implement this? 
+   ### Maybe follow Ruby by wrapping it where passing an editor? */
+void svn_swig_py_make_editor(const svn_delta_editor_t **editor,
+                             void **edit_baton,
+                             PyObject *py_editor,
+                             apr_pool_t *pool);
+#endif
+
 #ifdef SWIGPERL
 %typemap(in) (const svn_delta_editor_t *EDITOR, void *BATON) {
     svn_swig_pl_make_editor(&$1, &$2, $input, _global_pool);



Mime
View raw message