diff --git a/ChangeLog b/ChangeLog index 8ff3e18a..aae1834d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -72,6 +72,7 @@ - added im__colour_difference(), colour ops now work on any image format - added im_col_display_get_table(), so display tables are now shared by name - added im__colour_unary() +- drop "set" postfix from names, so "insert" can now take a vector of positions 25/3/09 started 7.18.0 - revised version numbers diff --git a/tools/iofuncs/vips.c b/tools/iofuncs/vips.c index 74e55ad5..c405aa04 100644 --- a/tools/iofuncs/vips.c +++ b/tools/iofuncs/vips.c @@ -469,6 +469,11 @@ c2cpp_name( const char *in, char *out ) */ if( ispostfix( "tra", out ) ) out[strlen( out ) - 3] = '\0'; + + /* Drop "set" postfix (eg. so im_insertset becomes insert). + */ + if( ispostfix( "set", out ) ) + out[strlen( out ) - 3] = '\0'; } /* Print prototype for a function (ie. will be followed by code).