From 5fa5ca40e67c3c4bfce116a70c3a88b52b718928 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 5 Jul 2014 23:43:00 +0300 Subject: binary: Factor out mp_binary_set_int(). --- py/binary.h | 1 + 1 file changed, 1 insertion(+) (limited to 'py/binary.h') diff --git a/py/binary.h b/py/binary.h index f18f24020..74e66e288 100644 --- a/py/binary.h +++ b/py/binary.h @@ -35,3 +35,4 @@ void mp_binary_set_val_array_from_int(char typecode, void *p, int index, mp_int_ mp_obj_t mp_binary_get_val(char struct_type, char val_type, byte **ptr); void mp_binary_set_val(char struct_type, char val_type, mp_obj_t val_in, byte **ptr); mp_int_t mp_binary_get_int(uint size, bool is_signed, bool big_endian, byte *p); +void mp_binary_set_int(uint val_sz, bool big_endian, byte *p, byte *val_ptr); -- cgit v1.2.3