Branch: Tag:

1999-06-19

1999-06-19 20:26:55 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

tNone added + other fixes for MSVC++

Rev: src/modules/Image/colors.c:1.23
Rev: src/modules/Image/colortable.c:1.72
Rev: src/modules/Image/encodings/tga.c:1.8
Rev: src/modules/Image/font.c:1.53
Rev: src/modules/Image/image.c:1.147
Rev: src/modules/Image/layers.c:1.18
Rev: src/modules/Image/orient.c:1.13
Rev: src/modules/Image/polyfill.c:1.30
Rev: src/modules/Image/search.c:1.13
Rev: src/modules/Oracle/oracle.c:1.17
Rev: src/modules/Parser/html.c:1.22
Rev: src/modules/Parser/parser.c:1.4
Rev: src/modules/Perl/perlmod.c:1.8
Rev: src/modules/Pipe/pipe.c:1.33
Rev: src/modules/_Charset/charsetmod.c:1.15
Rev: src/modules/_Charset/iso2022.c:1.10
Rev: src/modules/_Crypto/crypto.c:1.28
Rev: src/modules/_Crypto/des.c:1.14
Rev: src/modules/_Crypto/pipe.c:1.15
Rev: src/modules/_Image_TTF/image_ttf.c:1.17
Rev: src/modules/call_out/call_out.c:1.28
Rev: src/modules/files/efuns.c:1.72
Rev: src/modules/files/socket.c:1.43
Rev: src/modules/spider/dumudp.c:1.44
Rev: src/modules/spider/spider.c:1.82
Rev: src/modules/spider/xml.c:1.8
Rev: src/modules/system/nt.c:1.12
Rev: src/modules/system/system.c:1.72

1:   /*   **! module Image   **! note - **! $Id: layers.c,v 1.17 1999/06/18 17:34:22 mirar Exp $ + **! $Id: layers.c,v 1.18 1999/06/19 20:24:47 hubbe Exp $   **! class Layer   */   
9:      #include <math.h> /* floor */    - RCSID("$Id: layers.c,v 1.17 1999/06/18 17:34:22 mirar Exp $"); + RCSID("$Id: layers.c,v 1.18 1999/06/19 20:24:47 hubbe Exp $");      #include "image_machine.h"   
2091:    set_exit_callback(exit_layer);       ADD_FUNCTION("create",image_layer_create, -  tOr4(tFunc(,tVoid), +  tOr4(tFunc(tNone,tVoid),    tFunc(tObj tOr(tObj,tVoid) tOr(tString,tVoid),tVoid),    tFunc(tLayerMap,tVoid),    tFunc(tInt tInt
2113:       /* query */    -  ADD_FUNCTION("image",image_layer_image,tFunc(,tObj),0); -  ADD_FUNCTION("alpha",image_layer_alpha,tFunc(,tObj),0); -  ADD_FUNCTION("mode",image_layer_mode,tFunc(,tStr),0); +  ADD_FUNCTION("image",image_layer_image,tFunc(tNone,tObj),0); +  ADD_FUNCTION("alpha",image_layer_alpha,tFunc(tNone,tObj),0); +  ADD_FUNCTION("mode",image_layer_mode,tFunc(tNone,tStr),0);       ADD_FUNCTION("available_modes",image_layer_available_modes, -  tFunc(,tArr(tStr)),0); +  tFunc(tNone,tArr(tStr)),0);    -  ADD_FUNCTION("xsize",image_layer_xsize,tFunc(,tInt),0); -  ADD_FUNCTION("ysize",image_layer_ysize,tFunc(,tInt),0); +  ADD_FUNCTION("xsize",image_layer_xsize,tFunc(tNone,tInt),0); +  ADD_FUNCTION("ysize",image_layer_ysize,tFunc(tNone,tInt),0);    -  ADD_FUNCTION("xoffset",image_layer_xoffset,tFunc(,tInt),0); -  ADD_FUNCTION("yoffset",image_layer_yoffset,tFunc(,tInt),0); +  ADD_FUNCTION("xoffset",image_layer_xoffset,tFunc(tNone,tInt),0); +  ADD_FUNCTION("yoffset",image_layer_yoffset,tFunc(tNone,tInt),0);    -  ADD_FUNCTION("alpha_value",image_layer_alpha_value,tFunc(,tFloat),0); -  ADD_FUNCTION("fill",image_layer_fill,tFunc(,tObj),0); -  ADD_FUNCTION("fill_alpha",image_layer_fill_alpha,tFunc(,tObj),0); +  ADD_FUNCTION("alpha_value",image_layer_alpha_value,tFunc(tNone,tFloat),0); +  ADD_FUNCTION("fill",image_layer_fill,tFunc(tNone,tObj),0); +  ADD_FUNCTION("fill_alpha",image_layer_fill_alpha,tFunc(tNone,tObj),0);    -  ADD_FUNCTION("tiled",image_layer_tiled,tFunc(,tInt01),0); +  ADD_FUNCTION("alpha_value",image_layer_alpha_value,tFunc(tNone,tFloat),0); +  ADD_FUNCTION("fill",image_layer_fill,tFunc(tNone,tObj),0); +  ADD_FUNCTION("fill_alpha",image_layer_fill_alpha,tFunc(tNone,tObj),0);    -  +  ADD_FUNCTION("tiled",image_layer_tiled,tFunc(tNone,tInt01),0); +     /* image-object operations */       ADD_FUNCTION("crop",image_layer_crop,