4 ms·
stx_new allocates the string, per the readme. My point is that the readme example is misleading, as the two code samples are not equivalent.
by gkfasdfasdf 6y ago
stx_new allocates the string, per the readme.
My point is that the readme example is misleading, as the two code samples are not equivalent.
- alcover 6y agoYou are right, I changed it to malloc. This 'long way' thing is definitly not super useful..