AP_Common: added get_writeable_string to ExpandingString

This commit is contained in:
Andrew Tridgell 2021-01-16 15:59:55 +11:00 committed by Peter Barker
parent 1ddc21c9bb
commit 504f500fae
1 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,9 @@ public:
uint32_t get_length(void) const {
return used;
}
char *get_writeable_string(void) const {
return buf;
}
// print into the string
void printf(const char *format, ...) FMT_PRINTF(2,3);