Branch: Tag:

2013-06-11

2013-06-11 20:22:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added macro REFCOUNTED_TYPE().

This is to simplify renumbering of the types.

203: Inside #if defined(DEBUG_MALLOC) && defined(PIKE_DEBUG)
     #if defined(DEBUG_MALLOC) && defined(PIKE_DEBUG)    /* This will tell us where the value was caught (I hope) */ -  if(TYPEOF(throw_value) <= MAX_REF_TYPE) +  if(REFCOUNTED_TYPE(TYPEOF(throw_value)))    {    debug_malloc_update_location(throw_value.u.refs,    Pike_interpreter.recoveries->file);