
#
# Autogenerated by Thrift for thrift/compiler/test/fixtures/inject_metadata_fields/src/module.thrift
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#  @generated
#

cimport module.types as _fbthrift_ctypes


cdef shared_ptr[_fbthrift_cbindings.cFields] Fields_convert_to_cpp(object inst) except*:
    return (<_fbthrift_ctypes.Fields?>inst)._cpp_obj_FBTHRIFT_ONLY_DO_NOT_USE


cdef object Fields_from_cpp(const shared_ptr[_fbthrift_cbindings.cFields]& c_struct):
    return _fbthrift_ctypes.Fields._create_FBTHRIFT_ONLY_DO_NOT_USE(c_struct)
cdef shared_ptr[_fbthrift_cbindings.cFieldsInjectedToEmptyStruct] FieldsInjectedToEmptyStruct_convert_to_cpp(object inst) except*:
    return (<_fbthrift_ctypes.FieldsInjectedToEmptyStruct?>inst)._cpp_obj_FBTHRIFT_ONLY_DO_NOT_USE


cdef object FieldsInjectedToEmptyStruct_from_cpp(const shared_ptr[_fbthrift_cbindings.cFieldsInjectedToEmptyStruct]& c_struct):
    return _fbthrift_ctypes.FieldsInjectedToEmptyStruct._create_FBTHRIFT_ONLY_DO_NOT_USE(c_struct)
cdef shared_ptr[_fbthrift_cbindings.cFieldsInjectedToStruct] FieldsInjectedToStruct_convert_to_cpp(object inst) except*:
    return (<_fbthrift_ctypes.FieldsInjectedToStruct?>inst)._cpp_obj_FBTHRIFT_ONLY_DO_NOT_USE


cdef object FieldsInjectedToStruct_from_cpp(const shared_ptr[_fbthrift_cbindings.cFieldsInjectedToStruct]& c_struct):
    return _fbthrift_ctypes.FieldsInjectedToStruct._create_FBTHRIFT_ONLY_DO_NOT_USE(c_struct)
cdef shared_ptr[_fbthrift_cbindings.cFieldsInjectedWithIncludedStruct] FieldsInjectedWithIncludedStruct_convert_to_cpp(object inst) except*:
    return (<_fbthrift_ctypes.FieldsInjectedWithIncludedStruct?>inst)._cpp_obj_FBTHRIFT_ONLY_DO_NOT_USE


cdef object FieldsInjectedWithIncludedStruct_from_cpp(const shared_ptr[_fbthrift_cbindings.cFieldsInjectedWithIncludedStruct]& c_struct):
    return _fbthrift_ctypes.FieldsInjectedWithIncludedStruct._create_FBTHRIFT_ONLY_DO_NOT_USE(c_struct)
