#pragma once #include #include "vfxpreopenexr-errors-private.h" #include #include inline Imf_3_0::DeepImageState const & Imf_DeepImageState_to_cpp_ref( Imf_DeepImageState const * rhs) { return *(reinterpret_cast(rhs)); } inline Imf_3_0::DeepImageState & Imf_DeepImageState_to_cpp_ref( Imf_DeepImageState * rhs) { return *(reinterpret_cast(rhs)); } inline Imf_3_0::DeepImageState const * Imf_DeepImageState_to_cpp( Imf_DeepImageState const * rhs) { return reinterpret_cast(rhs); } inline Imf_3_0::DeepImageState * Imf_DeepImageState_to_cpp( Imf_DeepImageState * rhs) { return reinterpret_cast(rhs); } inline void to_c( Imf_DeepImageState const * * lhs , Imf_3_0::DeepImageState const & rhs) { *(lhs) = reinterpret_cast(&(rhs)); } inline void to_c( Imf_DeepImageState const * * lhs , Imf_3_0::DeepImageState const * rhs) { *(lhs) = reinterpret_cast(rhs); } inline void to_c( Imf_DeepImageState * * lhs , Imf_3_0::DeepImageState & rhs) { *(lhs) = reinterpret_cast(&(rhs)); } inline void to_c( Imf_DeepImageState * * lhs , Imf_3_0::DeepImageState * rhs) { *(lhs) = reinterpret_cast(rhs); } inline void to_c_copy( Imf_DeepImageState * lhs , Imf_3_0::DeepImageState const & rhs) { memcpy(lhs, &(rhs), sizeof(*(lhs))); }