We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f660ded commit 7be4111Copy full SHA for 7be4111
src/libAtomVM/smp.h
@@ -273,6 +273,10 @@ bool smp_is_main_thread(GlobalContext *glb);
273
#define SMP_RWLOCK_WRLOCK(lock) smp_rwlock_wrlock(lock)
274
#define SMP_RWLOCK_UNLOCK(lock) smp_rwlock_unlock(lock)
275
276
+#ifdef __cplusplus
277
+}
278
+#endif
279
+
280
#else
281
282
#define SMP_SPINLOCK_LOCK(spinlock)
@@ -287,8 +291,4 @@ bool smp_is_main_thread(GlobalContext *glb);
287
291
#define SMP_RWLOCK_UNLOCK(lock)
288
292
#endif
289
293
290
-#ifdef __cplusplus
-}
-#endif
-
294
0 commit comments