How do you call swift_class_getInstanceExtents, it doesn't show in Xcode? -- Howard.
On 22 March 2016 at 06:07, Joe Groff <jgr...@apple.com> wrote: > > > On Mar 19, 2016, at 1:53 PM, Howard Lovatt via swift-users < > swift-users@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. > > -Joe
_______________________________________________ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/swift-users