Go to the documentation of this file.
20#if (__clang_major__ == 3 && __clang_minor__ >= 2) || __clang_major__ > 3
21 #define VUO_CLANG_32_OR_LATER
24#pragma clang diagnostic push
25#ifdef VUO_CLANG_32_OR_LATER
26 #pragma clang diagnostic ignored "-Wdocumentation"
28#include "json-c/json.h"
29#pragma clang diagnostic pop
47#define VuoMakeRetainedFromString(valueAsString, type) ({ \
48 json_object *js = valueAsString ? json_tokener_parse(valueAsString) : NULL; \
49 type variable = type ## _makeFromJson(js); \
50 type ## _retain(variable); \
51 json_object_put(js); \