From 3b740d521a685fdc4f85d100447ff6d88c0b1d28 Mon Sep 17 00:00:00 2001 From: sanine Date: Tue, 7 Feb 2023 22:55:55 -0600 Subject: remove FOR_CHILD_OF_TYPE macro --- src/geometry/geometry.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/geometry/geometry.c b/src/geometry/geometry.c index 54be1c7..35c6e99 100644 --- a/src/geometry/geometry.c +++ b/src/geometry/geometry.c @@ -12,14 +12,6 @@ if (strcmp(src->type, expected) != 0) { \ return -1; \ } -/* helper macro for iterating over tag children of a particular type */ -#define FOR_CHILD_OF_TYPE(parent, child, type) \ -for ( \ - child = kai_tag_get_first_child_with_type(parent, type); \ - child != NULL; \ - child = kai_tag_get_next_sibling_with_type(child, type) \ -) - int kai_read_float_array(struct ka_float_array_t *dest, struct kai_tag_t *src) { @@ -458,5 +450,3 @@ void kai_release_library_geometries(struct ka_library_geometries_t l) } free(l.geometry); } - - -- cgit v1.2.1