D/Objective-C 64bit

Jacob Carlborg via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Tue Nov 18 23:39:00 PST 2014


On 2014-11-18 21:54, Christian Schneider wrote:

> Uh, oh, that bug looks like a major annoyance in 64bit! I made a few
> checks, all appkit methods returning a NSRect currently produce a
> runtime segfault. But this does not apply to NSSize, nor NSPoint,
> functions returning either NSSize or NSPoint work.
>
> What I have found out so far: all the extern C functions in geometry.d
> work just fine.. e.g. NSRectFromString does what it's supposed to do.

If this is works for extern(C) functions then it might be a problem with 
the extern(Objective-C) functions. Perhaps it's not using the correct 
objc_msgSend functions under the hood.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-announce mailing list