Skip to content

Commit

Permalink
[python] Add bits() bindings for QgsRasterBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed May 25, 2016
1 parent fff938c commit 76a23e6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions python/core/raster/qgsrasterblock.sip
Expand Up @@ -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.
Expand Down

2 comments on commit 76a23e6

@nirvn
Copy link
Contributor

@nirvn nirvn commented on 76a23e6 May 25, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@NathanW2
Copy link
Member Author

@NathanW2 NathanW2 commented on 76a23e6 May 25, 2016 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.