restore cprintf/vcprintf prototypes

This commit is contained in:
Jeff Epler 2023-10-26 19:39:26 +02:00
parent de541cf155
commit a069dc92e0
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
1 changed files with 4 additions and 2 deletions

View File

@ -79,9 +79,11 @@ int mp_printf(const mp_print_t *print, const char *fmt, ...);
int mp_vprintf(const mp_print_t *print, const char *fmt, va_list args);
#endif
int mp_cprintf(const mp_print_t *print, const mp_rom_error_text_t *compressed_fmt, ...);
// CIRCUITPY-CHANGE
struct compressed_string;
int mp_cprintf(const mp_print_t *print, const struct compressed_string *compressed_fmt, ...);
#ifdef va_start
int mp_vcprintf(const mp_print_t *print, const mp_rom_error_text_t *compressed_fmt, va_list args);
int mp_vcprintf(const mp_print_t *print, const struct compressed_string *compressed_fmt, va_list args);
#endif
#endif // MICROPY_INCLUDED_PY_MPPRINT_H