diff --git a/glib/glib-unix.h b/glib/glib-unix.h index bccbea578..d45518276 100644 --- a/glib/glib-unix.h +++ b/glib/glib-unix.h @@ -184,6 +184,11 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS * Since: 2.80 */ GLIB_AVAILABLE_STATIC_INLINE_IN_2_80 +static inline gboolean g_unix_pipe_open (GUnixPipe *self, + int flags, + GError **error); + +GLIB_AVAILABLE_STATIC_INLINE_IN_2_80 static inline gboolean g_unix_pipe_open (GUnixPipe *self, int flags, @@ -212,6 +217,10 @@ g_unix_pipe_open (GUnixPipe *self, * Since: 2.80 */ GLIB_AVAILABLE_STATIC_INLINE_IN_2_80 +static inline int g_unix_pipe_get (GUnixPipe *self, + GUnixPipeEnd end); + +GLIB_AVAILABLE_STATIC_INLINE_IN_2_80 static inline int g_unix_pipe_get (GUnixPipe *self, GUnixPipeEnd end) @@ -241,6 +250,10 @@ g_unix_pipe_get (GUnixPipe *self, * Since: 2.80 */ GLIB_AVAILABLE_STATIC_INLINE_IN_2_80 +static inline int g_unix_pipe_steal (GUnixPipe *self, + GUnixPipeEnd end); + +GLIB_AVAILABLE_STATIC_INLINE_IN_2_80 static inline int g_unix_pipe_steal (GUnixPipe *self, GUnixPipeEnd end) @@ -276,6 +289,11 @@ g_unix_pipe_steal (GUnixPipe *self, * Since: 2.80 */ GLIB_AVAILABLE_STATIC_INLINE_IN_2_80 +static inline gboolean g_unix_pipe_close (GUnixPipe *self, + GUnixPipeEnd end, + GError **error); + +GLIB_AVAILABLE_STATIC_INLINE_IN_2_80 static inline gboolean g_unix_pipe_close (GUnixPipe *self, GUnixPipeEnd end, @@ -304,6 +322,9 @@ g_unix_pipe_close (GUnixPipe *self, * * Since: 2.80 */ +GLIB_AVAILABLE_STATIC_INLINE_IN_2_80 +static inline void g_unix_pipe_clear (GUnixPipe *self); + GLIB_AVAILABLE_STATIC_INLINE_IN_2_80 static inline void g_unix_pipe_clear (GUnixPipe *self) diff --git a/glib/gmain.h b/glib/gmain.h index cbc147b47..94a33fc3c 100644 --- a/glib/gmain.h +++ b/glib/gmain.h @@ -634,6 +634,9 @@ typedef void GMainContextPusher GLIB_AVAILABLE_TYPE_IN_2_64; * Since: 2.64 */ G_GNUC_BEGIN_IGNORE_DEPRECATIONS +GLIB_AVAILABLE_STATIC_INLINE_IN_2_64 +static inline GMainContextPusher *g_main_context_pusher_new (GMainContext *main_context); + GLIB_AVAILABLE_STATIC_INLINE_IN_2_64 static inline GMainContextPusher * g_main_context_pusher_new (GMainContext *main_context) @@ -656,6 +659,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS * Since: 2.64 */ G_GNUC_BEGIN_IGNORE_DEPRECATIONS +GLIB_AVAILABLE_STATIC_INLINE_IN_2_64 +static inline void g_main_context_pusher_free (GMainContextPusher *pusher); + GLIB_AVAILABLE_STATIC_INLINE_IN_2_64 static inline void g_main_context_pusher_free (GMainContextPusher *pusher) @@ -899,6 +905,9 @@ void g_clear_handle_id (guint *tag_ptr, * * Since: 2.84 */ +GLIB_AVAILABLE_STATIC_INLINE_IN_2_84 +static inline unsigned int g_steal_handle_id (unsigned int *handle_pointer); + GLIB_AVAILABLE_STATIC_INLINE_IN_2_84 static inline unsigned int g_steal_handle_id (unsigned int *handle_pointer) @@ -975,6 +984,9 @@ void g_main_context_invoke (GMainContext *context, GSourceFunc function, gpointer data); +GLIB_AVAILABLE_STATIC_INLINE_IN_2_70 +static inline int g_steal_fd (int *fd_ptr); + GLIB_AVAILABLE_STATIC_INLINE_IN_2_70 static inline int g_steal_fd (int *fd_ptr) diff --git a/glib/gmem.h b/glib/gmem.h index 9f3d42733..cfdf44bb5 100644 --- a/glib/gmem.h +++ b/glib/gmem.h @@ -229,6 +229,9 @@ void g_aligned_free_sized (gpointer mem, * * Since: 2.44 */ +GLIB_AVAILABLE_STATIC_INLINE_IN_2_44 +static inline gpointer g_steal_pointer (gpointer pp); + GLIB_AVAILABLE_STATIC_INLINE_IN_2_44 static inline gpointer g_steal_pointer (gpointer pp) diff --git a/glib/gstdio.h b/glib/gstdio.h index 42c177b2a..adc300289 100644 --- a/glib/gstdio.h +++ b/glib/gstdio.h @@ -179,6 +179,10 @@ GLIB_AVAILABLE_IN_2_36 gboolean g_close (gint fd, GError **error); +GLIB_AVAILABLE_STATIC_INLINE_IN_2_76 +static inline gboolean g_clear_fd (int *fd_ptr, + GError **error); + GLIB_AVAILABLE_STATIC_INLINE_IN_2_76 static inline gboolean g_clear_fd (int *fd_ptr, diff --git a/glib/gstrfuncs.h b/glib/gstrfuncs.h index 838ceb9fe..102aa38b0 100644 --- a/glib/gstrfuncs.h +++ b/glib/gstrfuncs.h @@ -476,6 +476,10 @@ gboolean g_ascii_string_to_unsigned (const gchar *str, * Since: 2.76 */ GLIB_AVAILABLE_STATIC_INLINE_IN_2_76 +static inline gboolean g_set_str (char **str_pointer, + const char *new_str); + +GLIB_AVAILABLE_STATIC_INLINE_IN_2_76 static inline gboolean g_set_str (char **str_pointer, const char *new_str)