[glib/glib-2-34] Add array length annotation to GSignalQuery param_types field
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-34] Add array length annotation to GSignalQuery param_types field
- Date: Sun, 4 Nov 2012 12:52:29 +0000 (UTC)
commit 8ffa4b63383e3aaa1eaa992c9589e6bca43ff691
Author: Simon Feltman <sfeltman src gnome org>
Date: Sat Nov 3 18:59:25 2012 -0700
Add array length annotation to GSignalQuery param_types field
https://bugzilla.gnome.org/show_bug.cgi?id=687541
gobject/gsignal.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gobject/gsignal.h b/gobject/gsignal.h
index 966b6c7..fbf1c19 100644
--- a/gobject/gsignal.h
+++ b/gobject/gsignal.h
@@ -238,8 +238,8 @@ struct _GSignalInvocationHint
* @signal_flags: The signal flags as passed in to g_signal_new().
* @return_type: The return type for user callbacks.
* @n_params: The number of parameters that user callbacks take.
- * @param_types: The individual parameter types for user callbacks, note that the
- * effective callback signature is:
+ * @param_types: (array length=n_params): The individual parameter types for
+ * user callbacks, note that the effective callback signature is:
* <programlisting>
* @return_type callback (#gpointer data1,
* [param_types param_names,]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]