Class Pike.InhibitDestruct
- Description
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
protected
orprivate
in order to affect users minimally.- See also
- Method
_destruct
bool
_destruct(int
|void
reason
)- Description
Returns
1
when inhibit_destruct() has been called more times than permit_destruct().- See also
inhibit_destruct(), permit_destruct(), destruct(), lfun::_destruct()