A handle to a given memory manager object, defined with an FT_MemoryRec structure.
More...
#include <cpp_freetype/Memory.h>
|
void | destroy () |
| destroys the underlying FT_Memory object, make sure it is only called on one copy of the handle More...
|
|
void * | get_ptr () |
| return underyling FT_Memory handle More...
|
|
| Memory (void *ptr) |
| Wrap constructor,. More...
|
|
A handle to a given memory manager object, defined with an FT_MemoryRec structure.
- Note
- Memory managers are not reference counted, and ownership is not assumed by freetype. Destroy the underlying object with Memory::destroy when you are finished with it
Definition at line 43 of file Memory.h.
freetype::Memory::Memory |
( |
void * |
ptr | ) |
|
create a new memory management handle which wraps the provided memory management slots
void freetype::Memory::destroy |
( |
| ) |
|
destroys the underlying FT_Memory object, make sure it is only called on one copy of the handle
void* freetype::Memory::get_ptr |
( |
| ) |
|
return underyling FT_Memory handle
void* freetype::Memory::m_ptr |
|
private |
The documentation for this class was generated from the following file: