py: Make bytearray a proper type.

This commit is contained in:
Paul Sokolovsky
2014-04-08 22:09:14 +03:00
parent 134c10e776
commit 4dcb605ac4
5 changed files with 26 additions and 12 deletions

View File

@@ -1,3 +1 @@
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_bytearray_obj);
mp_obj_t mp_obj_new_bytearray(uint n, void *items);