pike.git / src / stralloc.c

version» Context lines:

pike.git/src/stralloc.c:2174: Inside #if defined(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) { +  switch (action & VISIT_MODE_MASK) {   #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;