mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
This is to reduce ROM usage. stream_p is used in file and socket types only (at the moment), so seems a good idea to make the protocol functions a pointer instead of the actual structure. It saves 308 bytes of ROM in the stmhal/ port, 928 in unix/.