}
return jvalue->content.str;
}
-static inline ATTR_PURE const unsigned char *
+static inline const unsigned char *
json_value_get_data(const struct json_value *jvalue, size_t *size_r)
{
switch (jvalue->content_type) {
i_unreached();
}
-static inline ATTR_PURE int
+static inline int
json_value_get_stream(const struct json_value *jvalue,
struct istream **stream_r)
{
return json_value_as_str(&jnode->value);
}
-static inline ATTR_PURE const unsigned char *
+static inline const unsigned char *
json_node_get_data(const struct json_node *jnode, size_t *size_r)
{
const char *literal;
return FALSE;
}
-static inline ATTR_PURE int
+static inline int
json_node_get_boolean(const struct json_node *jnode, bool *bool_r)
{
switch (jnode->type) {