summaryrefslogtreecommitdiffhomepage
path: root/misc
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-05-18 23:00:42 +0200
committerTyge Løvset <[email protected]>2023-05-18 23:00:42 +0200
commitc94e7b91d552a05d49e1cc3859f80e9f20406b48 (patch)
tree8b95af9c4537031ab8435e7be43473c50eaa72dc /misc
parentc54da07eb171455ad182d61a1fb5c4e4520aebbb (diff)
downloadSTC-modified-c94e7b91d552a05d49e1cc3859f80e9f20406b48.tar.gz
STC-modified-c94e7b91d552a05d49e1cc3859f80e9f20406b48.zip
Renamed template param i_con => i_base in stc/extend.h. Also the macro c_getcon(self) => c_extend(self).
Diffstat (limited to 'misc')
-rw-r--r--misc/examples/functor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/examples/functor.c b/misc/examples/functor.c
index c0a4f8e8..d6adfcb1 100644
--- a/misc/examples/functor.c
+++ b/misc/examples/functor.c
@@ -8,10 +8,10 @@
#include <stdio.h>
#define i_type IPQue
+#define i_base cpque
#define i_val int
#define i_extend bool (*less)(const int*, const int*);
-#define i_less(x, y) c_getcon(self)->less(x, y)
-#define i_con cpque
+#define i_less(x, y) c_extend(self)->less(x, y)
#include <stc/extend.h>
void print_queue(const char* name, IPQue_ext q) {