diff options
author | Hugo Hörnquist <hugo@hornquist.se> | 2019-02-10 18:55:06 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-15 20:03:40 +0100 |
commit | 78409a2251e345249316f3fcccb31d7b8ba97ccb (patch) | |
tree | 5ccac8f847b4f259456cb1055cae5afe61c454b7 /strbuf.h | |
parent | Move trie->dot from trie to graphs. Add value printing. (diff) | |
download | calp-78409a2251e345249316f3fcccb31d7b8ba97ccb.tar.gz calp-78409a2251e345249316f3fcccb31d7b8ba97ccb.tar.xz |
Merge strbuf copy functions.
Diffstat (limited to 'strbuf.h')
-rw-r--r-- | strbuf.h | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -39,17 +39,13 @@ int strbuf_realloc(strbuf* str, size_t len); */ FREE_F(strbuf); +int strbuf_cmp(strbuf* a, strbuf* b); +int strbuf_c(strbuf* a, char* b); + /* * Copy contents from src to dest. * Assumes that dest is already initialized. - * - * also see: strbuf_alloc_copy */ -int strbuf_copy(strbuf* dest, strbuf* src); - -int strbuf_cmp(strbuf* a, strbuf* b); -int strbuf_c(strbuf* a, char* b); - int DEEP_COPY(strbuf)(strbuf*, strbuf*); /* |