[swift-users] Object size on heap

Howard Lovatt howard.lovatt at gmail.com
Tue Mar 22 22:03:03 CDT 2016


Many thanks

  -- Howard.

On 23 March 2016 at 02:47, Joe Groff <jgroff at apple.com> wrote:

>
> 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/20160323/158f249d/attachment.html>


More information about the swift-users mailing list