Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
9a348fc8
Commit
9a348fc8
authored
Jul 28, 2015
by
Daniel Campora
Browse files
cc3200: Add socket.makefile()
parent
00787878
Changes
2
Hide whitespace changes
Inline
Side-by-side
cc3200/mods/modusocket.c
View file @
9a348fc8
...
...
@@ -406,6 +406,7 @@ STATIC const mp_map_elem_t socket_locals_dict_table[] = {
{
MP_OBJ_NEW_QSTR
(
MP_QSTR_setsockopt
),
(
mp_obj_t
)
&
socket_setsockopt_obj
},
{
MP_OBJ_NEW_QSTR
(
MP_QSTR_settimeout
),
(
mp_obj_t
)
&
socket_settimeout_obj
},
{
MP_OBJ_NEW_QSTR
(
MP_QSTR_setblocking
),
(
mp_obj_t
)
&
socket_setblocking_obj
},
{
MP_OBJ_NEW_QSTR
(
MP_QSTR_makefile
),
(
mp_obj_t
)
&
mp_identity_obj
},
// stream methods
{
MP_OBJ_NEW_QSTR
(
MP_QSTR_read
),
(
mp_obj_t
)
&
mp_stream_read_obj
},
...
...
cc3200/qstrdefsport.h
View file @
9a348fc8
...
...
@@ -226,6 +226,7 @@ Q(settimeout)
Q
(
setblocking
)
Q
(
setsockopt
)
Q
(
close
)
Q
(
makefile
)
Q
(
protocol
)
Q
(
error
)
Q
(
timeout
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment