public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* ObjC doc: add class extensions to the release notes
@ 2010-12-10 10:38 Nicola Pero
  2010-12-10 17:29 ` Mike Stump
  0 siblings, 1 reply; 2+ messages in thread
From: Nicola Pero @ 2010-12-10 10:38 UTC (permalink / raw)
  To: gcc-patches

This patch documents in the release notes that GCC 4.6 supports Objective-C
class extensions.

Ok to commit ?

Thanks

Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/changes.html,v
retrieving revision 1.74
diff -u -r1.74 changes.html
--- changes.html        8 Dec 2010 23:04:01 -0000       1.74
+++ changes.html        10 Dec 2010 09:54:57 -0000
@@ -452,6 +452,16 @@
     both in Objective-C and Objective-C++.  Currently the only supported
     attribute is <code>deprecated</code>.</li>
 
+    <li>Objective-C 2.0 class extensions are supported both in
+    Objective-C and Objective-C++.  A class extension has the same
+    syntax as a category declaration with no category name, and the
+    methods and properties declared in it are added directly to the
+    main class.  It is mostly used as an alternative to a category to
+    add methods to a class without advertising them in the public
+    headers, with the advantage that for class extensions the compiler
+    checks that all the privately declared methods are actually
+    implemented.</li>
+
     <li>As a result of these enhancements, GCC can now be used to
     build Objective-C and Objective-C++ software that uses Foundation
     and other important system frameworks with the NeXT runtime on


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ObjC doc: add class extensions to the release notes
  2010-12-10 10:38 ObjC doc: add class extensions to the release notes Nicola Pero
@ 2010-12-10 17:29 ` Mike Stump
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Stump @ 2010-12-10 17:29 UTC (permalink / raw)
  To: Nicola Pero; +Cc: gcc-patches

On Dec 10, 2010, at 1:57 AM, Nicola Pero wrote:
> This patch documents in the release notes that GCC 4.6 supports Objective-C
> class extensions.
> 
> Ok to commit ?

Ok.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-10 16:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-10 10:38 ObjC doc: add class extensions to the release notes Nicola Pero
2010-12-10 17:29 ` Mike Stump

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).