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.14 1999/05/30 20:11:58 mirar Exp $ + **! $Id: layers.c,v 1.15 1999/06/03 17:20:13 mirar Exp $   **! class Layer   */      #include "global.h"      #include <math.h> /* floor */    - RCSID("$Id: layers.c,v 1.14 1999/05/30 20:11:58 mirar Exp $"); + RCSID("$Id: layers.c,v 1.15 1999/06/03 17:20:13 mirar 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:24:   #include "threads.h"   #include "builtin_functions.h"   #include "dmalloc.h"   #include "operators.h"   #include "module_support.h"   #include "opcodes.h"      #include "image.h"      extern struct program *image_program; - struct program *image_layer_program; + extern struct program *image_layer_program; + extern struct program *image_colortable_program;      static struct mapping *colors=NULL;   static struct object *colortable=NULL;   static struct array *colornames=NULL;    - struct program *image_layer_program=NULL; - extern struct program *image_colortable_program; -  +    static const rgb_group black={0,0,0};   static const rgb_group white={COLORMAX,COLORMAX,COLORMAX};      typedef void lm_row_func(rgb_group *s,    rgb_group *l,    rgb_group *d,    rgb_group *sa,    rgb_group *la, /* may be NULL */    rgb_group *da,    int len,