HolyLib Wiki

luagc.GetContainingReferences

 table luagc.GetContainingReferences( any object, boolean recursive = false, table ignoreGCObjects = nil )

Description

Returns all GCobjects that the given object stores.

Recently Added

This was recently added in version (0.8 - DEV).

Arguments

1any object

Object to check

2boolean recursive = false

If enabled the results wil include all GCobjects referenced by all child objects

3table ignoreGCObjects = nil

ignoreGCObjects - A sequential table inside which you can provide GC objects that should be ignored like the global table/_G

Returns

1table references