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.
This commit is contained in:
Jehan 2019-08-06 19:29:00 +02:00
parent d6d987ebac
commit b20aab0236
1 changed files with 10 additions and 0 deletions

View File

@ -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,