[glib/glib-2-72: 6/39] glib-unix: Mark GLib.unix_open_pipe fds input array as fixed-size




commit 679a624600984d99bba5497d84d29b8412337f03
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Wed Jun 15 21:46:51 2022 +0200

    glib-unix: Mark GLib.unix_open_pipe fds input array as fixed-size
    
    (cherry-picked from commit 3a197d7500f20894f6832645502270b20d1e446a)

 glib/glib-unix.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/glib-unix.c b/glib/glib-unix.c
index fd799eaf77..958a9f1f5b 100644
--- a/glib/glib-unix.c
+++ b/glib/glib-unix.c
@@ -70,7 +70,7 @@ g_unix_set_error_from_errno (GError **error,
 
 /**
  * g_unix_open_pipe:
- * @fds: Array of two integers
+ * @fds: (array fixed-size=2): Array of two integers
  * @flags: Bitfield of file descriptor flags, as for fcntl()
  * @error: a #GError
  *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]