-
Notifications
You must be signed in to change notification settings - Fork 20
Micropython 1.21 windows port: Compile error #21
Copy link
Copy link
Open
Description
Good day
Are there any plans to make usqlite compatible with micropython 1.21? I get a compile error in usqlite_cursor.c in function:
STATIC mp_obj_t row_tuple(usqlite_cursor_t *cursor) {
int columns = sqlite3_data_count(cursor->stmt);
mp_obj_tuple_t *o = m_new_obj_var(mp_obj_tuple_t, mp_obj_t, columns);
o->base.type = &mp_type_tuple;
o->len = columns;
for (int i = 0; i < columns; i++)
{
o->items[i] = usqlite_column_value(cursor->stmt, i);
}
return MP_OBJ_FROM_PTR(o);
}
syntax error: ')' in line:
mp_obj_tuple_t *o = m_new_obj_var(mp_obj_tuple_t, mp_obj_t, columns);
Regards
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels