#pragma once #include #include "vfxpreopenexr-errors-private.h" #include #include inline Imath_3_0::half::FromBitsTag const & Imath_half_FromBitsTag_to_cpp_ref( Imath_half_FromBitsTag const * rhs) { return *(reinterpret_cast(rhs)); } inline Imath_3_0::half::FromBitsTag & Imath_half_FromBitsTag_to_cpp_ref( Imath_half_FromBitsTag * rhs) { return *(reinterpret_cast(rhs)); } inline Imath_3_0::half::FromBitsTag const * Imath_half_FromBitsTag_to_cpp( Imath_half_FromBitsTag const * rhs) { return reinterpret_cast(rhs); } inline Imath_3_0::half::FromBitsTag * Imath_half_FromBitsTag_to_cpp( Imath_half_FromBitsTag * rhs) { return reinterpret_cast(rhs); } inline void to_c( Imath_half_FromBitsTag const * * lhs , Imath_3_0::half::FromBitsTag const & rhs) { *(lhs) = reinterpret_cast(&(rhs)); } inline void to_c( Imath_half_FromBitsTag const * * lhs , Imath_3_0::half::FromBitsTag const * rhs) { *(lhs) = reinterpret_cast(rhs); } inline void to_c( Imath_half_FromBitsTag * * lhs , Imath_3_0::half::FromBitsTag & rhs) { *(lhs) = reinterpret_cast(&(rhs)); } inline void to_c( Imath_half_FromBitsTag * * lhs , Imath_3_0::half::FromBitsTag * rhs) { *(lhs) = reinterpret_cast(rhs); } inline void to_c_copy( Imath_half_FromBitsTag * lhs , Imath_3_0::half::FromBitsTag const & rhs) { memcpy(lhs, &(rhs), sizeof(*(lhs))); } inline Imath_3_0::half const & to_cpp_ref( Imath_half_t const * rhs) { return *(reinterpret_cast(rhs)); } inline Imath_3_0::half & to_cpp_ref( Imath_half_t * rhs) { return *(reinterpret_cast(rhs)); } inline Imath_3_0::half const * to_cpp( Imath_half_t const * rhs) { return reinterpret_cast(rhs); } inline Imath_3_0::half * to_cpp( Imath_half_t * rhs) { return reinterpret_cast(rhs); } inline void to_c( Imath_half_t const * * lhs , Imath_3_0::half const & rhs) { *(lhs) = reinterpret_cast(&(rhs)); } inline void to_c( Imath_half_t const * * lhs , Imath_3_0::half const * rhs) { *(lhs) = reinterpret_cast(rhs); } inline void to_c( Imath_half_t * * lhs , Imath_3_0::half & rhs) { *(lhs) = reinterpret_cast(&(rhs)); } inline void to_c( Imath_half_t * * lhs , Imath_3_0::half * rhs) { *(lhs) = reinterpret_cast(rhs); } inline void to_c_copy( Imath_half_t * lhs , Imath_3_0::half const & rhs) { Imath_3_0__half_copy(lhs, reinterpret_cast(&(rhs))); }