From 81861baee967380dd1e45fe863f57b1c960fcea8 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Thu, 30 May 2019 19:46:05 +0100 Subject: [PATCH] add note to docs in vips_init() --- libvips/iofuncs/init.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libvips/iofuncs/init.c b/libvips/iofuncs/init.c index 87008822..503fb7ae 100644 --- a/libvips/iofuncs/init.c +++ b/libvips/iofuncs/init.c @@ -151,6 +151,10 @@ vips_get_argv0( void ) * therefore be unable to find its data files. It is much better to call * this macro yourself. * + * @ARGV0 is used to help discover message catalogues if libvips has been + * relocated. If you don't need a relocatable package, you can just pass `""` + * and it'll be fine. + * * Additionally, VIPS_INIT() can be run from any thread, but it must not be * called from more than one thread at the same time. This is much easier to * guarantee if you call it yourself.