aboutsummaryrefslogtreecommitdiff
path: root/ini_file.h
diff options
context:
space:
mode:
authorClecio Jung2023-04-15 11:07:01 -0300
committerClecio Jung2023-04-15 11:07:01 -0300
commitd7119c21fa566d2d5834cc5aa8627655ee849160 (patch)
tree33cfea3efe3d2d282b8cb4b4241fd07e4667781f /ini_file.h
parenta33d389310a35bc181583b0f25dbf742e67295e9 (diff)
downloadlibini-d7119c21fa566d2d5834cc5aa8627655ee849160.tar.xz
libini-d7119c21fa566d2d5834cc5aa8627655ee849160.tar.zst
Update the README example
Diffstat (limited to 'ini_file.h')
-rw-r--r--ini_file.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ini_file.h b/ini_file.h
index 3df6dc9..4978b5a 100644
--- a/ini_file.h
+++ b/ini_file.h
@@ -64,8 +64,11 @@
*/
#define USE_CUSTOM_STRING_ALLOCATOR
#ifdef USE_CUSTOM_STRING_ALLOCATOR
+
+#define STRING_ALLOCATOR_BUFFER_SIZE 4096
+
struct String_Buffer {
- char buffer[4096];
+ char buffer[STRING_ALLOCATOR_BUFFER_SIZE];
struct String_Buffer *next;
};
#endif