diff th_datastruct.h @ 350:19d4b3a1a37c

Add few comments.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 25 Feb 2016 08:54:40 +0200
parents fcbdc12f5866
children 1b3472ba7b23
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;