diff options
| author | Pietro Gagliardi <[email protected]> | 2014-05-15 20:44:52 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-05-15 20:44:52 -0400 |
| commit | 688121146c38747f175fdfc7d755fa2c361501ff (patch) | |
| tree | 677595625cc3509115d4f72597f9db7b8163383e | |
| parent | 7645f459e7b346137898c132baf401adb71004ec (diff) | |
Removed the sole objc_msgSendSuper() wrapper from bleh_darwin.m.
| -rw-r--r-- | bleh_darwin.m | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/bleh_darwin.m b/bleh_darwin.m index 2d179fd..03a9233 100644 --- a/bleh_darwin.m +++ b/bleh_darwin.m @@ -204,21 +204,3 @@ static NSApplicationTerminateReply __appDelegate_applicationShouldTerminate(id s void *_appDelegate_applicationShouldTerminate = (void *) __appDelegate_applicationShouldTerminate; char *encodedTerminateReply = @encode(NSApplicationTerminateReply); - -/* -Objective-C 1.0 has the class field of struct objc_super field as class -Objective-C 2.0 has it as super_class -and objc_darwin.h is compiled by both C and Objective-C code -man isn't t his fun?! -also this made me realize all my problems with working w ith the Objective-C runtime is because Apple's docs haven't been updated to the Objective-C 2.0 stuff so I'm assuming I'll have to read the header files for documentation instead of that -*/ - -id objc_msgSendSuper_id(id obj, id class, SEL sel, id a) -{ -// struct objc_super s; - -// s.receiver = obj; -// s.super_class = (Class) class; -// return objc_msgSendSuper(&s, sel, a); -return nil; -} |
