JSAction base property should be eweak as it creates a circular reference with base...
[enjoyable.git] / JSAction.h
index 8e52e9c..b92c7d6 100644 (file)
@@ -9,15 +9,12 @@
 #import <Foundation/Foundation.h>
 #import <IOKit/hid/IOHIDBase.h>
 
-@interface JSAction : NSObject {
-       id base;
-       NSString *name;
-}
+@interface JSAction : NSObject
 
-@property (assign) voidcookie;
+@property (assign) void *cookie;
 @property (assign) int index;
 @property (copy) NSArray *children;
-@property (strong) id base;
+@property (weak) id base;
 @property (copy) NSString *name;
 @property (assign) BOOL active;
 @property (readonly) float magnitude;