Skip to content
Snippets Groups Projects
Commit 824f5c5a authored by Damien George's avatar Damien George
Browse files

py/vstr: Combine vstr_new_size with vstr_new since they are rarely used.

Now there is just one function to allocate a new vstr, namely vstr_new
(in addition to vstr_init etc).  The caller of this function should know
what initial size to allocate for the buffer, or at least have some policy
or config option, instead of leaving it to a default (as it was before).
parent ed878275
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment