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