[gimp] libgimp: add some annotations.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimp: add some annotations.
- Date: Wed, 31 Jul 2019 09:23:37 +0000 (UTC)
commit 32c6c2ae436dd9dc3fbc3a513fdde2655b2b548a
Author: Jehan <jehan girinstud io>
Date: Wed Jul 31 11:21:55 2019 +0200
libgimp: add some annotations.
Annotations reverted by commit 0a02855a59 were not all in PDB files.
Bring back the non-PDB annotations part.
libgimp/gimplegacy.c | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/libgimp/gimplegacy.c b/libgimp/gimplegacy.c
index 5fa6dae17f..00e20d3d47 100644
--- a/libgimp/gimplegacy.c
+++ b/libgimp/gimplegacy.c
@@ -348,9 +348,12 @@ gimp_install_procedure (const gchar *name,
* @type: the type of the procedure.
* @n_params: the number of parameters the procedure takes.
* @n_return_vals: the number of return values the procedure returns.
- * @params: the procedure's parameters.
- * @return_vals: the procedure's return values.
- * @run_proc: the function to call for executing the procedure.
+ * @params: (array length=n_params):
+ * the procedure's parameters.
+ * @return_vals: (array length=n_return_vals):
+ * the procedure's return values.
+ * @run_proc: (closure) (scope async):
+ * the function to call for executing the procedure.
*
* Installs a new temporary procedure with the PDB (procedural database).
*
@@ -441,7 +444,7 @@ gimp_uninstall_temp_proc (const gchar *name)
}
/**
- * gimp_run_procedure:
+ * gimp_run_procedure: (skip)
* @name: the name of the procedure to run
* @n_return_vals: return location for the number of return values
* @...: list of procedure parameters
@@ -644,7 +647,7 @@ gimp_run_procedure (const gchar *name,
}
/**
- * gimp_run_procedure2:
+ * gimp_run_procedure2: (rename-to gimp_run_procedure)
* @name: the name of the procedure to run
* @n_return_vals: return location for the number of return values
* @n_params: the number of parameters the procedure takes.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]