py: Convert occurrences of non-debug printf to mp_printf.

This commit is contained in:
Damien George
2015-04-11 12:15:47 +01:00
parent 5ae5ec986e
commit e72cda99fd
7 changed files with 35 additions and 34 deletions

View File

@@ -35,9 +35,9 @@
void mp_warning(const char *msg, ...) {
va_list args;
va_start(args, msg);
printf("Warning: ");
vprintf(msg, args);
printf("\n");
mp_print_str(&mp_plat_print, "Warning: ");
mp_vprintf(&mp_plat_print, msg, args);
mp_print_str(&mp_plat_print, "\n");
}
void mp_emitter_warning(pass_kind_t pass, const char *msg) {