guard mp_type_native_gen_wrap declaration with MICROPY_EMIT_NATIVE

This commit is contained in:
Jeff Epler 2023-08-20 14:26:27 -05:00
parent f9e99bd3c3
commit 1399d0f25b
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
1 changed files with 2 additions and 0 deletions

View File

@ -736,7 +736,9 @@ extern const mp_obj_type_t mp_type_zip;
extern const mp_obj_type_t mp_type_array;
extern const mp_obj_type_t mp_type_super;
extern const mp_obj_type_t mp_type_gen_wrap;
#if MICROPY_EMIT_NATIVE
extern const mp_obj_type_t mp_type_native_gen_wrap;
#endif
extern const mp_obj_type_t mp_type_gen_instance;
// CIRCUITPY
#if MICROPY_PY_ASYNC_AWAIT