Skip to content
Permalink
Browse files

[python] Add bits() bindings for QgsRasterBlock

  • Loading branch information
NathanW2 committed May 25, 2016
1 parent fff938c commit 76a23e68e8aab2a2711cd6e26d194700567d0f85
Showing with 3 additions and 5 deletions.
  1. +3 −5 python/core/raster/qgsrasterblock.sip
@@ -201,22 +201,20 @@ class QgsRasterBlock
* @param row row index
* @param column column index
* @return pointer to data
* @note not available in python bindings
*/
// char * bits( int row, int column );
void *bits( int row, int column ) /PyName=bitsByRowCol/ [char * ()];

/** \brief Get pointer to data
* @param index data matrix index (long type in Python)
* @return pointer to data
* @note not available in python bindings
*/
// char * bits( qgssize index );
void *bits( qgssize index ) /PyName=bitsByIndex/ [char * ()];

/** \brief Get pointer to data
* @return pointer to data
* @note not available in python bindings
*/
// char * bits();
void *bits() [char * ()];

/** \brief Print double value with all necessary significant digits.
* It is ensured that conversion back to double gives the same number.

2 comments on commit 76a23e6

@nirvn

This comment has been minimized.

Copy link
Contributor

@nirvn nirvn replied May 25, 2016

Did you miss one @note not available on line 215?

@NathanW2

This comment has been minimized.

Copy link
Member Author

@NathanW2 NathanW2 replied May 25, 2016

Please sign in to comment.
You can’t perform that action at this time.