pike.git / src / modules / Image / encodings / xcf.c

version» Context lines:

pike.git/src/modules/Image/encodings/xcf.c:1:   #include "global.h" - RCSID("$Id: xcf.c,v 1.26 2000/10/19 13:28:10 grubba Exp $"); + RCSID("$Id: xcf.c,v 1.27 2000/10/19 13:37:52 grubba Exp $");      #include "image_machine.h"      #include "pike_macros.h"   #include "object.h"   #include "constants.h"   #include "module_support.h"   #include "interpret.h"   #include "object.h"   #include "svalue.h"
pike.git/src/modules/Image/encodings/xcf.c:52:    struct pike_string *s;    ptrdiff_t base_offset;    ptrdiff_t base_len;    size_t len;    unsigned char *str;   };      struct substring   {    struct pike_string *s; -  int offset; -  int len; +  ptrdiff_t offset; +  ptrdiff_t len;   };      static struct program *substring_program;   #define SS(X) ((struct substring*)X->storage)      static void f_substring_cast( INT32 args )   {    /* FIXME: assumes string */    struct substring *s = SS(fp->current_object);    pop_n_elems( args );