diff options
Diffstat (limited to 'libs/pbd/pbd/whitespace.h')
-rw-r--r-- | libs/pbd/pbd/whitespace.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/pbd/pbd/whitespace.h b/libs/pbd/pbd/whitespace.h index 6620a8fb50..6adb41641c 100644 --- a/libs/pbd/pbd/whitespace.h +++ b/libs/pbd/pbd/whitespace.h @@ -3,6 +3,12 @@ #include <string> +namespace PBD { + +// returns the empty string if the entire string is whitespace +// so check length after calling. extern void strip_whitespace_edges (std::string& str); +} // namespace PBD + #endif // __pbd_whitespace_h__ |