summaryrefslogtreecommitdiff
path: root/gir/glib-2.0.c
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2013-11-07 17:01:51 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2013-11-07 17:01:51 +0100
commit96973b649ec973e8df3c8480c9d479f877314732 (patch)
tree71f1078d6cc71b2a4f1c129e06cf6d0d78830dfe /gir/glib-2.0.c
parent6838e9313ad70781ac1316a05babbbf724ecfccc (diff)
downloadgobject-introspection-96973b649ec973e8df3c8480c9d479f877314732.tar.gz
Update glib annotations from git master
Diffstat (limited to 'gir/glib-2.0.c')
-rw-r--r--gir/glib-2.0.c19
1 files changed, 13 insertions, 6 deletions
diff --git a/gir/glib-2.0.c b/gir/glib-2.0.c
index f0af98da..69981bdf 100644
--- a/gir/glib-2.0.c
+++ b/gir/glib-2.0.c
@@ -12982,7 +12982,7 @@
* @days: the number of days
*
* Creates a copy of @datetime and adds the specified number of days to the
- * copy.
+ * copy. Add negative values to subtract days.
*
* Returns: the newly created #GDateTime which should be freed with
* g_date_time_unref().
@@ -13001,7 +13001,7 @@
* @seconds: the number of seconds to add
*
* Creates a new #GDateTime adding the specified values to the current date and
- * time in @datetime.
+ * time in @datetime. Add negative values to subtract.
*
* Returns: the newly created #GDateTime that should be freed with
* g_date_time_unref().
@@ -13014,7 +13014,8 @@
* @datetime: a #GDateTime
* @hours: the number of hours to add
*
- * Creates a copy of @datetime and adds the specified number of hours
+ * Creates a copy of @datetime and adds the specified number of hours.
+ * Add negative values to subtract hours.
*
* Returns: the newly created #GDateTime which should be freed with
* g_date_time_unref().
@@ -13028,6 +13029,7 @@
* @minutes: the number of minutes to add
*
* Creates a copy of @datetime adding the specified number of minutes.
+ * Add negative values to subtract minutes.
*
* Returns: the newly created #GDateTime which should be freed with
* g_date_time_unref().
@@ -13041,7 +13043,7 @@
* @months: the number of months
*
* Creates a copy of @datetime and adds the specified number of months to the
- * copy.
+ * copy. Add negative values to subtract months.
*
* Returns: the newly created #GDateTime which should be freed with
* g_date_time_unref().
@@ -13055,6 +13057,7 @@
* @seconds: the number of seconds to add
*
* Creates a copy of @datetime and adds the specified number of seconds.
+ * Add negative values to subtract seconds.
*
* Returns: the newly created #GDateTime which should be freed with
* g_date_time_unref().
@@ -13068,7 +13071,7 @@
* @weeks: the number of weeks
*
* Creates a copy of @datetime and adds the specified number of weeks to the
- * copy.
+ * copy. Add negative values to subtract weeks.
*
* Returns: the newly created #GDateTime which should be freed with
* g_date_time_unref().
@@ -13082,7 +13085,7 @@
* @years: the number of years
*
* Creates a copy of @datetime and adds the specified number of years to the
- * copy.
+ * copy. Add negative values to subtract years.
*
* Returns: the newly created #GDateTime which should be freed with
* g_date_time_unref().
@@ -22309,6 +22312,10 @@
*
* Returns the pointer at the given index of the pointer array.
*
+ * <note><para>
+ * This does not perform bounds checking on the given @index_, so you are
+ * responsible for checking it against the array length.</para></note>
+ *
* Returns: the pointer at the given index.
*/