heroxbd     14/05/03 02:02:05

  Modified:             pyplusplus-1.0.0_p20131206-numpy.patch
  Log:
  refine the boost numpy patch to only handle arithmatic typed arrays
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.4                  
dev-python/pyplusplus/files/pyplusplus-1.0.0_p20131206-numpy.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/files/pyplusplus-1.0.0_p20131206-numpy.patch?rev=1.4&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/files/pyplusplus-1.0.0_p20131206-numpy.patch?rev=1.4&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/files/pyplusplus-1.0.0_p20131206-numpy.patch?r1=1.3&r2=1.4

Index: pyplusplus-1.0.0_p20131206-numpy.patch
===================================================================
RCS file: 
/var/cvsroot/gentoo-x86/dev-python/pyplusplus/files/pyplusplus-1.0.0_p20131206-numpy.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- pyplusplus-1.0.0_p20131206-numpy.patch      25 Feb 2014 01:56:52 -0000      
1.3
+++ pyplusplus-1.0.0_p20131206-numpy.patch      3 May 2014 02:02:05 -0000       
1.4
@@ -168,7 +168,7 @@
              elif declarations.is_array( self.curr_decl.type ):
 -                wrapper = code_creators.array_mv_wrapper_t( 
variable=self.curr_decl )
 -                maker = code_creators.array_mv_t( variable=self.curr_decl, 
wrapper=wrapper )
-+                if declarations.is_fundamental(declarations.array_item_type( 
self.curr_decl.type )):
++                if declarations.is_arithmetic(declarations.array_item_type( 
self.curr_decl.type )):
 +                    wrapper = code_creators.array_numpy_wrapper_t( 
variable=self.curr_decl )
 +                    maker = code_creators.array_numpy_t( 
variable=self.curr_decl, wrapper=wrapper )
 +                else:




Reply via email to