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 ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
moduhashlib.c all: Use MP_ERROR_TEXT for all error messages. 2020-04-05 15:02:06 +10:00
moduos.c py/objstr: Split mp_obj_str_from_vstr into bytes/str versions. 2022-08-26 16:43:55 +10:00
moduos.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
modusocket.c py/objstr: Split mp_obj_str_from_vstr into bytes/str versions. 2022-08-26 16:43:55 +10:00
modusocket.h cc3200/mods: Include stream.h to get definition of mp_stream_p_t. 2018-06-04 16:58:45 +10:00
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 ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybadc.c all: Use MP_ERROR_TEXT for all error messages. 2020-04-05 15:02:06 +10:00
pybadc.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybflash.c all: Remove commented-out include statements. 2020-04-23 11:24:15 +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 py/objstr: Split mp_obj_str_from_vstr into bytes/str versions. 2022-08-26 16:43:55 +10: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: Use MP_ERROR_TEXT for all error messages. 2020-04-05 15:02:06 +10:00
pybpin.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybrtc.c all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +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 all: Use MP_ERROR_TEXT for all error messages. 2020-04-05 15:02:06 +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 cc3200: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:34 +10:00
pybsleep.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybspi.c py/objstr: Split mp_obj_str_from_vstr into bytes/str versions. 2022-08-26 16:43:55 +10:00
pybspi.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybtimer.c cc3200: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:34 +10:00
pybtimer.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybuart.c cc3200: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:34 +10:00
pybuart.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybwdt.c all: Use MP_ERROR_TEXT for all error messages. 2020-04-05 15:02:06 +10:00
pybwdt.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00