mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-24 02:47:52 +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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user