Branch: Tag:

2003-12-09

2003-12-09 08:11:53 by Martin Nilsson <mani@lysator.liu.se>

push_text -> push_constant_text

Rev: src/modules/Image/colors.c:1.70
Rev: src/modules/Image/image_module.c:1.19
Rev: src/modules/Image/layers.c:1.93
Rev: src/modules/Parser/parser.c:1.19
Rev: src/modules/_Roxen/roxen.c:1.35
Rev: src/modules/files/udp.c:1.61
Rev: src/signal_handler.c:1.289

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: layers.c,v 1.92 2003/11/14 10:26:43 mast Exp $ + || $Id: layers.c,v 1.93 2003/12/09 08:11:31 nilsson Exp $   */      /*
15:      #include <math.h> /* floor */    - RCSID("$Id: layers.c,v 1.92 2003/11/14 10:26:43 mast Exp $"); + RCSID("$Id: layers.c,v 1.93 2003/12/09 08:11:31 nilsson Exp $");      #include "image_machine.h"   
1448:    int n=0;    pop_n_elems(args);    -  push_text("xsize"); push_int(THIS->xsize); n++; -  push_text("ysize"); push_int(THIS->ysize); n++; -  push_text("image"); image_layer_image(0); n++; -  push_text("alpha"); image_layer_alpha(0); n++; -  push_text("xoffset"); push_int(THIS->xoffs); n++; -  push_text("yoffset"); push_int(THIS->yoffs); n++; -  push_text("alpha_value"); push_float(THIS->alpha_value); n++; -  push_text("fill"); image_layer_fill(0); n++; -  push_text("fill_alpha"); image_layer_fill_alpha(0); n++; -  push_text("tiled"); push_int(THIS->tiled); n++; -  push_text("mode"); image_layer_mode(0); n++; +  push_constant_text("xsize"); push_int(THIS->xsize); n++; +  push_constant_text("ysize"); push_int(THIS->ysize); n++; +  push_constant_text("image"); image_layer_image(0); n++; +  push_constant_text("alpha"); image_layer_alpha(0); n++; +  push_constant_text("xoffset"); push_int(THIS->xoffs); n++; +  push_constant_text("yoffset"); push_int(THIS->yoffs); n++; +  push_constant_text("alpha_value"); push_float(THIS->alpha_value); n++; +  push_constant_text("fill"); image_layer_fill(0); n++; +  push_constant_text("fill_alpha"); image_layer_fill_alpha(0); n++; +  push_constant_text("tiled"); push_int(THIS->tiled); n++; +  push_constant_text("mode"); image_layer_mode(0); n++;       f_aggregate_mapping(n*2);