![]() |
Libmacro
0.2
Libmacro is an extensible macro and hotkey library.
|
#include <data_member.h>
Public Attributes | |
| void * | data |
| void(* | deallocate )(void *) |
| mcr_data_fnc | deinit |
An object reference that remembers how to destroy itself. It may or may not be in heap memory to deallocate.
This reference has no knowledge of how it was constructed, only how to destroy.
Definition at line 39 of file data_member.h.
| void* mcr_DataMember::data |
Object member reference
Definition at line 41 of file data_member.h.
| void(* mcr_DataMember::deallocate) (void *) |
Deallocate from heap.
If data is allocated with C++ new or new[] operators, please create functions to delete correctly. mcr::deleteDataMember
Definition at line 46 of file data_member.h.
| mcr_data_fnc mcr_DataMember::deinit |
Free resources but do not free from heap.
This will be called before deallocate.
Definition at line 51 of file data_member.h.