diff options
Diffstat (limited to 'Objective-C/NSObject-ObjectiveCLWrapperLink.h')
-rw-r--r-- | Objective-C/NSObject-ObjectiveCLWrapperLink.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Objective-C/NSObject-ObjectiveCLWrapperLink.h b/Objective-C/NSObject-ObjectiveCLWrapperLink.h new file mode 100644 index 0000000..9bdf902 --- /dev/null +++ b/Objective-C/NSObject-ObjectiveCLWrapperLink.h @@ -0,0 +1,22 @@ +/* -*- mode: objc; coding: utf-8 -*- */ + +#import <Foundation/NSObject.h> + +void +objcl_initialise_instance_wrappers (void); + +void +objcl_shutdown_instance_wrappers (void); + +@interface NSObject (ObjectiveCLWrapperLink) +-(const char *) __objectiveCLWrapperID; +-(void) __setObjectiveCLWrapperID: (const char *)wrapper_id; +-(void) __removeObjectiveCLWrapperID; + +/* Classes can't be wrapped at the moment. */ +/* ++(const char *) __objectiveCLWrapperID; ++(const char *) __setObjectiveCLWrapperID: (const char *)wrapper_id; ++(const char *) __removeObjectiveCLWrapperID; +*/ +@end /* NSObject (ObjectiveCL) */ |