mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-29 21:33:30 +02:00
bitlock: mark g_futex_int_address() as G_ALWAYS_INLINE
It probably would get inlined anyway(?). But add G_ALWAYS_INLINE to be more sure about this. We don't want this mostly trivial function to be a separate call.
This commit is contained in:
@@ -469,7 +469,7 @@ g_bit_unlock_and_set (gint *address,
|
||||
*
|
||||
* g_futex_wake (g_futex_int_address (int_address));
|
||||
*/
|
||||
static const gint *
|
||||
G_ALWAYS_INLINE static inline const gint *
|
||||
g_futex_int_address (const void *address)
|
||||
{
|
||||
const gint *int_address = address;
|
||||
|
Reference in New Issue
Block a user