Browse Source

Make Image*::release() documentation clearer.

pull/51/head
Vladimír Vondruš 12 years ago
parent
commit
2f8e5f31a1
  1. 4
      src/Magnum/Image.h
  2. 4
      src/Magnum/Trade/ImageData.h

4
src/Magnum/Image.h

@ -138,8 +138,8 @@ template<UnsignedInt dimensions> class Image: public AbstractImage {
/**
* @brief Release data storage
*
* Returns the data pointer and resets internal state to default.
* Deleting the returned array is user responsibility.
* Releases the ownership of the data pointer and resets internal state
* to default. Deleting the returned array is then user responsibility.
* @see @ref setData()
*/
unsigned char* release();

4
src/Magnum/Trade/ImageData.h

@ -109,8 +109,8 @@ template<UnsignedInt dimensions> class ImageData: public AbstractImage {
/**
* @brief Release data storage
*
* Returns the data pointer and resets internal state to default.
* Deleting the returned array is user responsibility.
* Releases the ownership of the data pointer and resets internal state
* to default. Deleting the returned array is then user responsibility.
* @see @ref data()
*/
unsigned char* release();

Loading…
Cancel
Save