Allows converting, without warnings, between pointers of two unrelated types. More...
#include <juce_ARAHosting.h>
Static Public Member Functions | |
static B | toHostRef (A value) |
static A | fromHostRef (B value) |
Allows converting, without warnings, between pointers of two unrelated types.
This is a bit like ARA_MAP_HOST_REF, but not macro-based.
To use it, add a line like this to a type that needs to deal in host references:
Now, you can convert back and forth with host references by calling Converter::toHostRef() and Converter::fromHostRef().
|
static |
References readUnaligned().
|
static |
References readUnaligned().