Branch: Tag:

2014-12-04

2014-12-04 19:23:38 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);