pike.git / src / modules / Image / layers.c

version» Context lines:

pike.git/src/modules/Image/layers.c:682:       smear_color(THIS->sfill,THIS->fill,SNUMPIXS);    smear_color(THIS->sfill_alpha,THIS->fill_alpha,SNUMPIXS);   }      static void free_layer(struct layer *UNUSED(l))   {    if (THIS->image) free_object(THIS->image);    if (THIS->alpha) free_object(THIS->alpha);    if (THIS->misc) free_mapping(THIS->misc); -  THIS->image=NULL; -  THIS->alpha=NULL; -  THIS->img=NULL; -  THIS->alp=NULL; +    }      static void exit_layer(struct object *UNUSED(dummy))   {    free_layer(THIS);   }      /*   **! method object set_image(object(Image.Image) image)   **! method object set_image(object(Image.Image) image,object(Image.Image) alpha_channel)