Download moonloader/lib/libtcc/include/stdatomic.h from nttl050611/GTASA: direct link, hf CLI and curl.
- Browser
- Download file 7.61 kB
-
https://huggingface.co/datasets/nttl050611/GTASA/resolve/main/moonloader/lib/libtcc/include/stdatomic.h
- Command line
-
hf download hf://datasets/nttl050611/GTASA/moonloader/lib/libtcc/include/stdatomic.h
-
curl -L -o stdatomic.h https://huggingface.co/datasets/nttl050611/GTASA/resolve/main/moonloader/lib/libtcc/include/stdatomic.h
7.61 kB
| /* This file is derived from clang's stdatomic.h */ | |
| /*===---- stdatomic.h - Standard header for atomic types and operations -----=== | |
| * | |
| * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | |
| * See https://llvm.org/LICENSE.txt for license information. | |
| * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | |
| * | |
| *===-----------------------------------------------------------------------=== | |
| */ | |
| /* Memory ordering */ | |
| typedef enum { | |
| memory_order_relaxed = __ATOMIC_RELAXED, | |
| memory_order_consume = __ATOMIC_CONSUME, | |
| memory_order_acquire = __ATOMIC_ACQUIRE, | |
| memory_order_release = __ATOMIC_RELEASE, | |
| memory_order_acq_rel = __ATOMIC_ACQ_REL, | |
| memory_order_seq_cst = __ATOMIC_SEQ_CST, | |
| } memory_order; | |
| /* Atomic typedefs */ | |
| typedef _Atomic(_Bool) atomic_bool; | |
| typedef _Atomic(char) atomic_char; | |
| typedef _Atomic(signed char) atomic_schar; | |
| typedef _Atomic(unsigned char) atomic_uchar; | |
| typedef _Atomic(short) atomic_short; | |
| typedef _Atomic(unsigned short) atomic_ushort; | |
| typedef _Atomic(int) atomic_int; | |
| typedef _Atomic(unsigned int) atomic_uint; | |
| typedef _Atomic(long) atomic_long; | |
| typedef _Atomic(unsigned long) atomic_ulong; | |
| typedef _Atomic(long long) atomic_llong; | |
| typedef _Atomic(unsigned long long) atomic_ullong; | |
| typedef _Atomic(uint_least16_t) atomic_char16_t; | |
| typedef _Atomic(uint_least32_t) atomic_char32_t; | |
| typedef _Atomic(wchar_t) atomic_wchar_t; | |
| typedef _Atomic(int_least8_t) atomic_int_least8_t; | |
| typedef _Atomic(uint_least8_t) atomic_uint_least8_t; | |
| typedef _Atomic(int_least16_t) atomic_int_least16_t; | |
| typedef _Atomic(uint_least16_t) atomic_uint_least16_t; | |
| typedef _Atomic(int_least32_t) atomic_int_least32_t; | |
| typedef _Atomic(uint_least32_t) atomic_uint_least32_t; | |
| typedef _Atomic(int_least64_t) atomic_int_least64_t; | |
| typedef _Atomic(uint_least64_t) atomic_uint_least64_t; | |
| typedef _Atomic(int_fast8_t) atomic_int_fast8_t; | |
| typedef _Atomic(uint_fast8_t) atomic_uint_fast8_t; | |
| typedef _Atomic(int_fast16_t) atomic_int_fast16_t; | |
| typedef _Atomic(uint_fast16_t) atomic_uint_fast16_t; | |
| typedef _Atomic(int_fast32_t) atomic_int_fast32_t; | |
| typedef _Atomic(uint_fast32_t) atomic_uint_fast32_t; | |
| typedef _Atomic(int_fast64_t) atomic_int_fast64_t; | |
| typedef _Atomic(uint_fast64_t) atomic_uint_fast64_t; | |
| typedef _Atomic(intptr_t) atomic_intptr_t; | |
| typedef _Atomic(uintptr_t) atomic_uintptr_t; | |
| typedef _Atomic(size_t) atomic_size_t; | |
| typedef _Atomic(ptrdiff_t) atomic_ptrdiff_t; | |
| typedef _Atomic(intmax_t) atomic_intmax_t; | |
| typedef _Atomic(uintmax_t) atomic_uintmax_t; | |
| /* Atomic flag */ | |
| typedef struct { | |
| atomic_bool value; | |
| } atomic_flag; | |
| /* Generic routines */ | |
| extern void atomic_thread_fence (memory_order); | |
| extern void __atomic_thread_fence (memory_order); | |
| extern void atomic_signal_fence (memory_order); | |
| extern void __atomic_signal_fence (memory_order); | |
| extern bool __atomic_is_lock_free(size_t size, void *ptr); | |
| extern bool __atomic_test_and_set (void *, memory_order); | |
| extern void __atomic_clear (bool *, memory_order); | |