Mercurial > hg > th-libs
comparison th_config.h @ 500:25fc4ab342d3
Add a comment about struct aliasing.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 26 Dec 2019 04:17:00 +0200 |
parents | 836e16f27b34 |
children | 934369fafd5d |
comparison
equal
deleted
inserted
replaced
499:836e16f27b34 | 500:25fc4ab342d3 |
---|---|
35 }; | 35 }; |
36 | 36 |
37 | 37 |
38 typedef struct _th_cfgitem_t | 38 typedef struct _th_cfgitem_t |
39 { | 39 { |
40 // th_llist_t must be the first item, as this | |
41 // is used to alias th_cfgitem_t to llist nodes | |
40 th_llist_t node; | 42 th_llist_t node; |
41 | 43 |
42 int type; | 44 int type; |
43 char *name; | 45 char *name; |
44 union { | 46 union { |