mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-26 00:45:35 +00:00
Codechange: add documentation for core string helpers
This commit is contained in:
@@ -26,6 +26,10 @@
|
||||
/* static */ const std::string_view StringConsumer::WHITESPACE_NO_NEWLINE = "\t\v\f\r ";
|
||||
/* static */ const std::string_view StringConsumer::WHITESPACE_OR_NEWLINE = "\t\n\v\f\r ";
|
||||
|
||||
/**
|
||||
* Log an error in the processing (too small buffer, integer out of range, etc.).
|
||||
* @param msg The message to log.
|
||||
*/
|
||||
/* static */ void StringConsumer::LogError(std::string &&msg)
|
||||
{
|
||||
#if defined(STRGEN) || defined(SETTINGSGEN)
|
||||
|
||||
Reference in New Issue
Block a user