From dc8250b09bc3039c3f1ade84cdc8ba3200a5d4d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Fri, 10 May 2024 14:48:06 +0200 Subject: [PATCH] spinlock: Add missing GUM_API annotations --- gum/gumspinlock.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gum/gumspinlock.h b/gum/gumspinlock.h index c0874c779..ba4c47e7c 100644 --- a/gum/gumspinlock.h +++ b/gum/gumspinlock.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2019 Ole André Vadla Ravnås + * Copyright (C) 2010-2024 Ole André Vadla Ravnås * Copyright (C) 2024 Francesco Tamagni * * Licence: wxWindows Library Licence, Version 3.1 @@ -8,7 +8,7 @@ #ifndef __GUM_SPINLOCK_H__ #define __GUM_SPINLOCK_H__ -#include +#include #define GUM_SPINLOCK_INIT { NULL } @@ -21,11 +21,11 @@ struct _GumSpinlock gpointer data; }; -void gum_spinlock_init (GumSpinlock * spinlock); +GUM_API void gum_spinlock_init (GumSpinlock * spinlock); -void gum_spinlock_acquire (GumSpinlock * spinlock); -gboolean gum_spinlock_try_acquire (GumSpinlock * spinlock); -void gum_spinlock_release (GumSpinlock * spinlock); +GUM_API void gum_spinlock_acquire (GumSpinlock * spinlock); +GUM_API gboolean gum_spinlock_try_acquire (GumSpinlock * spinlock); +GUM_API void gum_spinlock_release (GumSpinlock * spinlock); G_END_DECLS