From 0f2d1a6b0b13f8b7463990cd67b2415c7fdf66d7 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Fri, 8 Jul 2016 09:15:56 +0100 Subject: [PATCH] improve docs --- libvips/create/buildlut.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libvips/create/buildlut.c b/libvips/create/buildlut.c index 48bfa0f7..16ab774d 100644 --- a/libvips/create/buildlut.c +++ b/libvips/create/buildlut.c @@ -277,7 +277,8 @@ vips_buildlut_init( VipsBuildlut *lut ) * @...: %NULL-terminated list of optional named arguments * * This operation builds a lookup table from a set of points. Intermediate - * values are generated by piecewise linear interpolation. + * values are generated by piecewise linear interpolation. The lookup table is + * always of type %gdouble, use vips_cast() to change it to the type you need. * * For example, consider this 2 x 2 matrix of (x, y) coordinates: *