Branch: Tag:

2005-02-09

2005-02-09 16:43:35 by Martin Stjernholm <mast@lysator.liu.se>

Pass a flag to lfun::destroy about the reason for the destruct.

Rev: lib/modules/Object.pmod:1.1
Rev: src/builtin_functions.c:1.587
Rev: src/gc.c:1.262
Rev: src/object.c:1.265
Rev: src/object.h:1.90
Rev: src/program.c:1.586

1: + //! $Id: Object.pmod,v 1.1 2005/02/09 16:35:50 mast Exp $    -  + #pike __REAL_VERSION__ + #pragma strict_types +  + constant DESTRUCT_EXPLICIT = __builtin.DESTRUCT_EXPLICIT; + constant DESTRUCT_NO_REFS = __builtin.DESTRUCT_NO_REFS; + constant DESTRUCT_GC = __builtin.DESTRUCT_GC; + constant DESTRUCT_CLEANUP = __builtin.DESTRUCT_CLEANUP; + //! Flags passed to @[lfun::destroy]. + //! + //! @note + //! @[Object.DESTRUCT_EXPLICIT] is @expr{0@} and + //! @[Object.DESTRUCT_CLEANUP] is @expr{1@} for compatibility.   Newline at end of file added.