Mercurial > hg > vamp-plugin-load-checker
comparison src/checker.cpp @ 40:40c6936c2fc9 errorcode
Return numerical error codes, so the caller can apply i18n on display; distinguish explicitly the common win32 architecture problems
author | Chris Cannam |
---|---|
date | Wed, 29 Aug 2018 17:40:22 +0100 |
parents | 4154894d638c |
children |
comparison
equal
deleted
inserted
replaced
38:a43d7a2867d2 | 40:40c6936c2fc9 |
---|---|
33 | 33 |
34 using namespace std; | 34 using namespace std; |
35 | 35 |
36 struct LogCallback : PluginCandidates::LogCallback { | 36 struct LogCallback : PluginCandidates::LogCallback { |
37 virtual void log(string message) { | 37 virtual void log(string message) { |
38 cerr << "checker: log: " << message; | 38 cerr << "checker: log: " << message << "\n"; |
39 } | 39 } |
40 }; | 40 }; |
41 | 41 |
42 int main(int, char **) | 42 int main(int, char **) |
43 { | 43 { |