changeset 716:7aee25fbc504

Improve few comments.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 26 Oct 2020 12:33:02 +0200
parents 6f627f4f11db
children e73200c4584a
files th_ioctx.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/th_ioctx.h	Tue Apr 28 18:38:23 2020 +0300
+++ b/th_ioctx.h	Mon Oct 26 12:33:02 2020 +0200
@@ -44,8 +44,8 @@
 
     // Mem data
     size_t maxSize;     ///< Maximum size (0 = no limit)
-    size_t memSize;     ///< Size of data
-    size_t memAlloc;    ///< Amount allocated
+    size_t memSize;     ///< Current size of data "used"
+    size_t memAlloc;    ///< Amount actually allocated for data (>= memSize)
     size_t minAlloc;    ///< Minimum allocation increase (0 = default)
     off_t  memOffset;   ///< Current offset in data
     uint8_t *memData;   ///< Pointer to data