"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libvips/foreign/csvload.c" 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).

csvload.c  (vips-8.10.6):csvload.c  (vips-8.11.0)
skipping to change at line 619 skipping to change at line 619
g_object_ref( csv->source ); g_object_ref( csv->source );
} }
if( VIPS_OBJECT_CLASS( vips_foreign_load_csv_source_parent_class )-> if( VIPS_OBJECT_CLASS( vips_foreign_load_csv_source_parent_class )->
build( object ) ) build( object ) )
return( -1 ); return( -1 );
return( 0 ); return( 0 );
} }
static gboolean
vips_foreign_load_csv_source_is_a_source( VipsSource *source )
{
/* Detecting CSV files automatically is tricky. Define this method to
* prevent a warning, but users will need to run the csv loader
* explicitly.
*/
return( FALSE );
}
static void static void
vips_foreign_load_csv_source_class_init( VipsForeignLoadCsvFileClass *class ) vips_foreign_load_csv_source_class_init( VipsForeignLoadCsvFileClass *class )
{ {
GObjectClass *gobject_class = G_OBJECT_CLASS( class ); GObjectClass *gobject_class = G_OBJECT_CLASS( class );
VipsObjectClass *object_class = (VipsObjectClass *) class; VipsObjectClass *object_class = (VipsObjectClass *) class;
VipsForeignLoadClass *load_class = (VipsForeignLoadClass *) class;
gobject_class->set_property = vips_object_set_property; gobject_class->set_property = vips_object_set_property;
gobject_class->get_property = vips_object_get_property; gobject_class->get_property = vips_object_get_property;
object_class->nickname = "csvload_source"; object_class->nickname = "csvload_source";
object_class->build = vips_foreign_load_csv_source_build; object_class->build = vips_foreign_load_csv_source_build;
load_class->is_a_source = vips_foreign_load_csv_source_is_a_source;
VIPS_ARG_OBJECT( class, "source", 1, VIPS_ARG_OBJECT( class, "source", 1,
_( "Source" ), _( "Source" ),
_( "Source to load from" ), _( "Source to load from" ),
VIPS_ARGUMENT_REQUIRED_INPUT, VIPS_ARGUMENT_REQUIRED_INPUT,
G_STRUCT_OFFSET( VipsForeignLoadCsvSource, source ), G_STRUCT_OFFSET( VipsForeignLoadCsvSource, source ),
VIPS_TYPE_SOURCE ); VIPS_TYPE_SOURCE );
} }
static void static void
 End of changes. 3 change blocks. 
0 lines changed or deleted 13 lines changed or added

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