micropython/extmod
Damien George 0d3cb6726d py: Change vstr so that it doesn't null terminate buffer by default.
This cleans up vstr so that it's a pure "variable buffer", and the user
can decide whether they need to add a terminating null byte.  In most
places where vstr is used, the vstr did not need to be null terminated
and so this patch saves code size, a tiny bit of RAM, and makes vstr
usage more efficient.  When null termination is needed it must be
done explicitly using vstr_null_terminate.
2015-01-28 23:43:01 +00:00
..
crypto-algorithms
re1.5
uzlib moduzlib: Update to uzlib v1.2. 2015-01-26 22:01:45 +02:00
modubinascii.c py: Remove mp_obj_str_builder and use vstr instead. 2015-01-21 23:18:02 +00:00
moductypes.c py, unix: Allow to compile with -Wunused-parameter. 2015-01-20 12:47:20 +00:00
moduhashlib.c py: Remove mp_obj_str_builder and use vstr instead. 2015-01-21 23:18:02 +00:00
moduheapq.c extmod: Prefix py/ for includes from py core directory. 2015-01-01 20:35:21 +00:00
modujson.c py: Change vstr so that it doesn't null terminate buffer by default. 2015-01-28 23:43:01 +00:00
modure.c py, unix: Allow to compile with -Wunused-parameter. 2015-01-20 12:47:20 +00:00
moduzlib.c moduzlib: Align out buffer to block size; shrink when decompression done. 2015-01-28 02:30:01 +02:00