Simplify RichString_begin

This commit is contained in:
Christian Göttsche 2020-10-28 18:00:50 +01:00 committed by cgzones
parent 887dfde308
commit 6375df49c9
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ in the source distribution for its full text.
#define RichString_size(this) ((this)->chlen)
#define RichString_sizeVal(this) ((this).chlen)
#define RichString_begin(this) RichString (this); memset(&(this), 0, sizeof(RichString)); (this).chptr = (this).chstr;
#define RichString_begin(this) RichString (this); RichString_beginAllocated(this);
#define RichString_beginAllocated(this) memset(&(this), 0, sizeof(RichString)); (this).chptr = (this).chstr;
#define RichString_end(this) RichString_prune(&(this));