pike.git / src / modules / Image / encodings / xcf.c

version» Context lines:

pike.git/src/modules/Image/encodings/xcf.c:880:    f_aggregate_mapping((INT32)(sp-osp));   }         static void image_xcf____decode( INT32 args )   {    struct pike_string *s;    struct buffer b;    struct gimp_image res;    ONERROR err; -  get_all_args( "___decode", args, "%S", &s ); +  get_all_args( NULL, args, "%S", &s );    if(args > 1)    Pike_error("Too many arguments to Image.XCF.___decode()\n");       b.s = s;    b.len = s->len;    b.str = (unsigned char *)s->str;       res = read_image( &b );    SET_ONERROR( err, free_image, &res );    push_image( &res );
pike.git/src/modules/Image/encodings/xcf.c:1174:    struct image *i=NULL, *a=NULL;    struct neo_colortable *cmap = NULL;    INT32 rxs, rys;    rgb_group *colortable=NULL;    rgb_group pix = {0,0,0};    rgb_group apix= {255,255,255}; /* avoid may use uninitialized warnings */       INT_TYPE rle, bpp, span, shrink;    unsigned int l, x=0, y=0, cx, cy;    ONERROR err; -  get_all_args( "_decode_tiles", args, "%o%O%a%i%i%O%i%d%d", +  get_all_args( NULL, args, "%o%O%a%i%i%O%i%d%d",    &io, &ao, &tiles, &rle, &bpp, &cmapo, &shrink, &rxs, &rys);          if( !(i = get_storage( io, image_program )))    Pike_error("Wrong type object argument 1 (image)\n");       if(ao && !(a = get_storage( ao, image_program )))    Pike_error("Wrong type object argument 2 (image)\n");       if( cmapo &&