Branch: Tag:

2003-01-15

2003-01-15 23:55:21 by Martin Stjernholm <mast@lysator.liu.se>

Detect destructed objects without risking a call to `! in them.

Rev: lib/master.pike.in:1.249

6:   // Pike is distributed under GPL, LGPL and MPL. See the file COPYING   // for more information.   // - // $Id: master.pike.in,v 1.248 2003/01/13 14:42:06 grubba Exp $ + // $Id: master.pike.in,v 1.249 2003/01/15 23:55:21 mast Exp $      #pike __REAL_VERSION__   
2522:   string describe_object(object|program o)   {    string s; -  if(!o) return 0; +  if(zero_type (o)) return 0; // Destructed.       function parent_fun = object_program(o);