AP_Common: added get_writeable_string to ExpandingString
This commit is contained in:
parent
1ddc21c9bb
commit
504f500fae
@ -29,6 +29,9 @@ public:
|
|||||||
uint32_t get_length(void) const {
|
uint32_t get_length(void) const {
|
||||||
return used;
|
return used;
|
||||||
}
|
}
|
||||||
|
char *get_writeable_string(void) const {
|
||||||
|
return buf;
|
||||||
|
}
|
||||||
|
|
||||||
// print into the string
|
// print into the string
|
||||||
void printf(const char *format, ...) FMT_PRINTF(2,3);
|
void printf(const char *format, ...) FMT_PRINTF(2,3);
|
||||||
|
Loading…
Reference in New Issue
Block a user