subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1692470 - /subversion/trunk/subversion/bindings/swig/include/svn_types.swg
Date Fri, 24 Jul 2015 09:20:05 GMT
Author: rhuijben
Date: Fri Jul 24 09:20:05 2015
New Revision: 1692470

URL: http://svn.apache.org/r1692470
Log:
In the swig ruby binding: Make the digest typemap match the arguments of
svn_md5_digest_to_cstring and svn_md5_digest_to_cstring. This fixes a
usage of an undefined variable on Windows in the swig generated code.

* subversion/bindings/swig/include/svn_types.swg
  (const unsigned char *digest): Add note to python mapping. Fix ruby mapping.

Modified:
    subversion/trunk/subversion/bindings/swig/include/svn_types.swg

Modified: subversion/trunk/subversion/bindings/swig/include/svn_types.swg
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/include/svn_types.swg?rev=1692470&r1=1692469&r2=1692470&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/swig/include/svn_types.swg (original)
+++ subversion/trunk/subversion/bindings/swig/include/svn_types.swg Fri Jul 24 09:20:05 2015
@@ -1152,6 +1152,7 @@ svn_ ## TYPE ## _swig_rb_closed(VALUE se
 #endif
 
 #ifdef SWIGPYTHON
+/* ### Verify if this should use '[]' like perl and ruby */
 %typemap(in) const unsigned char *digest {
     if ($input == Py_None) {
         $1 = NULL;
@@ -1163,7 +1164,7 @@ svn_ ## TYPE ## _swig_rb_closed(VALUE se
 #endif
 
 #ifdef SWIGRUBY
-%typemap(in) const unsigned char *digest
+%typemap(in) const unsigned char digest[]
 {
   if (NIL_P($input)) {
     $1 = NULL;



Mime
View raw message