Method MasterObject()->runtime_warning()
- Method runtime_warning
void
runtime_warning(string
where
,string
what
,mixed
...args
)- Description
Called for every runtime warning. The first argument identifies where the warning comes from, the second identifies the specific message, and the rest depends on that. See code below for currently implemented warnings.
- Method runtime_warning
void
runtime_warning(string
subsystem
,string
msg
,mixed
|void
data
)- Description
Called by the Pike runtime to warn about data inconsistencies.
- Parameter
subsystem
Runtime subsystem where the warning was generated. Currently the following subsystems may call this function:
"gc"
The garbage collector.
- Parameter
msg
Warning message. Currently the following messages may be generated:
"bad_cycle"
A cycle where the destruction order isn't deterministic was detected by the garbage collector.
data will in this case contain an array of the elements in the cycle.
- Parameter
data
Optional data that further describes the warning specified by msg.