summaryrefslogtreecommitdiff
path: root/glib/gmacros.h
Commit message (Expand)AuthorAgeFilesLines
* gmacros: Do not redefine NULL on C++Marco Trevisan (Treviño)2023-04-191-3/+0
* Make clang++ happier when using G_STATIC_ASSERTAlbert Astals Cid2023-04-011-4/+4
* gmacros: Add GCC < 5 fallback for __always_inline__Alessandro Bono2023-03-091-0/+1
* gmacros: Sort alphabeticallyAlessandro Bono2023-03-091-8/+8
* gmacros.h: Fix C++ macros for Visual StudioChun-wei Fan2023-02-221-3/+3
* gmacros: Use C++ namespaces attribute specifier sequences for msvcMarco Trevisan (Treviño)2022-11-241-2/+16
* gmacros: Use G_C_STD_CHECK_VERSION to define C-std dependent itemsMarco Trevisan (Treviño)2022-11-221-13/+12
* macros: Add a generic way to get and check the supported C standardMarco Trevisan (Treviño)2022-11-221-0/+18
* gmacros: Prioritize the usage of [[noreturn]] in C++11Marco Trevisan (Treviño)2022-11-221-4/+4
* glib: Use G_CXX_STD_VERSION to check how to behave with C++ compilersMarco Trevisan (Treviño)2022-11-221-28/+23
* gmacros: Define G_CXX_STD_VERSION and check macrosMarco Trevisan (Treviño)2022-11-211-0/+25
* macros: generate uniq variable name in _G_BOOLEAN_EXPR()/G_LIKELY()Thomas Haller2022-11-041-5/+6
* glib/gmacros: Always define NULL as nullptr in C++11 and newerMarco Trevisan (Treviño)2022-10-311-1/+8
* gstdio: Add g_clear_fd() and g_autofdSimon McVittie2022-10-261-1/+1
* Fix symbol visibility macros on WindowsXavier Claessens2022-10-131-16/+0
* Simplify G_HAVE_GNUC_VISIBILITY definitionXavier Claessens2022-10-131-0/+4
* cleanup: Replace G_GNUC_NO_INLINE with G_NO_INLINEMarco Trevisan (Treviño)2022-07-061-7/+4
* gmacros: Provide platform-independent G_ALWAYS_INLINE and G_NO_INLINEMarco Trevisan (Treviño)2022-07-061-0/+99
* glib: Add SPDX license headers automaticallyPhilip Withnall2022-05-181-0/+2
* Better detection of the cleanup attribute.Alvarito0505062021-11-161-1/+2
* Fix false deprecation warnings on old GCC/MSVCEvan Miller2021-09-071-2/+12
* glib_typeof: Move definition to its own headerXavier Claessens2021-05-171-22/+0
* gmacros.h: G_NORETURN: remove useless checksAleksandr Mezin2021-05-111-2/+2
* gmacros: Add __ to noinline to prevent conflict with macro in pixmanRobin Verdenal-Tallieux2021-05-031-3/+3
* gmacros: missing check if __STDC_VERSION__ is definedIgnacio Casal Quinteiro2021-04-271-1/+1
* gmacros: check that __cplusplus or _MSC_VER is definedIgnacio Casal Quinteiro2021-04-231-2/+2
* gmacros.h: raise minimum GCC version for attribute __noreturn__Aleksandr Mezin2021-04-161-3/+3
* gmacros.h: use g_macro__has_attribute() where possibleAleksandr Mezin2021-04-161-33/+94
* Implement G_ANALYZER_NORETURN for Coveritymcatanzaro/coverity-noreturnMichael Catanzaro2021-04-081-0/+3
* gmacros.h: Fix stringification in some macrosGaël Bonithon2021-04-081-2/+4
* gmacros.h: Complete the use of GLIB_AVAILABLE_MACRO_IN_*Gaël Bonithon2021-04-081-10/+25
* gmacros.h: use G_GNUC_CHECK_VERSIONAleksandr Mezin2021-04-071-25/+23
* gmacros.h: Improve check for C _Static_assertChun-wei Fan2021-03-301-1/+8
* gmacros.h: Use _Static_assert for clangChun-wei Fan2021-03-301-1/+1
* glib/gmacros.h: Move `<type_traits>` include to consumersIain Lane2021-02-251-1/+6
* glib_typeof: It is an API break that should be opt-inXavier Claessens2021-01-271-0/+1
* Use C++11 decltype where possibleXavier Claessens2021-01-271-0/+4
* gmacros: Document soft-deprecation of G_GNUC_NORETURNPhilip Withnall2020-11-251-0/+6
* Adding macros G_NORETURN and G_NORETURN_FUNCPTREmmanuel Fleury2020-11-251-0/+70
* gmacros: Use __typeof__ when compiling with ClangPhilip Withnall2020-10-231-1/+3
* Revert "Use C++11 decltype where possible"Philip Withnall2020-10-211-4/+0
* Use C++11 decltype where possibleXavier Claessens2020-10-141-0/+4
* Replace __typeof__ with glib_typeof macroXavier Claessens2020-10-141-2/+2
* tree: Fix various typos and outdated terminologyPhilip Withnall2020-06-121-1/+1
* gmacros: Add missing GLIB_UNAVAILABLE_STATIC_INLINE declarationPhilip Withnall2020-05-151-0/+1
* Revert "Revert "glib: annotate static inline functions with G_AVAILABLE-type ...Philip Withnall2020-05-151-0/+1
* Revert "glib: annotate static inline functions with G_AVAILABLE-type macros"Michael Catanzaro2020-05-121-1/+0
* glib: annotate static inline functions with G_AVAILABLE-type macrosSimon Marchi2020-05-121-0/+1
* gmacros.h: avoid using _Static_assert in C++17 modeAlexander Pyhalov2020-03-171-1/+1
* macros: Define G_GNUC_FALLTHROUGH for more compilersTimm Bäder2020-02-281-1/+3