]> gitweb.factorcode.org Git - factor.git/blob - basis/tools/destructors/destructors-docs.factor
Disposables are now registered in a global disposables set. To take advantage of...
[factor.git] / basis / tools / destructors / destructors-docs.factor
1 ! Copyright (C) 2009 Slava Pestov.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: help.markup help.syntax quotations ;
4 IN: tools.destructors
5
6 HELP: disposables.
7 { $description "Print the number of disposable objects of each class." } ;
8
9 HELP: leaks
10 { $values
11     { "quot" quotation }
12 }
13 { $description "Runs a quotation, printing any increases in the number of disposable objects after the quotation returns." } ;
14
15 ARTICLE: "tools.destructors" "Destructor tools"
16 "The " { $vocab-link "tools.destructors" } " vocabulary provides words for tracking down resource leaks."
17 { $subsection disposables. }
18 { $subsection leaks }
19 { $see-also "destructors" } ;
20
21 ABOUT: "tools.destructors"