commit | 6582d64d01c448be4f575f964c549e1ebffe0db0 | [log] [tgz] |
---|---|---|
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | Thu Apr 10 22:19:32 2014 +0300 |
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | Fri Apr 11 03:58:49 2014 +0300 |
tree | 6846b2fc507b55be40bd3f7b82d5a55d905ed0bc | |
parent | 2b9419b5bfda98d2cd291a81c1fa79a2f94e1089 [diff] [blame] |
modstruct: Refactor to support both LE and BE packed structs.
diff --git a/py/binary.h b/py/binary.h index d6bab14..772a1a6 100644 --- a/py/binary.h +++ b/py/binary.h
@@ -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);