[cfe-dev] [Patch][ObjC][Proposal] NSValue literals
1101.debian at gmail.com
Sun Nov 16 08:32:44 PST 2014
Just realized that I sent it to a wrong list.
Will resubmit to cfe-commits.
Take my apologies for the mess.
On Sunday, November 16, 2014, AlexDenisov <1101.debian at gmail.com> wrote:
> Patch extends boxing expressions to support NSValue.
> Some C structures might be boxed into a NSValue, e.g.: NSPoint, CGPoint,
> NSRect, etc.
> This patch extends boxing expressions to accept the structures, that could
> be used to construct NSValue object:
> NSPoint p;
> NSValue *point = @(p);
> CGRect r;
> NSValue rect = @(r);
> Full list of supported structures:
> NSPoint, NSSize, NSRect, CGPoint, CGSize, CGRect, NSRange.
> Software Engineer, https://github.com/AlexDenisov
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev