From 3170b6d37b051f42fe0b28ba2dfa54344e1c85e6 Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Sun, 10 Feb 2008 14:46:54 +0100 Subject: Add NSObject category ObjectiveCLWrapperLink. darcs-hash:0a90de7a76127351a989662a577b5688fe39654c --- Objective-C/NSObject-ObjectiveCLWrapperLink.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Objective-C/NSObject-ObjectiveCLWrapperLink.h (limited to 'Objective-C/NSObject-ObjectiveCLWrapperLink.h') 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 + +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) */ -- cgit v1.2.3