28 Commits (7ff996c2377b191ff829e6e03815acf9bfe85a14)

Author SHA1 Message Date
Paul Sokolovsky 78fde4819c modstruct: Implement 'O', 'P', 's' types for packed structs. 10 years ago
Damien George 4abff7500f py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h. 10 years ago
Paul Sokolovsky ecca53bd34 py: binary.c: Properly implement alignment for native unpacked structs. 10 years ago
Paul Sokolovsky 5fa5ca40e6 binary: Factor out mp_binary_set_int(). 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Paul Sokolovsky f3de62e6c2 binary: machine_uint_t vs uint dichotomy starts doing real damage. 11 years ago
Paul Sokolovsky 7a2f166949 modstruct: Fix alignment handling issues. 11 years ago
Paul Sokolovsky 59c675a64c py: Include mpconfig.h before all other includes. 11 years ago
Paul Sokolovsky 62798831be modstruct: Add one more extension to typecodes - 'S', a pointer to C string. 11 years ago
Damien George fb510b3bf9 Rename bultins config variables to MICROPY_PY_BUILTINS_*. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Paul Sokolovsky 0f836ef893 modstruct: Add 'O' typecode for passing mp_obj_t. 11 years ago
Paul Sokolovsky 4e4fa94c4c modstruct: Use proper int accessor which checks input value type. 11 years ago
Paul Sokolovsky 6204460461 modstruct: Initial implementation of struct.pack(). 11 years ago
Paul Sokolovsky 1355cf42f2 modstruct: Fix .calcsize() to account for struct type/alignment. 11 years ago
Paul Sokolovsky 5695e07256 modstruct: Support 'q' & 'Q' type codes. 11 years ago
Damien George 71e9bfa20d py: Add mp_binary_set_val_array_from_int, to store an int directly. 11 years ago
Paul Sokolovsky 0c43cf9154 modstruct: Basic implementation of native struct alignment and types. 11 years ago
Paul Sokolovsky ef9124f5ff binary: Rename array accessors for clarity. 11 years ago
Paul Sokolovsky 6582d64d01 modstruct: Refactor to support both LE and BE packed structs. 11 years ago
Paul Sokolovsky e9db840480 py: Start implementing "struct" module. 11 years ago
xbe efe3422394 py: Clean up includes. 11 years ago
Damien George 438c88dd2f Add arbitrary precision integer support. 11 years ago
Damien George 96056a6272 py: Revent some long int configuration. 11 years ago
Damien George 36109d246f Small change to configuration of long int. 11 years ago
Paul Sokolovsky 76f8cedb52 mp_binary_get_val(): Fix value type. 11 years ago
Paul Sokolovsky c203324e6c objarray: Refactor to use array accessors from binary.c . 11 years ago
Paul Sokolovsky 8bc3516389 ffi: Implement ffivar.get()/set() methods. 11 years ago