<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Nov 11, 2012, at 11:26 AM, Fariborz Jahanian wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>On Nov 10, 2012, at 4:13 PM, John McCall wrote:<br><blockquote type="cite"><font class="Apple-style-span" color="#2260c5"><br></font></blockquote><blockquote type="cite">Whereas the extended layout for the following block should describe the<br></blockquote><blockquote type="cite">variable as byref, and the variable's own layout should describe its contents<br></blockquote><blockquote type="cite">as __unsafe_unretained:<br></blockquote><blockquote type="cite"> __block NSString *string;<br></blockquote><blockquote type="cite"> bar(^(NSWindow *window) { string = window.title; });<br></blockquote>Yes, 'string' is byref in the layout. But I don't understand what you mean by 'variable's own layout'. <br>We are not laying out 'byref' variable's individual fields in the extended layout, only that they are 'byref'.<br></div></blockquote><div><br></div>Oh I see, you are talking about the layout for the 'byref' variables for the new field in the __block variable descriptor.</div><div>Something I haven't done yet.</div><div><br></div><div>- Fariborz</div><div><br><blockquote type="cite"><div><br>- Fariborz<br><br><blockquote type="cite"><br></blockquote><blockquote type="cite">John.<br></blockquote><br><br>_______________________________________________<br>cfe-commits mailing list<br><a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits<br></div></blockquote></div><br></body></html>