diff options
author | Max Horn | 2010-06-28 12:28:29 +0000 |
---|---|---|
committer | Max Horn | 2010-06-28 12:28:29 +0000 |
commit | 4f606cc10df1253cb035e3828f974c03f92e631f (patch) | |
tree | 4c964ae813d5eda5c358e71058baa1416a3cdc00 /engines/sci/engine/script.h | |
parent | b3011faaef07e607dc3b7a9813d3bd788179a225 (diff) | |
download | scummvm-rg350-4f606cc10df1253cb035e3828f974c03f92e631f.tar.gz scummvm-rg350-4f606cc10df1253cb035e3828f974c03f92e631f.tar.bz2 scummvm-rg350-4f606cc10df1253cb035e3828f974c03f92e631f.zip |
SCI: Clarify docs of GC related SegmentObj methods
svn-id: r50440
Diffstat (limited to 'engines/sci/engine/script.h')
-rw-r--r-- | engines/sci/engine/script.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/sci/engine/script.h b/engines/sci/engine/script.h index d1e6a4509e..3817f8aae1 100644 --- a/engines/sci/engine/script.h +++ b/engines/sci/engine/script.h @@ -107,6 +107,12 @@ public: virtual Common::Array<reg_t> listAllDeallocatable(SegmentId segId) const; virtual Common::Array<reg_t> listAllOutgoingReferences(reg_t object) const; + /** + * Return a list of all references to objects in this script + * (and also to the locals segment, if any). + * Used by the garbage collector. + * @return a list of outgoing references within the object + */ Common::Array<reg_t> listObjectReferences() const; virtual void saveLoadWithSerializer(Common::Serializer &ser); |