projects
/
platform
/
upstream
/
json-glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 1.2.4
[platform/upstream/json-glib.git]
/
json-glib
/
json-gobject.h
diff --git
a/json-glib/json-gobject.h
b/json-glib/json-gobject.h
index
17aa2db
..
47ac125
100644
(file)
--- a/
json-glib/json-gobject.h
+++ b/
json-glib/json-gobject.h
@@
-194,6
+194,10
@@
JSON_DEPRECATED_IN_1_0_FOR(json_gobject_to_data)
gchar * json_serialize_gobject (GObject *gobject,
gsize *length) G_GNUC_MALLOC;
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (JsonSerializable, g_object_unref)
+#endif
+
G_END_DECLS
#endif /* __JSON_GOBJECT_H__ */