aboutsummaryrefslogtreecommitdiff
path: root/pair.h
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-02-11 01:34:40 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-02-15 20:03:43 +0100
commit60c7d789ce21cb77bdf9dd2c8cb22e86232d903f (patch)
tree45a2995340c1f2c2891369eb3ec5e2c6aae7b87c /pair.h
parentReplace key_val type with templatized PAIR(T, V). (diff)
downloadcalp-60c7d789ce21cb77bdf9dd2c8cb22e86232d903f.tar.gz
calp-60c7d789ce21cb77bdf9dd2c8cb22e86232d903f.tar.xz
Rewrote content_line, and how parameters are stored.
Diffstat (limited to 'pair.h')
-rw-r--r--pair.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pair.h b/pair.h
index e3822a9b..e96cf180 100644
--- a/pair.h
+++ b/pair.h
@@ -7,8 +7,8 @@
#if defined(T) && defined(V)
typedef struct {
- T left;
- V right;
+ T key;
+ V val;
} PAIR(T, V);
INIT_F(PAIR(T, V));