Replace inline with JSON_INLINE in json_object_iter_set() declaration
authorPetri Lehtinen <petri@digip.org>
Thu, 12 Aug 2010 18:10:12 +0000 (21:10 +0300)
committerPetri Lehtinen <petri@digip.org>
Thu, 12 Aug 2010 18:10:12 +0000 (21:10 +0300)
src/jansson.h.in

index 4980d01..8032692 100644 (file)
@@ -106,7 +106,7 @@ int json_object_set_nocheck(json_t *object, const char *key, json_t *value)
     return json_object_set_new_nocheck(object, key, json_incref(value));
 }
 
-static inline
+static JSON_INLINE
 int json_object_iter_set(json_t *object, void *iter, json_t *value)
 {
     return json_object_iter_set_new(object, iter, json_incref(value));