From 1b4564c02380d10f7f8630d73441e7f9aa83c812 Mon Sep 17 00:00:00 2001 From: sanine Date: Fri, 3 Feb 2023 23:01:31 -0600 Subject: begin implementing kai_read_float_array() --- src/geometry/geometry.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/geometry/geometry.c') diff --git a/src/geometry/geometry.c b/src/geometry/geometry.c index ba1ca58..5e93c55 100644 --- a/src/geometry/geometry.c +++ b/src/geometry/geometry.c @@ -2,4 +2,16 @@ #include #include "util/util.h" +#include "xml/xml.h" #include "geometry.h" + + +int kai_read_float_array(struct ka_float_array_t *dest, struct kai_tag_t *src) +{ + if (strcmp(src->type, "float_array") != 0) { + /* incorrect tag type */ + return -1; + } + + return 0; +} -- cgit v1.2.1