summaryrefslogtreecommitdiff
path: root/MLKCompiledClosure.h
diff options
context:
space:
mode:
authorMatthias Benkard <mulk@minimulk.mst-plus>2008-08-16 22:51:22 +0200
committerMatthias Benkard <mulk@minimulk.mst-plus>2008-08-16 22:51:22 +0200
commit5cd4de577c08637cb5d78d1c3376b1ff80e74065 (patch)
treec9e0e279f0c95b5f7fc5c691821344cb2e5d3ce4 /MLKCompiledClosure.h
parentd858e84c0778dc1851b3a0e324caaf0bef05f274 (diff)
parent3f11cb6b3ddd03d3211dd355cbac23884fa5a6e3 (diff)
Merge branch 'master' of http://matthias.benkard.de/code/mulklisp
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