summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/stc/cvec.h3
-rw-r--r--include/stc/template.h5
2 files changed, 2 insertions, 6 deletions
diff --git a/include/stc/cvec.h b/include/stc/cvec.h
index 04618fb2..11de465c 100644
--- a/include/stc/cvec.h
+++ b/include/stc/cvec.h
@@ -38,7 +38,8 @@ struct MyStruct {
#define i_val_str // special for cstr
#include <stc/cvec.h>
-#define F_tag i32 // forward declared above; shorthand for i_fwd
+#define i_fwd // forward declared
+#define i_tag i32
#define i_val int
#include <stc/cvec.h>
diff --git a/include/stc/template.h b/include/stc/template.h
index 0faf6950..cecf9790 100644
--- a/include/stc/template.h
+++ b/include/stc/template.h
@@ -47,10 +47,6 @@
#error if i_keyraw or i_keyto defined, i_keyfrom a must be defined
#endif
-#ifdef F_tag
- #define i_tag F_tag
- #define i_fwd
-#endif
#ifdef i_cnt
#define i_tag i_cnt
#undef i_prefix
@@ -166,7 +162,6 @@
#undef i_prefix
#undef i_tag
-#undef F_tag
#undef i_imp
#undef i_fwd
#undef i_cmp