# # Autogenerated by Thrift # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @generated # cdef shared_ptr[_fbthrift_ctypes.cStruct] Struct_convert_to_cpp(object inst) except*: return (<_fbthrift_ctypes.Struct?>inst)._cpp_obj cdef object Struct_from_cpp(const shared_ptr[_fbthrift_ctypes.cStruct]& c_struct): return _fbthrift_ctypes.Struct._fbthrift_create(c_struct) cdef shared_ptr[_fbthrift_ctypes.cBigStruct] BigStruct_convert_to_cpp(object inst) except*: return (<_fbthrift_ctypes.BigStruct?>inst)._cpp_obj cdef object BigStruct_from_cpp(const shared_ptr[_fbthrift_ctypes.cBigStruct]& c_struct): return _fbthrift_ctypes.BigStruct._fbthrift_create(c_struct)