diff options
| author | robojumper <robojumper@gmail.com> | 2025-03-08 22:40:04 +0100 |
|---|---|---|
| committer | robojumper <robojumper@gmail.com> | 2025-03-09 10:09:08 +0100 |
| commit | 32b7ce138d86d862290909f7e9a23c703e0675e1 (patch) | |
| tree | 8d311a4ac4072ec4cc0166e9fcb05d3b63b2c3a6 /include/sized_string.h | |
| parent | c558c88f2534c699661671d41fcbd84633be74b3 (diff) | |
dStageMgr_c start, more splits
Diffstat (limited to 'include/sized_string.h')
| -rw-r--r-- | include/sized_string.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sized_string.h b/include/sized_string.h index c1aac98b..64b01a5a 100644 --- a/include/sized_string.h +++ b/include/sized_string.h @@ -76,6 +76,10 @@ struct SizedString { va_end(list); return printed; } + + size_t len() const { + return strlen(mChars); + } }; // TODO this might be a shared template with SizedString but I'm |
