diff options
author | Joshua Haberman <joshua@reverberate.org> | 2011-02-17 23:47:26 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2011-02-17 23:47:26 -0800 |
commit | e75cff570c23f2d140b4fdf4e242436f72c83fdc (patch) | |
tree | 8813c88ea897c0a427582022a6c04b8ab91248af /src/upb_string.c | |
parent | d8b215486245e84e33283b6047fb253bbb418e00 (diff) |
Return updated buf as second return value, to free up a reg.
Diffstat (limited to 'src/upb_string.c')
-rw-r--r-- | src/upb_string.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/upb_string.c b/src/upb_string.c index 30ed88f..e6ea589 100644 --- a/src/upb_string.c +++ b/src/upb_string.c @@ -141,3 +141,5 @@ error: fclose(f); return NULL; } + +void upb_string_noninlinerecycle(upb_string **_str) { return upb_string_recycle(_str); } |