]> jfr.im git - irc/quakenet/newserv.git/commit
Added new recycling version of sstring as sstring-new.[ch]
authorsplidge <redacted>
Mon, 18 Aug 2008 23:37:27 +0000 (00:37 +0100)
committersplidge <redacted>
Mon, 18 Aug 2008 23:37:27 +0000 (00:37 +0100)
commit855548e6eecc47f27a4e4b839964c2c660a68b1c
tree7c6e9bae4831d7ce69e88103b9daeb2232ae3594
parentc3c955ee89f4bd849814a889a3c7f77ee040499f
Added new recycling version of sstring as sstring-new.[ch]

This version should use the same structure for duplicate strings, with refcounting to get the freeing right.
Note that it is dangerous if callers modify the sstrings.
lib/sstring-new.c [new file with mode: 0644]
lib/sstring-new.h [new file with mode: 0644]