pike.git / src / builtin.cmod

version» Context lines:

pike.git/src/builtin.cmod:2929:    * Backtrace handling.    */      /*! @module Pike    */      /*! @class DestructImmediate    *!    *! An empty class that can be inherited to get the    *! @tt{PROGRAM_DESTRUCT_IMMEDIATE@} flag set. +  *! +  *! @seealso +  *! @[InhibitDestruct]    */      PIKECLASS DestructImmediate    program_flags PROGRAM_DESTRUCT_IMMEDIATE;   {   }      /*! @endclass    */      /*! @class InhibitDestruct    *!    *! This is a class that implements a way to temporarily    *! inhibit destruction by explicit calls of @[destruct()].    *!    *! This is mostly useful as a mix-in for modules    *! implemented in C or similar.    *!    *! All symbols in the class are either @expr{protected@}    *! or @expr{private@} in order to affect users minimally. -  +  *! +  *! @seealso +  *! @[DestructImmediate]    */   PIKECLASS InhibitDestruct   {    CVAR ptrdiff_t lock_count;       /*! @decl void inhibit_destruct()    *!    *! Inhibit explicit destruction of this object.    *!    *! @seealso