[gobject-introspection] gir: Update annotations from GLib git master



commit e2f5c88d2d0379be30cb908c233d280ed9c6f43d
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Mar 5 19:55:19 2017 +0100

    gir: Update annotations from GLib git master

 gir/gio-2.0.c  |    3 +++
 gir/glib-2.0.c |    7 +++++--
 2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/gir/gio-2.0.c b/gir/gio-2.0.c
index 10a2f67..56651de 100644
--- a/gir/gio-2.0.c
+++ b/gir/gio-2.0.c
@@ -37832,6 +37832,9 @@
  * As an alternative, you can use g_subprocess_launcher_setenv(),
  * g_subprocess_launcher_unsetenv(), etc.
  *
+ * Pass %NULL to inherit the parent  process' environment. Pass an
+ * empty array to set an empty environment.
+ *
  * On UNIX, all strings in this array can be arbitrary byte strings.
  * On Windows, they should be in UTF-8.
  *
diff --git a/gir/glib-2.0.c b/gir/glib-2.0.c
index 9a35f49..c900020 100644
--- a/gir/glib-2.0.c
+++ b/gir/glib-2.0.c
@@ -6638,7 +6638,7 @@
  * Both the key and data are arbitrary byte arrays of bytes or characters.
  *
  * Support for HMAC Digests has been added in GLib 2.30, and support for SHA-512
- * in GLib 2.42.
+ * in GLib 2.42. Support for SHA-384 was added in GLib 2.52.
  */
 
 
@@ -16560,6 +16560,7 @@
  * on it anymore.
  *
  * Support for digests of type %G_CHECKSUM_SHA512 has been added in GLib 2.42.
+ * Support for %G_CHECKSUM_SHA384 was added in GLib 2.52.
  *
  * Returns: the newly created #GHmac, or %NULL.
  *   Use g_hmac_unref() to free the memory allocated by it.
@@ -30121,7 +30122,7 @@
  *
  * This function enqueus a callback @destroy_func to be executed
  * during the next test case teardown phase. This is most useful
- * to auto destruct allocted test resources at the end of a test run.
+ * to auto destruct allocated test resources at the end of a test run.
  * Resources are released in reverse queue order, that means enqueueing
  * callback A before callback B will cause B() to be called before
  * A() during teardown.
@@ -33243,6 +33244,8 @@
 /**
  * g_utf8_make_valid:
  * @str: string to coerce into UTF-8
+ * @len: the maximum length of @str to use, in bytes. If @len < 0,
+ *     then the string is nul-terminated.
  *
  * If the provided string is valid UTF-8, return a copy of it. If not,
  * return a copy in which bytes that could not be interpreted as valid Unicode


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