[swift-users] Object size on heap
howard.lovatt at gmail.com
Mon Mar 21 23:31:35 CDT 2016
How do you call swift_class_getInstanceExtents, it doesn't show in Xcode?
On 22 March 2016 at 06:07, Joe Groff <jgroff at apple.com> wrote:
> > On Mar 19, 2016, at 1:53 PM, Howard Lovatt via swift-users <
> swift-users at swift.org> wrote:
> > Hi,
> > Is there a way to find out how big an object is on the heap?
> No public API yet. For entertainment purposes, you could use the runtime's
> swift_class_getInstanceExtents function, passing in the class object for
> the instance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-users