micropython/ports/cc3200/mods
Jim Mussared 8a0ee5a5c0 py/objstr: Split mp_obj_str_from_vstr into bytes/str versions.
Previously the desired output type was specified.  Now make the type part
of the function name.  Because this function is used in a few places this
saves code size due to smaller call-site.

This makes `mp_obj_new_str_type_from_vstr` a private function of objstr.c
(which is almost the only place where the output type isn't a compile-time
constant).

This saves ~140 bytes on PYBV11.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-08-26 16:43:55 +10:00
..
modmachine.c cc3200: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:34 +10:00
modnetwork.c all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
modnetwork.h
moduhashlib.c
moduos.c py/objstr: Split mp_obj_str_from_vstr into bytes/str versions. 2022-08-26 16:43:55 +10:00
moduos.h
modusocket.c py/objstr: Split mp_obj_str_from_vstr into bytes/str versions. 2022-08-26 16:43:55 +10:00
modusocket.h
modussl.c all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
modutime.c all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
modwipy.c all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
modwlan.c cc3200: Fix various array-based compiler warnings. 2022-07-21 16:26:04 +10:00
modwlan.h
pybadc.c
pybadc.h
pybflash.c
pybflash.h
pybi2c.c py/objstr: Split mp_obj_str_from_vstr into bytes/str versions. 2022-08-26 16:43:55 +10:00
pybi2c.h
pybpin.c
pybpin.h
pybrtc.c
pybrtc.h
pybsd.c
pybsd.h
pybsleep.c cc3200: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:34 +10:00
pybsleep.h
pybspi.c py/objstr: Split mp_obj_str_from_vstr into bytes/str versions. 2022-08-26 16:43:55 +10:00
pybspi.h
pybtimer.c cc3200: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:34 +10:00
pybtimer.h
pybuart.c cc3200: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:34 +10:00
pybuart.h
pybwdt.c
pybwdt.h