mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 01:36:17 +01:00
Add GParamSpec object ref management annotations
Add ref-func, unref-func, set-value-func, and get-value-func annotations to GParamSpec so that it can be managed generically as a fundamental type with introspection. https://bugzilla.gnome.org/show_bug.cgi?id=710243
This commit is contained in:
parent
04c56cf6e7
commit
1513efc904
@ -195,7 +195,7 @@ typedef struct _GParamSpecClass GParamSpecClass;
|
|||||||
typedef struct _GParameter GParameter;
|
typedef struct _GParameter GParameter;
|
||||||
typedef struct _GParamSpecPool GParamSpecPool;
|
typedef struct _GParamSpecPool GParamSpecPool;
|
||||||
/**
|
/**
|
||||||
* GParamSpec:
|
* GParamSpec: (ref-func g_param_spec_ref_sink) (unref-func g_param_spec_uref) (set-value-func g_value_set_param) (get-value-func g_value_get_param)
|
||||||
* @g_type_instance: private #GTypeInstance portion
|
* @g_type_instance: private #GTypeInstance portion
|
||||||
* @name: name of this parameter: always an interned string
|
* @name: name of this parameter: always an interned string
|
||||||
* @flags: #GParamFlags flags for this parameter
|
* @flags: #GParamFlags flags for this parameter
|
||||||
|
Loading…
Reference in New Issue
Block a user