Linaro Git Browser
Code Review
Sign In
review.linaro.org
/
lite
/
micropython
/
f55a059e7a31ceb301196ecea80c1f4a043f4150
/
py
/
modstruct.c
af90461
py/binary: mp_binary_get_size: Raise error on unsupported typecodes.
by Paul Sokolovsky
· 9 years ago
dffa383
py/modstruct: Remove unreachable code, and add comment about CPy diff.
by Damien George
· 9 years ago
93c4a6a
all: Remove 'name' member from mp_obj_module_t struct.
by Damien George
· 9 years ago
fe3cc5b
py/modstruct: Use more compact mp_raise_ValueError function.
by Damien George
· 9 years ago
715ee9d
py/modstruct: Allow to have "0s" in struct format.
by Damien George
· 9 years ago
e53fb1b
py/modstruct: Raise ValueError on unsupported format char.
by Paul Sokolovsky
· 9 years ago
a17755e
py: Add ustruct.pack_into and unpack_from
by Dave Hylands
· 10 years ago
4b72b3a
py: Change type signature of builtin funs that take variable or kw args.
by Damien George
· 10 years ago
999cedb
py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.
by Damien George
· 10 years ago
cbf7674
py: Add MP_ROM_* macros and mp_rom_* types and use them.
by Damien George
· 10 years ago
2b080cf
py/modstruct: Support repetition counters for all types, not just string.
by Paul Sokolovsky
· 10 years ago
7e66b85
modstruct: Raise NotImplementedError for unsupported repeat specification.
by Paul Sokolovsky
· 10 years ago
3d3ef36
modstruct: Rename module to "ustruct", to allow full Python-level impl.
by Paul Sokolovsky
· 10 years ago
7d414a1
py: Parse big-int/float/imag constants directly in parser.
by Damien George
· 10 years ago
05005f6
py: Remove mp_obj_str_builder and use vstr instead.
by Damien George
· 11 years ago
51dfcb4
py: Move to guarded includes, everywhere in py/ core.
by Damien George
· 11 years ago
3b603f2
Use MP_DEFINE_CONST_DICT macro to define module dicts.
by Damien George
· 11 years ago
9336ee3
py: Make mp_binary_set_val work on big endian machine.
by Damien George
· 11 years ago
42f3de9
py: Convert [u]int to mp_[u]int_t where appropriate.
by Damien George
· 11 years ago
4abff75
py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h.
by Damien George
· 11 years ago
40f3c02
Rename machine_(u)int_t to mp_(u)int_t.
by Damien George
· 11 years ago
59c675a
py: Include mpconfig.h before all other includes.
by Paul Sokolovsky
· 11 years ago
f6932d6
Prefix ARRAY_SIZE with micropython prefix MP_
by Emmanuel Blot
· 11 years ago
6279883
modstruct: Add one more extension to typecodes - 'S', a pointer to C string.
by Paul Sokolovsky
· 11 years ago
ee3fd46
Rename configuration variables controling Python features.
by Damien George
· 11 years ago
0537654
modstruct: struct_calcsize: Fix case of uninitialized var.
by Paul Sokolovsky
· 11 years ago
da9f092
py, unix: Add copyright for modules I worked closely on.
by Paul Sokolovsky
· 11 years ago
df94b71
modstruct: Implement count specifier for strings (e.g. "100s").
by Paul Sokolovsky
· 11 years ago
147c80b
modstruct: Use MP_OBJ_FUN_ARGS_MAX instead of -1.
by Paul Sokolovsky
· 11 years ago
v1.0.1
04b9147
Add license header to (almost) all files.
by Damien George
· 11 years ago
6d3c5e4
Add ARRAY_SIZE macro, and use it where possible.
by Damien George
· 11 years ago
6204460
modstruct: Initial implementation of struct.pack().
by Paul Sokolovsky
· 11 years ago
1355cf4
modstruct: Fix .calcsize() to account for struct type/alignment.
by Paul Sokolovsky
· 11 years ago
b11b85a
py: Allow to pass buffer protocol flags to get_buffer helper funcs.
by Damien George
· 11 years ago
57a4b4f
py: Add typecode to buffer protocol.
by Damien George
· 11 years ago
0c43cf9
modstruct: Basic implementation of native struct alignment and types.
by Paul Sokolovsky
· 11 years ago
6582d64
modstruct: Refactor to support both LE and BE packed structs.
by Paul Sokolovsky
· 11 years ago
bf8ae4d
py: Fix modstruct to compile on 64-bit machine.
by Damien George
· 11 years ago
e9db840
py: Start implementing "struct" module.
by Paul Sokolovsky
· 11 years ago