From 14679d392d8b058e1df43877cc03410b2ae742b7 Mon Sep 17 00:00:00 2001 From: Alistair Thomas Date: Sat, 30 Sep 2017 22:45:43 +0100 Subject: [PATCH] Update GObject introspection annotations for libvips/histogram directory --- configure.ac | 1 + libvips/histogram/hist_cum.c | 4 ++-- libvips/histogram/hist_entropy.c | 4 ++-- libvips/histogram/hist_equal.c | 4 ++-- libvips/histogram/hist_ismonotonic.c | 4 ++-- libvips/histogram/hist_local.c | 4 ++-- libvips/histogram/hist_match.c | 4 ++-- libvips/histogram/hist_norm.c | 4 ++-- libvips/histogram/hist_plot.c | 4 ++-- libvips/histogram/maplut.c | 4 ++-- libvips/histogram/percent.c | 4 ++-- libvips/histogram/stdif.c | 4 ++-- 12 files changed, 23 insertions(+), 22 deletions(-) diff --git a/configure.ac b/configure.ac index e05cd3d3..40969d38 100644 --- a/configure.ac +++ b/configure.ac @@ -103,6 +103,7 @@ headers="\ foreign.h \ interpolate.h \ header.h \ + histogram.h \ operation.h \ enumtypes.h \ conversion.h \ diff --git a/libvips/histogram/hist_cum.c b/libvips/histogram/hist_cum.c index 57a6cfd2..4f6d7dbe 100644 --- a/libvips/histogram/hist_cum.c +++ b/libvips/histogram/hist_cum.c @@ -157,9 +157,9 @@ vips_hist_cum_init( VipsHistCum *hist_cum ) } /** - * vips_hist_cum: + * vips_hist_cum: (method) * @in: input image - * @out: output image + * @out: (out): output image * @...: %NULL-terminated list of optional named arguments * * Form cumulative histogram. diff --git a/libvips/histogram/hist_entropy.c b/libvips/histogram/hist_entropy.c index 582f20a4..373975a2 100644 --- a/libvips/histogram/hist_entropy.c +++ b/libvips/histogram/hist_entropy.c @@ -130,9 +130,9 @@ vips_hist_entropy_init( VipsHistEntropy *entropy ) } /** - * vips_hist_entropy: + * vips_hist_entropy: (method) * @in: input histogram - * @out: image entropy + * @out: (out): image entropy * @...: %NULL-terminated list of optional named arguments * * Estimate image entropy from a histogram. Entropy is calculated as: diff --git a/libvips/histogram/hist_equal.c b/libvips/histogram/hist_equal.c index 159ec543..8cb6dd17 100644 --- a/libvips/histogram/hist_equal.c +++ b/libvips/histogram/hist_equal.c @@ -137,9 +137,9 @@ vips_hist_equal_init( VipsHistEqual *equal ) } /** - * vips_hist_equal: + * vips_hist_equal: (method) * @in: input image - * @out: output image + * @out: (out): output image * @...: %NULL-terminated list of optional named arguments * * Optional arguments: diff --git a/libvips/histogram/hist_ismonotonic.c b/libvips/histogram/hist_ismonotonic.c index 9a4b6986..24d85c4c 100644 --- a/libvips/histogram/hist_ismonotonic.c +++ b/libvips/histogram/hist_ismonotonic.c @@ -136,9 +136,9 @@ vips_hist_ismonotonic_init( VipsHistIsmonotonic *ismonotonic ) } /** - * vips_hist_ismonotonic: + * vips_hist_ismonotonic: (method) * @in: lookup-table to test - * @out: set non-zero if @in is monotonic + * @out: (out): set non-zero if @in is monotonic * @...: %NULL-terminated list of optional named arguments * * Test @in for monotonicity. @out is set non-zero if @in is monotonic. diff --git a/libvips/histogram/hist_local.c b/libvips/histogram/hist_local.c index 9d0d36b6..9022ef4e 100644 --- a/libvips/histogram/hist_local.c +++ b/libvips/histogram/hist_local.c @@ -395,9 +395,9 @@ vips_hist_local_init( VipsHistLocal *local ) } /** - * vips_hist_local: + * vips_hist_local: (method) * @in: input image - * @out: output image + * @out: (out): output image * @width: width of region * @height: height of region * @...: %NULL-terminated list of optional named arguments diff --git a/libvips/histogram/hist_match.c b/libvips/histogram/hist_match.c index 8f196385..b952d101 100644 --- a/libvips/histogram/hist_match.c +++ b/libvips/histogram/hist_match.c @@ -177,10 +177,10 @@ vips_hist_match_init( VipsHistMatch *match ) } /** - * vips_hist_match: + * vips_hist_match: (method) * @in: input histogram * @ref: reference histogram - * @out: output histogram + * @out: (out): output histogram * @...: %NULL-terminated list of optional named arguments * * Adjust @in to match @ref. If @in and @ref are normalised diff --git a/libvips/histogram/hist_norm.c b/libvips/histogram/hist_norm.c index 3baf5c64..b4de016d 100644 --- a/libvips/histogram/hist_norm.c +++ b/libvips/histogram/hist_norm.c @@ -156,9 +156,9 @@ vips_hist_norm_init( VipsHistNorm *hist_norm ) } /** - * vips_hist_norm: + * vips_hist_norm: (method) * @in: input image - * @out: output image + * @out: (out): output image * @...: %NULL-terminated list of optional named arguments * * Normalise histogram ... normalise range to make it square (ie. max == diff --git a/libvips/histogram/hist_plot.c b/libvips/histogram/hist_plot.c index 41af74bb..033379b5 100644 --- a/libvips/histogram/hist_plot.c +++ b/libvips/histogram/hist_plot.c @@ -357,9 +357,9 @@ vips_hist_plot_init( VipsHistPlot *hist_plot ) } /** - * vips_hist_plot: + * vips_hist_plot: (method) * @in: input image - * @out: output image + * @out: (out): output image * @...: %NULL-terminated list of optional named arguments * * Plot a 1 by any or any by 1 image file as a max by any or diff --git a/libvips/histogram/maplut.c b/libvips/histogram/maplut.c index f1dce435..3d691f21 100644 --- a/libvips/histogram/maplut.c +++ b/libvips/histogram/maplut.c @@ -724,9 +724,9 @@ vips_maplut_init( VipsMaplut *maplut ) } /** - * vips_maplut: + * vips_maplut: (method) * @in: input image - * @out: output image + * @out: (out): output image * @lut: look-up table * @...: %NULL-terminated list of optional named arguments * diff --git a/libvips/histogram/percent.c b/libvips/histogram/percent.c index b952904a..7aa32c2d 100644 --- a/libvips/histogram/percent.c +++ b/libvips/histogram/percent.c @@ -134,10 +134,10 @@ vips_percent_init( VipsPercent *percent ) } /** - * vips_percent: + * vips_percent: (method) * @in: input image * @percent: threshold percentage - * @threshold: output threshold value + * @threshold: (out): output threshold value * @...: %NULL-terminated list of optional named arguments * * vips_percent() returns (through the @threshold parameter) the threshold diff --git a/libvips/histogram/stdif.c b/libvips/histogram/stdif.c index 92d3bdc2..f745e6a0 100644 --- a/libvips/histogram/stdif.c +++ b/libvips/histogram/stdif.c @@ -360,9 +360,9 @@ vips_stdif_init( VipsStdif *stdif ) } /** - * vips_stdif: + * vips_stdif: (method) * @in: input image - * @out: output image + * @out: (out): output image * @width: width of region * @height: height of region * @...: %NULL-terminated list of optional named arguments