5 Commits (4ee2c2a4cd1914a06175919cc2fb6403ad668318)

Author SHA1 Message Date
Damien George 6e30f96b0b ports: Convert legacy uppercase macro names to lowercase. 6 years ago
Paul Sokolovsky 6c5b2bded2 unix/modffi: Add support for "q"/"Q" specs (int64_t/uint64_t). 6 years ago
Damien George 4601759bf5 py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Damien George 01dd7804b8 ports: Make new ports/ sub-directory and move all ports there. 7 years ago
Javier Candeira 35a1fea90b all: Raise exceptions via mp_raise_XXX 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 48d867b4a6 all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers. 8 years ago
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