diff options
author | Hugo Hörnquist <hugo@hornquist.se> | 2019-02-11 01:34:40 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-15 20:03:43 +0100 |
commit | 60c7d789ce21cb77bdf9dd2c8cb22e86232d903f (patch) | |
tree | 45a2995340c1f2c2891369eb3ec5e2c6aae7b87c /linked_list.h | |
parent | Replace key_val type with templatized PAIR(T, V). (diff) | |
download | calp-60c7d789ce21cb77bdf9dd2c8cb22e86232d903f.tar.gz calp-60c7d789ce21cb77bdf9dd2c8cb22e86232d903f.tar.xz |
Rewrote content_line, and how parameters are stored.
Diffstat (limited to 'linked_list.h')
-rw-r--r-- | linked_list.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linked_list.h b/linked_list.h index 4e9ca042..8c09d5e0 100644 --- a/linked_list.h +++ b/linked_list.h @@ -17,6 +17,8 @@ typedef struct LINK(TYPE) { TYPE* value; } LINK(TYPE); +#define L(link) (link)->value + typedef struct { LINK(TYPE)* head; LINK(TYPE)* tail; |