[gobject-introspection] Update glib annotations from git master
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Update glib annotations from git master
- Date: Mon, 14 Sep 2015 11:17:31 +0000 (UTC)
commit ca5bcd6132368e2067e8d8c32b3942d9704cacf7
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Sep 14 13:17:08 2015 +0200
Update glib annotations from git master
gir/glib-2.0.c | 10 ++++++----
gir/gobject-2.0.c | 17 ++++++++++++++---
2 files changed, 20 insertions(+), 7 deletions(-)
---
diff --git a/gir/glib-2.0.c b/gir/glib-2.0.c
index 420ef23..0954815 100644
--- a/gir/glib-2.0.c
+++ b/gir/glib-2.0.c
@@ -27753,13 +27753,15 @@
* @errnum: the system error number. See the standard C %errno
* documentation
*
- * Returns a string corresponding to the given error code, e.g.
- * "no such process". You should use this function in preference to
- * strerror(), because it returns a string in UTF-8 encoding, and since
- * not all platforms support the strerror() function.
+ * Returns a string corresponding to the given error code, e.g. "no
+ * such process". Unlike strerror(), this always returns a string in
+ * UTF-8 encoding, and the pointer is guaranteed to remain valid for
+ * the lifetime of the process.
*
* Note that the string may be translated according to the current locale.
*
+ * The value of %errno will not be changed by this function.
+ *
* Returns: a UTF-8 string describing the error code. If the error code
* is unknown, it returns a string like "unknown error (<code>)".
*/
diff --git a/gir/gobject-2.0.c b/gir/gobject-2.0.c
index 217b81d..9302fa6 100644
--- a/gir/gobject-2.0.c
+++ b/gir/gobject-2.0.c
@@ -3534,11 +3534,11 @@
/**
* g_param_spec_get_default_value:
- * @param: a #GParamSpec
+ * @pspec: a #GParamSpec
*
- * Gets the default value of @param as a pointer to a #GValue.
+ * Gets the default value of @pspec as a pointer to a #GValue.
*
- * The #GValue will remain value for the life of @param.
+ * The #GValue will remain value for the life of @pspec.
*
* Returns: a pointer to a #GValue which must not be modified
* Since: 2.38
@@ -3559,6 +3559,17 @@
/**
+ * g_param_spec_get_name_quark:
+ * @param: a #GParamSpec
+ *
+ * Gets the GQuark for the name.
+ *
+ * Returns: the GQuark for @pspec->name.
+ * Since: 2.46
+ */
+
+
+/**
* g_param_spec_get_nick:
* @pspec: a valid #GParamSpec
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]