
#
# Autogenerated by Thrift
#
# DO NOT EDIT
#  @generated
#

from thrift.python.capi.cpp_converter cimport cpp_to_python, python_to_cpp
from libcpp.utility cimport move as cmove

cdef extern from "thrift/compiler/test/fixtures/mixin/gen-python-capi/module/thrift_types_capi.h":
    pass

cdef cMixin1 Mixin1_convert_to_cpp(object inst) except *:
    return cmove(python_to_cpp[cMixin1](inst))

cdef object Mixin1_from_cpp(const cMixin1& c_struct):
    return cpp_to_python[cMixin1](c_struct)

cdef cMixin2 Mixin2_convert_to_cpp(object inst) except *:
    return cmove(python_to_cpp[cMixin2](inst))

cdef object Mixin2_from_cpp(const cMixin2& c_struct):
    return cpp_to_python[cMixin2](c_struct)

cdef cMixin3Base Mixin3Base_convert_to_cpp(object inst) except *:
    return cmove(python_to_cpp[cMixin3Base](inst))

cdef object Mixin3Base_from_cpp(const cMixin3Base& c_struct):
    return cpp_to_python[cMixin3Base](c_struct)

cdef cFoo Foo_convert_to_cpp(object inst) except *:
    return cmove(python_to_cpp[cFoo](inst))

cdef object Foo_from_cpp(const cFoo& c_struct):
    return cpp_to_python[cFoo](c_struct)

