27 Commits (6ff42c54bb2c6e950206c380a100db776e3938d8)

Author SHA1 Message Date
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
Paul Sokolovsky 752d2080b7 modffi: Mark 'p' type spec deprecated, replace with 'P'. 11 years ago
Damien George 738bdeb73a unix: Update to use new buffer protocol interface with typecode. 11 years ago
Paul Sokolovsky 4abaa1b12b unix modffi: Convert to static module structures. 11 years ago
Paul Sokolovsky f200c30d53 modffi: Support float types. 11 years ago
Paul Sokolovsky 263853ef84 modffi: Update for latest binary API refactors. 11 years ago
Paul Sokolovsky f898a95cba unix modffi: Support any object implementing buffer protocol as a native arg. 11 years ago
Damien George ea13f407a3 py: Change nlr_jump to nlr_raise, to aid in debugging. 11 years ago
Paul Sokolovsky c39368427c unix: Rename module sources per latest naming conventions (mod*.c). 11 years ago
Damien George df6567e634 Merge map.h into obj.h. 11 years ago
Damien George d17926db71 Rename rt_* to mp_*. 11 years ago
Damien George 918638ec6e unix: Fix ffi.c to compile with latest changes to API. 11 years ago
Damien George 3e1a5c10c5 py: Rename old const type objects to mp_type_* for consistency. 11 years ago
Damien George 9b196cddab Remove mp_obj_type_t.methods entry and use .locals_dict instead. 11 years ago
Damien George c5966128c7 Implement proper exception type hierarchy. 11 years ago
Paul Sokolovsky 8bc3516389 ffi: Implement ffivar.get()/set() methods. 11 years ago
Paul Sokolovsky 21c51f0bde ffi: Fix mp_obj_str_get_data() return type. 11 years ago
Damien George 8bf91f2a87 unix: Fix compile warnings for ffi module on 64-bit machine. 11 years ago
Paul Sokolovsky 60a9fac8d4 unix: Initial implementation of FFI module. 11 years ago