summaryrefslogtreecommitdiff
path: root/py/binary.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-07-05 23:43:00 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-07-05 23:54:03 +0300
commit5fa5ca40e67c3c4bfce116a70c3a88b52b718928 (patch)
tree7c8e1d9d7b4a5545fd96ade63e9cbe53eb372d83 /py/binary.h
parent539681fffd96082ca3b5d18643d4f08f65c47170 (diff)
binary: Factor out mp_binary_set_int().
Diffstat (limited to 'py/binary.h')
-rw-r--r--py/binary.h1
1 files changed, 1 insertions, 0 deletions
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);