summaryrefslogtreecommitdiff
path: root/MLKCompiledClosure.h
diff options
context:
space:
mode:
Diffstat (limited to 'MLKCompiledClosure.h')
-rw-r--r--MLKCompiledClosure.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/MLKCompiledClosure.h b/MLKCompiledClosure.h
index 589c0de..772f29c 100644
--- a/MLKCompiledClosure.h
+++ b/MLKCompiledClosure.h
@@ -27,9 +27,8 @@
@interface MLKCompiledClosure : NSObject <MLKFuncallable>
{
int _dataLength;
- id (**_code)();
+ id (*_code)();
id *_data;
- BOOL _ownPointer; // do we own the _code pointer cell?
}
// Why intptr_t? Because it makes it easier to call this method from
@@ -47,5 +46,8 @@
-(NSString *) description;
-(NSString *) descriptionForLisp;
+-(id (*)()) code;
+-(void *) closureData;
+
-(void) dealloc;
@end