Branch: Tag:

2015-04-28

2015-04-28 14:33:19 by Jonas Walldén <jonasw@roxen.com>

Switch from _refs() to Debug.refs() since that is the preferred API in Pike 8.

1545:    // o One in the task array in bg_process_queue.    // o One on the stack in the call in bg_process_queue.    // o One as current_object in the stack frame. -  // o One on the stack as argument to _refs. -  int self_refs = _refs (this); +  // o One on the stack as argument to Debug.refs. +  int self_refs = Debug.refs (this);   #ifdef DEBUG    if (self_refs < 4)    error ("Minimum ref calculation wrong - have only %d refs.\n", self_refs);