| 97 | } |
| 98 | |
| 99 | void ScriptEngine::MessageCallback(const asSMessageInfo *msg) |
| 100 | { |
| 101 | const char *type = "Error"; |
| 102 | if (msg->type == asMSGTYPE_INFORMATION) |
| 103 | type = "Info"; |
| 104 | else if (msg->type == asMSGTYPE_WARNING) |
| 105 | type = "Warning"; |
| 106 | |
| 107 | printf("%s (%d, %d): %s = %s", msg->section, msg->row, msg->col, type, msg->message); |
| 108 | } |
nothing calls this directly
no outgoing calls
no test coverage detected