diff options
Diffstat (limited to 'include/stc/test_new_vec.c')
| -rw-r--r-- | include/stc/test_new_vec.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/stc/test_new_vec.c b/include/stc/test_new_vec.c index c64f633c..3cc770da 100644 --- a/include/stc/test_new_vec.c +++ b/include/stc/test_new_vec.c @@ -10,8 +10,8 @@ struct MyStruct { } typedef MyStruct;
-#define f_TAG i32
-#define i_VAL int
+#define f_tag i32
+#define i_val int
#include "cvec.h"
struct Point { int x, y; } typedef Point;
@@ -19,15 +19,15 @@ int point_compare(const Point* a, const Point* b) { int c = c_default_compare(&a->x, &b->x);
return c ? c : c_default_compare(&a->y, &b->y);
}
-#define f_TAG pnt
-#define i_VAL Point
-#define i_CMP point_compare
+#define f_tag pnt
+#define i_val Point
+#define i_cmp point_compare
#include "cvec.h"
-#define i_VAL float
+#define i_val float
#include "cvec.h"
-#define i_VAL_str
+#define i_val_str
#include "cvec.h"
|
