mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Refactor string-formatting routines to append to an existing string
This commit is contained in:
@@ -37,8 +37,8 @@ public:
|
||||
void useCharacter(int c);
|
||||
void finishCharacters();
|
||||
|
||||
std::string formatString(std::string const &value) const;
|
||||
std::string formatNumber(uint32_t value) const;
|
||||
void appendString(std::string &str, std::string const &value) const;
|
||||
void appendNumber(std::string &str, uint32_t value) const;
|
||||
};
|
||||
|
||||
#endif // RGBDS_FORMAT_SPEC_H
|
||||
|
||||
Reference in New Issue
Block a user