| | |
- getweakrefcount(...)
- getweakrefcount(object) -- return the number of weak references
to 'object'.
- getweakrefs(...)
- getweakrefs(object) -- return a list of all weak reference objects
that point to 'object'.
- proxy(...)
- proxy(object[, callback]) -- create a proxy object that weakly
references 'object'. 'callback', if given, is called with a
reference to the proxy when it is about to be finalized.
- ref(...)
- new(object[, callback]) -- create a weak reference to 'object';
when 'object' is finalized, 'callback' will be called and passed
a reference to 'object'.
|