Skip to content

gmacros: Provide platform-independent G_ALWAYS_INLINE and G_NO_INLINE

Marco Trevisan requested to merge 3v1n0/glib:inline-macros into main

Coming from gobject-introspection!236 (diffs)

We had gcc-only implementation for no-inline, so I've firstly added a gcc only version for G_GNUC_ALWAYS_INLINE (mostly for consistency, not sure if we want to skip the commit).

So, since we could create an independent version for them both, I've added also generic versions.

Edited by Marco Trevisan

Merge request reports