mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-19 23:28:54 +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));
|
* 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)
|
g_futex_int_address (const void *address)
|
||||||
{
|
{
|
||||||
const gint *int_address = address;
|
const gint *int_address = address;
|
||||||
|
Reference in New Issue
Block a user