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
protectedorprivatein order to affect users minimally.- See also
- Method
_destruct
bool_destruct(int|voidreason)- Description
Returns
1when inhibit_destruct() has been called more times than permit_destruct().- See also
inhibit_destruct(), permit_destruct(), destruct(), lfun::_destruct()