pike.git / src / array.c

version» Context lines:

pike.git/src/array.c:450:       types = 0;   #ifdef DEBUG    if(d_flag > 1) array_check_type_field(v);   #endif    if(v->type_field & (BIT_OBJECT | BIT_FUNCTION))    {    for(e=0; e<v->size; e++)    {    if((ITEM(v)[e].type == T_OBJECT || -  (ITEM(v)[e].type == T_FUNCTION && ITEM(v)[e].subtype!=-1)) && +  (ITEM(v)[e].type == T_FUNCTION && +  ITEM(v)[e].subtype!=FUNCTION_BUILTIN)) &&    (!ITEM(v)[e].u.object->prog))    {    free_svalue(ITEM(v)+e);    ITEM(v)[e].type=T_INT;    ITEM(v)[e].subtype=NUMBER_DESTRUCTED;    ITEM(v)[e].u.integer=0;       types |= BIT_INT;    }else{    types |= 1<<ITEM(v)[e].type;
pike.git/src/array.c:485: Inside #if defined(DEBUG)
   TYPE_FIELD types;   #ifdef DEBUG    if(d_flag > 1) array_check_type_field(v);   #endif    if(v->type_field & (BIT_OBJECT | BIT_FUNCTION))    {    types=0;    for(e=0; e<v->size; e++)    {    if((ITEM(v)[e].type == T_OBJECT || -  (ITEM(v)[e].type == T_FUNCTION && ITEM(v)[e].subtype!=-1)) && +  (ITEM(v)[e].type == T_FUNCTION && +  ITEM(v)[e].subtype!=FUNCTION_BUILTIN)) &&    (!ITEM(v)[e].u.object->prog))    return e;    types |= 1<<ITEM(v)[e].type;    }    v->type_field = types;    }   #ifdef DEBUG    if(d_flag > 1) array_check_type_field(v);   #endif    return -1;