Design Element
Comment on "Bridge Cocoa and CoreGraphics Geometry"
by Jean-Daniel Dupas — Feb 15
Despite the return types/address being 64 Bit quantities the underlying 32 bit API won't return values/address' above the 4GB ceiling.

long are 32 bits on 32 bits plateform, so changing NSInteger from int to long will not change the "in memory" representation, but only the method signature.

I don't think this will generate binary incompatible code, but it may break some mechanisms that rely on method signature (like invocation).
Back to "Bridge Cocoa and CoreGraphics Geometry"
Design Element

Copyright © Scott Stevenson 2004-2015