Branch: Tag:

2002-05-11

2002-05-11 00:19:57 by Martin Nilsson <mani@lysator.liu.se>

sp -> Pike_sp

Rev: src/modules/Image/layers.c:1.77
Rev: src/modules/spider/discdate.c:1.10
Rev: src/modules/spider/stardate.c:1.13
Rev: src/modules/system/syslog.c:1.16

1:   /*   **! module Image   **! note - **! $Id: layers.c,v 1.76 2001/11/19 16:22:58 nilsson Exp $ + **! $Id: layers.c,v 1.77 2002/05/11 00:19:57 nilsson Exp $   **! class Layer   **! see also: layers   **!
196:      #include <math.h> /* floor */    - RCSID("$Id: layers.c,v 1.76 2001/11/19 16:22:58 nilsson Exp $"); + RCSID("$Id: layers.c,v 1.77 2002/05/11 00:19:57 nilsson Exp $");      #include "image_machine.h"   
217:      #include "image.h"    - /* This must be included last! */ - #include "module_magic.h" -  +    #ifdef TRY_USE_MMX   #include <mmx.h>   #endif    -  + /* This must be included last! */ + #include "module_magic.h" +    extern struct program *image_program;   extern struct program *image_layer_program;   extern struct program *image_colortable_program;
3237:    int x;    if (args != 2 )    SIMPLE_TOO_FEW_ARGS_ERROR("_sprintf",2); -  if (sp[-args].type!=T_INT) +  if (Pike_sp[-args].type!=T_INT)    SIMPLE_BAD_ARG_ERROR("_sprintf",0,"integer"); -  if (sp[1-args].type!=T_MAPPING) +  if (Pike_sp[1-args].type!=T_MAPPING)    SIMPLE_BAD_ARG_ERROR("_sprintf",1,"mapping");    -  x = sp[-2].u.integer; +  x = Pike_sp[-2].u.integer;       pop_n_elems( 2 );    switch( x )