mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-15 14:43:34 +02:00
gtypes: Drop volatile qualifier from gatomicrefcount
This is technically an API break, but since the type is meant to be opaque (third party code is not meant to treat it like an integer) it should not cause problems. Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Helps: #600
This commit is contained in:
@ -550,8 +550,8 @@ struct _GTimeVal
|
||||
glong tv_usec;
|
||||
} GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
|
||||
|
||||
typedef gint grefcount;
|
||||
typedef volatile gint gatomicrefcount;
|
||||
typedef gint grefcount;
|
||||
typedef gint gatomicrefcount; /* should be accessed only using atomics */
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
Reference in New Issue
Block a user