diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-01-21 11:32:33 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-01-21 11:32:33 +0100 |
commit | d5a5ce02552c4d58c34226eaa0b9c71743630a32 (patch) | |
tree | cd73d4fbcf95913da90a2195e99b7cb369f16b17 /strbuf.h | |
parent | Add closedir. (diff) | |
download | calp-d5a5ce02552c4d58c34226eaa0b9c71743630a32.tar.gz calp-d5a5ce02552c4d58c34226eaa0b9c71743630a32.tar.xz |
Bunch of renames + macros.
Diffstat (limited to 'strbuf.h')
-rw-r--r-- | strbuf.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -18,9 +18,15 @@ typedef struct { */ /* + * Init string to size of 0 + * Doesnt't call malloc. + */ +int strbuf_init_0(string* str); + +/* * Constructor */ -int init_string(string* str, size_t len); +int strbuf_init_1(string* str, size_t len); /* * Like realloc, but for strbuf |