diff options
author | Damien George <damien.p.george@gmail.com> | 2015-05-01 21:34:08 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-05-01 21:34:08 +0100 |
commit | a9afcb159acacd0d605dd54fc69709650bd336b8 (patch) | |
tree | 881d548032ab41723ac67a4a39ecaf72886c16d1 /tests/basics/memoryerror.py | |
parent | a62c10697437df8af19f57d8a9aa9af21624a399 (diff) | |
download | micropython-a9afcb159acacd0d605dd54fc69709650bd336b8.tar.gz micropython-a9afcb159acacd0d605dd54fc69709650bd336b8.zip |
unix/modffi.c: get_buffer is allowed to return NULL if len=0.
This is consistent with the logic in mp_get_buffer, and the code here is
an inlined version of that function.
Diffstat (limited to 'tests/basics/memoryerror.py')
0 files changed, 0 insertions, 0 deletions