From fe456dd95720622449c5df0819230e9a6630946e Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Mon, 12 May 2008 22:30:48 -0500 Subject: [PATCH] Fix docs --- extra/destructors/destructors-docs.factor | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/extra/destructors/destructors-docs.factor b/extra/destructors/destructors-docs.factor index f96931c412..e9f6002efa 100755 --- a/extra/destructors/destructors-docs.factor +++ b/extra/destructors/destructors-docs.factor @@ -11,16 +11,6 @@ HELP: free-later { $description "Adds a destructor that will " { $link free } " the alien. The free will happen whenever the quotation passed to " { $link with-destructors } " errors or else the object will persist and manual cleanup is required later." } { $see-also free-always } ; -HELP: close-always -{ $values { "handle" "an OS-dependent handle" } } -{ $description "Adds a destructor that will close the system resource upon reaching the end of the quotation passed to " { $link with-destructors } "." } -{ $see-also close-later } ; - -HELP: close-later -{ $values { "handle" "an OS-dependent handle" } } -{ $description "Adds a destructor that will close the system resource if an error occurs in the quotation passed to " { $link with-destructors } ". Otherwise, manual cleanup of the resource is required later." } -{ $see-also close-always } ; - HELP: with-destructors { $values { "quot" "a quotation" } } { $description "Calls a quotation within a new dynamic scope. This quotation may register destructors, on any object, by wrapping the object in a destructor and implementing " { $link dispose } " on that object type. After the quotation finishes, if an error was thrown, all destructors are called and the error is then rethrown. However, if the quotation was successful, only those destructors created with an 'always cleanup' flag will be destroyed." }