| gobject.h | gobject.h | |||
|---|---|---|---|---|
| skipping to change at line 391 | skipping to change at line 391 | |||
| void g_object_class_install_property (GObjectClass *oclass, | void g_object_class_install_property (GObjectClass *oclass, | |||
| guint property_id, | guint property_id, | |||
| GParamSpec *pspec); | GParamSpec *pspec); | |||
| GParamSpec* g_object_class_find_property (GObjectClass *oclass, | GParamSpec* g_object_class_find_property (GObjectClass *oclass, | |||
| const gchar *property_name ); | const gchar *property_name ); | |||
| GParamSpec**g_object_class_list_properties (GObjectClass *oclass, | GParamSpec**g_object_class_list_properties (GObjectClass *oclass, | |||
| guint *n_properties) ; | guint *n_properties) ; | |||
| void g_object_class_override_property (GObjectClass *oclass, | void g_object_class_override_property (GObjectClass *oclass, | |||
| guint property_id, | guint property_id, | |||
| const gchar *name); | const gchar *name); | |||
| void g_object_class_install_properties (GObjectClass *oclass, | ||||
| guint n_pspecs, | ||||
| GParamSpec **pspecs); | ||||
| void g_object_interface_install_property (gpointer g_iface, | void g_object_interface_install_property (gpointer g_iface, | |||
| GParamSpec *pspec); | GParamSpec *pspec); | |||
| GParamSpec* g_object_interface_find_property (gpointer g_iface, | GParamSpec* g_object_interface_find_property (gpointer g_iface, | |||
| const gchar *property_name) ; | const gchar *property_name) ; | |||
| GParamSpec**g_object_interface_list_properties (gpointer g_iface, | GParamSpec**g_object_interface_list_properties (gpointer g_iface, | |||
| guint *n_properties_p ); | guint *n_properties_p ); | |||
| GType g_object_get_type (void) G_GNUC_CONST; | GType g_object_get_type (void) G_GNUC_CONST; | |||
| gpointer g_object_new (GType object_type, | gpointer g_object_new (GType object_type, | |||
| skipping to change at line 436 | skipping to change at line 439 | |||
| va_list var_args); | va_list var_args); | |||
| void g_object_set_property (GObject *object, | void g_object_set_property (GObject *object, | |||
| const gchar *property_name , | const gchar *property_name , | |||
| const GValue *value); | const GValue *value); | |||
| void g_object_get_property (GObject *object, | void g_object_get_property (GObject *object, | |||
| const gchar *property_name , | const gchar *property_name , | |||
| GValue *value); | GValue *value); | |||
| void g_object_freeze_notify (GObject *object); | void g_object_freeze_notify (GObject *object); | |||
| void g_object_notify (GObject *object, | void g_object_notify (GObject *object, | |||
| const gchar *property_name ); | const gchar *property_name ); | |||
| void g_object_notify_by_pspec (GObject *object, | ||||
| GParamSpec *pspec); | ||||
| void g_object_thaw_notify (GObject *object); | void g_object_thaw_notify (GObject *object); | |||
| gboolean g_object_is_floating (gpointer object); | gboolean g_object_is_floating (gpointer object); | |||
| gpointer g_object_ref_sink (gpointer object); | gpointer g_object_ref_sink (gpointer object); | |||
| gpointer g_object_ref (gpointer object); | gpointer g_object_ref (gpointer object); | |||
| void g_object_unref (gpointer object); | void g_object_unref (gpointer object); | |||
| void g_object_weak_ref (GObject *object, | void g_object_weak_ref (GObject *object, | |||
| GWeakNotify notify, | GWeakNotify notify, | |||
| gpointer data); | gpointer data); | |||
| void g_object_weak_unref (GObject *object, | void g_object_weak_unref (GObject *object, | |||
| GWeakNotify notify, | GWeakNotify notify, | |||
| skipping to change at line 557 | skipping to change at line 562 | |||
| * @object: the #GObject on which set_property() or get_property() was call ed | * @object: the #GObject on which set_property() or get_property() was call ed | |||
| * @property_id: the numeric id of the property | * @property_id: the numeric id of the property | |||
| * @pspec: the #GParamSpec of the property | * @pspec: the #GParamSpec of the property | |||
| * | * | |||
| * This macro should be used to emit a standard warning about unexpected | * This macro should be used to emit a standard warning about unexpected | |||
| * properties in set_property() and get_property() implementations. | * properties in set_property() and get_property() implementations. | |||
| */ | */ | |||
| #define G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec) \ | #define G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec) \ | |||
| G_OBJECT_WARN_INVALID_PSPEC ((object), "property", (property_id), (pspe c)) | G_OBJECT_WARN_INVALID_PSPEC ((object), "property", (property_id), (pspe c)) | |||
| void g_clear_object (volatile GObject **object_ptr); | ||||
| #define g_clear_object(object_ptr) \ | ||||
| G_STMT_START { | ||||
| \ | ||||
| /* Only one access, please */ | ||||
| \ | ||||
| gpointer *_p = (gpointer) (object_ptr); | ||||
| \ | ||||
| gpointer _o; | ||||
| \ | ||||
| \ | ||||
| do | ||||
| \ | ||||
| _o = g_atomic_pointer_get (_p); | ||||
| \ | ||||
| while G_UNLIKELY (!g_atomic_pointer_compare_and_exchange (_p, _o, NULL) | ||||
| );\ | ||||
| \ | ||||
| if (_o) | ||||
| \ | ||||
| g_object_unref (_o); | ||||
| \ | ||||
| } G_STMT_END | ||||
| G_END_DECLS | G_END_DECLS | |||
| #endif /* __G_OBJECT_H__ */ | #endif /* __G_OBJECT_H__ */ | |||
| End of changes. 3 change blocks. | ||||
| 0 lines changed or deleted | 31 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ | ||||