
#
# Autogenerated by Thrift for thrift/compiler/test/fixtures/stream/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.cFooStreamEx] FooStreamEx_convert_to_cpp(object inst) except*:
    return (<_fbthrift_ctypes.FooStreamEx?>inst)._cpp_obj_FBTHRIFT_ONLY_DO_NOT_USE


cdef object FooStreamEx_from_cpp(const shared_ptr[_fbthrift_cbindings.cFooStreamEx]& c_struct):
    return _fbthrift_ctypes.FooStreamEx._create_FBTHRIFT_ONLY_DO_NOT_USE(c_struct)
cdef shared_ptr[_fbthrift_cbindings.cFooEx] FooEx_convert_to_cpp(object inst) except*:
    return (<_fbthrift_ctypes.FooEx?>inst)._cpp_obj_FBTHRIFT_ONLY_DO_NOT_USE


cdef object FooEx_from_cpp(const shared_ptr[_fbthrift_cbindings.cFooEx]& c_struct):
    return _fbthrift_ctypes.FooEx._create_FBTHRIFT_ONLY_DO_NOT_USE(c_struct)
cdef shared_ptr[_fbthrift_cbindings.cFooEx2] FooEx2_convert_to_cpp(object inst) except*:
    return (<_fbthrift_ctypes.FooEx2?>inst)._cpp_obj_FBTHRIFT_ONLY_DO_NOT_USE


cdef object FooEx2_from_cpp(const shared_ptr[_fbthrift_cbindings.cFooEx2]& c_struct):
    return _fbthrift_ctypes.FooEx2._create_FBTHRIFT_ONLY_DO_NOT_USE(c_struct)
