From: Leonardo Flórez-Valencia Date: Fri, 4 Nov 2016 02:25:34 +0000 (-0500) Subject: Merge branch 'master' of ssh://git.creatis.insa-lyon.fr/cpPlugins X-Git-Tag: v0.1~61 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=28e0611aecbf78647fb8062d0524f60e56bef26c;hp=cd0404b717776e7302a18dacd079b2f1b7ea0019;p=cpPlugins.git Merge branch 'master' of ssh://git.creatis.insa-lyon.fr/cpPlugins --- diff --git a/lib/Instances/BaseObjects.i b/lib/Instances/BaseObjects.i index b632a6c..09a0f16 100644 --- a/lib/Instances/BaseObjects.i +++ b/lib/Instances/BaseObjects.i @@ -7,6 +7,8 @@ header #define ITK_MANUAL_INSTANTIATION * header static std::complex< bool > complexify( bool x ) { return( std::complex< bool >( x, false ) ); } * header }; +define other_dims=6;8;10 + tinclude itkArray2D:h|hxx tinclude itkArray:h|hxx tinclude itkFixedArray:h|hxx @@ -27,7 +29,7 @@ tinclude itkVariableLengthVector:h|hxx instances itk::Array2D< #scalar_pixels# > instances itk::Array< #scalar_pixels# > instances itk::FixedArray< #scalar_pixels#, #process_dims# > -instances itk::FixedArray< #scalar_pixels#, 8 > +instances itk::FixedArray< #scalar_pixels#, #other_dims# > instances itk::#color_pixels#< #scalar_pixels# > instances itk::#vectors#< #real_types#, #process_dims# > instances itk::#diff_tensors#< #real_types# > @@ -40,5 +42,6 @@ instances itk::VariableLengthVector< #scalar_pixels# > define my_vectors=FixedArray;Vector;Point minstances #_export_# std::ostream& itk::operator<< < #real_types#, #process_dims# >( std::ostream& a, itk::#my_vectors#< #real_types#, #process_dims# > const& b ) +minstances void #_export_# itk::VariableLengthVector< #real_types# >::SetSize< itk::VariableLengthVector< #real_types# >::AlwaysReallocate, itk::VariableLengthVector< #real_types# >::KeepOldValues >( unsigned int, itk::VariableLengthVector< #real_types# >::AlwaysReallocate, itk::VariableLengthVector< #real_types# >::KeepOldValues ) ** eof - $RCSfile$ diff --git a/lib/cpPlugins/Interface/Dirent.h b/lib/cpPlugins/Interface/Dirent.h index 5e2c025..7461f91 100644 --- a/lib/cpPlugins/Interface/Dirent.h +++ b/lib/cpPlugins/Interface/Dirent.h @@ -841,7 +841,8 @@ dirent_set_errno( // florez-l: use the standard linux header #else // defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ ) -#include +# include +# include #endif // defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ ) #endif /*__cpPlugins__dirent__h__*/