Author: leo
Date: Tue Nov 1 21:39:28 2005
New Revision: 9699
Modified:
trunk/ops/experimental.ops
Log:
add some doc to the newclosure opcode
Modified: trunk/ops/experimental.ops
==============================================================================
--- trunk/ops/experimental.ops (original)
+++ trunk/ops/experimental.ops Tue Nov 1 21:39:28 2005
@@ -250,6 +250,12 @@ inline op result_info(out PMC) {
goto NEXT();
}
+=item B<newclosure>(out PMC, in PMC)
+
+Create a closure of the given subroutine PMC by cloning the sub's state.
+
+=cut
+
inline op newclosure(out PMC, in PMC) {
PMC *clos;
struct Parrot_sub *newsub;