micropython/ports/cc3200/mods
Damien George 4601759bf5 py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str.
This patch simplifies the str creation API to favour the common case of
creating a str object that is not forced to be interned.  To force
interning of a new str the new mp_obj_new_str_via_qstr function is added,
and should only be used if warranted.

Apart from simplifying the mp_obj_new_str function (and making it have the
same signature as mp_obj_new_bytes), this patch also reduces code size by a
bit (-16 bytes for bare-arm and roughly -40 bytes on the bare-metal archs).
2017-11-16 13:17:51 +11:00
..
modmachine.c all: Remove inclusion of internal py header files. 2017-10-04 12:37:50 +11:00
modnetwork.c all: Remove inclusion of internal py header files. 2017-10-04 12:37:50 +11:00
modnetwork.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
modubinascii.c all: Remove inclusion of internal py header files. 2017-10-04 12:37:50 +11:00
modubinascii.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
moduhashlib.c all: Remove inclusion of internal py header files. 2017-10-04 12:37:50 +11:00
moduos.c all: Remove inclusion of internal py header files. 2017-10-04 12:37:50 +11:00
moduos.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
modusocket.c ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
modusocket.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
modussl.c ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
modutime.c ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
modwipy.c ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
modwlan.c py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str. 2017-11-16 13:17:51 +11:00
modwlan.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybadc.c all: Remove inclusion of internal py header files. 2017-10-04 12:37:50 +11:00
pybadc.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybflash.c ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybflash.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybi2c.c all: Remove inclusion of internal py header files. 2017-10-04 12:37:50 +11:00
pybi2c.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybpin.c all: Remove inclusion of internal py header files. 2017-10-04 12:37:50 +11:00
pybpin.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybrtc.c ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybrtc.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybsd.c ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybsd.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybsleep.c all: Remove inclusion of internal py header files. 2017-10-04 12:37:50 +11:00
pybsleep.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybspi.c all: Remove inclusion of internal py header files. 2017-10-04 12:37:50 +11:00
pybspi.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybtimer.c all: Remove inclusion of internal py header files. 2017-10-04 12:37:50 +11:00
pybtimer.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybuart.c all: Remove inclusion of internal py header files. 2017-10-04 12:37:50 +11:00
pybuart.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybwdt.c ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybwdt.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00