aboutsummaryrefslogtreecommitdiff
path: root/strbuf.h
diff options
context:
space:
mode:
Diffstat (limited to 'strbuf.h')
-rw-r--r--strbuf.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/strbuf.h b/strbuf.h
index e6f59896..62c0ee08 100644
--- a/strbuf.h
+++ b/strbuf.h
@@ -66,11 +66,6 @@ int strbuf_append(strbuf* s, char c);
int strbuf_cap(strbuf* s);
/*
- * Resets the seek for strbuf to 0.
- */
-int strbuf_reset(strbuf* s);
-
-/*
* Returns a pointer to character at index. Allows mutation of the
* value pointed to by the return address.
*/
@@ -82,6 +77,11 @@ char* charat(strbuf* s, unsigned int idx);
char* strbuf_cur(strbuf* s);
/*
+ * Resets the seek for strbuf to 0.
+ */
+int strbuf_reset(strbuf* s);
+
+/*
* Sets the length and seek ptr to 0, but doesn't touch the memmory.
*/
int strbuf_soft_reset(strbuf* s);