[swift-users] Object size on heap
Joe Groff
jgroff at apple.com
Tue Mar 22 10:47:11 CDT 2016
> On Mar 21, 2016, at 9:31 PM, Howard Lovatt <howard.lovatt at gmail.com> wrote:
>
> How do you call swift_class_getInstanceExtents, it doesn't show in Xcode?
It's not provided as API by default. You can do this as an unsupported hack:
@_silgen_name("swift_class_getInstanceExtents")
func swift_class_getInstanceExtents(theClass: AnyClass)
-> (negative: UInt, positive: UInt)
-Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160322/051f8ba8/attachment.html>
More information about the swift-users
mailing list