diff options
author | sanine <sanine.not@pm.me> | 2023-02-11 19:46:23 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-02-11 19:46:23 -0600 |
commit | 6722ef01e34f75bde72ba29e3279c0d1df030593 (patch) | |
tree | 1cb389a5af3c0aa4709def8a76c0628342c8aa7c /src/util/util.h | |
parent | 3b740d521a685fdc4f85d100447ff6d88c0b1d28 (diff) |
add materials and images processingyacc-xml
Diffstat (limited to 'src/util/util.h')
-rw-r--r-- | src/util/util.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/util/util.h b/src/util/util.h index 71cae4e..db957c6 100644 --- a/src/util/util.h +++ b/src/util/util.h @@ -88,4 +88,11 @@ do { \ } \ } while (0) + +/* macro to ensure tag type matches what we expect */ +#define KAI_CHECK_TAG_TYPE(expected) \ +if (strcmp(src->type, expected) != 0) { \ + return -1; \ +} + #endif |