Blender
V3.3
|
#include <GHOST_Util.h>
Public Types | |
using | FreeFn = std::function< void(void *)> |
Public Member Functions | |
GHOST_C_CustomDataWrapper (void *custom_data, FreeFn free_fn) | |
~GHOST_C_CustomDataWrapper () | |
Public Attributes | |
void * | custom_data_ |
FreeFn | free_fn_ |
RAII wrapper for typical C void *
custom data. Used for exception safe custom-data handling during constructor calls.
Definition at line 15 of file GHOST_Util.h.
using GHOST_C_CustomDataWrapper::FreeFn = std::function<void(void *)> |
Definition at line 16 of file GHOST_Util.h.
Definition at line 21 of file GHOST_Util.h.
|
inline |
Definition at line 25 of file GHOST_Util.h.
References custom_data_, and free_fn_.
void* GHOST_C_CustomDataWrapper::custom_data_ |
Definition at line 18 of file GHOST_Util.h.
Referenced by ~GHOST_C_CustomDataWrapper().
FreeFn GHOST_C_CustomDataWrapper::free_fn_ |
Definition at line 19 of file GHOST_Util.h.
Referenced by ~GHOST_C_CustomDataWrapper().