micropython/extmod
Damien George 5b3f0b7f39 py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.
The first argument to the type.make_new method is naturally a uPy type,
and all uses of this argument cast it directly to a pointer to a type
structure.  So it makes sense to just have it a pointer to a type from
the very beginning (and a const pointer at that).  This patch makes
such a change, and removes all unnecessary casting to/from mp_obj_t.
2016-01-11 00:49:27 +00:00
..
crypto-algorithms extmod/moduhashlib: Add namespace prefix for crypto-algorithms/sha256.h. 2015-12-20 23:14:47 +02:00
lwip-include extmod/lwip: Change void pointers to unions, include new mphal.h file 2015-11-04 23:24:04 +03:00
re1.5 extmod/re1.5: Workaround issue with mingw32-gcc 4.2.1. 2015-11-01 02:39:01 +03:00
uzlib extmod: Update uzlib to 1.2.1. 2015-03-19 00:04:12 +02:00
fsusermount.c extmod/fsusermount: Make configurable with MICROPY_FSUSERMOUNT. 2015-11-25 13:19:36 +02:00
fsusermount.h extmod: Move fsusermount.c from stmhal for cross-port reuse. 2015-11-25 13:19:36 +02:00
machine_mem.c unix: machine_mem improvements 2015-12-18 22:01:03 +02:00
machine_mem.h unix: machine_mem improvements 2015-12-18 22:01:03 +02:00
misc.h extmod/moduos_dupterm: Make mp_uos_dupterm_tx_strn() function reusable. 2016-01-01 16:43:35 +02:00
modlwip.c extmod/modlwip: Use _ERR_BADF instead of magic number. 2015-12-30 16:43:35 +02:00
modubinascii.c py: Change type signature of builtin funs that take variable or kw args. 2016-01-11 00:49:27 +00:00
modubinascii.h py: Change type signature of builtin funs that take variable or kw args. 2016-01-11 00:49:27 +00:00
moductypes.c py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 2016-01-11 00:49:27 +00:00
moduhashlib.c py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 2016-01-11 00:49:27 +00:00
moduheapq.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
modujson.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
moduos_dupterm.c extmod/moduos_dupterm: Handle exceptions in call to dupterm's .write() 2016-01-01 22:06:38 +02:00
modure.c py: Change type signature of builtin funs that take variable or kw args. 2016-01-11 00:49:27 +00:00
modussl.c extmod/modussl: Remove unused header. 2015-10-20 17:41:59 +03:00
moduzlib.c py: Change type signature of builtin funs that take variable or kw args. 2016-01-11 00:49:27 +00:00