This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__attribute__((format_arg(__NSString__, 2))) | |
NSString *ಠ_ಠ_message(const char *severity, const char *format) { | |
return [NSString stringWithFormat:@"%s: %s", severity, format]; | |
} | |
#pragma clang diagnostic push | |
#pragma clang diagnostic ignored "-Wformat-nonliteral" | |
__attribute__((format(printf, 1, 2))) | |
void ಠ_ಠ_warning(const char *format, ...) { | |
va_list ಠ_ಠ; | |
va_start(ಠ_ಠ, format); |