Cache diagnostic message for easier access, and better extern C handling
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2019-06-19 15:49:44 +02:00
parent 7958576b6a
commit b76548da16
4 changed files with 26 additions and 6 deletions

View File

@@ -58,7 +58,7 @@ namespace Porygon::Diagnostics {
return _lineStarts[i];
}
std::string GetFullDiagnostic(Diagnostic* diagnostic);
std::string* GetFullDiagnostic(Diagnostic* diagnostic);
};
}