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

version» Context lines:

pike.git/src/modules/Image/orient.c:1: - /* $Id: orient.c,v 1.9 1998/04/20 18:46:52 grubba Exp $ */ + /* $Id: orient.c,v 1.10 1998/04/20 19:51:56 mirar Exp $ */      /*   **! module Image   **! note - **! $Id: orient.c,v 1.9 1998/04/20 18:46:52 grubba Exp $ + **! $Id: orient.c,v 1.10 1998/04/20 19:51:56 mirar Exp $   **! class image   */      #include "global.h"      #include <math.h>   #include <ctype.h>      #include "stralloc.h"   #include "global.h"
pike.git/src/modules/Image/orient.c:250:       d++;    s0++;    s1++;    s2++;    s3++;    }   CHRONO("end hsv...");   THREADS_DISALLOW();    -  /* FIXME: This looks like a ref-counting bug to me. -  * /grubba 1998-04-20 -  */ -  -  o[4]->refs++; -  +     if (!w)    { -  +  o[4]->refs++;    pop_n_elems(5);    push_object(o[4]);    }   }         void image_orient4(INT32 args)   {    struct object *o[5];    struct image *img[5];       if (!THIS->img) { error("no image\n"); return; }       pop_n_elems(args);    _image_orient(THIS,o,img);       pop_n_elems(1);    f_aggregate(4);   }