Fix memory leaks in json_*_deep_copy()
[jansson.git] / src / jansson.h
index 25906dd..73f6ce0 100644 (file)
@@ -137,6 +137,17 @@ int json_integer_set(json_t *integer, int value);
 int json_real_set(json_t *real, double value);
 
 
+/* equality */
+
+int json_equal(json_t *value1, json_t *value2);
+
+
+/* copying */
+
+json_t *json_copy(json_t *value);
+json_t *json_deep_copy(json_t *value);
+
+
 /* loading, printing */
 
 #define JSON_ERROR_TEXT_LENGTH  160