Skip to content

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jun 13, 2017
1 parent abe48bf commit 8d35a42
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/core/raster/qgsrasterinterface.sip
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,11 @@ Sets base class members from xml. Usually called from create() methods of subcla
maximum = PyFloat_AsDouble( a4 );
}

#if defined(SIP_PROTECTED_IS_PUBLIC)
sipCpp->initHistogram( *a0, a1, a2, minimum, maximum, *a5, a6, a7 );
#else
sipCpp->sipProtect_initHistogram( *a0, a1, a2, minimum, maximum, *a5, a6, a7 );
#endif
%End


Expand Down
4 changes: 4 additions & 0 deletions src/core/raster/qgsrasterinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,11 @@ class CORE_EXPORT QgsRasterInterface
maximum = PyFloat_AsDouble( a4 );
}

#if defined(SIP_PROTECTED_IS_PUBLIC)
sipCpp->initHistogram( *a0, a1, a2, minimum, maximum, *a5, a6, a7 );
#else
sipCpp->sipProtect_initHistogram( *a0, a1, a2, minimum, maximum, *a5, a6, a7 );
#endif
% End
#endif

Expand Down

0 comments on commit 8d35a42

Please sign in to comment.