frame: added bool function returning whether the frame is allocated or not
This commit is contained in:
@@ -109,6 +109,11 @@ public:
|
||||
*/
|
||||
void allocate();
|
||||
|
||||
/**
|
||||
* @brief Return whether the frame is allocated or not
|
||||
*/
|
||||
bool is_allocated() const;
|
||||
|
||||
/**
|
||||
* @brief Destroy a memory buffer allocated with allocate()
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user