aboutsummaryrefslogtreecommitdiff
path: root/strbuf.h
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-02-10 18:55:06 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-02-15 20:03:40 +0100
commit78409a2251e345249316f3fcccb31d7b8ba97ccb (patch)
tree5ccac8f847b4f259456cb1055cae5afe61c454b7 /strbuf.h
parentMove trie->dot from trie to graphs. Add value printing. (diff)
downloadcalp-78409a2251e345249316f3fcccb31d7b8ba97ccb.tar.gz
calp-78409a2251e345249316f3fcccb31d7b8ba97ccb.tar.xz
Merge strbuf copy functions.
Diffstat (limited to 'strbuf.h')
-rw-r--r--strbuf.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/strbuf.h b/strbuf.h
index d88a6f16..35ff9543 100644
--- a/strbuf.h
+++ b/strbuf.h
@@ -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*);
/*