pike.git/
lib/
master.pike.in
Branch:
Tag:
Non-build tags
All tags
No tags
2003-01-15
2003-01-15 23:55:21 by Martin Stjernholm <mast@lysator.liu.se>
90b03d1a4793374304e4ca0572c33402f985365b (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
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);