py: Make tuple and list use mp_int_t/mp_uint_t.
Part of code cleanup, to resolve issue #50.
This commit is contained in:
@@ -293,7 +293,7 @@ int main(int argc, char **argv) {
|
||||
if (path == NULL) {
|
||||
path = "~/.micropython/lib:/usr/lib/micropython";
|
||||
}
|
||||
uint path_num = 1; // [0] is for current dir (or base dir of the script)
|
||||
mp_uint_t path_num = 1; // [0] is for current dir (or base dir of the script)
|
||||
for (char *p = path; p != NULL; p = strchr(p, PATHLIST_SEP_CHAR)) {
|
||||
path_num++;
|
||||
if (p != NULL) {
|
||||
|
||||
Reference in New Issue
Block a user