mirror of
https://github.com/lovell/sharp.git
synced 2026-02-08 07:36:16 +01:00
Expose libvips warnings via NODE_DEBUG env var
This commit is contained in:
10
src/common.h
10
src/common.h
@@ -189,6 +189,16 @@ namespace sharp {
|
||||
*/
|
||||
void FreeCallback(char* data, void* hint);
|
||||
|
||||
/*
|
||||
Called with warnings from the glib-registered "VIPS" domain
|
||||
*/
|
||||
void VipsWarningCallback(char const* log_domain, GLogLevelFlags log_level, char const* message, void* ignore);
|
||||
|
||||
/*
|
||||
Pop the oldest warning message from the queue
|
||||
*/
|
||||
std::string VipsWarningPop();
|
||||
|
||||
/*
|
||||
Calculate the (left, top) coordinates of the output image
|
||||
within the input image, applying the given gravity.
|
||||
|
||||
Reference in New Issue
Block a user