summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-02-07 22:55:55 -0600
committersanine <sanine.not@pm.me>2023-02-07 22:55:55 -0600
commit3b740d521a685fdc4f85d100447ff6d88c0b1d28 (patch)
tree93684e153883e571dce84298be8b84ecf5d33a07
parent7ba4ac76789b4be03789f5e3ebe4785aab2425d6 (diff)
remove FOR_CHILD_OF_TYPE macro
-rw-r--r--src/geometry/geometry.c10
1 files changed, 0 insertions, 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);
}
-
-