Skip to content
Snippets Groups Projects
  • Damien George's avatar
    1427f8f5
    py/stream: Move definition of mp_stream_p_t from obj.h to stream.h. · 1427f8f5
    Damien George authored
    Since a long time now, mp_obj_type_t no longer refers explicitly to
    mp_stream_p_t but rather to an abstract "const void *protocol".  So there's
    no longer any need to define mp_stream_p_t in obj.h and it can go with all
    its associated definitions in stream.h.  Pretty much all users of this type
    will already include the stream header.
    1427f8f5
    History
    py/stream: Move definition of mp_stream_p_t from obj.h to stream.h.
    Damien George authored
    Since a long time now, mp_obj_type_t no longer refers explicitly to
    mp_stream_p_t but rather to an abstract "const void *protocol".  So there's
    no longer any need to define mp_stream_p_t in obj.h and it can go with all
    its associated definitions in stream.h.  Pretty much all users of this type
    will already include the stream header.