diff options
Diffstat (limited to 'NK_C_API_helpers.cpp')
-rw-r--r-- | NK_C_API_helpers.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/NK_C_API_helpers.cpp b/NK_C_API_helpers.cpp new file mode 100644 index 0000000..f0353aa --- /dev/null +++ b/NK_C_API_helpers.cpp @@ -0,0 +1,5 @@ +#include <string> + +void clear_string(std::string &s) { + std::fill(s.begin(), s.end(), ' '); +}
\ No newline at end of file |