diff options
author | Damien George <damien.p.george@gmail.com> | 2018-08-14 17:36:08 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-08-14 17:36:08 +1000 |
commit | 9ab816d676543178773928053906fcb2c2c433f7 (patch) | |
tree | 50b55eba136e702f0ecac8b4a8f7d43995c70b92 /tests/basics/python34.py | |
parent | ab78fe0eb9997622e40d412d5f7d5e9b1a91e47a (diff) |
py/stream: Adjust mp_stream_posix_XXX to take void*, not mp_obj_t.
These POSIX wrappers are assumed to be passed a concrete stream object so
it is more efficient (eg on nan-boxing builds) to pass in the pointer
rather than mp_obj_t, because then the users of these functions only need
to store a void* (and mp_obj_t may be wider than a pointer). And things
would be further improved if the stream protocol functions eventually took
a pointer as their first argument (instead of an mp_obj_t).
This patch is a step to getting ussl/axtls compiling on nan-boxing builds.
See issue #3085.
Diffstat (limited to 'tests/basics/python34.py')
0 files changed, 0 insertions, 0 deletions