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

[patch] make the svn_filesize_t definition in svn_types.swg consistant with svn_types.h

From: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: 2007-04-13 08:00:03 CEST

Since svn_filesize_t is defined in terms of apr_int64_t in svn_types.h it
seems like we ought to define it the same way for the SWIG based bindings.
This worked with the Perl, Python, and Ruby bindings with SWIG 1.3.24 and
the Ruby bindings with SWIG 1.3.31.

--
Joe
[[[
* subversion/bindings/swig/include/svn_types.swg
  (%apply-ing of typemaps)
]]]
Index: subversion/bindings/swig/include/svn_types.swg
===================================================================
--- subversion/bindings/swig/include/svn_types.swg      (revision 24566)
+++ subversion/bindings/swig/include/svn_types.swg      (working copy)
@@ -240,7 +240,7 @@
   enum svn_wc_merge_outcome_t *
 };
 %apply long *OUTPUT { svn_revnum_t *, svn_node_kind_t * };
-%apply long long *OUTPUT { svn_filesize_t * }
+%apply apr_int64_t *OUTPUT { svn_filesize_t * }
 /* -----------------------------------------------------------------------
    Generic macros for callback typemaps
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 13 08:00:15 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.