From 93914ecb8cc7bf4bf6eb8199f96fc3a685fc44cf Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 15 May 2014 17:27:47 -0400 Subject: 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. --- bleh_darwin.m | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'bleh_darwin.m') 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 #include -/* 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; } -- cgit v1.2.3