| 1359 | } |
| 1360 | |
| 1361 | void |
| 1362 | SetLastError(ErrorLevel level, const char *msg) |
| 1363 | { |
| 1364 | ic_error.level = level; |
| 1365 | strncpy(ic_error.msg, msg, sizeof(ic_error.msg) - 1); |
| 1366 | ic_error.msg[sizeof(ic_error.msg) - 1] = 0; |
| 1367 | } |
| 1368 | |
| 1369 | #ifdef __cplusplus |
| 1370 | } // extern "C" |
no outgoing calls
no test coverage detected