pike.git / src / stralloc.c

version» Context lines:

pike.git/src/stralloc.c:2266: Inside #if defined(PIKE_DEBUG)
  #ifdef PIKE_DEBUG    if(num_strings != num_)    Pike_fatal("Num strings is wrong! %d!=%d.\n",num_strings, num_);   #endif    num[0]=num_;    size[0]=size_;   }      PMOD_EXPORT void visit_string (struct pike_string *s, int action, void *extra)   { +  visit_enter(s, T_STRING, extra);    switch (action) {   #ifdef PIKE_DEBUG    default:    Pike_fatal ("Unknown visit action %d.\n", action);    case VISIT_NORMAL:    case VISIT_COMPLEX_ONLY:    break;   #endif    case VISIT_COUNT_BYTES:    mc_counted_bytes += memory_in_string (s);    break;    } -  +  visit_leave(s, T_STRING, extra);   }      #ifdef PIKE_DEBUG   unsigned gc_touch_all_strings(void)   {    unsigned INT32 e;    unsigned n = 0;    if (!base_table) return 0;    for(e=0;e<htable_size;e++)    {