mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-30 13:53:30 +02:00
gmacros: Provide platform-independent G_ALWAYS_INLINE and G_NO_INLINE
We had gcc-only implementations for them while both can be used in all the supported platforms we have. So let's just provide generic definitions, while we keep the old ones for both consistency and retro-compatibility.
This commit is contained in:
@@ -516,6 +516,10 @@ G_CONST_RETURN
|
||||
G_NORETURN
|
||||
G_NORETURN_FUNCPTR
|
||||
|
||||
<SUBSECTION>
|
||||
G_ALWAYS_INLINE
|
||||
G_NO_INLINE
|
||||
|
||||
<SUBSECTION>
|
||||
G_N_ELEMENTS
|
||||
</SECTION>
|
||||
@@ -782,6 +786,7 @@ g_macro__has_attribute
|
||||
g_macro__has_builtin
|
||||
g_macro__has_feature
|
||||
g_macro__has_extension
|
||||
g_macro__has_attribute___always_inline__
|
||||
g_macro__has_attribute___alloc_size__
|
||||
g_macro__has_attribute___const__
|
||||
g_macro__has_attribute___deprecated__
|
||||
|
Reference in New Issue
Block a user