[gimp] libgimp: add annotations to gimp_pdb_run_procedure_array().
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimp: add annotations to gimp_pdb_run_procedure_array().
- Date: Tue, 6 Aug 2019 17:30:40 +0000 (UTC)
commit b20aab0236c4b0a53c0350fdb706bd68be4e2a7e
Author: Jehan <jehan girinstud io>
Date: Tue Aug 6 19:29:00 2019 +0200
libgimp: add annotations to gimp_pdb_run_procedure_array().
Especially as an example of setting a (rename-to) since variable
arguments are not introspectable, hence gimp_pdb_run_procedure() won't
be available for non-C plug-ins.
libgimp/gimppdb.c | 10 ++++++++++
1 file changed, 10 insertions(+)
---
diff --git a/libgimp/gimppdb.c b/libgimp/gimppdb.c
index cd5d90493f..d2ea0d5c19 100644
--- a/libgimp/gimppdb.c
+++ b/libgimp/gimppdb.c
@@ -235,6 +235,16 @@ gimp_pdb_run_procedure_valist (GimpPDB *pdb,
return return_values;
}
+/**
+ * gimp_pdb_run_procedure_array: (rename-to gimp_pdb_run_procedure)
+ * @pdb: the #GimpPDB object.
+ * @procedure_name: the procedure registered name.
+ * @arguments: the call arguments.
+ *
+ * Runs the procedure names @procedure_name with @arguments.
+ *
+ * Returns: (transfer full): the returned values for the procedure call.
+ */
GimpValueArray *
gimp_pdb_run_procedure_array (GimpPDB *pdb,
const gchar *procedure_name,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]