modstruct: Refactor to support both LE and BE packed structs.

This commit is contained in:
Paul Sokolovsky
2014-04-10 22:19:32 +03:00
parent 2b9419b5bf
commit 6582d64d01
4 changed files with 45 additions and 45 deletions

View File

@@ -4,5 +4,5 @@
int mp_binary_get_size(char typecode);
mp_obj_t mp_binary_get_val(char typecode, void *p, int index);
mp_obj_t mp_binary_get_val_unaligned_le(char typecode, byte **ptr);
mp_obj_t mp_binary_get_val_unaligned(char typecode, byte **ptr);
void mp_binary_set_val(char typecode, void *p, int index, mp_obj_t val_in);