Skip to content

Commit a069dc9

Browse files
committed
restore cprintf/vcprintf prototypes
1 parent de541cf commit a069dc9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

py/mpprint.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,11 @@ int mp_printf(const mp_print_t *print, const char *fmt, ...);
7979
int mp_vprintf(const mp_print_t *print, const char *fmt, va_list args);
8080
#endif
8181

82-
int mp_cprintf(const mp_print_t *print, const mp_rom_error_text_t *compressed_fmt, ...);
82+
// CIRCUITPY-CHANGE
83+
struct compressed_string;
84+
int mp_cprintf(const mp_print_t *print, const struct compressed_string *compressed_fmt, ...);
8385
#ifdef va_start
84-
int mp_vcprintf(const mp_print_t *print, const mp_rom_error_text_t *compressed_fmt, va_list args);
86+
int mp_vcprintf(const mp_print_t *print, const struct compressed_string *compressed_fmt, va_list args);
8587
#endif
8688

8789
#endif // MICROPY_INCLUDED_PY_MPPRINT_H

0 commit comments

Comments
 (0)