changeset 350:19d4b3a1a37c

Add few comments.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 25 Feb 2016 08:54:40 +0200
parents 5c5b3919263d
children b040dc0f77cf
files th_datastruct.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/th_datastruct.h	Thu Feb 25 08:54:31 2016 +0200
+++ b/th_datastruct.h	Thu Feb 25 08:54:40 2016 +0200
@@ -20,8 +20,8 @@
  */
 typedef struct _th_llist_t
 {
-    void *data;
-    size_t num;
+    void *data;  // Pointer to data payload of this node
+    size_t num;  // Number of nodes in the list, meaningful ONLY in the current root node of the list
     struct _th_llist_t *prev, *next;
 } th_llist_t;