moved messages to Json, some refactoring
This commit is contained in:
@@ -218,18 +218,6 @@ static bool tryOpenProjectFile(const char *project)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void copyStringToShort(short *&result, const string &resVal, bool withEnd = true)
|
||||
{
|
||||
result = new short[resVal.size() + 1];
|
||||
allocated.insert(result);
|
||||
|
||||
for (int i = 0; i < resVal.size(); ++i)
|
||||
result[i] = resVal[i];
|
||||
|
||||
if (withEnd)
|
||||
result[resVal.size()] = (short)'\0';
|
||||
}
|
||||
|
||||
volatile int passDone = 0;
|
||||
static volatile int rethrow = 0;
|
||||
static void runPassesLoop(const vector<passes> &passesToRun, const char *prName, const char *folderNameChar)
|
||||
|
||||
Reference in New Issue
Block a user