Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
1d7e3113
Commit
1d7e3113
authored
Mar 26, 2017
by
Damien George
Browse files
esp8266: Update to use size_t for tuple/list accessors.
parent
87f068d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
esp8266/modutime.c
View file @
1d7e3113
...
...
@@ -84,7 +84,7 @@ MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(time_localtime_obj, 0, 1, time_localtime);
/// which expresses a time as per localtime. It returns an integer which is
/// the number of seconds since Jan 1, 2000.
STATIC
mp_obj_t
time_mktime
(
mp_obj_t
tuple
)
{
mp_uint
_t
len
;
size
_t
len
;
mp_obj_t
*
elem
;
mp_obj_get_array
(
tuple
,
&
len
,
&
elem
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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