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

version» Context lines:

pike.git/src/modules/Image/layers.c:1:   /*   **! module Image   **! note - **! $Id: layers.c,v 1.77 2002/05/11 00:19:57 nilsson Exp $ + **! $Id: layers.c,v 1.78 2002/08/13 17:09:17 grubba Exp $   **! class Layer   **! see also: layers   **!      **!   **!   **! appendix Image.Layer modes   **!   **! <dl compact>   **! <dt><i>The variables in the expression:</i></dt>
pike.git/src/modules/Image/layers.c:189:   **! return 0;   **! }   **!   **! </execute>   */      #include "global.h"      #include <math.h> /* floor */    - RCSID("$Id: layers.c,v 1.77 2002/05/11 00:19:57 nilsson Exp $"); + RCSID("$Id: layers.c,v 1.78 2002/08/13 17:09:17 grubba Exp $");      #include "image_machine.h"      #include "stralloc.h"   #include "pike_macros.h"   #include "object.h"   #include "constants.h"   #include "interpret.h"   #include "svalue.h"   #include "array.h"
pike.git/src/modules/Image/layers.c:3002:       free(l);       Pike_sp--;    pop_n_elems(args);    push_object(o);   }      /** image-object operations *************************/    - static INLINE struct layer *push_new_layer() + static INLINE struct layer *push_new_layer(void)   {    push_object(clone_object(image_layer_program,0));    return (struct layer*)get_storage(Pike_sp[-1].u.object,image_layer_program);   }    - static INLINE struct layer *clone_this_layer() + static INLINE struct layer *clone_this_layer(void)   {    struct layer *l;    l=push_new_layer();    l->xsize=THIS->xsize;    l->ysize=THIS->ysize;    l->xoffs=THIS->xoffs;    l->yoffs=THIS->yoffs;    l->image=THIS->image;    l->alpha=THIS->alpha;    l->img=THIS->img;