13 Commits (44a949d58c883174206fc958c1fa4860e3985bd8)

Author SHA1 Message Date
Paul Sokolovsky da9f0924ef py, unix: Add copyright for modules I worked closely on. 11 years ago
Paul Sokolovsky df94b717b4 modstruct: Implement count specifier for strings (e.g. "100s"). 11 years ago
Paul Sokolovsky 147c80bf7c modstruct: Use MP_OBJ_FUN_ARGS_MAX instead of -1. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 6d3c5e4301 Add ARRAY_SIZE macro, and use it where possible. 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
Damien George b11b85adaa py: Allow to pass buffer protocol flags to get_buffer helper funcs. 11 years ago
Damien George 57a4b4f178 py: Add typecode to buffer protocol. 11 years ago
Paul Sokolovsky 0c43cf9154 modstruct: Basic implementation of native struct alignment and types. 11 years ago
Paul Sokolovsky 6582d64d01 modstruct: Refactor to support both LE and BE packed structs. 11 years ago
Damien George bf8ae4d96e py: Fix modstruct to compile on 64-bit machine. 11 years ago
Paul Sokolovsky e9db840480 py: Start implementing "struct" module. 11 years ago