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

version» Context lines:

pike.git/src/modules/Image/togif.c:1:   /*      togif    - $Id: togif.c,v 1.26 1997/11/11 03:46:08 grubba Exp $ + $Id: togif.c,v 1.27 1997/11/11 22:17:52 mirar Exp $      old GIF API compat stuff      */      /*   **! module Image   **! note - **! $Id: togif.c,v 1.26 1997/11/11 03:46:08 grubba Exp $ + **! $Id: togif.c,v 1.27 1997/11/11 22:17:52 mirar Exp $   **! class image   */      #include "global.h"      #include <math.h>   #include <ctype.h>      #include "stralloc.h"   #include "global.h"
pike.git/src/modules/Image/togif.c:28:   #include "constants.h"   #include "interpret.h"   #include "svalue.h"   #include "array.h"   #include "error.h"   #include "dynamic_buffer.h"   #include "operators.h"      #include "image.h"   #include "colortable.h" - #include "encodings/gif.h" +       #define THIS ((struct image *)(fp->current_storage))   #define THISOBJ (fp->current_object)      extern struct program *image_colortable_program;      /*   **! method string gif_begin()   **! method string gif_begin(int num_colors)   **! method string gif_begin(array(array(int)) colors)
pike.git/src/modules/Image/togif.c:84:   **! you want.   **!   **! ² local map toggle is sent as an argument   **!   **! returns GIF data.   */      extern void image_gif_header_block(INT32 args);   extern void image_gif_end_block(INT32 args);   extern void image_gif_netscape_loop_block(INT32 args); + extern void image_gif_render_block(INT32 args);      void image_gif_begin(INT32 args)   {    if (args)    {    struct object *o;    if (sp[-args].type==T_INT)    {    int i=sp[-args].u.integer;    pop_n_elems(args);