The data structure for memery blocks.
More...
#include <NanoCanvas.h>
|
| void * | data = nullptr |
| | The data of the memery block. More...
|
| |
| unsigned long | size = 0UL |
| | Size of the memery block in bytes. More...
|
| |
The data structure for memery blocks.
| void NanoCanvas::Memery::invalidate |
( |
| ) |
|
|
inline |
Invalidate the memery object.
- Attention
- This method does NOT free the memery,you have to do it yourself!
| bool NanoCanvas::Memery::valid |
( |
| ) |
const |
|
inline |
Check is the data is not NULL and size is not 0.
| void* NanoCanvas::Memery::data = nullptr |
The data of the memery block.
| unsigned long NanoCanvas::Memery::size = 0UL |
Size of the memery block in bytes.
The documentation for this struct was generated from the following file:
- /home/geequlim/Documents/Workspace/Develop/NanoCanvas/src/NanoCanvas.h