glib/gobject
Marco Trevisan (Treviño) 920f54e795 gatomicarray: Use atomic exchange for data value
We can use pointer exchange now to avoid doing two operations to switch
to the new data pointer.

Since we're asserting in case of invalid data, we can just do this check
at later point, without involving any different behavior.

This changes in the unlikely case that G_DISABLE_ASSERT is defined, as in such
case we should undo the operation.
2022-06-23 20:01:12 +02:00
..
tests Add another testcase 2022-06-12 12:01:16 -04:00
gatomicarray.c gatomicarray: Use atomic exchange for data value 2022-06-23 20:01:12 +02:00
gatomicarray.h gatomicarray: Drop volatile qualifier from GAtomicArray API 2020-11-20 14:40:19 +00:00
gbinding.c gbinding: Remove some duplicated code for checking property names 2022-06-09 18:20:06 +01:00
gbinding.h docs: Start stanzas with a single paragraph 2021-08-02 13:22:23 +01:00
gbindinggroup.c gobject: add GBindingGroup 2022-01-28 16:01:22 -08:00
gbindinggroup.h gobject: add GBindingGroup 2022-01-28 16:01:22 -08:00
gboxed.c docs: mark macros, flags, enums with percent sign 2022-03-04 16:21:55 +00:00
gboxed.h gobject/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gclosure.c Revert "Merge branch 'fix/gclosure-invoke-type-annotation' into 'main'" 2021-08-29 20:56:08 +00:00
gclosure.h Rename user data parameters to user_data 2022-05-22 01:06:37 +00:00
genums.c genums: Add missing (transfer) and (nullable) return annotations 2020-12-11 23:48:35 +00:00
genums.h gobject/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
glib-enumtypes.c.template Fix a Unicode typo 2021-07-29 10:09:27 -04:00
glib-enumtypes.h.template build: Rename gobjectenumtypes.[ch] to glib-enumtypes.[ch] 2019-03-04 11:12:59 +00:00
glib-genmarshal.in glib-genmarshal: close output file 2021-03-03 12:24:29 +06:00
glib-mkenums.in glib-mkenums: Parse and skip deprecation/availability annotations 2021-03-11 13:37:49 +00:00
glib-types.h docs: Use G_PARAM_STATIC_STRINGS in examples and explain it more 2022-05-20 12:57:36 +01:00
gmarshal.c minor typos in the documentation (a/an) 2019-08-24 19:14:05 +00:00
gmarshal.h gmarshal: Move marshaller documentation comments to above functions 2019-03-04 12:33:17 +00:00
gobject_gdb.py py: Various flake8 cleanups 2020-11-17 15:50:07 +00:00
gobject_probes.d Add missing semicolons to gobject_probes.d 2012-10-15 19:48:44 -04:00
gobject_trace.h build: Disable dtrace probes under static analysis 2019-09-05 14:16:58 +01:00
gobject-autocleanups.h gobject: Add g_autoptr() support for GTypeClass, GEnumClass, GFlagsClass 2018-05-15 15:38:33 +01:00
gobject-query.c gobject-query: Add a --version argument 2022-06-09 13:25:35 +01:00
gobject.c Merge branch 'coverity-is-stupid' into 'main' 2022-06-17 15:47:39 +00:00
gobject.h gobject: Speed up property lookup 2022-06-07 12:39:58 -04:00
gobject.rc.in meson: build Windows resource files 2018-01-04 22:19:30 +01:00
gobject.stp.in glib: Namespace global tapset variables by soname 2016-11-23 10:50:39 +00:00
gobjectnotifyqueue.c gobject/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gparam.c param: Add g_param_value_is_valid 2022-05-23 15:48:28 -04:00
gparam.h param: Add g_param_value_is_valid 2022-05-23 15:48:28 -04:00
gparamspecs.c gparamspecs: Tidy up a precondition 2022-05-25 14:44:48 +01:00
gparamspecs.h docs: Start stanzas with a single paragraph 2021-08-02 13:22:23 +01:00
gsignal.c Keep a separate flag for notify handlers 2022-06-06 14:25:41 -04:00
gsignal.h Rename user data parameters to user_data 2022-05-22 01:06:37 +00:00
gsignalgroup.c gobject/gsignalgroup: fix memory leaks on error 2022-05-17 17:34:06 +02:00
gsignalgroup.h gobject: Add g_signal_group_connect_closure 2022-04-05 15:32:20 +01:00
gsourceclosure.c gobject: Drop use of volatile from get_type() macros 2020-11-20 14:40:19 +00:00
gsourceclosure.h gobject/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gtype-private.h Keep a separate flag for notify handlers 2022-06-06 14:25:41 -04:00
gtype.c gtype: Speed up g_type_is_a 2022-05-20 09:08:09 -04:00
gtype.h Revert "gtype: Speed up type checks for final types" 2022-06-06 16:39:41 -04:00
gtypemodule.c docs: Start stanzas with a single paragraph 2021-08-02 13:22:23 +01:00
gtypemodule.h docs: Start stanzas with a single paragraph 2021-08-02 13:22:23 +01:00
gtypeplugin.c docs: Start stanzas with a single paragraph 2021-08-02 13:22:23 +01:00
gtypeplugin.h gobject: Standardise on the term ‘instantiatable’ 2020-11-02 17:22:01 +00:00
gvalue.c docs: Start stanzas with a single paragraph 2021-08-02 13:22:23 +01:00
gvalue.h docs: Start stanzas with a single paragraph 2021-08-02 13:22:23 +01:00
gvaluearray.c gvaluearray: Mark the whole of GValueArray as deprecated 2019-03-15 11:09:36 +00:00
gvaluearray.h Annotate various types and macros as deprecated 2019-05-30 10:39:11 +01:00
gvaluecollector.h value: Add G_VALUE_COLLECT_INIT2 2022-05-23 05:57:36 -04:00
gvaluetransform.c gobject/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gvaluetypes.c g_value_set_string description: clarified (unified), that v_string is a copy. 2021-06-23 05:50:59 +00:00
gvaluetypes.h docs: mark macros, flags, enums with percent sign 2022-03-04 16:21:55 +00:00
libgobject-gdb.py.in Rename gdb macros with _gdb suffix to avoid ns clashes 2016-05-23 10:52:10 -04:00
meson.build build: Drop checks and workarounds for older Meson versions 2022-05-06 13:01:44 +01:00