"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libvips/include/vips/object.h" between
vips-8.10.6.tar.gz and vips-8.11.0.tar.gz

About: VIPS is a free image processing system (see also the GUI nip2).

object.h  (vips-8.10.6):object.h  (vips-8.11.0)
skipping to change at line 376 skipping to change at line 376
*/ */
#define VIPS_ARGUMENT_COLLECT_SET( PSPEC, ARG_CLASS, AP ) \ #define VIPS_ARGUMENT_COLLECT_SET( PSPEC, ARG_CLASS, AP ) \
if( (ARG_CLASS->flags & VIPS_ARGUMENT_INPUT) ) { \ if( (ARG_CLASS->flags & VIPS_ARGUMENT_INPUT) ) { \
GValue value = { 0, }; \ GValue value = { 0, }; \
gchar *error = NULL; \ gchar *error = NULL; \
\ \
/* Input args are given inline, eg. ("factor", 12.0) \ /* Input args are given inline, eg. ("factor", 12.0) \
* and must be collected. \ * and must be collected. \
*/ \ */ \
g_value_init( &value, G_PARAM_SPEC_VALUE_TYPE( PSPEC ) ); \ G_VALUE_COLLECT_INIT( &value, \
G_VALUE_COLLECT( &value, AP, 0, &error ); \ G_PARAM_SPEC_VALUE_TYPE( PSPEC ), AP, 0, &error )
; \
\ \
/* Don't bother with the error message. \ /* Don't bother with the error message. \
*/ \ */ \
if( error ) { \ if( error ) { \
VIPS_DEBUG_MSG( "VIPS_OBJECT_COLLECT_SET: err\n" ); \ VIPS_DEBUG_MSG( "VIPS_OBJECT_COLLECT_SET: err\n" ); \
g_free( error ); \ g_free( error ); \
} }
#define VIPS_ARGUMENT_COLLECT_GET( PSPEC, ARG_CLASS, AP ) \ #define VIPS_ARGUMENT_COLLECT_GET( PSPEC, ARG_CLASS, AP ) \
g_value_unset( &value ); \ g_value_unset( &value ); \
 End of changes. 1 change blocks. 
2 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)