-----------------------------------------------*/
| 126 | |
| 127 | /*-----------------------------------------------*/ |
| 128 | void UnityPrint(const char* string) |
| 129 | { |
| 130 | const char* pch = string; |
| 131 | |
| 132 | if (pch != NULL) |
| 133 | { |
| 134 | while (*pch) |
| 135 | { |
| 136 | #ifdef UNITY_OUTPUT_COLOR |
| 137 | /* print ANSI escape code */ |
| 138 | if ((*pch == 27) && (*(pch + 1) == '[')) |
| 139 | { |
| 140 | pch += UnityPrintAnsiEscapeString(pch); |
| 141 | continue; |
| 142 | } |
| 143 | #endif |
| 144 | UnityPrintChar(pch); |
| 145 | pch++; |
| 146 | } |
| 147 | } |
| 148 | } |
| 149 | /*-----------------------------------------------*/ |
| 150 | void UnityPrintLen(const char* string, const UNITY_UINT32 length) |
| 151 | { |