diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-05-24 21:24:37 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-05-24 21:24:37 +0300 |
commit | 561789d7182e8354761e4dc9f40ed7dd1a72686a (patch) | |
tree | 15ae3ce33b449c43a24383ca8981767c6bd28b77 /py/builtin.h | |
parent | 806ea1f6ca2b1b50bb4634be6c39ad83d8af7e89 (diff) | |
download | micropython-561789d7182e8354761e4dc9f40ed7dd1a72686a.tar.gz micropython-561789d7182e8354761e4dc9f40ed7dd1a72686a.zip |
unix modsocket: Make .makefile() method more compliant.
.makefile() should allow to specify which stream time to create - byte
or text.
Diffstat (limited to 'py/builtin.h')
-rw-r--r-- | py/builtin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/builtin.h b/py/builtin.h index 2929c1018a..2e4d2023d0 100644 --- a/py/builtin.h +++ b/py/builtin.h @@ -25,6 +25,7 @@ */ mp_obj_t mp_builtin___import__(uint n_args, mp_obj_t *args); +mp_obj_t mp_builtin_open(uint n_args, const mp_obj_t *args); MP_DECLARE_CONST_FUN_OBJ(mp_builtin___build_class___obj); MP_DECLARE_CONST_FUN_OBJ(mp_builtin___import___obj); |