mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 07:26:15 +01:00
girepository: Make _blob_is_registered_type static inline
This follows the usage in the glib codebase and recommendations at main/docs/toolchain-requirements.md It also fixes a build warning with ancient gcc 4.8: ../girepository/gitypelib-internal.h:202:1: warning: no previous prototype for ‘_blob_is_registered_type’ [-Wmissing-prototypes]
This commit is contained in:
parent
84b6f747cb
commit
190f9249cd
@ -198,7 +198,7 @@ typedef enum {
|
||||
#if defined (G_CAN_INLINE) && defined (G_ALWAYS_INLINE)
|
||||
|
||||
G_ALWAYS_INLINE
|
||||
inline gboolean
|
||||
static inline gboolean
|
||||
_blob_is_registered_type (GITypelibBlobType blob_type)
|
||||
{
|
||||
switch (blob_type)
|
||||
|
Loading…
Reference in New Issue
Block a user