micropython/py
Damien George a0c97814df py: Change type of .make_new and .call args: mp_uint_t becomes size_t.
This patch changes the type signature of .make_new and .call object method
slots to use size_t for n_args and n_kw (was mp_uint_t.  Makes code more
efficient when mp_uint_t is larger than a machine word.  Doesn't affect
ports when size_t and mp_uint_t have the same size.
2016-01-11 00:48:41 +00:00
..
argcheck.c
asmarm.c
asmarm.h
asmthumb.c
asmthumb.h
asmx64.c
asmx64.h
asmx86.c py/asmx86: Fix function definition to use int32_t instead of int. 2015-11-27 14:06:53 +00:00
asmx86.h
bc.c py/bc: Use size_t instead of mp_uint_t to count size of state and args. 2015-12-17 12:33:42 +00:00
bc.h py/bc: Use size_t instead of mp_uint_t to count size of state and args. 2015-12-17 12:33:42 +00:00
bc0.h py: Make UNARY_OP_NOT a first-class op, to agree with Py not semantics. 2015-12-10 22:19:48 +00:00
binary.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
binary.h
builtin.h extmod: Move fsusermount.c from stmhal for cross-port reuse. 2015-11-25 13:19:36 +02:00
builtinevex.c py: Add MICROPY_ENABLE_COMPILER and MICROPY_PY_BUILTINS_EVAL_EXEC opts. 2015-12-18 12:35:44 +00:00
builtinimport.c py: Add MICROPY_ENABLE_COMPILER and MICROPY_PY_BUILTINS_EVAL_EXEC opts. 2015-12-18 12:35:44 +00:00
compile.c py/parse: Optimise away parse node that's just parenthesis around expr. 2016-01-07 13:07:52 +00:00
compile.h py/compile: Add mp_compile_to_raw_code() to return raw code object. 2015-11-20 12:30:37 +00:00
emit.h py/emit: Change type of arg of load_const_obj from void* to mp_obj_t. 2015-11-29 14:25:04 +00:00
emitbc.c py: Add MICROPY_ENABLE_COMPILER and MICROPY_PY_BUILTINS_EVAL_EXEC opts. 2015-12-18 12:35:44 +00:00
emitcommon.c py: Add MICROPY_ENABLE_COMPILER and MICROPY_PY_BUILTINS_EVAL_EXEC opts. 2015-12-18 12:35:44 +00:00
emitglue.c py/emitglue: Add more feature flags to .mpy persistent bytecode output. 2016-01-08 13:35:35 +00:00
emitglue.h py/emitglue: Add mp_raw_code_load_mem to load raw-code from memory. 2015-11-20 12:44:20 +00:00
emitinlinethumb.c py/inlinethumb: Remove 30-bit restriction on movwt instruction. 2016-01-07 16:34:11 +00:00
emitnative.c py: Make UNARY_OP_NOT a first-class op, to agree with Py not semantics. 2015-12-10 22:19:48 +00:00
formatfloat.c py/formatfloat: Handle calculation of integer digit for %f format properly. 2015-11-22 20:05:08 +02:00
formatfloat.h
frozenmod.c py/frozenmod: Store frozen module names together, to quickly scan them. 2016-01-03 18:08:45 +02:00
frozenmod.h
gc.c py/gc: Improve mark/sweep debug output. 2015-12-27 20:40:36 +02:00
gc.h py/gc: Move away from using mp_uint_t, instead use uintptr_t and size_t. 2015-11-29 14:25:04 +00:00
grammar.h py/compile: Do proper checking of * and ** in function definition. 2015-11-23 16:50:42 +00:00
lexer.c py: Add MICROPY_ENABLE_COMPILER and MICROPY_PY_BUILTINS_EVAL_EXEC opts. 2015-12-18 12:35:44 +00:00
lexer.h
lexerstr.c py: Add MICROPY_ENABLE_COMPILER and MICROPY_PY_BUILTINS_EVAL_EXEC opts. 2015-12-18 12:35:44 +00:00
lexerunix.c
makeqstrdata.py
makeversionhdr.py
malloc.c
map.c py/map: In map lookup, check for fixed map independent of ordered map. 2015-12-31 00:24:33 +00:00
misc.h py/misc.h: Include stdint.h only once (unconditionally at the top). 2015-12-08 02:23:58 +02:00
mkenv.mk
mkrules.mk py/mkrules.mk: Don't pass COPT to linker. 2015-12-10 00:49:25 +02:00
modarray.c py: Add MP_ROM_* macros and mp_rom_* types and use them. 2015-11-29 14:25:04 +00:00
modbuiltins.c py/modbuiltins: Fix access of mp_obj_t variable, wrap in MP_OBJ_TO_PTR. 2016-01-04 14:19:33 +00:00
modcmath.c py: Make it easy to build without MICROPY_PY_BUILTINS_COMPLEX. 2015-12-07 00:19:24 +02:00
modcollections.c py: Add MP_ROM_* macros and mp_rom_* types and use them. 2015-11-29 14:25:04 +00:00
modgc.c py/modgc: Remove obsolete extern declaration. 2015-12-17 13:20:40 +00:00
modio.c py: Add MP_ROM_* macros and mp_rom_* types and use them. 2015-11-29 14:25:04 +00:00
modmath.c py/modmath: Add domain error checking to sqrt, log, log2, log10. 2015-12-12 15:12:54 +00:00
modmicropython.c py/qstr: Use size_t instead of mp_uint_t when counting allocated bytes. 2015-12-17 12:41:40 +00:00
modstruct.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
modsys.c py/modsys: Fix module globals table to use MP_ROM_QSTR. 2015-12-16 19:40:14 -05:00
mpconfig.h py: Clean up instantiation of dupterm object. 2016-01-01 14:22:57 +02:00
mphal.h
mpprint.c py: Change mp_obj_int_is_positive to more general mp_obj_int_sign. 2016-01-07 14:29:12 +00:00
mpprint.h py: Change mp_print_strn_t func type to use size_t for the str length. 2015-11-29 14:25:04 +00:00
mpstate.c
mpstate.h py: Clean up instantiation of dupterm object. 2016-01-01 14:22:57 +02:00
mpz.c py/mpz: Fix conversion of float to mpz so it works on big endian archs. 2016-01-08 17:56:58 +00:00
mpz.h windows/py: Support 64bit mingw-w64 builds 2015-11-24 17:34:14 +02:00
nativeglue.c py/viper: Truncate viper integer args so they can be up to 32-bit. 2016-01-07 16:48:20 +00:00
nlr.h py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
nlrsetjmp.c
nlrthumb.S
nlrx64.S nlr: Use single preprocessor symbol to check if building on Windows 2015-11-24 17:34:14 +02:00
nlrx86.S nlr: Use single preprocessor symbol to check if building on Windows 2015-11-24 17:34:14 +02:00
nlrxtensa.S
obj.c py: Change exception traceback data to use size_t instead of mp_uint_t. 2016-01-02 22:04:12 +00:00
obj.h py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objarray.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objattrtuple.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
objbool.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objboundmeth.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objcell.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
objclosure.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objcomplex.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objdict.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objenumerate.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objexcept.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objexcept.h py: Change exception traceback data to use size_t instead of mp_uint_t. 2016-01-02 22:04:12 +00:00
objfilter.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objfloat.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objfun.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objfun.h
objgenerator.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objgenerator.h
objgetitemiter.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
objint.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objint.h py: Change mp_obj_int_is_positive to more general mp_obj_int_sign. 2016-01-07 14:29:12 +00:00
objint_longlong.c py: Change mp_obj_int_is_positive to more general mp_obj_int_sign. 2016-01-07 14:29:12 +00:00
objint_mpz.c py: Change mp_obj_int_is_positive to more general mp_obj_int_sign. 2016-01-07 14:29:12 +00:00
objlist.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objlist.h
objmap.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objmodule.c unix: Move modmachine into unix directory 2015-12-13 01:21:36 +02:00
objmodule.h
objnamedtuple.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objnone.c
objobject.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objpolyiter.c py/objpolyiter: Implement instance-polymorphic iterator type. 2015-12-14 23:48:12 +02:00
objproperty.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objrange.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objreversed.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objset.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objsingleton.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
objslice.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
objstr.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objstr.h py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objstringio.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objstrunicode.c py: Use polymorphic iterator type where possible to reduce code size. 2016-01-03 16:27:55 +00:00
objtuple.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objtuple.h py: Add MP_ROM_* macros and mp_rom_* types and use them. 2015-11-29 14:25:04 +00:00
objtype.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objtype.h py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
objzip.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
opmethods.c
parse.c py/parse: Include unistd.h for ssize_t definition. 2016-01-08 13:42:00 +00:00
parse.h py/parse: Improve constant folding to operate on small and big ints. 2016-01-07 14:40:35 +00:00
parsenum.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
parsenum.h
parsenumbase.c
parsenumbase.h
py.mk extmod/moduos_dupterm: Make uos.dupterm() implementation reusable. 2016-01-01 13:04:32 +02:00
qstr.c py/qstr: Use size_t instead of mp_uint_t when counting allocated bytes. 2015-12-17 12:41:40 +00:00
qstr.h py/qstr: Change type of qstr from mp_uint_t to size_t. 2015-12-17 12:45:22 +00:00
qstrdefs.h py: Implement __dict__ for instances. 2016-01-03 20:51:26 +02:00
repl.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
repl.h
runtime.c py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 2016-01-11 00:48:41 +00:00
runtime.h py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
runtime0.h py: Make UNARY_OP_NOT a first-class op, to agree with Py not semantics. 2015-12-10 22:19:48 +00:00
scope.c py: Add MICROPY_ENABLE_COMPILER and MICROPY_PY_BUILTINS_EVAL_EXEC opts. 2015-12-18 12:35:44 +00:00
scope.h
sequence.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
showbc.c py: Make UNARY_OP_NOT a first-class op, to agree with Py not semantics. 2015-12-10 22:19:48 +00:00
smallint.c
smallint.h py/smallint: Allow to override MP_SMALL_INT_MIN et al. 2016-01-08 13:43:56 +00:00
stackctrl.c
stackctrl.h
stream.c py: Add mp_get_stream_raise to factor out check for stream methods. 2015-12-09 18:47:43 +00:00
stream.h py: Add mp_get_stream_raise to factor out check for stream methods. 2015-12-09 18:47:43 +00:00
unicode.c
unicode.h
vm.c py: Change exception traceback data to use size_t instead of mp_uint_t. 2016-01-02 22:04:12 +00:00
vmentrytable.h py: Make UNARY_OP_NOT a first-class op, to agree with Py not semantics. 2015-12-10 22:19:48 +00:00
vstr.c
warning.c