diff options
author | Matthias Benkard <code@mail.matthias.benkard.de> | 2008-02-10 14:46:54 +0100 |
---|---|---|
committer | Matthias Benkard <code@mail.matthias.benkard.de> | 2008-02-10 14:46:54 +0100 |
commit | 3170b6d37b051f42fe0b28ba2dfa54344e1c85e6 (patch) | |
tree | 630d20e53eb35af86c4274e0ebccb35d492155d1 /Objective-C/NSObject-ObjectiveCLWrapperLink.h | |
parent | 7d44a3313c9be065f962975b362d29684bcd3418 (diff) |
Add NSObject category ObjectiveCLWrapperLink.
darcs-hash:0a90de7a76127351a989662a577b5688fe39654c
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) */ |