note about libtiff error handlers

This commit is contained in:
John Cupitt 2019-07-13 14:28:50 +01:00
parent 044f8b74f6
commit 2da56b918d
1 changed files with 5 additions and 2 deletions

View File

@ -77,8 +77,11 @@ vips__thandler_warning( const char *module, const char *fmt, va_list ap )
g_logv( G_LOG_DOMAIN, G_LOG_LEVEL_WARNING, fmt, ap );
}
/* Call this during startup. Other libraries may be using libtiff and we want
* to capture any messages they send as well.
/* Called during library init.
*
* libtiff error and warning handlers may be called from other threads
* running in other libs. Other libs may install error handlers and capture
* messages caused by us.
*/
void
vips__tiff_init( void )