[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-dev
Subject:    FW:  [PATCH] Issue 2342
From:       "Dale Hirt" <dale () sbcltd ! com>
Date:       2005-06-28 19:36:43
Message-ID: EAE5EA0B1FB9CA499846A81CFBC73C6C2FDAE7 () sbcmail ! sbcltd ! com
[Download RAW message or body]

Is there anyone able to comment on this?

-----Original Message-----
From: Dale Hirt [mailto:dale@sbcltd.com]
Sent: Wednesday, June 22, 2005 11:57 AM
To: Subversion Development Mailing List (E-mail)
Subject: [PATCH] Issue 2342


See this issue:  http://subversion.tigris.org/issues/show_bug.cgi?id=2342

I would appreciate it if someone could verify.  My building environment seems \
hopelessly broken for the time being.  Thanks.

Dale

Log Message:
---------------
subversion/bindings/swig/svn_client.i
  * Python typemap for svn_client_get_commit_log_t log_msg_func changed to 
    reflect that log_msg_func was put into svn_client_ctx_t struct.


["2342.patch" (application/octet-stream)]

Index: subversion/bindings/swig/svn_client.i
===================================================================
--- subversion/bindings/swig/svn_client.i	(revision 15146)
+++ subversion/bindings/swig/svn_client.i	(working copy)
@@ -121,11 +121,14 @@
    svn_client_ctx_t
 */
 
-%typemap(python,in) (svn_client_get_commit_log_t log_msg_func, 
-                     void *log_msg_baton) {
+%typemap(python,in) (svn_client_get_commit_log_t log_msg_func)
+{
 
-  $1 = svn_swig_py_get_commit_log_func;
-  $2 = $input; /* our function is the baton. */
+  /* Assume that arg1 is svn_client_ctx_t. */
+  if (arg1) {
+    $1 = svn_swig_py_get_commit_log_func;
+    arg1->log_msg_baton = (void *)$input;
+  }
 }
 
 %typemap(ruby,in) (svn_client_get_commit_log_t log_msg_func) 

["ATT263999.txt" (text/plain)]

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

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic