aboutsummaryrefslogtreecommitdiff
path: root/strbuf.h
diff options
context:
space:
mode:
Diffstat (limited to 'strbuf.h')
-rw-r--r--strbuf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/strbuf.h b/strbuf.h
index d861108..5df0b7b 100644
--- a/strbuf.h
+++ b/strbuf.h
@@ -25,6 +25,11 @@
25#include <stdlib.h> 25#include <stdlib.h>
26#include <stdarg.h> 26#include <stdarg.h>
27 27
28/* Workaround for MSVC */
29#ifdef _MSC_VER
30#define inline __inline
31#endif
32
28/* Size: Total bytes allocated to *buf 33/* Size: Total bytes allocated to *buf
29 * Length: String length, excluding optional NULL terminator. 34 * Length: String length, excluding optional NULL terminator.
30 * Increment: Allocation increments when resizing the string buffer. 35 * Increment: Allocation increments when resizing the string buffer.