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

[PATCH] do_switch still broken with Perl bindings in 1.4.3

From: Eric Wong <normalperson_at_yhbt.net>
Date: 2007-01-29 06:10:08 CET

It looks like an at attempt was made to wrap the switch and
status editors correctly for 1.4.3, but it was missing the
other typemap changes that were only in trunk.

This fixes the issue in 1.4.3 for me.

Index: svn_ra.i
===================================================================
--- svn_ra.i (revision 23276)
+++ svn_ra.i (working copy)
@@ -102,7 +102,10 @@
                      void *diff_baton) {
     svn_delta_make_editor(&$1, &$2, $input, _global_pool);
 }
-
+%typemap(perl5, in) (const svn_delta_editor_t *switch_editor,
+ void *switch_baton) {
+ svn_delta_make_editor(&$1, &$2, $input, _global_pool);
+}
 %apply (const svn_delta_editor_t *EDITOR, void *BATON)
 {
   (const svn_delta_editor_t *update_editor, void *update_baton),

-- 
Eric Wong
Please CC me on replies, thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 30 09:28:12 2007

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.