| 63 | }; |
| 64 | |
| 65 | static void error_callback(const ccc::Error& error, ccc::ErrorLevel level) |
| 66 | { |
| 67 | switch (level) |
| 68 | { |
| 69 | case ccc::ERROR_LEVEL_ERROR: |
| 70 | Console.Error("Error while importing symbol table: %s", error.message.c_str()); |
| 71 | break; |
| 72 | case ccc::ERROR_LEVEL_WARNING: |
| 73 | Console.Warning("Warning while importing symbol table: %s", error.message.c_str()); |
| 74 | break; |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | SymbolImporter::SymbolImporter(SymbolGuardian& guardian) |
| 79 | : m_guardian(guardian) |
no test coverage detected