micropython/unix
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
..
.gitignore unix/.gitignore: Ignore gcov files. 2016-01-02 14:50:17 +02:00
Makefile unix/Makefile: Move include of mpconfigport.mk to before mkenv.mk. 2016-01-02 21:56:03 +00:00
alloc.c unix: Add target to build "minimal" uPy interpreter. 2015-01-16 18:03:01 +00:00
coverage.c unix: Fix coverage build now that mp_plat_print uses write. 2015-10-15 00:23:03 +01:00
file.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
gccollect.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
input.c py: Change type signature of builtin funs that take variable or kw args. 2016-01-11 00:49:27 +00:00
input.h unix: Support readline history saving to file, improves interactive usage. 2015-03-13 21:46:19 +00:00
main.c extmod/moduos_dupterm: Make mp_uos_dupterm_tx_strn() function reusable. 2016-01-01 16:43:35 +02:00
modffi.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
modjni.c unix/modjni: Add missing get_jclass_name() function. 2015-11-11 16:43:27 +02:00
modmachine.c unix: machine_mem improvements 2015-12-18 22:01:03 +02:00
modos.c py: Change type signature of builtin funs that take variable or kw args. 2016-01-11 00:49:27 +00:00
modsocket.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
modtermios.c unix/modtermios: DJGPP appears to have unicode-capable cc_t type. 2015-12-09 22:01:29 +02:00
modtime.c py: Change type signature of builtin funs that take variable or kw args. 2016-01-11 00:49:27 +00:00
moduselect.c py: Change type signature of builtin funs that take variable or kw args. 2016-01-11 00:49:27 +00:00
mpconfigport.h extmod/moduos_dupterm: Make mp_uos_dupterm_tx_strn() function reusable. 2016-01-01 16:43:35 +02:00
mpconfigport.mk modussl: SSL socket wrapper module based on axTLS. 2015-10-06 18:10:39 +03:00
mpconfigport_fast.h unix: Include upip as fronzen modules inside the standard interpreter. 2015-06-02 01:32:07 +03:00
mpconfigport_freedos.h unix: Change define logic of _DIRENT_HAVE_D_INO to match other macros. 2015-12-16 14:17:56 +00:00
mpconfigport_minimal.h unix: Rename "_os" module to "uos" for consistency with baremetal ports. 2015-12-12 00:04:35 +02:00
mphalport.h unix: Add "uselect" module, with poll() function. 2015-11-17 00:35:57 +02:00
qstrdefsport.h unix: Implement uos.dupterm(). Conditional on MICROPY_PY_OS_DUPTERM. 2015-12-28 01:13:21 +02:00
unix_mphal.c unix/unix_mphal: Be sure to wrap dupterm code with MICROPY_PY_OS_DUPTERM. 2016-01-01 22:55:45 +02:00