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




commit 3a197d7500f20894f6832645502270b20d1e446a
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

 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 f5ca6d8449..d2dea10ef0 100644
--- a/glib/glib-unix.c
+++ b/glib/glib-unix.c
@@ -72,7 +72,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]