# # Autogenerated by Thrift # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @generated # cdef shared_ptr[_fbthrift_ctypes.cInternship] Internship_convert_to_cpp(object inst) except*: return (<_fbthrift_ctypes.Internship?>inst)._cpp_obj cdef object Internship_from_cpp(const shared_ptr[_fbthrift_ctypes.cInternship]& c_struct): return _fbthrift_ctypes.Internship._fbthrift_create(c_struct) cdef shared_ptr[_fbthrift_ctypes.cRange] Range_convert_to_cpp(object inst) except*: return (<_fbthrift_ctypes.Range?>inst)._cpp_obj cdef object Range_from_cpp(const shared_ptr[_fbthrift_ctypes.cRange]& c_struct): return _fbthrift_ctypes.Range._fbthrift_create(c_struct) cdef shared_ptr[_fbthrift_ctypes.cstruct1] struct1_convert_to_cpp(object inst) except*: return (<_fbthrift_ctypes.struct1?>inst)._cpp_obj cdef object struct1_from_cpp(const shared_ptr[_fbthrift_ctypes.cstruct1]& c_struct): return _fbthrift_ctypes.struct1._fbthrift_create(c_struct) cdef shared_ptr[_fbthrift_ctypes.cstruct2] struct2_convert_to_cpp(object inst) except*: return (<_fbthrift_ctypes.struct2?>inst)._cpp_obj cdef object struct2_from_cpp(const shared_ptr[_fbthrift_ctypes.cstruct2]& c_struct): return _fbthrift_ctypes.struct2._fbthrift_create(c_struct) cdef shared_ptr[_fbthrift_ctypes.cstruct3] struct3_convert_to_cpp(object inst) except*: return (<_fbthrift_ctypes.struct3?>inst)._cpp_obj cdef object struct3_from_cpp(const shared_ptr[_fbthrift_ctypes.cstruct3]& c_struct): return _fbthrift_ctypes.struct3._fbthrift_create(c_struct) cdef shared_ptr[_fbthrift_ctypes.cstruct4] struct4_convert_to_cpp(object inst) except*: return (<_fbthrift_ctypes.struct4?>inst)._cpp_obj cdef object struct4_from_cpp(const shared_ptr[_fbthrift_ctypes.cstruct4]& c_struct): return _fbthrift_ctypes.struct4._fbthrift_create(c_struct) cdef shared_ptr[_fbthrift_ctypes.cunion1] union1_convert_to_cpp(object inst) except*: return (<_fbthrift_ctypes.union1?>inst)._cpp_obj cdef object union1_from_cpp(const shared_ptr[_fbthrift_ctypes.cunion1]& c_struct): return _fbthrift_ctypes.union1._fbthrift_create(c_struct) cdef shared_ptr[_fbthrift_ctypes.cunion2] union2_convert_to_cpp(object inst) except*: return (<_fbthrift_ctypes.union2?>inst)._cpp_obj cdef object union2_from_cpp(const shared_ptr[_fbthrift_ctypes.cunion2]& c_struct): return _fbthrift_ctypes.union2._fbthrift_create(c_struct)