summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/complex.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/examples/complex.c')
-rw-r--r--misc/examples/complex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/examples/complex.c b/misc/examples/complex.c
index b5ea847a..405afef3 100644
--- a/misc/examples/complex.c
+++ b/misc/examples/complex.c
@@ -9,11 +9,11 @@
#include <stc/cstr.h>
#define i_type FloatStack
-#define i_val float
+#define i_key float
#include <stc/cstack.h>
#define i_type StackList
-#define i_valclass FloatStack // "class" picks up _clone, _drop, _cmp
+#define i_keyclass FloatStack // "class" picks up _clone, _drop, _cmp
#define i_opt c_no_cmp // exclude FloatStack_cmp(): not defined
#include <stc/clist.h>