summaryrefslogtreecommitdiff
path: root/MLKCompiledClosure.m
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-08-16 18:42:30 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-08-16 22:01:39 +0200
commit79abb06fbce7ee8f72556ededeee3eb88baf2fc8 (patch)
tree20bd46e1d999b0e505423b41786d6e1f8df114b2 /MLKCompiledClosure.m
parent69d20805fb9c361f2011f24e4c47288d678a995a (diff)
MLKCompiledClosure: Add accessors.
Diffstat (limited to 'MLKCompiledClosure.m')
-rw-r--r--MLKCompiledClosure.m10
1 files changed, 10 insertions, 0 deletions
diff --git a/MLKCompiledClosure.m b/MLKCompiledClosure.m
index c9f1e97..73f308b 100644
--- a/MLKCompiledClosure.m
+++ b/MLKCompiledClosure.m
@@ -108,6 +108,16 @@
return [NSString stringWithFormat:@"<Compiled closure @%p>", self];
}
+-(id (*)()) code
+{
+ return _code;
+}
+
+-(void *) closureData
+{
+ return _data;
+}
+
-(void) dealloc
{
int i;