[glib: 1/2] Add `(array length)` annotation to `g_tls_certificate_new_from_pkcs12()`




commit 1979bfed4b75bf002826ebdb969b49a4f04ea3f0
Author: Sebastian Dröge <sebastian centricular com>
Date:   Tue Jan 25 12:39:18 2022 +0200

    Add `(array length)` annotation to `g_tls_certificate_new_from_pkcs12()`

 gio/gtlscertificate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/gtlscertificate.c b/gio/gtlscertificate.c
index 9181756e7..d0a326b27 100644
--- a/gio/gtlscertificate.c
+++ b/gio/gtlscertificate.c
@@ -732,7 +732,7 @@ g_tls_certificate_new_from_pem  (const gchar  *data,
 
 /**
  * g_tls_certificate_new_from_pkcs12:
- * @data: DER-encoded PKCS #12 format certificate data
+ * @data: (array length=length): DER-encoded PKCS #12 format certificate data
  * @length: the length of @data
  * @password: (nullable): optional password for encrypted certificate data
  * @error: #GError for error reporting, or %NULL to ignore.


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