| 50 | } |
| 51 | |
| 52 | void CMP_CMIPS::PrintError(const char* Format, ...) |
| 53 | { |
| 54 | char buff[1024]; |
| 55 | // define a pointer to save argument list |
| 56 | va_list args; |
| 57 | // process the arguments into our debug buffer |
| 58 | va_start(args, Format); |
| 59 | vsnprintf(buff, 1024, Format, args); |
| 60 | va_end(args); |
| 61 | |
| 62 | PrintInfo(buff); |
| 63 | } |
| 64 | |
| 65 | void CMP_CMIPS::Print(const char* Format, ...) |
| 66 | { |
no test coverage detected