Branch: Tag:

2000-10-04

2000-10-04 05:12:14 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

T_UNKNOWN renamed to PIKE_T_UNKNOWN

Rev: src/encode.c:1.76
Rev: src/gc.c:1.140
Rev: src/pike_memory.c:1.89
Rev: src/pike_types.c:1.141
Rev: src/program.c:1.275
Rev: src/svalue.h:1.70

30:      #include "block_alloc.h"    - RCSID("$Id: gc.c,v 1.139 2000/09/30 19:21:44 mast Exp $"); + RCSID("$Id: gc.c,v 1.140 2000/10/04 05:12:12 hubbe Exp $");      /* Run garbage collect approximately every time    * 20 percent of all arrays, objects and programs is
285:    if(safe_debug_findstring((struct pike_string *)something))    return T_STRING;    -  return T_UNKNOWN; +  return PIKE_T_UNKNOWN;   }      void *check_for =0;
327:    }   #endif    -  if(type==T_UNKNOWN) +  if(type==PIKE_T_UNKNOWN)    type=attempt_to_identify(memblock);       if(memblock)
348:    again:    switch(type)    { -  case T_UNKNOWN: +  case PIKE_T_UNKNOWN:    for(p=first_program;p;p=p->next)    {    if(memblock == (void *)p->program)
552:    found_in=(void *)fromwhere;    found_in_type=-1;    gc_xmark_svalues(s,num); -  found_in_type=T_UNKNOWN; +  found_in_type=PIKE_T_UNKNOWN;    found_in=0;   }   
561:    found_in=data;    found_in_type=t;    gc_check_svalues(s,num); -  found_in_type=T_UNKNOWN; +  found_in_type=PIKE_T_UNKNOWN;    found_in=0;   }   
570:    found_in=data;    found_in_type=t;    gc_check_weak_svalues(s,num); -  found_in_type=T_UNKNOWN; +  found_in_type=PIKE_T_UNKNOWN;    found_in=0;   }   
579:    found_in=data;    found_in_type=t;    gc_check_short_svalue(u,type); -  found_in_type=T_UNKNOWN; +  found_in_type=PIKE_T_UNKNOWN;    found_in=0;   }   
588:    found_in=data;    found_in_type=t;    gc_check_weak_short_svalue(u,type); -  found_in_type=T_UNKNOWN; +  found_in_type=PIKE_T_UNKNOWN;    found_in=0;   }   
598:    found_in=data;    found_in_type=t;    ret=gc_check(x); -  found_in_type=T_UNKNOWN; +  found_in_type=PIKE_T_UNKNOWN;    found_in=0;    return ret;   }