[gnome-builder/gnome-builder-3-18] rg: Add necessary GI annotations
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-18] rg: Add necessary GI annotations
- Date: Tue, 13 Oct 2015 07:37:33 +0000 (UTC)
commit 312c100d7a21052be1bc6be1c61d848ceea62521
Author: Patrick Griffis <tingping tingping se>
Date: Wed Oct 7 16:54:17 2015 -0400
rg: Add necessary GI annotations
contrib/rg/rg-ring.c | 2 +-
contrib/rg/rg-table.c | 6 ++++++
2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/contrib/rg/rg-ring.c b/contrib/rg/rg-ring.c
index feb5577..0e4662b 100644
--- a/contrib/rg/rg-ring.c
+++ b/contrib/rg/rg-ring.c
@@ -115,7 +115,7 @@ rg_ring_append_vals (RgRing *ring,
/**
* rg_ring_foreach:
* @ring: (in): A #RgRing.
- * @func: (in): A #GFunc to call for each element.
+ * @func: (in) (scope call): A #GFunc to call for each element.
* @user_data: (in): user data for @func.
*
* Calls @func for every item in the #RgRing starting from the most recently
diff --git a/contrib/rg/rg-table.c b/contrib/rg/rg-table.c
index 775f632..20dc281 100644
--- a/contrib/rg/rg-table.c
+++ b/contrib/rg/rg-table.c
@@ -175,6 +175,12 @@ rg_table_set_max_samples (RgTable *self,
g_object_notify_by_pspec (G_OBJECT (self), gParamSpecs [PROP_MAX_SAMPLES]);
}
+/**
+ * rg_table_push:
+ * @self: Table to push to
+ * @iter: (out): Newly created #RgTableIter
+ * @timestamp: Time of new event
+ */
void
rg_table_push (RgTable *self,
RgTableIter *iter,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]