Go to the source code of this file.
◆ DEFINE_ISA_CONVERSION_FUNCTIONS
#define DEFINE_ISA_CONVERSION_FUNCTIONS |
( |
|
ty, |
|
|
|
ref |
|
) |
| |
◆ DEFINE_SIMPLE_CONVERSION_FUNCTIONS
#define DEFINE_SIMPLE_CONVERSION_FUNCTIONS |
( |
|
ty, |
|
|
|
ref |
|
) |
| |
Value:
return
reinterpret_cast<ty*
>(
P); \
} \
\
inline ref
wrap(
const ty *
P) { \
return
reinterpret_cast<ref
>(
const_cast<ty*
>(
P)); \
}
Definition at line 19 of file CBindingWrapping.h.
◆ DEFINE_STDCXX_CONVERSION_FUNCTIONS
#define DEFINE_STDCXX_CONVERSION_FUNCTIONS |
( |
|
ty, |
|
|
|
ref |
|
) |
| |
Value:
\
template<typename T> \
assert(Q && "Invalid cast!"); \
return Q; \
}
Definition at line 36 of file CBindingWrapping.h.