extmod/modlwip: Update make_new() arguments for recent refactor.

support-3.5
Paul Sokolovsky 2016-01-24 20:59:45 +02:00
parent d684f872bd
commit 04a9ac7f38
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ STATIC mp_uint_t lwip_tcp_receive(lwip_socket_obj_t *socket, byte *buf, mp_uint_
STATIC const mp_obj_type_t lwip_socket_type;
// FIXME: Only supports two arguments at present
STATIC mp_obj_t lwip_socket_make_new(mp_obj_t type_in, mp_uint_t n_args,
STATIC mp_obj_t lwip_socket_make_new(const mp_obj_type_t *type, mp_uint_t n_args,
mp_uint_t n_kw, const mp_obj_t *args) {
mp_arg_check_num(n_args, n_kw, 0, 4, false);