summaryrefslogtreecommitdiff
path: root/bleh_darwin.m
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-05-15 17:27:47 -0400
committerPietro Gagliardi <[email protected]>2014-05-15 17:27:47 -0400
commit93914ecb8cc7bf4bf6eb8199f96fc3a685fc44cf (patch)
treec530b376368a799dfd42216d9cbded4289ae2cdd /bleh_darwin.m
parentc1f3d92263e9181fdbe3dc1c2010fd158757c503 (diff)
Migrated the new Objective-C-based Mac OS X Listbox code in and got rid of things preventing the darwin/386 build otherwise. 10.6 doesn't show the NSObservedObjectKey link error, but shows a crapton more, so this is gonna be a fun bug report... I'll use contrived examples and provide the new build logs based on this commit in the meantime as well.
Diffstat (limited to 'bleh_darwin.m')
-rw-r--r--bleh_darwin.m12
1 files changed, 5 insertions, 7 deletions
diff --git a/bleh_darwin.m b/bleh_darwin.m
index bda237a..e52714d 100644
--- a/bleh_darwin.m
+++ b/bleh_darwin.m
@@ -23,9 +23,6 @@ though this is not always the case.
#include <AppKit/NSApplication.h>
#include <AppKit/NSTrackingArea.h>
-/* used by listbox_darwin.go; requires NSString */
-id *_NSObservedObjectKey = (id *) (&NSObservedObjectKey);
-
/*
These are all the selectors and class IDs used by the functions below.
*/
@@ -369,9 +366,10 @@ also this made me realize all my problems with working w ith the Objective-C run
id objc_msgSendSuper_id(id obj, id class, SEL sel, id a)
{
- struct objc_super s;
+// struct objc_super s;
- s.receiver = obj;
- s.super_class = (Class) class;
- return objc_msgSendSuper(&s, sel, a);
+// s.receiver = obj;
+// s.super_class = (Class) class;
+// return objc_msgSendSuper(&s, sel, a);
+return nil;
}