# # Autogenerated by Thrift # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @generated # cdef shared_ptr[_fbthrift_ctypes.cInitialResponse] InitialResponse_convert_to_cpp(object inst) except*: return (<_fbthrift_ctypes.InitialResponse?>inst)._cpp_obj cdef object InitialResponse_from_cpp(const shared_ptr[_fbthrift_ctypes.cInitialResponse]& c_struct): return _fbthrift_ctypes.InitialResponse._fbthrift_create(c_struct) cdef shared_ptr[_fbthrift_ctypes.cFinalResponse] FinalResponse_convert_to_cpp(object inst) except*: return (<_fbthrift_ctypes.FinalResponse?>inst)._cpp_obj cdef object FinalResponse_from_cpp(const shared_ptr[_fbthrift_ctypes.cFinalResponse]& c_struct): return _fbthrift_ctypes.FinalResponse._fbthrift_create(c_struct) cdef shared_ptr[_fbthrift_ctypes.cSinkPayload] SinkPayload_convert_to_cpp(object inst) except*: return (<_fbthrift_ctypes.SinkPayload?>inst)._cpp_obj cdef object SinkPayload_from_cpp(const shared_ptr[_fbthrift_ctypes.cSinkPayload]& c_struct): return _fbthrift_ctypes.SinkPayload._fbthrift_create(c_struct) cdef shared_ptr[_fbthrift_ctypes.cCompatibleWithKeywordSink] CompatibleWithKeywordSink_convert_to_cpp(object inst) except*: return (<_fbthrift_ctypes.CompatibleWithKeywordSink?>inst)._cpp_obj cdef object CompatibleWithKeywordSink_from_cpp(const shared_ptr[_fbthrift_ctypes.cCompatibleWithKeywordSink]& c_struct): return _fbthrift_ctypes.CompatibleWithKeywordSink._fbthrift_create(c_struct) cdef shared_ptr[_fbthrift_ctypes.cInitialException] InitialException_convert_to_cpp(object inst) except*: return (<_fbthrift_ctypes.InitialException?>inst)._cpp_obj cdef object InitialException_from_cpp(const shared_ptr[_fbthrift_ctypes.cInitialException]& c_struct): return _fbthrift_ctypes.InitialException._fbthrift_create(c_struct) cdef shared_ptr[_fbthrift_ctypes.cSinkException1] SinkException1_convert_to_cpp(object inst) except*: return (<_fbthrift_ctypes.SinkException1?>inst)._cpp_obj cdef object SinkException1_from_cpp(const shared_ptr[_fbthrift_ctypes.cSinkException1]& c_struct): return _fbthrift_ctypes.SinkException1._fbthrift_create(c_struct) cdef shared_ptr[_fbthrift_ctypes.cSinkException2] SinkException2_convert_to_cpp(object inst) except*: return (<_fbthrift_ctypes.SinkException2?>inst)._cpp_obj cdef object SinkException2_from_cpp(const shared_ptr[_fbthrift_ctypes.cSinkException2]& c_struct): return _fbthrift_ctypes.SinkException2._fbthrift_create(c_struct)