58 Commits (08242eed2677cde806fd9c0de33138a8491293a2)

Author SHA1 Message Date
Damien George 29424304d9 unix: Use mp_obj_str_get_str instead of mp_obj_str_get_data. 8 years ago
Damien George ae8d867586 py: Add iter_buf to getiter type method. 9 years ago
Damien George 503089ea9d unix: Use mp_raise_OSError helper function. 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Damien George 31dd312f83 unix/modffi: Allow to compile modffi in OBJ_REPR_D mode. 9 years ago
Damien George 5b3f0b7f39 py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 9 years ago
Damien George 4b72b3a133 py: Change type signature of builtin funs that take variable or kw args. 9 years ago
Damien George a0c97814df py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 9 years ago
Damien George 999cedb90f py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 9 years ago
Damien George cbf7674025 py: Add MP_ROM_* macros and mp_rom_* types and use them. 9 years ago
Paul Sokolovsky acb743da64 unix/modffi: Mark 'O' type specifier as implemented. 9 years ago
Vicente Olivert Riera 587914169c unix/modffi.c: cast first to intptr_t when casting from/to pointer 9 years ago
Paul Sokolovsky 696eee9475 modffi: dlsym() doesn't set errno, so use ENOENT for OSError. 9 years ago
Damien George a9afcb159a unix/modffi.c: get_buffer is allowed to return NULL if len=0. 10 years ago
Damien George 6bbbb1ab41 unix/modffi: Support passing float/double args. 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Paul Sokolovsky bbaf68f2cb modffi: Implement 'O' type handling for func arguments. 10 years ago
Paul Sokolovsky 99bcaa2fb6 modffi: Add toplevel func() function to create a function by pointer. 10 years ago
Paul Sokolovsky 8775caf9f1 modffi: Add .addr() method to just get symbol address. 10 years ago
Paul Sokolovsky 31c1f1300e modffi: 's' (string) return type: handle NULL properly (return None). 10 years ago
Paul Sokolovsky 2e526ff1a1 modffi: Support return values of mp_obj_t type. 10 years ago
Paul Sokolovsky 0ab3fc3805 modffi: Support open own executable using open(None). 10 years ago
Damien George ff8dd3f486 py, unix: Allow to compile with -Wunused-parameter. 10 years ago
Damien George 963a5a3e82 py, unix: Allow to compile with -Wsign-compare. 10 years ago
Damien George 115187f7ce unix: Allow to compile with float support disabled. 10 years ago
Damien George 6d7e47087f unix: Prefix includes with py/; remove need for -I../py. 10 years ago
Paul Sokolovsky 0078561303 modffi: Support void (None) return value for Python callback functions. 10 years ago
Paul Sokolovsky b62371e8fb modffi: 64-bit cleanness (fixes actual bug in callback arg handling). 10 years ago
Damien George 969a6b37bf py: Make functions static where appropriate. 10 years ago
Damien George be6d8be91e py: Rename mp_obj_int_get to mp_obj_int_get_truncated; fix struct.pack. 10 years ago
Damien George 3b603f29ec Use MP_DEFINE_CONST_DICT macro to define module dicts. 10 years ago
Damien George 91fe0d4880 unix: Fix modffi to be able to return double on x86 machines. 10 years ago
Damien George 17598d49e1 unix: Don't use -Wno-error=cpp or #warning; fix strict alias warning. 10 years ago
Damien George d182b98a37 py: Change all uint to mp_uint_t in obj.h. 10 years ago
Damien George ecc88e949c Change some parts of the core API to use mp_uint_t instead of uint/int. 10 years ago
Damien George bb4c6f35c6 py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Paul Sokolovsky e95b6b5e07 modffi: Add special 'C' code for passing a callback function pointer. 11 years ago
Paul Sokolovsky a23475979b modffi: Support short types. 11 years ago
Emmanuel Blot f6932d6506 Prefix ARRAY_SIZE with micropython prefix MP_ 11 years ago
Damien George 2617eebf2f Change const byte* to const char* where sensible. 11 years ago
Paul Sokolovsky da9f0924ef py, unix: Add copyright for modules I worked closely on. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Paul Sokolovsky 9b71b16a94 unix,stmhal: Make "mpconfig.h" be first included, as other headers depend on it. 11 years ago
Damien George 6d3c5e4301 Add ARRAY_SIZE macro, and use it where possible. 11 years ago
Paul Sokolovsky fa6f0506c1 unix: Workaround MP_OBJ_NEW_SMALL_INT() 64-bit issues. 11 years ago
Paul Sokolovsky acb13886fc unix: OSError's args[0] should be errno numeric value. 11 years ago
Paul Sokolovsky b418b6fb0d modffi: Don't use OSError for clearly unrelated errors. 11 years ago
Paul Sokolovsky 88972b0d94 modffi: Describe typecodes where they differ from used by struct module. 11 years ago
Paul Sokolovsky 9ae0912496 modffi: Update for MP_OBJ_STOP_ITERATION refactor. 11 years ago