diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-24 19:27:49 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-24 19:27:49 -0500 |
commit | f6d49d377ac136fc29457b3b4501f0488b6412e3 (patch) | |
tree | 1ff4a6885decabcc4f639a0420b94c836e01940f /string32.c | |
parent | accf188e7c84ee627d5e4cfe12c141e929699830 (diff) |
copy/cut/paste
Diffstat (limited to 'string32.c')
-rw-r--r-- | string32.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -13,6 +13,7 @@ String32 str32_substr(String32 s, size_t from, size_t len) { return str32(s.str + from, len); } +// frees string and sets it to "" void str32_free(String32 *s) { free(s->str); s->str = NULL; |