mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-23 13:32:17 +02:00
glib: Add declarations for public static inline methods
This is needed in order to expose them in the GIR, and hence for their documentation to work. See https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4308#note_2236525 Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user