pike.git / src / pike_types.c

version» Context lines:

pike.git/src/pike_types.c:1:   /*   || 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: pike_types.c,v 1.239 2004/11/05 16:21:23 grubba Exp $ + || $Id: pike_types.c,v 1.240 2004/12/30 13:52:54 grubba Exp $   */      #include "global.h"   #include <ctype.h>   #include "svalue.h"   #include "pike_types.h"   #include "stralloc.h"   #include "stuff.h"   #include "array.h"   #include "program.h"
pike.git/src/pike_types.c:3242:    if (a->cdr == b->cdr)    return 1;    }       {    struct program *ap = id_to_program(CDR_TO_INT(a));    struct program *bp = id_to_program(CDR_TO_INT(b));       if (!ap || !bp) {    /* Shouldn't happen... */ +  /* fprintf(stderr, "ap:%p bp:%p\n", ap, bp); */    return 0;    }    if ((flags & LE_WEAK_OBJECTS) &&    (!TEST_COMPAT(7,4) || (!a->car))) {    implements_mode = 0; -  +  /* fprintf(stderr, "is_compat(%p, %p)\n", ap, bp); */    return is_compatible(implements_a=ap, implements_b=bp);    }    implements_mode = 1; -  +  /* fprintf(stderr, "implements(%p, %p)\n", ap, bp); */    return implements(implements_a=ap, implements_b=bp);    }    break;       case T_INT:    {    INT32 amin = CAR_TO_INT(a);    INT32 amax = CDR_TO_INT(a);       INT32 bmin = CAR_TO_INT(b);