Method Debug.refs()
- Method refs
int
refs(string
|array
|mapping
|multiset
|function
(:void
)|object
|program
o
)- Description
Return the number of references
o
has.It is mainly meant for debugging the Pike runtime, but can also be used to control memory usage.
- Note
Note that the number of references will always be at least one since the value is located on the stack when this function is executed.
- See also