- Method set_weak_flag
Set the value
mto use weak or normal references in its indices and/or values (whatever is applicable).
stateis a bitfield built by using
|between the following flags:
Use weak references for indices. Only applicable for multisets and mappings.
Use weak references for values. Only applicable for arrays and mappings.
If a flag is absent, the corresponding field will use normal references.
statecan also be
1as a compatibility measure; it's treated like Pike.WEAK.
mwill be returned.