8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4556bd2 commit 09547f0Copy full SHA for 09547f0
extmod/modubinascii.c
@@ -33,8 +33,6 @@
33
#include "py/binary.h"
34
#include "extmod/modubinascii.h"
35
36
-#include "uzlib/tinf.h"
37
-
38
mp_obj_t mod_binascii_hexlify(size_t n_args, const mp_obj_t *args) {
39
// Second argument is for an extension to allow a separator to be used
40
// between values.
@@ -221,6 +219,8 @@ mp_obj_t mod_binascii_b2a_base64(mp_obj_t data) {
221
219
MP_DEFINE_CONST_FUN_OBJ_1(mod_binascii_b2a_base64_obj, mod_binascii_b2a_base64);
222
220
223
#if MICROPY_PY_UBINASCII_CRC32
+#include "uzlib/tinf.h"
+
224
mp_obj_t mod_binascii_crc32(size_t n_args, const mp_obj_t *args) {
225
mp_buffer_info_t bufinfo;
226
mp_get_buffer_raise(args[0], &bufinfo, MP_BUFFER_READ);
0 commit comments